:root {
    --primary: #43807a;
    --footer: #4a3041;
    --white: #ffffff;
    --title: #444d54;
    --light: #f4f4f4;
    --black: #000000;
    --grey: #c4c4c4;
    --btn: #b95946;
    --ghost: #768692;
    --HydroWarm: #c5b9ac;
}

::-webkit-scrollbar-thumb {
    background-color: #c4c4c4 !important;
}

/* buttons */
.btn-orange {
    padding: 15px 30px;
    background-color: #b95946;
    text-align: center;
    border-radius: 5px;
    color: #ffffff;
    transition: 200ms;
}


header #navbar .navbar-top-wrapper {
    position: relative;
}

header #navbar .navbar-top-wrapper .navbar-brand #logoHydro {
    width: 167px !important;
    transform: translate(0px, -11px);
    position: absolute;
    transition: 0.3s ease all;
}

header #navbar.navbar #menu .navbar-nav .nav-item .nav-link {
    text-align: end;
}

#home {
    padding-top: 10rem;
}

#home .button-modal-home-video {
    background-color: var(--primary);
    padding: 2rem 1rem;
    position: absolute;
    top: 90%;
    left: 50%;
    transform: translate(190%, -50%);
    bottom: 20px;
    outline: none;
    border-radius: 22px;
}

#home .text-modal-home {
    font-size: 32px;
    color: var(--white);
    text-align: center;
    font-family: "IvarDisplayHydro-Regular";
}

#home .button-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    outline: none;
    cursor: pointer;
}

#home .button-play img {
    width: 60px;
}

.modal .modal-dialog .modal-content {
    border: none;
}
.modal .modal-dialog .modal-content .modal-footer {
    border-top: none;
}
.modal .modal-dialog .modal-content .modal-header {
    border-bottom: none;
}

#home #carouselHydroBanner .carousel-inner .carousel-item .banner-wrapper {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem;
}

#home
    #carouselHydroBanner
    .carousel-inner
    .carousel-item
    .banner-wrapper
    .imagem {
    transform: scale(1.6);
    width: 250px;
    border-radius: 50%;
    height: 250px;
}

#home
    #carouselHydroBanner
    .carousel-inner
    .carousel-item
    .banner-wrapper
    .content {
    max-width: 430px;
    width: 100%;
}

#home
    #carouselHydroBanner
    .carousel-inner
    .carousel-item
    .banner-wrapper
    .content
    p {
    color: var(--white);
    text-align: center;
    font-family: "IvarDisplayHydro-Regular";
    font-size: 4rem;
    text-align: initial;
    line-height: 3.5rem;
}

#sobre {
    padding: 7rem 0;
    background-size: cover;
}

#sobre .territorio-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: center;
    z-index: 2;
    top: 0;
}

#sobre .territorio-img img {
    width: 40rem;
    height: 40rem;
}

#sobre h2 {
    font-size: 5rem;
}

#timeline .swiper-button-prev.disable {
    background-image: url(/img/elements/prev-disable.png);
}

#timeline .swiper-button-next.disable {
    background-image: url(/img/elements/next-disable.png);
}

#territorios .territorio-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    position: absolute;
    justify-content: center;
    z-index: 2;
    top: 0;
}

#territorios .territorio-img img {
    width: 40rem;
    height: 40rem;
}

#territorios h2 {
    font-size: 5rem;
}

#map {
    padding: 17rem 0;
}

#map .swiper-slide {
    padding: 0 4rem;
}

#map .swiper-slide .row.row-border {
    border-bottom: 1px solid var(--grey);
}

#map h3 {
    font-family: "IvarDisplayHydro-Regular";
    color: var(--ghost);
}

#post-results .swiper-container .swiper-wrapper .swiper-slide .swiper-content {
    background-color: var(--btn);
    height: 25vh;
}

#post-results .swiper-container .swiper-wrapper .swiper-slide .swiper-content {
    background-color: var(--btn);
    height: 270px;
}

#editais,
#projects,
#contact,
#library,
#quemSomos .containerOne {
    padding-top: 10rem;
}

/* NEW ACORDION FOR THE CONTACT PAGE */
#accordion-contact .card {
    margin-bottom: 2rem;
}

#accordion-contact .card .card-header {
    border: 1px solid #707070;
    border-radius: 4px;
    background-color: var(--white);
}

#accordion-contact .card .card-header .btn-link {
    background-color: var(--white);
    color: var(--title);
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    width: -webkit-fill-available;
    text-align: initial;
}

#accordion-contact .card .card-body p {
    font-size: 14px;
    color: var(--title);
}

/* NEW SWIPER FOR LIBRARY PAGES */

#post-results-body .modal .modal-dialog .modal-content {
    overflow: scroll;
    background-color: var(--HydroWarm);
}

#post-results .close span {
    margin-right: 0;
}

/* MODAL BUTTON CSS */
.modal-settings {
    overflow: scroll;
}

.modal-settings .close {
    background-color: transparent;
    border: 2px solid var(--white);
    margin: 0;
}

/* BIBLIOTECA > PHOTOS > RESULTADOS > MODAL > OWL-CAROUSEL-GALERIA */
#carouselHydroBanner.carousel-photos-gallery img {
    object-fit: contain;
}

#post-results-body .modal .modal-dialog .modal-content .modal-header {
    border-bottom: none;
}

#carouselHydroBanner .carousel-img-description {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    color: var(--title);
}

#carouselHydroBanner .carousel-img-description .project-name {
    font-size: 2rem;
    font-weight: bold;
}

#carouselHydroBanner .carousel-img-description .people-name {
    font-size: 1.8rem;
}

/* BIBLIOTECA > VÍDEOS */
#post-results-body.post-results-contain .card {
    width: 255px;
}

#post-results-body.post-results-contain .card:hover .card-body h4  {
    color: #b95946;
} 

#post-results-body.post-results-contain .card .card-header {
    height: 245px;
    margin-bottom: 0px;
    position: relative;
}

#post-results-body.post-results-contain .card .card-header:hover {
    cursor: pointer;
}

#post-results-body.post-results-contain .card .card-header .card-header-text {
    position: relative;
}

#post-results-body.post-results-contain .card .card-header::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: linear-gradient(359deg, #040306c9, #121f2275);
}


#post-results-body.post-results-contain .card-body {
    padding: 10px;
    background-color: #f4f4f4;
}
#post-results-body.post-results-contain .card-body h4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
            line-clamp: 2; 
    -webkit-box-orient: vertical;
    min-height: 40px;
    font-size: 16px;
    transition: all 0.3s ease-in;
}

/* BIBLIOTECA > VÍDEOS > RESULTADO > MODAL-BODY> */

.modal-settings .close {
    background-color: transparent;
    border: 2px solid var(--white);
    margin: 0;
}

.modal-settings .video-desccription {
    padding: 1rem;
    color: var(--title);
}

.modal-settings .video-desccription .title {
    margin: 0;
    font-size: 3rem;
    font-weight: bold;
}

.modal-settings .video-desccription .date {
    margin: 0;
    font-size: 1.8rem;
}

/* BIBLIOTECA > VÍDEOS > RESULTADO > MODAL-HEADER */
.modal-settings .modal-footer .card-modal-video .video-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 8rem;
    color: var(--title);
}

.modal-settings .modal-footer .card-modal-video .video-header .title {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    font-weight: bold;
}

.modal-settings .modal-footer .card-modal-video .video-header .subtitle {
    font-size: 1.8rem;
    margin-bottom: 0;
}

/* BIBLIOTECA > VÍDEOS > RESULTADO > MODAL-FOOTER> */

.modal-settings .modal-footer .card-modal-video .video-footer {
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 23rem;
}

.modal-settings .modal-footer .card-modal-video .video-footer video {
    width: 100%;
    height: 17rem;
    object-fit: cover;
}

/* Internal page styling - noticias */

#noticias {
    padding: 8rem 0 30rem;
    background-image: url("/img/bg/bg-noticias.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #f4f4f4;
}

#noticias .img-noticias {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

#noticias .header h4 {
    margin-bottom: 2rem;
    font-size: 3rem;
    font-family: "IvarDisplayHydro-Regular";
    color: var(--ghost);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* number of lines to show */
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

#noticias .body {
    font-size: 1.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Internal page styling - noticias-detalhes */
#noticias-detalhe {
    padding: 12rem 0 30rem;
    background-image: url("/img/bg/bg-noticias-detalhe.svg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: bottom;
    background-color: #f4f4f4;
}



#noticias-detalhe h4 {
    margin-bottom: 2rem;
    font-size: 4rem;
    font-family: "IvarDisplayHydro-Regular";
    color: var(--title);
}

#noticias-detalhe .img-noticias-detalhe {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

#noticias-detalhe .noticias-detalhe-footer p {
    font-size: 2.6rem;
    font-family: "IvarDisplayHydro-Regular";
    color: var(--ghost);
}

#noticias-detalhe .noticias-detalhe-footer .dividor {
    height: 70px;
    width: 1px;
    background-color: var(--ghost);
}

#projects .project-list-wrapper .modal-wrapper .img-wrapper {
    width: 100%;
    max-width: 150px;
    max-height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

#projects .project-list-wrapper .modal-wrapper .img-wrapper .img-projects {
    width: 100%;
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
}

#projects .modal .modal-dialog .modal-content .modal-body .img-modal {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    aspect-ratio: 1;
}

@media (max-width: 425px) {
    #home {
        padding-top: 5rem;
    }

    #editais .parceiros__title {
        width: 100%;
    }

    #sobre .territorio-img img,
    #territorios .territorio-img img {
        width: 28rem;
        height: 28rem;
    }

    #sobre h2 {
        font-size: 4rem;
    }
    header #navbar .navbar-top-wrapper .navbar-brand #logoHydro {
        width: 164px !important;
    }
}

@media (max-width: 992px) {
    .responsivbe-padding {
        padding-top: 5rem;
    }

    #map {
        padding: 5rem 0;
    }

    #home {
        padding-bottom: 0px;
    }

    #home .play {
        margin-top: 3rem;
    }

    #home .text-modal-home {
        font-size: 16px;
    }

    #home
        #carouselHydroBanner
        .carousel-inner
        .carousel-item
        .banner-wrapper
        .content
        p {
        text-align: center;
    }

    #sobre .territorio-img {
        position: inherit;
    }

    #territorios .territorio-img {
        position: inherit;
    }

    #noticias .img-noticias {
        max-width: 200px;
        max-height: 200px;
    }

    #noticias-detalhe .img-noticias-detalhe {
        width: 100%;
        max-width: 150px;
        max-height: 150px;
        object-fit: cover;
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 3rem;
    }

    #home
        #carouselHydroBanner
        .carousel-inner
        .carousel-item
        .banner-wrapper
        .imagem {
        margin-top: 5rem;
    }

    #home
        #carouselHydroBanner
        .carousel-inner
        .carousel-item
        .banner-wrapper
        .content {
        margin-top: 6rem;
    }

    #home
        #carouselHydroBanner
        .carousel-inner
        .carousel-item
        .banner-wrapper
        .content
        p {
        font-size: 3rem;
    }

    #territorios h2 {
        margin-top: 2rem;
    }

    #map {
        padding: 1rem 0;
    }

    #map .swiper-slide h3 {
        margin-top: 2rem;
        text-align: center;
    }

    #map .swiper-slide div.mb-4 p {
        text-align: center;
    }

    footer .wrapper__footer {
        margin-top: 2rem;
    }
}

@media (max-width: 1199px) {
    header #navbar.navbar {
        padding: 1rem;
    }
    header #navbar .navbar-top-wrapper .navbar-brand #logoHydro {
        transform: translate(0px, 0px);
        position: initial;
    }

    #home .video-home {
        width: inherit;
    }

    #home .button-modal-home-video {
        transform: translate(-50%, -70%);
    }
}

@media (max-width: 1024px) {
    #home
        #carouselHydroBanner
        .carousel-inner
        .carousel-item
        .banner-wrapper
        .imagem {
        transform: scale(1.6);
        width: 150px;
        border-radius: 50%;
        height: 150px;
    }
}

.swal2-html-container {
    margin: 1.5em -1.21em -1.1em !important;
}

.swal2-close {
    height: 1.9em !important;
    align-items: normal !important;
}

.swal2-popup {
    border-radius: 0px !important;
}

.nice-select {
    display: none !important;
}
