@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;700&family=Roboto:wght@300;400;700&display=swap');
@import "typography.css";
@import "news.css";
@import "blocks.css";
@import "table.css";

:root {
    --red: #F02124;
    /* --light-blue: #48B6C8; */
    --light-blue: #00BCE4;
    --dark-blue: #005D6C;

    --ff-primary: 'Roboto', sans-serif;
    --ff-secondary: 'Open Sans', sans-serif;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    color: #000;
    font-family: var(--ff-primary);
    font-size: 16px;
    overflow-x: hidden;
}

header {
    position: relative;
    width: 100%;
    height: 911px;
}

main {
    flex: 1;
}

footer {
    width: 100%;
    height: 115px;
    color: #fff;
    font-family: var(--ff-secondary);
    background-color: var(--light-blue);
}

footer .row {
    height: 115px;
}

footer .img-wrapper {
    margin-bottom: 20px;
}

footer p {
    font-size: 1.25rem;
}

footer p.copyright {
    text-align: right;
}

.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 1px 2px 6px rgba(0,0,0,.2);
    transition: all .200s ease-in-out;
}

.nav-wrapper .navbar {
    margin: 0;
    /* display: none; */
}

.nav-wrapper.enabled {
    opacity: 1;
}
.nav-wrapper.disabled {
    opacity: 0;
}

.container {
    max-width: 1380px;
}

.banner {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(var(--light-blue), var(--dark-blue));
    z-index: -1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    margin-top: 35px;
    height: 150px;
    background-color: #fff;
}

.logo {
    display: flex;
    margin-left: 15px;
    margin-right: 15px;
    width: 310px;
}

.mainmenu {
    flex: 1;
    margin: 0 100px;
    height: 100%;
}

.mainmenu ul {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 15px;
    width: 100%;
    height: 100%;
    list-style: none outside none;
}

.mainmenu ul li {
    position: relative;
    padding: 0;
    text-indent: 0;
    /* z-index: 4; */
}
.mainmenu ul li a {
    position: relative;
    color: var(--light-blue);
    font-size: 1.6rem;
    font-weight: 300;
    text-decoration: none;
    z-index: 2;
}

.mainmenu ul li a:hover,
.mainmenu ul li.active > a {
    color: var(--red);
    font-weight: 700;
}

.mainmenu ul ul.submenu {
    opacity: 0;
    /* display: none; */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 0;
    padding: 60px 20px 10px 20px;
    width: max-content;
    height: 0;
    background-color: #fff;
    visibility: hidden;
    z-index: -1;
    /* transform: translateX(-20px); */
    /* transition: all .2s ease-in; */
    border-radius: 0 0 4px 4px;
}

.mainmenu ul li:hover ul.submenu,
.mainmenu ul li:focus-within ul.submenu {
    opacity: 1;
    visibility: visible;
    height: max-content;
    transform: translate(-20px, 0);
    z-index: 1;
}

.mainmenu ul ul.submenu li {
    margin: 16px 0;
}

.navbar-right {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-direction: column;
    padding: 30px 0 20px 0;
    width: 240px;
    height: 100%;
}

.social-container ul li a {
    color: var(--light-blue);
}

.social-container ul li a:hover {
    color: var(--red);
}

.search-container {
    position: relative;
    width: 100%;
}

.search-container input {
    position: relative;
    margin: 0;
    padding-right: 26px;
    width: 100%;
    height: 34px;
    font-size: 1rem;
    border: 0;
    border-bottom: 1px solid var(--light-blue);
}

/* TODO */
/* .search-container input:focus ??? */

.search-container span {
    position: absolute;
    right: 0;
    top: 0;
}

.search-container button {
    color: var(--light-blue);
    font-size: 1.25rem;
    border: 0;
    background: transparent;
}

.search-container button:hover {
    color: var(--light-blue);
    background: transparent;
}

.content {
    padding: 40px 0;
    color: #000;
    font-size: 1.5625rem !important;
}

section {
    background-color: #fff;
}

section.bg-gray {
    background-color: #F4F4F4;
}

section.map-wrapper {
    width: 100%;
    height: 500px
}

section.map-wrapper div {
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* buttons */
.button-wrapper {
    margin: 20px 0 0 0;
}
.button {
    display: block;
    font-size: 4.3125rem;
    text-align: center;
    background-color: var(--dark-blue);
    transition: background-color .3s ease-in-out;
}
.button:hover {
    background-color: var(--red);
}
.button-block {
    width: 100%;
    height: 184px;
    line-height: 184px;
    color: #fff !important;
    font-weight: 300 !important;
    border: 1px solid #707070;
    overflow: hidden;
    white-space: nowrap;
}
.button-block.button-red {
    background-color: var(--red);
    transition: background-color .3s ease-in-out;
}
.button-block.button-red:hover {
    background-color: var(--dark-blue);
}
.button-card {
    position: relative;
    padding-bottom: 100%;
    width: 100%;
    max-height: 395px;
    background-color: var(--dark-blue);
    transition: background-color .4s ease-in-out;
}
.button-card:hover {
    background-color: var(--light-blue);
}
.button-card-light-blue {
    background-color: var(--light-blue);
    transition: background-color .3s ease-in-out;
}
.button-card-light-blue:hover {
    background-color: var(--dark-blue);
}
.button-card a {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 4rem 3rem;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
}
.button-card:hover a {
    color: #fff;
}
.button-card h2 {
    color: #fff;
    font-size: 1.875rem;
    font-weight: 700;
}

/* fadeContent, slider */
.fadeContent {
    width: 100%;
    height: 100%;
}

.fadeContent h1 {
    display: none;
}
.fadeContent div.image {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
.page-title {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.page-title .text {
    margin: 0 auto;
    width: 80%;
    color: #fff;
    font-family: var(--ff-primary);
    font-size: 8.25rem;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

/* search */
.results-list .list-group-item {
    padding: 35px 0;
    text-indent: 0;
    border-bottom: 3px solid var(--red);
}
.results-list a span.found {
    color: var(--light-blue) !important;
}

.navbar-toggler {
    font-size: 22px;
}
.navbar-toggler span {
    background-image: none !important;
}
.navbar-toggler span svg {
    fill: var(--light-blue);
}

.mainmenu-mobile {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 30px 20px 30px;
    width: 100%;
    background-color: rgba(255,255,255,.98);
    box-shadow: 0 25px 15px -5px rgba(0,0,0,.25);
    z-index: 5;
}
.mainmenu-mobile ul {
    width: 100%;
    list-style: none outside none;
}
.mainmenu-mobile ul li {
    position: relative;
    margin: 10px 0;
}
.mainmenu-mobile ul li a {
    display: flex;
    width: 85%;
    color: var(--light-blue);
    font-size: 1.3333rem;
    text-decoration: none;
    cursor: pointer;
}
.mainmenu-mobile ul li.active a, .mainmenu-mobile ul li a:hover {
    color: var(--red);
}
.mainmenu-mobile ul li span.plus-less {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--light-blue);
    font-size: 1.2rem;
    cursor: pointer;
}
.mainmenu-mobile .submenu {
    display: none;
    position: relative;
    flex-direction: column;
    padding-left: 20px;
}
.mainmenu-mobile .submenu.show {
    display: flex;
}
.mobile-social-search-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.mobile-social-search-wrapper .social-container ul {
    display: flex;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    width: 60px;
}
.mobile-social-search-wrapper .social-container ul li {
    margin: 0 !important;
}
.mobile-social-search-wrapper .social-container ul li i {
    font-size: 1.8rem;
}
.mobile-social-search-wrapper .search-container {
    margin-left: 30px;
}
.mobile-social-search-wrapper .search-container form input {
    height: 30px;
}

/* albums */
.album-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 40px;
}
.album-cover-wrapper {
    display: flex; 
    flex-direction: column;
    padding-bottom: 10px;
    width: 100%;
    color: #000;
    text-align: center;
    text-decoration: none;
    border: 0px solid #FFF;
    border-radius: 10px;
    box-shadow: 4px 6px 20px rgba(0,0,0,.3);
    overflow: hidden;
}
.album-thumbnail {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: transparent;
    background-size: cover;
}
.album-title {
    font-size: 3rem !important;
}
.album-count, .album-date {
    display: none;
}
h2.album-photos {
    margin-bottom: 40px;
    text-align: center;
}
.album-photos-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 40px;
}
.album-photos-wrapper .thumbnail {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}
.album-photos-wrapper .thumbnail img {
    display: inline-block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

section.imageContainer {
    background-color: transparent;
}

/* responsive */
@media (max-width: 1799px) {
    .mainmenu {
        margin: 0 50px;
    }
}
@media (max-width: 1599px) {
    .navbar {
        height: 110px;
    }
    .logo {
        align-self: flex-end;
        padding-bottom: 20px;
    }
    .logo img {
        max-width: 260px;
    }
    .mainmenu {
        margin: 0 30px;
    }
    .mainmenu ul li a {
        font-size: 1.3rem;
    }
    .navbar-right {
        position: absolute;
        top: 10px;
        right: 20px;
        width: auto;
        height: auto;
        flex-direction: row-reverse;
        padding: 0 20px;
    }
    .social-container ul {
        display: flex;
        justify-content: space-around;
        margin: 0;
        width: 80px;
    }
    .search-container {
        margin-right: 20px;
    }
}
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    header {
        height: 460px;
    }
    .navbar {
        height: 120px;
    }
    .logo img {
        max-height: 90px;
    }
    .page-title .text {
        font-size: 5.75rem;
        line-height: 1;
    }
    .news-wrapper.grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .button-block {
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-size: 2.5rem;
        white-space: break-spaces;
    }
	.album-photos-wrapper {
	    grid-template-columns: repeat(2, 1fr);
	    grid-gap: 20px;
	}
}
@media (max-width: 575px) {
    html {
        font-size: 12px;
    }
    header {
        height: 360px;
    }
    .navbar {
        height: 90px;
    }
    .logo img {
        max-height: 60px;
    }
    .page-title .text {
        font-size: 4rem;
    }
    .content p {
        word-break: break-word;
    }
    footer, footer .row {
        height: auto;
    }
    footer .img-wrapper {
        padding-top: 20px;
        text-align: center;
    }
    footer p.copyright {
        text-align: center;
    }
    .news-wrapper.grid {
        grid-template-columns: 1fr;
    }
    .pagination {
        overflow: hidden;
    }
    .pagination li:first-child {
        margin-right: 30px;
    }
    .pagination li:last-child {
        margin-left: 30px;
    }
    .pagination li a span img {
        transform: scale(.7);
    }
    .news-wrapper.grid .card {
        height: auto;
    }
    .mainmenu-mobile {
        top: 90px;
    }
	.album-grid {
	    grid-template-columns: 1fr;
	    grid-gap: 30px;
	}
	.album-thumbnail {
	    height: 200px;
	}
}
