/*
 Theme Name:   Divi Child Plus
 Theme URI:    /divi-child-plus/
 Description:  A modified child theme of Divi
 Author:       Web Wizards
 Author URI:   https://webwizards.ca/
 Template:     Divi
 Version:      1.2.2
 Tags:         responsive-layout, accessibility-ready
 Text Domain:  divi-child-plus
*/

@import "modified.css";

/* Testing */


/* Header */
.tagline{
	float: left;
    font-size: .85em;
    margin: 0;
    color: #545053;
}
.et-db #et-boc .et-l .et-menu li li.menu-item-has-children>a:first-child:after {
    top: 6px !important;
}
#searchwp-form-1 .swp-input, #searchwp-form-1 .swp-select {
    padding: 8px 10px 8px 40px;
}
form.searchwp-form input.swp-input--search {
    background-position: left 12px top 50%;
}
.dswcp-label {
    display: inline-block!important;
    color: #fff;
}

/* Product Breadcrumb */
.et-db #et-boc .et-l .et_pb_wc_breadcrumb_0_tb_body, 
.et-db #et-boc .et-l .et_pb_wc_breadcrumb_0_tb_body .et_pb_module_inner, 
.et-db #et-boc .et-l .et_pb_wc_breadcrumb_0_tb_body .woocommerce-breadcrumb, 
.et-db #et-boc .et-l .et_pb_wc_breadcrumb_0_tb_body .woocommerce-breadcrumb a {
    color: #fff!important;
}

/* Product Categories Page */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    background-blend-mode: multiply;
    overflow: hidden;
}
.woocommerce ul.products li.product a img {
	transition: transform .5s ease;
}
.woocommerce ul.products li.product a:hover img {
	transform: scale(1.15);
}
.product-category.product a:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    border-radius: 5px;
    z-index: 1;
}
.product-category.product a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
	border-radius: 5px;
    z-index: 1;
	opacity:0;
	transition: all .5s ease;
}
.product-category.product a:hover:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
	border-radius: 5px;
    z-index: 1;
	opacity:1;
	transition: all .5s ease;
}
h2.woocommerce-loop-category__title {
    color: white;
    z-index: 2 !important;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 0;
    font-size: 24px !important;
    font-weight: 700;
}
h2.woocommerce-loop-category__title:after {
    content: "Learn More";
    position: relative;
    display: block;
    margin: 15px 25%;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 8px;
}
.product-category.product a:hover h2.woocommerce-loop-category__title:after {
    content: "Learn More";
    position: relative;
    display: block;
    margin: 15px 25%;
    font-size: 14px;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 8px;
	background-color:#2271b175;
}

/* Product Category Colors */
.product-toolbar {
	background-color:#1d5476!important;
}
.term-air-purification .product-toolbar {
	background-color:#5cb8ab!important;
}
.term-air-purification .entry-title{
	color:#5cb8ab!important;
}
.term-beams .product-toolbar {
	background-color:#8dc63f!important;
}
.term-beams .entry-title{
	color:#8dc63f!important;
}
.term-controls .product-toolbar {
	background-color:#a04276!important;
}
.term-controls .entry-title{
	color:#a04276!important;
}
.term-critical-environments .product-toolbar {
	background-color:#ee3124!important;
}
.term-critical-environments .entry-title{
	color:#ee3124!important;
}
.term-dampers .product-toolbar {
	background-color:#008c48!important;
}
.term-dampers .entry-title {
	color:#008c48!important;
}
.term-diffusers .product-toolbar {
	background-color:#00537e!important;
}
.term-diffusers .entry-title {
	color:#00537e!important;
}
.term-displacement .product-toolbar {
	background-color:#00816d!important;
}
.term-displacement .entry-title {
	color:#00816d!important;
}
.term-fan-blower-coils .product-toolbar {
	background-color:#bf311a!important;
}
.term-fan-blower-coils .entry-title {
	color:#bf311a!important;
}
.term-grilles .product-toolbar {
	background-color:#00788a!important;
}
.term-grilles .entry-title {
	color:#00788a!important;
}
.term-louvers .product-toolbar {
	background-color:#008c48!important;
}
.term-louvers .entry-title {
	color:#008c48!important;
}
.term-noise-control .product-toolbar {
	background-color:#F99D31!important;
}
.term-noise-control .entry-title {
	color:#F99D31!important;
}
.term-radiant .product-toolbar {
	background-color:#b3a745!important;
}
.term-radiant .entry-title {
	color:#b3a745!important;
}
.term-security-grilles .product-toolbar {
	background-color:#00788a!important;
}
.term-security-grilles .entry-title {
	color:#00788a!important;
}
.term-terminal-units .product-toolbar {
	background-color:#8b0e04!important;
}
.term-terminal-units .entry-title {
	color:#8b0e04!important;
}
.term-underfloor .product-toolbar {
	background-color:#63619a!important;
}
.term-underfloor .entry-title {
	color:#63619a!important;
}
.term-vav-diffusers .product-toolbar {
	background-color:#005581!important;
}
.term-vav-diffusers .entry-title {
	color:#005581!important;
}
/* Product Listing Page */
   ul.products {
      display: flex;
      flex-wrap: wrap; 
   }
 
   ul.products li.product {
      display: flex;
      flex-direction: column;
   }
 
   ul.products li.product .button {
      margin-top: auto;
   }

 /* Product Details Page */
span.associated-model {
    text-transform: uppercase;
}
.single-product span.ProductDetailsSubheader {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}
.single-product span.ProductDetailsSubheader:nth-child(2) {
    margin-top: 20px !important;
}
.single-product .et_pb_text_0_tb_body {
	margin-bottom:15px!important;
}
.et_pb_dp_dmb_module_ab299af8 {
	margin-bottom:0!important;
}
.single-product .product-info p {
    margin-bottom: 30px;
}
.single-product .product-info ul {
    margin-bottom: 20px;
}

 /* Product Gallery */
.ywcfav_thumbnails_video_container, .ywcfav_thumbnails_audio_container {
    border-top: 0;
}
.ywcfav_slider_info {
	display:none;
}
.owl-carousel .owl-stage {
    width: 100% !important;
}
.owl-carousel .owl-item {
    max-width: 20%;
    margin-right: 6.6666%!important;
    margin-bottom: 6.6666%;
}
.vbox-overlay {
    height: 100vh !important;
}
.vbox-content {
    margin: 25% auto !important;
}

/* Product Details Accordian */
#product-search-form input[type="text"] {
    padding: 10px 10px 10px 50px;
    color: #4e4e4e;
    border: 1px solid #000000;
    border-radius: 5px;
    margin-bottom: 15px;
    width: -webkit-fill-available;
}
#product-search-form input[type="submit"] {
    position: absolute;
    left: 7px;
    top: 7px;
    cursor: pointer;
    font-family: 'ETmodules';
    border: 0;
    background: rgba(255, 255, 255, 0);
    font-size: 24px;
	transform: rotate(266deg);
}
.product-assets-search .expand-collapse {
    font-size: 12px!important;
	color:#1883af;
    padding: .3em 1em .1em;
    border: 0;
	background:#fff;
	float:right;
	cursor:pointer;
}
div#search-results {
    margin-top: 10px;
}

.single-product .et_pb_toggle.et_pb_module.et_pb_accordion_item {
    margin-bottom: 0;
}
.single-product .et_pb_toggle_close {
    background-color: #fff;
}
.et_pb_accordion_item.et_pb_toggle_open .et_pb_toggle_title:before {
	display: block;
	content: "\e04f";
}
.single-product .et_pb_wc_images .flex-viewport {
    border: 1px solid #d9d9d9!important;
    border-radius: 5px!important;
}
.single-product .flex-control-thumbs li {
    border: 1px solid #d9d9d9!important;
}
.single-product .et_pb_toggle_open,
.single-product .et_pb_toggle_closed {
    padding: 0!important;
}

.single-product .et_pb_toggle_open h5 { padding: 20px; }

/* accordion toggle +/- */
.single-product .et_pb_toggle_close .et_pb_toggle_titlex:before {
    content: "\4c";
    position: absolute;
    font-size: 16px;
    left: auto;
    margin-top: -.5em;
}

.single-product .et_pb_toggle_open .et_pb_toggle_titlex:before {
    content: "\4b";
    position: absolute;
    font-size: 16px;
    left: auto;
    margin-top: -.5em;
}

.single-product .et_pb_accordion .et_pb_toggle_titlex:before {
    position: absolute;
    top: 35px;
    right: 12px;
    font-size: 32px !important;
    font-family: ETmodules !important;
    font-weight: 400 !important;
    color: #404040;
}

.single-product .et_pb_toggle_open .et_pb_toggle_title:before {
    right: 20px;
}
.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
    padding:20px 20px;
}
.single-product .et_pb_toggle_content {
    padding-top: 0px;
}
.single-product .product-asset {
    display: flex;
    flex-direction: row;
    line-height: 1em;
	padding: 10px 20px;
    align-items: center;
}
.video-asset {
    display: flex;
    align-items: center;
	width: -webkit-fill-available;
}
.single-product span.download,
.single-product span.cart {
    padding-left: 10px!important;
}

.single-product span.download:first-of-type,
.single-product .video-asset a:nth-child(2) {
    padding-left: 12px!important;
}
.single-product .product-asset a:nth-child(2),
.single-product .video-asset a:nth-child(2) {
    margin-left: auto;
}
.single-product .product-asset:nth-child(odd) {
    background: #e4e4e4;
}
.product-asset:last-child {
    border: 0;
}
.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\e04f" !important;
}

/* Recently Viewd Products */
section.rvpw-recently-view.products {
    max-width: 100%!important;
}
a.woocommerce-LoopProduct-link.woocommerce-loop-product__link .et_shop_image {
    overflow: hidden;
}

/* Search Results */
.search-results a.entry-featured-image-url img {
    max-width: 200px;
    float: left;
    padding-right: 20px;
}
/* Product Filters */
.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable {
    padding: 13px 40px 10px 20px;
    font-weight: 500 !important;
    font-size: 14px;
}
