a.logo-home {
    color: transparent;
    text-decoration: none;
}

.entry-page-scroll {
    height: 100vh;
    overflow-y: auto;
    background-color: var(--svetla-siva);
}

.body-login {
    box-sizing: border-box;
    padding: 30px;
    min-height: calc(100% - 94px);
    width: 100%;
}
.title-opkp {
    opacity: 0.75;
    white-space: nowrap;
    font: normal normal bold 50px/12px Montserrat-ExtraBold;
    color: var(--temna-zelena);
}

.subtitle-opkp {
    font: italic normal bold 21px/12px Montserrat-Bold;
    color: var(--temna-siva);
    border-top: 1px solid var(--temna-zelena);
    padding-top: 20px;
    margin-bottom: 35px;
}
.sub-subtitle {
    font: var(--montSeratRegularNormal);
    color: var(--temna-siva);
    margin-bottom: 65px;
}
.input-name-password {
    border-radius: 38px;
    border: none;
    margin-bottom: 10px;
    height: 43px;
    width: 330px;
    letter-spacing: 1.4px;
    padding-left: 16.3px;
    background-color: var(--siva) !important;
    font: var(--semiBold);
}

:has(.toggle-show-pwd-container) .input-name-password {
    border-radius: 38px 0 0 38px;
}

.login-container{
    background-color: var(--bela);
    opacity:1;
    padding: 60px 80px 60px 80px;
    border-radius: 35px;
}

.login-container-form-box {
    /*opacity: 0.75 !important;*/
    /*padding: 60px 80px 60px 80px;*/
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 500px;
    height: 600px;
}

.form-box-content {
    height: 100%;
    width: 100%;
}

.form-box-content > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

.form-box-title {
    justify-content: flex-start;
    height: 20%;
}

.form-box-middle {
    /*justify-content: center;*/
    justify-content: flex-end;
    height: 60%;
}

.form-box-middle.register {
    /*justify-content: space-between;*/
    /*justify-content: flex-end;*/
}

.form-box-bottom {
    height: 20%;
    justify-content: flex-end;
}

.login-container.logost{
    background-color: transparent;
    padding:0 0 0 0;
    margin-right:3vw;
    width: 452px;
    height: 620px;
}

.explain-text{
    font: var(--bold);
    color: var(--temna-zelena);
}

.login-popup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.login-popup-div {
    margin-bottom: 94px; /* lift popup for the height of the footer */
    background-color: var(--bela);
    opacity: 1;
    /*padding: 60px 80px 60px 80px;*/
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 40px;
    padding-right: 40px;
    border-radius: 35px;
    width: 50%;
    /*height: 30%;*/
    height: fit-content;
    position: absolute;
    /* Center the div in center of screen. */
    /*top: 50%;*/
    /*left: 50%;*/
    /*transform: translate(-50%, -50%);*/
    z-index: 9999;
}

.login-popup-contents {
    position: relative;
    max-height: 70vh;
    overflow-y: scroll;
}

.login-popup-title {
    font: var(--bold);
    font-size: 24px;
    color: var(--temna-zelena);
    margin-bottom: 60px;
    /* Center text. */
    text-align: center;
}

.login-popup-list-item:not(:last-child) {
    margin-bottom: 10px;
}

.login-popup-list-title {
    font: var(--semiBold);
    font-size: 18px;
    color: var(--temna-zelena);
}

.login-popup-gdpr-title {
    font: var(--semiBold);
    font-size: 24px;
    color: var(--temna-zelena);
    margin-bottom: 20px;
    line-height: 1.2;
}

.login-popup-top-margin {
    margin-top: 40px;
}

.login-popup-text {
    font: var(--semiBold);
    font-size: 18px;
    color: var(--crna);
    /*text-align: center;*/
    /* Ensure proper spacing between lines and words for better legibility. */
    line-height: 1.2;
    letter-spacing: 1.4px;
    margin-bottom: 30px;
}

/* When clicking 'Izvedi več', the background elements must disappear. This is done by making them opaque, as making */
/* them hidden would move the footer to the top. Additionally, pointer events are disabled to prevent clicking on the */
/* "hidden" form. */
.login-popup-disable-elements {
    opacity: 0 !important;
    pointer-events: none;
}

/* This class is added when a footer element is hovered over or pressed. */
.underlined-text {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.black-link {
    color: var(--crna);
}

/* This class is needed so the 'Pošlji mail' text in the link div is not underlined. */
.invisible-link {
    color: transparent;
    text-decoration: none;
}

/* Div classes to draw an X symbol on the popup. */
.login-popup-cancel {
    content: "";
    /*position: relative;*/
    position: absolute;
    top: 13px;
    right: 13px;
    width: 26px;
    height: 26px;
    cursor: pointer;
}

.login-popup-cancel:before, .login-popup-cancel:after {
    content: "";
    position: absolute;
    width: 22px;
    height: 9.6%;
    background-color: var(--temna-zelena);
    border-radius: 2px;
    top: 50%;
    box-shadow: 0 0 2px 0 #ccc;
}

.login-popup-cancel:before {
    -webkit-transform:rotate(45deg);
    -moz-transform:rotate(45deg);
    transform:rotate(45deg);
    left: 2px;
}

.login-popup-cancel:after {
    -webkit-transform:rotate(-45deg);
    -moz-transform:rotate(-45deg);
    transform:rotate(-45deg);
    right: 2px;
}

.login-registration-text {
    font: var(--semiBold);
    font-size: 18px;
    color: var(--crna);
    text-align: center;
    /* Ensure proper spacing between lines and words for better legibility. */
    line-height: 1.2;
    letter-spacing: 1.4px;
    margin-bottom: 110px;
}

.login-registration-text.forgot-password {
    margin-bottom: 50px;
}

#reg-div {
    overflow-wrap: break-word;
}

.labels{
    margin-left: 16.3px;
    font: var(--semiBold);
    color: var(--temna-zelena);
}

.labels.email {
    align-self: flex-start;
}

.label-margin{
    margin-top:5px;
}
.input-bottom-margin{
    margin-bottom:5px;
}

.partners-logo-container {
    padding-right: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    height: 100%;
}

.partners-logo-container:first-child {
    padding-left: 2%;
    width: 21%

}

.partners-logo-container:nth-child(2) {
    width: 22%;
}

.partners-logo-container:nth-child(3) {
    width: 33%;
}

.partners-logo-container:last-child {
    width: 29%;
    padding-right: 5.5%;
}

.partners-logo{
    width: 100%;
}

.footer{
    height:94px;
    padding-left:1vw;
    padding-right:3vw;
    background-color: var(--bela) !important;
}
.footer-button{
    font: var(--semiBold);
    color: var(--temna-zelena);
    font-size:20px;
    cursor: pointer;
    padding: 0 10px 0 10px;
    display: block;
    text-align: center;
}

.footer-button:hover {
    text-decoration: underline;
}

.footer-buttons{
    width:40%;
}
.partner-container{
    width:60%;
}


.icon-name {
    height: 11px;
    width: 11px;
    transform: rotate(-45deg);
    top: 11px;
    left: 8px;
    color: var(--crna);
    opacity: 0.5;
}
.icon-password {
    height: 11px;
    width: 11px;
    transform: rotate(-135deg);
    top: 11px;
    left: 8px;
    color: var(--crna);
    opacity: 0.5;
}
.margin-bottom-standard{
    margin-bottom: 50px;
}
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--green-login);
    border: none;
    padding: 15px 0 15px 0;
    width: 190px;
    height: fit-content;
    /*height: 50px;*/
    border-radius: 27px;
    font: normal normal bold 24px/15px Montserrat-SemiBold;
    color: var(--bela);
    cursor: pointer;
}

a.button {
    text-decoration: none;
}

.a-forgot-password-container {
    margin: 0 0 15px 5px;
}

.bottom-margin{
    margin-bottom:30px;
}

.ni-racuna{
    font:var(--montSeratRegular);
    color: var(--temna-zelena);
    font-size:20px;
}
a.forgot-password {
    color: var(--temna-zelena);
    font: var(--titleBold);
    font-size:20px;
    text-decoration: None;
    cursor: pointer;
}

input:-webkit-autofill::first-line,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    -webkit-text-fill-color: var(--temna-zelena) !important;
}
.left-container input {
    color: var(--temna-zelena) !important;
}

.atlas-logo {
    max-width: 100%;
    width: 374px;
    margin-top: 10px;
    /*height: 470px;*/
}

@media screen and (max-width: 1600px) {
    .body-login {
        min-height: calc(100% - 75px);
    }

    .footer {
        height: 75px;
    }

    .subtitle-opkp {
        font: italic normal bold 18px/12px Montserrat-Bold;
        color: var(--temna-siva);
        border-top: 1px solid var(--temna-zelena);
        padding-top: 15px;
        margin-bottom: 20px;
    }

    .atlas-logo {
        width: 280px;
    }

    /* must have same height as .input-name-password + its padding*/
    .toggle-show-pwd-container {
        height: calc(2.5vw + 2px) !important;
    }

    .login-container.logost {
        height: 520px;
    }

    .login-container-form-box {
        width: 420px;
        height: 520px;
    }

    .title-opkp {
        font: normal normal bold 40px/12px Montserrat-ExtraBold;
        margin-bottom: 40px;
    }

    .labels {
        font-size: 12px;
    }

    .input-name-password, .explain-text, .login-popup-title {
        font-size: 12px;
    }

    .input-name-password {
        width: 290px;
        height: 38px;
    }

    /* must have same height as .input-name-password + its padding */
    .toggle-show-pwd-container {
        height: 40px !important;
    }

    .margin-bottom-standard {
        margin-bottom: 40px;
    }

    .ni-racuna, a.forgot-password, .button, .footer-button {
        font-size: 17px;
    }

    .button {
        width: 150px;
        padding: 12px 0 12px 0;
    }

    .login-popup-title {
        font-size: 20px;
    }

    .login-popup-text, .login-popup-list-title, .login-registration-text {
        font-size: 14px;
    }

    .login-popup-list-title ~ a {
        font-size: 12px;
        text-decoration-thickness: 1px;
    }

    .bottom-margin {
        margin-bottom: 10px;
    }

    .error-text {
        margin-top: -45px;
    }
}

@media only screen and (max-width: 1100px) {
    .body-login {
        min-height: calc(100% - 150px);
    }

    .footer {
        height: 150px;
        flex-direction: column !important;
    }

    .footer > div {
        width: 100%;
        height: 50%;
    }

    .footer > div:last-child {
        width: 50%;
    }
}

@media only screen and (max-width: 908px) {
    .body-login {
        flex-direction: column;
    }

    .login-container.logost, .login-container.logost * {
        align-items: center;
    }

    .login-container.logost .explain-text {
        display: block;
        text-align: center;
    }

    .footer > div:last-child {
        width: 70%;
    }
}

@media only screen and (max-width: 500px) {
    .body-login {
        transform: scale(0.7);
    }

    .footer > div:last-child {
        width: 100%;
    }
}
