/* =========== TABLE repositories =============== */

.repositories {
    margin-top: -15px;
}

.repositories li div {
    width: 25%;
}

.repositories li {
    border-radius: 1px;
    padding: 1px 1px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1px;
    margin-left: -40px;
    font-size: 13px;
}

.repositories li.table-header {
    background-color: black;
    color: white;
    font-size: 14px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.repositories li.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.repositories .name-title {
    text-indent: 10px;
    width: 50px;
}

.repositories .repo-name-title {
    width: 100px;
    text-align: center;
}

.repositories .commit-title {
    width: 100px;
    text-align: center;
}

.repositories .name {
    text-indent: 10px;
    width: 250px;
}

.repositories .repo-name {
    width: 300px;
    text-align: center;
}

.repositories .commit {
    width: 300px;
    text-align: center;
}

/* =========== TABLE components =============== */

.components {
    margin-top: -15px;
}

.components li {
    border-radius: 1px;
    padding: 1px 1px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 1px;
    margin-left: -40px;
    font-size: 13px;
}

.components li.table-header {
    background-color: black;
    color: white;
    font-size: 14px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.components li.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.components .server-title {
    text-indent: 10px;
    width: 150px;
}

.components .client-title {
    text-indent: 10px;
    width: 150px;
}

.components .type-title {
    width: 70px;
    text-align: center;
}

.components .image-tag-title {
    width: 400px;
    text-align: center;
}

.components .image-tag-date-title {
    width: 170px;
    text-align: center;
}

.components .version-title {
    width: 200px;
    text-align: center;
}

.components .num-replicas-title {
    width: 55px;
    text-align: center;
}

.components .jdk-version-title {
    width: 170px;
    text-align: center;
}

.components .instance-name {
    text-indent: 10px;
    width: 150px;
}

.components .component-type {
    width: 70px;
    text-align: center;
}

.components .image-tag {
    width: 400px;
    text-align: center;
    font-size: 11px;
}

.components .image-tag-date {
    width: 170px;
    text-align: center;
    vertical-align: middle;
}

.components .version {
    width: 200px;
    text-align: center;
    word-wrap: break-word;
    font-size: 11px;
}

.components .num-replicas {
    width: 55px;
    text-align: center;
}

.components .jdk-version {
    width: 170px;
    text-align: center;
}


/* =========== TABLE global results =============== */

.global-results {
    margin-top: -15px;
}

.global-results li {
    border-radius: 1px;
    padding: 5px 3px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-left: -30px;
    font-size: 13px;
}

.global-results li.table-header {
    background-color: black;
    color: white;
    font-size: 14px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.global-results li.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results .phase-title {
    text-indent: 10px;
    width: 300px;
}

.global-results .schedule-title {
    width: 120px;
    text-align: center;
}

.global-results .state-title {
    width: 100px;
    text-align: center;
}

.global-results .start-title {
    width: 150px;
    text-align: center;
}

.global-results .pass-title {
    width: 50px;
    text-align: center;
}

.global-results .bug-title {
    width: 100px;
    text-align: center;
}

.global-results .skip-title {
    width: 100px;
    text-align: center;
}

.global-results .fail-title {
    width: 100px;
    text-align: center;
}

.global-results .error-title {
    width: 100px;
    text-align: center;
}

.global-results .duration-title {
    width: 70px;
    text-align: center;
}

.global-results .verdict-title {
    width: 100px;
    text-align: center;
}

.global-results .name {
    text-indent: 10px;
    width: 300px;
    font-size: 15px;
    font-weight: bold;
}

.global-results .state {
    width: 100px;
    text-align: center;
}

.global-results .start {
    width: 150px;
    text-align: center;
    font-size: 14px;
}

.global-results .pass {
    width: 50px;
    font-size: 16px;
    text-align: center;
}

.global-results .bug {
    width: 100px;
    text-align: center;
    font-size: 14px;
}

.global-results .skip {
    width: 100px;
    text-align: center;
    font-size: 14px;
}

.global-results .fail, .global-results .error {
    width: 100px;
    text-align: center;
    font-size: 14px;
    word-wrap: break-word
}

.global-results .duration {
    width: 70px;
    text-align: center;
    font-size: 14px;
}

.global-results .verdict {
    width: 100px;
    text-align: center;
    font-size: 16px;
}

.global-results li.table-row-pass {
    background: linear-gradient(to right, rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-bug {
    background: linear-gradient(to right, rgba(251, 214, 109, 0.6), rgba(251, 214, 109, 0.9), rgba(251, 214, 109, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-bug-blocker {
    background: linear-gradient(to right, rgba(89, 214, 245, 0.6), rgba(89, 214, 245, 0.6), rgba(89, 214, 245, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-between {
    background: linear-gradient(to right, rgba(245, 214, 89, 0.6), rgba(245, 214, 89, 0.9), rgba(245, 214, 89, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-fail {
    background: linear-gradient(to right, rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-running {
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
    animation-name: running-animation;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-direction: alternate-reverse;
}

.global-results li.table-row-disabled {
    background: linear-gradient(to right, rgba(203, 211, 211, 0.6), rgba(203, 211, 211, 0.6), rgba(203, 211, 211, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.global-results li.table-row-skipped {
    background: linear-gradient(to right, rgba(172, 169, 176, 0.6), rgba(172, 169, 176, 0.6), rgba(172, 169, 176, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

@keyframes running-animation {
    from {
        background-color: rgba(154, 50, 204, 0.6);
    }

    to {
        background-color: rgba(154, 50, 204, 0.3);
    }
}

/* =========== TABLE performance-results =============== */

.performance-results {
    margin-top: -15px;
}

.performance-results li {
    border-radius: 1px;
    padding: 5px 3px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    margin-left: -30px;
    font-size: 13px;
    text-align: center;
}

.performance-results li.table-header {
    background-color: black;
    color: white;
    font-size: 14px;
    box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 1);
}

.performance-results li.table-row {
    background-color: #ffffff;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.performance-results .task-title {
    text-align: left;
    text-indent: 10px;
    width: 250px;
}

.performance-results .task {
    text-align: left;
    text-indent: 10px;
    width: 250px;
}

.performance-results .report-title {
    width: 80px;
}

.performance-results .report {
    width: 80px;
}

.performance-results .resources-title {
    width: 80px;
}

.performance-results .monitoring {
    width: 80px;
}

.performance-results .start-title {
    width: 100px;
}

.performance-results .start {
    width: 100px;
    font-size: 10px;
}

.performance-results .stop-title {
    width: 100px;
}

.performance-results .stop {
    width: 100px;
    font-size: 10px;
}

.performance-results .duration-title {
    width: 50px;
}

.performance-results .duration {
    width: 50px;
}

.performance-results .concurrency-title {
    width: 150px;
}

.performance-results .concurrency {
    width: 150px;
}

.performance-results .num-requests-pass-title {
    width: 100px;
}

.performance-results .num-requests-pass {
    width: 100px;
}

.performance-results .av-throughput-title {
    width: 150px;
}

.performance-results .av-throughput {
    width: 150px;
}

.performance-results .av-response-time-title {
    width: 150px;
}

.performance-results .av-response-time {
    width: 150px;
}

.performance-results .num-rt-spikes-title {
    width: 150px;
}

.performance-results .num-rt-spikes {
    width: 150px;
}

.performance-results li.table-row-pass {
    background: linear-gradient(to right, rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.performance-results li.table-row-fail {
    background: linear-gradient(to right, rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

.performance-results li.table-row-between {
    background: linear-gradient(to right, rgba(245, 214, 89, 0.6), rgba(245, 214, 89, 0.9), rgba(245, 214, 89, 0.6));
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.2);
}

/* =========== Average cpu/mem usage popup related css ============= */

.box {
    width: 10%;
    margin: 0px;
    background: rgba(255, 255, 255, 0);
    text-align: center;
    display: inline-block;
    padding-right: 20px
}

.button {
    font-size: 1em;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.button:hover {
    background: #06D85F;
}

a.button,
img {
    /* icon for button with HW usage popup */
    width: 22px;
    height: 22px
}

.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
}

.overlay:target {
    visibility: visible;
    opacity: 1;
}

.popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 50%;
    position: relative;
    transition: all 5s ease-in-out;
}

.popup h2 {
    margin-top: 0;
    color: #333;
    font-family: Tahoma, Arial, sans-serif;
}

.popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
}

.popup .close:hover {
    color: #04AA6D;
}

.popup .content {
    max-height: 65%;
    overflow: auto;
}

@media screen and (max-width: 1500px) {
    .box {
        width: 70%;
    }

    .popup {
        width: 70%;
    }
}

.hw_resources_table {
    font-family: Arial, Helvetica, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

.hw_resources_table td,
.hw_resources_table th {
    border: 1px solid #ddd;
    padding: 8px;
}

.hw_resources_table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.hw_resources_table tr:hover {
    background-color: #ddd;
}

.hw_resources_table th {
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: left;
    background-color: #04AA6D;
    color: white;
}

.idc-info-title {
    text-align: center;
    background-color: black;
    color: white;
    font-size: 14px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.error-msg {
    text-align: center;
    background-color: #f0c8cb;
    color: black;
    font-size: 14px;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
}

.idc-fields table {
    font-size: 13px;
}

.idc-fields td {
    padding: 0 50 0 0;
}

.idc-fields img {
    width: 17px;
    height: 17px;
    float: right;
    margin-right: 10px;
}

.idc-cluster-check-fail {
    background: linear-gradient(to right, rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6), rgba(245, 89, 100, 0.6));
    padding: 5px 3px;
    text-indent: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.idc-cluster-check-warn {
    background: linear-gradient(to right, rgba(255, 255, 51, 0.6), rgba(255, 255, 102, 0.6), rgba(255, 255, 204, 0.6));
    padding: 5px 3px;
    text-indent: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.idc-cluster-check-pass {
    background: linear-gradient(to right, rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6), rgba(89, 245, 160, 0.6));
    padding: 5px 3px;
    text-indent: 10px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0px 0px 9px 0px rgba(0, 0, 0, 0.4);
    width: 100%;
}

.cluster-check-status-title {
    padding-left: 8px;
}

/* required for sorting */
table.sortable th {
    cursor: pointer;
}
table.sortable th[data-sorted-direction="ascending"], table.sortable th[data-sorted-direction="descending"] {
    position: relative;
    padding-right: 20px !important;
}
table.sortable th[data-sorted-direction="ascending"]:after, table.sortable th[data-sorted-direction="descending"]:after
{
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    top: calc(50% - 4px);
    right: 4px;
}
table.sortable th[data-sorted-direction="ascending"]:after {
    border-bottom: 8px solid #555;
}
table.sortable th[data-sorted-direction="descending"]:after {
    border-top: 8px solid #555;
}
