body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}
*, ::after, ::before {
    box-sizing: border-box;
}

html, body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: hidden;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

body {    
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
}

a {
    color: #292929;
    text-decoration: none;
}

.f_jost {
    font-family: "Jost", sans-serif;
}

.e_flex {
    display: flex;
    align-items: center;
}

.manufacturers-list {
    display: flex;
    flex-wrap: wrap;
    max-width: 1024px;
    margin: 0 auto;
    padding-left: 15px;
}

.manufacturer {
    width: 120px;
    text-align: center;
    border: 1px solid #dbdbdb;
    margin: 3px;
}

.manufacturer .man_name {
    font-size: 13px;
    text-transform: uppercase;
}

.module_top {
    display: flex;
    margin: 0 auto;
    max-width: 1024px;
    padding: 5px 15px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    color: #4a4b49;
}

.module_top svg {
    width: 30px;
    height: 30px;
    fill: #144667;
}

.block_service {
    margin-left: auto;
}

.os_menu {
    display: flex;
    text-align: center;
    flex-wrap: nowrap;
    gap: 8px;
    /*position: relative; */
    width: fit-content;
    margin: 0 auto;
}

.os_menu svg {
    width: 50px;
    height: 50px;
}

.element_menu {
    display: inline-block;
    /*position: relative;*/
  }

.element_menu a {
    padding: 5px 10px;
    display: block;
    width: 100px;
    font-size: 11px;
    text-align: center;
    text-transform: uppercase;
    color: #242424;
    transition: background 0.3s ease;
}

/* ОБЩИЕ стили подменю */
.sub_element_menu {
    position: absolute;
    top: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 9999;
/*    padding: 10px;
    gap: 10px;
    display: flex;
    flex-direction: row;*/
  }
  
  /* В десктопе – центрируем */
  @media (min-width: 769px) {
    .sub_element_menu {
        right: 0;
    }

    .os_menu {
        position: relative;
    }
  
    .element_menu:hover > .sub_element_menu {
      opacity: 1;
      max-height: 200px;
      pointer-events: all;
    }
  }
  
  /* В мобилке – выравнивание по правому краю */
  @media (max-width: 768px) {
    .sub_element_menu {
        position: fixed!important;
        right: 0!important;
        top: 126px!important;
        z-index: 9999!important;
    }
  
    .element_menu.open > .sub_element_menu {
      opacity: 1;
      max-height: 200px;
      pointer-events: all;
    }
    .block_admin_menu {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /*position: relative;
    overflow-y: hidden;*/
    }
}

.sub_element_menu a {
    padding: 7px 19px;
    width: auto;
}

.sub_element_menu a:hover {
    background-color: #e6771c;
    color: #FFF;
}

.block_admin_menu {
    margin-top: 8px;
    margin-bottom: 20px;
    background-color: #eeeeee;
    border-bottom: 4px solid #b1d19e;
}

.block_top_all {
    background: linear-gradient(86.42deg, #ffffff 0%, #e7e7e7 100%);
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}

.b_username {
    margin-left: 10px;
}

.block_user {
    width: 33%;
}

.block_logo > a {
    display: block;
    margin: 0 auto;
}

.block_logo svg {
    width: 100px;
}

.block_logo {
    width: 33%;
}

a.b_work:hover {color: #25731c;}
.b_work svg {fill: #25731c;}
a.b_calendar:hover {color: #1c5a73;}
.b_calendar svg {fill: #1c5a73;}
a.b_shop:hover {color: #a02436;}
.b_shop svg {fill: #a02436;}
a.b_sklad:hover {color: #038cc3;}
.b_sklad svg {fill: #038cc3;}
a.b_user:hover {color: #473292;}
.b_user svg {fill: #473292;}
a.b_setting:hover {color: #ee7306;}
.b_setting svg {fill: #ee7306;}

.block_content {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;
}

.opis_h1 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 300;
    color: #3a4566;
    border-bottom: 1px solid #579396;
}

.opis_text {
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    background-color: #ffffff;
    margin-top: 10px;
    padding: 3px 15px;
    font-size: 14px;
    color: #666666;
}

.stat_time {
    padding: 20px;
    margin-top: 100px;
}

.form-input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin-top: 6px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.btn-save {
    background-color: #08bf32;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-cancel {
    background-color: #dc3545;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-edit {
    background-color: #b4b4b4;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-del {
    background-color: #8c0303;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
}

.autoservice-block {
    -webkit-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.2);
}
