#topmenu {
    padding: 0 23px;
    background-color: #D6897F;
}

#cheader {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    height: 269px;
    padding: 0 23px;
}

#cheader_center {
    flex-grow: 0;
    flex-shrink: 0;
}
.logotitle {
  width: 382px;
  height: 269px;
  background: url(/local/templates/main_composite_adaptive/images/logo.webp) 0 0 no-repeat;
  background-size: 382px 269px;
  line-height: 269px;
  margin: 0;
}
.logolink  {
  display: block;
  width: 100%;
  height: 100%;
}

#cheader_left, #cheader_right {
    flex-basis: 50%;
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#cheader_left {align-items: flex-start;}
#cheader_right {align-items: flex-end;}

.c_phone {
    font-size: 26px;
}
.c_phone>a {color: #5AAC7A; transition: color 100ms ease-in-out 0s;}
.c_phone>a:hover {color: #D6897F}

.c_address_wrap {
    margin-top: 20px;
    font-size: 14px;
}
.c_address {
    margin: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-decoration: none;
}
.c_address>img {display: inline-block; margin-right: 5px;}
.c_shedule {
    margin: 0;
    padding-left: 25px;
    color: #999;
}

.c_mess {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
}
.c_btn {
    padding: 3px;
    border: solid 2px #f5f5f5;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    color: #C79138;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    box-sizing: content-box;
    cursor: pointer;
    border-radius: 2px;
}
.c_btn span{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    height: 30px;
    border: solid 1px #f5f5f5;
    transition: all 200ms ease-in-out 0s;
    box-sizing: border-box;
}
.c_btn span>img {margin-right: 5px;}

.c_btn:hover span {background-color: #f5f5f5;}
.c_btn:hover {color: inherit;}

.c_whatsapp {color: #2CB742;}
.c_callback {color: #6AAFB8;}

#basket {margin-bottom: 20px;}


#account {
    display: flex;
    justify-content: flex-end;
}
.authorize_link {width: 252px; box-sizing: border-box;}
.authorize_link>span {width: 100%; display: block;}
.authorize_link:hover>span {
    background-color: #C79138;
    color: #fff;
}
.authorize_link:hover {
    background-color: #C79138;
}

.cabinet_link {
    display: inline-block;
    height: 40px;
    line-height: 40px;
    padding: 0 15px;
    background-color: #D6BA4C;
    color: #fff;
    font-weight: 300;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 2px;
    transition: background-color 100ms ease-in-out 0s;
}
.cabinet_link:hover {background-color: #D6897F; color: #fff;}

#logout_link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 2px;
    font-size: 10px;
    text-decoration: none !important;
    background-color: #A1A1A1;
    color: #fff;
    margin-left: 3px;
    line-height: 120%;
    transition: background-color 100ms ease-in-out 0s;
}
#logout_link:hover {background-color: #333;}
#cr_top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#catalog_trigger {
    position: relative;
    z-index: 99;
    cursor: pointer;
    background-color: #D6897F;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}
#catalog_trigger:after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 30px;
    transform: skewX(-45deg);
    animation: flareAnimation;
    left: -150%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4));
    animation: flareAnimation 2s infinite ease-in-out;
}
#catalog_trigger:hover {
    background-color: #b5685e !important;
}

@keyframes flareAnimation {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}


#addlinks {
  display: none;
  justify-content: space-between;
  position: relative;
  margin-top: 40px;
  margin-bottom: 20px;
  padding: 0 10px;
}
#addlinks>a {
  text-decoration: none;
  color: #8D744B;
  font-size: 14px;
  text-transform: uppercase;
  border-bottom: 1px dashed #8D744B;
}
#addlinks>a:last-of-type {order: 3;}
#addlinks>.centerlink {order: 2;}

#addlinks>.centerlink>a {
  background-color: #86b0c9;
  color: #fff;
  padding: 4px 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
}


.rl_media {display: none;}
@media (max-width: 1023px) {
    .rl_media {display: block;}

    #cheader {height: 180px;}
    .logotitle {
        width: 256px;
        height: 180px;
        line-height: 180px;
        background-size: 256px 180px;
    }
    #cheader_left, #cheader_right {padding: 10px 0;}
    .rl_media_column {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        height: 100%;
    }
    #cheader_right .rl_media_column {align-items: flex-end;}


    #topmenu,
    .c_contacts,
    .c_mess,
    #account,
    #basket
    /*#cr_top,*/
    /*#cr_btm*/
    {
        display: none;
    }


    .media_contacts {
        font-weight: bold;
        font-size: 16px;
    }
    .mwhatsapp>a {color: #2cb742;}
    .mwhatsapp>a>img {vertical-align: bottom;}
    .mphones>a {color: #8D744B;}

    .mbut {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        line-height: 20px;
        text-transform: uppercase;
        color: #D6897F;
        padding: 10px 20px;
        border-radius: 2px;
        min-width: 160px;
        background-color: #F5F5F5;
        transition: background-color 100ms ease-in-out 0s;
    }
    .mbut>i, .mbut>img {
        margin-right: 5px;
        font-size: 18px;
    }

    .mbut:hover {
        background-color: #D6897F !important;
        color: #fff !important;
    }

    #infomenu_trigger {
        background-color: #86B0C9;
        color: #fff;
    }

    #media_basket {
        background-color: #90CBA6;
        color: #fff;
    }

    #addlinks {
        display: flex;
        flex-wrap: wrap;
      }
    .nomobile {display: none;}

    #user_discount {
        position: absolute;
        top: 157px;
        margin: 0;
        left: 50%;
        width: 210px;
        margin-left: -105px;
        font-size: 12px;
        text-align: center;
        padding: 0 2px;
    }
    /*#user_discount>span {display: none;}*/
}

@media (max-width: 659px) {
    #cheader {
        height: 115px;
        padding: 0 7px;
    }
    .logotitle {
        width: 163px;
        height: 115px;
        line-height: 115px;
        background-size: 163px 115px;
    }
    .mbut {
        min-width: 0;
        font-size: 12px;
        padding: 3px 6px;
    }
    .mbut>i, .mbut>img {
        margin-right: 3px;
        font-size: 13px;
    }
    .media_contacts {font-size: 12px;}
    .mwhatsapp>a>img {
        width: 15px;
        vertical-align: middle;
    }
    .cabinet_link {height: auto; font-weight: 400;}
    #cheader_left, #cheader_right {
        padding: 4px 0 10px;
    }
    #infomenu_trigger, #media_basket {min-width: 80px;}
    #catalog_trigger {font-size: 14px; padding: 5px;}

    #addlinks {
        margin-top: 30px;
        padding: 0;
    }
    #addlinks>a {
        font-size: 12px;
        line-height: 19px;
    }
    #addlinks>a:last-of-type {order: unset;}
    #addlinks>.centerlink {
        width: 100%;
        text-align: center;
        order: unset;
    }
    #addlinks>.centerlink>a {border-radius: 2px;}

    #user_discount {
        top: 92px;
        width: 120px;
        margin-left: -60px;
    }
    #user_discount>span {display: none;}
}

@media (max-width: 479px) {
    #addlinks>.centerlink {
        margin-top: 10px;
    }
}


.touch_menu_items {
    position: fixed;
    width: 100%;
    background: #fff;
    padding: 20px 0;
    z-index: 9;
}
.mmenu_header {
    font-size: 22px;
    color: #E0726A;
    text-transform: uppercase;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.mmenu_header>img {
    width: 30px; height: auto;
}
.mm_close {
    display: none;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 99;
    font-size: 12px;
}


/*МЕНЮ КАТАЛОГА*/
@media (max-width: 1023px) {

  #menuline {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 99;
    overflow-y: scroll !important;
    height: 100svh;
    background-color: #fff;
    padding-bottom: 40px;
  }

  #catalog_nav {padding-top: 60px;}

  #horizontal-multilevel-menu {
    width: 100%;
    padding: 20px 40px;
    width: 100%;
  }
  #horizontal-multilevel-menu>li {
    display: block;
    height: auto;
    margin-bottom: 5px;
    text-align: left;
    border-bottom: 1px solid #E9E9E9;
  }
  #horizontal-multilevel-menu>li {
    width: 100%;
    margin-bottom: 0;
}
  #horizontal-multilevel-menu li a.root-item, #horizontal-multilevel-menu li a.root-item-selected {
    display: block;
    width: 100%;
    padding: 0;
    /*background-color: #c58178; */
    color: #8D744B;
    height: 42px;
    line-height: 42px;
    text-align: left;
    font-size: 16px;
  }
  #horizontal-multilevel-menu li a.root-item-selected {font-weight: 700; background: none;}
/*  #horizontal-multilevel-menu li:hover a.root-item {
    color: #fff;
    background-color: #aed1bb;
  }*/
  #horizontal-multilevel-menu li ul {
    /*display: block;*/
    position: relative;
    background: none;
    border: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 20px !important;
    z-index: 1;
  }
  #horizontal-multilevel-menu li li {
    background: none;
    padding: 0 10px;
    line-height: 24px;
    height: 24px;
    /*margin-left: 10px;
    margin-bottom: 10px;
    padding-left: 10px;*/
  }
  #horizontal-multilevel-menu li li>a, #horizontal-multilevel-menu li li>a {color: #464646;}
  .touch-no #horizontal-multilevel-menu li:hover, .touch-no #horizontal-multilevel-menu li.jshover {
    background: none;
    color: inherit;
  }
  #horizontal-multilevel-menu li:hover a.root-item, #horizontal-multilevel-menu li.jshover a.root-item {color: #c58178;}

  #horizontal-multilevel-menu li li.add_point>a {color: #fff;}
  .allink, .allink>a {background: none !important; font-weight: bold;}
  .allink:hover, .allink:hover>a {background-color: #dfada7 !important;}

  #horizontal-multilevel-menu li.item-selected {
    background: none !important;
    padding-left: 10px;
    text-transform: uppercase;
    font-weight: 700;
  }

    .mm_close {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (max-width: 599px) {

    #horizontal-multilevel-menu {padding: 2px;}
    #horizontal-multilevel-menu li ul {gap: 4px;}

  #horizontal-multilevel-menu li a.root-item, #horizontal-multilevel-menu li a.root-item-selected {
    height: 36px;
    line-height: 36px;
    font-size: 14px;
  }

  #horizontal-multilevel-menu li li > a, #horizontal-multilevel-menu li li > a {font-size: 12px;}
  #horizontal-multilevel-menu li li {
    margin-bottom: 5px;
    padding: 0 7px;
    height: 20px;
    line-height: 20px;
  }
}
/*----------------*/



/*МЕНЮ САЙТА*/
@media (max-width: 1023px) {

  #topmenu {
    display: none;
    /*display: block;*/
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 100;
    overflow-y: scroll !important;
    height: 100svh;
    background-color: #fff;
    padding-bottom: 40px;
  }
  .topmenu_list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #8D744B;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 20px;
    margin-top: 80px;
  }
  .topmenuitem {
    margin-bottom: 10px;
    display: block;
    padding: 0;
}
  .topmenuitem>a {
    color: #8D744B;
    font-size: 14px;
    font-weight: 400;
  }
  .topmenuitem:hover, .topmenuitem.item-selected {
    background: none;
  }
  .topmenuitem.item-selected>a {font-weight: 700;}

  #closesitemenu {
    right: 40px;
    }   

.menu_contacts {
    margin-top: 40px;
    font-size: 18px;
}
.menu_contacts>div {margin-bottom: 20px;}
.mc_phone {display: inline-block; font-weight: bold; margin-right: 20px;}
.mc_shedule {padding-left: 25px; color: #b1b1b1;}
.mc_wrapper {
    display: flex;
    justify-content: space-between;
}
.mc_catalog {
    display: inline-block;
    padding: 5px 20px;
    background-color: #c79138;
    color: #fff;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 5px;
}
.mc_catalog:hover {
    color: #ffe2de;
}
.mc_links {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 20px;
    opacity: 0.6;
}
}
/*----------------*/



/*ПОИСК*/
@media (max-width: 1023px) {
    #title-search{
        display: none;
        position: absolute;
        background: whitesmoke;
        left: 0;
        right: 0;
        top: 0;
        padding: 5px 0;
        box-shadow: #999999 0px 1px 6px 0px;
    }
    .bx-searchtitle .bx-input-group {
        justify-content: center;
    }
}
@media (max-width: 659px) {
    .bx-searchtitle .bx-input-group .bx-form-control {
        height: 28px;
        line-height: 28px;
        font-size: 14px;
        padding: 0 10px;
    }
    .bx-searchtitle .bx-input-group button {
        height: 28px;
        width: 28px;
    }
    .bx-searchtitle .bx-input-group .bx-form-control {width: 70%;}
}
/*----------------*/