/*
 Theme Name:     Infocus - Divi Child Theme
 Author:         Infocus Law Marketing
 Author URI:     https://www.infocuslawmarketing.com/
 Template:       Divi
 Description:    A Child Theme for Divi.
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

/* Menu CTA Button */

.call-us-number {
	display: inline-block;
    position: relative;
    background-color: #0f74bd;
    padding: 10px 10px 10px 40px;
    color: #ffffff !important;
    border-radius: 3px;
    font-size: 18px;
	font-weight: 700;
}

.call-us-number::before {
    font-family: ETmodules;
    content: "\e090";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Change the default breakpoint for mobile menu    */

.phone-for-mobile {
	padding: 10px 0;
	background-color: #fff;
	display: none;
	overflow: hidden;
	margin: auto;
	box-shadow: inset 0px -1px 1px rgba(0, 0, 0, 0.08);
}

.phone-for-mobile .call-us-number {
	font-size: 22px;
	font-weight: 700;
	max-width: 250px;
	padding: 10px 15px 10px 65px;
	margin: 0 0 0 auto;
}

.phone-for-mobile .call-us-number::before {
	width: 50px;
	font-weight: 400;
}

@media (max-width: 980px) {
	.phone-for-mobile {
		display: block;
	}
	.menu-item .call-us-number {
		display: none;
	}
}

@media (max-width: 568px) {
	.phone-for-mobile .call-us-number {
		margin: 0 auto;
	}
}

/* Class for ETmodules Icons */

.et-icon {
	font-family: ETmodules;
}
/* Horizontal Align Middle */
.horizontal-align-middle {
	display: flex;
	justify-content: center;
}
/* Horizontal Align Right  */
.horizontal-align-right {
	display: flex;
	justify-content: flex-end;
}
/* Horizontal Align Left and Right  */
.horizontal-align-left-right {
	display: flex;
	justify-content: space-between;
}
/* Vertical Align Middle */
.vertical-align-middle {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* Vertical Align Bottom  */
.vertical-align-bottom {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
/* Vertical Align Top and Bottom  */
.vertical-align-top-bottom {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
/* Remove Align/Float of Images on MOBILE */
@media only screen and (max-width: 480px) {
	img.alignright, img.alignleft {
		display: block !important;
		float: none !important;
		margin: 0 auto 20px !important;
	}
}


/* Styling CF7 to look like the Divi Contact Form */

.wpcf7-text, .wpcf7-textarea, .wpcf7-date, .wpcf7-select, .wpcf7-captchar {
	background-color: #f5f5f5 !important;
	border: 1px solid #ddd !important;
	width: 100% !important;
	-moz-border-radius: 0 !important;
	-webkit-border-radius: 0 !important;
	border-radius: 3px !important;
	font-size: 14px;
	color: #333 !important;
	padding: 16px !important;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

.wpcf7-submit {
	color: #fff !important;
	margin: 8px auto 0;
	cursor: pointer;
	font-size: 17px;
	font-weight: 700;
	text-transform: uppercase;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: 8px 20px;
	line-height: 1.7em;
	background: #333;
	border: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-moz-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.wpcf7-submit:hover {
	background-color: #111;
}
.wpcf7-form .clear {
	margin-bottom: 16px;
}
div.wpcf7 .ajax-loader {
	width: auto;
}
.wpcf7-response-output {
	background-color: white;
	color: #888;
}
::placeholder {
	/* Chrome, Firefox, Opera, Safari 10.1+ */
	color: #848484;
	opacity: 1;
	/* Firefox */
}

:-ms-input-placeholder {
	/* Internet Explorer 10-11 */
	color: #848484;
}

::-ms-input-placeholder {
	/* Microsoft Edge */
	color: #848484;
}

/*------------------------------------*/

p:empty {
	display: none;
}

.p-last-pad p:last-of-type {
	padding-bottom: 1em;
}

.align-center {
	text-align: center;
}
.align-right {
	text-align: right;
}
.align-left {
	text-align: left;
}

.inline-buttons {
	/* text-align: center; */
}

.inline-buttons .et_pb_button_module_wrapper {
	display: inline-block;
}

.inline-buttons .et_pb_button {
	/* margin-left: 15px !important; */
	margin-right: 15px !important;
}

@media (max-width: 640px) {
	.inline-buttons .et_pb_button {
		margin-right: auto !important;
	}
}


/* Widget Bullet List Styles */
.et_pb_widget ul li::before {
    content: "\35";
    font-family: 'ETMODULES';
    font-weight: 900;
    color: #ccc;
    margin-right: 6px;
}
.et_pb_widget ul li {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    padding-left: 6px;
}
.et_pb_widget ul li:first-child {
    border-top: 1px solid #eee;
    padding-top: 6px;
}
.et_pb_widget ul li ul li::before {
    content: "\45";
    margin-right: 6px;
}
.et_pb_widget ul li ul li {
    border-bottom: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}
.et_pb_widget ul li ul li {
    margin-left: 15px;
}
.et_pb_widget ul li ul li:first-child {
    padding-top: 10px;
}


/* Badges Styles */
.award-badges {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}
.award-badges img {
    display: inline-block;
    max-height: 100px;
    width: auto;
}
@media (max-width: 640px) {
	.award-badges img {
		max-width: 130px;
		max-height: 60px;
		margin-bottom: 15px;
	}
}
@media (min-width: 641px) and (max-width: 1024px) {
	.award-badges img {
		max-width: 150px;
		max-height: 80px;
		margin-bottom: 15px;
	}
}
