/*
Theme Name: Divi Child By Pew Missal
Theme URI: https://pewmissal.com
Description: A Custom Child Theme For Divi
Author: Dominic de Souza
Author URI: http://pewmissal.com
Template: Divi
Version: Updated for Divi 3

*/

/*------------------------------------------------------------------------*\
STANDARD
\*------------------------------------------------------------------------*/
 

/* Vertically Align items within a equal-height row */

.flexcenter .et_pb_column,
.flexcentercolumn {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
	/* IE10+ CSS styles go here */
	.flexcenter .et_pb_column,
	.flexcentercolumn {
		display: block;
	}
}
 

.zindex .et_pb_row,
.zindex {
	z-index: 9!important;
}

@media screen and (max-width: 980px) {
	.columnswap.et_pb_row {
		display: -ms-flex;
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-direction: column-reverse;
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		flex-direction: column-reverse;
	}
}

@media only screen and (min-width: 1024px) and (max-width: 1250px) {
	.et_pb_row {
		width: 95%;
	}
}

/* Make Entire Blurb Clickable */

.clickblurb:hover {
	cursor: pointer;
}
 
#main-content:not(.et-fb) {
	overflow: hidden;
}

/*------------------------------------------------------------------------*\
MAX-WIDTH: 390
\*------------------------------------------------------------------------*/

@media only screen and (max-width :390px) {
	.et_pb_row {
		width: 90%;
	}
}

/*------------------------------------------------------------------------*\
TYPOGRAPHY
\*------------------------------------------------------------------------*/

 
.et_pb_bg_layout_dark {
	color: #ffffffc2!important;
}

.et_pb_text li {
	list-style-position: outside;
	padding: .5em;
}
 

@media only screen and (min-width: 960px) {
	.twocolumntext {
		-webkit-column-count: 2;
		column-count: 2;
	}
	.threecolumntext {
		-webkit-column-count: 3;
		column-count: 3;
	}
	.fourcolumntext {
		-webkit-column-count: 4;
		column-count: 4;
	}
}

/* Caldera Styling */

.caldera-grid label {
	font-weight: 600;
	padding: 0!important;
	margin: 0!important;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .8em;
	color: #335566;
}

.caldera-grid .form-control, 
button.btn.btn-block.cf-uploader-trigger {
	height: auto;
	padding: 1em 1.5em!important;
	background-color: #f1f3f5;
	    font-size: .92rem;
}
button.btn.btn-block.cf-uploader-trigger {
   border: 1px solid #ccc;
font-size: .9rem;
}

.caldera-grid .alert-success {
	background-color: white;
	border-color: white;
	color: #596166;
	padding: 40px;
	border-radius: 3px;
}

/*Row height in Caldera forms */

.caldera-grid .row {
	margin-bottom: 10px;
}

/* Success Toggle in Caldera Forms */

.cf-toggle-switch .btn-success,
.cf-toggle-switch .btn-success:hover,
.cf-toggle-switch .btn:hover {
	color: #fff;
	background-color: #204996;
	border-color: #204996;
}

.cf-toggle-switch .btn:active,
.cf-toggle-switch .btn-success:active {
	background-color: #173163;
	border-color: #173163;
}

.cf-toggle-switch .btn {
	padding: 1em;
	font-size: 1em;
}

.caldera-grid .checkbox,
.caldera-grid .radio {
	margin-left: 1em;
}

/* Hide a form element in Caldera */

.hideme {
	display: none;
}

/*------------------------------------------------------------------------*\
*HEADER
\*------------------------------------------------------------------------*/

#logo {
	-webkit-transform: none!important;
	transform: none!important;
	-webkit-transition: none!important;
	transition: none!important;
}

#top-menu .et_pb_button {
	margin-top: -1.5em;
}

#top-menu .et_pb_button a {
	color: white!important;
	font-size: 13px;
	font-weight: bold;
	font-style: normal;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: 2px;
}
#main-header.et-fixed-header  .et_pb_button a {color:white!important;}

 
#main-header.et-fixed-header {
	  box-shadow: 0 0 2em rgba(54, 67, 76, 0.18)!important; 
}

.et_fixed_nav #et-top-navigation,
#top-menu {
	width: 100%;
	padding-left: 105px!important;
}

nav#top-menu-nav {
	width: 100%;
}

@media (min-width: 980px) {
.menuright {
	float: right;
	margin-left: 1em;
}
}

#et-top-navigation, #et_mobile_nav_menu {display:none!Important;}

/*------------------------------------------------------------------------*\
*PAGE/POST BODY
\*------------------------------------------------------------------------*/

/* When Pagebuilder is applied to Blog Posts, remove injected padding */

.single-post.et_pb_pagebuilder_layout .et_pb_section:first-of-type {
	padding-top: 0!important;
}

.single-post.et_pb_pagebuilder_layout .et_pb_section:last-of-type {
	padding-bottom: 0!important;
}

.single-postet_pb_pagebuilder_layout .et_pb_row {
	width: 100%!important;
}

.single-post.et_pb_pagebuilder_layout #comment-wrap {
	padding-top: 0;
}

/*------------------------------------------------------------------------*\
*SIDEBAR
\*------------------------------------------------------------------------*/

.widget_recent_entries.et_pb_widget li,
.widget_categories li a {
	border-bottom: 1px solid #80808059;
	padding-bottom: 1em;
}

.widget_recent_entries.et_pb_widget li:last-of-type,
.widget_categories li a:last-of-type {
	border-bottom: 0px solid #80808059;
}

/*------------------------------------------------------------------------*\
*BUTTONS/CTAs
\*------------------------------------------------------------------------*/

body.et_pb_button_helper_class .et_pb_button,
body.et_pb_button_helper_class .et_pb_button:hover {
	padding: 1em 1.5em!important;    line-height: 1em!important;
}

#main-header .et_pb_button {
	padding: 0!Important;
}

#main-header .et_pb_button a {
	padding: 1em 1.5em!important;
}

 
.et_button_icon_visible .et_pb_button {
	padding: 1em 2.2em 1em 1.5em!important;
}

.et_button_left .et_pb_button:hover,
.et_button_left .et_pb_module .et_pb_button:hover,
.et_button_icon_visible.et_button_left .et_pb_button {
	padding: 1em 1.5em 1em 2.2em!important;
}

/* On mobile, force Fullscreen section buttons to be equal */

@media only screen and (max-width :425px) {
	.et_pb_fullwidth_header .et_pb_fullwidth_header_container .header-content a.et_pb_button {
		text-align: center;
		display: block!important;
		margin: 20px 0;
	}
}

/* Outline Button variations */

.outlinebtn .et_pb_button,
.outlinebtn.et_pb_button,
.headeroutlinebtn .et_pb_button_two {
	background: transparent;
	box-shadow: none!important;
	color: white;
	border-color: white;
}

.greyoutlinebtn .et_pb_button,
.greyoutlinebtn.et_pb_button,
.greyheaderoutlinebtn .et_pb_button_two {
	background: transparent;
	box-shadow: none!important;
	border-color: #66b95e;
	color: #66b953!important;
}

body.et_pb_button_helper_class .greyheaderoutlinebtn .et_pb_button_two,
body.et_pb_button_helper_class .et_pb_button.greyoutlinebtn {
	color: #66b953!important;
}

body.et_pb_button_helper_class .et_pb_button.greyoutlinebtn:hover {
	color: white!important;
}

body.et_pb_button_helper_class .greyheaderoutlinebtn .et_pb_button_two:hover,
body.et_pb_button_helper_class .et_pb_button.greyoutlinebtn:hover {
	color: white!important;
}

/* Overlay Button - When .clickblurb doesn't work*/

.overlaybtn .et_pb_button {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.inlinebtns .et_pb_button_module_wrapper {
	display: inline-block;
	margin-right: 1em;
}

@media only screen and (max-width :760px) {
	.inlinebtns .et_pb_button_module_wrapper {
		display: block;
		margin-right: 0;
	}
	.inlinebtns .et_pb_button {width:100%!important;}
}

.whitebtn,
.whitebutton .et_pb_button {
	color: #B18033!important;
	border-color: #ffffff!important;
	background-color: #ffffff!important;
}

.whitebtn:hover {
	color: white!important;
}

/*.endalign .et_pb_column .et_pb_button {
	position: absolute;
	bottom: 0;
	margin-bottom: 3em!important;
}*/
.endalign .et_pb_column { 
    display:flex; 
    flex-direction:column; 
    justify-content:space-between;
}

/*------------------------------------------------------------------------*\
*FOOTER
\*------------------------------------------------------------------------*/

#main-footer,
.footer-bottom {
	display: none;
}

/*------------------------------------------------------------------------*\
RANDOM
\*------------------------------------------------------------------------*/

.divi_se_youtube_background_overlay {
 
	background: #26242196!important;}


.mejs-duration {
    top: -5px!important;
    position: relative;
}

/*End Align*/

.endaligning .et_pb_column {
  display: flex;
flex-flow: column; 
  justify-content: space-between;
}
.endaligning .et_pb_column .et_pb_module:last-of-type {
}



/*Divi Popup*/
.popup_outer_wrap.popup_full_width.popup_full_height,
.evr_fb_popup_modal {
    z-index: 999999!important;
}

.et_pb_section.popup {
    box-shadow: none;
	background: transparent;
   min-height: 100vh; }

#et-fb-app .et_pb_section.popup {  min-height: auto;}

#et-fb-app .et_pb_section.popup {
    box-shadow: none;
    margin: 0 auto;
    min-width: 360px;
    width: 100%;
    background: transparent;
}

.popup_outer_wrap {
	width: 100%;min-height: 100vh;}

.et_pb_section.popup .evr-close, 
.et_pb_section.popup .evr-close:hover{
      width: 2em;
    height: 2em;
    line-height: 2em;
    font-size: 2em;
    color: #fff;
    background: transparent;
    opacity: 1;
    box-shadow: none;
}

.popup .et_pb_row {
    opacity: inherit;
}

/*Divi Menu Module - Don't compress on mobile*/
@media (max-width: 980px) {
.et_pb_menu .menu-nav {
    display: block!important;
}
.et_pb_menu .et_mobile_nav_menu {display:none;}
 
}
@media (max-width: 430px) {
.et_pb_menu .menu li {
    
    display: inline-block;
    padding: .5rem!important;
}
}

/* Password Protected Page */

.et_password_protected_form {
	max-width: 500px;
	margin: 0 auto;
	padding: 3em;
}

.et_password_protected_form input[type=password] {
	text-align: center;
	border-radius: 3px;
	font-size: 3em!important;
}

.et_password_protected_form .et_pb_button {
	margin: 0 auto!important;
	float: none!important;
}

.et_password_protected_form .et_pb_button:after {
	margin-top: 5px!important;
}

/*Force Accordion Toggle Styling*/

.et_pb_toggle_close .et_pb_toggle_title,
.et_pb_toggle_close h5.et_pb_toggle_title,
.et_pb_toggle_open .et_pb_toggle_title,
.et_pb_toggle_open h5.et_pb_toggle_title {
	 
}

.et_pb_toggle_title:before,
.et_pb_toggle_open .et_pb_toggle_title:before {
	font-size: 1.5rem;
	content: "3";
	transition: all ease .2s;
}

.et_pb_toggle_open .et_pb_toggle_title:before {
	transform: rotate(180deg);
	display: block!important;
}

/*Hide Divi Injector when Pagebuilder is active */

.et-fb .sb_dli {
	display: none;
}

.hideme {
	display: none;
}

/* Testimonials */
.testimonials {margin-top:1em;}
.testimonials:before {
	content: "\f005 \f005 \f005 \f005 \f005"!important;
	font-family: "Font Awesome 5 Free"!important;
	letter-spacing: 1em!important;
	font-size: 1em!important;
	color: #a3012f!important;
	top: -1em!important;
	position: relative!important;
font-weight:900;
}


/* Mailchimp Slim Optin */

.slimoptin {
	text-align: center;
}

.slimoptin .et_pb_button {
	vertical-align: middle;
}

.slimoptin input[type=email] {
	padding: 1em;
	border: 1px solid #bbbbbb8f;
	color: #4e4e4e;
	background-color: #fff;
	font-size: 1em;
	width: 400px;
	display: inline-block;
	border-radius: 4px;
}

@media only screen and (max-width :600px) {
	.slimoptin .et_pb_button,
	.slimoptin input[type=email] {
		margin-top: 1em;
		width: 100%;
	}
}

/* Overlay Gradients */

.overlaygradient:after {
	content: "";
	display: block;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(19, 30, 36, 0.9);
	background: -webkit-gradient(left top, right bottom, color-stop(0%, rgba(19, 30, 36, 0.9)), color-stop(52%, rgba(19, 30, 36, 0.97)), color-stop(100%, rgba(19, 30, 36, 0.89)));
	background: -webkit-linear-gradient(-45deg, rgba(19, 30, 36, 0.9) 0%, rgba(19, 30, 36, 0.97) 52%, rgba(19, 30, 36, 0.89) 100%);
	background: -webkit-linear-gradient(315deg, rgba(19, 30, 36, 0.9) 0%, rgba(19, 30, 36, 0.97) 52%, rgba(19, 30, 36, 0.89) 100%);
	background: linear-gradient(135deg, rgba(19, 30, 36, 0.9) 0%, rgba(19, 30, 36, 0.97) 52%, rgba(19, 30, 36, 0.89) 100%);
	filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#131e24', endColorstr='#131e24', GradientType=1);
}

.overlaygradient .et_pb_row {
	z-index: 9!important;
}

/*Blog Grid Style*/

.et_pb_blog_grid .et_pb_post {
	top: 0;
	position: relative;
	transition: all ease .2s;
}

.et_pb_blog_grid .et_pb_post:hover {
	top: -.5em;
}

.post-content p {
	display: none;
}

.et_pb_post .entry-featured-image-url {
	margin-bottom: -1rem;
}

.et_pb_blog_grid .et_pb_post {
	border-radius: 5px!important;
	overflow: hidden;
	box-shadow: 0 1em 3em -1em #47525d2e;
}

a.more-link {
	display: block;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: .9rem;
	border-top: 1px solid #f1f1f1;
	margin-top: 1em;
	padding-top: 1em;
}