@font-face {
    font-family: 'Inter';
    src: url('./login-font/Inter-Regular.woff2') format('woff2'),
        url('./login-font/Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./login-font/Inter-SemiBold.woff2') format('woff2'),
        url('./login-font/Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./login-font/Inter-Bold.woff2') format('woff2'),
        url('./login-font/Inter-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body, html {
    font-family: 'Inter';
    position: relative;
    width: 100%;
}

a {
    text-decoration: none;
    color: black;
}

.credentials a {
    background: #334D88;
    color: white;
    font-size: 14px;
    font-weight: bold;
    padding: 18px 25px;
    border-radius: 35px;
}


.login-main-background, .demo-main-background {
    height: 100%;
    width: 100%;
    position: absolute;
    background-size: cover;
    bottom: 0;
    z-index: -1;
}

.login-first-div {
    padding-top: 298px;
}

.sign-up-first-div {
    padding-top: 127px;
}

.submitted-first-div {
    padding-top: 166px;
}

.demo-first-div {
    padding-top: 120px;
}

.login-first-div h2, .sign-up-first-div h2, .submitted-first-div h2, .demo-first-div h2 {
    font-size: 32px;
    font-weight: bold;
}

.demo-first-div h6 {
    font-size: 14px;
}

.sign-up-first-div p {
    width: 385px;
}

.sign-up-first-div p.d-text {
    width: 770px;
}

.submitted-first-div h6 {
    font-size: 14px;
    font-weight: bold;
}

.login-first-div a, .help-email {
    font-size: 14px;
    font-weight: bold;
    color: #FD7A25;
}

.demo-basic-input {
    width: 280px;
}

.basic-input {
    width: 380px;
}

.basic-input, .demo-basic-input {
    height: 52px;
    border-radius: 30px;
    border: 1px solid #EBEBEB;
    padding-left: 20px;
    padding-right: 10px;
}

.basic-input:focus, .demo-basic-input:focus  {
    border: 1px solid #A1A1A1;
}

.basic-input::placeholder {
    color: black;
    font-size: 14px;
}

.submit-btn {
    background: #334D88;
    border-radius: 30px;
    color: white;
    height: 52px;
    width: 380px;
    font-size: 18px;
    font-weight: bold;
}

.submit-btn:hover {
    background-color: #2b4174;
    border-color: #293e6d;
}

.submit-btn:disabled {
    background-color: #999ca5;
    border-color: #999ca5;
}

.logo {
    height: 40px;
}

.side-div {
    position: absolute;
    height: 100%;
    width: 550px;
    right: 0;
    background-image: url("../assets/images/bottom.png"), url("../assets/images/right-top.png"), linear-gradient(to bottom right, #334D88, #1E2D4E);
    background-repeat: no-repeat, no-repeat;
    background-position: 0 bottom, right top;
}

.demo-side-div {
    position: absolute;
    height: 100%;
    width: 869px;
    right: 0;
    background-image: url("../assets/images/demo-side.png"), linear-gradient(to bottom right, #334D88, #1E2D4E);
    background-repeat: no-repeat, no-repeat;
    background-position: right top;
}
.demo-side-div p {
    font-size: 16px;
    font-weight: bold;
    color: white;
}
.demo-side-div h5 {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.trusted {
    position: absolute;
    bottom: 0;
}
.demo-first-part {
    padding-top: 320px;
}

.side-div h1 {
    color: white;
    padding-top: 530px;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
}

.register {
    width: 380px;
    text-align: center;
}

.forget-pass {
    width: 380px;
    text-align: end;
}

.contact-info {
    line-height: 0.7;
}

.gps {
    padding-left: 10px;
}

.portal {
    padding-left: 20px;
}

.existing-field {
    color: #ff8d3b; 
    float: right; 
    font-size: 10px;
 }

footer p {
    color: #A1A1A1;
    font-size: 14px;
    padding-bottom: 20px;
    padding-top: 20px;
}

footer {
    position: fixed;
    bottom: 0;
}

.footer-br {
    display: none;
}

input[type=checkbox] {
    height: 24px;
    width: 24px;
}

.hidden {
    display: none!important;
}

button.secondary {
    background: orange;
    border-color: orange;
    height: 50px;
    width: 150px;
}

#address-map {
    height: 300px;
    width: 100%;
}

.img-flag {
    height: 15px;
    padding-right: 5px;
}

.regular-input {
    width: 380px;
    height: 50px;
    margin-bottom: 1em;
}

.select2-selection {
    height: 50px!important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 10px;
    right: 10px;
}

.form-select {
    border-color: #bababa;
}

.adaptive-input {
    box-sizing: border-box;
    height: calc(3em + 2px);
    margin: 0 0 1em;
    padding: 6px;
    border: 1px solid #bababa;
    border-radius: 3px;
    background: #fff;
    font-size: 16px;
    resize: none;
    outline: none;
  }
.small-adaptive {
    width: 280px;
}
.adaptive-input:focus {
border-color: #00bafa;
}
.adaptive-input:focus + label[placeholder]:before {
color: #0091da;
}
.adaptive-input:focus + label[placeholder]:before,
.adaptive-input:valid + label[placeholder]:before {
transition-duration: .2s;
transform: translate(0, -1.6em) scale(0.9, 0.9);	
    font-weight: bold;
}
.adaptive-input:invalid + label[placeholder][alt]:before {
content: attr(alt);
}
.adaptive-input + label[placeholder] {
    display: block;	
    pointer-events: none;
    line-height: 1.25em;
    margin-top: calc(-3em - 2px);
    margin-bottom: calc((3em - 1em) + 2px);
}
.adaptive-input + label[placeholder]:before {
content: attr(placeholder);
display: inline-block;
margin: 0 calc(0.5em + 2px);
padding: 0 2px;
color: #7d7d7d;
white-space: nowrap;
transition: 0.3s ease-in-out;
background-image: linear-gradient(to bottom, #ffffff, #ffffff);
background-size: 100% 5px;
background-repeat: no-repeat;
background-position: center;
}

.invalid {
    border-color: red;
    color: red;
}

.invalid + label[placeholder]:before {
    color: red;
}

.invalid-input {
    font-size: 15px;
    color: red;
    display: none;
    margin-top: -15px;
    margin-bottom: 10px;
}

@media only screen and (max-width: 1750px) {
    .demo-side-div {
        width: 700px;
    }
    .app {
        padding-left: 15px;
    }

    .portal {
        padding-left: 35px;
    }

}

@media only screen and (max-width: 1550px) {
    .demo-side-div {
        width: 575px;
    }

    .app {
        padding-left: 25px;
    }

    .portal {
        padding-left: 45px;
    }
}

@media only screen and (max-width: 1399px) {
    .demo-basic-input {
        width: 332px;
    }

    .demo-submit {
        width: 332px;
    }

    .demo-footer {
        position: relative;
        bottom: 0;
    }
}
@media only screen and (max-width: 1135px) {
    .demo-side-div {
        display: none;
    }
    .demo-main-background {
        background: white!important;
    }
}

@media only screen and (max-width: 1076px) {
    .side-div {
        display: none;
        width: 500px;
    }

    .login-main-background {
        background: white;
    }
}

@media only screen and (max-height: 1081px) {
    .side-div {
        background-size: 400px, 100px, 100%;
    }

    .side-div h1 {
        padding-top: 400px;
    }

    .login-first-div {
        padding-top: 200px;
    }
}

@media only screen and (max-height: 887px) {
    .side-div {
        background-size: 300px, 70px, 100%;
    }

    .side-div h1 {
        padding-top: 300px;
    }

    .login-first-div {
        padding-top: 10px;
    }

}



@media only screen and (max-height: 1073px){
    div.footer {
        position: relative;
        bottom: 0;
        padding-bottom: 5px;
    }

    div.footer p {
        padding-top: 10px;
        padding-bottom: 0;
        margin-bottom: 0;

    }
}


@media only screen and (max-width: 575px) {
    .login-first-div, .sign-up-first-div, .submitted-first-div, .demo-first-div   {
        padding-top: 40px;
        padding-left: 40px;
    }

    .h6-sri-lanka {
        margin-top: -8px;
    }

    .sign-up-first-div p {
        width: 350px;
        font-size: 13.8px;
    }
    .submitted-first-div {
        width: 365px;
    }

    .submitted-first-div p {
        font-size: 13.8px;
    }
    .basic-input, .submit-btn, .forget-pass, .register {
        width: 330px;
    }

    .credentials a {
        padding: 16px 28px;
    }

    .login-as {
        padding-bottom: 46px;
    }

    .contact-info {
        line-height: 0.3;
        padding-bottom: 25px;
    }
    div.footer {
        padding-left: 40px;
    }

    .footer-br {
        display: block;
    }

    .demo-first-div h6 {
        font-size: 12px;
    }

}

@media only screen and (max-width: 420px) {
    .regular-input, .submit-btn {
        width: 280px;
      }
    div.footer {
        bottom: -100px;
    }
}

@media only screen and (max-width: 380px) {
    .login-first-div, .sign-up-first-div, .submitted-first-div, .demo-first-div   {
        padding-left: 20px;
        margin-bottom: -85px;
        z-index: 999;
    }

    div.footer {
        padding-left: 20px;
    }

}

@media (min-width: 1580px) {
    .d-xxxl-flex {
        display: flex!important;
    }
}

@media (max-width: 1579px) {
    p.d-text {
        max-width: 385px!important;
    }
}

@media (max-width: 421px) {
    p.d-text {
        max-width: 280px!important;
    }
}