@import url("legacy.css");

/*INDEX STYLES*/
.app-wrapper {
    padding: 0 32px;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.3125;
    max-width: 1660px;
    min-height: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/*mobile*/ @media (max-width: 767px) {
    .app-wrapper {
        padding: 0 8px;
    }
}

/*tablet*/ @media (min-width: 768px) and (max-width: 991px) {
    .app-wrapper {
        padding: 0;
    }
}

/*HEADER STYLES*/
.header-wrapper {
    height: 120px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header-elements {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 40px;
    margin-left: auto;
}

#member-login {
    height: 80%;
    display: inline-flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border-radius: 25px;
    border: 1px solid #002C33;
    text-decoration: none;
    background: #002C33;
    color: #FFF;
    text-align: center;
    font-weight: 700;
}

/*mobile*/ @media (max-width: 767px) {
    .header-elements {
        gap: 0;
    }
}

/*tablet*/ @media (min-width: 768px) and (max-width: 991px) {
    .header-wrapper {
        padding: 0 32px;
    }
    .header-elements {
        gap: 32px;
    }
}

/*VIEWER STYLES*/
.viewer-wrapper {
    display: flex;
    flex-grow: 1;
}

.viewer-window {
    width: 100%;
}

.viewer-wrapper-error {
    display: flex;
    flex-grow: 1;
    justify-content: center;
}

.viewer-wrapper img {
    max-width: 100%;
    height: auto;
}

.viewer-wrapper-error-content {
    width: 900px;
    margin: 100px 0;
    border: 1px solid #00000080;
    border-radius: .25rem;
}

.viewer-wrapper-error img {
    max-width: 100%;
    height: auto;
}

.viewer-wrapper-error h1 {
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.2rem;
    padding: 20px 60px;
    text-align: center;
    color: #202020;
}

.viewer-wrapper-error p {
    text-align: center;
    padding: 0 70px;
    margin-bottom: 70px;
    color: #202020;
}

/*FOOTER STYLES*/
.footer-wrapper {
    padding: 0 31px;
    height: 249px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.footer-disclaimer {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer-disclaimer > p {
    justify-content: center;
    color: #585858;
    text-align: left;
}

.footer-disclaimer-divider-line {
    --divider-line-color: #D2D2D2;
    --divider-line-height: 1px;
    --divider-line-width: 100%;
    --divider-line-margin: 0;
    --divider-line-display: block;
    --divider-line-padding-inline-end: 0;
    --divider-line-padding-inline-start: 0;

    display: var(--divider-line-display);
    width: var(--divider-line-width);
    height: var(--divider-line-height);
    margin: var(--divider-line-margin);
    background-color: var(--divider-line-color);
    padding-inline-start: var(--divider-line-padding-inline-start);
    padding-inline-end: var(--divider-line-padding-inline-end);
}

.footer-links {
    display: flex;
    flex-direction: row;
}

.footer-links > p {
    margin: 0 0 0 10px;
    color: #28837C;
}

.footer-links > a {
    color: #28837C;
    text-decoration: none;
    display: flex;
    white-space: nowrap;
    min-width: 110px;
}

.footer-logo {
    margin: 0 0 15px 0;
}

/*mobile*/ @media (max-width: 767px) {
    .footer-wrapper {
        padding: 0;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .footer-links {
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

.logo-image {
    max-width: 140px;
    max-height: 140px;
    margin-top: 10px;
}


.menu {
    list-style-type: none;
    display: flex;
    color: #28837C;
    font-weight: bold;
}

.menu-item {
    display: inline-block;
    position: relative;
    padding: 10px;
    cursor: pointer;
    border-right: 1px solid #ccc;
}

.menu-item:last-child {
    border-right: none;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style-type: none;
    margin: 0;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    white-space: nowrap;
    line-height: 28px;
    z-index: 1001;
}

.menu-item:hover .dropdown {
    display: block;
}

.dropdown:hover {
    background-color: #f1f1f1;
}

.menu-wrapper {
    display: flex;
    align-items: end;
    justify-content: end;
    height: 60px;

    @media (max-width: 480px) {
        margin-top: 60px;
    }

    @media (max-width: 340px) {
        margin-top: 100px;
    }
}

.left-dropdown-item {
    margin-left: -150px;
}

.error-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}
