/*
Theme Name: Eurofood
Theme URI: https://eurofood.ua/
Author: Александр Яблоков
Author URI: https://www.weblancer.net/users/alexyablokov/
Description: Тема для сайта Eurofood
Version: 1.0.0
Text Domain: eurofood
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Elelementor Container */
.e-con {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.e-con-inner {
	margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.heroHome {
    min-height: 1267px !important;
    height: auto;
    position: relative !important;
    padding-bottom: calc(40* 0.0625rem + 50*(100vw - 320* 0.0625rem) / 1600);
}
.hero {
    position: relative !important;
}

.box {
    width: 100% !important;
    max-width: 100% !important;
}


.elementor img.hero__decor_2 {
    top: 58% !important;
    right: 10% !important;
    width: 11.40625% !important;
}
.elementor img.hero__decor_3 {
    top: 65% !important;
    left: 5% !important;
    width: 6.8229166667% !important;
}
.elementor img.hero__decor_4 {
    top: 80% !important;
    right: 10% !important;
    width: 2.5% !important;
}

/* Language Switch Element Selector */
/* Select Language */
.lang__tile {
    color: #191919 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 1.125rem !important;
    line-height: 160% !important;
}
.select_wrap {
    width: 50px;
    margin-left: 30px;
    position: relative;
    user-select: none;
}
.select_wrap .default_option {
    background: transparent;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
}
.select_wrap .default_option li {
    padding: 10px 0px;
}
.select_wrap .default_option:before {
    content: "";
    position: absolute;
    top: 18px;
    left: -15px;
    width: 8px;
    height: 8px;
    border: 2px solid;
    border-color: transparent transparent rgb(20, 40, 105) rgb(20, 40, 105);
    transform: rotate(-45deg);
    transition: 0.3s ease-out;
}
.select_wrap.active .select_ul {
    display: block;
}
.select_wrap .select_ul {
    padding: 0px;
    padding-top: 15px;
    padding-bottom: 10px;
    margin: 0px;
    margin-top: -15px;
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    position: absolute;
    top: 55px;
    left: -20px;
    width: 100%;
    background: #ffffff; /* #578DAC; */
    border-radius: 10px;
    display: none;
    z-index: 10;
    text-align: center;
}
.select_wrap .select_ul li {
    margin: 0px;
    padding: 0px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.select_wrap .select_ul li:hover {
    /* background: #fff4dd; */
    text-decoration: underline;
}
.select_wrap .select_ul li.selected {
    /*background: #D3E8F3; */
    display: none; /* Выбор одного из двух языков */
}
.select_wrap .select_ul li:first-child:hover,
.select_wrap .select_ul li.selected:first-child {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.select_wrap .select_ul li.selected:last-child {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.select_wrap .option, .select_wrap_mobile .option {
    display: flex;
    align-items: center;
    text-align: center;
}
.select_wrap .option .icon, .select_wrap_mobile .option .icon,
.select_wrap .option .icon, .select_wrap_mobile .option .icon a.drop-block__link {
    /* background: url('../img/flag-ua.png') no-repeat 0 0; */
    width: 32px;
    height: 32px;
    margin-right: 5px;
    font-size: 1.125rem !important;
    line-height: 160% !important;
    color: #191919 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.icon a.drop-block__link {
    color: #191919 !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 1.125rem !important;
    line-height: 160% !important;
    padding-left: 5px;
}
/* .select_wrap .option.ua .icon, .select_wrap_mobile .option.ua .icon { */
    /* background: url('../img/flag-ua.png') no-repeat 0 0; */
/* } */
/* .select_wrap .option.ru .icon, .select_wrap_mobile .option.ru .icon  { */
    /* background: url('../img/flag-ru.png') no-repeat 0 0; */
/* } */
/* .select_wrap .option.usa .icon, .select_wrap_mobile .option.usa .icon  { */
    /* background: url('../img/flag-us.png') no-repeat 0 0; */
/* } */
.select_wrap.active .default_option:before {
    top: 22px;
    border-color: transparent rgb(20, 40, 105) rgb(20, 40, 105) transparent !important;
    transform: rotate(225deg); /* transform: rotate(-225deg); */
}
/* ---------------- */


/* Language Switcher Polylang: */
.spoller_active ~ .lang__list {
    display: flex !important;
    flex-direction: column !important;
}
.select-language-wrapper {
    position: relative;
}
.select-language-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: block;
    width: 10px;
    height: 10px;
    background: url(assets/img/cmn/lang_arrow.svg) no-repeat;
    pointer-events: none;
}
#lang_choice_1 {
    font-size: 1.125rem;
    line-height: 160%;
    color: #191919;
    background-color: transparent !important;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    text-transform: uppercase;
    width: 100%;
    padding: 10px 35px 10px 10px;
    cursor: pointer;
}
#lang_choice_1:focus + .lang__angle {
    outline: none;
    transform: translate(0, -50%) rotate(180deg);
}
.select-items div,.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}


/* Addresses section */
.adressesBlockLogo {
    padding: 0px;
    margin: 0px;
    margin-bottom: 20px;
}
.addressesTitle {
    margin-right: 20px;
}
.addressesBlock {
    /* display: flex;
    flex-direction: row;
    flex-wrap: wrap; */
    justify-content: space-between;
    align-items: flex-start;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.addressesBlock__item {
    margin-bottom: 40px;
    min-width: 250px;
    width: auto;
    justify-self: start;
}
.addressesBlock__item:nth-child(2n) {
    text-align: right;
    justify-self: end;
}
.addressesSectionItems {
    width: 100% !important;
}

.addressesBlock__country {
    font-size: 1.25rem;
    color: #142869;
    font-weight: 700;
}
.addressesBlock__city {
    font-size: 1.25rem;
    color: #142869;
    font-weight: 700;
}

.addressesBlock__address {
    max-width: 250px;
    color: #142869; /* #191919 */
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.3;
    transition: color 0.3s;
}

.addressBlock__link {
    color: #142869;
    font-weight: 400;
    max-width: 150px;
}

@media (max-width: 768px) {
    .addressesBlock {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }
    .addressesBlock__item {
        text-align: center;
        justify-self: center;
    }
    .addressesBlock__item:nth-child(2n) {
        text-align: center;
        justify-self: center;
    }
    .adressesBlockLogo {
        padding: 0px;
        margin: 0px;
        margin-bottom: 30px;
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

/* Page 404 */
.notFoundHeader {
    color: #191919;
    font-weight: 900;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
}

/* Site menu */
@media (min-width: 3000px) {
    .logo__text, .menu__text {
        font-size: calc(12 * 0.0625rem + 6 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .hero__title {
        font-size: calc(33 * 0.0625rem + 27 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .logo__text {
        font-size: 20px !important;
    }
}
@media (max-width: 3000px) {
    .logo__text, .menu__text {
        font-size: calc(15 * 0.0625rem + 9 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .hero__title {
            font-size: calc(33 * 0.0625rem + 27 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .logo__text {
        font-size: 20px !important;
    }
}
@media (max-width: 1600px) {
    .logo__text, .menu__text {
        font-size:  calc(20 * 0.0625rem + 12 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .hero__title {
        font-size: calc(33 * 0.0625rem + 47 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .logo__text {
        font-size: 20px !important;
    }
}

@media (max-width: 620px) {
    .logo__text, .menu__text {
        font-size: calc(12 * 0.0625rem + 6 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .logo__text {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .logo__text, .menu__text {
        font-size: calc(12 * 0.0625rem + 3 * (100vw - 320 * 0.0625rem) / 1600) !important;
    }
    .menu__text {
        margin-right: 10px !important;
    }
    .lang__tile, .lang__item {
        font-size: 1rem !important;
    }
    .logo__text {
        font-size: 20px !important;
    }
}

/* ------- */
header.header.hero__header.box.homemenu {
    margin-top: 20px;
    margin-bottom: 100px;
    justify-content: flex-end;
}
.postContent {
    margin-left: 30px;
    margin-right: 30px;
}
.post-title {
    color: #191919;
    font-size: 22px;
    font-weight: bold;
    text-transform: initial;
}
/* ---------- */
.factorySubtitle {
    position: absolute !important;
    display: block !important;
    margin-left: 15px;
}
@media (max-width: 620px) {
    .factorySubtitle {
        position: relative !important;
    }
}
/* Product Page */
.productBlock {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}
.productAttributesTable tr th {
    min-width: 200px !important;
    max-width: 200px !important;
}
.productBox {
    background: url(assets/img/hero/hero_2.html);
    background-clip: border-box;
    background-color: antiquewhite;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
}
.productBoxConfetta {
    max-width: 150px;
    position: absolute;
    top: 75%;
    right: 120px;
}
@media (max-width: 992px) {
    .product__header {
        margin-top: 0px !important;
    }
    .section__description {
        max-width: 400px;
    }
    .productAttributesTable tr th {
        min-width: 100px !important;
        max-width: 100px !important;
    }
    .productBoxConfetta img {
        position: relative;
        z-index: 1 !important;
    }
    .productAttributesTable > tbody > tr> th, .productAttributesTable > tbody > tr> th > b, .productAttributesTable > tbody > tr> th > img
    {
        position: relative;
        z-index: 99 !important;
    }
}
@media (max-width: 850px) {
    .section__description {
        max-width: 350px;
    }
    .productAttributesTable tr th {
        min-width: 100px !important;
        max-width: 100px !important;
    }
}
@media (max-width: 620px) {
    .product__header {
        margin-top: 20px !important;
    }
    .productBlock {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .productAttributesTable tr th {
        min-width: 100px !important;
        max-width: 100px !important;
    }
}
.productAttributeIcon {
    width: 32px;
    height: 32px;
    max-width: 32px;
    max-height: 32px;
    margin: 0 auto;
}
/* Product Title */
div.productBlock__right > div.section__header.product__header > h2 {
    margin: 0 !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    position: relative !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    font-weight: 700 !important;
}
div.productBlock__right > div.section__description {
    font-size: calc(14* 0.0625rem + 16*(100vw - 320* 0.0625rem) / 1600);
}
@media (max-width: 1600px) {
    div.productBlock__right > div.section__header.product__header > h2 {
        font-size: calc(18* 0.0625rem + 20*(100vw - 320* 0.0625rem) / 1600) !important;
    }
    div.productBlock__right > div.section__description {
        font-size: 16px;
    }
}
@media (min-width: 1600px) {
    div.productBlock__right > div.section__header.product__header > h2 {
        font-size: calc(20* 0.0625rem + 22*(100vw - 320* 0.0625rem) / 1600) !important;
    }
    div.productBlock__right > div.section__description {
        font-size: 18px;
    }
}
@media (min-width: 1920px) {
    div.productBlock__right > div.section__header.product__header > h2 {
        font-size: 22px;
    }
    div.productBlock__right > div.section__description {
        font-size: 20px;
    }
}
/* Product Gallery */ 
.productBlock__left {
    position: relative;
    margin-right: 50px;
    min-width: 200px;
}
.productImageDisplay {
    overflow: hidden;
    z-index: 150 !important;
}
.productImageShowcase, .productImageShowcase a {
    display: flex !important;
    width: 100% !important;
    transition: all 0.5s ease;
    z-index: 150 !important;
}
.productImageShowcase img, .productImageShowcase a {
    min-width: 100%;
    width: 100% !important;
    display: block !important;
    max-height: 420px;
    z-index: 150 !important;
}
.productImageShowcase img:hover, .productImageShowcase a:hover {
    cursor: zoom-in;
    z-index: 150 !important;
}
.productImageDisplayControls {
    position: absolute;
    width: 100%;
    height: auto;
    top: 35%;
    left: 0px;
    z-index: 200 !important;
}
.productImageDisplayControls__leftArrow {
    position: absolute;
    left: -30px;
    top: 35%;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    border: 1px solid black;
    background-color: #fff;
    border-radius: 100px;
    transform: rotate(-180deg);
    z-index: 200 !important;
}
.productImageDisplayControls__rightArrow {
    position: absolute;
    right: -30px;
    top: 35%;
    min-width: 24px;
    min-height: 24px;
    width: 24px;
    height: 24px;
    border: 1px solid black;
    background-color: #fff;
    border-radius: 100px;
    z-index: 200 !important;
}
@media (max-width: 620px) {
    .productImageDisplayControls__leftArrow {
        left: -15px;
    }
    .productImageDisplayControls__rightArrow {
        right: -15px;
    }
}

.productImageSelect {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    transition: all 0.5s ease;
    z-index: 100 !important;
    overflow: hidden;
    overflow-x: scroll !important;
}
.productImageItem {
    display: flex !important;
    flex-direction: row !important;
    width: 100%;
    transition: all 0.5s ease;
    
    min-width: 60px;
    max-width: 60px;
    margin: 0.3rem;
    height: 100px;
    max-height: 100px;
    overflow: hidden;
    z-index: 120 !important;
}
.productImageItem.galleryImageSelected { 
    border:  3px solid red;
    z-index: 120 !important;
}
.productImageItem img {
    height: 100px;
    max-height: 100px;
    z-index: 120 !important;
}
.productImageItem:first-child {
    margin-left: 0;
}
.productImageItem:not(:first-child) {
    margin-right: 0;
}

.section__attributes{
    margin-bottom: 20px;
}
.productPrice {
    padding-bottom: 20px;
    font-weight: 700;
    color: orangered;
}
.productAttributesTable {
    margin-top: 20px;
    /*
    border: 1px solid #191919;
    background: rgb(227, 196, 168);
    */
}
.productAttributesTable tr:first-child {
    /* background-color: red;
    border: 1px solid red; */
    margin: 0px; 
}
.productAttributesTable tr {
    border: 1px solid #191919;
    vertical-align: baseline;
}
.productAttributesTable tr td {
    border: none;
    text-align: center;
}
.productAttributesTable tr th {
    min-width: 100px;
}
.productAttributesTable tr th:first-child {
    text-align: center; /* right */
}
.productAttributesTable tr td:first-child {
    text-align: center; /* right */
}
.productAttributesTable tr td:last-child {
    text-align: center;
}
.productAttributesTable tr td:last-child,
.productAttributesTable tr th:last-child  {
    padding-left: 20px;
}
@media (max-width: 620px) {
    .productAttributeIcon {
        margin: 0;
    }
    .productAttributesTable tr th {
        text-align: left;
    }
    .productAttributesTable tr td {
        text-align: left;
    }
    .productAttributesTable tr th:first-child { 
        text-align: left;
    }
    .productAttributesTable tr td:first-child {
        text-align: left;
    }
    .productAttributesTable tr td:last-child {
        text-align: left;
    }
}

/* Factories cards */
.factory-card__title {
    color: #191919;
    font-weight: 700;
    font-size: 1.2rem !important;
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.factory-card__description {
    color: #191919 !important;
    font-weight: 400;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 5px;
    text-decoration: none;
    outline: none;
}
.factory-card__description:focus,
.factory-card__description:hover {
    color: #191919 !important;
    text-decoration: none;
    outline: none;
}
.factoryCardLink {
    color: #191919 !important;
    text-decoration: none;
    outline: none;
}
.factoryCard:hover {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 24px 25px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
.elementor-lightbox .elementor-lightbox-image {
    box-shadow: none !important;
}
.partners_section {
    margin-bottom: 20px;
}

@media (min-width: 1000px) {
    .adressesBlockLogo {
        max-width: 300px;
    }
}
