/*
Theme Name:     divi-pec
Description:    A Webmapp Divi child theme
Author:         Webmapp pedram katanchi
Author URI:     webmapp.it
Template:       Divi
Version:        0.1.0
*/

/**


/* post section padding */
body:not(.et-tb) #main-content .container, body:not(.et-tb-has-header) #main-content .container {
    padding-top: 20px!important;
}
/* post page h padding */
#webmapp-layer-4 > div h2 {
    padding: 30px 0 20px;
}
.col-divided-page h2 {
    padding: 30px 0 20px;
}
/* Main menu */
@media only screen and (min-width: 981px) {
    .et_header_style_left #et-top-navigation nav>ul>li>a, .et_header_style_split #et-top-navigation nav>ul>li>a {
        text-transform: uppercase;
    }
    div#et-top-navigation {
      padding-left: 0!important;
      width: 76%;
    }
}

/* Css footer */
#main-footer .wm-widget-1 {
    padding-left: 20px;
}
#main-footer .wm-widget-logo {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: 20px;
    justify-items: center;
}
#main-footer #text-3  {
    width: 100%;
}
#footer-bottom #footer-info {
    width: 100%
}
#footer-bottom #footer-info a{
    font-weight: 600;
    padding-right: 20px;
    text-transform: uppercase;
}
#footer-bottom #footer-info .container{
    margin:0;
}
#et-footer-nav a {
    text-transform: uppercase;
}
.wm_parcopan_sidebar-3 h4{
    color: #585858;
}
#main-footer .footer-widget h4 {
    font-weight: 400;
}

/* Css home page */
.wm-sd-taxonomy-container {
    display: flex;
}
.wm-sd-taxonomy-container a{
    align-self: center;
    padding-bottom: 0;
}
.wm-sd-taxonomy-container h2{
    align-self: center;
    padding-left: 20px;
}
.wm-sd-home-sections .et_pb_module.et_pb_text,.wm-sd-home-sections .et_pb_module.et_pb_image {
    margin-bottom: 1%;
}
.wm-sd-home-sections .webmapp_anypost_show_all {
    font-size: 19px;
    font-weight: 600;
    color: #585858;
}
.wm-sd-home-sections .webmapp_anypost_show_all a{
    color: #585858;
}
.wm-sd-home-sections .webmapp_anypost_show_all i{
    padding-left: 5px;
}
.wm-sd-home-sections .webmapp_anypost_show_all i::before{
    color: #585858;
}
.wm-sd-home-sections .et_pb_row .wm-home-cta-newsletter {
    background-color: #edf2f7b5;
    padding: 20px;
}
.wm-sd-home-sections .et_pb_row .wm-home-cta-newsletter h2{
    background-color: #edf2f7b5;
}
.wm-sd-home-sections .et_pb_row .wm-home-cta-newsletter i{
    padding-right: 10px;
}
.wm-ducati-cta-blog a{
    background-color: #00000085;
    font-size: 26px;
    padding: .1em 1em;
}
.wm-ducati-cta-blog a:hover{
    background-color: #00000085;
    padding: .1em 2em .1em .7em!important;
}
.wm-ducati-cta-blog a::after{
    font-size: 45px;
}

/* Css form download GPX */
.sd-download-form-container input[type="text"],.sd-download-form-container input[type="email"],.sd-download-form-container input[type="tel"],.sd-download-form-container  input[type="number"] {
    padding: 0.8rem 0.8rem;
    width: 100%;
    border-radius: 0.3rem;
    box-shadow: 0 0 0 2px transparent, 0 1px 0 rgba(0,0,0,0.08) inset;
    transition: all 0.3s;
    font-size: 18px;
}
.sd-download-form-container  input[type="submit"] {
    padding: 10px 10px;
    margin-top: 10px;
    width: 100%;
    border-radius: 0.3rem;
    box-shadow: 0 0 0 2px transparent, 0 1px 0 rgba(0,0,0,0.08);
    font-size: 18px;
    font-weight: 600;
}
.sd-download-form-container input {
    background: #f5f5f5;
}
.sd-download-form-container input:focus,.sd-download-form-container input:focus + .w-form-checkbox,.sd-download-form-container textarea:focus {
    box-shadow: 0 0 0 2px;
}
.sd-download-form-container {
    padding-top: 40px;
}
@media screen and (min-width:769px){
    .sd-download-form-container {
        width: 50%;
        margin: auto;
    }
}

/* Iubenda style */
body #iubenda_policy h3 {
    font-size: 16px;
}
body #iubenda_policy p {
    font-size: 15px;
}
body #iubenda_policy .iub_footer p {
    font-size: 13px;
}
body #iubenda_policy ul.styled li,body #iubenda_policy ul li {
    font-size: 15px;
}

/* responsive pagina Track  */
@media screen and (max-width: 990px) {
    #webmapp-layer-3 .colonna-mappa-track {
        padding-bottom: 40px;
    }
    .col-divided-page .webmapp_post-title h2 {
        padding: 10px 0 30px;
        line-height: 20px;
    }
    .col-divided-page .webmapp-grid-system .col-sm-12 {
        padding-left: 0;
        padding-right: 0;
    }
}

/* 
    *
    *
    codice personalizzato per Sentiero dei Ducati 
    *
    *
*/

/* Main menu */
#main-header #top-menu li li a {
    padding: 6px 5px;
}
#main-header .nav li li {
    line-height: 1.7em;
}
/* footer */
body #footer-widgets {
    padding: 2% 0 0;
}
@media (min-width: 981px) {
    .et_pb_gutters3.et_pb_footer_columns1 .footer-widget .fwidget {
    margin-bottom: 1.5%;
    }
    .et_pb_gutters3 .footer-widget {
        margin-bottom: 3.5%;
    }
}
.et_pb_gutters3 .footer-widget #text-5{
    margin-top: 2%;
    width: 100%;
}
.et_pb_gutters3 .footer-widget #text-5 p{
    text-align: center;
    font-size: 14px;
}
#main-footer .footer-widget.wm_parcopan_2 {
    margin-bottom: 1%;
    margin-top: 2%;
}
.pagina-informazioni-accordion h3 {
    padding: 10px 0 20px;
}
@media screen and (max-width: 980px) {
    #main-footer .footer-widget.wm_parcopan_2 {
        display: flex;
        padding-top: 30px;
    }
    .footer-widget.wm_parcopan_sidebar-3 {
        padding-bottom: 30px;
    }
    #main-footer #footer-widgets .footer-widget .fwidget {
        margin-bottom: 5.21%;
    }
    #main-footer .footer-widget.wm_parcopan_sidebar-3 h4 {
        padding-top: 30px;
        padding-bottom: 20px;
    }
}
@media (max-width: 767px) {
    #main-footer #footer-widgets .footer-widget .fwidget,#main-footer #footer-widgets .footer-widget:nth-child(n) {
        margin-bottom: 1.5%!important;
    }
    .footer-widget.wm_parcopan_2 h3{
        font-size: 20px;
    }
    .footer-widget.wm_parcopan_2 p{
        font-size: 13px;
    }
    #footer-bottom #footer-info .container {
        width: 100%;
        display: grid;
    }
    #menu-main-menu-footer.bottom-nav li {
        display: flex;
    }
    .wm-sd-taxonomy-container h2 {
        font-size: 24px;
    }
    .wm-sd-home-sections .wm-sd-taxonomy-container img {
        height: 100%;
        max-width: 79px;
    }
    /* Track pages */
    .single-track #main-content .container {
        width: 95%;
    }
    .single-track #main-content h2 {
        font-size: 23px;
    }
}

