/*
Theme Name:   Studio Pilates Rimini ME
Theme URI:    www.domenicocannetti.it
Description:  Tema Child del Tema Divi
Author:       Domenico Cannetti
Author URI:   http://www.domenicocannetti.it/
Template:     Divi
Version:      1.0.0
*/

@import url('../Divi/style.css');

/* =Stili tema child
-------------------------------------------------------------- */

/* COLORI | GREY #333 - GREY dark #242424 - YELLOW #c49341 - BLU #333270 - VIOLA #4f3476 */

/* CUSTOM STYLE CHILD THEME */

.hatom-extra {
    display: none;
} 

@media all and (max-width: 980px) {
    /*** wrap row in a flex box ***/
    .custom_row {
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-wrap: wrap; /* Safari 6.1+ */
        flex-wrap: wrap;
    } 

    /*** custom classes that will designate the order of columns in the flex box row ***/
    .mobile1 { 
        -webkit-order: 1;
        order: 1;
    }

    .mobile2 {
        -webkit-order: 2;
        order: 2;
    }

    .mobile3 {
        -webkit-order: 3;
        order: 3;
    }

    .mobile4 {
        -webkit-order: 4;
        order: 4;
    }
    /*** add margin to last column ***/
    .custom_row:last-child .et_pb_column:last-child {
        margin-bottom: 30px;
    }

}

/* GRAVITY CUSTOM */
/*** REMOVE LABEL ON FIELDS USING PLACEHOLDER ***/
.gform_wrapper .top_label .gfield_label,
.gform_wrapper .field_sublabel_below .ginput_complex.ginput_container label {
    display: none;
}
/*** FIELD STYLING ***/
input[type=text],
textarea {
    background: #eee;
    border: none;
    border-radius: 0;
    color: #999 !important;
    padding: 15px !important;
}
/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
    float: right;
    background: transparent;
    border: 2px solid #c49341;
    font-size: 22px;
    color: #c49341;
    padding: 12px 23px;
    border-radius: 5px;
    letter-spacing: 2px;
    cursor: pointer;

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
}
/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}


.grey {background: #242424}
.yellow {background: #c49341}

.list ul {
    margin: 0 0 0 15px;
}

/* SPACE */

.spacer-50{margin-bottom: 50px; display: block; width: 100%} 
  
/* BOX SHADOW */
.box-shadow-1{
    box-shadow: 0px 0px 13px rgba(0,0,0, .1);
    -moz-box-shadow: 0px 0px 13px rgba(0,0,0, .1);
    -webkit-box-shadow: 0px 0px 13px rgba(0,0,0, .1);
    -o-box-shadow: 0px 0px 13px rgba(0,0,0, .1);
}
.stroke h1:after,.stroke h2:after, .stroke .et_pb_text_inner p:after {
    content: ''; 
    height: 7px; 
    background: #c49341; 
    position: absolute;
    margin: 22px 0;
}

.stroke.center h1:after, .stroke.center h2:after, .stroke.center.et_pb_text_inner p:after { 
    content: '';
    height: 7px;
    display: block;
    width: 71px;
    background: #c49341;
    position: relative;
    margin: 30px auto 18px;
}

.stroke h1, .stroke h2 {
    margin-bottom: 25px;
}

.stroke.center h1, .stroke.center h2 {
    margin-bottom: 0px;
}

/* WIDGET SIDEBAR */

@media (min-width: 980px) { 

    .et_pb_widget_area.et_pb_widget_area_right.clearfix.et_pb_module.et_pb_bg_layout_light.et_pb_sidebar_0 {
        margin: -178px 0;
        background: #fff;
        padding: 35px 35px;
        z-index: 2;
        position: relative;
    }

}

.et_pb_widget_area h4.widgettitle {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 0 15px;
    padding: 0 0 20px;
    font-weight: bold;
}

.et_pb_widget_area .menu a {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding: 0px 0px 9px;
    display: block;
    text-transform: uppercase;
    font-size: 15px;

    -webkit-transition: all .2s ease-out;
    -moz-transition: all .2s ease-out;
    -o-transition: all .2s ease-out;
    transition: all .2s ease-out;
} 

.et_pb_widget_area .menu .current-menu-item a{ color: #c49341}

.et_pb_widget_area .menu .current-menu-item a:before{
    content: '\f0da ';
    font-family: FontAwesome;
    position: relative;
    /* left: -31px; */
    margin: 0 7px 0 0;
}

/* HOME */

@media screen and (max-width: 981px){
    .people p, .people h2{ text-align: left !important}
    
    .people img {
    float: none!important;
    margin: 0 auto !important;
    width: 150px !important; 
    display: block;
}
    
}

/* HEADER */

span.et_pb_fullwidth_header_subhead {
    line-height: normal;
}

@media (max-width: 980px) { 

    .et_pb_fullscreen .et_pb_fullwidth_header_container {
        width: 90% !important;
    }

    .et_pb_fullwidth_header .et_pb_fullwidth_header_container.center .header-content {
        width: 100% !important;
    }

    .home .et_pb_fullwidth_header_0 .header-content img {
        margin: 0 0 0px !important;

    }

    /* LOGO */
    .et_header_style_left #logo, .et_header_style_split #logo {
        max-width: 80% !IMPORTANT;
    }
}

