/*
Theme Name: Divi Child
Template: Divi
*/

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

/*colors---*/
/*-gold: #937f34 -*/
/*-grey text: #58585a -*/



.mobnavbtn, .mobnavbtn .mnblock,
.overlay .closebtn,
#myNav #mobile-menu li a,
.footer-contact .et_pb_blurb_content .et_pb_blurb_container a,
.menu-phone a {
	-webkit-transition: all .4s ease-in-out;
    -moz-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;
}

.el-flex-row {
  display: flex;
  flex-wrap: wrap;
}
.el-flex-row .et_pb_column {
  display: flex;
  flex-direction: column;

}


/*----------------------Menu--------------------------------*/
.menu-phone {
	  position: fixed; /* Stay in place */
	  z-index: 998;
	  left: 20px;
	  top: 20px;
	  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
.menu-phone a {
	color:#58585a;
}
.menu-phone a:hover {
	color:#937f34;
}
.menu-phone .et_pb_blurb_content .et_pb_main_blurb_image {
	display:inline-block;
	margin-bottom:10px;
}
.menu-phone .et_pb_blurb_content .et_pb_blurb_container {
	display:inline-block;
	padding-left:0px;
}
@media (max-width: 980px) {
	.menu-phone {
	  display:none;
	}
}
/*-------------------------------------------------Mobile Menu------------------*/

/* The Overlay (background) */
.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */   
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 9999999; /* Sit on top */
  right: 0;
  top: 0;
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  padding:10px;
}

/* Position the content inside the overlay */
.overlay-content {
	position: relative;
	width: 100%; /* 100% width */
	text-align: center; /* Centered text/links */
	margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	max-width: 700px;
	margin: auto;
	top: 40%; /* 25% from the top */
}
.myNav-inner {
  height: 100%;
  width: 100%;
  position: relative; /* Stay in place */
  left: 0;
  top: 0;
  overflow-x: hidden; 
  background-color: rgb(255,255,255); 
  background-color: rgba(255,255,255, 0.9);
}

.custom-mobile-menu #mobile-menu {
	padding:0px 0px 30px 0px;
}
.custom-mobile-menu {
	width:auto;
	display:inline-block;
	vertical-align:middle;
	margin-left:0px;
	margin:0px 0px 0px 20px;
	position:fixed;
	top:20px;
	right:40px;
	z-index: 999;
}

/* The navigation links inside the overlay */

#myNav #mobile-menu li a {
	padding: 8px;
	text-decoration: none;
	text-transform:uppercase;
	font-size: 24px;
	font-weight:700;
	color: #58585a;
	display: block; /* Display block instead of inline */
	font-family: 'Open Sans',Helvetica,Arial,Lucida,sans-serif;
	cursor:pointer;
	width:100%;
}
#myNav #mobile-menu li {
	margin-bottom:20px;
	z-index:1;
	width:300px;
}
#myNav #mobile-menu li a:hover, #myNav #mobile-menu li.current-menu-item a,
#myNav #mobile-menu li.menu-item-has-children ul li a:hover,
#myNav #mobile-menu li.menu-item-has-children ul li.current-menu-item a { 
	color:#937f34;
}

#myNav #mobile-menu li, #myNav #mobile-menu ul {
	list-style:none;
	width:auto;
	margin:auto;
}



/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 60px;
  color:#937f34;
}
.overlay .closebtn:hover {
  color:#58585a;
}

.mobnavbtn {
	position: relative;
    z-index: 9999998;
    font-size: 60px;
    color: #fff;
    cursor: pointer;
    display:block;
    width: 34px;
    height: 25px;
    text-align: right;
    background-color: rgba(255,255,255,0);
    padding-top: 0px;
	margin-top:8px;
}
.mobnavbtn .mnblock {
	width: 32px;
    height: 3px;
    background-color: #937f34;
    margin: 5px 0 0 2px;
}

.mobnavbtn:hover .mnblock {
	background-color: #58585a;
	margin: 8px 0 0 2px;
}


@media (max-width: 980px) {
	.overlay-content {
		text-align: center; /* Centered text/links */
		max-width: 300px;
	}
}

@media (max-width: 750px) {
	
	.overlay {
	  padding:0px;
	}
	.overlay .closebtn {
	  top: 40px;
	  right: 5px;
	}
	.mobnavbtn {
		position:fixed;
		top: 26px;
		right: 10px;
		margin-top:0px;
	}
}
@media (max-width: 550px) {
	.mobnavbtn {
		top: 10px;
	}
	.overlay .closebtn {
	  top: 30px;
	}
}



/*--------------------Home------------------------------------*/



/*---------Blog---------*/
.projects-grid .et_pb_post .et_pb_image_container img {
	border-bottom:3px solid #937f34;
	border-left:3px solid #937f34;
}
.project-service-blurp-row {
	text-align:center;
}
.project-service-blurp-row .et_pb_module.et_pb_blurb {
	width:auto;
	display:inline-block;
	vertical-align:top;
	margin-left:15px;
	margin-right:15px;
}
.project-service-blurp-row .et_pb_blurb_container {
	padding-left:6px;
}
/*--------------Footer--------------------*/
body.home .main-footer {
	border-top:0px;
}
.footer-contact .et_pb_blurb_content {
	text-align:center;
}
.footer-contact .et_pb_blurb_content .et_pb_main_blurb_image {
	display:inline-block;
	margin-bottom:10px;
}
.footer-contact .et_pb_blurb_content .et_pb_blurb_container {
	display:inline-block;
	padding-left:5px;
}
.footer-contact .et_pb_blurb_content .et_pb_blurb_container a {
	color:#58585a;
}
.footer-contact .et_pb_blurb_content .et_pb_blurb_container a:hover {
	color:#937f34;
}