/*
Theme Name: MaBe23 child
Template: i-excel
Version: 1.0.0
Author:	Mauro Beretta
Theme URI: nd
Author URI: http://www.mabe23.it/
*/


/* 
 * HEADER DELLE PAGINE 
 */


/* TOPBAR ORIGINALE DISABILITATA */
.utilitybar {
    display: none;
}


/* TOPBAR CON NUM TELEFONO */

#topblackbar {
    display: block;
    position: relative;
    width: auto;
    height: 35px;
    padding: 2px 0;
    margin: 0;
    border-bottom: 2px solid #95C837;
    background-color: #43620b;
}
.sitephone {
    display: inline-block;
    position: relative;
    width: auto;
    height: 35px;
    float: left;
    margin-left: 5px;
}
.sitesocial {
    display: inline-block;
    position: relative;
    width: auto;
    height: 35px;
    float: right;
    margin-right: 2px;
    text-align: center;
}
#topblackbar p,
#topblackbar a,
#topblackbar a:visited {
    display: inline-block;
    position: relative;
    color: #95C837;
    font-size: 1.1em;
    font-weight: bold;
    min-width: 20px;
    height: auto;
    margin: 0;
    padding: 0px 9px;
    border-radius: 3px;
}
    @media (max-width: 400px) {
    .#topblackbar a {
        font-size: 1em;
        padding: 0px 2px;
    }
    }
    @media (max-width: 320px) {
    .#topblackbar a {
        font-size: 0.9em;
    }
    }
#topblackbar .sitesocial a {
    color: #fff;
    width: 35px;
    height: auto;
    margin: 0 5px;
    padding: 0px 9px;
    border-radius: 3px;
    background-color: #95C837;
}
#topblackbar a:hover,
#topblackbar .sitesocial a:hover {
    background-color: #efefef;
    text-decoration: none;
    color: #43620b;
}

/* MENU MOBILE */
.menu-toggle {
    left: 0px;
    top: 90px;
    color: #FFF;
}

/* INTESTAZIONE PAGINE */
.iheader {
    background-color: #f4f5f4!important;
}
.iheader h1 {
    color: #95C837;
}


/* 
 * HOMEPAGE 
 */

/* SLIDER */
.ibanner .da-slider .owl-item.active h2 {
    color: #95c837;
} 
.ibanner .da-slider .owl-item.active .da-link {
    text-transform: uppercase;
    display: none;
}

/* TITOLI E LOGHI */
.homepage  {
    text-align: center;
}
.hl_logo {
    display: block;
    max-width: 300px!important;
    width: 100%;
    height: auto;
    margin: 15px auto 15px auto;
}
.hl_logo_left {
    margin-top: 60px;
}
.homepage .maintitle {
    font-size: 1.7em!important;
    color: #286107;
    font-weight: bold;
    text-transform: uppercase;
}
.homepage .entry-title {
    font-size: 3.3em;
    color: #95c837;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 70px;
    margin-bottom: 30px;
}
    @media screen and (max-width: 500px) {
    .homepage .entry-title {
        font-size: 2.2em;
    }
    }

/* BOX */
@media screen and (max-width: 500px) {
    .content-area, .featured-area {
    padding-left: 5px;
    padding-right: 5px;
    }
}
.generalbox {
    display: block;
    position: relative;
    margin: 50px auto;
    height: auto;
    overflow: hidden;
}
.boxgreen {
    display: block;
    position: relative;
    color: #fff;
    margin: 0;
    padding: 50px 10%;
    height: auto;
    overflow: hidden;
    background-color: #95c837;
}
.boxdarkgreen {
    display: block;
    position: relative;
    color: #fff;
    margin: 100px 0;
    padding: 50px 10%;
    height: auto;
    overflow: hidden;
    background-color: #43620b;
}
.boxgreen h2 {
    color: #fff !important;
    font-size: 3em;
    padding-top: 50px;
    text-transform: uppercase;
}
    @media screen and (max-width: 500px) {
    .boxgreen h2 {
        font-size: 2.2em;
    }
    }
.boxgreen h3 {
    color: #fff !important;
}
.boxgreen p {
    font-size: 1.5em;
    line-height: 1.2em;
}
.boxgreen .order {
    font-size: 1.2em;
    line-height: 1.5em;
    color: #286107;
}

.mainbutton {
    display: inline-block;
    color: #95c837;
    background-color: #286107;
    font-weight: bold;
    font-size: 1.8em!important;
    line-height: 1em!important;
    margin: 0px auto 10px auto;
    padding: 20px 45px;
    text-decoration: none!important;
    border-radius: 5px;
}
    .mainbutton:visited,
    .mainbutton:focus,
    .mainbutton:active {
        color: #95c837;
    }
    .mainbutton:hover {
        color: #95c837;
        background-color: #fff;
    }

.textintro {
    margin-top: 20px;
    text-align: justify;
}

/* FLOAT AL 33% */
.float33 {
    display: inline-block;
    width: 33%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0;
    padding: 15px;
}
    @media screen and (orientation: portrait) {
    .float33 {
        float: none;
        width: 90%;
        margin: 20px auto 0 auto;
        padding: 5px;
    }
    }
    @media screen and (min-width: 1px) and (max-width: 767px) {
    .float33 {
        float: none;
        width: 90%;
        margin: 20px auto 0 auto;
        padding: 5px;
    }
    }

/* FLOAT AL 50% */
.float50 {
    display: inline-block;
    width: 49%;
    height: auto;
    overflow: hidden;
    float: left;
    margin: 0 auto;
    padding: 15px;
    bottom: 0;
}
    @media screen and (orientation: portrait) {
    .float50 {
        float: none;
        width: 90%;
        margin: 10px auto 10px auto;
        padding: 5px;
    }
    }
    @media screen and (min-width: 1px) and (max-width: 767px) {
    .float50 {
        float: none;
        width: 90%;
        margin: 10px auto 10px auto;
        padding: 5px;
    }
    }

.entry-content .generalbox h3 {
    color: #aaa;
}
.entry-content .generalbox p {
    color: #286107;
    text-align: justify;
}


/* 
 * FOOTER 
 */

.site-footer {
    background-color: #162201;
    color: #95c837;
}
.site-footer .sidebar-container,
.footer-bg {
    background-color: #286107;
}
.site-footer .widget-area .widget input {
    background-color: #286107;
    border: 1px solid #95c837;
    color: #eee;
}
.site-footer .widget-area .widget .widget-title {
    border-bottom: 1px solid #95c837;
}
.site-footer .widget-area .widget ul li {
    border-bottom: none;
}





/* ====================================== RECENT POST ====================================== */


.recentpost {
    display: block;
    position: relative;
    height: auto;
    overflow: hidden;
}
.recentpost div {
    display: block;
    width: 31%;
    float: left;
    margin: 40px 1%;
    height: auto;
    overflow: hidden;
}
@media (max-width: 600px) {
    .recentpost div {
        width: auto;
        float: none;
    }
}
.recentpost img {
    display: block;
    margin: 0 auto;
}
.recentpost h2 {
    text-align: center;
    padding-top: 15px;
}
.recentpost a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8em;
}
.recentpost a:hover {
    color: #ccc;
}




/* ====================================== PLUGIN ====================================== */


/* 
 * WIDGET 
 */
/*
.widget-area .widget textarea {
    background-color: #286107!important;
    border: 1px solid #95c837!important;
    color: #eee!important;
}
*/
/* TESTO PLUGIN FACEBOOK */
.fb-like span {
    max-width: 250px;
}



/* ====================================== SIDEBAR ====================================== */


.widget li {
    padding: 0;
    border-bottom: none;
}

#tertiary .sidebar-inner .widget {
    padding-bottom: 70px;
}

.widget .widget-title {
    color: #95c837;
}

#sidebar-widgets .mainbutton {
    display: inline-block;
    color: #fff;
    background-color: #95c837;
    font-weight: bold;
    font-size: 1.2em !important;
    text-transform: uppercase;
    padding: 7px 15px;
    text-decoration: none!important;
    border-radius: 6px;
}
    .mainbutton:visited,
    .mainbutton:focus,
    .mainbutton:active {
        color: #fff;
    }
    .mainbutton:hover {
        color: #fff;
        background-color: #ccc;
    }

/* SIDEBAR SU MOBILE */
@media (max-width: 580px) {
.site-main .sidebar-inner {
    padding: 70px 10px;
    background-color: #eee;
}
}



/* ====================================== POST ====================================== */


.post .entry-thumbnail img {
    width: auto;
    max-height: 300px;
}
