html,
body {
    font-family: 'Raleway', sans-serif;
    height: 100%;
    color: #2e2e2e;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #a94442;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    margin-left: 0.5rem;
}

a.asc:after {
    content: "\f0de";
}

a.desc:after {
    content: "\f0dd";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #898a8b;
}

.error-summary {
    color: #a94442;
    background: #e6e9eb;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* navbar */
#navbar {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    background-color: #ffffff;
    box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075);
    transition-property: background-color, box-shadow;
    transition-duration: 200ms;
    transition-timing-function: linear;
    padding: 1rem;
}

#navbar.transparent {
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: none;
}

#navbar.transparent .dropdown-menu.custom {
    background-color: rgba(255, 255, 255, 0.8);
    border: 0;
}

#navbar a.nav-link {
    color: #6d6e6d;
}

#navbar a.nav-link:hover {
    color: #2e2e2e;
}

/* navbar (logo) */
#navbar .navbar-brand {
    margin-right: 0;
}

#navbar .navbar-brand img {
    width: 180px;
}

/* navbar (nav0) */
#nav0 .active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #107490;
}

#nav0 .nav-item + .nav-item {
    margin-left: .5rem;
}

#nav0 .nav-link {
    position: relative;
    font-weight: 600;
}

/* navbar (nav1) */
#nav1 .nav-link {
    cursor: pointer;
}

#nav1 .custom {
    text-transform: none;
    border-color: rgba(0, 0, 0, 0.5);
    border-radius: 0;
    box-shadow: 7px 7px 0px 0px rgba(0, 0, 0, 0.5);
    z-index: 10;
    color: #2e2e2e;
}

#nav1 .dropdown-item {
    color: #2e2e2e;
}

#nav1 .dropdown-item:hover {
    background-color: rgba(212, 214, 215, 0.8);
}

#nav1 .dropdown-item.active,
#nav1 .dropdown-item:active {
    color: #ffffff;
    background-color: #107490;
}

#nav1 .user-menu a span {
    display: none;
    text-transform: none;
    margin-left: 1rem;
}

#nav1 .user-menu .custom {
    max-width: 12rem;
    text-align: center;
}

#nav1 .user-menu .custom a {
    color: #2e2e2e;
    text-decoration: none;
    padding: .25rem 1rem;
    width: 100%;
}

#nav1 .user-menu .custom a:hover {
    background-color: rgba(212, 214, 215, 0.8);
}

#nav1 .user-menu .custom a:active {
    color: #ffffff;
    background-color: #107490;
}

#nav1 .user-menu .custom h6 {
    color: #107490;
}

#nav1 .user-menu .custom hr,
#nav1 .cart .custom hr
{
    position: relative;
    border: 0;
    margin-top: .25rem;
    margin-bottom: .25rem;
}

#nav1 .cart .custom hr.cart-item-hr
{
    border-top: 1px solid #d4d6d7;
    width: 90%;
}

#nav1 .user-menu .custom hr.vertical,
#nav1 .cart .custom hr.vertical
{
    width: 90%;
    height: 2px;
    background-color: #107490;
}

#nav1 .user-menu .custom > * {
    position: relative;
    flex-flow: column;
}

#nav1 .user-menu .custom > * > div {
    position: relative;
    width: 100%;
}

#nav1 .cart .nav-link {
    padding-right: 0;
}

#nav1 .cart i {
    position: relative;
}

#nav1 .cart .custom p {
    padding: .25rem 1rem;
    text-align: center;
}

#nav1 .cart .custom .dropdown-cart-item {
    display: flex;
    justify-content: space-between;
    min-width: 350px;
    font-size: 0.875rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-family: 'Raleway', sans-serif;
}

#nav1 .cart .custom hr.cart-item-hr:last-of-type {
    display: none;
}

#nav1 .cart .custom .dropdown-cart-item-text p {
    padding: 0;
    text-align: left;
}

#nav1 .cart .custom .dropdown-cart-item-text p i {
    color: #6d6e6d;
}

#nav1 .cart .custom a {
    margin-left: 1rem;
    text-align: center;
    padding: .25rem 1rem;
    color: #107490;
}

#nav1 .cart .badge {
    position: absolute;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    left: 70%;
    top: 50%;
}

/* footer */
#footer .row {
    padding-bottom: 3rem;
}

#footer .row .left {
    text-align: left;
}

#footer .row .left img {
    width: 180px;
    margin-bottom: .5rem;
}

#footer .row .left li:first-child .nav-link {
    padding-left: 0;
}

#footer .row .left li a {
    font-size: 1.2rem;
    color: #ffffff;
    padding-right: .5rem;
    padding-left: .5rem;
}

#footer .row .left #fesr {
    text-decoration: none;
}

#footer .row .left #footer-logo-fesr {
    display: flex;
}

#footer .row .left #footer-logo-fesr img {
    width: 70px;
}

#footer .row .left #footer-logo-fesr span {
    padding-left: 1rem;
    color: #ffffff;
    font-size: .8rem;
}

#nav2 li a {
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    text-align: center;
    text-transform: uppercase;
}

#footer .row .right {
    color: #ffffff;
    text-align: right;
}

#footer .row .right h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

#footer .row .right p {
    margin-bottom: .5rem;
}

#footer .row .right i {
    font-size: 1.2rem;
    padding: .5rem;
}

#footer .row .right i:last-of-type {
    padding-right: 0;
}

#footer .fesr-2025 {
    color: #ffffff;
}

#footer .fesr-2025 img {
    width: 80%;
}

#footer .legal-requirements {
    font-size: .875rem;
    color: #ffffff;
    text-align: center;
}

#footer .legal-requirements li {
    position: relative;
}

#footer .legal-requirements li + li::before {
    content: "\007C";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -1px;
}

#footer .legal-requirements a {
    font-weight: 600;
    color: #ffffff;
}

#footer .legal-requirements p {
    margin-bottom: 0;
}

/* back-to-top arrow */
#scroll-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    font-size: 2rem;
    color: #ffffff;
    background-color: #107490;
    box-shadow: rgba(0,0,0,0.5) 0 0 8px 0;
    cursor: pointer;
    position: fixed;
    bottom: -4rem;
    right: 2rem;
    z-index: 10;
    transition: bottom .5s;
}

#scroll-top.visible {
    bottom: 8rem;
}

/* cookie banner */
#cookie-banner {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 180px;
    background-color: white;
    bottom: 0;
    border-top: 5px solid #107490;
}

@media screen and (max-width: 992px)
{
    /* navbar */
    #navbar.transparent {
        background-color: #ffffff;
    }

    #nav0 {
        margin-top: .5rem;
    }

    /* navbar (nav0) */
    #nav0 .nav-item + .nav-item {
        margin-left: 0;
    }

    #nav0 .active::after {
        background-color: unset;
    }

    #nav0 li {
        border-bottom: 1px solid #d4d6d7;
    }

    /* navbar (nav1) */
    #nav1 .lang {
        align-items: flex-start;
        flex-flow: column;
        margin-top: 1rem;
        margin-right: 0;
    }

    #nav1 .lang .nav-link {
        border: none;
        width: 100%;
    }

    #nav1 .lang .custom {
        width: 100%;
        border: 0;
        box-shadow: none;
    }

    #nav1 .lang .custom a {
        padding: .25rem 1rem;
        text-decoration: none;
        width: 100%;
        display: block;
    }

    #nav1 .user-menu a span {
        display: inline;
    }

    #nav1 .user-menu .custom {
        min-width: 0;
        border: 0;
        box-shadow: none;
    }

    #nav1 .user-menu .custom a {
        text-align: left;
    }

    #nav1 .user-menu .custom > * {
        flex-flow: column;
    }

    #nav1 .user-menu .custom > * > div {
        width: 100%;
    }

    #nav1 .user-menu .custom hr.vertical {
        width: 100%;
        height: 2px;
        background-color: #107490;
        top: 50%;
    }

    #nav1 .cart .custom {
        border: 0;
        box-shadow: none;
    }

    #nav1 .cart .custom p {
        padding-top: .25rem;
        padding-bottom: .25rem;
    }

    #footer .fesr-2025 img {
        width: 100%;
    }

    /* cookie banner */
    #cookie-banner {
        height: 200px;
    }
}

@media screen and (max-width: 768px){
    /* footer */
    #footer .row {
        padding-bottom: 1rem;
    }

    #nav-social {
        justify-content: center;
    }

    #footer .row .left {
        text-align: center;
    }

    #footer .row .left #fesr {
        display: inline-block;
        margin-top: 1rem;
    }

    #footer .row .left #footer-logo-fesr {
        flex-flow: column;
        align-items: center;
        margin-bottom: 0;
    }
    
    #footer .row .left #footer-logo-fesr img {
        margin-bottom: .5rem;
    }

    #footer .row .right {
        text-align: center;
    }

    #footer .legal-requirements .nav {
        margin-bottom: 1rem;
    }

    #footer .legal-requirements li {
        display: block;
        width: 100%;
    }

    #footer .legal-requirements li + li::before {
        content: "";
    }

    #footer #nav2 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    /* cookie banner */
    #cookie-banner {
        height: 280px;
    }
}

@media screen and (max-width: 576px)
{
    /* footer */
    #footer .row .left {
        text-align: center;
    }

    #footer #nav-social {
        display: block;
    }

    #footer #nav-social li {
        display: inline-block;
    }

    /* back-to-top arrow */
    #scroll-top {
        display: none;
    }

    /* cookie banner */
    #cookie-banner {
        height: 380px;
    }

    #cookie-banner .button {
        width: 100%;
    }
}
