/* 
Theme Name:   Zeald Website Theme
Theme URI:    
Description:  Divi child theme containing any special customisations for this website
Author:       Zeald
Author URI:   http://www.zeald.com
Template:     Divi
Version:      3.0

/* == Add your own styles below this line ==
--------------------------------------------*/

#breadcrumbs {
	margin-top: 20px;
	margin-bottom: 40px;
	font-size: 13px;
}

.et-menu .menu-item-has-children>a:first-child {
	padding-right: 0;
}
.et-menu .menu-item-has-children>a:first-child:after {
	display: none;
}
.et_pb_menu .et-menu-nav li a:hover {
	border-bottom: 1px solid #222;
	opacity: 1;
}
#main-content .container {
	padding-bottom: 58px;
}
.button, .btn, .et_pb_button {
	padding: 10px 20px !important;
	min-width: 168px;
	text-align: center;
}
.et_pb_button.btn-alt {
	background-color: #ffffff!important;
	color: #43c2cf!important;
	border-color: #fff!important;
}
.fs-18 {
	font-size: 18px;
}
.et-l--footer .et_pb_text a.footer-link {
	color: #fff!important;
}
.et-l--footer .et_pb_text a.footer-link:hover {
	color: #43C2CF!important;
}
.et-l--footer .et_pb_text ul {
	margin: 0;
	padding: 0;
}
.logos .et_pb_image,
.logos .et_pb_image .et_pb_image_wrap {
	height: 100%;
	display: block;
}

.logos .et_pb_image .et_pb_image_wrap img {
	top: 50%;
	transform: translateY(-50%);
}

.et-pb-arrow-prev:before, .et-pb-arrow-next:before {
	display: block;
	padding: 14px;
}

.search-results #breadcrumbs { display: none; }

/* home blog grid */
.et_pb_blog_grid .size-1of3 .et_pb_post {
	position: relative;
	overflow: hidden;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .et_pb_image_container {
	overflow: hidden;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .et_pb_image_container a {
	margin-bottom: 0;
}
.et_pb_blog_grid .size-1of3 .et_pb_post:hover .et_pb_image_container img {
	transform: scale(1.5);
	transition: all 1s ease;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .entry-title {
	position: absolute;
	bottom: -50px;
	padding: 20px 30px 0;
	background-color: #31A7B3;
	width: 100%;
	font-size: 22px;
	display: block;
}
.et_pb_blog_grid .size-1of3 .et_pb_post:hover .entry-title {
	bottom: 130px;
	transition: all 1s ease;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .entry-title a {
	color: #fff;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .post-meta {
	display: none;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .post-content {
	color: #fff;
	position: absolute;
	bottom: -180px;
	background-color: #31A7B3;
	padding: 20px 30px 0;
	height: 130px;
	font-size: 14px;
	font-weight: normal;
	line-height: 150%;
	width: 100%;
	display: block;
}
.et_pb_blog_grid .size-1of3 .et_pb_post:hover .post-content {
	bottom: 0;
	transition: all 1s ease;
}
.et_pb_blog_grid .size-1of3 .et_pb_post .post-content .et_multi_view_hidden {
	display: block!important;
}
/* learndash */
.learndash-wrapper .ld-focus .ld-focus-header {
	height: 72px;
}

.sfwd-courses-template-default .d-header-template .d-header-title {
    display: none;
}

.sfwd-courses-template-default .d-header-template {
    height: auto !important;
    border-bottom: 1px solid #eee;
    padding-bottom: 0 !important;
}

body.admin-bar .learndash-wrapper .ld-focus-sidebar {
	top: 54px;
}
.page .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), .page .gform_wrapper textarea {
	border: 1px solid #E1E1E1;
	height: 70px;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 150%;
	color: #888;
	margin: 0;
	padding: 20px;
}
.page .gform_wrapper textarea {
	height: 120px;
}
a.ld-button, .et-db #et-boc .et-l a.ld-button {
	color: #fff;
}

.error404.et-db #et-boc .et-l .et_pb_section_0_tb_header {
	height: auto;
}

.error404.et-db #et-boc .et-l .et_pb_section .et_pb_post_title_0_tb_header.et_pb_post_title {
	display: none;
}
.category-container{}
.category-container .inner-category-grid{
	width: 31.999%;
	margin-right: 2%;
	float: left;
	max-width: 100%;
}
.category-container .inner-category-grid:nth-child(3n){
	margin-right: 0;
}
.category-container .inner-category-grid .category-content{
	position: relative;
}
.category-container .inner-category-grid .category-content img{
	display: inherit;
	width: 100%;
}
.category-container .inner-category-grid .category-content a{
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	color: #fff;
	font-size: 54px;
	padding: 0 70px;
	text-align: center;
	line-height: 1.2;
	background: rgba(34, 34, 34, 0.5);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .3s ease-in-out;
}
.category-container .inner-category-grid .category-content a:hover{
	background: rgba(49, 167, 179, 0.9);
}
.et_pb_post:hover .entry-title a,
.et_pb_post:hover h2 a{
	color: #31a7b3;
}
.et_pb_post .entry-title a:hover,
.et_pb_post h2 a:hover{
	color: #31a7b3;
}
.et_pb_post .post-content .post-content-inner{
	margin-bottom: 25px;
}
.et_pb_post .post-content .more-link{
	text-transform: capitalize;
}
.et_pb_post .post-content .more-link:after{
	content: url(assets/images/double-arrow.png);
	position: relative;
	top: 6px;
	right: -5px;
}
.et_pb_widget .tagcloud a{
	background: transparent;
	font-size: 12px !important;
	text-transform: uppercase;
	padding: 0;
	color: #555555;
	font-weight: bold;
}
.et_pb_widget .tagcloud a:hover{
	color: #31A7B3;
}
.et_pb_widget .tagcloud a:after{
	content: ",";
}
.blog-single{
	margin-top: 15px;
}
.blog-single .post-meta{
	border-bottom: 1px solid #E1E1E1;
	color: #E1E1E1;
}
.blog-single .post-meta .published{
	color: #555;
	padding-right: 5px;
}
.blog-single .post-meta{
	padding-bottom: 35px !important;
}
.blog-single .post-meta a{
	color: #31A7B3 !important;
	font-weight: normal;
	padding: 0 5px;
}
.category-sidebar .inner-category-sidebar{
	margin-bottom: 20px;
}
.category-sidebar .inner-category-sidebar .category-content a{
	display: block;
	position: relative;
}

.category-sidebar .inner-category-sidebar .category-content img{
	display: inherit;
	width: 100%;
}
.category-sidebar .inner-category-sidebar .category-content span{
	position: absolute;
	width: 100%;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(34, 34, 34, 0.5);
	color: #fff;
	font-size: calc(25px + (20 - 25) * ((100vw - 320px) / (1920 - 320))) !important;
	text-align: center;
	padding: 22px 5px;
	-webkit-transition: all .6s ease-in-out;
	-o-transition: all .6s ease-in-out;
	transition: all .3s ease-in-out;
}
.category-sidebar .inner-category-sidebar .category-content a:hover span{
	background: rgba(49, 167, 179, 0.9);
}
#commentform p{
	padding-bottom: 10px;
}
#commentform input[type=email], #commentform input[type=text], #commentform input[type=url], #commentform textarea{
	background-color: transparent;
	border: 1px solid #E1E1E1;
}
#commentform input[type=email], #commentform input[type=text], #commentform input[type=url]{
	width: 100%;
}
#commentform .form-submit input[type=submit]{
	width: 100%;
}

/* gravity form */

/* validation border lines border 0 */
.gform_wrapper li.gfield.gfield_error, 
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning,
.gform_wrapper div.validation_error {
	border: 0 !important;
}

.gform_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]), 
.gform_wrapper li.gfield_error textarea {
	border: 1px solid #eee !important;
}

.gform_wrapper li.gfield.gfield_error, 
.gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
	background: transparent !important;
}
#gform_wrapper_5 input.large {
	height: 51px;
	border-radius: 3px;
	font-family: DM Sans;
	font-size: 14px;
	line-height: 150%;
	padding-left: 10px;
}
#gform_wrapper_5 .gform_footer input.button {
	padding: .3em 1em!important;
	font-size: 16px;
	min-width: 168px;
	text-align: center;
}
#gform_wrapper_5 div.validation_error, #gform_wrapper_5 .validation_message {
	color: #FF5023;
	line-height: 1.5em;
	margin: 0;    
	padding: 0;
}
#gform_wrapper_5 li.gfield.gfield_error {
	margin: 0;    
	padding: 0;
}
@media all and (min-width: 768px) {

	.hustle-ui.module_id_1 .hustle-layout .hustle-content, .hustle-ui:not(.hustle-size--small) .hustle-optin.hustle-optin--compact .hustle-layout .hustle-layout-body .hustle-layout-content .hustle-layout-form {
		padding-left:30px!important;
		padding-right:30px!important;
		padding-top: 30px;
	}
	.hustle-ui.module_id_1 .hustle-field .hustle-input {
		margin-bottom: 10px!important;
	}
	.hustle-ui.module_id_1 .hustle-form .hustle-form-fields .hustle-button {
		width: 100%!important;
	}

}
@media screen and (max-width: 1400px) {
	.sec-3www > .et_pb_row,
	.sec-endorsement > .et_pb_row {
		width: 100%;
	}

	.sec-3www > .et_pb_row > div:first-child,
	.sec-endorsement > .et_pb_row > div:last-child{
		padding-left: 20px;
		padding-right: 20px;
		margin: 0;
	}
}
@media screen and (max-width: 1260px){
	.category-container .inner-category-grid .category-content a{
		font-size: 35px
	}
}
@media (min-width: 981px){
	.et_pb_gutters2 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3{
		width: 31.999%;
		margin-right: 2%;
	}
	#main-content .blog-single-content #left-area{
		width: 71.25%;
	}
	#main-content .blog-single-content #sidebar{
		width: 28.122%;
	}
	/* blog */
	.et_pb_blog_grid .et_pb_post {
		padding: 0;
	}	
	.et_pb_blog_grid .et_pb_image_container {
		margin: 0;
	}
	#main-content .container:before {
		display: none;
	}
}
@media (max-width: 980px) {
	/* responsive heading */
	.et_pb_text h1 {
		font-size: 10vw;
	}
	.et_pb_text h2 {
		font-size: 9.5vw;
	}
	.et_pb_text h3 {
		font-size: 9vw;
	}
	.et_pb_text h4 {
		font-size: 8.5vw;
	}
	.et_pb_text h5 {
		font-size: 8vw;
	}
	.et_pb_text h6 {
		font-size: 7.5vw;
	}
	/* menu customisation */
	.et_pb_menu--style-centered .et_pb_menu__wrap { 
		display: block;
		text-align: right;
	}
	.et_pb_menu .et_mobile_nav_menu {
		display: inline-block;
	}
	.et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu, .et_pb_menu_0_tb_header.et_pb_menu .et_mobile_menu ul {
		width: 85vw;
		right: 0;
		left: auto;
		top: 130%;
	}
	.home	.et_pb_section_0_tb_header {
		height: auto!important;
	}

	.learndash-wrapper form.sfwd-mark-complete {
		width: auto;
	}
}

@media screen and (max-width: 767px){
	.category-container .inner-category-grid{
		width: 100%;
		margin-right: 0;
		margin-bottom: 2%;
	}
}