/*
Theme Name: DiviChild
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 3.0.46
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

@media only screen and (max-width: 980px) {
  #logo {
    content: url("http://2vpelectrical.co.za/wp-content/uploads/2vp_electrical_services_horizontal.png");
  }
  .et_header_style_left #logo {
    max-height: 80% !important;
  }
.et_header_style_centered .mobile_nav .select_page, .et_header_style_split .mobile_nav .select_page, .et_mobile_menu li a, .mobile_menu_bar:before, .et_nav_text_color_light #top-menu>li>a, .et_nav_text_color_dark #top-menu>li>a, #top-menu a, .et_mobile_menu li a, #et_search_icon:before, #et_top_search .et-search-form input, .et_search_form_container input, #et-top-navigation .et-cart-info {
    color: #F58220 !important;
	}
	.et_pb_slide {
    	height: calc(100vh - 150px) !important;
		padding:0px;
	}
	.et_header_style_left #logo, .et_header_style_split #logo {
    	max-width: 75%;
	}
	/*//////SOCIAL ICONS MENU///////*/
	.et_mobile_menu li.social {
		display:block;
		float:left;
		padding-left:5%;
	}
	.et_mobile_menu li.social a {
		font-size:30px;
	}
}

.et_pb_slide {
	padding:0px;
	border-bottom: 30px solid #25408F;
}

.et_header_style_left .mobile_menu_bar, .et_header_style_split .mobile_menu_bar {
    padding: 50px 0px;
}

.mobile_menu_bar:before {
    font-size: 50px;
}

/* Increase width of vertical navigation */
@media (min-width: 981px) {
	.et_vertical_nav #page-container #main-header{
		width:22%;
	}
	.et_vertical_nav #et-main-area, .et_vertical_nav #top-header{
		margin-right:22% !important;
	}
	.et_vertical_nav #main-header .container {
    	margin: 0 10px 0 70px;
	}
	.et_vertical_nav.et_vertical_right #page-container #main-header {
    	position: fixed;
	}
}

/*.et_pb_slides .et_pb_slider_container_inner {
    vertical-align: bottom;
}*/

.et_pb_button {
	box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.3);
}
.et_pb_button:hover {
	box-shadow: none;
}
/*//////MAIN MENU///////*/
.et_vertical_nav #main-header #top-menu li.hover {
    display: block;
    padding-right: 0;
    background-color: #F58220;
    margin: 0 0 15px;
    -webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
    border: 1px solid #fff;
	border-left:none;
    box-shadow: -2px 3px 10px rgba(0, 0, 0, 0.3);
	margin-right:-70px;
	-webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
	overflow:hidden;
}
#main-header #top-menu li.hover.ds-menu-active,
.et_slide_in_menu_container .et_mobile_menu li.hover.ds-menu-active {
    background-color: #25408F !important;
	margin-left:-50px;
	box-shadow:none;
}
.et_vertical_nav #main-header #top-menu li.hover:before {
	content:'';
	background-image:url('http://2vpelectrical.co.za/wp-content/uploads/2019/01/plug_icon.png');
	background-repeat:no-repeat;
	display:inline-block;
	width:50px;
	height:24px;
	margin-left:-50px;
	vertical-align: middle;
	-webkit-transition: all .4s ease;
    -moz-transition: all .4s ease;
    transition: all .4s ease;
}
.et_vertical_nav #main-header #top-menu li.hover.ds-menu-active:before {
	margin-left:0px;
}
.et_vertical_nav #main-header #top-menu li.hover a {
    padding: 15px;
	display:inline-block;
	width:100%;
	margin-right: -50px;
}

/*//////SOCIAL ICONS MENU///////*/
.et_vertical_nav #main-header #top-menu li.social {
	display:block;
	float:left;
}
.et_vertical_nav #main-header #top-menu li.social a {
	color:#F58220;
	font-size:35px;
	padding:15px 0px 0px 15px;
	margin: 0px -5px 0px 0px;
}
.et_vertical_nav #main-header #top-menu li.social a:hover {
	color:#25408F;
	opacity:1;
}


/*//////MOBILE NAVIGATION///////*/
.et_mobile_menu li a, .nav li li a {
    font-size: 18px;
}

/*//////TABLE///////*/
.entry-content table, body.et-pb-preview #main-content .container table {
    border: none;
}
.entry-content tr td, body.et-pb-preview #main-content .container tr td {
    padding: 0px 10px 10px 0px;
    border-top: none;
	vertical-align: top;
}


.fa, .fas {
    background-color: #F58220;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    text-align: center;
    line-height: 30px !important;
}

.et_vertical_nav #main-header #top-menu li.social.hide {
	display:none;
}