/*
Theme Name: g2milanoservizi
Theme URI: https://opencollective.com/g2milanoservizi
Author: controlcode
Author URI: https://www.controlcode.it/
Text Domain: g2milanoservizi
*/


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
    font-family: 'Conthrax';
    src: url('./font/conthrax-sb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --color1: #095260;
    --color2: #c7dbda;
    --color3: #B8BCCA;
    --color4: #ededed;
    --color5: #12a19a;
}


@media (max-width: 576px) {
    .fs-28 {
        font-size: 20px !important;
    }

    .top-image {
        object-position: 13%;
    }

    .home-text-container{
        height: 100% !important;
    }
    .topClarify {
        background: #133b4675;
        height: 100% !important;
    }

    .customButton{
        font-size: 18px !important;
    }
}

@media (max-width: 1400px) {
    .translateUp {
        transform: translateY(0%) !important;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .fs-80 {
        font-size: 50px;
    }

    .fs-65 {
        font-size: 35px;
    }

    .fs-50 {
        font-size: 30px;
    }

    .fs-48 {
        font-size: 28px;
    }

    .fs-45 {
        font-size: 25px;
    }

    .fs-36 {
        font-size: 26px;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .fs-80 {
        font-size: 70px;
    }

    .fs-65 {
        font-size: 55px;
    }

    .fs-50 {
        font-size: 40px;
    }

    .fs-48 {
        font-size: 38px;
    }

    .fs-45 {
        font-size: 35px;
    }

    .fs-36 {
        font-size: 26px;
    }
}

@media (min-width: 1401px) {
    .fs-80 {
        font-size: 80px;
    }

    .fs-65 {
        font-size: 65px;
    }

    .fs-50 {
        font-size: 50px;
    }

    .fs-48 {
        font-size: 48px;
    }

    .fs-45 {
        font-size: 45px;
    }

    .fs-36 {
        font-size: 36px;
    }
}

/* a[href^="tel"] { */
a {
    color: inherit;
    /* text-decoration: none */
}

.conthrax {
    font-family: 'Conthrax', sans-serif;
    font-weight: normal;
    font-style: normal;
}

.color1 {
    color: var(--color1);
}

.bg-color1 {
    background-color: var(--color1);
}

.color2 {
    color: var(--color2);
}

.bg-color2 {
    background-color: var(--color2);
}

.color3 {
    color: var(--color3);
}

.bg-color3 {
    background-color: var(--color3);
}
.color4 {
    color: var(--color4);
}

.bg-color4 {
    background-color: var(--color4);
}

body {
    position: relative;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-display: swap;
}

.t-none {
    text-decoration: none !important;
}

.v-center {
    top: 50%;
    transform: translateY(-50%);
}

.object-cover {
    object-fit: cover;
}

.aspect-ratio1 {
    aspect-ratio: 1/1;
}

.w-fit {
    width: fit-content;
}

.cs-point {
    cursor: pointer;
}

.wrapper {
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.customButton,
.pagecontainer .customFile {
    padding: 12px 25px;
    min-width: max-content;
    border-radius: 8px;
    border: none;
    font-size: 16px;
}

.pagecontainer .customFile {
    border: solid 2px var(--color1);
    width: fit-content;

}

.pagecontainer .customFile a {
    text-decoration: none;
}

.customButton:hover,
.pagecontainer .customFile:hover {
    background-color: var(--color5) !important;
    color: white !important;
    border-color: var(--color5) !important;
}

.services-button {
    background-color: transparent;
}

.activeButton,
.services-button:hover {
    color: white;
    background-color: var(--color1);
}



.fs-28 {
    font-size: 28px;
}

.fs-24 {
    font-size: 24px;
}

.fs-22 {
    font-size: 22px;
}

.fs-20 {
    font-size: 20px;
}

.fs-18 {
    font-size: 18px;
}

.fs-16 {
    font-size: 16px;
}

.fs-14 {
    font-size: 14px;
}

.fs-12 {
    font-size: 12px;
}

.border-rad {
    border-radius: 20px;
}

.border-rads {
    border-radius: 20px 0 0 20px;
}

.border-rade {
    border-radius: 0 20px 20px 0;
}

.border-radt {
    border-radius: 20px 20px 0 0;
}

.border-radtb {
    border-radius: 0 0 20px 20px;
}

.w-fit {
    width: fit-content;
}

.h-fit {
    height: fit-content;
}

p {
    font-size: 18px;
}

.translateUp {
    transform: translateY(-25%);
}

@media (max-width: 575px) or (max-height: 475px) {

    .fs-64 {
        font-size: 34px !important;
    }

    .instasvg {
        width: 30px !important;
    }

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

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

    

    .homeSection {
        background-color: transparent !important;
        color: white !important;
    }

}

@media (max-width:767px) {
    .top-image {
        height: 100vh !important;
    }

    .contactPageForm {
        position: relative !important;
    }
}

@media (min-width:767px) {
    .home-text-container {
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (min-width:576px) and (max-width:991px) and (min-height:475px) {
    .fs-64 {
        font-size: 50px !important;
    }

    .fs-56 {
        font-size: 35px !important;
    }

    .instasvg {
        width: 35px !important;
    }

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

/* HEADER */
.fix-navbar {
    position: fixed;
    background-color: transparent;
    width: 100%;
    margin: auto;
    top: 0;
    left: 0;
    transition: 0.5s;
    z-index: 1500;
}

#logoTop {
    height: 60px;
    width: 250px;
    transition: 0.5s;
}

a.pagelink {
    color: inherit;
    text-decoration: none;
}


#workerimage {
    transition: opacity 1s ease-in-out;
    max-height: 80%;
}

#worktitle,
#workdescription {
    position: relative;

    transition: left 1s ease-in-out;
}

/* menu */
#main-menu {
    display: flex;
    gap: 15px;
    margin: 0;
    font-family: 'Conthrax', sans-serif;
}

#main-menu ul {
    padding: 0;
    margin: 0;
}

#main-menu li {
    list-style: none;
    position: relative;
}

#main-menu li:hover .sub-menu {
    display: block;
}

#main-menu>li>a {
    text-decoration: none;
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    display: block;
    text-transform: uppercase;
    position: relative;
}
.home #main-menu>li>a {
    color: white;
}
.page #main-menu>li>a, .single #main-menu>li>a {
    color: var(--color1);
}

#main-menu>li:not(:last-child)>a::after {
    content: "\\";
    position: absolute;
    right: -10px;
    color: white;
}

#main-menu a:hover {
    background-color: var(--color1) !important;
    color: white !important;
}

#main-menu .current-menu-item,
#main-menu li:hover {
    background-color: var(--color8);
    color: white;

}

#main-menu .sub-menu {
    background: var(--color1);
    color: white;
    padding: 24px;
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    border: solid var(--color1) 3px;
}

#main-menu .sub-menu li a {
    text-decoration: none;
    padding: 5px;
    width: 100%;
    display: block;
}

#main-menu .sub-menu li a:hover {
    background: var(--color2) !important;
    color: var(--color1) !important;

}

/* menu mobile */

.backsidemenu {
    width: 0%;
    z-index: 1500;
    opacity: 0;
    background-color: rgba(0, 0, 0, .651);
    height: 100%;
    position: fixed;
    overflow-x: hidden;
    top: 0;
}

.sidemenu {
    position: fixed;
    top: 0;
    left: -400px;
    max-width: 370px;
    z-index: 2000;
    min-width: 270px;
    height: 100%;
    padding-top: 0px !important;
    padding: 20px;
    color: white;
    transition: 0.3s;
    ;
}

.sidemenu .menu {
    padding-top: 15px !important;
    padding-left: 0 !important;
    height: 100%;
    overflow: auto;
}

.sidemenu .menu li {
    margin-bottom: 5px;

}

.sidemenu .menu>li {
    padding-bottom: 10px;
    list-style: none;
    font-size: 14px;
}

.sidemenu .menu li a {
    text-decoration: none;
    color: white;
}
.sidemenu .menu>li>a{
    font-weight: bold;
}
.sidemenu .menu li .sub-menu {
    padding-top: 10px !important;
    list-style: none;
    padding: 0;
}


.sidemenu .menu a:hover {
    font-weight: bold;
}

/* FINE HEADER */
/* FRONT PAGE */
.parallax {
    background-image: url('./images/disinfestazioni-abitazioni-e-imprese.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


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

    100% {
        transform: translateX(-100%);
    }
}

.skillscrolling-container {
    margin: auto;
    overflow: hidden;
    position: relative;
}



.skillscrolling-container::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.skillscrolling-container::before {
    left: 0;
    top: 0;
}

.skillscrolling {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 10);
}

.skillscrolling--element {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
    color: white;
    padding-left: 20px;
    font-size: 32px;
    min-width: fit-content;
}

@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

.property --finalnumber {
    syntax: "<integer>";
    initial-value: 0;
    /* Imposta un valore iniziale per --finalnumber */
}

/* number loading */
.counter {
    -webkit-animation: counter 3s ease-in-out;
    animation: counter 3s ease-in-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    counter-reset: num var(--num);
}

.counter::after {
    content: counter(num);
}

#counter1.counter {
    --finalnumber: 800;
}

#counter2.counter {
    --finalnumber: 3;
}

#counter3.counter {
    --finalnumber: 250;
}


.servicecontainer {
    cursor: pointer;
}

.servicenumber {
    border: solid 1px #B8BCCA;
    height: fit-content;
    padding: 2px 25px;
    border-radius: 20px;
}

.servicecontainer:hover .servicedescription {
    line-height: 1.5;
    transition: 0.3s;
}

.servicedescription {
    line-height: 0;
    transition: 0.3s;
    overflow: hidden;
}

/* metalli */
.box {
    transform: translate(0px, 200px);
    opacity: 0;
}

.contrast-image {
    filter: contrast(1.3);
}



.review-descritpion {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    transition: 0.3s;
}

.review-descritpion:hover {
    -webkit-line-clamp: 150 !important;
    transition: 0.3s;
}

.homeContactContainer {
    background: linear-gradient(180deg, white 50%, var(--color1) 50%);
}



.contactcontainer sup,
.cvform sup {
    color: #ED0131;
}

.contactcontainer label {
    font-size: 16px;
}

.contactcontainer .wpcf7-spinner {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
}

.contactcontainer .customButton {
    padding: 18px 18px;
}

/* FINE FRONT PAGE */

/* FOOTER */
.homeSection textarea,
.cvform textarea,
textarea {
    height: 150px;
}

.contactbanner {
    background: linear-gradient(#95BFE9, #3D68B7);
}



footer,
footer p {
    font-size: 16px;
}

#footer-menu {
    padding: 0;
}

#footer-menu li {
    list-style: none;
}

#footer-menu a {
    text-decoration: none;
    color: inherit;
}

#footer-menu a:hover {
    font-weight: bold;
}

/* FINE FOOTER */
/* ARTICOLO */
.cat-links {
    position: sticky;
    top: 100px;
}

.cat-block {
    border: solid var(--color1) 2px;
    padding: 2px 8px;
    font-size: 16px;
}

/* FINE ARTICOLO */

/* SHORTCODE */

/* scroll orizzontale servizi */




.horizontal-scroll {
    padding: 2em;
    position: relative;
    /*border-top: 1px solid white;
    border-bottom: 1px solid white;*/

    overflow: hidden;
}

.horizontal-scroll .track {
    display: flex;
    justify-content: flex-start;

}



/* articoli */
.article-page-image {
    max-height: 400px;
    object-fit: cover;
}

.article-image {
    height: 150px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.2s;
}

.article-image-container:hover .article-image {
    scale: 1.3;
    transition: 0.2s;
}




/* FINE SHORTCODE */


/* YOAST */
#breadcrumbs span {
    text-transform: capitalize;
    font-size: 12px;
}

/* FINE YOAST */

/* EFFETTI */
@keyframes counter {
    from {
        --num: 0;
    }

    to {
        --num: var(--finalnumber);
    }
}

.slideEndInAnimation {
    -webkit-animation: slideEndIn 0.8s forwards;
    animation: slideEndIn 0.8s forwards;
}

@keyframes slideEndIn {
    from {
        right: -100%;
    }

    to {
        right: 0%;
    }
}

.slideStartInAnimation {
    -webkit-animation: slideStartIn 0.8s forwards;
    animation: slideStartIn 0.8s forwards;
}

@keyframes slideStartIn {
    from {
        left: -100%;
    }

    to {
        left: 0%;
    }
}

.slideBottomInAnimation {
    -webkit-animation: slideBottomIn 0.8s forwards;
    animation: slideBottomIn 0.8s forwards;
}

@keyframes slideBottomIn {
    from {
        transform: translate(0px, 200px);
        opacity: 0;
    }

    to {
        transform: translate(0px, 0px);
        opacity: 1;
    }
}

.pageserviceContainer {
    clip-path: inset(0 0 0 0);
}

.pageserviceContent {
    position: absolute;
    height: fit-content;
    left: 0vw;
}

.pageserviceElement {
    min-width: 500px;
    width: 500px;
    max-width: 500px;
}

@media (max-width:575px) {
    .pageserviceElement {
        min-width: 300px !important;
        width: 300px !important;
        max-width: 300px !important;
    }

    .pageserviceImage {
        height: 150px !important;
    }

    .pageserviceDescription {
        display: none !important;
    }

}

.pageserviceElement {
    border-color: var(--color1) !important;
}

.pageserviceImage {
    height: 300px;
    width: 100%;
    overflow: hidden;
}

.pageserviceImage img {
    object-fit: cover;
    object-position: center;
}

.pageserviceDescription {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    color: black;
}

/* recaptcha */
.grecaptcha-badge {
    display: none !important;
}

#cookiescript_badge,
#cookiescript_copyright {
    display: none !important;
}


/* reviews pro */
.sbr_lb-cancel,
.sbr_lb-close {
    display: none !important;
}

.sb-item-provider-icon img {
    width: 24px;
    height: 22px;
}