/*
 Theme Name:   The Order Expert Theme
 Description:  A custom Divi child theme built by Green Tree Media.
 Author:       Green Tree Media, LLC
 Author URI:   http://greentreemediallc.com
 Template:     Divi
 Version:      2.2.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ---------- PALETTE ----------------------------

Blue   : 
Green  : 
Orange : 
Purple : 
Red    : 
Yellow : 

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

/* ---------- HEADER ----------------------------- */
#et-info-email:empty::before,
#et-info-phone:empty::before {display:none}

/* Adjust secondary header items */
#top-header .container {
  padding-top: 0.75em;
  padding-bottom: 0.75em;
}
#et-info,#et-secondary-menu >ul > li a {
  padding-top: 7px;
  padding-bottom: 7px;
}
/* END Adjust secondary header items */

#top-menu li li {
  padding: 0;
  width: 100%;
}

#top-menu li li a {
  width: 100%;
  padding: 6px 20px;
  line-height: 1.4em;
}

/* App style mobile menu */
@media (max-width: 980px) {
  .container.et_menu_container { 
    width: calc( 100% - 60px);
  }
}
.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc( 100% + 60px);
}
.mobile_nav.opened .mobile_menu_bar:before {content: "\4d"}
/* END App style mobile menu */

.et_pb_menu_0_tb_header.et_pb_menu .nav li ul.sub-menu a {
	font-size: 1.1em;
	line-height: 1.3em;
	padding: 6px 0;
}

/* ---------- CUSTOM STICKY HEADER --------------- */
#customHeader__section {transition: all 0.3s ease-in-out;}
#customHeader__section:not(.et_pb_sticky) {position:absolute!important;top:0;width:100%;}
#customHeader__section.et_pb_sticky {background-color: #ffffff!important;}
#customHeader__section.et_pb_sticky #customHeader__row {padding:0!important;padding-top:0!important;padding-bottom:0!important;}

/* ---------- RELATED POSTS ---------------------- */
.relatedPosts .yarpp-thumbnails-horizontal .yarpp-thumbnail {border: 0;}
.relatedPosts .yarpp-thumbnails-horizontal .yarpp-thumbnail-title {font-size:0.8em;}
.relatedPosts .yarpp.yarpp-related {text-align: center;}
.relatedPosts .yarpp-thumbnails-horizontal .yarpp-thumbnail {margin: 5px 2vw 5px 0;}

/* ---------- HIGHLIGHTS ------------------------- */
.textHighlight {
	border-bottom: 3px solid;
	border-color: transparent;
	padding: 0 7px;
}
.textHighlight--1 {border-color:#00cec9;}
.textHighlight--2 {border-color:#0984e3;}
.textHighlight--3 {border-color:#6c5ce7;}

/* ---------- BLOG ROLL ---------------------------------- */
@media (min-width: 767px) {

	.blogList .entry-featured-image-url  {
		width: 15%;
		float: left;
		margin-bottom: 0!important;
		margin-right: 5%;
	}
	.blogRoll .entry-featured-image-url  {
		width: 20%;
		float: left;
		margin-bottom: 0!important;
		margin-right: 5%;
	}

	.blogList .entry-title,
	.blogList .post-meta,
	.blogList .post-content {
		width: 80%;
		float: left;
	}
	.blogRoll .entry-title,
	.blogRoll .post-meta,
	.blogRoll .post-content {
		width: 75%;
		float: left;
	}
	
	.blogRoll .entry-title {padding-top:0;}
	.blogRoll .post-content {
		padding-right: 1em;
		padding-bottom: 1em;
	}
	
	.blogList article {
		border-bottom: 1px solid #eee;
		margin-bottom: 1em;
		padding-bottom: 1em;
	}
	.blogRoll article {
		margin-bottom: 1em;
	}
}

.blogFeed .recentPostsCard__category {
	background: rgba(6,147,227,1);
	font-size: 13px;
	font-weight: 600;
}

/* ---------- REVIEWS [BLURB] ---------------------------- */
.review .et_pb_blurb_container {
	display: flex;
	flex-direction:column-reverse;
}

.review .et_pb_blurb_description::before {
	color: gold;
	content:'\e033\e033\e033\e033\e033';
	display: block;
	font-family: 'ETmodules';
	font-size: 16px;
	line-height: 1em;
	margin-bottom: 10px;
}

.review .et_pb_module_header {
	padding-top: 10px;
	padding-bottom: 0;
}

/* ---------- PRODUCTS --------------------------- */
.productDescription ul {margin: 15px 0;}
.productDescription ul li {margin-bottom:10px;}

/* ---------- CUSTOM IMAGE ----------------------- */
.customImage--circle {border-radius:50%;}

/* ---------- CUSTOMER REVIEWS ------------------- */
.customerReviews .dica-item-content .dica-rating-container {order:0!important;}
.customerReviews .dica-item-content .content{order:1!important;}
.customerReviews .dica-item-content .item-title {order:2!important;}
.customerReviews .dica-item-content .item-subtitle {order:3!important;}

/* ---------- GALLERIES -------------------------- */
.customGallery--landscape .et_pb_gallery_image {
  padding-top: 56.25%;
  display: block;
}

.customGallery--landscape .et_pb_gallery_image img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/* Hide gallery image titles */
.mfp-figure .mfp-title {display:none;}

/* ---------- MEDIA APPEARANCES ------------------ */
.mediaAppearancesList .mediaAppearance__title {font-size:1em;line-height:1.3em;}
.mediaAppearancesList .mediaAppearance__body {font-size:0.85em;line-height:1.3em;}

@media (max-width: 1024px) {
	.mediaAppearancesList .mediaAppearance__container--columns3 .mediaAppearance__image {width:25%;}
	.mediaAppearancesList .mediaAppearance__container--columns3 .mediaAppearance__media {width:70px;height:70px;}
}

@media (max-width: 980px) {
	.mediaAppearancesList .mediaAppearance__media {max-width:100%;}
	.mediaAppearancesList .mediaAppearance__title {font-size:0.9em;line-height:1.2em;}
	.mediaAppearancesList .mediaAppearance__body {font-size:0.8em!important;}
}

@media (max-width: 768px) {
	.mediaAppearancesList .mediaAppearance__container--columns2 .mediaAppearance__item,
	.mediaAppearancesList .mediaAppearance__container--columns3 .mediaAppearance__item,
	.mediaAppearancesList .mediaAppearance__container--columns4 .mediaAppearance__item,
	.mediaAppearancesList .mediaAppearance__container--columns5 .mediaAppearance__item,
	.mediaAppearancesList .mediaAppearance__container--columns6 .mediaAppearance__item {width:100%;}
	.mediaAppearancesList .mediaAppearance__item,
	.mediaAppearancesList .mediaAppearance__link {flex-direction:column;}
	.mediaAppearancesList .mediaAppearance__image {max-width:80%;margin:0 auto 20px;}
	.mediaAppearancesList .mediaAppearance__content {width:100%;max-width:100%;}
	.mediaAppearancesList .mediaAppearance__title  {text-align:center;}
}

/* ---------- GRAVITY FORMS ---------------------- */
.gform_heading {display:none;}

.gfield {position: relative;}

.gform_wrapper.gravity-theme input[type="email"],
.gform_wrapper.gravity-theme input[type="tel"],
.gform_wrapper.gravity-theme input[type="text"],
.gform_wrapper.gravity-theme input[type="time"],
.gform_wrapper.gravity-theme input[type="url"],
.gform_wrapper.gravity-theme input[type="week"],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
  background-color: #eee;
  border: 0;
  border-radius: 2px;
  font-size: 21px !important;
  line-height: 1em;
  padding: 10px 15px !important;
}

.gform_wrapper.gravity-theme .gform_footer input {
  background-color: #282828;
  border: 0;
  border-radius: 2px;
  color: #fefefe;
  cursor: pointer;
  font-family: 'Glacial Indifference - Bold',Helvetica,Arial,Lucida,sans-serif;
  font-size: 14px;
  padding: 0.75em 2em;
  text-transform: uppercase;
}

.ctaForm input[type="button"],
.ctaForm input[type="submit"]{
	background-color: #282828;
	border: 2px solid #282828;
	border-radius: 2px;
	color: #fefefe;
	font-family: 'Glacial Indifference - Bold',Helvetica,Arial,Lucida,sans-serif;
	font-size: 15px;
	padding: 0.5em 1.5em;
	text-transform: uppercase;
}

.gform_wrapper.gravity-theme .gf_progressbar_percentage.percentbar_blue {
	background-color: #00cec9 !important;
}

/* ---------- BLURB ------------------------------ */
.ctaBlurb .et_pb_image_wrap {transition: all 0.5s ease-in-out 0.750s;}
.ctaBlurb:hover .et_pb_image_wrap {
  transform: rotate(180deg);
  transform-origin: 50%;
}

/* ---- BLURB ICONS ON SINGLE POST TEMPLATE ---- */
.blurbIconFix.et_pb_blurb_position_left .et-pb-icon,
.blurbIconFix.et_pb_blurb_position_right .et-pb-icon {
	font-size: 25px;
	position: relative;
	top: 3px;
}

/* ---------- CENTER ALIGN EXISTING BLOG IMAGES -- */
.et_pb_post_content img.aligncenter:first-of-type {
	margin-bottom: 2em;
}

/* ---------- FOOTER ----------------------------- */
#footer-info {
  width:100%;
  text-align:center;}

div#footer-widgets div.footer-widget ul.menu li {padding-left:0 !important}
div#footer-widgets div.footer-widget ul.menu li::before {display:none}

.fwidget.et_pb_widget.widget_nav_menu {margin-bottom:0!important;}

.footerMenu--horizontal .et_pb_widget {margin-bottom: 0 !important;width:100%!important;}
.footerMenu--horizontal ul.menu {
  display: flex;
  flex-direction: row;
}
.footerMenu--noTitle .title {display:none;}
.footerMenu--alignRight ul.menu {justify-content: flex-end;}
.footerMenu--alignRight ul.menu > li {margin-left: 1em;}

/* ---------- GLOBAL ---------------------------- */
.scrolloff {pointer-events:none}
#page-container {overflow:hidden}

.highlight {}
.textBold {font-family:'Glacial Indifference - Bold',Helvetica,Arial,Lucida,sans-serif;}

.wp-pagenavi a,
.wp-pagenavi span {border: 0;}

ol.commentlist,
ol.commentlist ul.children {
	list-style-type:none;
}

.wp-pagenavi span.pages {display:none;}

/* ---------- CUSTOM LIST BULLETS ---------------- */
.custom_list ul li {
	padding-left: 30px;
	list-style:none;
	margin-bottom: 20px;
}

.custom_list ul li::before {
  content: '';
	display: inline-block;
  margin-right: 7px;
	margin-left: -37px;
	padding-right: 5px;
  font-family:'ETmodules';
  font-size: 1.2em;
  vertical-align: middle;
}

.custom_list--check ul li::before {
  content: '\5a';
}


/* --------- GDPR OVERRIDES ----------------------- */
.gdpr.gdpr-privacy-bar .gdpr-agreement,
.gdpr.gdpr-reconsent-bar .gdpr-agreement,
.gdpr.gdpr-privacy-preferences .gdpr-wrapper>form>footer input[type=submit] {
  	background: #046891;
    border: 1px solid #046891;
    border-top-color: #046891;
    box-shadow: none;
    color: #fff;
	font-weight: 900;
    text-decoration: none;
	text-shadow: none;
}

/* --------- ANIMATIONS --------------------------- */
.customAnimation--wobble {
	-webkit-animation: wobble-hor-bottom 0.8s infinite alternate-reverse both;
	        animation: wobble-hor-bottom 0.8s infinite alternate-reverse both;
}

@-webkit-keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-5px) rotate(-1deg);
            transform: translateX(-5px) rotate(-1deg);
  }
  30% {
    -webkit-transform: translateX(2.5px) rotate(1deg);
            transform: translateX(2.5px) rotate(1deg);
  }
  45% {
    -webkit-transform: translateX(-2.5px) rotate(-0.6deg);
            transform: translateX(-2.5px) rotate(-0.6deg);
  }
  60% {
    -webkit-transform: translateX(1.5px) rotate(0.4deg);
            transform: translateX(1.5px) rotate(0.4deg);
  }
  75% {
    -webkit-transform: translateX(-1px) rotate(-0.2deg);
            transform: translateX(-1px) rotate(-0.2deg);
  }
}
@keyframes wobble-hor-bottom {
  0%,
  100% {
    -webkit-transform: translateX(0%);
            transform: translateX(0%);
    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
  }
  15% {
    -webkit-transform: translateX(-5px) rotate(-1deg);
            transform: translateX(-5px) rotate(-1deg);
  }
  30% {
    -webkit-transform: translateX(2.5px) rotate(1deg);
            transform: translateX(2.5px) rotate(1deg);
  }
  45% {
    -webkit-transform: translateX(-2.5px) rotate(-0.6deg);
            transform: translateX(-2.5px) rotate(-0.6deg);
  }
  60% {
    -webkit-transform: translateX(1.5px) rotate(0.4deg);
            transform: translateX(1.5px) rotate(0.4deg);
  }
  75% {
    -webkit-transform: translateX(-1px) rotate(-0.2deg);
            transform: translateX(-1px) rotate(-0.2deg);
  }
}

@-webkit-keyframes scale-up-hor-left {
  0% {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}
@keyframes scale-up-hor-left {
  0% {
    -webkit-transform: scaleX(0);
            transform: scaleX(0);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
  100% {
    -webkit-transform: scaleX(1);
            transform: scaleX(1);
    -webkit-transform-origin: 0% 0%;
            transform-origin: 0% 0%;
  }
}

@-webkit-keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}
@keyframes slide-in-fwd-center {
  0% {
    -webkit-transform: translateZ(-1400px);
            transform: translateZ(-1400px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateZ(0);
            transform: translateZ(0);
    opacity: 1;
  }
}
