*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/


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

.mh-gallery-square .et_pb_gallery_image {
  padding-top: 100%;
}

.mh-gallery-square .et_pb_gallery_item img {
  position: absolute;
  height: 100%;
  bottom: 0;
  object-fit: cover;
}


.facetwp-facet .facetwp-checkbox {
 background: url('https://ownbrands.tempurl.host/wp-content/themes/divi-child/images/checkbox3.png') 0 50% no-repeat;
 background-size: 20px 20px;
 margin-bottom: 10px;
 padding-left: 34px;
}


.facetwp-facet .facetwp-checkbox.checked {
  background: url('https://ownbrands.tempurl.host/wp-content/themes/divi-child/images/checkbox3-active.png') 0 50% no-repeat;
   background-size: 20px 20px;
 margin-bottom: 10px;
 padding-left: 34px;
}


/* DESKTOP */
.woocommerce .flex-control-thumbs {
    margin: 5px 0px 5px -5px !important; /* Thumbnails separation top and bottom */
    width: 100% !important; /* Controls width of thumbnails container on desktop - Horizontally */
	display: flex;
}
/* Controls thumbnails width on desktop - vertically
 * Enable this ONLY for VERTICAL display
 */
ol.flex-control-nav.flex-control-thumbs li {
	width: 15% !important;
}
/* Enable this ONLY for HORIZONTAL display */
/*ol.flex-control-nav.flex-control-thumbs li {
	width: 18% !important;
}*/

/* PHONES */
@media (max-width:414px){
	ol.flex-control-nav.flex-control-thumbs li {
		width: 18% !important; /* Controls thumbnails width on mobile - Horizontally */
	}
}

/* TABLETS */
@media (min-width:568px) and (max-width:768px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important;
    	width: 15% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important;
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 90% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}
@media (min-width:769px) and (max-width:1024px){
	/* Controls thumbnails container width on tablet - vertically
	 * Enable this ONLY for VERTICAL display */
	.woocommerce .flex-control-thumbs {
    	margin: 10px 0px 10px -5px !important;
    	width: 12% !important;
	}
	/* Controls width of thumbnails container on tablet - horizontally
	 * Enable this ONLY for HORIZONTAL display */
	/*.woocommerce .flex-control-thumbs {
    	width: 70% !important;
	}*/
	ol.flex-control-nav.flex-control-thumbs li {
		width: 100% !important; /* Controls thumbnails image width on tablet - vertically */
	}
}


@media (min-width:568px) {
	.woocommerce .flex-control-nav {
		position: absolute;
		top:-10px;
		right: -507px;
	}
	.flex-control-thumbs {
		display: flex;
		flex-direction: column;
	}
}
@media (min-width:568px) and (max-width:768px){
	.woocommerce .flex-viewport {
		width: 100% !important;
		right: 100px !important;
	}
}
@media (min-width:769px) and (max-width:1024px){
	.woocommerce .flex-viewport {
		width: 100% !important;
		right: 95px !important;
	}
}
@media (min-width:1025px){
	.woocommerce .flex-viewport {
	  width: 100% !important;
	  right: 49px !important;
	}
}

.pswp__caption__center {
  display: none;
}