@font-face {
    font-family: Autography;
    src: url("../font/Autography.otf") format("opentype");
}

body {
    background-color: #000;
    font-family: "Radio Canada",sans-serif;
}


.sfondo_poli {
    background-image:url(../images/poli5.svg), url(../images/poli4.svg);
    background-position:center left -30px, center right -30px;
    background-repeat:no-repeat, no-repeat;
    background-size:120px, 120px;
}

.copertina {
    background-image:url(../images/sfondo_bgpoli.jpg);
    background-size:cover;
    text-align:center;
    background-repeat:no-repeat;
    color:#fff;
}

/* .copertina img {
    height:100%;
    width:auto;
} */

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: 'Rubik Dirt', cursive;
    /* color:#1363af; */
    background: -webkit-linear-gradient(135deg, #91b8dc 30%, #2068ab 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
h1 {
    font-size:60px;
    margin-bottom: 50px;
}
h2 {
    font-size: 45px;
}
h4 {
    font-size: 25px;
}


.menu .active > a {
    background-color: #8c3484;
    color:#fff;
}


.button {
    padding: 15px 30px;
    border-radius: 6px;
    color: #fff;
    background-color: #1363af;
    font-size: 24px;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.3);
    font-weight:bold;
    box-shadow:inset 11px 11px 12px #0d4a83;
    border:none;
    margin-bottom:0;
}
.button:focus, .button:hover {
    background-color: #0d4a83;
    color: #fff;
}
.button.rosa {

    background-color: #b73f89;
    box-shadow: inset 11px 11px 12px #8e2e69;
}
.button.rosa:hover {
    background-color: #833164;
}

.top-bar .logo {
    height:120px;
}
.top-bar .menu a {
    color:#fff;
}
.top-bar, .top-bar ul{
    background-color: transparent;
}




.slide {
    padding: 100px 30px;
    margin-top: 25px;
}
.slide h1 {
    font-size:2.5rem
}
.slide iframe {
    width:100%;
}

p {
    color: #fff;
    font-size: 18px;
}
.fascia {
    padding:100px 0;
}

.facebook_color {
    color:#1f69f6;
}
.youtube_color {
    color:#f00;
}
.instagram_color {
    color:#9d00e1;
}

.text-rosa {
    color:#b73f89;
}
.h1.text-rosa, .h2.text-rosa, .h3.text-rosa, .h4.text-rosa, .h5.text-rosa, .h6.text-rosa, h1.text-rosa, h2.text-rosa, h3.text-rosa, h4.text-rosa, h5.text-rosa, h6.text-rosa {
    /* color:#b73f89; */
    color:transparent;
    background: -webkit-linear-gradient(135deg, #d87ab4 30%, #680943 60%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-giallo {
    color:#f8e132;
}
.text-blu {
    color:#1363af;
}
.bg_grigio {
    background-color: #111111;
}

.owl-carousel .owl-dots {
    margin-top:20px;
    text-align:center;
}
.owl-carousel .owl-dots .owl-dot {
    width:15px;
    height:15px;
    border-radius:50%;
    background-color: #5d5d5d;
    margin:0 5px;
}
.owl-carousel .owl-dots .owl-dot.active {
    background-color: #fff;
}

.owl-carousel .item p {
    text-align:center;
    font-size: 1.2rem;
    padding:5px 0;
    text-transform:uppercase;
    font-weight:bold;
}

/* .owl-carousel .item:hover img {
    transform: scale(1.2);
    transition: transform 0.6s;
} */


body.home .chi_siamo p {
    margin-bottom:30px;
}
body.home .cosa_facciamo .icon {
    color:#fff;
    margin-bottom:30px;
}
body.home .cosa_facciamo h2,
.lavori h2 {
    margin-bottom:50px;
}
body.home .cosa_facciamo h4 {
    color: #fff;
}
body.home .cosa_facciamo .button {
    margin-top:50px;
}

body.page-template-chi_siamo .copertina p {
    color:#000;
    font-size: 50px;
    font-weight: 800;
}

body.page-template-chi_siamo .card {
    border: transparent;
    background:transparent;
}
body.page-template-chi_siamo .noi h4 {
    font-size: 25px;
    font-weight: 800;
}
body.page-template-chi_siamo .noi p {
    font-size: 20px;
    text-transform: uppercase;
}

body.page-template-contatti .testo_contatti h2,
body.page-template-contatti .testo_contatti h4 {
    margin-bottom:0;
}
body.page-template-contatti .testo_contatti h4 {
    font-family: "Radio Canada", sans-serif;
    color:#fff;
}
body.page-template-contatti .testo_contatti h2 {
    font-weight: 800;
    font-size:30px;
    display: inline-block;
}

.form_contatti {
    padding: 130px 38px;
}
.form_contatti h2 {
    margin-bottom: 90px;
}
.form_contatti p {
    font-size: 20px;
}
.form_contatti form input[type="text"],
.form_contatti form input[type="email"],
.form_contatti form textarea {
    border-radius: 5px;
    border: 1px solid #8c3484;
    background-color: transparent;
    color:#fff;
}
.form_contatti form input[type="text"]:focus,
.form_contatti form input[type="email"]:focus,
.form_contatti form textarea:focus {
    box-shadow: 0 0 5px #ff4af4;
}
.form_contatti form label {
    color:#fff;
}


.dots {
    font-size:40px;
    padding:0 5px;
}

.citazione {
    font-family:Autography;
    /* background-color:#5200b5; */
    background-image:url(../images/nuvola_citazione.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 140%;
    padding:75px 30px;
    border-radius:20px;
    position:relative;
    line-height:1.3em;
    display: inline-block;
    width: 90%;
    font-size:40px !important;
    margin:0 auto;
    /* border-top:2px solid #fff;
    border-right:2px solid #fff; */
}
/* .citazione:after {
    display:block;
    content:'';
    height:20px;
    width:20px;
    border-right:20px solid #5200b5;
    border-top:20px solid transparent;
    border-bottom:20px solid transparent;
    position:absolute;
    left:-20px;
    top:20px;
} */


body.page-template-servizi h1 {
    margin-bottom: 30px;
}
body.page-template-servizi .lista_servizi .icon {
    color: #fff;
    margin-bottom: 15px;
}
body.page-template-servizi .lista_servizi .lista {
    
    margin-top: 180px;
}
body.page-template-servizi .dots {
    margin: 40px 0;
}
body.page-template-servizi .copertina-video{
    padding-top: 50px;
}

footer .social {
    margin-top: 20px;
}
footer .social a{
    padding: 0 8px;
}
footer h4 {
    color: #fff;
}
footer .logo {
    height:120px;
}
footer .copyright{
    margin-top: 75px;
}
footer .copyright p {
    margin-bottom:0;
}
footer.fascia {
    padding-bottom:40px;
}



.card_profilo h5 {
    margin-bottom:0;
    margin-top:10px;
}

.grid-masonry {
    margin-left: -10px;
    margin-right: -10px;
}

.grid-masonry .grid-item {
    padding: 10px;
}

.single-lavori #breadcrumbs {
    text-align:center;
}

.off-canvas {
    background-color:#111111;
}

.off-canvas .close-button {
    color:#fff;
    top:0.3rem;
}


/* Small only */
@media screen and (max-width: 39.9375em) {

    .off-canvas .menu .button,
    .off-canvas .menu a {
        padding:15px 1rem;
    }

    .button {
        font-size: 18px;
        display:block;
    }

    .open_menu_button {
        color:#fff;
        cursor:pointer;
    }

    .top-bar {
        padding-top:10px;
        padding-bottom:10px;
    }

    .top-bar .top-bar-left {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        margin-right: auto;
    }

    .top-bar .top-bar-right {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 auto;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        margin-left: auto;
    }

    p {
        font-size: 15px;
    }

    .top-bar .logo {
        height: 50px;
    }

    h1 {
        font-size:35px;
        margin-bottom: 30px;
    }

    .slide {
        padding:40px 0;
        margin-top:0;
    }

    .fascia {
        padding:50px 0;
    }

    .sfondo_poli {
        background-image:none;
    }

    h2,
    body.home h2 {
        font-size: 28px;
    }

    body.home .cosa_facciamo h4 {
        font-size: 18px;
    }
    
    .fa-2xl{
        margin-top: 20px;
    }

    .stacca_celle{
        margin-bottom: 30px;
    }
    body.page-template-contatti .testo_contatti h2 {
        font-size: 25px;
    }
    body.page-template-contatti .testo_contatti h3 {
        font-size: 18px;
    }
    
    body.page-template-servizi h4 {
        font-size: 20px;
    }

    .form_contatti h2 {
        font-size: 35px;
        margin-bottom: 0;
    }
    .form_contatti p {
        font-size: 15px;
        margin-top: 20px;
    }

    body.page-template-chi_siamo .noi h4 {
        font-size: 20px;
        text-align: left;
    }
    body.page-template-chi_siamo .noi p{
        font-size: 16px;
        text-align: left;
    }
    .dots {
        font-size: 36px;
    }

    footer h4 {
        font-size: 20px;
    }

    footer .logo_wrapper {
        margin-bottom: 40px;
        text-align:center;
    }

    footer .logo {
        height: 70px;
        margin-bottom:0;
    }

    .slide h1 {
        font-size: 29px;
    }
  
    .owl-carousel .item p {
        font-size: 15px;
        margin-bottom:0;
    }

    .owl-carousel .owl-dots .owl-dot {
        width: 8px;
        height: 8px;
    }

    .form_contatti {
        padding:50px 0;
    }

    .form_contatti .button {
        display:block;
        width:100%;
    }

    .wpcf7-spinner {
        display:none;
    }

    footer .social_wrapper {
        display:flex;
        flex-direction:row;
        justify-content: space-between;
        align-items: middle;
        margin-top:40px;
    }

    footer .social_wrapper .social {
        margin-top:0;
    }

    .card_profilo {
        margin:20px 0;
    }

    .card_profilo h5 {
        font-size:22px;
    }

    .card_profilo p {
        margin-bottom:0;
    }

    body.page-template-servizi .lista_servizi .lista {
        margin-top:60px;
    }

    .testo_contatti {
        text-align:center;
    }

}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}