/*
Theme Name:   Tiriciclo Child
description: >-
Tema TiRiciclo
Author:       Proxima
Template:     tiriciclo
Version:      1
*/

body, html {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    width: 100%;
}

a {
    color: #023f88;
    display: inline-block;
    outline: 0;
    -webkit-transition: all .25s ease !important;
    transition: all .25s ease !important;
}

a:hover {
    color: #00BDF2;
    text-decoration: none;
}

.menu-item {
    -webkit-transition: all .25s ease !important;
    transition: all .25s ease !important;
}

h1, h2, h3, h4, h5, h6 {
    color: inherit;
}

h1, h2 {
    font-size: 2.286rem;
    font-weight: 700;
}

h3 {
    font-size: 1.429rem;
}

p {
    font-size: 1.1rem;
}

label {
    margin-top: .3rem;
}

.p-6 {
    padding: 5rem!important;
}

.p-6-inn .vc_column-inner {
    padding: 5rem!important;
}

.pt-6 {
    padding-top: 5rem!important;
}

.mt-6 {
    margin-top: 5rem!important;
}

.text-white a {
    color: inherit;
}

h1.entry-title {
    font-size: 2.286rem;
    border-bottom: none;
}

#content.site-content {
    padding-top: 0rem;
}

.entry-content {
    margin: 0;
}

.post-template-default #content.site-content {
    padding-top: 4.125rem;
}

.error404 .site-content {
    padding-bottom: 5rem!important;
}

/* MENU + HEADER */
header#masthead {
    background-color: #fff;
    box-shadow: none;
    border-bottom: solid 1px #E4E4E4;
}

.dropdown-menu a {
    color: #023f88 !important;
    font-weight: 400;
}

.dropdown-menu a:hover {
    color: #00BDF2 !important;
}

.fb-menu,
.yt-menu {
    background-position: center center;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.fb-menu a,
.yt-menu a {
    color: rgba(0,0,0,0) !important;
}

.navbar-toggler:focus {
    outline: none;
}

.navbar-light .navbar-toggler {
    border: none;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #023F88;
    font-weight: 500;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    color: #00BDF2;
    font-weight: 500;
}

.fb-menu {
    background-image: url('/wp-content/themes/tiriciclo-child/img/facebook-b.svg');
}

.yt-menu {
    background-image: url('/wp-content/themes/tiriciclo-child/img/youtube-b.svg');
}

.fb-menu:hover {
    background-image: url('/wp-content/themes/tiriciclo-child/img/facebook-a.svg');
}

.yt-menu:hover {
    background-image: url('/wp-content/themes/tiriciclo-child/img/youtube-a.svg');
}

.navbar-light .navbar-toggler-icon {
    background-image: url('/wp-content/themes/tiriciclo-child/img/menu-toggler.svg');
}

@media (min-width: 1200px) {
    header#masthead {
        padding: 0rem 1rem;
        position: relative;
    }
    
    .dropdown-menu {
        top: 96%;
        left: 0;
        min-width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .dropdown-menu.show {
        display: block;
        text-align: center;
    }
    
    .dropdown-menu .menu-item {
        text-align: center;
        display: inline-block;
    }
    
    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        padding: 2rem 0.5rem;
    }
    
    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        font-size: 1rem;
    }
    
    .menu-item-has-children:hover .dropdown-menu {
        display: block;
        text-align: center;
    }
    
    .dropdown,
    .navbar {
        position: inherit;
    }
    
    .menu-raccolta,
    .menu-rinnovabilita,
    .menu-news {
        background-position: center left;
        background-repeat: no-repeat;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .menu-raccolta {
        background-image: url('/wp-content/themes/tiriciclo-child/img/menu-riciclo.svg');
    }
    
    .menu-rinnovabilita {
        background-image: url('/wp-content/themes/tiriciclo-child/img/menu-rinnovabilita.svg');
    }
    
    .menu-news {
        background-image: url('/wp-content/themes/tiriciclo-child/img/menu-news.svg');
    }
    
    .dropdown-item {
        padding: .8rem 1.5rem;
    }
}

@media (max-width: 1200px) {
    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        padding: 1rem 0.5rem;
    }
    
    .navbar-collapse {
        padding: 2rem 0;
    }
    
    .navbar-nav {
        display: inherit;
    }
    
    .fb-menu, .yt-menu {
        margin-right: 0;
        width: 43px;
        display: inline-block;
    }
    
    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        font-size: 1rem;
    }
    
}

/* FOOTER */
.site-footer {
    background-color: #023F88 !important;
}

.site-footer  .site-info {
    color: #fff;
}

footer#colophon {
    font-size: 100%;
}

/* VISUAL COMPOSER */
.rounded .vc_column-inner {
    border-radius: 0.25rem;
}

.vc_tta-panel-title {
    font-size: 1rem !important;
    font-weight: 400;
}

.vc_tta.vc_general .vc_tta-panel-title {
    border-top: solid 1px #E0E0E0;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-title>a {
    color: #023f88 !important;
}

.vc_tta.vc_tta-shape-rounded .vc_tta-panel-body, .vc_tta.vc_tta-shape-rounded .vc_tta-panel-heading {
    border-radius: 0px !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-heading {
    border-color: #E0E0E0 !important;
    background-color: transparent !important;
    border: none;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body {
    background-color: transparent !important;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-panel .vc_tta-panel-body {
    border: none;
}

.vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon::after, .vc_tta-color-grey.vc_tta-style-classic .vc_tta-controls-icon::before {
    border-color: #023f88 !important;
}

/* LINK + BUTTON */
.link-arrow {
    background-image: url('/wp-content/themes/tiriciclo-child/img/link-arrow-corp.svg');
    background-position: right center;
    background-repeat: no-repeat;
    padding-right: 24px;
}

.link-arrow:hover {
    background-image: url('/wp-content/themes/tiriciclo-child/img/link-arrow-bright.svg');
}

.vc_btn3.vc_btn3-color-blue.vc_btn3-style-outline,
.wpcf7-submit,
.btn-outline-primary {
    color: #023f88 !important;
    border-color: #023f88 !important;
    background-image: url('/wp-content/themes/tiriciclo-child/img/arrow-corp-blue.svg');
    background-color: transparent !important;
    background-position: center right 13px;
    background-repeat: no-repeat;
    padding-right: 2.3rem !important;
}

.vc_btn3.vc_btn3-size-md.vc_btn3-style-outline {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.vc_btn3.vc_btn3-color-blue.vc_btn3-style-outline:hover,
.wpcf7-submit:hover,
.btn-outline-primary:hover {
    color: #00BDF2 !important;
    border-color: #00BDF2 !important;
    background-color: transparent !important;
    background-image: url('/wp-content/themes/tiriciclo-child/img/arrow-bright-blue.svg');
}

/* CONTACT FORM */
.wpcf7-list-item {
    margin: 0;
}

.form-control {
    border: 1px solid #4a4a4a !important;
    color: #4a4a4a !important;
}

.form-control:focus {
    color: #4a4a4a !important;
    border-color: #4a4a4a !important;
    box-shadow: none !important;
}

/* HERO SECTION */
.hero {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-homepage {
    background-image: url('/wp-content/themes/tiriciclo-child/img/hero-homepage-desk.jpg');
}

.hero-riciclo {
    background-image: url('/wp-content/themes/tiriciclo-child/img/hero-riciclo-desk.jpg');
}

.hero-contenitori {
    background-image: url('/wp-content/themes/tiriciclo-child/img/hero-contenitori-desk.jpg');
}

.hero-impatto {
    background-image: url('/wp-content/themes/tiriciclo-child/img/hero-impatto-desk.jpg');
}

.hero-error {
    background-image: url('/wp-content/themes/tiriciclo-child/img/hero-error-desk.jpg');
}

.bg-blue {
    background: rgb(0,189,242);
    background: -moz-linear-gradient(90deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
    background: -webkit-linear-gradient(90deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
    background: linear-gradient(90deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00bdf2",endColorstr="#00bdf2",GradientType=1);
    width: 40%;
    height: 100%;
    position: absolute;
}

.hero .text-container {
    position: relative;
    padding: 18% 0;
    width: 30%;
}

.hero p {
    font-size: 1.3rem;
}

/* MAPPA COMUNI */
.iframe-mappa {
    width: 100%;
    border: none;
    min-height: 28rem;
    min-width: 340px;
    max-width: 400px;
}

.iframe-mappa-old {
    width: 100%;
    border: none;
    min-height: 53rem;
    min-width: 340px;
}


.col-pad {
    padding: 4rem 5rem 0!important;
}

/* TUTORIAL */
.colTut {
    column-count: 2;
    column-gap: 60px
}

.colTut h4 {
    font-size: 1.286rem;
    color: #023f88;
    text-transform: uppercase;
    margin-bottom: 30px;
    font-weight: 500;
}

.titleTutLink {
    font-size: 1.286rem;
    color: #fff;
    border-top: solid 1px #fff;
    display: block;
    padding: 10px 0;
}

.titleTutLink.last {
    border-bottom: solid 1px #fff;
    margin-bottom: 15px;
}

/* BLOG */


.vc_gitem-post-data-source-post_date {
    font-size: .9rem;
    margin-top: 12px;
}

.vc_gitem-post-data-source-post_title {
    font-weight: 500;
}

.vc_gitem-post-data-source-post_title:hover {
    color: #00BDF2;
}

.entry-header .entry-meta {
    margin-bottom: 1rem;
}

.post.hentry {
    margin-bottom: 0rem;
}

.post .post-thumbnail {
    margin-bottom: 2rem;
}

.spazio_img {
    min-height: 33rem;
}

/* MEDIA QUERIES */

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1300px;
    }
}

@media (max-width: 1200px) {
    .iframe-mappa-old {
        min-height: 70rem;
    }
}

@media (max-width: 992px) {
    .iframe-mappa-old {
        min-height: 80rem;
    }
}

@media (max-width: 768px) {
    .iframe-mappa-old {
        min-height: 88rem;
    }

    .col-pad {
        padding: 0rem !important;
    }
}



@media (max-width: 576px) {

    .iframe-mappa-old {
        min-height: 95rem;
    }


    h1, .h1, h2, .h2 {
        font-size: 1.6rem;
        font-weight: 500;
    }
    
    .h3, h3 {
        font-size: 1.4rem;
    }
    
    .h4, h4 {
        font-size: 1.2rem;
    }
    
    .p-6 {
        padding: 3rem!important;
    }
    
    .pt-6 {
        padding-top: 3rem!important;
    }

    .mt-6 {
        margin-top: 3rem!important;
    }
    
    .p-6-inn .vc_column-inner {
        padding: 3rem!important;
    }
    
    .colTut {
        column-count: 1;
        
    }
    
    .titleTutLink {
        font-size: 1.1rem;
    }
    
    .hero-homepage {
        background-image: url('/wp-content/themes/tiriciclo-child/img/hero-homepage-mob.jpg');
    }
    
    .hero-riciclo {
        background-image: url('/wp-content/themes/tiriciclo-child/img/hero-riciclo-mob.jpg');
    }
    
    .hero-contenitori {
        background-image: url('/wp-content/themes/tiriciclo-child/img/hero-contenitori-mob.jpg');
    }
    
    .hero-impatto {
        background-image: url('/wp-content/themes/tiriciclo-child/img/hero-impatto-mob.jpg');
    }
    
    .hero-error {
        background-image: url('/wp-content/themes/tiriciclo-child/img/hero-error-mob.jpg');
    }
    
    .bg-blue {
        background: rgb(0,189,242);
        background: -moz-linear-gradient(0deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
        background: -webkit-linear-gradient(0deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
        background: linear-gradient(0deg, rgba(0,189,242,1) 0%, rgba(0,189,242,1) 75%, rgba(0,189,242,0.7973564425770308) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00bdf2",endColorstr="#00bdf2",GradientType=1);
        width: 100%;
        height: 170px;
        position: absolute;
        bottom: 0;
    }
    
    .hero .text-container {
        position: relative;
        padding: 65% 0 11px;
        width: 100%;
    }



    .page-id-120 .bg-blue {
        height: 190px;
    }

    body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
        font-size: 1.3rem;
    }

    .dropdown-menu .dropdown-item {
        line-height: 2;
        font-size: 1.3rem;
    }

    .col-pad {
        padding: 0rem !important;
    }

    .spazio_img {
        min-height: 20rem;
    }

    .swap-on-mobile {
        display: flex !important;
        flex-direction: column-reverse;
    }


}