/**
 * @file
 * Subtheme specific CSS.
 */

 #better-messages-default.better-messages-overlay.better-messages-position-fixed{padding: 0px;opacity: 1 !important;}
 .better-messages-close{width: 100%;  background-color: #0080ff;  color: #fff;  padding: 10px;  border-bottom-left-radius:1em;  border-bottom-right-radius:1em;}
 #better-messages-default.better-messages-overlay .better-messages-close span:before {content: "OK";color: #ffffff;background-color: #ca0059;padding: 6px 25px;border: 1px solid #0000;border-radius: 4px;text-transform: capitalize;font-size: 0.88rem; /*added by srihari */ margin-left: -50px; /*added by srihari */}
 #better-messages-default.better-messages-overlay .better-messages-close {width: auto;    font-size: 0px; background: #0080ff;  color: #0000;  padding: 10px;  border-bottom-left-radius: 10px;  border-bottom-right-radius: 10px;}
 #better-messages-default.better-messages-overlay .better-messages-close span{background:transparent;width:unset;}
 #better-messages-default.better-messages-overlay .better-messages-close:hover{opacity: initial;}
 #better-messages-default.better-messages-overlay .better-messages-footer{border-top: 0;margin-top: 0px;padding-top: 0px;width: 100%;background-color: #0080FC;float: left;border-bottom-left-radius:10px;border-bottom-right-radius:10px;border: 0;border-top: solid 1px #eeeeee;}
 #better-messages-default.better-messages-overlay.better-messages-position-fixed{width: 100% !important;left: 0 !important;  right: 0 !important;  height: 100vh !important;top: 0 !important;bottom: 0px !important;border-radius: 0px !important;  background: rgba(0,0,0,0.75) !important;z-index: 999999999999999999999999 !important;}
 #better-messages-default.better-messages-overlay.better-messages-position-fixed #better-messages-inner{width: auto !important; max-width:900px !important;  top: 180px !important;  left: 0 !important;  right: 0 !important;  position: relative !important;  background: #fff !important;  opacity: 1 !important;  margin: 0 auto !important;  border-top-left-radius: 10px !important;  border-top-right-radius: 10px !important;}
 .better-messages-content .alert {padding-right: 15px;margin-bottom: 0px !important; color: #000 !important;max-height: 230px;overflow-x: auto;}
 .better-messages-content .alert::before {display: none;}
 .better-messages-overlay .better-messages-header {padding: 12px 0 0 15px;clear: both;}
 .better-messages-overlay .better-messages-header h2 {font-size: 25px;}
 .better-messages-overlay .better-messages-content {font-size: 18px;height: auto;/* width: 65% !important; */}
 .better-messages-content .alert{background: #f7f8fa!important;border: none !important;margin-top: 0px !important;font-size: 14.4px;}
 .better-messages-overlay .alert-wrapper{position: inherit;}
 .better-messages-overlay .alert-dismissible .btn-close {display: none;}
 
 #better-messages-default.better-messages-overlay.better-messages-position-fixed #better-messages-inner {
     
     /* max-width: fit-content !important; */
     width: 498.4px !important;
    max-width: 65% !important;
 }
 .better-messages-content hr{
    display: table-cell;
    font-size: 14.4px;
 }

/* added by srihari */
#better-messages-default.better-messages-overlay .better-messages-footer {
    border-top: 1px solid #dddddd !important;
    margin-top: auto !important;
    padding-top: 5px !important;
    text-align: right !important;
}
/* added by srihari */

 .path-login #navbar-main,
 .page-user-login #navbar-main{
     background: white !important;
     padding: 40px;
     margin: 0 0 70px;
 }
 
 .path-login div#block-driver-qualification-content,
 .page-user-login div#block-driver-qualification-content {
     /* padding-left: 40px; */
     /* padding-right: 40px; */
     /* margin: 0 auto; */
     /* max-width: 695px; */
     /* background-color: #FFFFFF; */
     /* border-radius: 5px; */
     /* height: 100%; */
     /* margin: 0 10%; */
     /* padding: 6%; */
     /* box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24); */
 }
 
 .login_header
 {
     text-align: center;
         margin: 0;
         color: #cc0033;
         font-size: 32.5px;
         font-family: "Helvetica Neue", Helvetica, sans-serif;
 }
 
 .login_header_para
 {
     text-align: center;
     margin: 3.5em auto;
     font-size: 15.5px;
     line-height: 1.66em;
     display: block;
     word-wrap: break-word;
     font-family: "Helvetica Neue", Helvetica, sans-serif;
 }
 
 div#block-driver-qualification-page-title {
     display: none;
 }
 
 .mo-auth-miniorange-authenticate label,
 .user-login-form label {
     margin: 0 0 10px;
 }
 
 .user-login-form br {
     display: none;
 }
 
 .mo-auth-miniorange-authenticate input.form-control,
 .user-login-form input.form-control{
         /* border-radius: 5px;
         padding: 0 25px;
         box-shadow: none;
         background: #fcfcfc;
         appearance: none;
         height: 56px;
         box-sizing: border-box;
         transition: border-color 0.4s;
         line-height: 56px;
         width: 100%;*/
         height: 45px;
 } 
 
 .site-footer , body {
     background: #ffffff !important;
   }
   
   body.page-user-login,body.path-login
   {

     background-color: #F6F7FB !important; 
   }
 
   .mo-auth-miniorange-authenticate button, button#edit-minorange-login-tfa, button#edit-submit {
    width: 100%;
    margin-top: -11px;    
    font-size: 20px;
    font-weight: 500;
    background: #CA0032 !important;
    border: solid 1px #CA0032 !important;
    color: white;
 }

 .mo-auth-miniorange-authenticate button:hover {
    color: white;
 }

 .user-login-form .js-form-item.js-form-type-textfield.form-type-textfield.js-form-item-mobile.form-item-mobile {
    margin-bottom: 0px !important;
}
.user-login-form .js-form-item.js-form-type-email.form-type-email.js-form-item-name.form-item-name {
    margin-bottom: 0px !important;
}
 
 .captcha {
     max-width: 77%!important;
     z-index: auto;
 }

 .nav-link {
    color: #5e7185;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background: white;
    color: #cc0033;
    border-bottom: 2px solid #cc0033;
    border-radius: 0;
}

ul#pills-tab {
    margin-left: 24%;
}

.tab-pane .js-form-type-email {
    display: none;
}
.tab-pane.show .js-form-type-email {
    display: block !important;
}

.tab-pane .js-form-item-mobile {
    display: none;
}
.tab-pane.show .js-form-item-mobile {
    display: block !important;
}
.bg-image {
    background-image: url(/themes/custom/driver_qualification/images/login_img.png);
    background-size: cover;
    background-position: center center;
    /* height: 217vh; */
}
.modal-header {
    padding: 8px 15px !important;
    background: white;
    color: #CA0032;
    border-bottom: solid 1px #eeeeee;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}
.login-form {
    background-color: #FFFFFF;
    border-radius: 5px;
    height: 100%;
    margin: 0 10%;
    padding: 6%;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.24);
}
.logo-holder {
    text-align: center;
    padding: 3%;
}
.footer-holder {
    position: fixed;
    bottom: 30px;
    width: 49%;   

}
.loginTxt {
    font-size: 24px;
    font-weight: 600;
    color: #414042;
    padding-bottom: 32px;
    line-height: 24px;
}
.resend-otp{
    text-align:center;
}
.resend-otp a{
    text-decoration: none;
}
.icon {
    width: min(40vw, 200px);
}
.or {
    text-align: center;
    padding: 25px 0 23px 0;
    /* font-size: 14px; */
    margin-bottom: -5px !important;
}
.iti--allow-dropdown{
    width: 100%;
    display: inline-block !important;
}
 .copyright {
    position: absolute;
    left: 0;
    font-size: 12px;
    margin-left: 10%;
} 
.website {
    font-size: 12px;
    display: inline-block;
    position: absolute;
    right: 0;
    margin-right: 12%;
}
[data-drupal-selector="edit-ssn-sin"]{
    /* right:5px; */
    margin-right: 5px;
    /* border-radius: 4px 20px 4px 4px; */
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}
.cancel_btn{
    /* position: relative; */
    /* right: -89%; */
    /* float: right; */
}
.save_btn{
    /* position: relative; */
    /* right: -89%; */
    /* float: right; */
    margin-left: 10px;
}
.pageHolder{
    height: 100vh;
}
.toast{
    border-left: 10px solid #1EA97C;
    box-shadow: none !important;
    border: 0px 0px 0px 1px;
    background-color: #E4F8F0;
    border-top: 0px;
    /* border-left: 10px; */
    border-bottom: 0px;
    border-right: 0px;
    /*display:block !important;*/
    width:100%;
}
.toast-body{
    display:flex;
    color: #1EA97C;
    font-size: 15px;
}
.success-message{
    width: 91% !important;
    padding-left: 10px;
}
.success-one{
    font-weight: 700;
    font-size: 18px;
}
.tick img{
    width:25px;
}
.close img{
    width: 14px;
}
.success-message span{
    font-size: 17px;
    font-weight: 700;
}
/*.website{
    text-align: center;
    width: 100%;
    padding-bottom: 10px;
    font-size: 12px;
}
.copyright{
    text-align: center;
    color: #212529;
    padding-bottom: 10px;
    font-size: 12px;
    margin-top: 20px !important;
}*/
.form-item-mo-auth-passcode-textfield{
    margin: 50.5px 0 84.5px 0 !important;
}

#expand-Btn i.fa-solid.fa-plus {
    right: 5px !important;
        position: relative;
        color: #ca0032;
}
#collapse-Btn i.fa-solid.fa-minus {
    right: 5px !important;
position: relative;
color: #ca0032;
}
/* .path-login .highlighted .better-messages-overlay {
    display: none !important;
} */

@media only screen and (max-width: 540px) {
    #leftImg {
        display: none;
    }

    .login-form {
        margin: 0 2%;
        padding: 6%;
    }

    .footer-holder {
        text-align: center;
        margin-top: 8%;
        position: fixed;
        width: 94% !important;
        bottom: 15px;
    }

    .copyright,
    .website {
        position: unset;
        margin: 0;
    }
}


@media only screen and (min-width: 541px) and (max-width: 992px) {
    #leftImg {
        display: none;
    }

    .login-form {
        margin: 0 2%;
        padding: 5%;
    }

    .footer-holder {
        text-align: center;
        margin-top: 10%;
        width: 97% !important;
        position: fixed;
        bottom: 20px;
    }
 
    .copyright,
    .website {
        position: unset;
        margin: 0;
    }
}

@media only screen and (min-width: 993px) and (max-width: 1439px) {
    .footer-holder {
        text-align: center;
        margin-top: 20px;
        position: unset;
        width: 100%;
   }
    .copyright, .website {
        position: unset;
        margin: 10px 0;
        text-align:center;
   }
    /*.bg-image {
        height: auto;
   }*/
   .logo-holder {
    padding: 20px;
}
.login-form {
    padding: 40px 45px 0px 45px;
}
.or {
    padding: 18px 0 10px 0;
}
.loginTxt {
    padding-bottom: 18px;
}
#edit-minorange-login-tfa, button#edit-submit{
    margin-top: -22% !important;
    /*margin-bottom: 0;*/
}
.copyright, .website {
    margin: 10px 0 5px 0;
}


   
}

.login-form .js-form-item-country {
 display:none;
}
@media only screen and (max-width: 768px){
    .footer-holder{
        text-align: center;
        margin-top: 10%;
        width: 97% !important;
        position: fixed;
        bottom: 20px;
    }
}

#better-messages-default.better-messages-overlay .better-messages-close, .better-messages-footer {
    background: #ca0032 !important;
    background: #F7F8FA !important;
}

.fas.fa-pen, .far.fa-trash-alt {
    color: #1C77D6;
  }


  .loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: visible;
    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-color: rgba(0,0,0,0.3);
    }

    /* :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(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 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);
    }
}

.pen-icon, .save-icon, .first-trash, .trash-icon {
    cursor: pointer;
}