/* Absolute Center Spinner */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
        background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        /* hide "loading..." text */
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

body, html {
    height: 100% !important;
}

body {
    /*background-image: url('../img/APContactImages/CARD_06.jpeg');*/
    background-color: #2D79B5;
       background-repeat: no-repeat;
      /*color:white;*/
    background-attachment: fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 14px !important;
    font-family: 'Quicksand', sans-serif;
}

.nav-container {
    display: flex;
    width: 100%;
}

.nav-left {
    flex: 1;
}

.nav-right {
    width: 280px;
    margin: 0px;
    text-align: center;
}

.lang-switcher {
    position: relative;
    top: 10px;
    left: 10px;
}

.nav-right a {
    border: 1px solid #2f74b6;
    border-radius: 5px;
    padding: 4px 5px;
    font-size: 26px;
    background-color: #92d050;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    overflow-wrap: break-word;
    max-width: 100%;
    height: auto;
    display: block;
}

    .nav-right a:hover {
        text-decoration: underline;
        color: black;
    }

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    /*top: 100px;*/
    padding: 30px 0;
    z-index: 1;
}

header {
    position: fixed;
    width: 100%;
    padding: 20px 40px;
    z-index: 9;
    transition: all 0.3s linear;
}

.header-active {
    background-color: #2f74b6;
}

.text-login label {
    color: #fff;
}

nav {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

    nav .logo {
        font-weight: 600;
        font-size: 2rem;
    }

        nav .logo img {
            max-width: 200px;
        }

        nav .logo a {
            text-decoration: none;
            color: white;
            font-size: 26px;
            vertical-align: top;
        }

            nav .logo a:hover {
                text-decoration: underline;
            }

.login-box {
    max-width: 50%;
    background: rgba(214, 208, 208, 0.22);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(6.5px);
    -webkit-backdrop-filter: blur(6.5px);
    border: 2px solid #2f74b6;
    border-radius: 70px;
    padding: 20px 50px 20px;
}

    .login-box.signup-container {
       max-width:50%;
       width:50%;
       overflow:hidden;
    }

.login-title {
    width: 100%;
    text-align: center;
}

    .login-title h3 {
        color: #ff0000;
        font-size: 22px;
        margin: 0 0 10px;
    }

.login-title {
    width: 100%;
    text-align: center;
}

.text-login p {
    color: white;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin: 5px 0;
}

.text-login span {
    text-align: center;
    font-family: 'Quicksand', sans-serif;
    color: #fff;
}

.text-login .cta-link {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
}

    .text-login .cta-link:hover {
        text-decoration: underline;
    }

.text-login .existing-user a {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 20px;
}

.col-two.flex {
    width: 100%;
    justify-content: space-between;
}

.col-two .form-control {
    width: 47.5%;
}

.col .form-control {
    width: 100%;
}

.form-control {
    margin-top: 10px;
    font-family: 'Quicksand', sans-serif;
    padding-left: 10px;
    height: 30px;
    border: #00000033 1px solid;
    font-size: 14px;
    font-weight: 100;
    border-radius: 5px;
    background-color: #fff;
    box-sizing: border-box;
}

    .form-control::placeholder {
        font-size: 14px;
        padding-left: 10px;
        font-family: 'Quicksand', sans-serif;
        color: #d9d9d9;
        text-align: left;
    }

    .form-control:focus {
        outline: none;
    }

.form-enter {
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #fff;
    padding: 5px 30px;
    border-radius: 5px;
    margin-right: 10px;
    text-transform: uppercase;
    background: #2e75b6;
    font-family: 'Quicksand', sans-serif;
    border: transparent 1px solid;
}

.flex {
    display: flex;
}

.flex-start {
    display: flex;
    justify-content: flex-start;
}

.check-wrapper {
    margin-left: 5%;
}

.select-wrapper {
    position: relative;
    width: 47.5%;
    display: inline-block;
    vertical-align: middle;
}

select#AgeChild, select#PCFundingSourceID, select#drpState {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image: url('/assets/img/APContactImages/arrow-down.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 20px;
}

select:invalid {
    color: #d9d9d9;
}

input#PhoneNumber {
    margin-right: 10px;
}

.thank-you-wrapper span {
    margin-bottom: 10px;
}

.required-input::-webkit-input-placeholder {
    color: #FC8E8E;   
}
.required-input {
    border-color: red !important;
}

.validate-input {
    color: #FC8E8E !important;
}

option {
    color: black;
}

.btn-wrapper {
    text-align: center;
}


.tooltip {
    position: relative;
    display: inline-block;
    /*change the font to the font used in the current pages */
    /*font-family: arial;
    font-size: 12px;*/
    font-size: 14px;
    font-weight: 300;
    opacity:1;
}

    .tooltip .tooltiptext {
        visibility: hidden;
        /*width: 90%;*/ /* 300px;*/
        width: 400px;
        background-color: #FFFF99;
        color: #000000;
        /*change the font to the font used in the current pages */
        font-family: arial;
        font-size: 12px;
        text-align: left;
        border-radius: 6px;
        padding: 10px 10px;
        border-style: ridge;
        /* Position the tooltip */
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        font-weight: normal;
    }

    .tooltip:hover .tooltiptext {
        visibility: visible;
    }

.custom-tooltip {
    position: relative;
    display: inline-block;
    /*change the font to the font used in the current pages */
    /*font-family: arial;
    font-size: 12px;*/
    font-size: 14px;
    font-weight: 300;
    opacity: 1;
}

    .custom-tooltip .tooltiptext {
        visibility: hidden;
        /*width: 90%;*/ /* 300px;*/
        width: 400px;
        background-color: #FFFF99;
        color: #000000;
        /*change the font to the font used in the current pages */
        font-family: arial;
        font-size: 12px;
        text-align: left;
        border-radius: 6px;
        padding: 10px 10px;
        border-style: ridge;
        /* Position the tooltip */
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        font-weight: normal;
    }

    .custom-tooltip:hover .tooltiptext {
        visibility: visible;
    }

.logo-responsive {
    width: 100%;
    margin-right: 200px;
    /*margin-top: 60px;*/
}

/* Responsive Media Queries */
@media only screen and (max-width: 767px) {
    body {
        background-image: none !important;
        background-size: contain;
    }

    .nav-right {
        width: 120px;
        margin: 0px;
    }

    .login-box.signup-container {
        max-width: 100%;
    }

    header {
        padding: 5px 20px;
    }

    nav .logo img {
        max-width: 130px;
        vertical-align: top;
    }

    nav .logo a {
        font-size: 20px;
    }

    .nav-right a {
        font-size: 15px;
        margin: 0px 0px 5px 10px;
    }


        .nav-right a:hover {
            text-decoration: underline;
            color: white;
        }

    .main {
        padding: 30px 20px;
        width: fit-content;
        position: relative;
        top: -80px;
    }

    .mb-banner {
        display: block !important;
    }

        .mb-banner img {
            width: 100%;
        }

    .login-title h3 {
        font-size: 18px;
        color: #ff0000;
    }


    .login-box {
        max-width: 100%;
        border-radius: 20px;
        padding-bottom: 40px;
        border: none;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .text-login p {
        margin: 10px 0;
        font-size: 20px;
    }

    .text-login p, .text-login span, .text-login .cta-link, .text-login label {
        /*color: #2f74b6;*/
    }

    .form-control, .select-wrapper {
        width: 100% !important;
    }

    .col-two.flex, .flex-start {
        width: 100%;
        flex-direction: column;
    }

    .signup-container .flex-start {
        flex-direction: column;
    }

    .btn-wrapper {
        display: flex;
        flex-direction: row !important;
    }

    .text-login .existing-user {
        color: white;
    }

    .login-box {
        backdrop-filter: none;
    }
    .logo-responsive {
        width: 100%;
        margin-right: 200px;
        margin-top: 60px;
    }
}


@media only screen and (max-width: 375px) {
    body {
        background-image: none !important;
        background-size: contain;
    }

    .nav-right {
        width: 110px;
        margin: 0px;
    }

    .login-box.signup-container {
        max-width: 100%;
    }

    header {
        padding: 5px 10px;
    }

    nav .logo img {
        max-width: 130px;
    }


    nav .logo a {
        font-size: 20px;
    }

    .nav-right a {
        font-size: 15px;
        margin: 0px 4px 5px 10px;
    }


        .nav-right a:hover {
            text-decoration: underline;
            color: white;
        }

    .main {
        padding: 30px 20px;
        width: fit-content;
        position: relative;
        top: -80px;
    }

    .mb-banner {
        display: block !important;
    }

        .mb-banner img {
            width: 100%;
        }

    .login-title h3 {
        font-size: 18px;
        color: #ff0000;
    }


    .login-box {
        max-width: 100%;
        border-radius: 20px;
        padding-bottom: 40px;
        border: none;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .text-login p {
        margin: 10px 0;
        font-size: 20px;
    }

    .text-login p, .text-login span, .text-login .cta-link, .text-login label {
        /*color: #2f74b6;*/
    }

    .form-control, .select-wrapper {
        width: 100% !important;
    }

    .col-two.flex, .flex-start {
        width: 100%;
        flex-direction: column;
    }

    .signup-container .flex-start {
        flex-direction: column;
    }

    .btn-wrapper {
        display: flex;
        flex-direction: row !important;
    }

    .text-login .existing-user {
        /*color: #000;*/
        color:white;
    }

    .login-box {
        backdrop-filter: none;
    }
    .logo-responsive {
        width: 100%;
        margin-right: 200px;
        margin-top: 60px;
    }
}

@media only screen and (max-width: 400px) {
    body {
        background-image: none !important;
        background-size: contain;
    }

    .nav-right {
        width: 120px;
        margin: 0px;
    }

    .login-box.signup-container {
        max-width: 100%;
    }

    header {
        padding: 5px 10px;
    }

    nav .logo img {
        max-width: 130px;
    }


    nav .logo a {
        font-size: 20px;
    }

    .nav-right a {
        font-size: 15px;
        margin: 0px 3px 5px 10px;
    }


        .nav-right a:hover {
            text-decoration: underline;
            color: white;
        }

    .main {
        padding: 30px 20px;
        width: fit-content;
        position: relative;
        top: -80px;
    }

    .mb-banner {
        display: block !important;
    }

        .mb-banner img {
            width: 100%;
        }

    .login-title h3 {
        font-size: 18px;
        color: #ff0000;
    }


    .login-box {
        max-width: 100%;
        border-radius: 20px;
        padding-bottom: 40px;
        border: none;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .text-login p {
        margin: 10px 0;
        font-size: 20px;
    }

    .text-login p, .text-login span, .text-login .cta-link, .text-login label {
        /*color: #2f74b6;*/
    }

    .form-control, .select-wrapper {
        width: 100% !important;
    }

    .col-two.flex, .flex-start {
        width: 100%;
        flex-direction: column;
    }

    .signup-container .flex-start {
        flex-direction: column;
    }

    .btn-wrapper {
        display: flex;
        flex-direction: row !important;
    }

    .text-login .existing-user {
        /*color: #000;*/
        color:white;
    }

    .login-box {
        backdrop-filter: none;
    }
    .logo-responsive {
        width: 100%;
        margin-right: 200px;
        margin-top: 60px;
    }
}

@media only screen and (max-width: 360px) {
    body {
        background-image: none !important;
        background-size: contain;
    }

    .nav-right {
        width: 105px;
        margin: 0px 22px 11px 10px;
    }

    .login-box.signup-container {
        max-width: 100%;
    }

    header {
        padding: 5px 10px;
    }

    nav .logo img {
        max-width: 140px;
    }


    nav .logo a {
        font-size: 18px;
    }

    .nav-right a {
        font-size: 12px;
        margin: 0px 4px 5px 10px;
    }


        .nav-right a:hover {
            text-decoration: underline;
            color: white;
        }

    .main {
        padding: 30px 20px;
        width: fit-content;
        position: relative;
        top: -80px;
    }

    .mb-banner {
        display: block !important;
    }

        .mb-banner img {
            width: 100%;
        }

    .login-title h3 {
        font-size: 16px;
        color: #ff0000;
    }


    .login-box {
        max-width: 100%;
        border-radius: 20px;
        padding-bottom: 40px;
        border: none;
        padding: 0;
        background: none;
        box-shadow: none;
    }

    .text-login p {
        margin: 10px 0;
        font-size: 20px;
    }

    .text-login p, .text-login span, .text-login .cta-link, .text-login label {
        /*color: #2f74b6;*/
    }

    .form-control, .select-wrapper {
        width: 100% !important;
    }

    .col-two.flex, .flex-start {
        width: 100%;
        flex-direction: column;
    }

    .signup-container .flex-start {
        flex-direction: column;
    }

    .btn-wrapper {
        display: flex;
        flex-direction: row !important;
    }

    .text-login .existing-user {
        /*color: #000;*/
        color:white;
    }

    .login-box {
        backdrop-filter: none;
    }
    .logo-responsive {
        width: 100%;
        margin-right: 200px;
        margin-top: 60px;
    }
}

.password-container {
    position: relative;
    display: grid;
    width: 50%;
}

div.password-section > div.password-container:nth-child(1) {
    margin-right: 2vw;
}

.togglePassword {
    position: absolute;
    top: 60%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    cursor: not-allowed !important;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 14px !important;
    font-family: 'Quicksand', sans-serif;
}

#CARDlogo {
    width: 100%;
    height: 100%;
}

    #CARDlogo > img {
        height: 100%;
        padding-top: 5px;
        padding-bottom: 3px;
    }

.WelcomeLabel {
    font-size: 26px;
}

#Description {
    font-size: 15px;
}

.divForgotUserName, .divForgotPassword {
    background-color: #fff;
    animation: fadeIn 1s;
}

.Title {
    text-align: center
}

.divName {
    display: flex;
}

.divErrorMsg, .divUsernameErrorMsg {
    color: red;
    margin-top: 20px;
}

.divUsernameErrorMsg {
    display: none;
}

#btnRetrieveUserName {
    margin-top: 20px;
}

.w-50 {
    width: 50%;
}

.txtFieldsMargin {
    margin: 0px 10px 10px 10px;
}

.divZipCode {
    display: flex;
    padding-right: 35px !important;
}

.LoginLink {
    margin: 20px 15px
}

.validate-input {
    color: #FC8E8E !important;
}

.required-input::-webkit-input-placeholder {
    color: #FC8E8E;
}

.lblForgotUserName .lblForgotPassword {
    margin: 20px 15px;
}

.lblCheckEmail {
    margin: 0px 0px 0px 15px;
}

#divMailSent {
    display: none
}

.formFields {
    margin: 0px 10px 10px 10px;
}

#btnSubmitForgotPassword {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 991px) {
    .divForgotUserName, .divForgotPassword {
        width: 50%;
        margin: auto;
        padding: 1px 0px;
    }
}

@media screen and (max-width: 767px) {
    .divForgotUserName, .divForgotPassword {
        width: 70%;
        margin: auto;
        padding: 1px 0px;
    }
}
