@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/OpenSans-Bold.woff2') format('woff2'), url('../fonts/OpenSans-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSans-Regular';
    src: url('../fonts/OpenSans-Regular.woff2') format('woff2'), url('../fonts/OpenSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* button */
li.first.level1.odd a {color: #d30000; text-decoration: none;}
li.first.level2.odd a {color: #a66b1c; text-decoration: none;}
li.level2.even a {color: #43435e !important; text-decoration: none;}
li.level2.odd a {color: #43435e !important; text-decoration: none;}

li.level1.even a {color: #d30000; text-decoration: none; font-size: 15px;}
li.level1.odd a {color: #d30000; text-decoration: none; font-size: 15px;}

figure {
    margin: 0;
}

li {
    list-style: none;
}

a {
    cursor: pointer;
    text-decoration: none;
	color: #d30000;
}

ul {
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

* {
    box-sizing: border-box;
    outline: none;
}

body {
    margin: 0;
    font-family: 'OpenSans-Regular';
    min-width: 1140px;
}

.b-container {
    margin: 0 auto;
    padding: 0 14px;
    max-width: 1400px;
}

/* nav */

nav, .navbar-toggle {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

nav {
    position: absolute;
    left: 0px;
    top: 43px;
    z-index: 10;
    text-align: left;
}

nav a {
    color: #a66b1c;
}

.nav-hide-show {
    padding: 20px;
}

.nav-hide {
    display: none;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    font-size: 14px;
    color: #f3f3f3;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid;
    margin-bottom: 10px;
    display: block;
    max-width: 265px;
    padding-bottom: 14px;
}

nav ul li a:hover {
    color: #c1c1c1;
}

.navbar-toggle {
    width: 35px;
    z-index: 20;
    cursor: pointer;
    flex: 0 0 auto;
}

.bar1, .bar2, .bar3 {
    width: 100%;
    height: 3px;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
    background-color: #cccbc9;
}

.navbar-on .bar1, .navbar-on .bar2, .navbar-on .bar3 {
    background-color: #cccbc9;
}

.navbar-on .bar1 {
    transform-origin: 4px 2px;
    transform: rotate(45deg);
}

.navbar-on .bar3 {
    transform-origin: 8px 4px;
    transform: rotate(-45deg);
}

.navbar-on .bar2 {
    background-color: transparent;
}

.wrap-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.b-head, .nav-hide-show {
    background-color: #2a2a2a;
    font-size: 14px;
}

.b-head {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.header-list a {
    font-size: 14px;
    color: #ffffff;
    padding: 12px;
    margin-left: 30px;
    display: inline-block;
}

/* main cms */

.main {
    padding-top: 40px;
    display: block;
}

.main p,
.main ul,
.main ol {
    font-size: 14px;
}

.main ul {
    margin-top: 0px;
	margin-bottom: 8px;
}

.main ul li a {
    display: block;
    color: #2a2a2a;
    font-size: 14px;
    font-family: 'OpenSans';
    text-decoration: underline;
    margin-bottom: 0px;
}

.content-img {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -20px;
    width: 100%;
}

.content-img-wrapper {
    width: 33%;
    padding: 20px;
}

.content-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer a {
    flex: 1;
    text-align: center;
    font-family: 'OpenSans';
    color: #2a2a2a;
    font-size: 16px;
}

.footer__button {
    text-transform: uppercase;
    border: 1px solid #cac5c0;
    border-top: 0;
    padding: 14px 0;
    border-bottom: 0;
}

.footer .footer__wrap-link {
    flex: 1;
}

.wrap-footer {
    padding-top: 90px;
}

.footer__wrap-link ul {
    display: flex;
    justify-content: center;
}

.footer__wrap-link {
    padding: 0 60px;
}

.footer__wrap-link a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__button::before {
    position: relative;
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 3px solid #2a2a2a;
    border-top: 3px solid #2a2a2a;
    transform: rotate(-135deg);
    margin-right: 10px;
}

.footer__bottom {
    background-color: #2a2a2a;
    padding: 7px 0;
}

.footer-cms {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #cac5c0;
    z-index: 999;
}

.main-blocks__item {
    width: 50%;
    height: 310px;
    display: flex;
    font-size: 34px;
    align-items: center;
    justify-content: center;
}

.main-blocks__item p {
    font-size: 26px;
    max-width: 410px;
    text-align: center;
    position: relative;
    z-index: 1;
    color: #f3f3f3;
    text-transform: uppercase;
}

.main-blocks {
    display: flex;
    flex-wrap: wrap;
}

.main-blocks .main-blocks__item:nth-child(4n+1), .main-blocks .main-blocks__item:nth-child(4n) {
    background: #f3f3f3;
    color: #322b23;
}

.main-blocks .main-blocks__item:nth-child(4n+1) img, .main-blocks .main-blocks__item:nth-child(4n) img {
    display: none;
}

.main-blocks .main-blocks__item:nth-child(4n+1) p, .main-blocks .main-blocks__item:nth-child(4n) p {
    color: #322b23;
}

.main-blocks .main-blocks__item:nth-child(4n+1) p::before, .main-blocks .main-blocks__item:nth-child(4n) p::before {
    background: #605243;
}

/* todo:выбрать цвет */

/*.main-blocks__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.55);
    width: 100%;
    height: 100%;
    z-index: 1;
}*/

.main-blocks .main-blocks__item:nth-child(4n+1)::before, .main-blocks .main-blocks__item:nth-child(4n)::before {
    display: none;
}

.main-blocks {
    background-color: #605243;
    color: #cdac80;
}

.main-blocks__item p::before {
    content: '';
    width: 100px;
    height: 2px;
    background: #ffffff;
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translate(-50%, 0%);
}

.main-blocks__item {
    position: relative;
}

.main-blocks__item img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    font-family: 'object-fit: cover;';   
}

/* header-main */

.header-main {
    position: fixed;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    top: 0;
    padding: 10px 0;
}

.header-main .footer__wrap-link {
    width: 100%;
    display: flex;
}

.header-main .footer__wrap-link ul {
    width: 300px;
    margin-left: auto;
}

.header-main .footer__wrap-link a {
    padding: 20px;
}

.footer-main {
    position: fixed;
    bottom: 0;
    z-index: 999;
    background-color: #2a2a2a;
    width: 100%;
}

.footer-main ul {
    display: flex;
    justify-content: space-between;
}

.footer-main ul a {
	padding: 10px;
    color: #ffffff;
    font-size: 13px;
    display: block;
}

.content-main {
    display: flex;
    height: 100vh;
}

.content-main__left, .content-main__right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.content-main__left {
    background-color: #f3f3f3;
}

.content-main__right {
    background-color: #000000;
    background-image: url(../images/main-back.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.content-main__title {
    font-size: 40px;
    font-family: 'OpenSans';
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    max-width: 400px;
}

.content-main__text-description {
    font-size: 24px;
    text-transform: uppercase;
    font-family: 'OpenSans';
    max-width: 350px;
    text-align: center;
    margin-top: 35px;
}

.content-main__text {
    font-size: 24px;
    font-family: 'OpenSans';
    text-align: center;
    max-width: 380px;
    margin-top: 40px;
    margin-bottom: 60px;
    position: relative;
}

.content-main__text::before {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    position: absolute;
    top: -15px;
    background: #605243;
    left: 50%;
    transform: translate(-50%, 0%);
}

.content-main__right .content-main__text::before {
    background: #a4967d;
}

.content-main__link {
    color: #605243;
    text-transform: uppercase;
    font-size: 20px;
    position: relative;
}

.content-main__link::before {
    position: absolute;
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    border-right: 3px solid #cdac80;
    border-top: 3px solid #cdac80;
    transform: rotate(-225deg);
    margin-right: 10px;
    bottom: -25px;
    left: 35px;
}

.content-main__left .content-main__link::before {
    border-right: 3px solid #665747;
    border-top: 3px solid #665747;
}

.content-main__right p, .content-main__right .content-main__title {
    color: #ffffff;
}

.fly-img {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 76px;
    height: 28px;
}

.header-list {
    display: flex;
    margin-left: auto;
}

.header-list__wrap {
    width: 100%;
    display: flex;
}

.b-container p {
    margin-bottom: 10px;
}

.b-container ul li {
    padding-left: 4px;
}

.b-container table {}
.b-container table tr {}
.b-container table td {
    padding: 10px;
    border: 1px solid #cdac80;
}

.owngallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.owngallery a {
    display: block;
    margin: 0 3px;
}


.footer__inside {
	display: flex;
	justify-content: center;
	align-items: center;
}

.bottom-main-menu li {
	display: flex;
	align-items: center;
}

.tg_link {
    position: relative;
    top: 40px;
}