.isos-logo {
    width: 172px;
    margin: 8px 0;
}

.isosPortal {
    --color-primary: #ffffff;
    --color-secondary: #2f4696;
    --color-header-background: #232762;
    --color-header-text: #ffffff;
}

.isosPortal .banner-logo{
    max-height: 56px;
    max-width: 175px;
}
.isosPortal, .isosPortal a {
    color: #ffffff;
}
/*.isosPortal a:hover {
    text-decoration: underline;
}*/

.isosPortal a.isos-link{
    border-top: 1px solid white;
    width: 100%;
    display: inline-block;
    text-align: left;
    padding: 5px 28px 8px 0;
    font-size: 13px;
    position: relative;
}
.isosPortal a.isos-link:hover{
    text-transform: none;
}


.isosPortal a.isos-link:after {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 0;
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 1000 1000' enable-background='new 0 0 1000 1000' %3E%3Cpath fill='white' d='M405.1,249l250.9,251l-251,251l-40.8-40.8L574.5,500L364.3,289.8L405.1,249z M990,500c0,270.2-219.8,490-490,490C229.8,990,10,770.2,10,500C10,229.8,229.8,10,500,10C770.2,10,990,229.8,990,500z M932.4,500c0-238.4-193.9-432.4-432.4-432.4C261.6,67.6,67.6,261.6,67.6,500c0,238.4,193.9,432.4,432.4,432.4C738.4,932.4,932.4,738.4,932.4,500z'/%3E%3C/svg%3E");
}
.isosPortal a.isos-link:hover:after {
    opacity: 0.5;
    color: #0f9d58;
}

.tp-radio:checked + span:before {
    background-color: var(--color-primary);
}

.tp-radio:checked + span:after {
    background-color: var(--color-primary);
}


.tp-radio:checked + span:after, [type=radio].with-gap:checked + span:before, [type=radio].with-gap:checked + span:after {
    border: 2px solid var(--color-primary);
}

.isosPortal .main-form-wrapper {
    background-color: #232762;
    min-height: 70%;
}

.login-input {
    box-sizing: border-box !important;
}

.isosPortal .input-field label,
.isosPortal input[type="email"]:not(.browser-default).validate + label,
.isosPortal input[type="password"]:not(.browser-default).validate + label,
.isosPortal input[type="text"]:not(.browser-default).validate + label {
    color: #232762;
    padding: 0 6px;
}

.isosPortal .input-field label.active,
.isosPortal input[type="email"]:not(.browser-default).validate + label.active,
.isosPortal input[type="password"]:not(.browser-default).validate + label.active,
.isosPortal input[type="text"]:not(.browser-default).validate + label.active {
    color: white;
    transform: translateY(-18px) scale(0.8);
    transform-origin: 0 0;
}

.isosPortal .input-field input:-webkit-autofill,
.isosPortal .input-field input:-webkit-autofill:hover,
.isosPortal .input-field input:-webkit-autofill:focus,
.isosPortal .input-field input:-webkit-autofill:active  {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

.register-button {
    font-size: 12px;
}

.input-field input {
    text-indent: 10px;
}

.isosPortal .input-field input{
    border: 1px solid #232762;
    background-color: white;
    color: #232762;
    width: 100%;
}
.isosPortal .input-field input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6) !important;
}

.isosPortal .tp-text-isos {
    max-width: 260px;
    text-align: center;
}

.isosPortal li span {
    color: #2f4696;
}

.isosPortal .reset-form label span{
    color: #ffffff !important;
}

.isosPortal .caret {
    fill: #ffffff !important;
}

.isosPortal h4 {
    color: #ffffff;
}
.isosPortal .isos-hover:hover {
    background-color: #008255;
}

.isosPortal p {
    color: #ffffff;
}
.isosPortal .header {
    color: #ffffff;
    background-color: #232762;
}
.isosPortal .footer {
    color: #ffffff;
    background-color: #232762;
}

.error {
    text-align: center;
    padding: 10px;
    margin-bottom: 10px;
    color: white;
    background-color: red;
    font-size: 13px;
    width: 264px;
    max-width: 100%;
}

.background-wrapper {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.max-width-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;

}

.main-wrapper-isos {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    justify-content: space-between
}

@media (min-width: 960px) {
    .main-wrapper-isos {
        padding: 40px 80px
    }
}


.main-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    background-color: #f5f5f5;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

@media (max-width: 1000px) {
    .main-wrapper {
        flex-direction: column;
        min-height: 100vh;
    }
}



@media (min-width: 1000px) {
    .main-wrapper {
        margin: 40px 80px 80px;
    }
}

@media (min-width: 1600px) {
    .main-wrapper {
        margin: 40px 260px 80px;
        border-radius: 10px;
        overflow: hidden;
    }
}


@media (min-width: 1600px) and (max-height: 1200px) {
    .main-wrapper {
        min-height: calc(100vh - 120px);
    }
}

@media  (min-width: 1600px) and (min-height: 1200px) {
    .main-wrapper {
        min-height: calc(100vh - 350px);
        margin: 120px 260px 230px;
    }
}


.btn-primary {
    width: 100%;
}

.btn-secondary {
    width: 100%;
    text-align: center;
}

.isos-modal{
    width: 600px;
    height: 688px;
}
.isos-modal .modal-header{
    position: absolute;
    width: 100%;
}
.isos-modal .modal-close{
    position: absolute;
    right: 10px;
    top: 10px;
    border-radius: 50%;
    display:inline-block;
    padding:5px;
    border:2px solid #FFFFFF;
    box-sizing: border-box;
    text-align:center;
    transition: all 0.2s;
    background-color:#304797;
}
.isos-modal .modal-close:hover{
    background-color:#6988BF;
}

.isos-modal .modal-close:focus{
    border:2px solid red;
}

.front-page-wrapper p {
    color: #0f0f0f;
}

@media (min-width: 1000px) {
    .front-page-wrapper {
        display: flex;
        flex: 1;
        align-content: center;
        justify-content: center;
        overflow: auto;
    }
}

.front-page-wrapper-container {
    max-width: 600px;
}

.front-page-wrapper-container > * {
    word-break: break-word;
}


@media (max-width: 1600px){
    .front-page-wrapper{
        margin: 0 25px;
    }
}

.main-form {
    max-width: 500px;
    flex: 0 1 auto;
    justify-content: center;
}

@media (min-width: 1000px) {
    .main-form {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 1000px) {
    .main-form-outer {
        min-width: 100%;
    }
    .isos-modal{
        max-height: 100%;
        width: 100%;
        height: 100%;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

.tp-text-logo {
    font-size: 1.9rem;
    text-align: center;
}

.main-form-wrapper {

    padding: 12px;
    min-height: 80%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    min-width: 400px;
    height: 100%;
}

@media (min-width: 1000px) {
    .main-form-wrapper {
        max-width: 450px;
    }
}

.mobile-footer {
    display: none;
    white-space: pre;
}

@media (max-width: 1000px) {
    .main-form-wrapper {
        min-height: 100%;
    }
    .mobile-footer {
        display: flex;
        justify-content: center;
    }
}

.main-form-buttons-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reset-form,
.resend-form {
    display: none;
}
#changeLanguageLoginForm fieldset,
#loginForm fieldset,
.reset-form fieldset {
    border: none;
}

.banner-wrapper {
    flex: 0 1 auto;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tp-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.tp-small {
    display: flex;
    align-items: center;
    margin: 0 auto;

}

.tp-email {
    margin: 0 auto;
}

.small-tp-logo-image {
    width: 24px;
    height: 24px;
}

.header {
    display: none !important;
}

.footer {
    display: none !important;
}

.footerPush {
    display: none !important;
}

.container {
    min-width: 100% !important;
}

@media (max-width: 420px) {
    .row {
        margin-bottom: 0px !important;
    }
    .main-form-wrapper {
        padding: 6px 6px 0 6px;
        min-width: min-content;
    }
    .tp-info {
        padding: 0 6px;
    }
}


#lang-wrapper > .select-wrapper {
    max-width: 100% !important;
}

#loginForom > fieldset {
    padding-top: 0;
}



.input-field {
    margin: 8px 0 !important;
}

.input-field > input[type]:-webkit-autofill:not(.browser-default):not([type=search]) + label, .input-field > input[type=date]:not(.browser-default) + label, .input-field > input[type=time]:not(.browser-default) + label{
    transform: translateY(-18px) scale(0.8);
    transform-origin: 0 0;
}

.shadow-box {
    box-shadow: 2px 2px 20px #000;
    min-width: 100%;
}

.under-shadow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

@media (max-width: 640px) {
    .under-shadow {
        min-width: 100%;
    }
}
