/*
Theme Name:Child Theme for Divi
Theme URI: http://wordpress-style.net
Description: Child Theme For Divi
Author: Eduard Ungureanu
Author URI: http://wordpress-style.net
Template: Divi
Version: 1.0.43
*/

/* Start your custom CSS bellow this comment
============================================ */

/* EG CUSTOMIZE MENU LINESPACING AND PADDING */

#et-secondary-menu li, #top-menu li {
    word-wrap: break-word;
}
.nav li li {
    line-height: 1.25em;
}
.nav li {
    line-height: 1.5em;
}

#top-menu li {
    display: inline-block;
    padding-right: 14px;
    font-size: 14px;
}

/* UBER MENU FIX */
/*
.et_header_style_left div.logo_container{
    position:relative;
    padding:20px 0;
    width:auto;
    height:auto;
    float:left;
}
*/

#top-header-official-bar {
	background-color: #000;
	display: block;
	width: 100%;
	float:left;
	margin-bottom: 10px;
}

#top-header-official-bar img {
	float: left;
	margin-left: -11px;
}

#top-header-official-bar span {
	float: left;
	line-height: 28px;
}

#top-header .container {
	width: 80% !important;
	max-width: 1080px !important;
	padding-left: 0 !important;
}

.et_pb_section, #main-content {background-color: transparent;}

#custom-footer {
	background-color: #F89820 !important;
}

.single #custom-footer {
	padding: 0 !important;
}

/* HOMEPAGE */
.custom-latest-news ul {
	padding: 0;
	list-style-type: none;
}

.custom-horizontal-button {text-align: center;}

.custom-horizontal-button a {
	width: 12%;
	height: auto;
	margin-right: .5%;
	float: left;
	position: relative;
}

.custom-horizontal-button a:after {
	content: "";
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .2);
	-moz-transition: background-color, 500ms;
	-webkit-transition: background-color, 500ms;
	-o-transition: background-color, 500ms;
	transition: background-color, 500ms;
}

.custom-horizontal-button a:hover:after {
	opacity: 1;
}

.custom-horizontal-button a img {
	width: 100%;
	height: auto;
	display: block;
}

.custom-horizontal-button a:last-child img {margin-right: 0px;}

#home-featured-posts .et_pb_slide .et_pb_container {min-height: 360px;}

#home-featured-posts .et_pb_slider_container_inner {
	vertical-align: bottom;
}

#home-featured-posts.et_pb_slider_fullwidth_off .et_pb_slide_description {
	text-align: left;
	padding: 0;
}

#home-featured-posts .et_pb_slide_content {display: none;}

/* INSTAGRAM SLIDER */
.swiper-button-prev {background-image: url('http://us137.siteground.us/~nebras28/wp-content/uploads/2018/03/instagram-left-arrow.png');}

.swiper-button-next {background-image: url('http://us137.siteground.us/~nebras28/wp-content/uploads/2018/03/instagram-right-arrow.png');}

/* ACCORDION TOGGLE */
.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block !important;
	content: "\e04f";
}

/* MOBILE CSS */
@media (min-width: 1201px){
	.ubermenu {
		padding-top: 20px !important;
	}
}

@media (max-width: 1200px){
	
	#top-menu-nav, #top-menu {display: none;}
	#et_top_search {display: none;}
	#et_mobile_nav_menu {display: block;}
	.et_mobile_menu {
		overflow-y:scroll!important;
		max-height:80vh!important;
		-overflow-scrolling:touch!important;
		-webkit-overflow-scrolling:touch!important;
	}
	
/*
	.et_header_style_left .logo_container { width: auto !important; }
	.et_header_style_left #et-top-navigation, #et-top-navigation { 
		position: relative !important;
		width: 100% !important;
		padding-left: 0 !important;
		z-index: 999;
	}
	
	#top-menu-nav { width: 100%; }
	
	.et_header_style_left .logo_container { 
		z-index: 1;
	}

	#et-top-navigation { 
		padding-left: 0 !important;
		position: relative;
		z-index: 2;
	}
*/
	/*
	.ubermenu-responsive-toggle{
    	position:absolute !important;
		bottom: 0 !important;
		right: 0 !important;
    	z-index:40 !important;
	}
	
	.ubermenu.ubermenu-main{
    	position:absolute;
    	top:52px;
	}
	*/
}

@media only screen and ( min-width: 981px ) {
	#et-secondary-menu {float: left;}	
}

@media (max-width: 980px){
	
	#top-header {display: block !important;}
	#top-header-official-bar {
		margin-bottom: 0;
	}
	
	.custom-horizontal-button a {
		width: 24%;
		height: auto;
		margin-right: 1%;
		margin-bottom: 1%;
	}
	.custom-horizontal-button a:nth-child(4) {margin-right: 0;}
}

@media (max-width: 479px){
	/*
	#main-header .logo_container{
    	float:left;
    	max-width:50%;
	}
	#main-header #logo{
    	max-width:100%;
	}
	*/
	#top-header-official-bar .container {
		width: 100% !important;
	}
	#top-header-official-bar img {
		margin-left: 0;
	}
}