﻿

.section-special {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-top: 20px;
    background-color: #e7eae9;
    padding-bottom: 10px;
}

.main-banner {
    background-color: #e7eae9;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding-left: 20px;
    padding-right: 20px;
}

.main-banner-left,
.main-banner-right,
.main-banner-center {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-banner-left {
    width: 392px;
    height: 160px;
}

.main-banner-right {
    width: 427px;
    height: 160px;
}

.main-banner-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Trebuchet MS', sans-serif;
    color: #71301e;
    text-align: center;
    min-width: 380px;
    flex: 1 1 auto;
    min-height: 160px;
}

.main-banner-link {
    display: block;
    width: 100%;
    text-align: center;
}

.main-banner-db-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}


.section-categories {
    margin-top: 10px;
    border-top: #632c17 1px solid;
}

.mainpage-categories {
    display: flex;
    justify-content: space-around;
}

    .mainpage-categories a, .mainpage-categories a:visited {
        text-decoration: none;
    }

.mainpage-category-button {
    max-width: 238px;
    width: 100%;
    height: auto;
    border: none;
    cursor: pointer;
    background-color: inherit;
    transition: transform .1s ease-in-out;
    border: #c0ad8f solid 2px;
    border-radius: 140px;
}

.mainpage-category:hover .mainpage-category-button {
    transform: translate(2px, 2px);
    border: #fff solid 2px;
}

.mainpage-category:hover .mainpage-category-caption {
    text-decoration: underline;
    cursor: pointer;
}


.mainpage-category-title {
    color: #b07a5e;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    padding-top: 10px;
}

.mainpage-category-caption {
    color: #632c17;
    font-weight: 600;
    padding-top: 10px;
    font-size: 18px;
}

.main-banner-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Trebuchet MS', sans-serif;
    color: #71301e;
    text-align: center;
    min-width: 380px;
}


    .main-banner-center h1 {
        font-size: 3em;
    }

    .main-banner-center h2 {
        font-size: 1.2em;
    }


.mainpage-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}



.btn-bemember {
    background-color: #7e7357;
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    height: 36px;
}

    .btn-bemember:hover {
        border-bottom: #fff solid 1px;
        border-right: #fff solid 1px;
    }

.div-carousel {
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: #d2bc9b 1px solid;
    background-color: #fff;
    padding: 20px;
    border-radius: 20px;
}

.div-carousel-caption {
    padding-bottom: 10px;
    color: #632c17;
    font-weight: 700;
    font-size: 22px;
}

    .div-carousel-caption a, .div-carousel-caption a:visited {
        text-decoration: none;
        color: #632c17;
    }

.carousel-special {
    background-color: #e7eae9;
}

.special-item {
    display: flex;
    flex-direction: column;
    background-color: #fff;
    color: #000;
    padding: 5px;
    border-radius: 10px;
    margin: 5px;
    cursor: pointer;
}

    .special-item:hover {
        border: 1px gray solid;
    }

.special-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 8px;
    margin-bottom: 8px;
}

.special-item-prices {
    display: flex;
    justify-content: space-around;
}

.special-item-price-now {
    font-weight: 600;
}

.special-item-price-regular {
    color: #808080;
    text-decoration: line-through;
}

.special-item-bottom-part {
    display: flex;
    justify-content: center;
    color: #ff0000;
    font-size: 14px;
    font-weight: 600;
}

.special-image {
    min-height: 146px;
}

.contact-us {
    background-color: #e7eae9;
    min-height: 420px;
}

@media (max-width:1024px) {

    .main-banner {
        justify-content: space-around;
    }

    .main-banner-center h1 {
        font-size: 2em;
    }




    .main-banner-right {
        display: none;
    }

    .main-banner-left {
        height: 224px;
    }

    .mainpage-category-button {
        max-width: 160px;
    }

    .contact-us {
        min-height: 150px;
    }
}

@media (max-width:769px) {

    .main-banner {
        padding: unset;
        justify-content: space-around;
    }

    .mainpage-category-button {
        max-width: 64px;
    }

    .mainpage-category-caption {
        font-size: 14px;
    }

    .main-banner-left {
        display: none;
    }

    .main-banner-center {
        padding: 4px;
    }

    .div-carousel {
        width: 340px;
    }
}



.contactus-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding-top: 20px;
    padding-bottom: 10px;
    font-size: 16px;
}

.message-table {
    min-width: 300px;
}

    .message-table td {
        padding: 5px;
    }

.form-control {
    width: 100%;
}




#divContactOther {
    display: flex;
    flex-direction: column;
}

.info-row {
    padding: 10px;
    display: flex;
}


[dir="rtl"] .main-banner,
[dir="rtl"] .section-categories,
[dir="rtl"] .section-special,
[dir="rtl"] .section-contactus,
[dir="rtl"] .mainpage-category-title,
[dir="rtl"] .div-carousel-caption,
[dir="rtl"] .contact-us,
[dir="rtl"] .info-row,
[dir="rtl"] .message-table,
[dir="rtl"] .main-banner-center {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .main-banner {
    flex-direction: row-reverse;
}

[dir="rtl"] .main-banner-center {
    text-align: center;
}

[dir="rtl"] .mainpage-categories {
    flex-direction: row-reverse;
}

[dir="rtl"] .section-special {
    flex-direction: row-reverse;
}

[dir="rtl"] .contactus-container {
    direction: rtl;
}

[dir="rtl"] .message-table td {
    text-align: right;
}

[dir="rtl"] .info-row {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .special-item-text,
[dir="rtl"] .special-item-bottom-part,
[dir="rtl"] .special-item-prices {
    text-align: right;
}

[dir="rtl"] .owl-carousel {
    direction: ltr;
}