body {
    margin: 0;
    position: relative;
}

body {
    font-family: "Montserrat", Sans-serif !important;
    background: #000000 !important;
}

.main {
    opacity: 0;
}

header {
    background: transparent;
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 50%);
    padding: 5px;
    opacity: 0;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.contenitore {
    text-align: center;
    padding: 5%;
    max-width: 1100px;
    margin: 0 auto !important;
}

.banner {
    height: 100vh;
    position: relative;
    width: 100%;
    justify-content: center;
    background-size: cover;
    background-blend-mode: overlay;
    padding: 0 5%;
    background-position: center;
    padding-bottom: 140px;
}

.hero {
    background-position: center;
    height: 100vh;
    position: relative;
    width: 100%;
    justify-content: center;
    background-size: cover;
    background-blend-mode: normal;
    padding: 0 1%;
    background-image: linear-gradient( 0deg, black, #0000007d), url(/img/lavori/michaelmeyer.jpeg);
    background-size: cover;
}

@media (max-width: 700px) {
    .hero {
        align-items: center !important;
    }
    .hero .row {
        align-items: center !important;
        height: 100%;
    }
}

@media (min-width: 701px) {
    .hero {
        align-items: center;
    }
    .hero .row {
        align-items: center;
        height: 100%;
        max-width: 700px;
    }
}

.title_hero {
    font-size: 2.3rem;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    transform: translateY(-150px);
}

.img_hero {
    opacity: 0;
    transform: translateY(100px);
}

.hero_text {
    text-align: center;
    opacity: 0;
    transform: translatex(-100px);
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: calc(50% - 16px);
    display: block;
    width: 32px;
    height: 32px;
    background-size: 14px auto;
    z-index: 2;
    -webkit-animation: bounce 2s infinite 2s;
    animation: bounce 2s infinite 2s;
    opacity: 0;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
}

.scroll-down:before {
    position: absolute;
    top: calc(50% - 8px);
    left: calc(50% - 6px);
    transform: rotate( -45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 2px solid white;
    border-width: 0px 0 2px 2px;
}

@keyframes bounce {
    0%,
    100%,
    20%,
    50%,
    80% {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    40% {
        -webkit-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    60% {
        -webkit-transform: translateY(-5px);
        -ms-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

.soluzioni {
    background-image: url(/img/essential/essential1.jpeg), linear-gradient( 180deg, #bbbbbb00 45%, #ffffff);
}

.allesimenti {
    background-image: url(/img/flat/flat1.jpeg), linear-gradient( 180deg, #bbbbbb00 45%, #ffffff);
}

.pareti {
    background-image: url(/img/loft/loft2.jpeg), linear-gradient( 180deg, #bbbbbb00 45%, #ffffff);
}

.clean {
    background-image: url(/img/cubic/cubic1.jpeg), linear-gradient( 180deg, #bbbbbb00 45%, #ffffff);
}

.lavori {
    background-image: url(/img/lavori/miriade.jpeg), linear-gradient( 180deg, #bbbbbb00 45%, #ffffff);
}

.banner1 {
    height: 100vh;
    position: relative;
    width: 100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: flex;
    position: relative;
    justify-content: space-around;
}

.banner1 .banner-addition-bg {
    background: #414141;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.banner1 .banner-bg {
    background: #1b1b1b;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.content-inner {
    transform: translateY(-50px);
    overflow: hidden;
    opacity: 0;
}

.hidden {
    overflow: hidden;
}

svg {
    fill: #000000;
}

.dark {
    background: #000000 !important;
}

.light {
    color: #efeee9;
}

.banner .banner-inner .content .content-inner h1 .line span {
    position: absolute;
}

.banner .banner-inner .content .content-inner p {
    font-size: 1rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: #233567;
    width: 520px;
    margin: 32px 0 80px;
}

@media (max-width: 1440px) {
    .banner .banner-inner .content .content-inner p {
        margin: 16px 0 60px;
    }
}

.banner .banner-inner .content .content-inner .btn-row a {
    display: inline-block;
    height: 56px;
    line-height: 56px;
    font-size: 1rem;
    padding: 0 32px;
    text-decoration: none;
    font-weight: 600;
    color: #ffffff;
    background: #d57868;
    border-radius: 100px;
}

.banner .banner-inner .content .content-inner .play-video {
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 4px 4px 0 0;
    overflow: hidden;
}

.banner .banner-inner .content .content-inner .play-video .cover {
    padding: 0;
    background: #ffe5e5;
    right: 0;
    z-index: 9;
    height: 64px;
}

.banner .banner-inner .content .content-inner .play-video span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 64px;
    padding: 0 32px;
    background: #ffffff;
    font-weight: 600;
    color: #233567;
}

.banner .banner-inner .content .content-inner .play-video span img {
    margin-right: 1rem;
}

.banner .banner-inner .image {
    position: relative;
    width: 40%;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.banner .banner-inner .image .image-inner img {
    width: 450px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9;
}

@media (max-width: 1440px) {
    .banner .banner-inner .image .image-inner img {
        width: 400px;
    }
}

.banner .banner-inner .image .image-inner .feature-banner {
    position: absolute;
    bottom: 286px;
    left: -10px;
    background: #315b96;
    color: #ffffff;
    height: 52px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0 32px;
    border-radius: 4px;
    font-weight: 600;
}

.banner .banner-inner .image .image-inner .feature-banner.green {
    background: #76d8aa;
    right: 32px;
    left: auto;
    bottom: 116px;
}

@media (max-width: 1440px) {
    .banner .banner-inner .image .image-inner .feature-banner.green {
        right: -24px;
    }
}

.about-content {
    max-width: 900px;
    margin: 0px auto 90px auto;
    text-align: center;
}

.about-content .title {
    color: #233567;
    font-size: 2rem;
    font-weight: 600;
}

.about-content p {
    color: #233567;
    font-weight: 300;
    font-size: 1rem;
}

.about-content .line {
    height: 60px;
    overflow: hidden;
    margin-bottom: 60px;
}

.content-list-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 40px;
}

.content-list {
    width: 100%;
    max-width: 100%;
    text-align: center;
}

.content-list h5 {
    font-size: 1.4rem;
    line-height: 1.8rem;
    font-weight: 600;
    color: #233567;
}

.content-list p {
    color: #233567;
    font-weight: 300;
    font-size: 1rem;
}

.transition {
    position: fixed;
    z-index: 101;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.transition li {
    width: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    background: #292928;
    height: 100vh;
    z-index: 999;
}

@media (min-width: 760px) {
    .content-list {
        width: calc(33.33% - 50px);
        max-width: calc(33.33% - 50px);
    }
}

.footer_share {
    list-style: none;
    display: inline-flex;
}

.footer_share i {
    padding: 10px;
}


/*SWIPER*/

.swiper-container {
    max-width: 700px;
    width: 100%;
    height: 100%;
    padding-bottom: 20px !important;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box;
}

ul.swiper-wrapper {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
    width: 100% !important;
}

.swiper-slide img {
    display: block;
    width: 85%;
    height: 100%;
    object-fit: cover;
    margin: auto;
}

.swiper-pagination {
    bottom: 0 !important;
}

.pswp__ui--idle .pswp__top-bar {
    opacity: 1 !important;
}

.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
    background-color: transparent;
}

.pswp__bg {
    background: #000000e0;
}


/*
.pswp__container,
.pswp__zoom-wrap {
    transition: all 0.5s;
}*/

.pswp__caption {
    position: fixed;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333333;
}

.swiper-pagination-bullet-active {
    background: #373737;
}

.swiper-button-prev,
.swiper-container-rtl .swiper-button-next {
    left: 0px;
}

.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
    right: 0px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 2rem;
}

.pswp img {
    object-fit: contain;
}

.pswp__caption__center {
    text-align: center;
}

.pswp {
    height: 110vh;
}


/*PHOTOSWIPE*/

figure img {
    transition: all .5s ease-in-out;
}

figure img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .divano figure {
        display: inline-block;
        width: 50%;
        padding: 0;
        padding: 10px;
    }
    .fade_active {
        text-align: center;
    }
}

@media (max-width: 768px) {
    figure {
        display: inline-block;
        width: 100%;
        padding: 0;
        padding-top: 10px;
    }
}

@media (min-width: 769px) and (max-width:1100px) {
    figure {
        display: inline-block;
        width: 33.33%;
        padding-top: 10px;
    }
}

figcaption{
    font-size:1.5rem;
}

.scheda_indici {
    background: #fff;
    margin-top: 80px;
}

.blocco_divano,
.row_blocco {
    padding: 15px;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 1 !important;
}

img {
    width: 100%;
}

.spacer {
    height: 5em;
}

.transition {
    position: fixed;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.transition li {
    width: 100%;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    background: #131313;
    height: 100vh;
    z-index: 999;
}


/*PHOTOSWIPE*/

.pswp img {
    object-fit: contain;
}

.pswp__caption__center {
    text-align: center;
}

figure img {
    opacity: 1;
}

figure:before {
    content: "";
    padding-top: 100%;
    display: block;
}

figure {
    display: inline-block;
    width: calc(33.33% - 20px);
    float: left;
    margin: 10px;
    padding: 0px;
    position: relative !important;
    overflow: hidden;
}

@media (max-width: 768px) {
    figure {
        display: inline-block;
        width: calc(100% - 20px);
    }
}

@media (min-width: 769px) and (max-width:1100px) {
    figure {
        display: inline-block;
        width: calc(50% - 20px);
    }
}

.imagega {
    position: absolute;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
}

.pswp__ui--idle .pswp__button--arrow--left,
.pswp__ui--idle .pswp__button--arrow--right {
    opacity: 1 !important;
}

.pswp__scroll-wrap {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
}

img {
    width: 100%;
}

.spacer {
    height: 5em;
}


/*photoswipe*/


/*carosello*/


/* zero custom styles for photoswipe */


/*==================================
SWIPER - minimal styling
===================================*/


/* semantic HTML - remove bullet and space from the list */

ul.swiper-wrapper {
    list-style-type: none;
    margin: 0;
    padding: 0;
}


/* Swiper container */

.swiper-container {
    max-width: 100%;
    height: 350px;
    padding-bottom: 50px;
}


/* swiper responive image */

.swiper-container img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.swiper-slide {
    /* Remove this if you want 1 slide perview - than change slidesPerView js-option to 1 -or- 2+ instead of 'auto' */
    width: 100%;
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: calc(50% - 22px);
}


/* Swiper custom pagination */

.swiper-pagination-bullet {
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 34px;
    font-size: 14px;
    color: #000;
    opacity: 1;
    background: rgba(0, 0, 0, 0.3);
    transition: background-color 0.5s ease, color 0.5s ease;
}


/* Swiper custom pagination */

.swiper-pagination-bullet:hover {
    transition: background-color 0.5s ease;
    background: rgba(0, 0, 0, 1);
    color: white;
}


/* Swiper custom pagination active state */

.swiper-pagination-bullet-active {
    color: #fff;
    background: black;
}


/*==================================================================
  CODEPEN STYLES -(under codepen gear/setting icon)
  ==============================================++++++================*/

.tippy-tooltip.light-theme {
    color: #26323d;
    box-shadow: 0 0 20px 4px rgba(154, 161, 177, 0.15), 0 4px 80px -8px rgba(36, 40, 47, 0.25), 0 4px 4px -2px rgba(91, 94, 105, 0.15);
    background-color: white;
}

.tippy-backdrop {
    background-color: white;
}

.tippy-roundarrow {
    fill: white;
}


/* Default (sharp) arrow */

.tippy-popper[x-placement^='top'] .tippy-tooltip.light-theme .tippy-arrow {
    border-top-color: #fff;
}

.tippy-popper[x-placement^='bottom'] .tippy-tooltip.light-theme .tippy-arrow {
    border-bottom-color: #fff;
}

.tippy-popper[x-placement^='left'] .tippy-tooltip.light-theme .tippy-arrow {
    border-left-color: #fff;
}

.tippy-popper[x-placement^='right'] .tippy-tooltip.light-theme .tippy-arrow {
    border-right-color: #fff;
}


/* Round arrow */

.tippy-tooltip.light-theme .tippy-roundarrow {
    fill: #fff;
}


/*carosello*/


/*FONT*/

h2 {
    font-size: 1.8rem;
}

.image-trans {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #000000;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
}

.ggg2v {
    opacity: 0;
    display: none;
}

.fadin {
    opacity: 0;
    transition: all 0.9s ease;
    will-change: opacity;
}

.desc-mobile {
    padding: 5rem 3rem;
}

@media (max-width: 768px) {
    .desc-mobile {
        padding: 2rem 1rem;
    }
}

@media (min-width: 991px) {
    .invert-sm {
        padding: 6% 4%;
    }
}

.backg::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(26, 26, 26);
    clip-path: polygon(0px 0px, 50% 0px, 100% 100%, 0 100%);
    z-index: -1;
}

.backg2:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(26, 26, 26);
    clip-path: polygon(50% 0px, 100% 0px, 100% 100%, 0 100%);
    z-index: -1;
}

.img-section {
    width: 100% !important;
    object-fit: cover;
}

.fix {
    position: absolute;
    top: 30px;
    left: 20%;
    font-size: 50px;
    color: #fff;
}

.fade_active {
    opacity: 1;
}

.center {
    text-align: center;
}

.w-100 {
    object-fit: cover;
    height: 100vh;
}

.blue {
    background: blue;
}

@media (max-width: 600px) {
    .carousel {
        height: 100vh;
    }
    .carousel-inner {
        height: 100vh;
    }
    .arrow {
        display: none;
    }
}

.carouselnews {
    height: 300px;
}

.imgport {
    width: 100%;
    height: 300px;
}

.copertina {
    height: 150px;
    display: flex;
    align-items: center;
    background: red;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.breadcrumb {
    margin-bottom: 0;
    background-color: transparent;
}

.subheader-section {
    height: 100vh;
    background-image: url(/assets/img/all1.jpg), linear-gradient(to top, #000000c4 7%, transparent 50%);
    padding-bottom: 50px;
    background-size: cover;
    background-blend-mode: overlay;
    position: relative;
    background-position: center bottom !important;
}

.per {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.chi {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.all {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.ris {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.par {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.cle {
    background: url(/assets/img/pergole/light/light1.jpg), linear-gradient(to top, white 18%, transparent 41%);
    padding-bottom: 50px;
}

.separatore {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0px;
}

@media (max-width: 768px) {
    .subheader-section {
        height: 100vh;
    }
}


/*-----------------------------------------------------------



*/

.gallery {
    display: flex;
    flex-wrap: wrap;
    /* Compensate for excess margin on outer gallery flex items */
    margin: -1rem -1rem;
}

.gallery-item {
    /* Minimum width of 24rem and grow to fit available space */
    flex: 1 0 24rem;
    /* Margin value should be half of grid-gap value as margins on flex items don't collapse */
    margin: 1rem;
    box-shadow: 0.3rem 0.4rem 0.4rem rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease-out;
}


/*

The following rule will only run if your browser supports CSS grid.

Remove or comment-out the code block below to see how the browser will fall-back to flexbox styling. 

*/

@supports (display: grid) {
    .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, -1fr));
        grid-gap: 1rem !important;
        overflow: hidden;
    }
    .gallery,
    .gallery-item {
        margin: 0;
    }
}

.servizi-section {
    padding: 5rem 3rem;
    background: #000000;
    max-width: 1200px;
}

#partner {
    padding: 60px;
    overflow: hidden;
}

#partner .owl-nav,
#partner .owl-dots {
    margin-top: 25px;
    text-align: center;
}

#partner .owl-item {
    border-left: 2px solid #fff;
    border-right: 2px solid #fff;
}

#partner .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
}

#partner .owl-dot.active {
    background-color: #f82249;
}

#partner .gallery-carousel .owl-stage-outer {
    overflow: hidden;
}

#partner .gallery-carousel .center {
    border: 6px solid #f82249;
    margin: -10px;
    box-sizing: content-box;
    padding: 4px;
    background: #fff;
    z-index: 1;
}


/*end gallery*/


/** Preloader
* https://ihatetomatoes.net/create-custom-preloading-screen/
*/

#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050;
}

#loader {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 2s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 2s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
    z-index: 1051;
}

#loader:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 3s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 3s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

#loader:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    -webkit-animation: spin 1.5s linear infinite;
    /* Chrome, Opera 15+, Safari 5+ */
    animation: spin 1.5s linear infinite;
    /* Chrome, Firefox 16+, IE 10+, Opera */
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);
        /* IE 9 */
        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);
        /* IE 9 */
        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

@keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(0deg);
        /* IE 9 */
        transform: rotate(0deg);
        /* Firefox 16+, IE 10+, Opera */
    }
    100% {
        -webkit-transform: rotate(360deg);
        /* Chrome, Opera 15+, Safari 3.1+ */
        -ms-transform: rotate(360deg);
        /* IE 9 */
        transform: rotate(360deg);
        /* Firefox 16+, IE 10+, Opera */
    }
}

#loader-wrapper .loader-section {
    position: fixed;
    top: 0;
    width: 51%;
    height: 100%;
    background: #ab2f2a;
    z-index: 1050;
    -webkit-transform: translateX(0);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(0);
    /* IE 9 */
    transform: translateX(0);
    /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
    left: 0;
}

#loader-wrapper .loader-section.section-right {
    right: 0;
}


/* Loaded */

.loaded #loader-wrapper .loader-section.section-left {
    -webkit-transform: translateX(-100%);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(-100%);
    /* IE 9 */
    transform: translateX(-100%);
    /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
    -webkit-transform: translateX(100%);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateX(100%);
    /* IE 9 */
    transform: translateX(100%);
    /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
    transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.loaded #loader-wrapper {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-100%);
    /* IE 9 */
    transform: translateY(-100%);
    /* Firefox 16+, IE 10+, Opera */
    -webkit-transition: all 0.3s 1s ease-out;
    transition: all 0.3s 1s ease-out;
}


/* end Preloader */

@media (max-width: 2000px) {
    .navbar-collapse {
        position: absolute;
        top: 54px;
        left: 100%;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 15px;
        width: 100%;
        transition: all 0.4s ease;
        display: block;
    }
    .navbar-collapse.collapsing {
        height: auto !important;
        margin-left: 50%;
        left: 50%;
        transition: all 0.2s ease;
    }
    .navbar-collapse.show {
        left: 0;
    }
}


/* arrow*/

.arrow {
    position: absolute;
    bottom: 100px;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-left: -25px;
    border-left: 5px solid #ffffff;
    border-bottom: 5px solid #ffffff;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb05 1.5s infinite;
    animation: sdb05 1.5s infinite;
    box-sizing: border-box;
}

@-webkit-keyframes sdb05 {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb05 {
    0% {
        transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}


/* arrow */


/*HAMBURGER*/

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

#menu-wrapper {
    overflow: hidden;
    max-width: 100%;
    cursor: pointer;
}

#menu-wrapper #hamburger-menu {
    position: relative;
    width: 25px;
    height: 20px;
    margin: 15px;
}

#menu-wrapper #hamburger-menu span {
    opacity: 1;
    left: 0;
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    color: black;
    background-color: #000;
    position: absolute;
    transform: rotate(0deg);
    transition: .4s ease-in-out;
}

#menu-wrapper #hamburger-menu span:nth-child(1) {
    top: 0;
}

#menu-wrapper #hamburger-menu span:nth-child(2) {
    top: 9px;
}

#menu-wrapper #hamburger-menu span:nth-child(3) {
    top: 18px;
}

#menu-wrapper #hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(135deg);
}

#menu-wrapper #hamburger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-60px);
}

#menu-wrapper #hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-135deg);
}

#menu-container .menu-list .menu-submenu {
    padding-top: 20px;
    padding-bottom: 20px;
}

#menu-container .menu-list {
    padding-right: 0;
    display: block;
    position: absolute;
    width: 100%;
    background: white;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    right: -100%;
    height: 100vh;
    top: 66px;
}

#menu-container .menu-list li,
#menu-container .menu-list .menu-login {
    font-size: 16px;
    padding: 20px;
    text-transform: uppercase;
    border-top: 1px solid #dbdcd2;
}

#menu-container .menu-list li:first-of-type {
    border-top: 0;
}

.accordion-toggle,
.accordion-content {
    cursor: pointer;
    font-size: 16px;
    position: relative;
    letter-spacing: 1px;
}

.accordion-content {
    display: none;
}

.accordion-toggle a:before,
.accordion-toggle a:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 15px;
    height: 2px;
    margin-top: -1px;
    background-color: #5a5858;
    transform-origin: 50% 50%;
    transition: all 0.3s ease-out;
    pointer-events: none;
}

.accordion-toggle a:before {
    transform: rotate(-90deg);
    opacity: 1;
    z-index: 2;
}

.accordion-toggle.active-tab {
    background: yellowgreen;
    transition: all 0.3s ease;
}

.accordion-toggle a.active:before {
    transform: rotate(0deg);
    background: #fff !important;
}

.accordion-toggle a.active:after {
    transform: rotate(180deg);
    background: #fff !important;
    opacity: 0;
}

@media (min-width: 600px) {
    #menu-container .menu-list {
        width: 30%;
    }
}


/*HAMBURGER*/


/*portfolio hover*/

.container_foto {
    max-width: calc(25% - 20px) !important;
    padding: 0;
    overflow: hidden;
    margin: 10px;
}

@media (max-width: 750px) {
    .container_foto {
        width: calc(50% - 20px) !important;
        flex: 0 0 calc(50% - 20px);
        max-width: 50% !important;
    }
}

@media (max-width: 550px) {
    .container_foto {
        width: calc(100% - 20px) !important;
        flex: 0 0 calc(100% - 20px);
        max-width: 100% !important;
    }
    .container_foto .ver_mas {
        transform: translate(0px, 0px);
        -webkit-transform: translate(0px, 0px);
        -moz-transform: translate(0px, 0px);
        -o-transform: translate(0px, 0px);
        -ms-transform: translate(0px, 0px);
        opacity: 1;
        background-color: #feb66cb8;
    }
}

.container_foto h2 {
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    text-align: left;
    padding: 10px;
}

.container_foto img {
    width: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all 4s ease;
    -moz-transition: all 4s ease;
    -o-transition: all 4s ease;
    -ms-transition: all 4s ease;
    transition: all 4s ease;
    height: 20vw;
    object-fit: cover;
    min-height: 350px;
}

.ver_mas {
    background-color: #feb66cb8;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: 1;
    opacity: 0;
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    text-decoration: underline transparent !important;
}

.img-responsive {
    object-fit: cover !important;
    height: 100% !important;
}

.portfolio {
    padding: 2rem 1rem;
}

.ver_mas:hover {
    text-decoration: underline transparent !important;
}


/*hovers*/

.container_foto:hover {
    cursor: pointer;
}

.container_foto:hover .ver_mas {
    transform: translate(0px, 0px);
    -webkit-transform: translate(0px, 0px);
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    opacity: 1;
}


/*portfolio hover*/


/*2 HOVER*/

.hovereffect {
    width: 100%;
    height: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    background: #42b078;
    max-height: 300px;
}

.hovereffect .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    padding: 20px 20px;
}

.hovereffect img {
    display: block;
    position: relative;
    max-width: none;
    width: calc(100% + 20px);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(-10px, 0, 0);
    transform: translate3d(-10px, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hovereffect:hover img {
    opacity: 0.4;
    filter: alpha(opacity=40);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hovereffect h2 {
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    position: relative;
    font-size: 17px;
    overflow: hidden;
    padding: 0.5em 0;
    background-color: transparent;
}

.hovereffect h2:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    content: '';
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.hovereffect:hover h2:after {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.hovereffect a,
.hovereffect p {
    color: #FFF;
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.hovereffect:hover a,
.hovereffect:hover p {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

@media (max-width: 1000px) {
    .hovereffect a,
    .hovereffect p {
        opacity: 1;
        filter: alpha(opacity=100);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .hovereffect img {
        opacity: 0.4;
        filter: alpha(opacity=40);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    .hovereffect {
        width: 100%;
        height: 100%;
        float: left;
        overflow: hidden;
        position: relative;
        cursor: default;
        background: #42b078;
    }
}


/*menu*/

#menuToggleright {
    display: block;
    position: relative;
    right: 20px;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
}

#menuToggleright a {
    text-decoration: none;
    color: #232323;
    transition: color 0.3s ease;
}

#menuToggleright a:hover {
    color: red;
}

#menuToggleright input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    cursor: pointer;
    opacity: 0;
    /* hide this */
    z-index: 2;
    /* and place it over the hamburger */
    -webkit-touch-callout: none;
}


/*
 * Just a quick hamburger
 */

#menuToggleright span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    background: #cdcdcd;
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
}

#menuToggleright span:first-child {
    transform-origin: 0% 0%;
}

#menuToggleright span:nth-last-child(2) {
    transform-origin: 0% 100%;
}


/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */

#menuToggleright input:checked~span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
}


/*
 * But let's hide the middle one.
 */

#menuToggleright input:checked~span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}


/*
 * Ohyeah and the last one should go the other direction
 */

#menuToggleright input:checked~span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
}


/*
 * Make this absolute positioned
 * at the top left of the screen
 */

#menuright {
    position: fixed;
    width: 100vw;
    right: 0;
    top: 101px;
    height: 100vh;
    padding: 50px;
    padding-top: 125px;
    background: #fff;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(100%, 0);
    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menuright li {
    padding: 10px 0;
    font-size: 22px;
}


/*
 * And let's slide it in from the left
 */

#menuToggleright input:checked~ul {
    transform: none;
}

.category_container {
    border: 5px solid;
}

.left_tab {
    text-align: right;
    padding-right: 10px;
    border-right: solid 3px #b8e0c6;
    font-weight: 600;
}

.right_tab {
    padding-left: 10px;
}


/*FINE MENÃ™*/

main {
    opacity: 0;
    background: #000;
}

.home-header {
    display: none;
}

.home-section {
    padding: 0;
    height: 100vh;
}

.home-carousel,
.carousel-inner {
    height: 100vh;
}

.ev-description {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
    padding-bottom: 50px;
    background-position: left;
    background-blend-mode: soft-light;
}

h1 {
    font-weight: 400;
}

p {
    font-weight: 300;
}

.slim-header {
    padding: 0;
}

.ev-content {
    width: 100%;
    text-align: center;
}

.btn {
    padding: 0.3rem 2.2rem 0 0.2rem;
    border-radius: 0;
    border: 0 !important;
    border-bottom: solid 1px !important;
    font-size: small;
}

.aze-btn {
    border: 1px solid #000;
}


/*FOOTER*/

.footer {
    background: linear-gradient(rgb(0, 0, 0), rgba(0, 0, 0, 0.7));
    background-size: cover;
    padding: 8% 2% 0;
    font-size: 90%;
}

@media screen and (max-width:768px) {
    .footer {
        padding: 15% 2% 0;
    }
}



.second2 i {
    font-size: 25px;
    padding: 10px;
}

.first {
    margin-top: 40px;
    margin-bottom: 50px;
    color: rgb(206, 206, 206);
}

.first h4 {
    font-size: 20px;
    letter-spacing: 3px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.6em;
    color: #fff;
    padding-bottom: 0.5em;
}

.first h4::after {
    content: '';
    background: #66c83d;
    width: 20%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.first p {
    font-size: 14px;
}

.second {
    margin-top: 40px;
    margin-bottom: 50px;
    color: rgb(206, 206, 206);
    text-align: center;
}

.second2 {
    margin-top: 15px;
    color: rgb(206, 206, 206);
    text-align: center;
}

.second h4 {
    font-size: 20px;
    letter-spacing: 3px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.6em;
    color: #fff;
    padding-bottom: 0.5em;
}

.second h4::after {
    content: '';
    background: #66c83d;
    width: 20%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 40%;
}

.second li {
    list-style: none;
    padding-bottom: 30px;
}

.second a,
.second2 a {
    color: rgb(206, 206, 206);
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.2s;
}

.second a:hover,
.second2 a:hover {
    color: #fff;
    transition: 0.2s;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 1);
    text-decoration: none
}

.third {
    margin-top: 10px;
    margin-bottom: 30px;
    color: rgb(206, 206, 206);
    text-align: left;
}

.third h4 {
    font-size: 20px;
    letter-spacing: 3px;
    position: relative;
    margin-bottom: 20px;
    font-size: 1.4em;
    color: #fff;
    padding-bottom: 0.5em;
}

.third h4::after {
    content: '';
    background: #ffffff;
    width: 20%;
    height: 2px;
    position: absolute;
    bottom: 0;
    right: 80%;
}

.third li {
    list-style: none;
    padding-bottom: 15px;
}

.third a {
    color: rgb(206, 206, 206);
    text-decoration: none;
    letter-spacing: 3px;
    font-weight: 500;
    transition: 0.2s;
}

.third a:hover {
    color: #fff;
    transition: 0.2s;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 1);
}

.third p {
    font-size: 20px;
}

.slogan {
    font-size: 30px !important;
}

@media screen and (max-width:1000px) {
    .first {
        text-align: center;
    }
    .first h4::after {
        left: 40%;
    }
}

@media screen and (max-width:1000px) {
    .third {
        text-align: center;
    }
    .third h4::after {
        left: 40% !important;
    }
}

.margin {
    margin-left: 20px;
}

.line {
    height: 2px;
    background-color: rgb(206, 206, 206);
    width: 100%;
}

.container h1 {
    text-align: center;
    margin-top: 100px;
    margin-bottom: 100px;
}


/*FOOTER*/

.portfolio-section {
    background: #d0dbda;
    padding: 5%;
}

.news-section {
    padding: 5%;
}

.about-section {
    padding: 5rem 2rem;
    background: #000000;
}

.soft-light {
    color: #8d8d8d;
}

.cursive {
    font-style: oblique;
    font-size: 1.2rem;
}

.title_section {
    text-align: center;
    margin-bottom: 20px;
    overflow: hidden;
    --duration: 400ms;
    --delay: calc(var(--duration) / 2);
    --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

.title_section h2 {
    transform: translateY(110%);
    transition: transform var(--duration) var(--ease);
}

.slide_active.title_section h2 {
    transform: translateY(0);
    transition-delay: var(--delay);
}

.block-scroll {
    overflow-y: hidden;
}

.slim_header {
    margin-top: 100px;
}

.slim-bg {
    width: 100%;
    height: 250px;
}


/*
.slim_header::after {
    left: 0;
    content: "";
    width: 100%;
    height: 100%;
    background: #ffffffba;
    position: absolute;
    top: 0;
    z-index: 0;
}
*/

.slim-title {
    text-align: center;
    width: 100%;
    z-index: 1;
}

.first-section {
    box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.6);
    border-top: 1px solid rgb(102 137 147 / 31%);
}

.first-section-mk2 {
    border: 1px solid rgb(102 137 147 / 31%);
}

.breadcrumb {
    justify-content: center;
}

.page-container {
    width: 100%;
    padding-top: 30px;
}

.post_photo {
    margin-top: -200px !important;
    width: 85%;
    margin: auto;
}

.post_photo img {
    max-width: 550px;
    width: 100%;
    height: 350px;
    border: solid 10px #b8e0c6;
}

.slim-bg-post {
    width: 100%;
    height: 45vh;
    background-color: #b8e0c6;
}

tr {
    vertical-align: baseline;
    border-bottom: solid 15px transparent;
}


/*-------------DA WOOD------------------*/

.wrapper {
    /* The height needs to be set to a fixed value for the effect to work.
   * 100vh is the full height of the viewport. */
    height: 100vh;
    /* The scaling of the images would add a horizontal scrollbar, so disable x overflow. */
    overflow-x: scroll;
    /* Enable scrolling on the page. */
    /* Set the perspective to 2px. This is essentailly the simulated distance from the viewport to transformed objects.*/
    perspective: 2px;
}

.section {
    /* Needed for children to be absolutely positioned relative to the parent. */
    position: relative;
    /* The height of the container. Must be set, but it doesn't really matter what the value is. */
    height: 100vh;
    /* For text formatting. */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 0 0 5px #000;
}

.parallax::after {
    /* Display and position the pseudo-element */
    content: " ";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* Move the pseudo-element back away from the camera,
   * then scale it back up to fill the viewport.
   * Because the pseudo-element is further away, it appears to move more slowly, like in real life. */
    transform: translateZ(-1px) scale(1.5);
    /* Force the background image to fill the whole element. */
    background-size: 100%;
    /* Keep the image from overlapping sibling elements. */
    z-index: -1;
}


/* The styling for the static div. */

.static {
    background: red;
}


/* Sets the actual background images to adorable kitties. This part is crucial. */

.bg1::after {
    background-image: url("https://placekitten.com/g/900/700");
}

.bg2::after {
    background-image: url("https://placekitten.com/g/800/600");
}


/*menu gsap*/

menu,
ul {
    padding: 0;
}

menu ul li {
    text-align: center;
    margin: 20px auto;
    text-transform: uppercase;
    font-size: 1.6rem;
    opacity: 0;
    cursor: pointer;
}

menu {
    width: 100%;
    margin: 60px auto;
    position: relative;
    text-align: center;
    padding: 0;
    overflow-y: scroll;
    height: -webkit-fill-available;
    box-shadow: 1px -3px 2px #d6d6d6;
}

menu,
menu a {
    color: #5a5a5a;
}

menu a:hover {
    color: #2c2c2c;
    text-decoration: underline;
}

.sub_menu {
    font-size: 1.4rem;
}

.menudrop {
    position: fixed;
    opacity: 0;
    width: 100%;
    height: 100vh;
    display: none;
    background-color: rgb(238, 238, 238);
    z-index: 100;
    padding-bottom: 30px;
    left: 0;
    top: 0;
}

#hamburger {
    position: fixed;
    padding: 10px;
    top: 2px;
    right: 2%;
    width: 50px;
    height: 50px;
    z-index: 101;
    cursor: pointer;
}

#hamburger:hover {
    width: 60px;
}

#hamburger span {
    width: 100%;
    height: 2px;
    background-color: grey;
    display: block;
    margin: 7px auto;
}

#hamburger {
    transition: 0.3s;
}

#hamburger {
    animation: moveme 0.3s 2 alternate backwards;
}

@keyframes moveme {
    from {
        width: 65px;
    }
    to {
        width: 75px;
    }
}

@media only screen and (min-width: 576px) {
    menu ul li {
        font-size: 3.2rem;
    }
}


/*menu gsap*/


/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 80px);
    left: calc(50% - 80px);
    border: 6px solid #e33f2000;
    border-top-color: #684741;
    border-bottom-color: #d8d8d7;
    border-radius: 50%;
    width: 160px;
    height: 160px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logopreloader {
    height: 90px;
    object-fit: contain;
    position: fixed;
    top: calc(50% - 50px);
    left: calc(50% - 50px);
}


/*LOADER*/

.gall {
    padding: 30px !important;
    max-width: 1200px;
    margin: auto;
}

@media (min-width: 768px) {
    .invert {
        display: flex;
        flex-direction: row-reverse;
    }
}

.titolo {
    color: #4a4a4a;
}

.container {
    padding:150px 0px;
    position: relative;
 
}

.ico {
    position: absolute;
    bottom: 0;
    right: 25px;
    background: white;
    padding: 12px 20px;
    border-radius: 200px;
}

.icone {
    height: 100px !important;
    width: auto;
}

.logo {
    height: 90px;
    object-fit: contain;
    margin-bottom: -42px;
}

.logo-footer {
    height: 91px;
    object-fit: contain;
}

.chevron {
    position: absolute;
    width: 28px;
    height: 8px;
    opacity: 0;
    transform: scale3d(0.5, 0.5, 0.5);
    animation: move 3s ease-out infinite;
}

.chevron:first-child {
    animation: move 3s ease-out 1s infinite;
}

.chevron:nth-child(2) {
    animation: move 3s ease-out 2s infinite;
}

.chevron:before,
.chevron:after {
    content: ' ';
    position: absolute;
    top: 0;
    height: 100%;
    width: 51%;
    background: rgb(0, 0, 0);
}

.chevron:before {
    left: 0;
    transform: skew(0deg, 30deg);
}

.chevron:after {
    right: 0;
    width: 50%;
    transform: skew(0deg, -30deg);
}

@keyframes move {
    25% {
        opacity: 1;
    }
    33% {
        opacity: 1;
        transform: translateY(30px);
    }
    67% {
        opacity: 1;
        transform: translateY(40px);
    }
    100% {
        opacity: 0;
        transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
    }
}

.overflow-hidden {
    overflow: hidden;
}

.pSection1,
.pSection2,
.pSection3,
.pSection4,
.pSection5,
.pSection6,
.pSection7,
.pSection8,
.pSection9 {
    position: relative;
    height: 500px;
    background: rgb(0, 0, 0);
    overflow: hidden;
}

@media (max-width: 768px) {
    .pSection1,
    .pSection2,
    .pSection3,
    .pSection4,
    .pSection5,
    .pSection6,
    .pSection7,
    .pSection8,
    .pSection9 {
        position: relative;
        min-height: 800px;
        height: -webkit-fill-available;
        background: rgb(0, 0, 0);
        overflow: hidden;
    }
    .pImage1,
    .pImage2,
    .pImage3,
    .pImage4,
    .pImage5,
    .pImage6,
    .pImage7,
    .pImage8,
    .pImage9 {
        min-height: 400px;
    }
    h2,
    p {
        text-align: center;
    }
}

.pImage1,
.pImage2,
.pImage3,
.pImage4,
.pImage5,
.pImage6,
.pImage7,
.pImage8,
.pImage9 {
    width: 100%;
    position: relative;
    top: 0;
    /* right: 50px; */
    /* max-height: 900px; */
    background-size: 100%;
    /*background-attachment: fixed;*/
    height: 100%;
    background-size: cover !important;
    background-position-x: center !important;
}

@media (min-width: 769px) {
    .descr_home {
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .descr_home {
        padding: 3rem 0rem;
        text-align: center;
    }
}


/*
.shadow_right {
    box-shadow: 20px 20px 0 #353535;
}

.shadow_left {
    box-shadow: -20px 20px 0 #353535;
}*/

.col-md-6 {
    overflow: hidden;
}

.h-100 {
    height: 100%;
}

.images {
    width: 100%;
    object-fit: cover;
}

.pImage1 {
    background: url("/img/perg.jpeg");
}

.pImage2 {
    background: url("/img/risto.jpg");
    /*background-attachment: fixed !important;*/
}

.pImage3 {
    background: url("/img/allesimenti.jpg");
}

.pImage4 {
    background: url("/img/clean.jpg");
}

.pImage5 {
    background: url("/img/anti.jpg");
}

.pImage6 {
    background: url("/img/lavori/miriade.jpeg");
}

.btn_scopri {
    color: wheat;
    padding: 5px 10px;
    border-bottom: solid 1px wheat;
    border-left: solid 1px wheat;
    transition: all 0.5s;
}

.btn_scopri:hover {
    text-decoration: none;
    color: #000;
    background-color: wheat;
    padding: 8px 14px;
}

.bx {
    padding: 0;
    margin: 1rem;
    height: 250px;
}

@media (min-width: 769px) {
    .bx {
        padding: 0;
        margin: 1rem;
        max-width: calc(33.33% - 2rem);
    }
}

.bx img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    min-width: 250px;
}

.icoscroll {
    width: auto;
    height: 60px;
    animation: scroll ease 1.5s infinite;
}

@keyframes scroll {
    0% {
        transform: translateX(-50);
    }
    50% {
        transform: translateX(50px);
    }
    0% {
        transform: translateX(-50);
    }
}

.caro {
    padding: 50px 5%;
}

.ggg2v .light {
    padding: 5% 5% 8%;
}

.bx a div {
    font-size: 21px;
}


/*reveal on scroll overlay img*/

.image {
    margin: auto;
    position: relative;
    width: 300px;
    height: 300px;
}

.image-transp {
    position: relative;
    width: 300px;
    height: 300px;
    backface-visibility: hidden;
    background-color: #000000;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
    transform-origin: top right;
}

.image-contentp {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url('https://i.ebayimg.com/images/g/WVUAAOSw7NNUIWUi/s-l500.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -30px 0;
    opacity: 0;
    transition: all .5s ease;
}


/*reveal on scroll overlay img*/

.fit-cov {
    object-fit: cover;
    height: 350px;
}


/*chi siamo*/

.separatoreh {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    filter: drop-shadow(0 6px 3px #4a4a4a1e);
    z-index: 99;
}

.separatoreb {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 99;
}

.separatoret {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}

@media (min-width: 700px) {
    .separatoret,
    .separatoreb,
    .separatoreh,
    .inverso {
        height: 20px;
    }
}

.chisiamo {
    padding: 10% 10%;
    max-width: 1200px;
}

@media (max-width: 700px) {
    .chisiamo {
        padding: 50px 25px;
    }
}

.bord:before {
    /* border: 1px solid #dee2e6!important; */
    content: "";
    position: absolute;
    right: 0;
    bottom: -15px;
    /* background: red; */
    width: 65px;
    height: 65px;
    z-index: 999;
    border-bottom: solid 1px #e54020bf;
    border-right: solid 1px #e54020bf;
}

.bord:after {
    /* border: 1px solid #dee2e6!important; */
    content: "";
    position: absolute;
    left: 0;
    top: -15px;
    /* background: red; */
    width: 65px;
    height: 65px;
    z-index: 999;
    border-top: solid 1px #e54020bf;
    border-left: solid 1px #e54020bf;
}

.servizi {
    padding: 10% 10%;
    max-width: 1200px;
}

@media (max-width: 700px) {
    .servizi {
        padding: 5% 25px;
    }
}


/*CHI SIAMO*/

.black {
    background: url(/assets/img/background1.jpg);
}

.black::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0.5;
    backdrop-filter: sepia(.9);
}

.white {
    color: white;
}

h4 {
    color: #000;
}

@media (min-width: 601px) {
    .des {
        width: 90%;
        background: #fff;
        margin: -30px auto 0;
        z-index: 99;
        display: inline-block;
        padding: 10px;
        box-shadow: 0 -6px 6px #565656;
    }
}

@media (max-width: 600px) {
    .des {
        background: #fff;
        z-index: 99;
        display: inline-block;
        padding: 10px;
        box-shadow: 0 6px 6px #565656;
    }
}

.pulse {
    animation: pulse 2s linear infinite;
    padding: 30px 20px 300px;
    font-size: 23px;
    background: #de0000;
    border-radius: 50px;
    color: #fff;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 #ff23237a, 0 0 0 0 #f49b9b;
    }
    40% {
        box-shadow: 0 0 0 30px rgba(201, 8, 95, 0), 0 0 0 10px rgba(201, 8, 95, 0)
    }
    80% {
        box-shadow: 0 0 0 30px rgba(201, 8, 95, 0), 0 0 0 10px rgba(201, 8, 95, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(201, 8, 95, 0), 0 0 0 20px rgba(201, 8, 95, 0)
    }
}

@media (max-width: 600px) {
    .carousel {
        height: 100vh;
    }
}

@media (max-width: 600px) {
    .carousel-inner {
        height: 100vh;
    }
}

.contact_botton {
    padding: 10px;
    width: fit-content;
    background: #de0000;
    color: #fff;
}

.mb {
    margin-bottom: 60px;
}

.mt {
    margin-top: 60px;
}

.specifica {
    /* Use vh as a fallback for browsers that do not support Custom Properties */
    height: calc(var(--vh, 1vh) * 100) !important;
    margin: 0 auto;
    max-width: 100%;
    overflow-y: hidden;
}

img {
    opacity: 1;
    transition: opacity 0.3s;
}

.logobianco {
    opacity: 0;
    width: 100%;
    object-fit: contain;
    height: 90px;
}

.inverso {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.galleria {
    height: 350px;
    object-fit: cover;
    width: 100%;
    margin: 15px 0;
}

.red {
    color: #de0000;
}

@media only screen and (min-width: 576px) {
    menu ul li {
        font-size: 25px;
    }
}


/* TEXT
=========================== */

.text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    color: #fff;
}

.text h1 {
    font-size: 40px;
    font-weight: lighter;
    letter-spacing: 5px;
    position: relative;
    overflow: hidden;
    height: 100px;
    width: 100%;
}

.text h1 .hidetext {
    position: absolute;
}

.text p {
    font-size: 40px;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-weight: lighter;
    position: relative;
    overflow: hidden;
    height: 50px;
    width: 100%;
}

.text p .hidetext {
    position: absolute;
}


/*reveal on scroll overlay img*/

.image {
    margin: auto;
    position: relative;
    width: 300px;
    height: 300px;
}

.image-trans {
    position: fixed !important;
    width: 300px;
    height: 100vh !important;
    backface-visibility: hidden;
    background-color: #5e5b57;
    height: 100%;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
    transform-origin: top right;
}

.image-transtop {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #000000;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
}

.image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    background-image: url('https://i.ebayimg.com/images/g/WVUAAOSw7NNUIWUi/s-l500.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: -30px 0;
    opacity: 0;
    transition: all .5s ease;
}


/*reveal on scroll overlay img*/


/*parallax*/

.bcg-parallax {
    padding: 250px 0;
    color: #fff;
    background-color: #000;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bcg {
    background: url('/assets/img/img2.jpg') no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 150vh;
    top: 0;
    z-index: 1;
    opacity: 0.7;
}

.content-wrapper {
    width: 90%;
    margin: 0 auto;
    max-width: 1140px;
    position: relative;
    z-index: 2;
}


/*parallax*/


/*-------------DA WOOD------------------*/

.panna {
    background: #f4f2ec;
}

.footer-container {
    padding: 50px;
}


/*
.image-trans {
    position: fixed !important;
    width: 300px;
    height: 100vh !important;
    backface-visibility: hidden;
    background-color: #5e5b57;
    height: 100%;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
    transform-origin: top right;
}

.image-transtop {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #000000;
    height: 100%;
    position: fixed;
    width: 100%;
    z-index: 2;
    transform: translate3d(0px, 0px, 0px) scale(0, 1);
}*/