html.active {
    overflow: hidden;
}


/* ======================================== HEADER ======================================== */


header.service-page {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    height: 768px;
    justify-content: center;
}

header.service-page .header-bg {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: 99999;
}

header.service-page.finalizacao .header-bg {
    background-image: url(../images/finalizacao/finalizacao-header.png);
}

header.service-page.tratamento .header-bg {
    background-image: url(../images/tratamento/tratamento-header.png);
}

header.service-page.projetos-especiais .header-bg {
    background-image: url(../images/projetos-especiais/projetos-especiais-header.png);
}

header.service-page.producao-grafica .header-bg {
    background-image: url(../images/producao-grafica/producao-grafica-header.png);
}

header.service-page.motion .header-bg {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
}

header.service-page.motion .header-bg video {
    height: auto;
    position: relative;
    top: 0;
    width: 100%;
}

header.service-page.revisao .header-bg {
    background-image: url(../images/revisao-header.png);
}

.header-midia {
    background-image: url(../images/midia/midia-header.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    z-index: 99999;
}

#page-title {
    bottom: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    width: 100%;
}

#page-title img:nth-child(1) {
    align-self: flex-start;
}

#page-title img:nth-child(2) {
    margin: 10px 0;
    z-index: 999;
}

#page-title.finalizacao img:nth-child(2) {
    margin: -40px 0;
}

#page-title img:nth-child(3) {
    align-self: flex-end;
}


/* ======================================== INTERSECTION ======================================== */


.intersection.midia {
    box-sizing: border-box;
    max-width: fit-content;
    padding: 50px;
}

.intersection {
    padding: 100px 0;
}


.intersection.service-page {
    margin-bottom: 100px;
    padding: 50px 0;
}

.intersection.service-page .intersection-element {
    height: 210px;
    width: 210px;
}

.intersection.service-page .intersection-element a img {
    width: 101px;
}

.intersection.service-page .intersection-element .intersection-lines span {
    height: 60px;
}

.intersection.service-page .intersection-element .intersection-lines span:nth-of-type(1) {
    top: -30px;
}

.intersection.service-page .intersection-element .intersection-lines span:nth-of-type(2) {
    bottom: -30px;
}

.intersection.midia .intersection-element .intersection-lines.is-visible {
    animation: lines-rotate2 2s ease;
    animation-delay: .1s;
    animation-fill-mode: forwards;
}

@keyframes lines-rotate2 {
    0% {
        transform: rotate(360deg);
    }

    100% {
        transform: rotate(90deg);
    }
}


/* ======================================== ABOUT ======================================== */


/* #about.service-page {
    padding: 50px 0;
} */

#about h2 {
    color: #707070;
}

#about #about-content {
    padding: 0;
}

#about-content p {
    font-size: 1.5rem;
}

span.middle-title {
    display: inline-block;
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}



/* ======================================== MIDIA SWIPPER ======================================== */

.midia-swiper {
    align-items: center;
    display: flex;
    height: 500px;
    justify-content: center;
    position: relative;
    width: 100%;
}

.midia-swiper .swiper-wrapper {
    width: 100%;
    z-index: 99999;
}

/* .gallerySwiper2  .swiper-wrapper {
    box-sizing: border-box;
    padding: 50px;
} */

.midia-swiper .swiper-slide {
    align-items: flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* padding: 0 50px; */
    position: relative;
}

.midia-swiper .swiper-slide video {
    height: 100%;
    position: relative;
    top: 0;
    width: 100%;
}

.midia-swiper .midia-big01 {
    background-image: url(../images/midia/carrossel/midia-01.png);
}

.midia-swiper .midia-big02 {
    background-image: url(../images/midia/carrossel/midia-02.png);
}

.midia-swiper .midia-big03 {
    background-image: url(../images/midia/carrossel/midia-03.png);
}

.midia-swiper .midia-big04 {
    background-image: url(../images/midia/carrossel/midia-04.png);
}

.midia-swiper .midia-big05 {
    background-image: url(../images/midia/carrossel/midia-05.png);
}












.midia-swiper2 {
    align-items: center;
    display: flex;
    height: 250px;
    justify-content: center;
    position: relative;
    width: 100%;
}

.midia-swiper2 .swiper-wrapper {
    width: 100%;
    z-index: 99999;
}

.midia-swiper2 .swiper-slide {
    align-items: flex-start;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    /* padding: 0 50px; */
    position: relative;
}

.midia-swiper2 .swiper-wrapper {
    align-items: center;
}

.midia-swiper2 .swiper-slide {
    max-width: 330px;
}

.midia-swiper2 .midia01 {
    background-image: url(../images/midia/carrossel-pequeno/midia-01.png);
}

.midia-swiper2 .midia02 {
    background-image: url(../images/midia/carrossel-pequeno/midia-02.png);
}

.midia-swiper2 .midia03 {
    background-image: url(../images/midia/carrossel-pequeno/midia-03.png);
}

.midia-swiper2 .midia04 {
    background-image: url(../images/midia/carrossel-pequeno/midia-04.png);
}

.midia-swiper2 .midia05 {
    background-image: url(../images/midia/carrossel-pequeno/midia-05.png);
}

.midia-swiper2 .midia06 {
    background-image: url(../images/midia/carrossel-pequeno/midia-06.png);
}

.midia-swiper2 .midia07 {
    background-image: url(../images/midia/carrossel-pequeno/midia-07.png);
}

.midia-swiper2 .midia08 {
    background-image: url(../images/midia/carrossel-pequeno/midia-08.png);
}

.midia-swiper2 .midia09 {
    background-image: url(../images/midia/carrossel-pequeno/midia-09.png);
}

.midia-swiper2 .midia10 {
    background-image: url(../images/midia/carrossel-pequeno/midia-10.png);
}

.midia-swiper-pagination {
    bottom: 10px !Important;
    display: flex;
    justify-content: center;
    left: unset!important;
    position: absolute;
    width: auto!important;
    z-index: 999999;
}

.main-swiper-pagination {
    bottom: -40px !Important;
    display: flex;
    justify-content: center;
    left: unset!important;
    position: absolute;
    width: auto!important;
    z-index: 999999;
}

.swiper-pagination-bullet {
    background-color: #00AEEF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, .4);
    height: 10px;
    opacity: .4;
    width: 10px;
}

.swiper-pagination-bullet:not(:last-of-type) {
    margin-bottom: 8px!important;
}

.swiper-pagination-bullet-active {
    background-color: #00AEEF;
    opacity: 1;
}

.main-swiper-pagination .swiper-pagination-bullet {
    background-color: #3d393a;
}

.main-swiper-pagination .swiper-pagination-bullet-active {
    background-color: #3d393a;
}

.midia-swiper-button-prev, .midia-swiper-button-next {
    cursor: pointer;
    opacity: .6;
    position: absolute;
    transition: .4s ease;
    z-index: 999999;
}

.midia-swiper-button-prev {
    left: 50px;
}

.midia-swiper-button-next {
    right: 50px;
}

.midia-swiper-button-prev:hover {
    transform: scale(.95);
}

.midia-swiper-button-next:hover {
    transform: scale(.95);
}


/* ======================================== MIDIA ======================================== */

.section-info {
    display: flex;
    padding: 150px 10%;
}

.section-dif {
    margin-right: 20px;
    max-width: 380px;
}

.section-info-txt {
    margin-left: 150px;
}

.section-info h3 {
    color: #707070;
    font-size: 3rem;
    margin-bottom: 30px;
}

.section-info-txt p, .section-info-topics p {
    font-size: 1.5rem;
    line-height: 1.8;
}

.section-info-txt .yellow {
    color: #FFF101;
    font-size: 2rem;
    margin-top: 20px;
}

.section-info-topics {
    display: flex;
    flex-wrap: wrap;
    width: fit-content;
}

.section-info-topics p {
    border-left: 1px solid #ffffff;
    margin: 20px;
    max-width: 300px;
    padding-left: 30px;
}

.painel {
    border: 1px solid #ffffff;
}





/* ======================================== SERVICE SWIPPER ======================================== */


#service-gallery {
    display: flex;
    /* flex-wrap: wrap; */
    justify-content: center;
    overflow:visible;
}

#service-gallery .gallery-box {
    cursor: pointer;
    display: block;
    height: 330px;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.bigimg {
    max-width: 200%;
}

#gallery-hidden {
    display: none;
}

#service-gallery.active + #gallery-hidden {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: center;
    left: 0;
    max-width: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999999999999999;
}

#gallery-hidden .swiper {
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    width: 100%;
}

#gallery-hidden .swiper-slide {
    text-align: center;
    font-size: 18px;
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
      background-position: center;
}

#gallery-hidden .gallerySwiper {
    height: 20%;
    box-sizing: border-box;
    padding: 10px 0;
}

#gallery-hidden .gallerySwiper2 {
    height: 80%;
    width: 100%;
}

#gallery-hidden .gallerySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    /* opacity: 0.4; */
}

#gallery-hidden .gallerySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

#gallery-hidden .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#gallery-hidden .gallerySwiper .swiper-slide {
    background-color: #000000;
}

#gallery-hidden .gallerySwiper .swiper-slide img {
    object-fit: cover;
    opacity: 0.4;
}

#gallery-hidden .gallerySwiper .swiper-slide-thumb-active img {
    opacity: 1;
}

#gallery-hidden .swiper-slide video {
    display: block;
    height: 100%;
    width: 100%;
}

.swiper-button-next, .swiper-button-prev {
    opacity: .6;
}

.swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}

#service-gallery.active + #gallery-hidden span, #service-gallery .video-box.active + .video-container span {
    background-color: #000000;
    border-radius: 50%;
    cursor: pointer;
    display: block;
    padding: 18px 7px;
    position: absolute;
    right: 50px;
    top: 50px;
    z-index: 9999;
}

#service-gallery.active + #gallery-hidden span::before, #service-gallery .video-box.active + .video-container span::before {
    background-color: #a6a3a3;
    border-radius: 10px;
    content: "";
    display: block;
    height: 4px;
    position: relative;
    top: 2px;
    transform: rotate(-45deg);
    width: 30px;
}

#service-gallery.active + #gallery-hidden span::after, #service-gallery .video-box.active + .video-container span::after {
    background-color: #a6a3a3;
    border-radius: 10px;
    content: "";
    display: block;
    height: 4px;
    position: relative;
    top: -2px;
    transform: rotate(45deg);
    width: 30px;
}






#service-gallery .video-box {
    align-items: center;
    cursor: pointer;
    display: flex;
    max-height: 390px;
    justify-content: center;
    max-width: 600px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

#service-gallery .video-box.active + .video-container {
    align-items: center;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    height: 100%;
    justify-content: center;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

#service-gallery .video-box .video-arrow {
    align-items: center;
    background-color: #000000;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    height: 60px;
    justify-content: center;
    /* left: 270px; */
    position: absolute;
    /* top: 130px; */
    transition: .4s ease;
    width: 60px;
}

#service-gallery .video-box:hover .video-arrow {
    transform: scale(.95);
}

#service-gallery .video-box .video-arrow::after {
    border-bottom: 15px solid transparent;
    border-left: 20px solid #a6a3a3;
    border-top: 15px solid transparent;
    box-sizing: border-box;
    content: '';
    display: block;
    height: 0;
    left: 2px;
    position: relative;
    width: 0;
}

#service-gallery .video-box.active .video-arrow {
    display: none;
}



/* ======================================== MEDIA QUERIES ======================================== */

@media only screen and (max-width: 1700px) {

    header.service-page {
        height: 768px;
    }

    header.service-page .header-bg, header.service-page.motion .header-bg {
        background-position: top center;
        background-size: contain;
    }

}

@media only screen and (max-width: 1600px) {

    #service-gallery .gallery-box, #service-gallery .video-box {
        height: auto;
        max-width: 400px;
    }

    #service-gallery.projetos-especiais .gallery-box {
        height: 220px;
        max-width: 400px;
    }

    #service-gallery .video-box .video-arrow {
        /* left: 170px;
        top: 80px; */
    }

}

@media only screen and (max-width: 1500px) {

    header.service-page {
        height: 600px;
    }

    .section-info {
        padding: 150px 5%;
    }

}

@media only screen and (max-width: 1300px) {

    header.service-page {
        height: 520px;
    }

    .section-info {
        flex-direction: column
    }

    .section-dif {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }

    .intersection.midia {
        align-self: center;
    }

    .section-info h3 {
        order: 2;
    }

    .section-info-txt {
        margin-left: 0;
    }

    .section-info>img {
        margin-bottom: 100px;
    }

}

@media only screen and (max-width: 1200px) {

    header.service-page {
        height: 480px;
    }

    #page-title.finalizacao {
        bottom: -50px;
    }

    #service-gallery.projetos-especiais .gallery-box {
        height: 190px;
    }

}

@media only screen and (max-width: 1100px) {

    header.service-page {
        height: 440px;
    }

}

@media only screen and (max-width: 1000px) {

    header.service-page {
        height: 400px;
    }

    #page-title.finalizacao img:nth-child(2) {
        margin: -30px 0;
    }

    #about-content p {
        font-size: 1.25rem;
    }

    #service-gallery .gallery-box, #service-gallery .video-box {
        height: auto;
        max-width: 600px;
    }

    #service-gallery .video-box .video-arrow {
        /* left: 270px;
        top: 130px; */
    }

    .section-info-topics p {
        max-width: max-content;
    }

    #service-gallery {
        overflow: hidden;
    }

    #service-gallery .gallery-box, #service-gallery .video-box {
        height: auto;
        width: 350px;
    }

}

@media only screen and (max-width: 900px) {

    .intersection {
        padding: 0px 0;
    }

}

@media only screen and (max-width: 700px) {

    header.service-page {
        height: 300px;
    }

    .section-info h3 {
        font-size: 2rem;
    }

    .section-info p, .section-info-txt .yellow {
        font-size: 1.25rem;
    }

    #service-gallery .gallery-box, #service-gallery .video-box {
        width: 250px;
    }

    .midia-swiper2 {
        height: 125px;
    }

    .midia-swiper2 .swiper-slide {
        max-width: 165px;
    }

}

@media only screen and (max-width: 600px) {

    #page-title.finalizacao img:nth-child(2) {
        margin: -20px 0;
    }

    /* header.service-page {
        height: 500px;
    } */

    #about.service-page {
        padding: 50px 0;
    }

    #about.service-page.finalizacao {
        padding: 100px 0 150px;
    }

    #about-content p {
        font-size: 1rem;
        padding: 50px 25px;
    }

    #service-gallery .gallery-box.active span {
        right: unset;
        top: unset;
        bottom: 100px;
    }

    #service-gallery .video-box .video-arrow {
        /* left: 170px;
        top: 80px; */
    }

    #gallery-hidden .swiper-slide {
        background: transparent;
    }

    #gallery-hidden .swiper-slide img {
        height: fit-content;
    }

}

@media only screen and (max-width: 500px) {

    #about.service-page {
        padding: 150px 0 50px;
    }
}

@media only screen and (max-width: 450px) {

    header.service-page {
        height: 220px;
    }
}

@media only screen and (max-width: 400px) {

    header.service-page {
        height: 200px;
    }

    #page-title img:nth-child(2) {
        margin: 5px 0;
    }

    #about-content p {
        font-size: 0.8rem;
    }

    #service-gallery .video-box {
        height: 190px;
        max-width: 350px;
    }

    #service-gallery .video-box .video-arrow {
        /* left: 160px;
        top: 80px; */
    }

    #service-gallery .video-box .video-arrow {
        height: 40px;
        width: 40px;
    }

    #service-gallery .video-box .video-arrow::after {
        border-bottom: 10px solid transparent;
        border-left: 15px solid #FFF101;
        border-top: 10px solid transparent;
    }

    .section-info h3 {
        font-size: 1.5rem;
    }

    .section-info p, .section-info-txt .yellow {
        font-size: 0.8rem;
    }

    #service-gallery .gallery-box, #service-gallery .video-box {
        width: 150px;
    }

}

@media only screen and (max-width: 350px) {

    header.service-page {
        height: 160px;
    }
}