@font-face {
    font-family: 'Aptos';
    src: url("/FMLAWeb/javax.faces.resource/default/1_20/fonts/aptos/Aptos.woff.xhtml;jsessionid=9k8T28czf5mbKewKbTnV-K1V0tkVCJjccGdZ_pgl.eg-fmlaapp-p01?conversationContext=1");
}

@font-face {
    font-family: 'Aptos Light';
    src: url("/FMLAWeb/javax.faces.resource/default/1_20/fonts/aptos/Aptos-Light.woff.xhtml;jsessionid=9k8T28czf5mbKewKbTnV-K1V0tkVCJjccGdZ_pgl.eg-fmlaapp-p01?conversationContext=1");
}

.displayNone {
    display: none !important;
}

.display-block {
    display: block !important;
}

.bold-text {
    font-weight: bolder;
}

.underline {
    text-decoration: underline;
}

.bottom-line {
    border-bottom: 1px solid #070f36 !important;
    font: normal 20px/27px 'Aptos', sans-serif !important;
    width: 472px;
    padding-bottom: 20px;
}

.vertical {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.padding-bottom-sm {
    padding-bottom: 20px;
}

.padding-bottom-md {
    padding-bottom: 40px;
}

html {
    min-height: 100%;
    height: auto;
    background: transparent !important;
}

body {
    background: no-repeat fixed linear-gradient(to bottom, #B9DCFF 10%, #FEF2EB 90%) !important;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Aptos', sans-serif !important;
}

header {
    background-color: transparent;
    padding-top: 50px;
    form nav {
        background-color: transparent !important;
        border-top: none !important;
    }
}

.mm-page {
    min-height: 850px;
}

header #banner {
    height: 70px;
}

h1 {
    font: normal 25px/50px 'Aptos', sans-serif !important;
    color: #070F36 !important;
}

h2 {
    font: normal 23px/30px 'Aptos', sans-serif !important;
    color: #070F36 !important;
}

input {
    font: normal 16px/20px 'Aptos', sans-serif !important;
}

#header #banner img, header #banner img {
    max-width: 350px !important;
    max-height: 30px !important;
    min-width: 201px !important;
    min-height: 17px !important;
}

#mobileNav {
    background: transparent;
}

#mobileTopNav {
    background: transparent !important;
}

nav#mobileTopNav {
    border: none;
}

nav.topNavBehalfOf {
    background: transparent !important;
    border: none;
}

nav#topNav.affix {
    background: white !important;
    height: 80px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);

    ul li.impContainer {
        border-top: 1px solid black;
        border-bottom: 1px solid black;
    }
    ul li.impCLeft {
        border-left: 1px solid black;
    }
    ul li.impCRight {
        border-right: 1px solid black;
    }
    #greetignMsg, .usernameDisplay {
        font: lighter 20px/26px 'Aptos Light', sans-serif !important;
    }
}

nav#topNav ul li, nav#mobileTopNav ul li {
    float: left;
    display: inline;
    height: 35px;
    color: #fff;
}

/*Login & Registration*/
nav ul#navMenu li > a {
    color: #070f36 !important;
    font: normal normal lighter 12px/18px 'Aptos Light', sans-serif;
}

label .registration-label {
    margin-left: 5px !important;
}

.registration-label {
    font: normal 16px/20px 'Aptos', sans-serif;
    color: #070f36 !important;
    width: auto;
}

.registrationForm label, .questionLabel {
    /*margin-left: 0 !important;*/
    color: #070f36 !important;
    font: normal normal normal 16px/20px 'Aptos', sans-serif !important;
    margin: auto !important;
    width: 100% !important;
}


.registrationForm .checkSet {
    margin-left: 0 !important;
    display: flex !important;
    max-width: 420px !important;
}

span#searchByEmpNumber {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

span > .registration-info2 {
    font: normal 18px/22px 'Aptos', sans-serif !important;
    padding: 30px 0;
}

.p-datepicker.ui-calendar.ui-trigger-calendar {
    background: transparent !important;
}

#toDateCal_input:hover:active {
    background: #fbdbdb !important;
}
.fieldError span {
    background: transparent !important;
}

.input-box {
    max-width: 420px !important;
    font: normal 14px / 19px 'Aptos', sans-serif !important;
    color: #070F36 !important;
    /*text-decoration: underline;*/
    display: flex !important;
    flex-direction: column;

    > input {
        width: 325px !important;
        border-radius: 10px !important;
        height: 43px;
    }
}

span#qsId {
    text-decoration: underline;
}

.dropdown-box {
    width: 325px !important;
    font: normal 14px / 19px 'Aptos', sans-serif !important;
    color: #070F36 !important;
}

.textAsLabel {
    font: normal 20px / 27px 'Aptos', sans-serif !important;
    color: #070F36 !important;
}

select#questions1,
select#questions2,
select#questions3,
select#questions4,
select#questions5,
select#distributionPreferenceId,
select#allowText,
input#password {
    width: 325px !important;
    height: 43px !important;
    border-radius: 10px !important;
    margin: 0 !important;
}

input.restyledBigBtn {
    height: 69px;
    min-width: 156px !important;
    width: 220px !important;
    max-width: 325px !important;
    border-radius: 100px !important;
    background: #070f36 !important;
    display: flex;
    align-items: center;
    font: lighter 20px/54px 'Aptos Light', sans-serif !important;
    text-align: center;
    justify-content: center;
}

input.restyledBigBtn:hover {
    background-color: #070f36 !important;
}

.redesign25 {
    &.plain {
        background: white;
        border-radius: 40px;
        font-family: 'Aptos', sans-serif !important;
        font-weight: normal;
        padding: 20px;
        color: #070F36 !important;

        
        .p-datepicker.ui-calendar.ui-trigger-calendar {
            margin-top: 0px !important;
            white-space: nowrap;
        }

        button.ui-datepicker-trigger {
            height: 36px !important;
            margin: 0 !important;
            padding: 0 !important;
            border: 0 !important;
            background: url(/FMLAWeb/javax.faces.resource/gfx/icons/calendar.svg.xhtml;jsessionid=9k8T28czf5mbKewKbTnV-K1V0tkVCJjccGdZ_pgl.eg-fmlaapp-p01?conversationContext=1) no-repeat !important;
            background-size: contain !important;
        }

        label {
            text-wrap: balance;
            &.primaryLabel {
                color: #070F36;
            }
        }
        input[type="text"], input[type="password"], select {
            border-radius: 10px !important;
            font-size: 16px !important;
            margin-left: 10px !important;
        }

        .helpText {
            margin-left: 10px;
            input[type="text"] {
                margin-left: 0 !important;
            }
        }

        h1, h2 {
            margin: 10px !important;
        }

        h1 {
            font-size: 35px !important;
        }

        h2 {
            border-bottom: 1px solid #070F36 !important;
            padding-bottom: 0.2em;
        }

        .textAsLabel {
            color: #070F36 !important;
            &.primaryLabel {
                font-size: 27px !important;
                font-weight: normal !important;
            }

            &.subLabel {
                font-size: 18px !important;
                font-weight: normal !important;
            }
        }
        
        .yellowButton {
            background-color: transparent;
            border-radius: 20px;
        }
        
        .helpContent {
            background-color: transparent;
            width: 100%;
            border: 0;
            margin: 0;
        }

        .primaryLabel {
            font-weight: normal !important;
            margin-left: 10px !important;
            color: #070F36 !important;
        }

        form#stepForm, 
        form#addLeaveRequestForm, 
        form[id^="user"],
        form[id^="passwordreq"] {
            .introText {
                margin-left: 10px;
            }

            label, .textAsLabel {
                margin-left: 10px !important;
                margin-bottom: 5px !important;
            }

            .subLabel {
                color: #070F36 !important;
                margin-left: 10px !important;
                &:first-of-type {
                    margin-top: 0;
                }
            }

            .dupConfirm {
                width: 100%;
            }

            .notified-date-picker {
                input[type="text"] {
                    margin-left: 10px !important;
                    max-width: 8em !important;
                }
            }


        }

        form[id^="passwordreq"] {
            label {
                width: 25% !important;
            }

            input[type="text"] {
                margin-left: 0 !important;
            }

            .helpText {
                margin-left: 0 !important;
            }
        }

        .stepBtns, .registerBtns {
            width: 100% !important;
            margin-left: 10px;
            input[type="submit"], button[type="submit"] {
                font-size: 20px !important;
                font-weight: normal !important;
                height: 63px;
                min-width: 156px;
                max-width: 325px;
                border-radius: 100px !important;
                display: inline-block;
                align-items: center;
                text-align: center;
                justify-content: center;
                border: 2px #070f36 solid !important;
                &.primaryBtn {
                    color: white !important;
                    background: #070f36 !important;
                    &.disabled {
                        opacity: 0.5;
                    }
                } 
                &.secondaryBtn {
                    color: #070f36 !important;
                    background: white !important;
                }
                &.disabled {
                    color: white !important;
                    background: #070f36 !important;
                    opacity: 0.5;
                }
            }

            a {
                text-decoration: none;
            }
        }

        .stepTiles {
            width: 100%;
            label {
                height: 100px;
                background: #FFFFFF 0% 0% no-repeat padding-box;
                border: 2px solid #070F36;
                border-radius: 20px !important;
                opacity: 1;
                text-align: center;
                letter-spacing: 0px;
                color: #070F36;
                flex-grow: 1;
                flex-basis: 16%;

                &.ui-state-active {
                    color: white;
                    background: #070F36 0% 0% no-repeat padding-box;
                }
            }
        }

        .termsOfUseContainer {
            width: 90% !important;
            max-width: unset;
            margin: 0 0 1.5em 1em;
            font-weight: lighter;
            font-family: 'Aptos Light', sans-serif !important;
            >h3 {
                line-height: 36px;
                font-weight: lighter;
                color: #070437 !important;
            }
            >p {
                font-size: 15px;
                line-height: 25px;
                font-weight: lighter;
                color: #070437 !important;
            }
        }
    }
}

.registerQs {
    flex-wrap: unset;

    label {
        background: transparent !important;
        color: #070f36 !important;
        border: 1px solid #070f36 !important;
        border-radius: 100px !important;
        height: 69px;
        min-width: 144px !important;
        max-width: 180px !important;
        font: normal normal 300 20px/45px 'Aptos', sans-serif !important;
        display: flex;
        flex: auto;
    }

    label:hover {
        background: transparent !important;
    }
}

.phoneSection {
    margin-left: 0 !important;
    max-width: 420px !important;
}

a.no-btn {
    background: transparent !important;
    border-radius: 100px !important;
    font: normal normal 300 20px/45px 'Aptos', sans-serif !important;
    border: 1px solid #070f36 !important;
    color: #070f36 !important;
    height: 69px;
    width: 220px !important;
    min-width: 156px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.lookUsingLink {
    color: #070f36 !important;
    display: inline;
    text-decoration: underline;
    font: normal 14px/17px 'Aptos', sans-serif !important;
}

.smallText {
    color: #070f36 !important;
    display: inline;
    font: normal 14px/17px 'Aptos', sans-serif !important;
}

.inputWLabel {
    gap: 8px;
    align-items: start;
    max-width: 400px;

    > input {
        color: #000000 !important;
        border-radius: 10px !important;
        max-width: 325px !important;
        height: 43px;
        margin: 0 !important;
    }
}

#moreId::after,
.qsHelptip::after {
    content: unset !important;
}

/*Greeting Message*/
nav ul#navMenu li .clicker {
    font: normal 20px/26px 'Aptos', sans-serif;
    color: #070f36 !important;
}
nav.affix ul#navMenu li .clicker {
    font: lighter 20px/26px 'Aptos Light', sans-serif;
    color: #070f36 !important;
}
.navBarFixed {
    background-color: white !important;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, .5);
}

#greetignMsg {
    color: #070F36 !important;
    font-size: 20px;
    line-height: 26px;
    display: flex !important;
    gap: 5px;
}

.usernameDisplay {
    color: #070f36 !important;
    font: normal 20px/25px 'Aptos', sans-serif !important
}

label .normalLabel {
    margin: 5px 0 !important;
}

span.small-label {
    font: italic normal normal 14px/19px 'Aptos', sans-serif !important;
    margin: 0 !important;
}

.small-label {
    font: italic normal normal 14px/19px 'Aptos', sans-serif !important;
    margin: 0 !important;
}

.long-bottom-line {
    border-bottom: 1px solid #070f36 !important;
    width: 586px;
    padding-bottom: 20px;
}

.introText {
    margin: 0 0 1.5em 0;
    max-width: 586px;

    h3 {
        font: normal 16px/29px 'Aptos', sans-serif !important;
        color: #070f36 !important;
    }

    p {
        font: normal 15px/25px 'Aptos', sans-serif !important;
        color: #070f36 !important;
    }
}

#bodyContainer {
    min-height: 750px;
    padding-top: 73px;
}

.sideNavHeaderMargin {
    margin-bottom: 8px !important;
}

.font-size-side-nav {
  font: 18px/24px 'Aptos Light', sans-serif;
}

.wobLabel {
    color: #070F36 !important;
    font: normal normal lighter 17px/25px 'Aptos Light', sans-serif ;
    display: flex !important;
    justify-content: center;
    align-items: center;

    p {
        margin: 0 !important;
        margin-left: 15px !important;
        margin-top: 3px !important;
    }
}

/*Body*/


#oneColumn h2 {
    border-bottom: none;
    margin-top: 0;
}

#searchCriteria {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
}

.big-subtitle {
    font: normal 20px/25px 'Aptos', sans-serif !important;
    color: #070F36 !important;
}

.registerBtns {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 8px;
}

button.ui-datepicker-trigger {
    background: url(/FMLAWeb/javax.faces.resource/gfx/icons/calendar.svg.xhtml;jsessionid=9k8T28czf5mbKewKbTnV-K1V0tkVCJjccGdZ_pgl.eg-fmlaapp-p01?conversationContext=1) no-repeat !important;
    background-size: contain !important;
}

#loginRight{
    .box {
        width: 460px;
        padding-left: 50px;
    }

    p {
        margin-top: 20px !important;
    }
    .box .content p a {
        font: normal 16px 'Aptos', sans-serif !important;
        color: #070F36 !important;
        text-decoration: underline;
        margin-top: 18px !important;
    }
    .input-field {
        font: normal 16px 'Aptos', sans-serif !important;
        height: 40px !important;
        color: #070F36 !important;
        display: flex !important;
        flex-direction: column;
        border-radius: 10px !important;
        border-color: #707070 !important;
        margin-bottom: 5px !important;
    }
    .password-field {
        border-radius: 10px !important;
        border-color: #707070 !important;
        height: 40px !important;
        margin-bottom: 25px !important;
    }
}
#bodyContainer #content {
    margin-top: 100px;
}
.box-text {
    margin-bottom: 22px !important;
}
.text {
    color: #070F36 !important;
    font: normal normal normal 16px 'Aptos', sans-serif ;
}

#loginLeft {
    width: 620px;
    height: 620px;
}
.plain, .content {
    width: 100% !important;
    height: 100% !important;
}
.login-main-image {
    border-radius: 20px;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.ui-galleria-filmstrip-wrapper {
    display: none !important;
}

.ui-galleria {
    border-radius: 20px;
    width: 100% !important;
    height: 100% !important;
}
.ui-galleria-panel-wrapper, .ui-galleria-panel {
    width: 100% !important;
    height: 100% !important;
}

.login-ar-image {
    margin-bottom: 30px !important;
}
.login-welcome {
    font: normal normal normal 20px/25px 'Aptos', sans-serif !important;
    color: #070F36 !important;
    text-align: center;
    margin-top: 0 !important;
}
.login-title {
    font: normal normal normal 20px/25px 'Aptos', sans-serif !important;
    color: #070F36 !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    text-align: center;
    text-transform: lowercase !important;
}
.login-title::first-letter {
    text-transform: uppercase !important;
}
.login-button {
    width: 100%;
    height: 50px;
    border-radius: 100px;
    background: #070F36 !important;
    font: normal normal 300 20px/54px 'Aptos', sans-serif !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px !important;
}

#footer{
    a {
        text-decoration: underline;
        color: #070F36 !important;
        font: normal normal normal 18px/18px 'Aptos', sans-serif ;
    }
    p {
        color: #070F36;
        font: normal normal normal 18px/18px 'Aptos', sans-serif ;
    }
}

footer {
    width: 100%;
}

#footer, footer {
    min-height: 100px;
    max-height: 180px;
    flex-shrink: 0;
    padding-bottom: 30px;
    width: 100%;
    background: transparent !important;
    border-top: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font: normal 16px / 18px 'Aptos', sans-serif !important;
}

.inactiveLink, a.inactiveLink:visited {
    text-decoration: none !important;
}

nav#topNav ul li.noHover:hover,
nav#mobileTopNav ul li.noHover:hover {
    background-color: #fff !important;
    cursor: default !important;
}

@media(max-width: 1023px) {
    .impSpacer {
        margin-left: 15px !important;
    }
    .longer-text {
        font: normal normal 300 15px/20px 'Aptos', sans-serif !important;
    }
}

@media(max-width: 850px) {
    header {
        padding-top: 30px;
        padding-left: 16px;
    }
    .mm-page {
        min-height: 725px;
    }
    #footer{
        a {
            text-decoration: underline;
            color: #070F36 !important;
            font: normal normal normal 13px/18px 'Aptos', sans-serif !important;
        }
        p {
            color: #070F36;
            font: normal normal normal 13px/18px 'Aptos', sans-serif !important;
            text-align: center !important;
        }
    }
    /*Copied Rest of 850px specs from old 700px specs*/
    #footer, footer {
        margin-top: 0;
    }
    header #banner {
         max-height: 85px;
     }
    .rightMenu {
        display: none;
    }
    .footMenu{
        display: none;
    }
    li.impContainer{
        display: none !important;
    }
    .sidemenu-toggle-black{
        display: block;
        background: url("/FMLAWeb/resources/gfx/hamburger_bk.png") 0 7px no-repeat;
        margin-left: 16px;
    }
    .sidemenu-toggle-white{
        display: block;
        background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC) 0 5px no-repeat;
        margin-left: 16px;
    }
    .stepTiles .ui-button, .stepTiles label {
        flex: 0 0 23%;
    }
    .reviewSection .textAsLabel {
        width: 55% !important;
    }
    .intReviewForm .readonlyDataCol {
        max-width: 40%;
    }
    .docDisclaimer {
        width: 56%;
        margin-left: 13.9em;

    }
    nav ul#navMenu li .clicker {
        margin-top: 14px;
        font: lighter 12px/18px 'Aptos Light', sans-serif !important;
        color: #070f36; !important;
        padding: 0 0 9px 30px !important;
    }

    #bodyContainer {
        min-height: 500px;
    }

    #bodyContainer #content {
        margin-top: 80px !important;
    }

    input#termsOfUseCheckbox {
        float: left !important;
    }

    .usernameDisplay {
        font: 12px/18px 'Aptos Light', sans-serif;
        color: #070f36; !important;
        margin-top: 3px !important;
    }

    nav.mobileTopNavBehalfOf ul#navMenu li div.clicker {
        font: 12px/18px 'Aptos Light', sans-serif;
        padding-left: 30px;
    }

    #mobileTopNav.affix {
        position: unset !important;
    }

    .margin-left {
        margin-left: 20px !important;
    }
    .usernameDisplay {
        display: none;
    }
}

@media(max-width: 1100px) {
    .redesign25.plain {
        padding: 10px;

        h1, h2 {
            margin-left: 0 !important;
        }

        form#stepForm, 
        form#addLeaveRequestForm, 
        form[id^="user"],
        form[id^="passwordreq"] {
            width: 100%;
            max-width: 100%;
            .stepBtns, .registerBtns {
                width: 100%;
                margin: 0 !important;
                input[type="submit"], button[type="submit"] {
                    height: 50px !important;
                    padding: 0 !important;
                    margin: 0 0 10px 0 !important;
                    display: block;
                    min-width: 100%;
                    max-width: 100%;
                }
            }

            .stepTiles {
                margin-bottom: 20px;
                label {
                    flex: 0 0 100%;
                    padding: 0 !important;
                    margin: 0 0 10px 0 !important;
                }
            }

            .primaryLabel, .subLabel, .textAsLabel, .readonlyDataCol, .disclLeaveText {
                margin-left: 0 !important;
            }
        }
    }

    #loginLeft {
        width: 63%;
        .ui-galleria {
            width: 100% !important;
            height: 100% !important;
        }
        .login-main-image {
            width: 100% !important;
            height: 100% !important;
        }
    }
    #loginRight {
        width: 37%;
    }
    #loginRight .box,
    body #loginRight .box
    {
        width: 100%;
        padding-left: 26px !important;
        padding-right: 20px !important;
    }
    .readonlyDataCol .textAsLabel, label{
        width: 100% !important;
    }
}
@media(max-width: 800px) {
    #loginLeft {
        width: 100%;
        .ui-galleria-panel-wrapper, .ui-galleria-panel, .login-main-image,
        .ui-galleria, .ui-widget, .ui-widget-content, .ui-corner-all{
            width: 100% !important;
        }
    }
    #loginRight {
        width: 100%;
    }
}

@media(max-width: 768px) {
    .col-lg-5.col-md-5.col-sm-5.col-xs-9.fmlaLogo {
        min-width: 201px !important;
        min-height: 17px !important;
        max-width: 217px !important;
        max-height: 18px !important;
    }
    #loginLeft ul {
        display: block;
    }
}

@media (max-width: 700px) {
    nav ul#navMenu li .clicker {
        margin-left: 0 !important;
    }

    .form-inline input, input .form-control {
        margin-left: 0 !important;
    }
}

@media (max-width: 565px) {
    .registerBtns {
        margin-left: 0;
    }
    .registrationForm .helptip {
        margin-left: 0;
    }
    label .normalLabel {
        width: 325px !important;
    }
    .phoneSection input[type="text"] {
        width: 325px !important;
    }
    input.restyledBigBtn {
        width: 100% !important;
        max-width: unset !important;
    }
}
