/* =Theme customization starts here
------------------------------------------------------- */

/* = General
------------------------------------------------------- */

/* Top search margin fix for mobile and tablets */
@media (max-width: 980px) {
	#et_top_search {
		margin-top: 0;
	}
}

/* Display columns on tablet and mobile */
@media only screen and (max-width: 980px) {
	.mobile-columns .et_pb_column {
		width: calc(94.5% / 3) !important;
	}
}

@media only screen and (max-width: 767px) {
	.mobile-columns .et_pb_column {
		width: calc(94.5% / 2) !important;
	}
}

/* Gravity Forms styles */
.gpnf-add-entry {
	font-size: 14px;
	font-weight: bold;
}

/* Hide Email Link */
#top-header #et-info span + a {
	display: none;
}

/* Fix Divi slider arrows accessibility issues */
.et-pb-arrow-next span,
.et-pb-arrow-prev span {
	display: block;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

/* Icons adjustements */
.icon-card h4 img {
	float: left;
	margin-right: 10px;
}

.icon-card strong {
	font-size: 20px;
	display: block;
	padding-top: 30px;
}

ul.checkmark-list {
	text-align: left;
	clear: both;
	list-style-image: url("/wp-content/uploads/2019/05/CheckMark.png");
	margin-top: 30px;
	font-size: 16px;
}

ul.checkmark-list li {
	padding: 10px 0;
}

.icon-card h4 {
	text-align: left;
}

/* Add focus state */
.et_pb_main_blurb_image a {
	display: block;
}

/* = Header & Navigation
------------------------------------------------------- */

/* Menu CTA Button */
#et-top-navigation .et_pb_more_button .et_pb_button {
	margin-top: 0px;
	font-size: inherit;
	font-weight: inherit;
	background-color: #a5d9e2;
	outline-color: #3e4e6d;
}

.et_pb_more_button.et_pb_button {
	color: #ffffff;
	margin-top: 0;
}

#et-top-navigation .et_pb_button:after {
	font-size: 23px;
}

#et_top_search {
	margin-top: 13px;
}

#et-info-phone:before {
	color: #3e4e6d;
}

#et-info-phone a {
	color: #3e4e6d !important;
	font-size: 18px;
}

@media (max-width: 1124px) {
	#logo {
		max-height: 45px;
	}

	.et_pb_more_button.et_pb_button {
		font-size: 13px;
	}

	#top-menu li {
		padding-right: 10px;
		font-size: 13px;
	}
}

#main-header .et_mobile_menu {
	width: 125%;
	left: 50%;
	transform: translateX(-50%);
}

#main-header .et_mobile_menu .et_pb_more_button {
	width: 100%;
	text-align: center;
}

#main-header .et_mobile_menu > .menu-item:last-child > a {
	border: 0;
}

#main-header .et_mobile_menu > .menu-item {
	position: relative;
}

#main-header .et_mobile_menu li a {
	padding-top: 14px;
	padding-bottom: 14px;
}

#main-header .et_mobile_menu > .menu-item .nav-trigger {
	width: 20%;
	height: 100%;
	max-height: 52px;
	position: absolute;
	z-index: 100;
	right: -4%;
	top: 0;
	border-left: 1px solid rgba(0, 0, 0, 0.15);
	max-width: 110px;
}

#main-header .et_mobile_menu .menu-item-has-children > a {
	background-color: transparent;
	position: relative;
	font-weight: 600;
}

#main-header .et_mobile_menu .menu-item-has-children > .nav-trigger:after {
	font-family: "ETmodules";
	text-align: center;
	speak: none;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	-webkit-font-smoothing: antialiased;
	position: absolute;
}

#main-header .et_mobile_menu .menu-item-has-children > .nav-trigger:after {
	font-size: 18px;
	font-weight: 700;
	content: "\4c";
	top: 13px;
	right: 23%;
	left: 0;
}

#main-header
	.et_mobile_menu
	.menu-item-has-children.visible
	> .nav-trigger:after {
	content: "\4d";
}

#main-header .et_mobile_menu ul.sub-menu {
	display: none !important;
	visibility: hidden !important;
	transition: all 1.5s ease-in-out;
}

#main-header .et_mobile_menu .visible > ul.sub-menu {
	display: block !important;
	visibility: visible !important;
}

.mobile_nav .social {
	display: inline-block;
	margin-left: calc(5% - 10px);
}

.mobile_nav .social a {
	border-bottom: 0;
	padding: 10px;
}

.mobile_nav .social a:hover {
	background: none;
}

.mobile_nav .social-icon {
	display: block;
	width: 30px;
}

/*Header Adjustments*/
@media (max-width:980px) {
	#main-header {
		position: absolute !important;
		top: 0px !important;
	}
	
	#top-header {
		position: relative !important; 
		top: 0 !important;
	}
	
	#primary-menu {
		position: relative; 
	}
	
	#et_top_search {
		margin-top: 0 !important;
	}
	
	.et-search-form input,
	span.et_close_search_field {
		top: 50%; 
		bottom: 25%; 
		
	}

}

/* Hide Mail Icon in Header */
#et-info-email {
	display: none;
}

#top-header #et-info-phone {
	font-weight: bold;
	font-size: 115%;
}

#et-secondary-nav li.social {
	position: absolute;
	top: 9px;
}

#et-secondary-nav li:nth-child(3) {
	left: 170px;
}

#et-secondary-nav li:nth-child(4) {
	left: 210px;
}

#et-secondary-nav li:nth-child(5) {
	left: 250px;
}

#et-secondary-nav li:nth-child(6) {
	left: 290px;
}

/* Mobile nav social icons */
.mobile_nav .social {
	display: inline-block;
	margin-left: calc(5% - 10px);
}

.mobile_nav .social a {
	border-bottom: 0;
	padding: 10px;
}

.mobile_nav .social a:hover {
	background: none;
}

.mobile_nav .social-icon {
	display: block;
	width: 30px;
}

#main-header .et_mobile_menu > .menu-item .nav-trigger {
	border-left: 1px solid rgba(0, 0, 0, 0.03);
	max-width: 110px;
}

/* = Footer
------------------------------------------------------- */

.footer-header {
	color: #a5d9e2;
}

.footer-widget .widget_text {
	margin-bottom: 10px !important;
	float: none;
}

#footer-widgets .footer-widget li {
	padding-left: 0;
}

#footer-widgets .footer-widget li:before {
	display: none;
}

#footer-widgets .address {
	line-height: normal;
}

#footer-widgets img {
	width: 30px;
	margin-top: 20px;
	margin-right: 15px;
}

#footer-info {
	width: 100%;
}

#footer-info a {
	float: right;
	margin-left: 30px;
	text-decoration: underline;
}

@media (max-width: 980px) {
	.footer-widget:nth-child(n) {
		width: 46.25% !important;
		margin: 0 7.5% 20px 0 !important;
	}
}

@media (max-width: 767px) {
	#footer-widgets .footer-widget .fwidget,
	#footer-widgets .footer-widget:nth-child(n) {
		margin-bottom: 0 !important;
	}

	#footer-info a {
		float: none;
		padding-right: 20px;
		text-align: center;
		margin-left: 0;
	}

	#footer-info a:nth-child(3) {
		padding-right: 0;
	}

	#footer-info a:nth-child(4) {
		display: block;
		padding-right: 0;
	}
}

@media (min-width: 981px) {
	.page .footer-widget {
		margin-right: 5.5%;
		margin-bottom: 5.5%;
	}
	.page.et_pb_footer_columns4 .footer-widget {
		width: 20.875%;
	}
	.page.et_pb_footer_columns4 .footer-widget .fwidget {
		margin-bottom: 26.347%;
	}
}

/* = Breadcrumbs
------------------------------------------------------- */

.breadcrumbs.et_pb_row {
		padding: 10px 0;
}

.breadcrumbs {
	font-size: 12px;
}

.breadcrumbs a {
	color: #3e4e6d;
	text-decoration: underline;
}

.breadcrumbs a:hover {
	text-decoration: none;
}

/* = Comments and forms
------------------------------------------------------- */

/* Fix comments labels to pass accessibility audit */
#comment-wrap p:not(.comment-form-cookies-consent) label {
	display: block !important;
	height: 1px;
	overflow: hidden;
}

/* Change form steps color */
.gform_wrapper .gf_step {
	opacity: 0.5;
}

/* Comments form */
#commentform input[type="email"],
#commentform input[type="text"],
#commentform input[type="url"],
#commentform textarea {
	background: #efefef;
	color: #303030;
}

/* = Blog
------------------------------------------------------- */

a.more-link,
.logged-in-as a {
	text-decoration: underline;
	color: #3e4e6d;
}

a.more-link::first-letter {
	text-transform: uppercase;
}

a.more-link:hover,
.logged-in-as a:hover {
	text-decoration: none;
}

.widget_search input#s,
.widget_search input#searchsubmit {
	border-color: #373e4a;
	background-color: #fff;
}

.widget_search input#searchsubmit {
	color: #373e4a;
}

@media only screen and (max-width: 767px) {
	.et_pb_column.et_pb_column_1_4.et_pb_column_1 .widget_recent_entries {
		display: none;
	}
}

.form-submit .submit.et_pb_button,
.comment .et_pb_button {
	color: #fff;
}

#sidebar .widgettitle {
	font-weight: 600;
	font-size: 16px;
}

#sidebar ul li,
#sidebar ul li a {
	font-size: 14px;
	color: #3e4e6d;
	line-height: 1.6em;
}

#main-content .container:before {
	content: normal;
}

@media (min-width: 981px) {
	#sidebar .et_pb_widget {
		margin-bottom: 26.347%;
	}
}

/* = Courses tabs
------------------------------------------------------- */

#courses_info.section {
	margin: 0 auto 50px;
	max-width: 1000px;
	z-index: 2;
	padding: 0 90px;
}
#courses_info {
	height: 565px;
	margin: 0 auto 50px;
}
#courses_info.section.grey {
	color: #303030;
	height: 460px;
	top: -165px;
	z-index: 1;
}
#courses_info .course-desc {
	font-size: 14px;
	line-height: 1.5;
	font-weight: normal;
}
#courses_info label {
	color: #3e4e6d;
	font-size: 15px;
	font-weight: bold;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
#courses_info label.blue {
	display: block;
	margin: 1em 0 5px;
}
#courses_info li {
	list-style-type: disc;
	margin-left: 30px;
}
#courses_info select {
	color: #3e4e6d;
	font-size: 15px;
	letter-spacing: 0.5px;
	margin-left: 4px;
	padding: 3px 7px 5px;
	text-transform: uppercase;
	width: 100%;
}
#courses_info .tab-wrap .panel {
	min-height: 550px;
}
#courses_info .tab-wrap .panel-wrap {
	height: auto;
	position: relative;
}
#courses_info .tab-wrap .tabs {
	margin-right: -4px;
	margin-left: -2px;
	white-space: nowrap;
}
#courses_info .tab-wrap .tabs p {
	font-size: 16px;
	height: 48px;
	line-height: 48px;
	width: calc(100% / 6);
}
#courses_info .tab-wrap .tabs .double {
	line-height: 17px;
	padding-top: 6px;
	box-sizing: border-box;
}
#courses_info .tab-wrap .tabs .whiteout {
	height: 13px;
	top: 20px;
}
#courses_info ul {
	margin: 1em 0;
}
.school {
	display: none;
	padding: 20px;
}
.school.active {
	display: block;
}
.school-wrap {
	/*box-shadow: 0 0 6px 0 rgba(0,0,0,.3);*/
	border: 2px solid #e3e2de;
	font-size: 0;
}
.school-wrap .school-tab {
	background: #fff;
	color: #3e4e6d;
	cursor: pointer;
	display: inline-block;
	font-weight: 600;
	text-align: center;
	font-size: 25px;
	padding: 10px 0;
	position: relative;
	vertical-align: top;
	width: calc(100% / 2);
	z-index: 1;
	margin: 0px;
}
.school-wrap .school-tab:not(.has-background):last-of-type {
	padding: 10px 0;
}
.school-wrap .school-tab.active {
	background: #3e4e6d;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
	color: #fff;
	z-index: 2;
}
.tab-wrap {
	text-align: left;
}
.tab-wrap.courses {
	position: relative;
	text-align: left;
	width: 100%;
	z-index: 2;
	margin-top: -2px;
}
.tab-wrap .panel {
	background: #fff;
	display: none;
	z-index: 2;
}
.tab-wrap .panel.active {
	display: block;
}
.tab-wrap .panel .text {
	color: #1f5099;
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 240px;
}
.tab-wrap .panel .text h3 {
	font-weight: bold;
	font-size: 14px;
	margin: 10px 0;
}
.tab-wrap .panel .text p {
	font-size: 14px;
	line-height: 20px;
	text-align: left;
}
.tab-wrap .panel-wrap {
	height: 180px;
	position: relative;
}
.tab-wrap .tabs {
	cursor: pointer;
	position: relative;
	padding: 2px;
}
.tab-wrap .tabs p {
	color: #3e4e6d;
	cursor: pointer;
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	height: 40px;
	line-height: 35px;
	position: relative;
	text-align: center;
	text-transform: uppercase;
	vertical-align: top;
	width: 118px;
	border-width: 2px 2px 2px 0;
	border-style: solid;
	border-color: #e3e2de;
}
.tab-wrap .tabs p.active {
	background: #fff;
	border-bottom: 0;
	z-index: 2;
	position: relative;
	font-weight: bold;
}
.tab-wrap .tabs p.active:before {
	content: "";
	position: absolute;
	top: -2px;
	left: 0;
	right: 0;
	width: 100%;
	height: 6px;
	background-color: #f8bc3c;
}
.tab-wrap .tabs p.whiteout {
	background: #fff;
	height: 25px;
	left: 0px;
	position: absolute;
	top: 25px;
	z-index: 5;
	display: none;
}

@media (max-width: 972px) {
	#courses_info.section {
		padding: 0 20px;
	}
}

@media (max-width: 865px) {
	#courses_info.section {
		width: 80%;
		padding: 0px;
		height: inherit;
	}
	#courses_info .tab-wrap .panel {
		padding: 0px;
		height: inherit;
		position: static !important;
		width: 100%;
	}
	#courses_info select {
		width: 100%;
	}
	#courses_info .tab-wrap .tabs {
		white-space: normal;
	}
	.tab-wrap .panel {
		position: static !important;
		width: 100%;
		padding: 20px 0px;
	}
	.tab-wrap.courses {
		width: 100%;
	}
	.school-wrap .school-tab {
		font-size: 18px;
	}
	.tab-wrap.panel.active {
		padding: 0px;
	}
	.school-wrap .school-tab.last {
		margin-left: 0;
	}
	.faq {
		padding: 0px 20px;
		height: inherit;
	}
	.school {
		position: static;
	}
	.tab-wrap .tabs p {
		width: 100% !important;
		border-bottom: 1px solid #e3e2de;
		border-top: 1px solid #e3e2de;
		margin: 0;
	}
	.tab-wrap .tabs p.active {
		background-color: #ebeae5;
	}
	.tab-wrap .tabs .whiteout {
		display: none;
	}

	#courses_info .tab-wrap .panel-wrap {
		height: inherit;
	}
	.tab-wrap .panel-wrap {
		height: inherit;
	}
}

@media (max-width: 840px) {
	.tab-wrap .panel.active {
		text-align: center;
	}
	#courses_info {
		width: 100%;
		padding: 0px;
		height: inherit;
	}
	#courses_info .tab-wrap .panel {
		padding: 0px;
		height: inherit;
		position: static !important;
		width: 100%;
	}
	#courses_info select {
		width: 100%;
	}
	.tab-wrap .panel {
		position: static !important;
		width: 100%;
		padding: 20px 0px;
	}
	.tab-wrap.courses {
		width: 100%;
	}
	.tab-wrap.panel.active {
		padding: 0px;
	}

	.tab-wrap .tabs p {
		width: 100% !important;
		border-bottom: 1px solid #ccc;
		border-top: 1px solid #ccc;
	}
	.tab-wrap .tabs .whiteout {
		display: none;
	}

	#courses .tab-wrap .panel-wrap {
		height: inherit;
	}
	.tab-wrap .panel-wrap {
		height: inherit;
	}
}
