/** PAT CSS */
/** NOTE - standard inputs, buttons, modals and controls in this file should also tailor themselves to regular CertSuite, with some small adjustments likely needed  */
/** at the bottom of this file, is some commented out tailored CSS that is currently required in regular CertSuite, and may be needed if trying to 'transfer' CertSuite to use the CSS in this file */


/**  ################################################################## VARIABLES **/
:root {
    --megger-beige: #a04c4d;
    --megger-beige-dark: #542E2F;
    --megger-black: #25303B;
    --megger-blue: #0071B9;
    --megger-green: #3ddc84;
    --megger-grey: #afb0b2;
    --megger-lightgrey: #f5f5f5;
    --megger-orange: #E7BF05;
    --megger-red: #E30613;
    --standard-padding: 5px;
    --standard-margin: 5px;
}

/** ################################################################## COMMON GLOBAL STYLES **/

body {
    margin: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 14px;
    line-height: 20px;
}

/** FONTS, PARAGRAPHS AND HEADERS */
h1,
h2,
h3,
h4,
legend {
    font-weight: normal;
}

/** POSITIONING */
.center {
    margin: auto;
    text-align: center;
}

/** TEXT */
.bold {
    font-weight: bold;
}

/** COLOUR */
.pass {
    background-color: var(--megger-green);
}

.fail, .delete {
    background-color: var(--megger-red);
}

/** IMAGES */
img {
    width: auto\9;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
    border: 0;
    -ms-interpolation-mode: bicubic;
}

.add-img-item {
    margin: auto;
    width: fit-content;
    text-align: center;
}

    .add-img-item span {
        position: absolute;
        color: #ffffff;
        width: 25px;
        border-radius: 30px;
        background: var(--megger-blue);
        text-align: center;
        bottom: -4px;
        right: -4px;
        padding: 8px;
        font-size: 30px;
        font-weight: bolder;
        cursor: pointer;
    }

.add-img-item {
    opacity: 0;
    -webkit-animation: fadein 0.5s fadein;
    -webkit-animation-delay: 0.5s;
    animation: fadein 1s forwards;
}

    .add-img-item img {
        max-width: 250px;
        max-height: 300px;
    }

/** BUTTONS */
.btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 5px;
    margin-bottom: 2px;
    border: 0;
    color: var(--megger-black);
    vertical-align: middle;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 0 rgba(0, 0, 0, 0.3);
    -webkit-appearance: none;
    cursor: pointer;
}

    .btn:active {
        transform: scale(0.98);
    }

    .btn:hover {
        opacity: 0.8;
    }

    .btn.disabled {
        cursor: not-allowed;
        pointer-events: none;
    }

    .btn.btn-carbon {
        background: var(--megger-black);
        color: #fff;
    }

    .btn.btn-blue {
        background: var(--megger-blue);
        color: #fff;
    }

    .btn.btn-beige {
        background: var(--megger-beige-dark);
        color: #fff;
    }

    .btn.btn-black {
        background: var(--megger-black);
        color: #fff;
    }

    .btn.btn-green {
        background: var(--megger-green);
        color: #fff;
    }

.btn-btn-white {
    color: var(--megger-black);
}

.btn.dots-button {
    width: 40px;
    height: 30px;
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    padding: 0;
}

.btn .dots {
    font-size: 36px;
    line-height: 0;
    letter-spacing: -2px;
}

.btn.min-width {
    min-width: initial;
}

.btn.min-width-medium {
    min-width: 200px;
}


/** Slider skin for checkbox control  START */
.switch {
    position: relative;
    display: inline-block;
    width: 55px !important;
    height: 30px;
}

    .switch input {
        display: none;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--megger-grey);  /*#0071B9;*/
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 22px;
        width: 22px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    /* You can have it change colour on 2nd option */
    /*background-color: #2ab934;*/
    background-color: var(--megger-blue);
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    /*-webkit-transform: translateX(65px);
    -ms-transform: translateX(65px);
    transform: translateX(65px);*/
    -webkit-transform: translateX(25px);
    -ms-transform: translateX(25px);
    transform: translateX(25px);
}


.on {
    display: none;
}

.on, .off {
    color: white;
    position: absolute;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    font-size: 12px;
    font-family: Verdana, sans-serif;
}

input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Slider skin for checkbox control  END **/



/* STANDARD INPUT CONTROLS - LABEL ON TOP/INPUT ON BOTTOM ON PHONE / LABEL ON LEFT/INPUT ON RIGHT ON DESKTOP */

/** INPUTS **/
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="password"],
input[type="email"], select {
    min-height: 32px;
    box-sizing: border-box;
}

    input:disabled, select:disabled, textarea:disabled {
        background: #DCDCDC !important;
    }

.control-group {
    padding: 10px;
    flex: 1;
}

    .control-group label {
        display: flex;
    }

    .control-group .control-label {
        width: 95%;
        display: flex;
        /*justify-content: space-between;*/
    }

        .control-group .control-label .label-text {
            padding-right: var(--standard-padding);
        }

        .control-group .control-label-wide {
            width: 95%;
            font-weight: bold;
        }

    .control-group .controls {
        width: 100%;
        display: flex;
        align-items: center;
    }

        /* STANDARD INPUT */
        .control-group .controls input[type="text"],
        input[type="number"],
        input[type="tel"],
        input[type="email"],
        select,
        textarea, 
        .atomicTest input,
        .control-text-display {
            /*width: 98%;*/
            flex: 1;
            margin: auto;
            border: 1px solid var(--megger-grey);
            padding-inline: 0;
            padding: var(--standard-padding);
            font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
            font-size: 14px;
            margin-bottom: 0 !important;
        }

        .control-group .controls input[type="text"],
        input[type="number"],
        input[type="tel"],
        input[type="email"],
        textarea {
            -webkit-appearance: none;
        }

    /** PAT-SPECIFIC OVERRIDES - SMALL TXT BOXES HAVE PLACEHOLDER FOR UNIT ON OUTSIDE NEXT TO TEXT BOX */
    .control-group input.txt-small {
        width: 75% !important;
    }

    .control-group input[type="checkbox"], .control-group input[type="radio"] {
        height: 15px;
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .control-group .jsInputWithButton {
        width: 42% !important;
    }

    .control-group .input-with-button input[type="text"], .control-group .input-with-button select {
        width: 50%;
        min-width: initial !important;
    }
 
/** ### NEED SLIGHTLY SMALLER WIDTH HERE TO COMPENSATE FOR SUCH SMALL SPACE */
.flex-col-third .control-group .input-with-button input[type="text"], .flex-col-third .control-group .input-with-button select {
    width: 70%;
}

.flex-col-third .control-group .btn {
    padding: 0;
    border-radius: 2px;
    height: 32px;
}

.control-group .input-with-2-button input[type="text"], .control-group .input-with-2-button select {
    width: 54%;
    min-width: initial !important;
}

.control-group .input-with-button input[type="button"],
.control-group .input-with-button button, .control-group .input-with-2-button input[type="button"],
.control-group .input-with-2-button button {
    /*width: 20%;*/
    width: 3rem;
    min-width: initial !important;
    margin-left: var(--standard-margin);
}


/* 3 OPTION RADIO BUTTONS - PAT radio button list styled as one button for Y/?/F */
.radio-button-wrapper {
    /*width: 6rem;*/
    height: 3rem;
    position: relative;
    background: #dcdcdc;
    border-radius: 15px;
    float: right;
    margin-top: 15px;
}
    /* 3 OPTION RADIO BUTTONS - PAT radio button list styled as one button for Y/?/F */
    .rad3container .radio-button-wrapper {
        width: 6rem;
    }

    /* 2 OPTION RADIO BUTTONS - PAT radio button list styled as one button for Y/F */
.rad2container {
    width: 100%;
}
.rad2container .radio-button-wrapper {
    width: 4rem;
    margin-top: 0;
}

 .radio-button-wrapper .toggle {
    width: 2rem;
    height: 3.4rem;
    top: -0.2rem;
    position: absolute;
    left: 2rem;
    box-sizing: border-box;
    background: var(--megger-orange);
    border-radius: 15px;
    transition: all 0.1s;
}
.rad2container .radio-button-wrapper .toggle {
    background: var(--megger-red);
}

    .radio-button-wrapper label {
    cursor: pointer;
    width: 2rem !important;
    height: 3rem;
    position: absolute;
    margin: 0;
    padding: 0;
    z-index: 1;
    display: inline-block;
    text-align: center;
    line-height: 3rem;
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
}

    .radio-button-wrapper input {
        position: absolute;
        left: 0;
        margin: 0;
        padding: 0;
        opacity: 0;
    }

.yes_radio:checked {
    background: var(--megger-red);
}

    .yes_radio:checked ~ .toggle {
        background: var(--megger-green);
        left: 0;
        border-radius: 15px;
    }

.no_radio:checked {
    background: var(--megger-red);
}

    .no_radio:checked ~ .toggle {
        background: var(--megger-red);
        left: 4rem;
        border-radius: 15px;
    }
        .rad2container .no_radio:checked ~ .toggle {
            left: 2rem;
        }

.maybe_radio,
.maybe-lbl {
    left: 33.33333%;
}

.rad3container .no_radio,
.rad3container .no-lbl {
    left: 66.66667%;
}
.rad2container .no_radio,
.rad2container .no-lbl {
    left: 50%;
}
.rad2container .yes_radio,
.rad2container .yes-lbl {
    left: 0;
}

.maybe-lbl {
    -webkit-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.no-lbl {
    -webkit-animation-delay: 0.5s;
    -o-animation-delay: 0.5s;
    -moz-animation-delay: 0.5s;
    animation-delay: 0.5s;
}


/** MODALS */
.modal-container {
    position: relative;
}

.modal {
    display: flex;
    gap: 2px;
    flex-flow: column;
    justify-content: space-around;
    background-color: #ffffff;
    border-radius: 5px;
    width: 100vw;
    max-height: 90vh;
}

    .modal .modal-body {
        flex: 1 1 auto;
        padding: 0px 20px 0px 20px;
        overflow: auto;
        max-height: 450px;
    }

    .modal .modal-header {
        width: 100%;
        padding: 10px 200px 0px 20px;
        overflow: hidden;
        border-bottom: #f5f5f5;
    }

        .modal .modal-header h3, .modal .modal-header h4 {
            margin: 3px;
            color: var(--megger-blue);
            font-size: 24px;
        }

        .modal .modal-header .close {
            text-decoration: none;
            margin-right: 35px;
            margin-top: -5px;
            float: right;
            color: var(--megger-black);
        }

    .modal .modal-footer {
        flex: 0 1 40px;
        padding: 10px 20px 10px 20px;
        text-align: right;
        background: #f5f5f5;
    }

        .modal .modal-footer .btn {
            font-weight: bolder;
            margin: var(--standard-margin);
        }

    .modal .control-group {
        width: 90%;
    }

    /** MODAL BITS CARRIED FROM CERTSUITE */

    /** GENERAL TABLE MODAL */
    .modal #genModalControl, .modal #genModalControl input {
        width: 100%;
    }

    /** SEARCH MODALS - USED IN BOTH CERTSUITE AND PAT */
    .modal .search-contacts-modal-tab-header {
        margin-bottom: 15px;
        border-bottom: 2px solid #e6e6e6;
    }

        .modal .search-contacts-modal-tab-header div {
            display: inline-block;
            margin-right: 5px;
            padding: var(--standard-padding);
        }

    .modal .search-contacts-modal-tab-header div:hover {
                cursor: pointer;
            }

    .modal .search-contacts-modal-tab-header div.active {
                background-color: #e6e6e6;
            }

    .modal #contactsTitle {
        max-width: 70%;
        display: inline;
    }

    .modal #contactOutput, .modal #contactUsersOutput, .modal #PATsearchOutput {
        overflow: auto;
        max-height: 250px;
    }

    .modal #contactOutput ul, .modal #contactUsersOutput ul, .modal #PATsearchOutput ul {
            text-decoration: none;
            margin-left: 0px;
            list-style-type: none;
        }

    .modal #contactOutput li, .modal #contactUsersOutput li, .modal #PATsearchOutput li {
            list-style-type: none;
            padding-top: 4px;
            padding-bottom: 4px;
            padding-left: 10px;
        }

    .modal #contactOutput li.side-well, .modal #contactUsersOutput li.side-well, .modal #PATsearchOutput li.side-well {
                padding-left: 45px;
            }

    .modal #contactOutput li:hover, .modal #contactUsersOutput li:hover, .modal #PATsearchOutput li:hover {
                background: #0071B9;
                color: white;
                cursor: pointer;
            }

    .modal .search-contacts .control-group, .modal .search-pat .control-group {
        width: 100%;
        display: block !important;
        margin: auto;
    }

    .modal #search-contacts input, .modal #search-pat input {
        width: 68%;
    }

    .modal #search-users-contacts input {
        width: 68%;
    }

    .modal #searchContactsBtn, .modal #searchUsersBtn, .modal #resetSearchUsers, .modal #resetSearchContacts, .modal #searchPATBtn, .modal #resetSearchPAT {
        vertical-align: top;
        margin-top: -1px;
        margin-right: 1px;
        width: 15%;
    }

/** ### EDIT PROFILE MODAL */
   .modal #jsSigUploadFromEdtProfileModal {
        width: 100%;
        margin: 0.5rem;
    }

   .modal #jsSigUploadFromEdtProfileModal div {
        width: 100%;
    }

    .modal #editProfileSignature {
        width: 380px !important;
        height: 125px !important;
        border: 1px solid black;
    }

        .modal #editProfileSignature input {
            position: inherit !important;
            left: 330px !important;
            padding: 10px;
            background-color: #0071B9 !important;
            color: #FFFFFF !important;
            width: 50px;
            font-size: 20px;
            font-weight: 900;
        }

    .modal #editProfileModalAddDetailsCompColSectionInner {
        width: fit-content;
        margin: auto;
    }

    .modal .modal-size-img {
        max-width: 100px;
        max-height: 100px;
    }

    .modal .modal-size-img-lg {
        max-width: 200px;
        max-height: 200px;
    }


/** PAT 'GET DATA' MODAL ON PAT ASSETS TABLE */
.getdata-container {
    display: flex;
    flex-wrap: wrap;
    font-size: 18px;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.connectionIconImg {
    height: 100px !important;
    width: 100px !important;
}

.clouddownloadIcon {
    width: 130px;
    margin: 5px 5px 5px 5px;
    border-radius: 5px;
    border: 1px solid var(--megger-green);
    background-color: var(--megger-green);
    padding: 5px;
    cursor: pointer;
}

.connectionIcon {
    height: 135px;
    width: 130px;
    margin: 5px 5px 5px 5px;
    border-radius: 5px;
    border: 1px solid #0071B9;
    background-color: #0071B9;
    padding: 5px;
    cursor: pointer;
}

    .connectionIcon:hover .connectionIcontt {
        visibility: visible;
    }

.connectionIcontt {
    visibility: hidden;
    width: 120px;
    background-color: palegoldenrod;
    color: black;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 100000;
}

.notinumbers {
    position: absolute;
    font-size: 16px;
    background-color: #fff;
    border-radius: 5px;
    width: 30px;
    height: 20px;
    color: #0071B9;
    top: -2px;
    right: 3px;
}

.noti {
    display: inline-block;
    position: relative;
    width: 135px;
}

table.tblPATCSVcontents tr, table.tblPATCSVcontents td {
    padding: 3px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
}

div.pat400datapreview {
    max-height: 200px;
    overflow-y: auto;
}


div#patExportOptions > div {
    display: flex;
}


/** STANDARD ALERT MODAL - ALSO IN CERTSUITE */
.modal #alert-msg {
    color: var(--megger-red);
    margin: var(--standard-margin);
    text-align: center;
}

.modal #confirm-msg {
    margin: var(--standard-margin);
    text-align: center;
}

/** DROPDOWNS - ALSO IN CERTSUITE */
ul.dropdown-menu {
    display: none;
    background: #ffffff;
    /*padding: var(--standard-padding);*/
    border: 1px solid var(--megger-black);
    z-index: 1100;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
}

.dropdown:hover ul.dropdown-menu {
    display: block;
}

.dropdown {
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.dropdown-backdrop {
    display: none;
}

.dropdown ul.dropdown-menu li {
    line-height: 1.5rem;
    list-style: none;
    /*padding: var(--standard-padding);*/
}

.dropdown ul.dropdown-menu a {
    padding: 5px 15px;
    text-decoration: none;
    font-size: 1.2em;
    line-height: 1.6em;
}

.dropdown ul.dropdown-menu li img {
    height: 15px;
    vertical-align: sub;
}

.dropdown ul.dropdown-menu a:hover {
    background: var(--megger-blue);
    color: #ffffff;
    cursor: pointer;
}

.dropdown ul.dropdown-menu {
    margin: -4px 0 0 -130px;
    /*padding: var(--standard-padding);*/
    position: absolute;
    right: 0;
    float: left;
    padding: 5px 0;
}

ul.dropdown-menu-leftaligned {
    margin: 0 0 0 -20px !important;
}

.dropdown-menu li > a {
    display: block;
    clear: both;
    font-weight: normal;
    line-height: 1.5rem;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu .dropdown-menu-title {
    color: #000000;
    font-weight: bolder;
    margin: 2px;
    padding: 4px;
    border-bottom: 2px solid #000000;
}

.dropdown-menu li.customerButtonBarList {
    padding: 0px 10px !important;
    text-align: left;
}

.dropdown-menu li.customerButtonBarListButton {
    padding: 10px 0px;
}

    .dropdown-menu li.customerButtonBarListButton a {
        margin: var(--standard-margin);
        padding: 6px 12px;
    }

/** ### USEFUL / COMMON / GENERAL ACROSS PAT AND CERTSUITE */
.hide {
    display: none;
}

.padding-standard {
    padding: var(--standard-padding);
}

.margin-standard {
    padding: var(--standard-margin);
}

.relative {
    position: relative;
}

.center {
    margin: auto;
    text-align: center;
}

.passed::after,
.failed::after {
    position: absolute;
    color: #ffffff;
    width: 17px;
    border: 2px solid #fff;
    border-radius: 15px;
    text-align: center;
    bottom: 5px;
    left: 0;
    font-size: 10px;
    font-weight: bolder;
}

.passed::after {
    content: '✓';
    background: var(--megger-green);
}

.failed::after {
    content: 'x';
    background: var(--megger-red);
}

.passed,
.failed {
    opacity: 0;
    -webkit-animation: fadein 0.5s fadein;
    -webkit-animation-delay: 0.5s;
    animation: fadein 1s forwards;
}

.search-glass,
.search-QR {
    display: inline-block;
    width: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

.search-glass {
    background-image: url(../imgMain/search_glass-32930170ce.png);
}

.search-QR {
    background-image: url(../imgMain/search_QR-17081140fd.png);
}

.JsPATCableCalc {
    background-image: url(../imgMain/calc_pic-04e75f1054.png) !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* TURNS SUB MENU ITEMS RED ACROSS PAT UI */
.menu-item-active img, .menu-item-active h1 {
    filter: brightness(0) saturate(100%) invert(26%) sepia(99%) saturate(1551%) hue-rotate(183deg) brightness(120%) contrast(101%);
}


/** ################################################################## END COMMON GLOBAL STYLES **/


/**  ################################################################## GLOBAL MOBILE STYLING **/
/** BODY SKELETON ELEMENTS */
.parent-grid-container {
    display: grid;
    grid-template-rows: fit-content(8%) fit-content(7%) 8fr fit-content(9%);
    grid-template-areas:
        "main-header"
        "sheader"
        "main"
        "menu";
    height: 100vh;
    height: 100dvh;
}

    .parent-grid-container > div {
        overflow: hidden;
    }

.main-header {
    grid-area: main-header;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    background: #ffffff;
    height: 100%;
    overflow: visible !important;
    border-bottom: 1px solid var(--megger-black);
    z-index: 1040;
}

    .main-header > div {
        vertical-align: middle;
        padding: var(--standard-padding);
    }

    .main-header .btn img {
        height: 15px;
    }

    .main-header #repTypeMobile {
        margin: var(--standard-margin);
        font-weight: bold;
    }

.sheader {
    overflow: visible !important;
    background-color: var(--megger-black);
    width: 100%;
    text-align: center;
}

    .sheader > #subMenuBarPatInner {
        grid-area: sheader;
        display: flex;
        flex-direction: row;
        justify-content: end;
        align-items: center;
        min-height: 60px;
        padding: var(--standard-padding);
        z-index: 13;
    }

        .sheader > #subMenuBarPatInner > .sheader-icon-wrapper {
            position: relative;
            max-width: 75px;
        }

    .sheader #subMenuTitleWrapper {
        /*width: 175px;*/
        margin-right: auto;
    }
.addPATPhoto {
    height: 20px;
    width: 20px !important;
    min-width: 20px !important;
}
#subMenuTitleWrapper {
    max-height: 80px;
}
@media (max-width: 2000px) {
    #subMenuTitleWrapper {
        max-width: 700px;
    }
}
@media (max-width: 1000px) {
    #subMenuTitleWrapper {
        max-width: 600px;
    }
}
@media (max-width: 800px) {
    #subMenuTitleWrapper {
        max-width: 500px;
    }
}
@media (max-width: 700px) {
    #subMenuTitleWrapper {
        max-width: 400px;
    }
}

@media (max-width: 600px) {
    #subMenuTitleWrapper {
        max-width: 300px;
    }
}

@media (max-width: 400px) {
    #subMenuTitleWrapper {
        max-width: 100px;
    }
}
@media (max-width: 500px) {
    #subMenuTitleWrapper {
        max-width: 200px;
    }
}

@media (max-width: 400px) {
    #subMenuTitleWrapper {
        max-width: 100px;
    }
}

.sheader #subMenuTitleWrapper h2 {
    color: #ffffff;
    text-overflow: ellipsis;
    overflow: hidden;
    /*white-space: nowrap;*/
}

        .sheader #subMenuTitleWrapper h2 {
            margin: var(--standard-margin);
            padding: var(--standard-padding);
            text-align: left;
        }

    .sheader img {
        width: auto;
    }

    .sheader input {
        margin: 5px 0 5px 0;
    }

    .sheader .back-arrow {
        color: #fff;
        font-size: 2em;
        font-weight: bolder;
        margin: 0;
        background-color: var(--megger-grey);
        width: 50px;
        text-align: center;
        border-radius: 5px;
    }

    .sheader .pat-sub-menu-item {
        border-radius: 8px;
        padding: var(--standard-padding);
        height: 56px;
        width: 56px;
        margin: var(--standard-margin);
    }

    .sheader .menu-item-needed {
        background: var(--megger-blue);
        cursor: pointer;
    }

    .sheader .menu-item-not-needed {
        opacity: 0.8;
        display: none;
    }

    .sheader .pat-sub-menu-item h2 {
        color: #ffffff;
        height: 100%;
    }

    .sheader #filterBar {
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .sheader #filterBar .filter-bar-search {
            display: flex;
            justify-content: center;
        }

        .sheader #filterBar .control-group {
            padding: 2px;
        }

        .sheader #filterBar .controls {
            display: flex;
            margin: auto;
        }

        .sheader #filterBar input {
            height: 40px;
            width: 60%;
            padding: var(--standard-padding);
        }

        .sheader #filterBar button {
            margin: 1px;
            border-radius: 0;
            padding: 5px 8px;
            background-color: var(--megger-lightgrey);
        }

        .sheader #filterBar .filterbar-control-buttons {
            display: flex;
            width: 35%;
            margin: 5px 0 5px 0;
        }

.menu {
    grid-area: menu;
    background-color: var(--megger-black);
}

.menu .menu-container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: var(--standard-padding);
    margin: auto;
}

    .menu .menu-container .menu_icon {
        margin: auto;
/*        padding: var(--standard-padding);
*/        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .menu .menu-container h1 {
        margin: 0;
        padding: 0;
    }

    .menu #PATAddFirstTestMsg {
        color: #ffff;
        background: var(--megger-red);
        position: absolute;
        bottom: 57px;
        width: 200px;
        height: 50px;
        text-align: center;
        margin-left: -75px;
        padding: var(--standard-padding);
        border-radius: 5px;
        z-index: 1;
    }

        .menu #PATAddFirstTestMsg > #arrowDown {
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-top: 15px solid #E30613;
            margin-left: -20px;
            position: absolute;
            bottom: -14px;
        }


@font-face {
    font-family: 'lcd';
    src: url('../cssPublic/fonts/Segment16C Regular.ttf');
}
@font-face {
    font-family: 'lcd-bold';
    src: url('../cssPublic/fonts/Segment16C Bold.ttf');
}

.main {
    grid-area: main;
    overflow: hidden;
}

.main-inner-container {
    padding-bottom: var(--standard-padding);
    margin: auto;
    height: 100%;
    overflow: hidden;
}

/*STANDARD DYNAMIC HTML INSERT */
#JsPlaceHolder {
    height: 100%;
    overflow: auto;
    flex: auto;
}

.footer {
    grid-area: footer;
    display: none;
    background-color: var(--megger-black);
    text-align: center;
    color: #ffffff;
}

/**  ################################################################## END GLOBAL MOBILE STYLING **/


/**  ################################################################## GLOBAL DESKTOP STYLING **/
@media (min-width: 1024px) or (orientation: landscape) {
    .control-group {
        display: flex;
        /*width: 100%;*/
        /*flex: 1;*/
        margin: auto;
    }

    .modal .control-group {
        display: inline;
    }

    .control-group .control-label {
        /*width: 40%;*/
        width: 10rem;
        margin-right: 10px;
    }

    .control-group .controls {
        /*width: 60%;*/
        flex: 1;
        display: flex;
    }

    .flex-col-2 .control-group .control-label, .flex-col-third .control-group .control-label {
        width: 6em;
    }

    .flex-col-half .control-group .control-label {
        width: 8em;
    }

    .flex-col-2 .control-group .control-label, .flex-col-third .control-group .control-label {
        width: 6em;
    }

    .flex-col-half .control-group .control-label {
        width: 8em;
    }

    .btn.dots-button {
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        -webkit-transform: none;
    }

    .modal {
        width: 600px;
    }

    .sheader #filterBar .control-group {
        width: 100%;
    }

    .sheader > #subMenuBarPatInner {
        max-width: 800px;
        margin: auto;
    }

    .menu-container {
        max-width: 800px;
    }

            .atomicTest .manualinputview-col-limit .control-label {
                /*width: 2.5rem;*/
                flex-direction: row;
            }

            .atomicTest .manualinputview-col-limit .control-label > label {
                margin-left: auto;
                width: initial;
                margin-right: 10px;
            }
}


@media (max-width: 1024px) {
    .atomicTest.designView.details-section div.designview-col-title {
        width: 7rem;
    }

    .atomicTest.designView.details-section .designview-col-button {
        width: 5rem;
    }
}

@media (min-width: 600px) {
    .designview-col-container div[class^='designview-col-'] div.control-label {
        display: none;
    }
}


@media (max-width: 600px) {
    .atomicTest.designView.details-section > .atomicTest.header {
        display: none;
    }

    .atomicTest.designView.details-section > div.atomicTest.flex {
        margin-bottom: 5px;
    }

    .atomicTest.designView.details-section div.designview-col-container {
        flex-flow: column;
        border-left: 1px solid #e0e0e0;
    }
            .atomicTest.designView.details-section div.designview-col-container .control-group {
                padding: 5px 10px;
                flex: 1;
            }
            .atomicTest.designView.details-section div.designview-col-container > div {
                width: 100%;
            }

        .atomicTest.designView.details-section div.designview-col-title,
        .atomicTest.designView.details-section div.designview-col-button {
            align-self: flex-start;
        }
        .atomicTest.designView.details-section div.designview-col-container {
            padding-top: 5px;
        }
        .atomicTest.designView.details-section div.designview-col-button {
            padding-top: 10px;
        }
        .atomicTest.designView.details-section div.designview-col-title {
            width: 5rem;
        }
    }


     /**  ################################################################## GLOBAL STYLES DETAILS PAGES **/
    /** (MAY BE TRANSFERABLE TO CERTSUITE- BASED ON FLEX COLUMN APPROACH, RATHER THAN BOOTSTRAP) */
    
    /** STANDARD FLEX */
    
    /** DISTRIBUTE CONTENT EVENLY BETWEEN A SET NUMBER OF COLUMNS/ROWS BASED ON MAX OF 5 COLUMNS - USED FOR DETAILS PAGES AND VERY SMALL COLUMN BASED CONTENT  */
    .flex {
        display: flex;
        gap: 0.5em;
        align-items: center;
    }

        .flex .flex-col-1 {
            width: 20%;
        }

        .flex .flex-col-2 {
            width: 40%;
        }

        .flex .flex-col-3 {
            width: 60%;
        }

        .flex .flex-col-4 {
            width: 80%;
        }

        .flex .flex-col-5 {
            width: 100%;
        }

        .flex .flex-col-third {
            width: 33%;
        }

        .flex .flex-col-two-third {
            width: 66%;
        }

        .flex .flex-col-fifth {
            width: 20%;
        }

        .flex .flex-col-sixth {
            width: 16.6%;
        }

        .flex .flex-col-half {
            width: 50%;
        }


    div#patTestModal {
        margin-left: -10px;
        margin-right: -10px;
    }

        div#patTestModal .details-section, .atomicTest.details-section {
            margin: 0;
            width: 100%;
            padding-top: var(--standard-padding);
        }

    .atomicTest.designView.details-section {
        padding: 18px 0;
        margin-top: -60px;
    }

    .atomicTest .control-group .input-with-button input[type="text"],
    .atomicTest .control-group .input-with-button select {
        flex: 1;
    }

    .atomicTest .control-group .input-with-button input[type="button"],
    .atomicTest .control-group .input-with-button button,
    .atomicTest .control-group .input-with-2-button input[type="button"],
    .atomicTest .control-group .input-with-2-button button {
        width: 2rem;
    }

    .atomicTest .JsPATCableCalc, .atomicTest .add-new-option {
        max-width: 2rem;
    }
    .atomicTest input:disabled {
        background: initial;
    }
.atomicTest .designview-col-setting .control-group input.txt-small {
    width: 100% !important;
}
.atomicTest .manualinputview-col-result select.patSectionDDLarge.polarity-control {
    min-width: 5em !important;
}

.atomicTest.flex {
    gap: 0.3em;
}
    .atomicTest.header {
        padding-bottom: 0;
    }
    .atomicTest.sectiontitle {
        font-weight: bold;
    }

    .atomicTest.header div[class^='runview-col-'] {
        justify-content: center;
    }

    .designview-col-container .control-group {
        flex: 1;
    }
    .atomicTest.header .runview-col-result {
        margin-right: calc(1rem + var(--standard-margin) + var(--standard-margin));
    }

.atomicTest .control-group .controls > span:not(:empty) {
    margin-left: var(--standard-margin);
}

.atomicTest div[class^='runview-col-'],
.atomicTest div[class^='designview-col-'],
.atomicTest div.designview-col-container {
    display: flex;
}

    .atomicTest div[class^='runview-col-'] {
        align-items: center;
    }

        .atomicTest div[class^='runview-col-'] input[type="text"],
        .atomicTest div[class^='runview-col-'] .input-with-button button,
        .atomicTest div[class^='runview-col-'] .input-with-2-button input[type="button"],
        .atomicTest div[class^='runview-col-'] .input-with-2-button button,
        .control-text-display {
            width: 4rem;
        }

/*.atomicTest div[class*='view-col-duration'] span,
.atomicTest div[class*='view-col-limit'] span,
.atomicTest div[class*='view-col-setting'] span,
.atomicTest div[class*='view-col-reps'] span,
.atomicTest div[class*='view-col-result'] span {
    margin-left: var(--standard-margin);
}*/

    .atomicTest div[class*='view-col-duration'] span:not(:empty),
    .atomicTest div[class*='view-col-limit'] span:not(:empty),
    .atomicTest div[class*='view-col-setting'] span:not(:empty),
    .atomicTest div[class*='view-col-reps'] span:not(:empty),
    .atomicTest div[class*='view-col-result'] span:not(:empty) {
        margin-left: var(--standard-margin);
        min-width: 1.6em;
        font-size: smaller;
        margin-right: var(--standard-margin);
    }

.atomicTest .manualinputview-col-result .control-label {
    width: 6.6em;
}

.atomicTest .manualinputview-col-result,
.atomicTest .manualinputview-col-limit {
    display: flex;
    width: 33%;
    margin-right: var(--standard-margin);
}

.atomicTest .manualinputview-col-state {
    width: 34%;
}

    .atomicTest .designview-col-title {
        width: 10rem;
    }

    .atomicTest .designview-col-container {
        flex: 1;
    }

    .atomicTest .designview-col-setting {
        width: 36%
    }

    .atomicTest .designview-col-limit {
        width: 29%
    }

    .atomicTest .designview-col-duration {
        width: 20%
    }

    .atomicTest .designview-col-reps {
        width: 15%
    }

.atomicTest .designview-col-button {
    width: 6rem;
    justify-content: flex-end;
}

    .atomicTest .runview-col-title {
        width: 14%
    }

    .atomicTest .runview-col-setting,
    .atomicTest .runview-col-limit,
    .atomicTest .runview-col-result {
        width: 24%
    }

    .atomicTest .runview-col-button {
        width: 14%
    }

    .atomicTest .patcontrols, .atomicTest .patcontrol {
        width: unset;
        height: unset;
        position: unset;
        min-width: unset;
    }

    .atomicTest .runview-col-button > div {
        text-align: center;
        width: 100%;
    }

    .atomicTest button.stop, .atomicTest button.go, .atomicTest img.tick, .atomicTest img.cross {
        min-width: unset;
    }

    .atomicTest button.stop, .atomicTest button.go {
        width: 90%;
        text-align: center;
        font-size: 90%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
    }

    .atomicTest img.tick, .atomicTest img.cross {
        width: 2rem;
    }

    .atomicTest-message:empty {
        display: none;
    }
    .atomicTest-message {
        text-align: center;
        width: 80%;
        padding: 0.8rem 0.5rem;
        margin: 0.4rem auto 0.2rem;
        border-width: 3px;
        border-style: solid;
        border-radius: .25rem;
        border-color: #bdbdbd;
        background: #ededed;
        color: #2b2b2b;
        font-family: monospace, Arial, "Helvetica Neue", Helvetica, sans-serif;
        font-size: 1.1em;
        overflow-y: auto;
        max-height: 70px;
    }
        .atomicTest-message.atomicTest-type-warning {
            background-color: rgb(255 249 240);
            border-color: rgb(238 130 37);
            color: rgb(73 41 0);
        }
        .atomicTest-message.atomicTest-type-error {
            background-color: rgb(249 243 243);
            border-color: rgb(196 76 76);
            color: rgb(51 0 0);
        }
        .atomicTest-message.atomicTest-type-info {
            background-color: rgb(243 245 246);
            border-color: rgb(70 92 103);
            color: rgb(0 44 53);
        }

    div#patTestModal .atomicTest-content {
        overflow-y: auto;
        max-height: 250px;
    }

    @media (min-width: 1024px) or (orientation: landscape) {
    /*.atomicTest .manualinputview-col-result .controls, .atomicTest .manualinputview-col-limit .controls {
            width: 50%;
            flex: none;
        }

        .atomicTest .manualinputview-col-result,
        .atomicTest .manualinputview-col-limit {
            width: 30%;
        }

        .atomicTest .manualinputview-col-state {
            width: 40%;
        }*/

    .atomicTest .manualinputview-col-result > div.control-group > div.controls,
    .atomicTest .manualinputview-col-limit > div.control-group > div.controls {
        flex: unset;
    }
}

    @media screen and (max-width: 600px) {
        .atomicTest .runview-col-title {
            width: 21%
        }
        /*.atomicTest .runview-col-setting,*/
        .atomicTest .runview-col-limit,
        .atomicTest .runview-col-result {
            width: 33%
        }

        .atomicTest .runview-col-button {
            width: 13%
        }

        .atomicTest .runview-col-setting {
            display: none !important;
        }
    }


    /**  ################################################################## END GLOBAL STYLES DETAILS PAGES **/


    /**  ################################################################## GLOBAL STYLES TABLES PAGES - JUST FOR PAT ASSET TABLE ATM **/
    table {
        width: 100%;
        border-spacing: 0;
    }

    tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    tr:nth-child(odd) {
        background-color: #ffffff;
    }

    tr,
    th {
        padding: var(--standard-padding);
        margin: var(--standard-margin);
    }

    th {
        line-height: 15px;
        background-color: #f2f2f2 !important;
        position: sticky;
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -o-sticky;
        position: -ms-sticky;
        top: 0;
        /*    top: 40px;*/
        box-shadow: 0 1px 1px -1px rgba(0, 0, 0, 0.4);
        z-index: 11;
        padding: 10px;
        margin: var(--standard-margin);
        border-top: 1px solid #dcdcdc;
        border-left: 1px solid #dcdcdc;
        border-right: 1px solid #dcdcdc;
        text-align: center;
        vertical-align: middle;
    }

    td {
        /*    min-width: 75px;
*/ max-width: 150px;
        border: 1px solid #e6e6e6;
        padding: 0 !important;
        text-align: center;
        line-height: 20px;
        vertical-align: middle;
        max-height: 85px;
    }

        td.sticky {
            position: sticky;
            position: -webkit-sticky;
            position: -moz-sticky;
            position: -o-sticky;
            position: -ms-sticky;
        }

    table img {
        height: 35px;
    }

    table a {
        text-decoration: none;
        color: var(--megger-blue)
    }

    table tbody {
        position: relative;
        top: 0;
    }

        table tbody tr > td:nth-child(2) {
            /*        position: sticky !important;
        position: -webkit-sticky !important;
        position: -moz-sticky !important;
        position: -o-sticky !important;
        position: -ms-sticky !important;*/
            text-align: center;
            left: 0;
            max-width: 120px;
            background: #f9f9f9;
            /*        z-index: 10;*/
        }

    table thead tr > .sticky {
        z-index: 12;
        left: 0;
    }

    table .th-right {
        margin-left: 35px;
    }

    table td:hover {
        cursor: pointer;
    }

    table td:focus .kitepara, td:hover .kitepara {
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        background-color: #236689 !important;
        background-image: linear-gradient(#0071B9, #236689);
        background-repeat: repeat-x;
        color: #FFFFFF !important;
        cursor: pointer;
    }

    table .kitepara {
        text-align: center;
        margin: 4px;
        min-height: 32px;
        display: flex;
        overflow: hidden;
        justify-content: center;
        align-items: center;
    }

    table .kitecell input {
        max-width: 80px;
    }

    table .kitecell .btn {
        background-image: none;
        min-width: -webkit-fill-available;
        min-width: -moz-available;
        margin: 4px;
        text-align: center;
    }

    table .rowActive {
        background-color: #c3e4ef !important;
    }

    .table-overflow {
        height: 120px;
    }

    table.tablesorter thead tr .headerSortUp {
        background-image: url("../css/img/asc-f8a1940c9c.gif");
        background-position: right center;
        background-repeat: no-repeat;
    }

    table.tablesorter thead tr .headerSortDown {
        background-image: url("../css/img/desc-a54846803d.gif");
        background-position: right center;
        background-repeat: no-repeat;
    }

    #asset180-list td {
        max-width: 200px;
    }

        #asset180-list td > p {
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
            padding: var(--standard-padding);
        }

    #asset180-list .PATImg {
        height: 50px;
        width: 50px;
        position: relative;
        z-index: 49 !important;
    }

    #asset180-list .PATImgContainer {
        border-radius: 7px;
        border-width: 1px;
        border-style: solid;
        border-color: gray;
        height: 50px;
        width: 50px;
        margin-left: 8px;
        position: relative;
        text-align: center;
        color: dimgray;
    }

    #asset180-list .PATImgText {
        position: absolute;
        top: 50%;
        left: 50%;
        font-size: 27px;
        transform: translate(-50%, -50%);
        z-index: 1;
        width: 50px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

    #asset180-list .PATStatusImg {
        height: 20px;
        width: 20px;
        position: absolute;
        bottom: 0px;
        right: 2px;
        z-index: 99 !important;
    }

    #asset180-list .patsymbol {
        height: 30px;
        width: 30px;
        float: right
    }

    #asset180-list .PATButtonsSmall,
    table#companyTestGroup183-list .PATButtonsSmall {
        width: 30px !important;
        height: 40px;
        min-width: 30px !important;
        max-width: 30px !important;
    }

    #asset180-list .PATNameIDLocContainer,
    table#companyTestGroup183-list .PATTGDescrContainer {
        color: dimgray;
        font-size: 10px;
        text-align: left !important;
        padding: var(--standard-padding);
        max-width: 100%;
        overflow: hidden;
    }

table#companyTestGroup183-list th:nth-of-type(6) {
    display: none; /* Hide the column of Initials in Test Group List temporarily; */
}

table#companyTestGroup183-list td:nth-of-type(6) {
    display: none; /* Hide the column of Initials in Test Group List temporarily; */
}

    #asset180-list .PATAssetName {
        display: block;
        line-height: 1em;
        padding-left: var(--standard-padding);
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 145px;
    }

    table#companyTestGroup183-list .PATTGDescrContainer span {
        display: block;
        line-height: 1.3em;
        padding-left: var(--standard-padding);
    }

        table#companyTestGroup183-list .PATTGDescrContainer span.PATTGDescr {
            color: black !important;
            font-weight: bold !important;
            font-size: 1.1em;
        }

    #asset180-list .PATAssetNo {
        color: black !important;
        font-weight: bold !important;
        font-size: 12px !important;
        display: block;
        line-height: 1em;
        padding: 4px 0 4px var(--standard-padding);
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        width: 145px;
    }

    #asset180-list .PATAssetLocation {
        word-wrap: break-word;
        display: block;
        line-height: 1em;
        padding-left: var(--standard-padding);
        text-overflow: ellipsis;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        width: 145px;
    }

    #asset180-list .PATTestDate {
        color: dimgray;
        font-size: 10px;
        /*    text-align: right !important;
*/ display: block;
        padding-left: var(--standard-padding);
        max-width: 120px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    table#companyTestGroup183-list .PATMobileDate span {
        color: dimgray;
        font-size: 10px;
        display: block;
        padding-left: var(--standard-padding);
        line-height: 1.3em;
        white-space: unset;
    }

    #asset180-list .PATTestTypeImg {
        height: 25px;
        width: 25px;
    }

    #asset180-list .threedots,
    table#companyTestGroup183-list .threedots {
        font-weight: bold !important;
        font-size: 25px;
        word-wrap: break-word;
        display: block;
        line-height: 0.3em;
    }

    #addBtnOnSubHeader {
        display: none;
        min-width: initial;
        border-radius: 50px;
        padding: 8px 10px 5px 10px;
        margin-left: 4px;
        margin-top: 4px;
    }

    #addBtnInTable {
        min-width: initial;
        border-radius: 50px;
        padding: 5px 10px 5px 10px;
        z-index: 1018;
        position: absolute;
        margin-left: 4px;
        margin-top: 4px;
        /*    display: block; */
        display: none;
    }

    tr.patasset-link div.navbar.actionbuttons, tr.companyTestGroup-link div.navbar.actionbuttons {
        display: flex;
        justify-content: center;
    }

.changePageTG.btn.disabled {
    background-color: var(--megger-grey);
}


    @media screen and (max-width: 600px) {
        #asset180-list thead {
            display: none;
        }

        #asset180-list th:nth-of-type(1) {
            display: none;
        }

        #asset180-list td:nth-of-type(1) {
            display: none;
        }

        #asset180-list th:nth-of-type(2) {
            display: none;
        }

        #asset180-list td:nth-of-type(2) {
            display: none;
        }

        #asset180-list th:nth-of-type(3) {
            display: none;
        }

        #asset180-list td:nth-of-type(3) {
            display: none;
        }

        #asset180-list th:nth-of-type(4) {
            display: none;
        }

        #asset180-list td:nth-of-type(4) {
            display: none;
        }

        #asset180-list th:nth-of-type(5) {
            display: none;
        }

        #asset180-list td:nth-of-type(5) {
            display: none;
        }

        #asset180-list th:nth-of-type(6) {
            display: none;
        }

        #asset180-list td:nth-of-type(6) {
            display: none;
        }

        #asset180-list th:nth-of-type(7) {
            display: none;
        }

        #asset180-list td:nth-of-type(7) {
            display: none;
        }

        #asset180-list th:nth-of-type(8) {
            display: none;
        }

        #asset180-list td:nth-of-type(8) {
            display: none;
        }

        #asset180-list th:nth-of-type(9) {
            display: none;
        }

        #asset180-list td:nth-of-type(9) {
            display: none;
        }

        table#companyTestGroup183-list thead {
            display: none;
        }

        table#companyTestGroup183-list tr > :nth-child(n+3):nth-last-child(n+4) {
            display: none;
        }

        table#companyTestGroup183-list td {
            max-width: unset;
        }
    }

    @media screen and (min-width: 600px) {

        #asset180-list th:nth-of-type(10) {
            display: none;
        }

        #asset180-list td:nth-of-type(10) {
            display: none;
        }

        #asset180-list th:nth-of-type(11) {
            display: none;
        }

        #asset180-list td:nth-of-type(11) {
            display: none;
        }

        #asset180-list th:nth-of-type(12) {
            display: none;
        }

        #asset180-list td:nth-of-type(12) {
            display: none;
        }

        #asset180-list th:nth-of-type(13) {
            display: none;
        }

        #asset180-list td:nth-of-type(13) {
            display: none;
        }

        table#companyTestGroup183-list tr > :nth-last-child(-n+3) {
            display: none;
        }
    }

    /**  ################################################################## GLOBAL STYLES TABLES PAGES - JUST FOR PAT ASSET TABLE ATM **/


    /** ################################################################## PAT PAGE SPECIFIC STYLES */

    /** MOBILE */

    .details-section, .jsplaceholder-details {
        width: 95%;
        margin: auto;
        padding: var(--standard-padding);
        padding-top: 30px;
    }

        .details-section > div, div#patTestModal .details-section > .atomicTest-content > div {
            padding: var(--standard-padding);
        }

        .details-section .section-title {
            font-size: 25px;
            vertical-align: middle;
        }

        .details-section .section-img {
            max-width: 52px;
            margin: var(--standard-margin);
            vertical-align: middle;
        }

        .details-section .patSectionPassAllbtn {
            float: right;
            width: 7em;
        }

        .details-section .section-sub-title {
            font-size: 15px;
            font-weight: bold;
            vertical-align: middle;
            text-align: center;
        }

        .details-section .btn {
            min-width: 100px;
        }

        .details-section .PAT-riskassessment-btn.active, .details-section
        .PAT-riskassessment-btn-2.active {
            background: var(--megger-blue);
        }

        .details-section input[type="text"],
        .details-section textarea,
        .details-section select,
        .details-section label {
            width: 95%;
        }

        .details-section .flex-col-third select {
            width: 85%;
        }


    /* ### RISK ASSESSMENT SECTION */
    #section6 .flex-col-third {
        text-align: center;
    }

    /*#section6 .flex-col-5 {
    margin-top: 20px;
}*/

    #section6 select {
        width: 65%;
    }


    /* ### JOB DETAILS SECTIONS */
    #customerInJobImageContainer {
        height: 18px;
        background-color: #0071B9;
        padding: 4px;
        margin: 5px;
        border-radius: 3px;
    }

    .customerInJobImage {
        height: 14px;
    }


    /** ### PREVIEW REPORT SECTION */
    .jSignature {
        width: 380px !important;
        height: 125px !important;
        background-color: #ffffff !important;
    }

    .preview-options {
        background-color: #AFB6BD;
        /*padding: 20px;
    border-top: 1px solid #1D1D1B;
    border-right: 1px solid #1D1D1B;
    border-left: 1px solid #1D1D1B;*/
        height: 100%;
        margin: auto;
        /*text-align: center;*/
    }

    #revealOptions {
        float: right;
        margin-top: -20px;
        cursor: pointer;
    }

    reveal-options-flip {
        transform: rotate(180deg);
    }

    .reveal-options {
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 12px;
        vertical-align: top !important;
        border-top: 8px dashed;
        border-top: 8px solid\9;
        border-right: 8px solid transparent;
        border-left: 8px solid transparent;
        color: #005580;
        margin-top: 6px;
    }

    .reveal-options-flip {
        transform: rotate(180deg);
    }

    .revealOptsBtn .caret {
        border-top: 4px solid #000;
    }

    .preview-options > .jsplaceholder-details {
        display: flex;
        flex-direction: column;
        width: fit-content;
    }

        .preview-options > .jsplaceholder-details > .control-group:last-child {
            text-align: center;
            margin-top: 20px;
        }

            .preview-options > .jsplaceholder-details > .control-group:last-child > .controls {
                display: inline-block;
            }

    .preview-options .control-group > .controls {
        display: flex;
    }

    .preview-options .control-label {
        width: 100%;
        display: flex;
    }

    #dropdown-printlabel.hide {
        display: none;
    }

    button.menu-print-label.hide {
        display: none;
    }

    /** PAGE SPECTIFIC STYLES - DESKTOP */
    @media (min-width: 600px) {
    .preview-options .control-group, .preview-options .control-label, .preview-options .controls {
            width: 100%;
            display: inline-block;
        }

        .preview-options select {
            max-width: 300px;
            text-align: center;
        }
    }

    @media (min-width: 1024px) {
        .details-section, .jsplaceholder-details {
            max-width: 800px;
        }
    }

    @media (min-width: 480px) {
        #topRightBtns a.changePageTGModel {
            display: none;
        }
        #topRightBtns a.menu-print-label {
            display: none;
        }
    }

    @media (max-width: 480px) {
        #topRightBtns button.changePageTG {
            display: none;
        }

        #topRightBtns a.changePageTGModel {
            display: block;
        }

        button.menu-print-label {
            display: none;
        }

        #topRightBtns a.menu-print-label {
            display: block;
        }

        #topRightBtns a.menu-print-label.hide {
            display: none;
        }
    }
    
    /** ################################################################## END PAT PAGE SPECIFIC STYLES */


    /** ##################################################################################### LEGACY */

    /**
    ### SOME CERTSUITE BITS - NEEDED IN PAT
*/

    /* ### Progress bar on preview of report and file transfer etc... */

    .progress {
        height: 20px;
        margin-bottom: 20px;
        overflow: hidden;
        background-color: #f7f7f7;
        background-image: -moz-linear-gradient(top,#f5f5f5,#f9f9f9);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#f5f5f5),to(#f9f9f9));
        background-image: -webkit-linear-gradient(top,#f5f5f5,#f9f9f9);
        background-image: -o-linear-gradient(top,#f5f5f5,#f9f9f9);
        background-image: linear-gradient(to bottom,#f5f5f5,#f9f9f9);
        background-repeat: repeat-x;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5',endColorstr='#fff9f9f9',GradientType=0);
        -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
        box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
    }

    progress.active .bar {
        -webkit-animation: progress-bar-stripes 2s linear infinite;
        -moz-animation: progress-bar-stripes 2s linear infinite;
        -ms-animation: progress-bar-stripes 2s linear infinite;
        -o-animation: progress-bar-stripes 2s linear infinite;
        animation: progress-bar-stripes 2s linear infinite;
    }

    .progress-info.progress-striped .bar, .progress-striped .bar-info {
        background-color: #5bc0de;
        background-image: -webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));
        background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: -moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: -o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
    }

    .progress .bar-info {
        background-color: #4bb1cf;
        background-image: -moz-linear-gradient(top,#5bc0de,#339bb9);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#5bc0de),to(#339bb9));
        background-image: -webkit-linear-gradient(top,#5bc0de,#339bb9);
        background-image: -o-linear-gradient(top,#5bc0de,#339bb9);
        background-image: linear-gradient(to bottom,#5bc0de,#339bb9);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de',endColorstr='#ff339bb9',GradientType=0);
    }

    .progress-striped .bar {
        background-color: #149bdf;
        background-image: -webkit-gradient(linear,0 100%,100% 0,color-stop(0.25,rgba(255,255,255,0.15)),color-stop(0.25,transparent),color-stop(0.5,transparent),color-stop(0.5,rgba(255,255,255,0.15)),color-stop(0.75,rgba(255,255,255,0.15)),color-stop(0.75,transparent),to(transparent));
        background-image: -webkit-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: -moz-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: -o-linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        background-image: linear-gradient(45deg,rgba(255,255,255,0.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,0.15) 50%,rgba(255,255,255,0.15) 75%,transparent 75%,transparent);
        -webkit-background-size: 40px 40px;
        -moz-background-size: 40px 40px;
        -o-background-size: 40px 40px;
        background-size: 40px 40px;
    }

    .progress .bar {
        float: left;
        width: 0;
        height: 100%;
        font-size: 12px;
        color: #fff;
        text-align: center;
        text-shadow: 0 -1px 0 rgba(0,0,0,0.25);
        background-color: #0e90d2;
        background-image: -moz-linear-gradient(top,#149bdf,#0480be);
        background-image: -webkit-gradient(linear,0 0,0 100%,from(#149bdf),to(#0480be));
        background-image: -webkit-linear-gradient(top,#149bdf,#0480be);
        background-image: -o-linear-gradient(top,#149bdf,#0480be);
        background-image: linear-gradient(to bottom,#149bdf,#0480be);
        background-repeat: repeat-x;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf',endColorstr='#ff0480be',GradientType=0);
        -webkit-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
        -moz-box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
        box-shadow: inset 0 -1px 0 rgba(0,0,0,0.15);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        -webkit-transition: width .6s ease;
        -moz-transition: width .6s ease;
        -o-transition: width .6s ease;
        transition: width .6s ease;
    }

    .image {
        display: block;
        margin-bottom: 10px;
        height: auto !important;
        width: auto !important;
        max-width: 400px;
    }

    .margin-left5px {
        margin-left: var(--standard-margin);
    }

    .margin-right5px {
        margin-right: var(--standard-margin);
    }

    .mobile-hide {
        display: none;
    }

    .strong {
        padding: var(--standard-padding);
        margin: auto;
    }

    #footer-marker {
        height: 100px;
    }

    #status-msg, #circuit-status-msg {
        left: 50%;
        margin-left: -75px;
        padding: 0 5px 2px;
        position: absolute;
        text-align: center;
        top: -3px;
        width: 150px;
        z-index: 51;
    }

    #status-msg {
        top: -3px;
    }

    #status-msg, #circuit-status-msg {
        top: 2px;
        background-color: bisque;
    }

    .loading {
        background: url("../css/img/spinner-12b392e6a9.gif") no-repeat scroll center center rgba(0, 0, 0, 0);
        min-height: 25px;
        position: fixed;
        height: 100%;
        width: 100%;
        left: 0;
        top: 0;
        cursor: wait;
        opacity: 4;
        z-index: 999;
    }



    .delete-button {
        background: var(--megger-red);
    }

    #page-title {
        color: var(--megger-blue);
        font-size: 19.5px;
        text-align: center;
    }

    #tleFormHeader {
        color: var(--megger-blue);
    }

    #btnDivBot, #btnDivTop {
        margin: var(--standard-margin);
        padding: var(--standard-padding);
    }

    /* Small message that appears on table if a user has no items on that table */
    #tableHelpMessageContainer {
        position: absolute;
        margin-top: 40px;
        margin-left: 5px;
        color: #ffffff;
        z-index: 1008;
        display: none;
    }

        #tableHelpMessageContainer #tableHelpMessage {
            background-color: #E30613;
            border-radius: 5px;
            padding: 15px;
        }

        #tableHelpMessageContainer #arrowUp {
            margin-left: 5px;
            width: 0;
            height: 0;
            border-left: 15px solid transparent;
            border-right: 15px solid transparent;
            border-bottom: 15px solid #E30613;
        }

    #tableHelpMessageClearFiltersContainer {
        position: absolute;
        margin-top: 45px;
        width: 100%;
        z-index: 1008;
    }

        #tableHelpMessageClearFiltersContainer #tableHelpMessage {
            color: #ffffff;
            background-color: #E30613;
            padding: 15px;
            width: 50%;
            text-align: center;
            margin: auto;
        }

    #page-title-wrapper {
        position: sticky !important;
        position: -webkit-sticky !important;
        position: -moz-sticky !important;
        position: -o-sticky !important;
        position: -ms-sticky !important;
        left: 0;
        top: 0;
        z-index: 1041;
        background: #fff;
        /*    height: 35px;
*/ width: 100%;
        margin: auto;
        text-align: center;
        padding: var(--standard-padding);
    }

    #subHeaderSection {
        width: 100%;
        background: white;
        overflow: initial;
        position: sticky;
        position: -webkit-sticky;
        position: -moz-sticky;
        position: -o-sticky;
        position: -ms-sticky;
        top: 0;
        left: 0;
        z-index: 1010;
        padding-top: var(--standard-padding);
    }

    #pageMessageText {
        margin: 0;
    }

    /**
    ### SOME CERTSUITE BITS - NOT NEEDED IN PAT ATM
*/
    #tleFormPrevRep, #blockDividerHeader, #blockDividerFooter, #brdsubheaderMenu {
        display: none !important;
    }

    .next-btn {
        display: none;
    }

    .inpagepreview, .downloadreport {
        display: none;
    }

    /** ### BOOTSTRAP/JQUERY-UI/BEACON ALTERNATIVES */
    /* NAVBAR BITS STILL NEEDED */
    .navbar > ul {
        margin: 0;
    }

    .nav > li > a {
        display: block;
        margin-top: var(--standard-margin)
    }

    .navbar .pull-right {
        padding: 0;
        list-style-type: none;
        float: right;
    }

    .navbar .nav > li > .dropdown-menu:before {
        position: absolute;
        right: 10px;
        margin-top: -12px;
        display: inline-block;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #fff;
        border-left: 7px solid transparent;
        border-bottom-color: #fff;
        content: '';
    }

    /* THE TRIANGLE THAT APPEARS FOR BUTTON DDLS */
    .caret {
        display: inline-block;
        width: 0;
        height: 0;
        vertical-align: top;
        border-top: 4px solid #ffffff;
        border-right: 4px solid transparent;
        border-left: 4px solid transparent;
        margin: 10px 2px 0 2px;
        content: "";
    }

    /* ICONS THAT APPEARS IN BUTTONS */
    .icon-search, .icon-remove, .icon-pencil, .icon-plus, .delete-button {
        display: inline-block;
        width: 14px;
        height: 14px;
        vertical-align: middle;
    }

    .icon-search {
        background-image: url(../imgMain/glyphicons-halflings-2516339970.png);
        background-position: -48px 0;
    }

    .icon-pencil {
        background-image: url(../imgMain/glyphicons-halflings-2516339970.png);
        background-position: 0px -73px;
    }

    .icon-search.icon-white {
        background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png) !important;
    }

    .icon-pencil.icon-white {
        background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png) !important;
    }

    .icon-remove {
        background-image: url(../imgMain/glyphicons-halflings-2516339970.png) !important;
        background-position: -312px 0;
    }

        .icon-remove.icon-white {
            background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png) !important;
        }

    .icon-plus {
        margin-top: 1px;
        background-position: -408px -96px;
        background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png )
    }

    /* POPOVER ON BUTTONS ETC */
    .popover {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1050; /* to set a bit higher than Beacon button */
        display: none;
        max-width: 276px;
        padding: 1px;
        text-align: left;
        white-space: normal;
        background-color: #ffffff;
        border: 1px solid #ccc;
        border: 1px solid rgba(0, 0, 0, 0.2);
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding;
        background-clip: padding-box;
    }

        .popover.top {
            margin-top: -10px;
        }

        .popover.right {
            margin-left: 10px;
        }

        .popover.bottom {
            margin-top: 10px;
        }

        .popover.left {
            margin-left: -10px;
        }

    .popover-title {
        padding: 8px 14px;
        margin: 0;
        font-size: 14px;
        font-weight: normal;
        line-height: 18px;
        background-color: #f7f7f7;
        border-bottom: 1px solid #ebebeb;
        -webkit-border-radius: 5px 5px 0 0;
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
    }

        .popover-title:empty {
            display: none;
        }

    .popover-content {
        padding: 9px 14px;
    }

    .popover .arrow,
    .popover .arrow:after {
        position: absolute;
        display: block;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
    }

    .popover .arrow {
        border-width: 11px;
    }

        .popover .arrow:after {
            border-width: 10px;
            content: "";
        }

    .popover.top .arrow {
        bottom: -11px;
        left: 50%;
        margin-left: -11px;
        border-top-color: #999;
        border-top-color: rgba(0, 0, 0, 0.25);
        border-bottom-width: 0;
    }

        .popover.top .arrow:after {
            bottom: 1px;
            margin-left: -10px;
            border-top-color: #ffffff;
            border-bottom-width: 0;
        }

    .popover.right .arrow {
        top: 50%;
        left: -11px;
        margin-top: -11px;
        border-right-color: #999;
        border-right-color: rgba(0, 0, 0, 0.25);
        border-left-width: 0;
    }

        .popover.right .arrow:after {
            bottom: -10px;
            left: 1px;
            border-right-color: #ffffff;
            border-left-width: 0;
        }

    .popover.bottom .arrow {
        top: -11px;
        left: 50%;
        margin-left: -11px;
        border-bottom-color: #999;
        border-bottom-color: rgba(0, 0, 0, 0.25);
        border-top-width: 0;
    }

        .popover.bottom .arrow:after {
            top: 1px;
            margin-left: -10px;
            border-bottom-color: #ffffff;
            border-top-width: 0;
        }

    .popover.left .arrow {
        top: 50%;
        right: -11px;
        margin-top: -11px;
        border-left-color: #999;
        border-left-color: rgba(0, 0, 0, 0.25);
        border-right-width: 0;
    }

        .popover.left .arrow:after {
            right: 1px;
            bottom: -10px;
            border-left-color: #ffffff;
            border-right-width: 0;
        }


    /* ### DATE PICKER */
    #ui-datepicker-div {
        z-index: 1011 !important;
    }

    .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
        border-bottom-right-radius: 4px;
    }

    .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
        border-bottom-left-radius: 4px;
    }

    .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
        border-top-right-radius: 4px;
    }

    .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
        border-top-left-radius: 4px;
    }

    .ui-widget-content {
        border: 1px solid #dddddd;
        background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x;
        color: #333333;
    }

    .ui-widget {
        font-family: Trebuchet MS,Tahoma,Verdana,Arial,sans-serif;
        font-size: 1.1em;
    }

    .ui-datepicker {
        width: 17em;
        padding: 0.2em 0.2em 0;
        display: none;
    }

    .ui-helper-clearfix {
        min-height: 0;
    }

    .ui-datepicker .ui-datepicker-header {
        position: relative;
        padding: 0.2em 0;
    }

    .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
        border-bottom-right-radius: 4px;
    }

    .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl {
        border-bottom-left-radius: 4px;
    }

    .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr {
        border-top-right-radius: 4px;
    }

    .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl {
        border-top-left-radius: 4px;
    }

    .ui-widget-header {
        border: 1px solid #e78f08;
        background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x;
        color: transparent;
        font-weight: bold;
    }

    .ui-helper-clearfix {
        min-height: 0;
    }

    .ui-datepicker table {
        width: 100%;
        font-size: .9em;
        border-collapse: collapse;
        margin: 0 0 0.4em;
    }

    .ui-datepicker th {
        padding: 0.7em 0.3em;
        text-align: center;
        font-weight: bold;
        border: 0;
        background: unset !important;
    }

    .ui-datepicker td {
        border: 0;
        padding: 1px !important;
        min-width: initial;
        background: unset !important;
    }

    .ui-datepicker .ui-datepicker-title select {
        font-size: 1em;
        margin: 1px 0;
        width: 50%;
    }

    .ui-datepicker td span,
    .ui-datepicker td a {
        display: block;
        padding: .2em;
        text-align: right;
        text-decoration: none;
    }

    .ui-datepicker tr:nth-child(odd) {
        background-color: unset;
    }

    /* ### DATE PICKER - Interaction states ----------------------------------*/
    .ui-state-default,
    .ui-widget-content .ui-state-default,
    .ui-widget-header .ui-state-default {
        border: 1px solid #cccccc;
        background: #f6f6f6 url("images/ui-bg_glass_100_f6f6f6_1x400.png") 50% 50% repeat-x;
        font-weight: bold;
        color: #1c94c4;
    }

        .ui-state-default a,
        .ui-state-default a:link,
        .ui-state-default a:visited {
            color: #1c94c4;
            text-decoration: none;
        }

    .ui-state-hover,
    .ui-widget-content .ui-state-hover,
    .ui-widget-header .ui-state-hover,
    .ui-state-focus,
    .ui-widget-content .ui-state-focus,
    .ui-widget-header .ui-state-focus {
        border: 1px solid #fbcb09;
        background: #fdf5ce url("images/ui-bg_glass_100_fdf5ce_1x400.png") 50% 50% repeat-x;
        font-weight: bold;
        color: #c77405;
    }

        .ui-state-hover a,
        .ui-state-hover a:hover,
        .ui-state-hover a:link,
        .ui-state-hover a:visited,
        .ui-state-focus a,
        .ui-state-focus a:hover,
        .ui-state-focus a:link,
        .ui-state-focus a:visited {
            color: #c77405;
            text-decoration: none;
        }

    .ui-state-active,
    .ui-widget-content .ui-state-active,
    .ui-widget-header .ui-state-active {
        border: 1px solid #fbd850;
        background: #ffffff url("images/ui-bg_glass_65_ffffff_1x400.png") 50% 50% repeat-x;
        font-weight: bold;
        color: #eb8f00;
    }

        .ui-state-active a,
        .ui-state-active a:link,
        .ui-state-active a:visited {
            color: #eb8f00;
            text-decoration: none;
        }

    /* ### DATE PICKER - Interaction Cues
----------------------------------*/
    .ui-state-highlight,
    .ui-widget-content .ui-state-highlight,
    .ui-widget-header .ui-state-highlight {
        border: 1px solid #fed22f;
        background: #ffe45c url("images/ui-bg_highlight-soft_75_ffe45c_1x100.png") 50% top repeat-x;
        color: #363636;
    }


    /* ### COLOR PICKER (to handle conflicts between the color picker and PAT controls)
---------------------------------*/
    .colpick .colpick_field input, .colpick .colpick_hex_field input {
        min-height: initial;
        border: unset !important;
        font-size: unset !important;
    }

    #editProfileModalTitle h4.fit-content {
        width: fit-content;
        width: -moz-fit-content;
        display: inline-block;
    }

    #editProfileModalAddDetailsCompColSectionInner #lblCompanyColor.control-label,
    #editProfileModalAddDetailsCompColSectionInner .controls.max-width400px {
        width: initial;
    }



    /* The HELPSCOUT beacon - this is an iframe that floats on top of page - however, we have added styling to get it to fit into the nav menu as nicely as possible...  */
    .hsds-beacon .jugMZZ, .hsds-beacon .fOEFnu {
        bottom: 75px !important;
        right: 5% !important;
        width: 60px !important;
        /*    height: 55px !important;*/
    }

    .jsAddRCD, .jsAddBoard, .jsAddTI, .jsAddArea, .jsAddDetailsArea, .jsAddOther, .otherDF {
        color: #49AFCD;
        font-style: italic;
    }

    @media (min-width: 1024px) or (orientation: landscape) {

        .mobile-hide {
            display: inline;
        }

        .nav > li {
            display: block;
            float: left;
            margin-left: var(--standard-margin)
        }

        .control-group .control-label {
            justify-content: flex-start;
        }
    }

    /** ##################################################################################### END LEGACY */


    /** ##### CERTSUITE TAILORED CSS - WILL LIKELY BE NEEDED ON TRANSFER OF CERTSUITE TO PAT CSS */



    /* ### HELP WELL THAT APPEARS ON THE MY PROFILE PAGE */
    /*.alert {
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    background-color: #fcf8e3;
    border: 1px solid #fbeed5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

    .alert .close {
        position: relative;
        top: -2px;
        right: -21px;
        line-height: 20px;
        float: right;
        font-size: 20px;
        font-weight: bold;
        line-height: 20px;
        color: #000;
        text-shadow: 0 1px 0 #fff;
        opacity: .2;
    }

    .alert, .alert h4 {
        color: #c09853;
    }*/



    /** ### IN-JOB NAVIGATION - PULLED IN FROM CERTSUITE - NEEDS WORK!! */

    /*#sideMenuDiv {
    height: 100%;
}

#menuDiv {*/
    /*   position: relative !important;
*/ /*background: #eee;
    padding: 5px;
    margin-right: 3px;
    width: fit-content;
    width: -moz-fit-content;*/
    /*    top: 100px;
*/ /*height: calc(100vh - 120px);
    z-index: 1020;
    min-width: 200px;
    left: -100vw;
    transition: all 0.2s ease-in-out;
    -webkit-transform: translate3d(0,0,1px);
    transform: translate3d(0,0,1px);
}

#general-list-accordion {
    overflow: auto;
    height: calc(100vh - 165px);
    padding-bottom: 10px;
}

#general-list-accordion {
    width: fit-content;
    width: -moz-fit-content;
}

.accordion {
    margin-bottom: 20px;
}

.nav {
    margin-bottom: 20px;
    margin-left: 0;
    list-style: none;
}

ul, ol {
    padding: 0;
    margin: 0 0 10px 25px;
}

.nav-pills.nav-stacked > li > a {
    color: #1D1D1B;
}

.nav-pills.nav-stacked > li > a {
    margin-bottom: 3px;
}
.nav-stacked > li {
    float: none;
}
.nav-stacked > li > a {
    margin-right: 0;
    text-decoration: none;
}

.nav-pills > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.nav-tabs > li > a, .nav-pills > li > a {
    padding-right: 12px;
    padding-left: 12px;
    margin-right: 2px;
    line-height: 14px;
}

.nav-pills.nav-stacked > .active > a, .nav-pills.nav-stacked > .active > a:hover {
    background-color: #1D1D1B;
    color: #FFFFFF;
}

.nav-pills.nav-stacked > li > a {
    color: #1D1D1B;
}

.nav-pills.nav-stacked > li > a {
    margin-bottom: 3px;
}

.nav-pills > .active > a, .nav-pills > .active > a:hover, .nav-pills > .active > a:focus {
    color: #fff;
    background-color: #08c;
}

.nav-stacked > li > a {
    margin-right: 0;
}

.nav-pills > li > a {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.nav-tabs > li > a, .nav-pills > li > a {
    padding-right: 12px;
    padding-left: 12px;
    margin-right: 2px;
    line-height: 14px;
}

.nav > li > a {
    display: block;
}*/

    /** ### HAMBURGER ### */
    /*#mobileShowNav, #mobileHideNav {
    display: inline-block;
    background-color: #236689 !important;
    background-image: linear-gradient(#0071B9, #236689);
    background-repeat: repeat-x;
    padding: 6px 10px;
}

#mobileShowNav, #mobileHideNav, .menu-pin-link {
    display: inline-block;
    background-color: #0071B9 !important;
    background-image: linear-gradient(#0071B9, #0071B9);
    background-repeat: repeat-x;
    color: #FFFFFF !important;
    text-shadow: 0 -1px 0 rgb(0 0 0 / 70%);
    padding: 6px 10px;
}

#sideMenuDiv #menuPinLink {
    color: #ffffff;
    text-decoration: none;
    padding: 5px;
    border: 2px solid #0071B9;
    margin-left: 30px;
    vertical-align: top;
}*/

    /* ### HAMBURGER LINES*/
    /*#sideMenuDiv #menuPinLinkHBMenu i, #sideMenuDiv #mobileHideNav i {
    background-image: url(../imgMain/glyphicons-halflings-white-9bbc6e9602.png);
}

#sideMenuDiv .icon-align-justify {
    background-position: -336px -48px !important;
}

#sideMenuDiv [class^="icon-"], #sideMenuDiv [class*=" icon-"] {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    line-height: 14px;
    vertical-align: text-top;
    background-image: url(../imgMain/glyphicons-halflings-2516339970.png);
    background-position: 14px 14px;
    background-repeat: no-repeat;
}*/

    .patmodalconnecttable {
        width: 280px;
    }

    .pat250details2 {
        font-size: 17px !important;
        background-color: white !important;
        text-align: right !important;
        padding-right: 5px !important;
        padding: 2px !important;
        border: 0px !important;
    }

    .pat250screen2 {
        font-size: 25px !important;
        text-align: left !important;
        font-family: lcd-bold !important;
        padding: 2px !important;
        padding-left: 5px !important;
        background-color: #DCDCDC !important;
        border: 0px !important;
    }

    .connectPATbtOLD {
        cursor: pointer;
        height: 65px;
        padding-right: 10px;
    }

.connectPATbt {
    color: white;
    font-weight: bold;
    cursor: pointer;
    height: 37px;
    padding-right: 4px;
    padding-left: 4px;
    padding-top: 23px;
    margin: 4px;
    width: 66px !important;
}
.connectPATbtRED {
    background-color: var(--megger-red);
}
.connectPATbtGREEN {
    background-color: var(--megger-green);
}

.connectPATbtcarat {
    display: inline-block;
    width: 0;
    height: 0;
    margin-top: 8px;
    margin-left: 2px;
    color: white;
    vertical-align: top;
    border-top: 6px solid white;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    content: "";
}

    .patBTAbort {
        background-color: red;
        color: #ffffff;
    }

    div#modalFooter .patBTAbort {
        float: left;
    }

.patBTStartTest {
    background-color: var(--megger-green);
}

    .patSpinner {
        height: 50px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .patBTsendCertsuiteID {
        background-color: orange;
        font-family: lcd;
    }

    /*#ListOfPATInstrumentsUL li {
    height: 50px;
    background-color: orange !important;
    color: white !important;
    padding-bottom:5px !important;
}*/


    .patTestRunning {
        /*    background: url("../css/img/spinner-12b392e6a9.gif") no-repeat scroll center center rgba(0, 0, 0, 0);
    min-height: 25px;
    position: fixed;
    height: 300%;
    width: 300%;
    left: 0;
    top: 0;
    cursor: wait;
    opacity: 4;
    z-index: 9999;*/
    }

    .pat250spanner {
        border-radius: 5px;
        width: 50px;
    }

    .patcountdowncontainer {
    }

    .patcountdown {
    }

    .patcontrols {
        position: relative;
        width: 100px; /* Adjust to your control size */
        height: 50px; /* Adjust to your control size */
    }

    .patcontrol {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none; /* Hide all controls by default */
    }

.patSTOP {
    background-color: var(--megger-red);
    height: 30px !important;
    cursor: pointer !important;
    border-radius: 5px !important;
}
.patSTOP_BIG {
    background-color: var(--megger-red);
    top: 3px    !important;
    height: 45px !important;
    width: 45px !important;
    cursor: pointer !important;
    border-radius: 10px !important;
    position: relative !important;
}
.patGO {
    background-color: var(--megger-green);
    height: 32px !important;
    cursor: pointer !important;
    border-radius: 5px !important;
}

    .show-go .go {
        display: inline-block;
    }

    .show-stop .stop {
        display: inline-block;
    }

    .show-tick .tick {
        display: inline-block;
    }

    .show-cross .cross {
        display: inline-block;
    }

    .patblink {
        animation: blink-animation 1s steps(5, start) infinite;
    }

    @keyframes blink-animation {
        to {
            visibility: hidden;
        }
    }


.floatingPATButtonsDiv {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    float: right;
    gap: 10px;
    top: 145px;
    margin-right: 4px;
    position: absolute;
    z-index: 1000; /* make sure it's on top */
    width: 65px;
}

.floatingPATButtonTest {
    background-color: var(--megger-green);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 10px;
    cursor: pointer
}

.floatingPATButtonPrint {
    background-color: var(--megger-blue);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 10px;
    cursor: pointer
}

.stopButtonPulse {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 82, 82, 1);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 82, 82, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 82, 82, 0);
    }
}

.powerOnslidecontainer {
    /* width: 480px; */
    width: 80%;
/*    padding: 20px;*/
}

.powerOnslider {
    width: 100%;
    cursor: pointer;
    height: 50px;
}


    .powerOnslider::-webkit-slider-thumb {
        -webkit-appearance: none;
        height: 30px;  /*Adjust size */
        width: 30px;
        background: orange;  /*iOS color */
        border-radius: 50%;
    }

.PATPowerWarning {
    
    height: 45px;
    margin-right: 30%;

   
}

#search-asset-desc, #search-asset-desc .twitter-typeahead {
    display: flex !important;
    flex: 1;
}

/* *** Typeahead - with reference to the style in site.css *** */
/*.tt-input, 
.tt-hint {
    width: 520px;
    height: 30px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    outline: none;
    z-index: 5 !important;
}

.tt-input { 
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}*/

.tt-hint {
    color: #999;
}

.tt-menu { 
    /*width: 510px;*/
    width: 100%;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
    padding: 3px 20px;
    /*font-size: 12px;
    line-height: 16px;*/
}

    .tt-suggestion.tt-cursor { 
        color: #fff !important;
        background-color: #0097cf !important;
    }

    .tt-suggestion.tt-selectable:hover {
        background: #eee;
        cursor: pointer;
    }

    .tt-suggestion p {
        margin: 0;
    }


#divPrint, #canvasPrint, #genQRcode, #genBarcode {
    display: none;
}

@media print {
    #canvasPrint.printlabel {
        width: 90mm !important;
        height: 29mm !important;
        display: block;
        margin: 0;
        padding: 0;
    }

    body.printlabel > *:not(#canvasPrint.printlabel) {
        display: none;
    }
}

div#code-reader-container {
    margin: auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div#code-reader-cancel {
    text-align: right;
    padding: 1em;
}

button.btn-scan {
    height: 1em;
    width: 1.5em;
    min-height: 50px;
    border-radius: 0;
    color: #fff;
    padding: 0;
    font-size: 2.5em;
    margin: var(--standard-margin);
    background-color: #27303a;
}
button#btn-scan-torch {
    background-image: url(../imgMain/flashlight_off-2d1d2dd018.png);
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: center center;
}
    button#btn-scan-torch.lighton {
        background-image: url(../imgMain/flashlight_on-3e0d9a04a1.png);
    }
    button#btn-scan-torch.lightoff {
        background-image: url(../imgMain/flashlight_off-2d1d2dd018.png);
    }