:root {
    --nav-w: 390px;
    --header-h: 80px; 
    --main-p: 30px;
    --story-height: 700px;
    --cat-width: 45px;
    --news-h: 400px;
}
html, body { width: 100%; height: 100%; background: #f4f6f7;}
body { background-position: right top; background-repeat: no-repeat; background-image: url("../images/header.jpg"); background-size: 35%; }
main, footer { margin-left: var(--nav-w); padding-left: var(--main-p); padding-right: var(--main-p); }
.header-main { padding-left: var(--main-p); margin-left: var(--nav-w);  padding-right: var(--main-p); }
.header-main-row { height: var(--header-h); display: grid; place-items: center start; }
.nav-main { padding-top: 15px; background-position: center bottom; background-color: var(--mdb-primary); background-image: url("../images/navplane.webp"); background-size: 100%; background-repeat: no-repeat; position: fixed; width: var(--nav-w); height: 100%; top: 0; z-index: 100; display: grid; place-items: center; grid-template-rows: max-content; }
.nav-logo img { max-height: 62px; margin-top: -4px; margin-left: -10px; }
.nav-logo > strong { font-size: 2.35rem; color: #fff; font-weight: 900; text-transform: uppercase; }
.nav-logo > small { position: absolute; font-weight: 800; color: #fff; left: 108px; top: 60px; }
footer { text-align: center; font-size: .875rem; }
a:hover { text-decoration: underline; }
.bg-scale { background-size: 12%; }
.body-aside { padding-right: 220px; background-position: right 215px top 0px; }
.uf-header { background: var(--mdb-primary) !important; }
.uf-wrapper { border-radius: 5px; overflow: hidden; }
#news-block > div { background-size: cover !important; background-position: center bottom !important; }
.fh { height: 100%; }
#carouselExampleIndicators img { object-fit: cover; }
#news-block-2 { display: none; }

/* UTILS */
.for-robots { position: absolute; visibility: hidden; z-index: -10; }
.shadow-p { box-shadow: 0px 0px 10px rgb(0 0 0 / 32%); -webkit-box-shadow: 0px 0px 10px rgb(0 0 0 / 32%); }
.flex-row { display: inline-flex; }
form.flex-row a { padding-top: 5px; padding-left: 20px; }
form.flex-row > div { width: 100%; max-width: 350px; }
.breadcrumb { margin: 0; display: flex; align-items: center; }
.breadcrumb i { margin-top: -4px; margin-right: 10px; font-size: 1.25rem; color: var(--mdb-primary) !important; display: inline-grid; place-items: center; border: 1px solid var(--mdb-primary); border-radius: 50%; width: 44px; height: 44px; }
.btn { text-shadow: unset; }
.breadcrumb h1 { font-size: 1rem; margin: 0; padding: 0; font-weight: 600; }
#searchsuggestions .seperator { display: none !important; }
.feedback { margin: 0; padding: 0;  max-width: 600px; }
.tg-logo { display: flex; }
.tg-logo i { font-size: 2rem; color: var(--mdb-primary); margin-right: var(--mdb-alert-padding-x); }
.tg-logo p { text-indent: justify; margin: 0; }
.tg-logo div { display: grid; place-items: center; }
.tgscreen img { width: 85%; }
.tgscreen { display: grid; place-items: end start; height: 100%; }
.tgnav { margin-left: 20px; width: 80%; }

/* SEARCH */
.search-name { justify-content: space-between; width: 100%; align-items: baseline; }
.search-number { font-size: .75rem; color: rgba(0,0,0,0.5); }
.search-plane { font-size: .75rem; color: rgba(0,0,0,0.5); margin-top: 3px; }

/* NAV */
nav { transition: .3s; }
.nav-main-divider { text-transform: uppercase; color: #fff; font-weight: 400; font-family: "Montserrat", sans-serif; font-size: .85rem; margin-left: 20px; margin-bottom: 10px; }
.nav-body { width: 100%; margin-bottom: 200px; }
ul { list-style: none; padding-left: 20px; margin-bottom: 30px;}
.nav-list a { color: #fff; text-transform: uppercase; font-weight: 600; text-decoration: none; display: flex; align-items: center; font-size: 1rem; border-left: 2px solid #f4f6f7; padding: 5px 0px 5px 15px; }
.nav-list a > i { align-content: center; font-size: 1.4rem; width: 30px; margin-right: 10px; }
.nav-list a:hover, .active-link { color: var(--mdb-secondary) !important; border-color: var(--mdb-secondary) !important; }
.nav-list ol { list-style: none; }
.nav-list ol > li { position: relative; }
.nav-list ol > li > a { font-size: .85rem; height: 26px; text-transform: none; border-left: 0; padding: 0;}
.nav-list ol > li > a > span {  display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; margin-right: 7px; }
.nav-list ol > li > a:before { content: ''; display: block; position: absolute; width: 2px; background: #fff; height: 10px; bottom: -5px; left: 4px; }
.nav-list ol > li:last-child > a:before { display: none; }
.nav-list ol > li > a:hover span, .active-link > span { border-color: var(--mdb-secondary) !important; }
.nav-mobile { display: none; }
.nav-layer, .aside-layer { position: fixed; width: 100%; height: 100%; left: 0; top: 0; background: rgba(0,0,0,.7); display: none; z-index: 90; }
.nav-close { display: none; }
.white { color: #fff; }
.white img { width: 70px; margin-top: 15px;}
.main-sections { font-family: "Montserrat", sans-serif; padding-bottom: 5px; margin-bottom: var(--mdb-gutter-x); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--mdb-primary); border-bottom: 1px dashed var(--mdb-primary); }
.main-sections i { font-size: 1.1rem; }
.header-news-grid { display: flex; column-gap: calc(var(--mdb-gutter-x) * 1); flex-direction: row-reverse; } 
.header-news-grid > .tgscreen img { height: var(--news-h); width: auto; }
.header-content-block { height: var(--news-h); position: relative; padding: 10px 10px 10px 10px; background: #fff; overflow: hidden; border: 1px solid #aaa; width: 100%; }
.news-short-story { margin-bottom: var(--mdb-gutter-x); }
.news-short-story img { height: calc(var(--news-h) / 2 - var(--mdb-gutter-x) / 2); aspect-ratio: 1.25 / 1; object-fit: cover; float: left; margin-right: var(--mdb-gutter-x); object-position: center; }
.short-news-body { height: 100%; display: grid; place-content: space-between; }
.short-news-body h3 { font-family: "Montserrat", sans-serif; font-size: 1.15rem; margin: 0; padding: 0; text-transform: uppercase; font-weight: 500; color: var(--mdb-primary); }
.short-news-body .short-meta { font-family: "Montserrat", sans-serif; font-size: .85rem; margin: 0; padding: 0; text-transform: uppercase; font-weight: 400; color: #777; }
.short-news-body p { line-height: 1.4; font-size: .875rem; margin-bottom: 0; }

/* NEWS */
.carousel-item h2 { text-transform: uppercase; font-size: 1.25rem; font-weight: 700; font-family: "Montserrat", sans-serif; font-optical-sizing: auto; font-style: normal; }
.news-meta { display: flex; justify-content: space-between; align-items: baseline; }
.short-meta-news { display: flex; }
.short-meta-news img { height: 29px; aspect-ratio: 1 / 1; border-radius: 50%; padding: 1px; border: 1px solid var(--mdb-primary); margin-right: 10px; }
.short-meta-news span { font-family: "Montserrat", sans-serif; font-weight: 400; line-height: 1; text-transform: uppercase; font-size: .75rem; display: block; margin-bottom: 0px; color: #777; }
.short-meta-news-type { display: flex; width: 100%; }
.short-meta-news-type div:last-child { font-size: .8rem; color: #888; padding-top: 4px; }

/* SHORTSTORY */
.content-block { height: var(--story-height); position: relative; padding: 10px 60px 10px 15px; background: #fff; overflow: hidden; border: 1px solid #aaa; }
.content-block-cat { position: absolute; right: 0; width: var(--cat-width); border-left: 1px dashed #aaa; background-color: #eee; height: 100%; margin-top: -10px; }
.content-block-title, .heading { padding-top: 10px; padding-bottom: 15px; }
.content-block-cat > h4 { transform: rotate(90deg); text-transform: uppercase; transform-origin: left bottom; width: var(--story-height); margin: 0px 0px 0px 10px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02; color: #444; }
.content-block-title > h2, .content-block-title > h1, .heading { text-transform: uppercase !important; font-size: 1rem !important; font-weight: 900 !important; letter-spacing: -0.01em !important; margin: 0 !important; }
.content-block-title > span { position: absolute; font-size: 90%; right: calc(var(--cat-width) + 15px); }
.content-block-title > h3 { font-size: 1rem; letter-spacing: -0.01em; margin: 0; font-weight: 700; }
.content-block-story > p { line-height: 1.4; font-size: .875rem; text-align: justify; }
.content-block-story > p > img { width: 100%; object-fit: cover; height: 320px; margin: 0 !important; }
.content-block-fullstory { position: absolute; display: block; bottom: 15px; right: calc(var(--cat-width) + 15px); }
.meta { list-style: none; padding: 0px; margin: 0; font-size: .85em;}
.meta > li { margin: 0 0 .1em 0; position: relative; }
.meta > li > i { position: absolute; font-size: 1.1rem; color: var(--mdb-primary); top: 2px; }
.meta > li > div { padding-left: 30px; }

/* PAGES */
.content-wrp, .box_in > h2.title { background: #fff; position: relative; border: 1px solid #aaa; overflow: hidden; }
.content-wrp > .pages { font-size: 1.15rem; font-weight: 900; margin: 5px 30px; }
.pages { text-align: center; }
.pages > span, .pages a:hover { color: var(--mdb-secondary); }
.page-arrow-right, .page-arrow-left { position: absolute; width: var(--cat-width); background-color: #eee; height: 100%; display: flex; place-items: center; font-size: 1.5rem; }
.page-arrow-right > a, .page-arrow-left > a,
.page-arrow-right > span, .page-arrow-left > span { display: block; width: 100%; text-align: center; }
.page-arrow-left { left: 0; border-right: 1px dashed #aaa; }
.page-arrow-right { right: 0; border-left: 1px dashed #aaa; }

/* FULLSTORY */
.fullstory-body { padding-left: calc(var(--mdb-gutter-x) * 1.5); padding-top: calc(var(--mdb-gutter-x) * 1); }
.fullstory-body { padding-bottom: calc(var(--mdb-gutter-x) * 1); }
.fullstory-body-news { padding-left: calc(var(--mdb-gutter-x) * 1.5); padding-bottom: calc(var(--mdb-gutter-x) * 0.5); padding-top: calc(var(--mdb-gutter-x) * 0.5); padding-right: calc(var(--mdb-gutter-x) * 1.5); }
.fullstory-body-news p { text-indent: 20px; text-align: justify; }
.fullstory-body-news h1, .fullstory-body h1 { color: var(--mdb-primary); }
.start-text { margin-top: calc(var(--mdb-gutter-x) * 2); display: block; }
.full-date { text-align: right; }
.fullstory-body .content-block-title > span { font-size: 1rem; right: 0; bottom: 1px; }
.fullstory-meta { border-left: 1px dashed #aaa; border-right: 1px dashed #aaa; background-color: #eee; padding: calc(var(--mdb-gutter-x) * 1); margin: 0; height: 100%; }
    .fullstory-meta { list-style: none; font-size: 90%; }
    .fullstory-meta > li { margin-bottom: 3px; }
    .fullstory-meta > li > i { color: var(--mdb-primary); position: absolute; font-size: 1.05rem; margin-top: 4px; }
    .fullstory-meta > li > div { padding-left: 30px;}
    .fullstory-body { position: relative;}
	.fullstory-body > .text > p { text-align: justify; text-indent: 25px; }
	.fullstory-body > .text > p > img { width: 100%; }
    .fullstory-body > * { padding-left: var(--bs-gutter-x); }
    .fullstory-body > .content-block-title { padding: 0; font-size: 1.25rem; position: relative; }
.fullstory-next-prev { display: flex; justify-content: space-between; }
.text > div > iframe { width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; margin-top: 25px; margin-bottom: 10px; }
.fullstory-season { columns: 2; column-gap: 20px; padding-left: 30px; margin-top: 8px; }
.series { margin-bottom: 5px; }
.series i { margin-right: 10px; }
.news-padding { padding-bottom: 10px; }
.series a { padding: 3px 8px; border-width: 1px; }

/* ASIDE */
aside { position: fixed; right: 0; top: 0; height: 100%; width: 220px; transition: .3s; }
aside .card { display: grid; place-items: center; height: 100%; border-top-right-radius: 0; border-bottom-right-radius: 0; border-left: 1px solid #aaa; padding-right: 5px; }
.aside-link { transition: .2s; width: 100%; padding-right: 26px; margin-right: 20px; font-size: .7rem; text-transform: uppercase; text-decoration: none; height: 26px; position: relative; border: 1px solid var(--mdb-primary); display: block; display: grid; place-items: center; border-radius: 15px; }
.aside-link:hover { text-decoration: none; }
.aside-link span { transition: .2s; color: #fff; position: absolute; right: 0; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 15px; background: var(--mdb-primary); }
.side-list { height: auto; padding-right: 10px; }
aside li { margin: 7px 0; }
.aside-active, .aside-link:hover { background: var(--mdb-primary) !important; border-color: var(--mdb-primary); color: #fff; }
.aside-active span, .aside-link:hover span { background: #fff; border: 1px solid var(--mdb-primary); color: var(--mdb-primary); }
.open-arrow { display: none; place-items: center; height: 100%; background: var(--mdb-primary); width: 20px; position: absolute; left: -1px; border-top-left-radius: var(--mdb-card-inner-border-radius); border-bottom-left-radius: var(--mdb-card-inner-border-radius); }
.open-arrow i { color: #fff; font-size: .75rem; transition: .3s;}

/* PLANES */
.nav-plane-list { columns: 2; }
.nav-plane-list > li { page-break-inside: avoid; margin-bottom: 15px; max-width: 500px; }
.nav-plane-list > li > a { font-size: 1.15rem; font-weight: 600; }
.plane > a { margin-bottom: 5px; }
.nav-company-list { columns: 4; }    

/* AUTH */
.soc-auth i { font-size: 1.15rem; }
.soc_links > a { display: inline-grid; width: 38px; height: 38px; line-height: 38px; border-radius: 50%; background-color: #293239; text-align: center; margin-left: 3px; opacity: .6; -webkit-transition: all ease .1s; transition: all ease .1s; color: #fff; place-items: center; }
.soc_links > a:hover { opacity: 1; text-decoration: none; }
.soc_links > a > .icon { fill: #fff; vertical-align: middle; margin: -3px 0 0 0; }
.soc_vk:hover { background-color: #5486ca; }
.soc_tw:hover { background-color: #60bbf5; }
.soc_fb:hover { background-color: #4268ca; }
.soc_gp:hover { background-color: #de553a; }
.soc_ya:hover { background-color: #ff0000; }
.soc_od:hover { background-color: #ff7800; }
.soc_mail:hover { background-color: #006cff; }
.soc-auth { margin-top: 4px; padding-left: 15px; }
.auth-wrp { margin-left: calc(20px + 1rem); display: flex; }
.ava { margin-right: 15px; width: 50px; padding: 2px; border: 2px solid var(--mdb-secondary); border-radius: 50%; aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; }
.ava img { width: 32px; }
.user-info { color: #fff; }
.user-links { margin-top: 16px; padding-left: 14px; list-style:none; margin-left: 2rem; }
.user-links span { display: inline-grid; border: 1px solid #fff; border-radius: 4px; width: 30px; height: 30px; place-items: center; color: #fff; margin-right: 15px; }
.user-links li { display: flex; margin-bottom: 5px; }
.user-links a { color: #fff; font-weight: 500; }
.user-links i { font-size: .875rem; }
.user-links a:hover, .user-links .active { text-decoration: none; color: var(--mdb-secondary); }
.user-links a:hover span, .user-links .active span { color: var(--mdb-secondary); border-color: color: var(--mdb-secondary); } 
    
.alert-primary { border: 1px solid var(--mdb-primary); }
.alert-danger { border: 1px solid var(--mdb-danger); }

/* YANDEX */
.y-wrp-1 { padding: calc(var(--mdb-gutter-x)* 1); padding-left: 0; text-align: center; }
.y-ads-wrp-main { width: 100%; padding: 15px; background: #fff; overflow: hidden; border: 1px solid #aaa; text-align: center; }
.ya-block-mobile { display: none; }

.copyright img { margin-top: -4px; }
.copyright i { color: var(--mdb-primary); font-size: .7rem; }
    
    
