/*
    Theme Name: Integrated Tax Services Divi Child
    Theme URI: https://its-taxes.com
    Description: Divi Child Theme
    Author: Formada
    Author URI: https://formadasocial.com
    Template: Divi
    Version: 1.0.0
*/

/* ----------CUSTOM STYLES---------- */

/* Global Background Color */
#main-content {
	background-color: #f2f4f1;
}

h1,h2,h3,h4,h5 {
	letter-spacing: 1px;
}

/* Typography Styles */
h1 {
	color: #533949 !important;
	letter-spacing: 1px;
}

h3 {
	color: #533949 !important;
}

.entry-content li {
	padding-top: 10px;
}

.entry-content ol {
	list-style-position: outside;
	padding-left: 14px;
}

/* Navigation Menu Styles */
#top-menu li a {
font-weight: 300 !important;
}

/* Remove primary menu bottom border */
header#main-header.et-fixed-header, #main-header{
	-webkit-box-shadow:none !important;
	-moz-box-shadow:none !important;
	box-shadow:none !important;
}

.et_mobile_menu {
	max-height: 80vh;
	overflow-y: scroll;
}

/* Header outbound link styles */
.btn-nav-external {
	background: none;
	border: none;
	color: #533949;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 2px;
	padding: .3em 1em;
}

.btn-nav-external:hover {
	color: #4a6676;
	cursor: pointer;
}

/* Popup Styles */
.area-outer-wrap .popup {
	border-radius: 0;
	top: 0;
	left: 0;
	transform: inherit;
}

/* Ordered Row Styles */
@media all and (max-width: 980px) {
	/* wrap row in a flex box */
	.ordered-row {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-wrap: wrap; /* Safari 6.1+ */
		flex-wrap: wrap;
	}
 
	/* custom classes that will designate the order of columns in the flex box row */
	.first-on-mobile {
		-webkit-order: 1;
		order: 1;
	}
 
	.second-on-mobile {
		-webkit-order: 2;
		order: 2;
	}
 
	.third-on-mobile {
		-webkit-order: 3;
		order: 3;
	}

	.fourth-on-mobile {
		-webkit-order: 4;
		order: 4;
	}
	
	/* add margin to last column */
	.ordered-row .et_pb_column:last-child {
		margin-bottom: 30px;
	}
}

/* Form Styles */
.gform_heading .gform_required_legend {
	display: none;
}

.mc4wp-form label {
	font-weight: bold;
}

.gform_body input[type=text],
.mc4wp-form input[type=text],
.mc4wp-form input[type=email] {
	padding: 10px !important;
}

.mc4wp-form input[type=text],
.mc4wp-form input[type=email] {
	width: 100%;
}

.gform_body .gfield_label,
.gform_body .gfield_checkbox .gchoice .gform-field-label,
.gform_body .gfield_radio .gchoice .gform-field-label {
	line-height: 1.5em;
}

.gform_body .gfield_checkbox input[type=checkbox] {
	margin-bottom: 0;
}

.gform_button,
.mc4wp-form input[type=submit] {
	background: #533949;
	border: none;
	color: #fff;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 15px 30px;
	text-transform: uppercase;
	transition: all .2s ease-in-out;
}

.gform_button:hover,
.mc4wp-form input[type=submit]:hover {
	cursor: pointer;
	background: #E6E8E5;
}

.mc4wp-form input[type=submit] {
	margin-top: 20px;
}

/* Career Blog Module Styles */
.blog-careers .post-content a.more-link {
	background: #533949;
	color: #fff !important;
	display: inline-block;
	font-weight: bold;
	letter-spacing: 2px;
	margin-top: 30px;
	padding: .3em 1em;
	transition: all .2s ease-in-out;
}

.blog-careers .post-content a.more-link:hover {
	background: #E6E8E5;
}