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


/* Pretty icons for email, phone & SMS */

#cm-info-phone:before {
	content: "\e090";
}

#cm-info-email:before {
	content: "\e076";
}

#cm-info-sms:before {
	content: "\e066";
}


/* Stop the footer menu becoming a hamburger */

footer .et_mobile_nav_menu {
	display: none !important;
}

footer .et_pb_menu__menu {
	display: block !important;
	padding-bottom: 10px;
}


/* Style the footer text */

footer h4 {
	font-size: 15px!important;
}

footer {
	font-size: 14px!important;
}


/* Fix the mobile menu not scrolling */

#mobile_menu1 {
	height: 400px;
	overflow-y: auto;
}

/* some optional prettyness
	.et_mobile_menu {
	overflow: scroll !important;
	max-height: 84vh; 
	box-shadow: 0px 0px 30px rgba(0,0,0,0.3);
}
*/


/* I forget what this was for! */

@media only screen and (max-width: 980px) {
	.cm-footer-menu .et_pb_column {
		width: 50%!important;
	}
}

@media only screen and (max-width: 479px) {
	.cm-footer-menu .et_pb_column {
		width: 50%!important;
	}
}


/* Adjust anchor position for TOC */

@media screen and (max-width: 480px) {
	.ez-toc-section {
		display: block;
		position: relative;
		top: -145px;
		visibility: hidden;
	}
}

@media screen and (min-width: 480px) {
	.ez-toc-section {
		display: block;
		position: relative;
		top: -120px;
		visibility: hidden;
	}
}


/* header to shrink on page scroll */

@media screen and (min-width: 480px) {
	.increase-row-width>div>div.et_pb_menu__logo-wrap {
		width: 14%;
		height: 100%;
	}
	.increase-row-width>div>div.et_pb_menu__wrap {
		margin: -1% 0 0 0;
	}
	.reduce-section-padding {
		min-height: 75px;
	}
	.increase-row-width>div {
		height: 40px;
	}
}

@media screen and (max-width: 480px) {
	.increase-row-width>div>div.et_pb_menu__logo-wrap {
		width: 40%;
		height: 100%;
	}
	.increase-row-width>div>div.et_pb_menu__wrap {
		margin: -1% 0 0 0;
	}
	.reduce-section-padding {
		min-height: 75px;
	}
	.increase-row-width>div {
		height: 30px;
	}
}
