﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #fff;
    color: #232222;
}

.wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
}

header {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    left: 0;
    top: 0;
    background: #1D5273;
    padding: 0 2rem;
}

.logo-wrap img {
    height: 50px;
}

main {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 140px 0 120px 0;
}

.card {
    max-width: 420px;
    padding: 40px;
    background: #FFFFFF;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.12);
    width: 100%;
}

.title {
    font-family: 'Sanchez', serif;
    font-size: 42px;
    font-weight: normal;
    line-height: 60px;
    text-align: center;
    color: #1D5273;
    margin-bottom: 1.5rem;
}

.error-message {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #D93636;
    width: calc(100% + 80px);
    transform: translateX(-40px);
}

.message {
    margin-left: 8px;
}

.error-message {
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    color: #FFFFFF;
}

.form-group, .reset-password, .social-media {
    margin: 1rem 0;
}

label {
    display: inline-block;
    font-weight: 600;
    font-size: 12px;
    line-height: 20px;
    color: #232222;
}

.form-control {
    display: block;
    width: 100%;
    border: 1px solid #7C7979;
    padding: 10px 8px;
}

.password {
    position: relative;
}

.show-password {
    position: absolute;
    top: 50%;
    right: 8px;
    height: 20px;
    transform: translateY(-50%);
    cursor: pointer;
}

.cross-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.line {
    height: 1px;
    width: 129px;
    background: #A8A6A6;
}

.change {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #A8A6A6;
}

.reset-password {
    display: block;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    color: #2C7CAD;
}

.login {
    margin-bottom: 1.5rem;
    padding: 10px 16px;
    width: 100%;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    letter-spacing: 0.1em;
    color: #FFFFFF;
    background: #1D5273;
    border: none;
    cursor: pointer;
}

.login:hover {
    background: #8AC0E2;
}

.login:focus {
    background: #2C7CAD;
}

.social-media {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #1D5273;
    text-decoration: none;
    color: #1D5273;
}

.social-media:hover {
    border-color: #8AC0E2;
    color: #8AC0E2;
}

.social-media img {
    max-height: 16px;
}

.social-media span {
    margin-left: 0.75rem;
    font-weight: 600;
    font-size: 12px;
    line-height: 22px;
    letter-spacing: 0.1em;
}

footer {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 80px;
    left: 0;
    bottom: 0;
    background: #1D5273;
    padding: 0 2rem;
    flex-wrap: wrap;
}

footer > div {
    width: 33%;
    display: flex;
    justify-content: center;
}

footer > div:first-of-type {
    justify-content: left;
}

footer > div:last-of-type {
    justify-content: right;
}

footer .copyright-text {
    font-weight: normal;
    font-size: 12px;
    color: #FFFFFF;
}

.validation-summary-errors ul {
    list-style: none;
}

.dropdown {
    position: relative;
}

.dropdown .dropdown-toggle {
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    background-repeat: no-repeat;
    border: none;
    overflow: hidden;
}

.dropdown .dropdown-toggle .dropdown-toggle-text {
    padding: 0 .5rem;
    color: #fff;
}

.dropdown .dropdown-toggle .dropdown-toggle-arrow {
    transform: rotate(0deg);
    transition: transform 0.25s ease-in;
}

.dropdown .dropdown-toggle .dropdown-toggle-arrow.open {
    transform: rotate(180deg);
    transition: transform 0.2s ease-out;
}

.dropdown .dropdown-toggle:hover, .dropdown-toggle:focus .dropdown-toggle-text {
    text-decoration: underline;
    text-decoration-color: white;
}

.dropdown .dropdown-content {
    position: absolute;
    width: 100%;
    right: 0;
    margin-top: 17px;
    background: #fff;
    text-align: center;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.12);
    display: none;
    outline: 1px solid #232222;
    max-width: 120px;
}

.dropdown .dropdown-content.show {
    display: block;
}

.dropdown .dropdown-content .dropdown-option {
    text-decoration: none;
    background: none;
    border: none;
    color: #1D5273;
    width: 100%;
    height: 100%;
    display: block;
    font-size: 12px;
    padding: 0.5rem;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
}

.dropdown .dropdown-content .dropdown-option:hover {
    background: #2C7CAD;
    color: #fff;
}

.user-information-desktop {
    margin-right: 1rem;
}

.desktop-menu {
    display: flex;
    align-items: center;
}

.mobile-menu {
    display: none;
    align-items: center;
}


.mobile-menu-button {
    position: absolute;
    right: 2rem;
    height: 27px;
    width: 35px;
    transition: opacity 0.25s ease;
    cursor: pointer;
    z-index: 2;
}

.mobile-menu-button.active span {
    background: #232222;
}

.mobile-menu-button.active main {
    display: none;
}

.mobile-menu-button.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
}

.mobile-menu-button.active .middle {
    opacity: 0;
}

.mobile-menu-button.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
}

.mobile-menu-button span {
    background: #fff;
    border: none;
    height: 1px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.35s ease;
}

.mobile-menu-button span:nth-of-type(2) {
    top: 11px;
}

.mobile-menu-button span:nth-of-type(3) {
    top: 22px;
}

.mobile-menu-content {
    position: fixed;
    background: #fff;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s, height 0.35s;
    overflow: hidden;
    z-index: 1;
    padding-top: 80px;
}

.mobile-menu-content.open {
    visibility: visible;
    height: 100%;
}

.mobile-menu-content nav {
    height: 100%;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }
    100% {
        opacity: 1;
        left: 0;
    }
}

.user-information-mobile {
    display: flex;
    padding-left: 2rem;
    flex-direction: column;
    margin-bottom: 40%;
}

.user-information-mobile .user {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.user-information-mobile .user .name {
    font-weight: 600;
}

.user-information-mobile .user-logout {
    padding-left: 3rem;
    background: #fff;
    padding-top: 1rem;
}

.user-information-mobile .user-logout a {
    text-decoration: none;
    color: #232222;
    padding: 8px 0;;
}

.user-information-mobile .user-logout a:hover {
    text-decoration: underline;
}

.language-selector-mobile {
    background: #FBFBFB;
    padding-left: 2rem;
    flex-flow: column;
    height: 100%;
}

.language-selector-mobile .selected-language {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.language-selector-mobile .selected-language span {
    font-weight: 600;
    color: #232222;
}

.language-selector-mobile .language-options {
    padding-top: 1rem;
    padding-left: 3rem;
}

.language-selector-mobile ul {
    list-style: none;
}

.language-selector-mobile ul li button {
    padding: 8px 0;
    background: none;
    border: none;
    font-size: 16px;
    color: #232222;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
}

.language-selector-mobile ul li button:hover {
    text-decoration: underline;
}

.language-selector-mobile ul li button.selected {
    font-weight: 500;
}

@media (max-width: 768px) {
    .desktop-menu, .user-information-desktop, .language-selector-desktop {
        display: none;
    }

    .mobile-menu, .user-information-mobile, .language-selector-mobile {
        display: flex;
    }

    .card {
        padding: 20px;
    }
}

@media (min-width: 769px) {
    .mobile-menu-content.open {
        display: none;
    }

    .user-information-mobile, .language-selector-mobile {
        display: none;
    }
}

@media (max-width: 1200px) {
    footer {
        height: auto;
    }

    footer > div {
        width: 100%;
        margin-bottom: 1rem;
    }

    footer > div:first-of-type {
        justify-content: center;
        margin: 1rem 0;
    }

    footer > div:last-of-type {
        justify-content: center;
        margin: 1rem 0;
    }
}

.btn-primary {
    text-decoration: none;
    background: #1D5273;
    color: #fff;
    display: inline-block;
    font-size: 14px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    border: none;
    margin: 1rem;
    text-align: center;
}

.btn-primary:hover {
    background: #8AC0E2;
}

.btn-primary:focus {
    background: #2C7CAD;
}

.home-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-secondary {
    text-decoration: none;
    background: #fff;
    color: #1D5273;
    display: inline-block;
    font-size: 14px;
    padding: 10px 16px;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    outline: 2px solid #1D5273;
    margin: 1rem;
    text-align: center;
}

.btn-secondary:hover {
    outline-color: #8AC0E2;
    color: #8AC0E2;
}

.btn-secondary:focus {
    outline: none;
    background: #2C7CAD;
    color: #fff;
}

.logout-page {
    text-align: center;

}

.show-password {
    background-image: url(../img/invisible_password.svg);
    height: 20px;
    width: 20px;
}

.show-password.open {
    background-image: url(../img/visible_password.svg);
}