/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */

/* Global */

p:has(iframe[src*="youtube"]) {
  display: block;
  position: relative;
  padding-bottom: 56.25% !important;
  padding-top: 30px !important;
  height: 0;
  overflow: hidden;
}

iframe[src*="youtube"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Header */

.fl-theme-builder-header-scrolled .header-nodisplay .fl-col-content {
  min-height: 0px !important;
  transition: min-height 0.3s ease;
}

@media only screen and (max-width: 1025px) {
  header{
    position: inherit !important;
  }
  .mobile-header{
    background: #004f9e; 
  }
}

.white-back{
  background: white !important;
}

/* .menu-col .fl-col-content {
  background-color: #ffffff !important;
  border-top-width: 1px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 1px;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 150px;
  
} */

header.fl-theme-builder-header-scrolled {
  box-shadow: 5px 5px 20px 0px #dbdada;
}

/* .contact-row .fl-col-group{
   box-shadow: 0px 5px 12px 3px rgba(0,0,0,.2);
   background: #fff;
} */

/* Blog */

@media (min-width: 769px) {
  .blog-module .uabb-blog-post-inner-wrap {
    display: flex;
    align-items: center !important;
  }

  .blog-module .uabb-post-wrapper a:hover + .uabb-blog-posts-shadow {
    box-shadow: rgba(0, 0, 0, 0.4) 2px 2px 5px 0px;
    margin-left: 20px;
  }
}

@media (max-width: 768px) {
  .blog-module .uabb-blog-post-inner-wrap .uabb-post-thumbnail {
    display: flex;
    justify-content: center;
  }
}

/* Product */

table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    overflow-x: auto; /* Добавляем горизонтальную прокрутку на мобильных */
  }
  
  table, th, td {
    border: 1px solid black;
  }
  
  /* Стилизация заголовков */
  th {
    font-weight: bold;
  }
  
  /* Дополнительные стили для мобильных устройств */
  @media only screen and (max-width: 600px) {
    table {
        table-layout: fixed;
        overflow-x: auto;
      }
  }

/* .menuitem-whith .mega-sub-menu{
  width: 500px !important;
} */


.woocommerce .star-rating:before, 
.woocommerce-page .star-rating:before{
  
  color: #cfc8d8;
}

.woocommerce #respond input#submit, 
.woocommerce-page #respond input#submit{
  color: #fff;
  background: #014099;
}

.woocommerce #respond input#submit:hover, 
.woocommerce-page #respond input#submit:hover{
  color: #fff;
  background: #000;
}
 
.woocommerce-page div.product .woocommerce-tabs ul.tabs{
  padding: 0 5px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .out-of-stock {
  color: red !important;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: green;
}



