/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
body.rtl #qlwapp.qlwapp-button .qlwapp-toggle .qlwapp-icon {
	margin-left: 0px;
}

#qlwapp.qlwapp-rounded.qlwapp-button .qlwapp-toggle {
	padding: 12px;
}
#qlwapp .qlwapp-toggle {
	    margin-bottom: 68px !important;
}
#mobile-phone {
	position: fixed;
	bottom: 120px;
	right: 20px;
	background-color: #000;
	border-radius:50px;
    width: 40px;
    height: 40px;
	z-index: 999;
	display: flex;
    align-items: center;
    justify-content: center;
}
#mobile-phone svg {
	width: 24px;
    height: 24px;
	fill:#67b9cb;
}
@media only screen and (min-width: 780px) {
		#mobile-phone {
		display: none;
	}
  .container-width, .full-width .ubermenu-nav, .container, .row {
    max-width: 1350px;
  }
  
/*************** ADD MOBILE ONLY CSS HERE  ***************/
  header .header-inner #logo a { position: absolute; bottom: -38px; }
  header .header-inner #logo a img { max-height: fit-content; }
  header .searchform { margin-right: 225px !important; }
  header .stuck .header-inner #logo img {
    max-height: 115px!important;
  }
  header .nav-dropdown {
    min-width: 325px;
  }
  
  .row-large>.col {
    margin-bottom: 0;
    border: 0 !important;
  }
  
.category-page-row .col.side-bar-custom { padding: 0 0 0 75px !important; }
.category-page-row .col.large-8 { padding: 0 !important; font-size: 18px; }
  .category-page-row .col.large-8 h2 { font-size: 30px; }
  
  header .nav-spacing-xlarge>li {
    margin: 0 27px;
	}
  .sidebar-inner aside.widget_nav_menu {
    background: url('images/side-bg.jpg') 0 0;
    padding: 10px 5px;
  }
  .sidebar-inner aside { text-align: center; font-weight: 600; font-size: 18px; }
  .sidebar-inner aside:not(.widget_tag_cloud):not(.widget_media_image) .wrapper {
    border: 1px solid black;
    padding: 10px 0;
  }
   .sidebar-inner aside:not(.widget_tag_cloud) .menu-whats-cooking-container:before {
    content: url("/wp-content/themes/flatsome-child/images/MA-MITBASHEL.png");
  }
  .sidebar-inner aside:not(.widget_tag_cloud) .menu-hows-cooking-container:before {
    content: url("/wp-content/themes/flatsome-child/images/HOWS-IT-COOKING.png");
  }
  .sidebar-inner aside.widget_nav_menu ul {
  	width: 75%;
    margin: 0 auto;
  }
  .sidebar-inner aside.widget_nav_menu ul li:not(:last-child) {
    border-bottom: 1px solid;
  }
  
  .sidebar-inner aside.widget_nav_menu ul li a { display: block; padding-right: 10px; }
  .sidebar-inner aside.widget_nav_menu ul li a:hover, .sidebar-inner aside.widget_nav_menu ul li.current-menu-item a { background-color: #7ccff1; }
  
  .sidebar-inner aside.widget_tag_cloud .widget-title {
	margin-bottom: 15px;
    background-color: #7ccff1;
    text-align: center;
    padding: 10px 0;
    display: block;
    color: black;
    font-size: 25px;
  }
  .sidebar-inner aside.widget_tag_cloud  .tagcloud { text-align: right; }
  .sidebar-inner aside.widget_tag_cloud  .tagcloud a {
    margin: 0 10px 10px 0;
    background-color: black;
   	border: 0;
    border-radius: 0;
    padding: 3px 8px;
    color: white !important;
    font-size: 18px !important;
    opacity: 1;
  }
  .sidebar-inner aside.widget_tag_cloud  .tagcloud a:hover, .sidebar-inner aside.widget_tag_cloud  .tagcloud a.active-tag {
    background-color: #7ccff1;
    color: black !important;
  }
}

/*************** RECIPES   ***************/
.woocommerce-pagination {
  margin: 0 auto;
  max-width: max-content;  
}
.woocommerce-pagination .page-numbers span, .woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers:not(ul) {
  display: flex;
  min-width: 30px;
  text-align: center;
  height: 30px;
  box-sizing: border-box;
  justify-content: center;
  border: 1px solid #000;
  border-radius:0;
  margin: 10px;
  padding: 0 5px;
  transition: 0.3s;
}

.woocommerce-pagination .page-numbers a:hover, .woocommerce-pagination a.page-numbers:hover, .woocommerce-pagination span.page-numbers {
  background: #7ccff1;
}

.recipes-page .page-header {
  position: relative;
  margin-bottom: 50px;
}
.recipes-page .page-header .title-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.recipes-page .page-header .title-wrapper h1 {
  display: contents;
  cursor: default;
  color: #FFF;
}

.recipe-categories {
  background-size: cover;
  padding: 5px;
  margin-bottom: 50px;
}

.recipe-categories-content {
  border: 1px solid #000;
  padding: 20px;
  margin-top: 10px;
}

.recipe-categories-content ul {     list-style: none; }
.recipe-categories-content ul li { border-bottom: 1px solid black; }

.recipe-categories .category-link {
  display: block;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 0;
}


.recipe-categories .image-wrapper {
  position: relative;
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  background: #FFF;
  transition: 0.3s;
  padding-left: 5px;
}

.recipe-categories .image-wrapper img {
  mix-blend-mode: multiply;
  max-width: 50px;
}

.recipe-categories .category-link.active .image-wrapper,
.recipe-categories .category-link:hover .image-wrapper {
  background: #7ccff1;
}

.recipe-tags {
  display: flex;
  flex-direction: column;
}

.recipe-tags-content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.recipe-tags-content a {
  display: inline-flex;
  padding: 5px 7px;
  margin: 5px;
  background: #000;
  color: #FFF;
  transition: 0.3s;
}
.recipe-tags a.active,
.recipe-tags a:hover {
  background: #7ccff1;
  color: #000;
}

.recipe-excerpt; {
  cursor: default;
}

.recipe-excerpt-image {
  position: relative;
  cursor: pointer;
  display: flex;
}
.recipe-excerpt-image span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  background: rgba(255,255,255,0.75);
  color: #000;
  justify-content: center;
  align-items: center;
  display: flex;
  font-weight: 700;
  font-size: 1.2em;
}

.recipe-excerpt-content {
  padding: 5px 20px;
}


.recipe-main-title {
  background: #7ccff1;
  padding: 5px 40px 5px 10px;
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.recipe-secondary-title {
  background: #7ccff1;
  padding: 5px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.recipe-heading {
  font-weight: 700;
  font-size: 1.2em;
  margin-bottom: 10px;
}

.recipe-props {
  margin-top: 10px;
  margin-bottom: 20px;
}

.recipe-prop {
  background: #000;
  color: #FFF;
  padding: 10px !important;
  line-height: 38px;
}
.recipe-prop strong { padding-left: 5px; }

.recipe-prop-left {
  margin-left: -5px !important;
}
.recipe-prop-left:before {
  content: '';
  display:inline-block;
  background: url(/wp-content/themes/flatsome-child/images/PREPAIRING.png) 0 0 no-repeat;
  width: 38px;
  height: 38px;
  margin-left: 15px;
}
.recipe-prop-right {
  margin-right: -5px !important;
}

.recipe-prop-right:before {
  content: '';
  display:inline-block;
  background: url(/wp-content/themes/flatsome-child/images/COOKING-TIME.png) 0 0 no-repeat;
  width: 38px;
  height: 38px;
  margin-left: 15px;
}

.ingredients-list {
  list-style: none;
  width: 100%;
}

.ingredients-list li {
  border-top: 1px solid #ccc;
}

.ingredients-list li:first-child {
  border-top: none
}

.recipe-step {
  border-top: 1px solid #000;
  padding: 10px 0;
}

.recipe-step:first-child {
  border-top: none;
  padding-top: none;
}

.separator {
  position: relative;
}

.separator:after {
  content: " ";
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 1px;
  background: #ccc;
}

.related-recipe {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
}

.related-recipe img {
    width: 33%;
    margin-left: 10px;
}

.related-recipe {
    font-size: 0.9em;
}

.related-recipe div {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}


/*** Video Embed ***/
.embed-container { 
  position: relative; 
  padding-bottom: 56.25%;
  overflow: hidden;
  max-width: 100%;
  height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.single_variation_wrap .woocommerce-variation-description {
    text-align: center;
    padding: 20px;
    font-size: 20px;
}

.select2-dropdown,.select2-container {
    z-index:99999;
  color: white;
}
#my_custom_countries_field select {
  font-size: 18px;
}
.delivery-widget .result_area {
  font-size: 18px;
}
.delivery-widget .text-box .text-inner {
  display: flex;
  flex-direction: column-reverse;
}
.delivery-widget .text-box .text-inner>p { order: 3; }
.delivery-widget .text-box #my_custom_countries_field { order: 2; }
.delivery-widget .text-box .result_area { order: 1; }

.rp_wcdpd_product_page_modal_link span {     
  color: #7ccff1;
    background: black;
    display: inline-block;
    padding: 5px 10px;
  text-decoration: none !important;
}

.product-footer .delivery-widget { 
    margin: 15px 0;
    border: 1px solid #75c1e37a;
    padding: 15px 0;
    text-align: center;
}
.product-footer #my_custom_countries_field { padding-right: 15px; }
#my_custom_countries_field select { display: none; }
ul#select2-my_country_field-results {
    list-style: none;
    padding: 10px;
  background: black;
      height: 200px;
    overflow-x: auto;
}
#my_custom_countries_field, .product-footer .delivery-content { display: inline-block; }
body.home .select2-selection { font-size: 18px; }