h1 {
    text-align: center;
    text-shadow: 1px 1px 2px #68ca56;
}
.catalog-title {
    display: block;
    height: 100px;
    margin: 0 -12px;
    padding-top: 24px;
    background: #502906;
    background-image: url(/img/c/opex.jpg);
    background-repeat: repeat-x;
    background-size: 100% 100%;
    color: burlywood;
    text-shadow: 1px 1px 2px #000000;
    border: double 3px #c3c3c3;
}
.pagination {
    margin-top: 60px;
}
.badge:hover {
    color:#ffe715;
}
.company__body {
    padding-top: 20px;
    align-items: flex-start;
    border-top: solid 1px #ccc;
}
.company__slogan {
    color: #008b8b;
    font-style: italic;
    font-family: Georgia;
    font-size: 19px;
    text-align: center;
    text-shadow: 1px 1px 3px #ffe715;
}
.company__categories,
.company__gallery,
.company__video {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: solid 1px #ccc;
}
img.logo {
    display: block;
    margin: 0 auto 30px;
    box-shadow: 0 0 3px 0 #444;
    border: 3px double #a19fa1;
    visibility: hidden;
}

.categ-title-block {
    display: flex;
    gap: 15px;
    /* width: 100%; */
    justify-content: space-between;
    margin: -15px -17px 0 -50px;
    padding: 20px;
    background: #664312;
    border: double 5px #ccc;
}
.categ-txt-block {
    background-color: #d4e9d3;
    width: inherit;
    padding: 5px 8px;
    border-radius: 5px;
}

/* Карточка компании */
.company_card {
    position: relative;
    /* display: flex; */
    margin-bottom: 30px;
    padding: 30px 15px;
    flex-wrap: wrap;
    background: #dcdcdc;
    border: solid 1px #ccc;
    border-radius: 3px;
    border-left: solid 8px #9b7d55;
    border-right: solid 8px #9b7d55;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.dub-bottom {
    margin: 46px 0 40px;
    position: relative;
    padding-bottom: 20px;
}
.dub-bottom:after,
.company_card:after {
    display: block;
    width: calc(100% + 30px);
    content: '';
    height: 50px;
    background: #c3a67e;
    position: absolute;
    bottom: -40px;
    left: -15px;
    z-index: 2;
    background-repeat: repeat-x;
    background-size: 30% 100%;
    background-image: url(/img/c/dub.jpg);
    box-shadow: 1px 1px 5px #3a3a3a;
}
.dub-bottom:after {
    left: -6px;
    width: calc(100% + 14px);
}
.company_card__logo {
    visibility: hidden;
}
.company_card__logo img {
    display: block;
    background: #fff;
    box-shadow: 0 0 3px 0 #444;
    border: 3px double #a19fa1;
}
.company_card__body {
    
}
.company_card__name {
    font-family: Georgia;
    font-style: italic;
    font-size: 19px;
}
.company_card__website {
    margin-bottom: 20px;
}
a[class^="company__btn_"] {
    display: block;
    width: 180px;
    height: 40px;
    margin: 10px auto;
    text-align: center;
    color: #fff;
    line-height: 34px;
    font-size: 21px;
    border-radius: 18px;
}
.company__btn_website {
    background: #7289da;
    border: solid 1px #7289da;
}
.company__btn_website:hover {
    color: #fff;
    border: solid 1px #000;
}
.company__phone {
    text-align: center;
    margin: 20px 0;
}
.company__btn_email {
    background: #5bc7ff;
    border: solid 1px #5bc7ff;
}
.company__btn_email:hover {
    color: #fff;
    border: solid 1px #000;
}
.company__btn_whatsapp {
    background: #50b154;
    border: solid 1px #50b154;
}
.company__btn_whatsapp:hover {
    color: #fff;
    border: solid 1px #000;
}
.company__btn_viber {
    background: #7b519d;
    border: solid 1px #7b519d;
}
.company__btn_viber:hover {
    color: #fff;
    border: solid 1px #000;
}
.company__btn_youtube {
    background: #c4302b;
    border: solid 1px #c4302b;
}
.company__btn_youtube:hover {
    color: #fff;
    border: solid 1px #000;
}
a[class^="company__btn_"] svg {
    height: 25px;
}

/* Страница компании */
.addressbox {
    position: relative;
    width: 100%;
    margin: 0 0 30px 0;
    background: #e9ecef;
    font-size: 15px;
    line-height: 24px;
    border: 1px solid #aaa;
    border-radius: 3px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}
.addressbox i {
    position: absolute;
    top: 0;
    right: 0;
}
.addressbox__body {
    padding: 15px;
    text-decoration: underline;
}

.infobox {
    width: 100%;
    margin: 0 0 30px 0;
    padding: 15px;
    background: #e9ecef;
    font-size: 13px;
    line-height: 24px;
    border: 1px solid #aaa;
    border-radius: 5px;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.15);
}



.company__map {
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
}
#map {
    width: 100%;
    height: 450px;
    margin-bottom: 5px;
    border: solid 1px #aaa;
}


/* График работы */
.opening-hours {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.opening-hours .day {
    font-weight: bold;
}
.opening-hours.current_day {
    background: bisque;
    margin: 0 -15px;
    padding: 5px 15px;
}
/* Ленточка на графике работы Открыто/Закрыто */
.ribbon-open,
.ribbon-close,
.ribbon-output {
    position: absolute;
    left: -5px;
    top: -5px;
    z-index: 1;
    overflow: hidden;
    text-align: right;
}
.ribbon-open,
.ribbon-close,
.ribbon-output {
    width: 80px;
    height: 80px;
}
.ribbon-open span,
.ribbon-close span,
.ribbon-output span {
    display: block;
    width: 100px;
    font-size: 10px;
    font-weight: bold;
    color: #FFF;
    text-transform: uppercase;
    text-align: center;
    line-height: 20px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 19px;
    left: -21px;
}
.ribbon-open span {
    background: #79A70A;
    background: linear-gradient(#9BC90D 0%, #79A70A 100%);
}
.ribbon-close span {
    background: #8F0808;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
}
.ribbon-output span {
    background: #8F0808;
    background: linear-gradient(#F70505 0%, #8F0808 100%);
}
.ribbon-open span::before,
.ribbon-close span::before,
.ribbon-output span::before {
    content: "";
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
}
.ribbon-open span::before {
    border-left: 3px solid #79A70A;
    border-top: 3px solid #79A70A;
}
.ribbon-close span::before {
    border-left: 3px solid #8F0808;
    border-top: 3px solid #8F0808;
}
.ribbon-output span::before {
    border-left: 3px solid #8F0808;
    border-top: 3px solid #8F0808;
}
.ribbon-open span::after,
.ribbon-close span::after,
.ribbon-output span::after {
    content: "";
    position: absolute;
    right: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
}
.ribbon-open span::after {
    border-right: 3px solid #79A70A;
    border-top: 3px solid #79A70A;
}
.ribbon-close span::after {
    border-right: 3px solid #8F0808;
    border-top: 3px solid #8F0808;
}
.ribbon-output span::after {
    border-right: 3px solid #8F0808;
    border-top: 3px solid #8F0808;
}


/* Галерея */
.fancybox-slide--current {
    cursor: zoom-out;
}
.company__gallery a:hover {
    text-decoration: none;
}
.gallery__thumbnail {
    display: inline-block;
    position: relative;
    margin-right: 15px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px 1px #8b8b8b;
    visibility: hidden;
}
.company__gallery a:hover .img-loupe {
    position: absolute;
    left: 5px;
    top: 5px;
    right: 5px;
    bottom: 5px;
    background-color: rgba(0, 0, 0, 0.45);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 183.792 183.792' fill='%23cecece'%3E%3Cpath d='M162.837,171.292l-30.359-52.583c10.255-8.774,17.638-20.411,21.206-33.73c4.666-17.415,2.271-35.605-6.744-51.22 C134.918,12.936,112.499,0,88.433,0C76.645,0,64.992,3.13,54.734,9.053c-15.614,9.015-26.784,23.571-31.45,40.986 c-4.667,17.415-2.272,35.606,6.743,51.22c12.022,20.823,34.441,33.759,58.508,33.759c7.598,0,15.138-1.308,22.286-3.818 l30.364,52.592L162.837,171.292z M129.536,78.509c-2.938,10.965-9.97,20.13-19.802,25.806c-6.462,3.731-13.793,5.703-21.199,5.703 c-15.164,0-29.287-8.146-36.858-21.259c-5.676-9.831-7.184-21.284-4.246-32.25c2.938-10.965,9.971-20.13,19.802-25.807 C73.697,26.972,81.027,25,88.433,25c15.163,0,29.286,8.146,36.857,21.259C130.966,56.09,132.474,67.544,129.536,78.509z M98.484,57.509h15v20h-15v15h-20v-15h-15v-20h15v-15h20V57.509z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50px;
}



/* Видео */
.company__video a{margin-right:15px}
.company__video a:last-child{margin-right:0}
.company__video a:hover{text-decoration:none}
.video {
    display: inline-block;
    visibility: hidden;
    width: 260px;
    height: 148px;
    position: relative;
	background-color: #000;
    border: solid 1px #888;
}
.video__button {
	position: absolute;
	top: 50%;
	left: 50%;
	padding: 0;
	width: 68px;
	height: 48px;
	border: none;
	background-color: transparent;
	transform: translate(-50%, -50%);
}
.video__button-shape{fill:#212121;fill-opacity:0.8}
.video__button-icon{fill:#fff}
.video__button:focus{outline:none}
.video:hover .video__button-shape,.video__button:focus .video__button-shape{fill:#ff0000;fill-opacity:1}
.video--enabled{cursor:pointer}
.video--enabled .video__button{display:block}
img.video__poster {
    width: 260px;
    height: 146.25px;
    border: 2px solid #fff;
    box-shadow: 1px 1px 3px 2px rgb(139, 139, 139);
}

/* Отзывы */
.review blockquote {
    padding: 10px;
    background: #f5f5dc;
    border-left: solid 3px #ff8c00;
}
.rating {
    margin: 0 0 1em 0;
    padding: 0;
    border: none;
}
.rating__caption {
    margin-bottom: 0.5em;
    padding: 0;
}
.rating__group {
    position: relative;
    width: 10em;
    height: 2em;
    background-image: url(/img/s/off.svg);
    background-size: 2em auto;
    background-repeat: repeat-x;
}
.rating__group:focus-within{outline:solid 0.2em #4a90e2}
.rating__star {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    width: 2em;
    height: 2em;
    background-size: 2em auto;
    background-repeat: repeat-x;
    font-size: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.rating__star:focus{outline:none}
.rating__star:hover,.rating__star:checked{background-image:url(/img/s/on.svg)}
.rating__star:hover ~ .rating__star{background-image:url(/img/s/off.svg)}
.rating__star:nth-of-type(1){z-index:5;width:2em}
.rating__star:nth-of-type(2){z-index:4;width:4em}
.rating__star:nth-of-type(3){z-index:3;width:6em}
.rating__star:nth-of-type(4){z-index:2;width:8em}
.rating__star:nth-of-type(5){z-index:1;width:10em}



@media screen and (max-width: 575px) {
    .company__map {
        width: 100%;
        height: 150px;
    }
}
@media screen and (min-width: 576px) {

}
@media screen and (min-width: 768px) {
    .company_card {
        align-items: center;
    }
}
@media screen and (min-width: 992px) {
    .company_card {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
    }
}
@media screen and (min-width: 1200px) {
}

@media (max-width: 575.98px) {}
@media (max-width: 767.98px) {
    .company_card__logo {
        width: 100%;
        margin-bottom: 20px;
    }
    .company_card__logo img {
        margin: auto;
    }
    .company_card__name {
        text-align: center;
    }
}
@media (max-width: 991.98px) {}
@media (max-width: 1199.98px) {}




i[class^="flag-"] {
    width: 23px;
    height: 18px;
    vertical-align: text-bottom;
    border: solid 1px #ccc;
}
[class^="flag-"],
[class*=" flag-"] {
    display: inline-block;
    position: relative;
    width: 1.33333333em;
    line-height: 1em;
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}
.flag-by,.flag-BY{background-image:url('/img/i/flags/by.svg')}
.flag-de,.flag-DE{background-image:url('/img/i/flags/de.svg')}
.flag-dk,.flag-DK{background-image:url('/img/i/flags/dk.svg')}
.flag-fi,.flag-FI{background-image:url('/img/i/flags/fi.svg')}
.flag-fr,.flag-FR{background-image:url('/img/i/flags/fr.svg')}
.flag-kz,.flag-KZ{background-image:url('/img/i/flags/kz.svg')}
.flag-ru,.flag-RU{background-image:url('/img/i/flags/ru.svg')}
.flag-ua,.flag-UA{background-image:url('/img/i/flags/ua.svg')}
.flag-uz,.flag-UZ{background-image:url('/img/i/flags/uz.svg')}




/* Каталог */
.catalog {
    display: flex;
    flex-wrap: wrap;
}
.category-items {
    display: flex;
    flex-direction: column;
    flex-basis: 200px;
    margin: 15px;
    padding: 13px;
    background-color: #f5f5f5;
    max-width: inherit;
    border: solid 1px #727272;
    border-radius: 5px;
    box-shadow: 0 1px 4px #000;
}
.catalog .catimg {
    width: 196px;
    height: 130px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    border: solid 1px #888;
}
.catimg.cat-1 {background-image: url('/img/c/categories/1.jpg')}
.catimg.cat-2 {background-image: url('/img/c/categories/2.jpg')}
.catimg.cat-3 {background-image: url('/img/c/categories/3.jpg')}
.catimg.cat-4 {background-image: url('/img/c/categories/4.jpg')}
.catimg.cat-5 {background-image: url('/img/c/categories/5.jpg')}
.catimg.cat-6 {background-image: url('/img/c/categories/6.jpg')}
.catimg.cat-7 {background-image: url('/img/c/categories/7.jpg')}
.catimg.cat-8 {background-image: url('/img/c/categories/8.jpg')}
.catimg.cat-9 {background-image: url('/img/c/categories/9.jpg')}
.catimg.cat-10 {background-image: url('/img/c/categories/10.jpg')}
.catimg.cat-11 {background-image: url('/img/c/categories/11.jpg')}
.catimg.cat-12 {background-image: url('/img/c/categories/12.jpg')}
.catimg.cat-13 {background-image: url('/img/c/categories/13.jpg')}
.catimg.cat-14 {background-image: url('/img/c/categories/14.jpg')}
.catimg.cat-15 {background-image: url('/img/c/categories/15.jpg')}
.catimg.cat-16 {background-image: url('/img/c/categories/16.jpg')}
.catimg.cat-17 {background-image: url('/img/c/categories/17.jpg')}
.catimg.cat-18 {background-image: url('/img/c/categories/18.jpg')}
.catimg.cat-19 {background-image: url('/img/c/categories/19.jpg')}
.catimg.cat-20 {background-image: url('/img/c/categories/20.jpg')}
.catimg.cat-21 {background-image: url('/img/c/categories/21.jpg')}

.category-name {
    padding-top: 10px;
}
.category-name a {
    font-weight: bold;
    color: brown;
    font-size: 1.2rem;
}
.category-name a:hover {
    color: #971e1e;
}
@media screen and (min-width: 768px) {
    .category-items:hover {
        transform: scale(1.05);
    }
}

.categ-logo {
    padding: 2px;
    background-color: #fff;
    border: 1px solid #AAA;
    border-radius: 5px;
}
/* End Каталог */



/* Меню категории */
.catalog-category-list {
    margin-top: 20px;
    border: solid 1px #ccc;
}
.catalog-category-list h5 {
    margin: 0;
    padding: 6px 12px;
    font-family: Georgia;
    /* text-align: center; */
    background: #234242;
    color: #eee;
}
.catalog-category-list ul {
    margin-bottom: 0;
    padding: 0;
    list-style: none;
    border-top: solid 1px #848484;
}
.catalog-category-list li {
    border-bottom: solid 1px #055a5a;
}
.catalog-category-list a {
    display: block;
    padding: 5px 15px;
    background: #2f4f4f;
    color: #eee;
    text-decoration: none;
}
.catalog-category-list a:hover {
    background: #6495ed;
    text-decoration: none;
}
.catalog-category-list li.active {
    padding: 5px 15px;
    background: #427979;
    color: #ffff2f;
}
/* End */