/*
Theme Name: Divi Child Theme
Description: A child theme to house custom coding which modifies the Divi parent theme by Elegant Themes. Includes default line numbers where the code was taken from in the parent theme.
Author:   Brad Dalton http://wpsites.net
Template: Divi
*/

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

/*Control Hover Opacity of Divi Menu Navigation Links*/

.nav li ul {padding:0px;}
#top-menu li li {padding:0px;}
#top-menu li li a {width:240px;padding:10px 20px;}
#top-menu li li a:hover {background-color:#000000;color:white !important;opacity:1 !important;}

#mega-submenu .et_pb_menu__menu>nav>ul>li{
	width:100%;
	margin:0px;
	margin-top:0px !important;
}
#mega-submenu .et_pb_menu__menu>nav>ul>li>a{
	padding:10px 20px;
	display:block;
	width:100%;
}
#mega-submenu .et_pb_menu__menu .current-menu-item a{
	color:#76d750 !important;
}
#mega-submenu .et_pb_menu__menu>nav>ul>li>a:hover{
	background-color:#000000;
	color:#ffffff;
	opacity:1 !important;
}

#hero .header-content{
	text-align:center !important;
}

.dmp-1146 #tippy-1{
	left:248px !important;
}

.et_blog_grid_equal_height article{
	position:relative;
}

.remove-first .et_pb_ajax_pagination_container article:first-child{
	display:none;
}
#timeline .et_pb_row{
	display: flex;
    justify-content: center;
}
#timeline .et_pb_column{
	width:20% !important;
	margin-right:-50px !important;
}
#timeline .et_pb_column:last-child{
	margin-right:0px !important;
}
#timeline .et_pb_column:hover{
	position:relative;
	z-index:999999;
}
#timeline .et_pb_column:hover img{
	transform: scale(1.1);
	transform-origin: center;
	transition: all ease-in-out 0.25s;
}


@media only screen and ( max-width: 1500px ) { 
	#hero-section{
		margin-top:0px !important;
		border:none;
	}
}

/* Large screens (1405px upwards) */
@media only screen and ( min-width: 1405px ) { 
	.services-mega .sub-menu{
		/*display:none;*/
	}
}

/* Laptops and desktops (1100-1405px) */
@media only screen and ( min-width: 1100px ) and ( max-width: 1405px) { 
    .services-mega .sub-menu{
		/*display:none;*/
	}
}

/* Tablets in landscape mode (981-1100px) */
@media only screen and ( min-width: 981px ) and ( max-width: 1100px ) { 
    .services-mega .sub-menu{
		/*display:none;*/
	}
	.dmp-1146 #tippy-1{
		left:228px !important;
	}
}

/* Tablets in portrait mode (768-980px) */
@media only screen and ( min-width: 768px ) and ( max-width: 980px ) {
	.et_pb_post a img{
		margin-bottom:25px;
	}
}

/* Smartphones in landscape mode (480-768px) */
@media only screen and ( max-width: 767px ) {
    .et_pb_post a img{
		margin-bottom:25px;
	}
	#timeline{ 
		overflow-x:auto; 
	} 
	#timeline .et_pb_row{
		width: max-content !important;
		display:block;
		padding:30px;
	}
	#timeline .et_pb_column{
		/*width:33% !important;
		margin-right:-20px !important;*/
	}
	#timeline .et_pb_main_blurb_image{
		/*display:none;*/
	}
	#timeline .et_pb_blurb_container{
		padding:0px 10px;
	}
}
