/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/twenty-fifteen-child/
 Description:  Divi Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Divi-child
*/

/*****************************************************************************************************/

/*-------------------*\
    #CUSTOM CLASSES
\*-------------------*/

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

/*****************************************************************************************************/

/*--------------*\
    #HEADER
\*--------------*/

#main-header{
    box-shadow: none;
    margin-bottom: 54px;
    position: relative;
}

.et_header_style_left .logo_container {
    position: relative;
}

#logo{
    max-height: 100%;
    vertical-align: top;
    width: 100%;
}

#main-header .logo_helper{
    display: none;
}

#et-top-navigation{
    background: #1d2611; 
    bottom: -54px;
    float: none;
    padding: 0 !important;
    position: absolute;
    width: 100%;
    z-index: 10;
}

#et-top-navigation #top-menu > li{
    padding: 0;
}

#et-top-navigation #top-menu > li > a{
    padding: 20px;
}

#et-top-navigation #top-menu > li > a:hover, #et-top-navigation #top-menu > li.current-menu-item > a{
    background: #161f0b;
    color: #ffffff !important;
}

#top-menu .menu-item-has-children > a:first-child:after, 
#et-secondary-nav .menu-item-has-children > a:first-child:after{
    top: 38%;
}

#et_top_search{
    display: none;
}

/*****************************************************************************************************/

/*--------------*\
	#MAIN-CONTENT
\*--------------*/

#et-main-area{
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#506d2b+0,4e6d2a+50,4c6b28+51,456824+100 */
background: #506d2b; /* Old browsers */
background: -moz-linear-gradient(top,  #506d2b 0%, #4e6d2a 50%, #4c6b28 51%, #456824 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #506d2b 0%,#4e6d2a 50%,#4c6b28 51%,#456824 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #506d2b 0%,#4e6d2a 50%,#4c6b28 51%,#456824 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#506d2b', endColorstr='#456824',GradientType=0 ); /* IE6-9 */

    -webkit-box-shadow: inset 0px 10px 25px -2px rgba(41,58,22,0.7);
    -moz-box-shadow: inset 0px 10px 25px -2px rgba(41,58,22,0.7);
    box-shadow: inset 0px 10px 25px -2px rgba(41,58,22,0.7);

    border-top: 2px solid #536d2e;    
    margin-top: -54px;
    padding-top: 52px;
}

#et-main-area .et_pb_row{
    max-width: 100%;
    padding: 0;
    width:100%;
}

#et-main-area .et_pb_section{
    background: transparent;
    padding: 0;
}

#et-main-area #main-content{
    background: #f0f1f3;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding:0;
    margin: 0 auto 30px;
    max-width: 1080px;
    overflow: hidden;
    width:80%;
}

#main-content > .container{
    max-width: 100%;
    padding: 0;
    width: 100%;
}

#main-content .container:before{
    display: none;
}

#main-content .left-column, .et_right_sidebar #left-area{
    float: left;
    margin-right: 0;
    padding: 20px 15px;
    width: 70%;
}

#main-content .right-column, .et_right_sidebar #sidebar{
    background: #e7e9ed;
    float: right;
    padding: 20px 15px;
    width: 30%;
}

#main-content .right-column .et_pb_widget_area_left {
    padding:0;
    border:none;
}


/*****************************************************************************************************/

/*--------------*\
    #HOME
\*--------------*/


/***** SIDEBAR *****/

.et_pb_widget_area_left, .et_pb_widget_area_right{
    padding: 0;
    border:none;
}

#main-content .et_pb_widget{
    margin-bottom: 50px;
}

.et_pb_widget .widgettitle{
    background: url(img/h3bg.png) repeat-x scroll 0 8px;
    color:  #2a2828;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
    padding: 0;
    text-transform: uppercase;
}

.et_pb_widget .widgettitle span{
    background: #e7e9ed;
    display: inline-block;
    padding: 5px 15px 5px 0;
    position: relative;
}

.entry-content .et_pb_widget tr td, body.et-pb-preview #main-content .container tr td{
    border: none;
    padding: 0;
}

.widget_search input#searchsubmit{
    background: #506d2d;
    color: #ffffff;
    cursor: pointer;
}

.widget_search input#searchsubmit:hover{
    background: #3d5322;
}

.widget_widgets_in_tabs{
    background: url(img/bgtabs.png) repeat;
    padding: 5px 3px;
}

.widget_widgets_in_tabs .widgettitle{
   background: none;
   font-size: 14px;
   margin-bottom: 0;
}

.widget_widgets_in_tabs .widgettitle a{
    color: #ffffff;
    display: inline-block;
    opacity: 1;
    padding: 10px;
}

.widget_widgets_in_tabs .widgettitle .wit-tab-title.wit-selected{
    background: #e7e9ed;
    color: #000000;
}

.widget_widgets_in_tabs .wit-tab-container{
    background: #e7e9ed;
    overflow: hidden;
}

.widget_widgets_in_tabs .wit-tab-container > li{
    padding: 10px;
}

.widget_widgets_in_tabs .wit-tab-container > li > ul{
    border: 1px solid #cccccc;
    padding: 5px !important;
}

.widget_widgets_in_tabs .wit-tab-container > li#text-8, .widget_widgets_in_tabs .wit-tab-container > li#text-8 ul{
    border: none;
    padding: 0;
}

.et_pb_widget > ul > li, .widget_widgets_in_tabs .wit-tab-container > li ul > li{
    margin: 0 !important;
    padding: 5px 7px 5px 20px;
    position: relative;
}

.et_pb_widget > ul > li:before, .widget_widgets_in_tabs .wit-tab-container > li ul > li:before {
    position: absolute;
    top: 5px;
    left: 0;
    border-width: 0px;
    border-style: solid;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 0px;
    content: "5";
    font-family: "ETmodules";
}

.widget_widgets_in_tabs .wit-tab-container > li:before{
    display: none;
}

/*******************/
/***** ARTICLE *****/
/*******************/

.et_pb_post {
    background: url(img/line.png) repeat-x scroll bottom center;
    margin:0;
    overflow: hidden;
    padding: 30px 0;
}

.et_pb_post:first-child{
    padding-top: 0;
}

.et_pb_post .entry-title, .main_title.entry-title{
    color: #1d386a;
    font-weight: 600;
    margin: 0 0 10px;
}

.et_pb_post .entry-title:hover{
    color: #506d2d;
}


.et_pb_post .post-thumb{
    float: left;
    width: 30%;
}

.et_pb_post .post-thumb a{
    border: 4px solid #000000;
    display: block;
}

.et_pb_post .post-thumb a:hover{
    border: 4px solid #506d2d;
}

.et_pb_post .post-content{
    float: left;
    padding-left: 20px;
    width: 70%;
}




/***************************************************************************/

/*--------------*\
    #FOOTER 
\*--------------*/

#footer-widgets .widget-with-tab {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
    margin-top: -15px;
    overflow: hidden;
}

#footer-widgets .widget-with-tab .ui-tabs-nav{
    display: table; 
    width: 100%;
}

#footer-widgets .widget-with-tab .ui-tabs-panel{
    padding: 20px 10px;
}

#footer-widgets .widget-with-tab .ui-tabs-nav li{
    display: table-cell;
    padding: 0;
}

#footer-widgets .widget-with-tab .ui-tabs-nav li:before, #footer-widgets .wp-polls-ul li:before{
    display: none;
}

#footer-widgets .widget-with-tab .ui-tabs-nav li a{
    background: #191919;
    border-bottom: 1px solid #ffffff;
    color:#ffffff;
    display: block;
    padding: 15px;
    text-align: center;
}

#footer-widgets .widget-with-tab .ui-tabs-nav li a:hover{
    background: #101010;
}

#footer-widgets .widget-with-tab .ui-tabs-nav li.ui-state-active a{
    background: #101010;
    border-bottom: 1px solid #A1DF6B;
    color: #A1DF6B;
}

#footer-widgets .widget-with-tab h4{
    margin:0;
    padding: 0;
}

#footer-widgets .wp-polls p{
    text-align: left !important;
}

#footer-widgets .footer-widget .wp-polls-ul{
    margin: 10px 0;
}

#footer-widgets .footer-widget .wp-polls li{
    padding: 0;
}

#footer-widgets .wp-polls .Buttons {
    border: none;
    background-color: #101010;
    color: #A1DF6B;
    padding: 10px 15px;
    border-radius: 3px;
    text-transform: uppercase;
    cursor: pointer;
}

#footer-bottom p{
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    padding-bottom: 10px;
}

.tagcloud a{
    background: #333333;
}

/********************************************************************************************/


/***** RESPONSIVE *****/

@media (max-width: 1199px) {
      
#et-main-area #main-content, .container{
    width: 90%;
}

.widget_widgets_in_tabs .widgettitle{
   font-size: 12px;
}

.widget_widgets_in_tabs .widgettitle a{
    padding: 10px 9px;
}

}

/*********************************/

@media (max-width: 991px) {

.et_pb_widget_area_left {
    padding: 30px 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-left: 0;
}

}

/*********************************/

@media (max-width: 980px) {

#main-header{
    margin-bottom: 53px;
}

.et_header_style_left #logo, .et_header_style_split #logo{
    max-width: 100%;
}

.et_header_style_split .mobile_menu_bar, .et_header_style_left .mobile_menu_bar {
    padding: 10px;
}

#main-content .left-column, .et_right_sidebar #left-area, #main-content .right-column, .et_right_sidebar #sidebar{
    float: none;
    width: 100%;
}

}

/*********************************/

@media (max-width: 767px) {


#et-main-area #main-content, .container{
    width: 96%;
}


}

/*********************************/

@media (max-width: 480px) {

.et_pb_post .post-thumb{
    width: 100%;
}

.et_pb_post .post-content{
    padding: 20px 0 0;
    width: 100%;
}

}
