:root {
  --text-font-size: 17px;
  --text-gap: 24px;

  --color-link: #5757ea;
  --color-text: #222222;
  --color-text-alpha80: rgba(34, 34, 34, .8);
  --color-black: #191D23;
  --color-black-80: rgba(25, 29, 35, .8);
  --color-black-60: rgba(25, 29, 35, .6);
  --color-dark: #161A41;
  --color-white: #ffffff;
  --color-blue: #3D5AFE;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, th, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; 
  font-family: "-apple-system",BlinkMacSystemFont,"Segoe UI",Arial,sans-serif; 
  font-weight: 400;
}
html {overflow-x: hidden;-webkit-font-smoothing: antialiased; overflow-y: scroll; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block }
ol, ul { list-style: none }
blockquote, q { quotes: none }
blockquote:before, blockquote:after, q:before, q:after {content: '';content: none;}
table {border-collapse: collapse;border-spacing: 0;}
button, input, select, textarea { margin: 0 }
:focus { outline: 0 }
a:link { -webkit-tap-highlight-color: rgba(255, 94, 153, 0.14) }
img, video, object, embed {max-width: 100%;}
iframe {width:100%; height:380px;} @media screen and (max-width:505px) {iframe {height:270px;}}
blockquote {font-style: italic; padding: 50px 15px 15px; position: relative; border:none;}
blockquote:before {position: absolute; content: ',,'; font-size: 100px;color: rgba(255,255,255,0.99);width: 50px; top: -20px; right: 20px; text-align:right; font-family: Georgia, 'Times New Roman', Times, serif; font-weight:bold;  z-index:2; text-shadow:inset 0 0 2px rgba(0,0,0,0.5);}
blockquote p { position: relative;  z-index:3;}

strong, b { font-weight: bold }
em, i, cite {font-style: italic; font-family: "Arial", "Helvetica", sans-serif;}
small { font-size: 100% }
figure { margin: 10px 0 }
code, pre {font-family: "Arial", "Helvetica", sans-serif; font-weight: normal; font-style: normal;}
pre {margin: 5px 0 20px 0;line-height: 1.3em;padding: 8px 10px;overflow: auto;}
code {padding: 0 8px;line-height: 1.5;}
mark {padding: 1px 6px;margin: 0 2px;color: black;background: #FFD700;}
address { margin: 10px 0 }
.wp-caption {background: #fff;border: 1px solid #f0f0f0;max-width: 96%; /* Image does not overflow the content area */padding: 5px 3px 10px;text-align: center;}
.sticky { }
.gallery-caption { }
.bypostauthor { }
.wp-caption-text { }

::-webkit-input-placeholder { font-family: 'Roboto', sans-serif; font-size: 18px;}


/*-[ Framework ]--------------------*/
body {font-size: 14px; line-height:23px;}
::-moz-selection {    background: #222;    color: white;    text-shadow: none;}
::selection {    background: #222;    color: white;    text-shadow: none;}
#page, .container {    position: relative;    margin-right: auto;    margin-left: auto;    overflow: hidden;}
h1, h2, h3, h4, h5, h6 { margin-bottom: 12px;    font-family: 'Ubuntu', sans-serif; font-weight: 300; line-height:160%; }
h1.title.single-title, h1 { border:none; line-height:123%; font-size: 42px; font-weight: 600; margin:0; padding: 10px 0 10px;}

h1 a, h2 a {
  text-decoration:none;
} 

h2.title {border:none; margin:3px 0 5px; font-size: 27px;}

h3 {font-family: 'Ubuntu', sans-serif; color: black; line-height:123%; font-size: 24px; font-weight: 500; margin:0; padding: 32px 0 18px;}

h4 { font-size: 20px;    line-height: 1.4;} h5 { font-size: 18px;    line-height: 1.4;} h6 { font-size: 16px; line-height: 1.4;}
.sub-title { font-size: 12px }

a { color: MidnightBlue; }
a:hover { color: darkred; }
:target { padding-top: 20px }



@media screen and (max-width: 800px) { 
h1.title.single-title, h1 {font-size: 28px;}
h2 {font-size: 24px;  padding: 40px 0 10px;}
h3 {font-size: 20px; padding: 28px 0 16px;}
}

/*-[ Main container ]---------------*/
.main-container {width:100%; max-width:1200px; margin: 25px auto;}
.container {width:96%; max-width:1200px; min-width: 240px;overflow: visible;}
#page {max-width:100%; }
.single .article { background: #fff; margin-top:-30px;}
.main-header .container { max-width: 100% }
#page {padding-top: 0px;min-height: 100px;float: none;clear: both;overflow: hidden;}

@media screen and (max-width: 850px) {
.single .article { background: #fff; margin-top:0px;}
}

/*-[ Header ]-----------------------*/

.main-header > .container {background: white url(images/m-top.png) repeat-x bottom center; border-bottom:3px solid black; padding:0; margin:0;}
.main-header {position: relative; width: 100%;z-index: 99;}


/*-[ Content ]--------------------*/
.article {width: 68.6%;margin-bottom: 10px; }
#content_box img {max-width:100%; height:auto;}
#content_box {width: 100%; max-width:780px}
.single #content_box { border: none; }
.post {width: 100%;}
.single_post {background-color: #fff;padding: 22px 4%; width: 92%; color: var(--color-text);}
.single_page {background-color: white;padding: 22px;}
.post-content {padding-top: 15px;margin-top: 15px;padding-bottom: 15px;margin-bottom: 0; font-size:18px; font-weight:400; line-height:160%;}
.post-single-content {  font-size: 14px;line-height: 22px;}
@media screen and (max-width: 850px) {
.single_post  {width:  auto;}
}

.readMore {color: #7B7A79; margin:0 0 10px 0;}
.readMore a {padding: 5px 20px;background: whitesmoke; text-decoration:none;  -webkit-border-radius: 5px;  -moz-border-radius: 5px; border-radius: 5px;}
.readMore a:hover {color: #fff;background: #222222;}
.readMoree { margin:0 0 20px 0;} .readMoree a {color: black;padding: 5px 20px; text-decoration:none; border-radius: 5px; border:1px solid Gainsboro;}
.readMoree a:hover {background: Gainsboro; color:black;}
.ss-full-width {background: white;padding: 20px;margin-bottom: 30px;overflow: hidden;border: 1px solid #CDCDCD;}
.ss-full-width #content_box {padding-right: 0;padding-left: 0;}
.post.excerpt {clear: both;margin-bottom: 30px;background-color: #fff;padding: 20px;width: auto; border: 1px solid rgba(0,0,0,0.05);}
.wp-post-image { float: none}
.advanced-recent-posts .wp-post-image { min-width: 65px }
.featured-thumbnail {max-width: 580px;float: none;width: 100%;}
#featured-thumbnail {max-width: 150px;width: 50%;padding-right: 1.7em;}
#featured-thumbnail {float: none; width: 100%;padding-right: 1.7em;}
.home_page .featured-thumbnail { max-width: 100%; }
.featured-thumbnail img {margin-bottom: 0;width: 100%;margin-top: 5px;}
.title {margin-bottom: 5px;margin-top: 1px;font-size: 24px;line-height: 28px;clear: both;letter-spacing: -1px;}
.single-title { font-size: 32px; line-height: 160%; font-weight:500;  }
.title a { color: #000 }
.page h1.title { margin-bottom: 0; margin-top: 0;}

.post-info {text-align:left;padding:5px 5px;border-top:1px solid whitesmoke; display: block;font-size: 13px;color: #999999;}
.single-postmeta {margin-bottom: 10px;}
.home article header, .archive article header { margin-bottom: 15px }
article header {margin-bottom: 25px;width: 100%;}
.single_post header { margin-bottom: 0px }
.post-info a { color: steelblue; }

/*---О статье: автор, дата, поделиться, в избранное---*/
.post-info-full {padding:10px 5%; margin:0px; text-align:left; font-size:16px; font-weight:400; border-top:1px solid #ededed;}
.hp_meta {display: inline-block; vertical-align:middle; width: auto; padding:5px 3% 5px 0; color: #5e5e5e;;}
.hp_meta i {font-size:20px; display: inline-block; vertical-align:top; margin: 0 3px 0 0;}
.hp_meta.mail {cursor:pointer;}
.article .hp_meta.share ul {margin:0;}
.ya-share2__container_size_m .ya-share2__icon {height:30px !important; width:30px !important;     background-repeat: no-repeat !important;    background-size: cover !important;}

.post-date-ribbon {width: 100px;height: 25px;text-align: center;line-height: 25px;color: #fff;font-size: 12px;margin-top: -30px;position: relative;background-image: url(images/titlebg.png);  -webkit-border-radius: 5px;  -moz-border-radius: 5px; border-radius: 5px;}
.single_post .post-date-ribbon { margin-top: -32px }
.article img.left, .article img.alignleft, .wp-caption.alignleft {margin: 0.3em 1.571em 0.5em 0;display: block;float: left;}
.article img.right, .article img.alignright, .wp-caption.alignright {margin: 0.3em 0 0.5em 1.571em;display: block;float: right;}
.article img.center, .article img.aligncenter, .wp-caption.aligncenter {margin: 0.3em auto 0.5em auto;display: block;}
.article img.aligncenter, .article img.alignnone {margin-top: 1em;margin-bottom: 1em;display: block;}
.tagtext {font-weight: bold;} 

.otvet {display:inline-block; color: black;padding: 4px 30px; text-decoration:none; border-radius: 5px; border:1px solid Gainsboro; margin:10px auto; background: whitesmoke linear-gradient(to bottom, whitesmoke, Gainsboro);} .otvet:hover {color: #fff;background: dimgray; cursor: pointer}
.gotogame {display:block; color: black;padding: 5px 35px; text-decoration:none; border-radius: 5px; border:1px solid Gainsboro; margin:10px auto; background: whitesmoke linear-gradient(to bottom, whitesmoke, Gainsboro);} .gotogame:hover {color: #fff;background: dimgray; cursor: pointer}

/*----------------Коментарии------------------------------*/
div#submit_post_box_wrap{border: 1px solid silver;}


/*-[ Tables ]--------------------*/
table.ya-site-form__search-input-layout, table.ya-site-form__search, table.ya-site-form__wrap {margin-bottom: 0; border:none;}
table.ya-site-form__search-input-layout td, table.ya-site-form__search td, table.ya-site-form__wrap td {padding:0; margin:0;}
table.ya-site-form__search-input-layout th, table.ya-site-form__search th, table.ya-site-form__wrap th {padding:0; margin:0;}
table.ya-site-form__search-input-layoutt body, table.ya-site-form__search tbody, table.ya-site-form__wrap tbody {padding:0; margin:0;}
table {width: 100%;text-align: left;margin-bottom: 25px;}
thead {background: #F7F8F9;font-size: 14px;color: #585F65;}
thead th { padding: 14px }
tbody th {font-weight: normal;border-bottom: 1px solid #F5F7F9;}

/*-[ Line ]---------------------*/
hr {border: none; border-bottom: 1px solid rgba(0,0,0,0.1);margin: 35px 0;clear: both;position: relative;}

/*-[ Sidebar ]---------------------*/
#sidebars p { line-height: 20px }
.sidebar.c-4-12 {float: left;width: 100%;max-width: 301px;padding:0px;line-height: 20px;}
.sidebar.c-4-12 a { color: black; } .sidebar.c-4-12 a:hover {text-decoration: none;}
.widget {margin-bottom: 20px;overflow: hidden;}
#sidebars .widget { padding: 0px; color:white; }
.widget .title {font-weight: bold;text-transform: uppercase;color: #545E68;font-size: 12px;}
.widget li {margin: 5px 0; list-style: none;  font-size:12px; }
ul.sidebar_list ul {list-style: none; padding:0; margin:0;}

li.cat-item {
  display: block; 
  color:DarkGray; 
  margin: 0 0 0px;  
  font-size: 12px; 
  background-color: white; 
  position: relative; 
  padding: 10px 0px;
}

li.cat-item:last-child {border-bottom:none;}
li.cat-item a {
  display:inline;
  text-align:left;
  text-decoration:none;
  margin-right: 6px;
  font-family: 'Open Sans';
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-alpha80);
  -webkit-transition: color .2s ease-in;
  transition: color .2s ease-in;
}

li.cat-item a:hover {
  color: var(--color-blue);
}

li.cat-item span {
  display: inline;
  font-size: 12px;
  line-height: 22px;
  background: #fff;
  padding: 3px 8px;
  border-radius: 16px;
  border: solid 1px rgba(0, 0, 0, .15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  cursor:default;
}

.sidebar.c-4-12 li.current-cat, #sidebars li.cat-item.current-cat:hover { text-decoration: none; }



li.cat-item  b {display: block; width:40px; position:absolute; right:0px; top:8px; text-align:center; font-weight:normal; }
.sidebar.c-4-12 li.current-cat b {color: rgba(255, 255, 255, 0.9);}
.sidebar.c-4-12 li.current-cat a:hover b  {color:DarkGray; }

.widget h3 {display:none; font-size: 22px;font-weight: bold; padding: 10px 0 10px;  text-align:center; background:rgba(10, 40, 60, 0.75); margin:0 0 1px;}


/*-[ Related Posts ]---------------------------*/
.related-posts {margin-top: 0px;clear: both; background-color: whitesmoke;padding: 10px 4%; margin:10px 0;}
.postauthor p {padding-top: 0px;margin: 0;}
.related-posts ul {margin-left: 0;padding: 0;margin: 0;overflow: hidden;margin-top: 0;}
.related-posts h5 {line-height: 20px;padding-left: 80px;color: #919191;text-transform: uppercase;font-size: 13px;}
.related-posts h3 {font-size: 18px !important;margin: 20px 0;color: #444;}
.relatedthumb img {width: 200px;height: 125px;margin-top: 5px;margin-bottom: 0; margin-right:10px;}
.postauthor-top { margin-bottom: 10px }
.related-posts li {width: 30.2%;float: left;list-style: none;margin-right: 4.6%;min-height: 100px;}
.related-posts a {display: block;width: 100%;color: #666;}
.rp_title {width: 100%;padding-top: 10px;float: left;}
.rthumb {float: left;margin-right: 0;width: 100%;display: block;}
.related-posts .last { margin-right: 0 }
.tags {margin: 0 0 2%;width: 100%;float: left;}
.tags a { margin-left: 5px }
.postauthor {margin: 0;padding: 0 4% 3%;min-height: 125px;background-color: #fff;float: left;clear: both;width: 92%;}
.postauthor h4 {font-weight: bold;font-size: 18px;}
.postauthor h5 {text-transform: capitalize;font-weight: bold;font-size: 14px;padding: 0;margin: 0;line-height: 24px;}
.postauthor img {float: left;margin: 5px 25px 15px 0;}
.postauthor h4 a { color: #473636 }
.inside .left { margin-left: 1em; margin-right:1em; }

/*-[ pagination ]------------------*/
.pagination {
  clear: both;
  overflow: hidden;
  width: 100%;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 40px;
  font-size: 17px;
}

.pagination ul {
  list-style: none;
  margin: 0;
}

.pagination ul li {
  display: inline-block;
  margin: 0 3px 3px 0;
}

.currenttext {
  display: inline-block;
  color: var(--color-white);
  background: var(--color-black);
  line-height: 100%;
  text-decoration: none;
  border-radius: 50%;
}

.currenttext,
.pagination a,
.pagination2 {
  padding: 12px 16px;
}

.pagination a,
.pagination2 {
  display: inline-block;
  background: #fff;
  line-height: 100%;
  text-decoration: none;
  color: #555;
  border-radius: 40px;
  border: 1px solid transparent;
  transition: all .2s ease-in-out;
}

.pagination a:hover {
  text-decoration: none;
  border: 1px solid var(--color-black);
  color: #555;
}

.pagination a:focus,
.pagination2:focus {
  background-color: var(--color-black);
  color: var(--color-white);
}

.pagination2 {
  clear: both
}
.top { float: right }
.pnavigation2 {display: block;width: 100%;overflow: hidden;padding: 10px 0;float: left;margin-bottom: 10px;}
.nav-previous { float: left }
.nav-next { float: right }
.nav-previous a, .nav-next a {
color: #979494;
border: 1px solid #CCCCCC;
padding: 5px 13px;
background: #fff;
}
.nav-previous a:hover, .nav-next a:hover {
color: #fff !important;
background-image: url(images/titlebg.png);
}
.comment_text_area { overflow: hidden }
/*-----------------------------------------------
/* Responsive
/*---------------------------------------------*/
@media screen and (max-width:1050px) {
#page, .container, .main-header .container { max-width: 96% }
#page { padding-top: 0px }
.article { width: 66.3% }
.sidebar.c-4-12 { width: 30% }
img, embed {
max-width: 100%;
}
.ad-300 img { max-width: 100% }
.ad-125 li { max-width: 40% }
.footer-widgets #s, #sidebars #s { width: 68% }
.ad-125 img {
padding: 0;
background: #FAFAFA;
border: 0;
}
}
@media screen and (max-width:900px) {
.widget-header { max-width: 70% }
nav #searchform { display: none }
}
@media screen and (max-width:865px) {
#header h1, #header h2 { margin: 10px 0 0 0 }
.secondary-navigation {
width: 100%;
background-color: transparent!important;
}
#navigation ul {
float: none;
display: inline-block;
}
.js #navigation > ul { display: none }
.js #navigation select {
display: inline-block !important;
max-width: none;
border: 1px solid rgb(207, 207, 207);
border-radius: 3px;
padding: 8px;
width: 100%;
color: rgb(77, 77, 77);
text-shadow: 0 1px 1px rgb(255, 255, 255);
font-size: 12px;
margin: 4px auto;
background: rgb(238, 238, 238);
-webkit-box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.2);
}
}
@media screen and (max-width:728px) {
#header h1, #header h2 {
width: 100%;
text-align: center;
}
#header { margin: 0 }
.widget-header {
max-width: 100%;
float: left;
margin-top: 15px;
}
}
@media screen and (max-width:720px) {
.secondary-navigation a {
padding-top: 10px!important;
padding-bottom: 10px!important;
}
.article { width: 99.4% }
#content_box {
padding-right: 0px;
padding-left: 0px!important;
}
.sidebar.c-4-12 {
float: left;
width: 100%;
}
.f-widget { width: 44% }
.f-widget-2 { margin-right: 0 }
.ad-125 li { max-width: 45% }
.footer-widgets #s { width: 70% }
#comments { margin-right: 0 }
}
@media screen and (max-width:600px) {
.featured-thumbnail img { width: 100% }
.single-title { font-size: 24px }
}
@media screen and (max-width:550px) {
.main-header #s { width: 85% }
read-more { font-size: 16px }
.f-widget { width: 95% }
}
@media screen and (max-width:460px) {
.single-title { font-size: 20px }
}
@media screen and (max-width:415px) {
#navigation {
margin-top: 0;
margin-bottom: 0;
}
.secondary-navigation {
width: 102%;
height: 35px;
}
.js #navigation select {
width: 100%;
margin-right: 0;
}
}
@media screen and (max-width:400px) {
article header { overflow: hidden }
.main-header #s { width: 78% }
#tabber ul.tabs li a { width: 70px }
#commentform textarea { width: 90% }
}
@media screen and (max-width:300px) {
nav fieldset, .js #navigation select {
width: 100%;
float: left;
}
.main-header #s { width: 70% }
.related-posts li { width: 100% }
}


.otvet {display:inline-block; color: black;padding: 4px 30px; text-decoration:none; border-radius: 5px; border:1px solid Gainsboro; margin:10px auto;
background: rgb(238,238,238);
background: -moz-linear-gradient(top,  rgba(238,238,238,1) 0%, rgba(204,204,204,1) 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(238,238,238,1)), color-stop(100%,rgba(204,204,204,1)));
background: -webkit-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: -o-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: -ms-linear-gradient(top,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);
background: linear-gradient(to bottom,  rgba(238,238,238,1) 0%,rgba(204,204,204,1) 100%);}
.otvet:hover {color: #fff;background: dimgray; cursor: pointer}


/*-----------------------ВСТРОЙКА IFRAME для игр или тестов--------------------------*/
.frmfrm {}
.frmactivity {text-align:right;}
.frmactivity a {display:inline-block; text-decoration:none; font-size:14px; padding:0 0px; margin:5px 5px 5px 15px; border-bottom:1px dotted; line-height:100%;}
.frmactivity a:hover{ border-bottom:1px dotted; }
.frmactivitybtn img {width:20px;}
.frmactfrm {width:100%; min-height:600px; border:none;}

@media screen and (max-width: 800px) {
.frmfrm {margin:20px -20px; width:auto;}
	
	
}
/*-----------------------Кнопки--------------------------*/
.bbtn {display:inline-block; padding:6px 14px; border-radius:2px; background:rgba(60,80,100,1); margin:10px 1px 10px 0;  color:white; text-decoration:none; font-size:18px; cursor:pointer; box-shadow:0px 0px 2px rgba(0,0,0,0.25); border:none; text-align:center;}
.bbtn:hover {background:rgba(70,90,110,1);  color:white; box-shadow:0px 0px 6px rgba(0,0,0,0.6); text-decoration:none;}

.bbtn.bluebtn {background: var(--color-blue); } a.btn.bluebtn:hover {background:var(--color-blue);}
.bbtn.greenbtn {background:rgba(70,180,130,1); } a.btn.greenbtn:hover {background:rgba(80,190,140,1);}
.bbtn.tealbtn {background:rgba(70,150,150,1); } a.btn.tealbtn:hover {background:rgba(80,160,160,1);}
.bbtn.redbtn {background:rgba(139,0,0,1); } a.btn.redbtn:hover {background:rgba(149,0,0,1);}
.bbtn.whitebtn {background:rgba(0,0,0,0.1); color:black;} .bbtn.whitebtn:hover {background:rgba(0,0,0,0.15); color:black;} 


.bbtn.middlebtn {font-size:22px; padding:12px 25px; } 
.bbtn.largebtn {font-size:28px; padding:16px 35px; } 

.btniconright  i{padding:0 0 0 10px; color:white;}
.btniconleft i {padding:0 10px 0 0 ; color:white;}


/*-------------Комментарии новые--------------------------------------*/
.betaversionofcore { font-weight:700; text-align:center; font-size:40px; margin:0 0 20px;  background-color: rgba(0,0,0,0.25); color: transparent; text-shadow: 0px 1px 1px rgba(255,255,255,0.5); -webkit-background-clip: text;   -moz-background-clip: text;     background-clip: text;  padding:5px 0 10px; line-height:120%;}

#commentbox { margin: 0; padding:50px; border-top:solid 1px rgba(0,0,0,0.08);}
#commentboxwrap {margin:0 auto; max-width:1000px;}
.commentwrap {background:white; margin:5px 0px 45px; padding:0px; border-radius: 15px;  overflow: hidden;  box-shadow: 0 0px 20px rgb(11 49 93 / 28%);}
.commenthead {padding:15px 20px;}
.commentfoot {background:rgba(40,100,150,0.07);  padding:15px 20px; border-top:solid 1px rgba(0,0,0,0.04);}
.commentfootleft {float:left;}
.commentfootright {text-align:right;}
.commentfootright .bbtn {margin:0px 0; padding:10px 24px !important; font-size:16px;  background: rgb(20, 130, 222); border-radius:10px;}

.commentdop {margin:20px 0px 10px 0; height:32px;}
.commentheadleft {float:left;}
.likecount {line-height:100%; display:inline-block; vertical-align:top; border:1px solid rgba(230,230,230,1); margin-left:-1px; padding:6px 12px; color:rgba(0,0,0,0.6);}
.likecount:hover {color:rgba(20,50,80,0.7); cursor:pointer;}
.commentheadright {text-align:right;}
.likeavatar { display:inline-block; vertical-align:top; height:30px; width:30px; background-color:steelblue; background-size: cover; background-position: center center; border-radius: 50%; margin:1px; }
.likeavatarcount {display:inline-block; vertical-align:middle; line-height:100%; padding:7px 0px 5px 10px; font-weight:500; color:rgba(70,130,180,0.9);}
.firstcommentwrap .pleasecomein {padding:20px; text-align:center;}
.commentfoot .likecount {border:none; padding:5px; margin-left:10px; color:rgba(0,0,0,0.4)}
.commentfoot .likecount i {display:none;}
.commentfoot .likecount:hover { color:rgba(150,0,0,1)}

.commentwrap textarea {padding:20px !important; background:white !important; border:none; outline:none !important; box-shadow:none  !important; border:none !important; width:100% !important; font-size:16px !important; font-family: "Arial", "Helvetica", sans-serif; min-height:100px;}
.commentwrap .commentfoot textarea, .commentwrap .commentfoot textarea {min-height:45px !important;  padding:10px 10px 0 10px !important; font-size:16px !important; width:100% !important; }
.commentwrap textarea.activetexarea {min-height:85px !important; width:100% !important;}
.commentfoot textarea + .commentfootright {display:none; margin-top:10px;}
.commentfootleft i {padding:10px 10px; background:rgba(0,0,0,0.01); border-radius:3px; cursor:pointer;}
.commentfootleft i:hover {background:rgba(0,0,0,0.04);}
.commentfootleft i.fa-link {color:steelblue;}
.commentfootleft i.fa-picture-o {color:darkred;}

.onecomentall {position:relative; min-height:60px;}

.commentavatar {position:absolute; top:0; left:0; vertical-align:top; height:50px; width:50px; background-color:steelblue; background-size: cover; background-position: center center; border-radius: 50%; margin:5px; }
.commentrightofavatar {display:block; vertical-align:top; margin:5px 5px 5px 65px; padding:4px 0 0; text-align:left;}
.commentname {font-size:20px; font-weight:500; min-height:20px;}
.commentdate {color:rgba(0,0,0,0.7);}
.commenthead  .commentcontent {margin:20px 0 5px; text-align:left;}
.commentcontent img {margin:20px 0 5px; width:auto; max-width:100%;}
.blog_about_me {text-decoration:none;}

.commentfoot .onecomentall {}
.commentfoot .commentname, .commentfoot .commentdate {display:inline-block; font-size:15px; margin-right:5px;}
.commentfoot .commentcontent {font-size:15px; margin-bottom:25px; line-height:140%;}

.givememore {text-align:center; margin-top:30px; background:rgba(0,0,0,0.02); padding:20px; border-radius:3px; }
.givememore:hover {background:rgba(0,0,0,0.04); cursor:pointer;}
.givememore span {color:steelblue;}

#commentbox pre.userOutput {white-space: pre-wrap;}

@media screen and (max-width: 800px) {
#commentbox {margin: 20px 0 -30px; padding:50px 3%;}
}

/*-------------Под хедером--------------------------------------*/

body {font-family: 'Roboto', sans-serif; font-weight: 400;}

/*--Название раздела--*/
#name {
  display: block;
  vertical-align: bottom;
  margin: 0 0 0px 0;
  color: black;
  font-size: 20px;
  font-weight: 300;
  padding: 22px 0 20px;
  text-decoration: none;
  background: linear-gradient(266.53deg, rgba(255, 255, 255, 0.4) 16.51%, rgba(255, 255, 255, 0) 43.99%), linear-gradient(264.11deg, #C6D2FF 41.72%, #A7B9FB 86.98%);
}

#name .container {
  text-align: center;
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  line-height: 20px;
  font-weight: 600;
  color: #161a41b8;
}

@media screen and (max-width: 800px) {
  #name {
    border-left: none;
    font-size: 19px;
    width: auto;
    border: none;
  }
}

/*--------------теги---------------------------*/
.tags {display:none;}

.cmn-toggle-switch {
	
  display: none;
  position: absolute;
  right:2%; top:15px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 54px;
  height: 48px;
  font-size: 0;
  text-indent: -9999px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  border-radius: none;
  border: none;
  cursor: pointer;

}


@media screen and (max-width: 800px) {
.cmn-toggle-switch {display:block;}
}

.cmn-toggle-switch:focus {
  outline: none;
}


.cmn-toggle-switch span {
  display: block;
  position: absolute;
  top: 18px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: rgba(255,255,255,0.5);
}

.cmn-toggle-switch span::before,
.cmn-toggle-switch span::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: rgba(255,255,255,0.5);
  content: "";
}

.cmn-toggle-switch span::before {
  top: -12px;
}

.cmn-toggle-switch span::after {
  bottom: -12px;
}

.gameframewrapperbig { width: 100%; padding: 0; margin: 0; overflow: hidden; }
.gameframewrapper { width: 100%; padding: 0; margin: 0; overflow: hidden; }
.gameframe { width: 1200px; height: 640px; border: 0px;
zoom: 0.51;
-moz-transform: scale(0.51);
-moz-transform-origin: 0 0;
-o-transform: scale(0.51);
-o-transform-origin: 0 0;
-webkit-transform: scale(0.51);
-webkit-transform-origin: 0 0;
}
.onebtn {display: inline-block; border: 1px solid #f5f5f5; text-decoration: none; padding: 5px}
.onebtn:hover {border: 1px solid steelblue; }
.gameframewrapperinfo {}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.gameframe  { zoom: 1;  }
}

/*------------------В сайдбаре----------------------*/
#top {background:rgba(40,70,110,1);}
.main-container {width:auto; margin:0px 0px -30px; max-width:5000px;}
#page { max-width:5000px; margin:35px 15px; }
#name {display:none;}
.main-container h1 {font-weight:600; margin-top:10px; margin-bottom:30px;}

#page.single { max-width:5000px; margin:0px;}
#page.single .content {position:relative; max-width:1200px; margin:25px auto; background:white; padding:0px 0 20px; min-height:1400px;}
.single .article {margin-top:0;}

aside.sidebar {
  display:inline-block; 
  vertical-align:top; 
  position:absolute; right:0; top:0;
}
#page.single aside.sidebar { bottom:0;}
article.article {display:block; float:none; margin-right:320px; width:auto;}
#content_box {float:none; margin:0 auto; max-width: 1500px; text-align:center;}

.post {width: 100%; max-width: 780px; margin:0 auto 0 0; float:none; text-align:left;}
.post.excerpt {
  display: inline-block;
  width: 28%;
  margin: 0px 2% 40px;
  box-shadow: 0 0 0px silver;
  border: none;
  vertical-align: top;
  padding: 0;
}
.post.excerpt h2, .post.excerpt .post-content, .post.excerpt .readMoree{padding:5px 0px;}

.post.excerpt .featured-thumbnail {display:block; padding:0; position:relative; max-height:220px; min-height:50px; overflow-y:hidden; background:steelblue;}
.post.excerpt .featuredfon {background:rgba(10,30,50,0.05); position:absolute; left:0; right:0; top:0; bottom:0;  -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}
.post.excerpt:hover .featuredfon {background:rgba(10,30,50,0.5); position:absolute; left:0; right:0; top:0; bottom:0;  -webkit-transition: All 0.5s ease; -moz-transition: All 0.5s ease; -o-transition: All 0.5s ease; -ms-transition: All 0.5s ease; transition: All 0.5s ease;}

.post.excerpt .featured-thumbnail,
.post.excerpt .featured-thumbnail img {
  border-radius: 6px;
}

.post.excerpt .featured-thumbnail img {
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
}

.post.excerpt .post-content {
  font-size:15px;
  display: none;
}
.post.excerpt .post-content a {
  text-decoration:none;
  font-size: inherit;
  color: var(--color-link);
}
.post.excerpt .post-content a:hover {
  text-decoration: underline;
  font-size: inherit;
  color: var(--color-link);
}

.post.excerpt header {
  margin-bottom: 0;
}

.post.excerpt h2 a {
  display: block;
  width: auto;
  padding-top: 10px;
  font: 600 19px/26px 'Raleway';
  color: var(--color-dark);
  -webkit-transition: All 0.5s ease;
  -moz-transition: All 0.5s ease;
  -o-transition: All 0.5s ease;
  -ms-transition: All 0.5s ease;
  transition: All 0.5s ease;
}

.post.excerpt:hover h2 a,
.post.excerpt:hover h2 a:hover {
  color: var(--color-blue);
  -webkit-transition: All 0.5s ease;
  -moz-transition: All 0.5s ease;
  -o-transition: All 0.5s ease;
  -ms-transition: All 0.5s ease;
  transition: All 0.5s ease;
}

.post.excerpt .readMoree {float:none; display:none;}
.post.excerpt .readMoree a {background: steelblue;  color: white;  font-size: 16px; padding:8px 15px; border:none; border-radius:3px;}

.post-info {background:rgba(70,180,130,0.1); display:none;}
.cat_mt {display:none;}

h1.postsby {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 44px;
}
h1.postsby span {
  font: 800 68px/72px 'Raleway', sans-serif;
  color: var(--color-dark-10);
}

@media screen and (max-width: 800px) {
  h1.postsby span {
    font-size: 48px;
    line-height: 52px;
  }
}

@media screen and (max-width: 520px) {
  h1.postsby span {
    font-size: 32px;
    line-height: 36px;
  }
}

#sidebars {max-width:330px;}
div.sidebar { 
  margin-left:0px; 
  box-shadow:0px silver; 
  background:none; 
  font-size:14px;
  /*background: #F9F9FA;*/
}
.sidehead1 {  
  display: block; 
  color: var(--color-text);
  font-family: 'Open Sans';
  font-size: 22px;
  line-height: 26px;
  font-weight: 700;
  padding: 40px 28px 10px;
  text-decoration: none;
  -webkit-transition: color .2s ease-in;
  transition: color .2s ease-in;
}

.sidehead1:hover {
  color: var(--color-blue);
}

.paywallblock {max-width: 300px; margin-left:0px;}
li.cat-item {background:none;}

.socnetsub {background:white; padding:20px 10px; margin:30px 0px 0; font-size:18px; font-weight:300; line-height:150%; max-width:280px; }
#page.single aside.sidebar  .rightsub.fixedtop {position:fixed; top:10px; width:300px;}
.socnetsub img {background:steelblue; margin:-20px -10px 20px; display:block; width:auto; max-width:300px;}
.fssub {display:block; padding:8px 15px; font-size:18px; color:white; text-decoration:none; font-weight:300; border-radius:3px; margin:10px 0;}
.fssub:hover { color:white; text-decoration:none; box-shadow: 0 0 8px silver;}
.fssub i {margin:0 30px 0 10px;}
.fssub.vk {background:#4d7198; }
.fssub.f {background:#3b5998}

.single_post {text-align:left;}

.socnetunder {margin-top:15px; display:none !important;}
.socnetunder .fs {display:inline-block; padding:8px 15px; font-size:18px; color:white; text-decoration:none; font-weight:300; border-radius:3px; margin:2px 2px;}
.socnetunder .fs:hover {box-shadow: 0 0 3px steelblue;}
.socnetunder .fs i {margin-right:10px; font-size:18px; }
.socnetunder .fs.vk {background:#4d7198}
.socnetunder .fs.f {background:#3b5998}
.socnetunder .fs.tg {background:#0088cc}


.epigraf {text-align:right; font-size:90%;}
.impblock {background: url('https://4brain.ru/images/icons/bad.png') rgba(70, 180, 130, 0.9) no-repeat 20px center; padding:15px 15px 15px 75px; font-size:110%; background-size:32px; color:white;}
.imgdescr {text-align:center; font-size:80%; margin-top:0 10% 40px;}


/*------Таблица с тиками или цифрами--------*/


.ticktable.keynotes td {background:rgba(20, 40, 70, 0.04); border-top:2px solid white;}
.ticktable.keynotes td:first-child i{color:rgba(40,100,150,0.8);}
.ticktable.keynotes td b {font-weight:400;}

@media screen and (max-width: 800px) {
.ticktable td {padding:20px 10px; }
.ticktable td:first-child {padding-left:20px;}
	
}


/*АЛГОРИТМ*/


@media screen and (max-width: 1300px) {
.post.excerpt {width:45%;} 	
}

@media screen and (max-width: 980px) {
article.article {margin:0; width:auto;}
aside.sidebar {position:relative; display:block}
#name {display:block;}
#page.single .content {margin:0;}
#page.single aside.sidebar .rightsub.fixedtop {position:static;  width:auto;}
#sidebars {max-width:980px;}
li.cat-item {width:auto;}
div.sidebar {margin-bottom:-20px;}
.sidehead1 {
  padding-bottom: 8px;
}
}

@media screen and (max-width: 650px) {
.post.excerpt {width:auto; display:block; margin:0 0% 40px; } 	
}


/*Новые ссылки


.single_post p a {color:black !important; font-weight:400; text-decoration:none; 
  background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  }

.single_post p a:hover {background-size: 100% 88%;}
*/



/*----------------В футере---------------------*/
/*----------------------------Соoбщение об ошибке ОРФУС (orphus)----------------------------------------*/
#senderrordiv {background:white; box-shadow:0 0 10px black; max-width:320px; font-size:13px; position:fixed; left:50%; top:5%; margin-left:-160px; z-index:9999999999; padding:0; width:90%; overflow:hidden;}
#senderrorform {margin:0;}
#senderrorbtn {display:block; padding:10px 10px; background-color: rgba(70, 130, 180, 0.7); border:none; color:white; cursor:pointer; margin:0; font-size:15px; text-align:center;}
#senderrorbtn:hover {background-color: rgba(70, 130, 180, 0.99); color:white;}
#senderrorform_text {display:block; width:90%;  padding:0; margin:26px auto 10px; max-height:200px; overflow:auto;}
#senderrorform_comments {display:block; width:90%;  padding:5px 2%; border:1px solid silver; resize: none; margin:10px auto; height:70px; font-family: "Arial", "Helvetica", sans-serif;}
#senderrordiv del {font-size:130%; font-weight:bold; color:darkred; text-decoration:none;}
.closealert {position:absolute; top:4px; right:4px; width:16px; cursor:pointer; opacity: 0.5; filter: alpha (opacity: 50);}
.closealert:hover {opacity: 1; filter: alpha (opacity: 100);}


/*-------------Верхнее меню -SUPER NEW--------------------------------------*/
.sidebar_list {
  padding: 12px 28px;
  margin-bottom: var(--text-gap);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

@media screen and (max-width: 800px) {
	html,
	body {
		height: 100%;
	}
	
	body {
		overflow-x:initial;
	}
	

	.kontainer,
	#main {
		height: calc(100vh - 50px);
		min-height: auto;
	}
}

/* новая шапка */
:root {
  --header-height-desktop: 76px;
  --header-height-mobile: 60px;
}

.header {
  height: var(--header-height-desktop);
  font-family: "Raleway", sans-serif;
  box-shadow: 0 0 24px rgba(39, 34, 34, .08), 0 0 2px rgb(49, 109, 239, .18);
}

.header__inner {
  position: relative;
  z-index: 2;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: background-color;
}

@media (min-width: 992px) {
  .header__inner {
    padding-left: 30px;
    padding-right: 30px;
    transition: background-color .2s ease;
  }
}

.header__inner, .header__container {
  height: 100%;
}

.header__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.header__leftside, .header__rightside {
  width: 210px;
}

.header__rightside {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.header__button {
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 10px;
  color: #FFFFFF;
  background-color: #3D5AFE;
  text-decoration: none;
  border: none;
  -webkit-box-shadow: 0px 10px 30px rgba(61, 90, 254, 0.3);
  box-shadow: 0px 10px 30px rgba(61, 90, 254, 0.3);
  cursor: pointer;
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 700;
  padding: 12px 24px;
}

.header__button:hover {
  color: #fff;
  background-color: #2041FE;
}

.header__button-chat {
  cursor: pointer;
  font-size: 0;
  line-height: 0;
  padding: 10px;
  margin-right: 4px;
}

.header__button-chat svg {
  width: 38px;
  height: 38px;
  fill: #161A41;
  opacity: 0.2;
  transition: all .2s ease;
}

.header__button-chat:hover svg {
  opacity: .4;
}

.header_show_catalog .header__button-chat svg, 
.header_show_mobile-menu .header__button-chat svg {
  fill: #ffffff;
}

.header__button-chat_active {
  position: relative;
}

.header__button-chat_active::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF0000;
  animation: radial-pulse 5s infinite;
  z-index: 1;
}

@keyframes radial-pulse {
  0% {
      box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.4);
  }

  20%,
  100% {
      box-shadow: 0 0 0 30px rgba(0, 0, 0, 0);
  }
}

.header__mobile-burger {
  display: none;
  background: none;
  border: none;
  font-size: 0;
  cursor: pointer;
  padding: 10px;
  margin-right: 8px;
}

.header__mobile-burger:hover,
.header__mobile-burger:focus,
.header__mobile-burger:active {
  outline: none;
}

.header__mobile-burger svg {
  width: 24px;
  fill: #161A41;
}

.header__logo {
  display: block;
  height: 60px;
  background: url("/images/main/logo-v2.svg") left no-repeat;
  font-size: 0;
  background-size: 180px;
  color: transparent;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .header__logo {
    width: 54px;
  }
}

@media (max-width: 575.98px) {
  .header__logo {
    width: 46px;
    background-size: 150px;
  }
}


.header__navbar_active {
  visibility: visible;
  opacity: 1;
  top: 60px;
}

.header__navbar-closed {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.05);
}

.header__navbar_active + .header__navbar-closed {
  display: block;
}

.header__button-dots {
  display: none;
  line-height: 0;
  padding: 10px 18px 10px 24px;
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .header__button-dots {
    display: inline-block;
  }
}

.header__button-dots svg {
  fill: #161A41;
}

.header__button, .header__user {
  vertical-align: middle;
}

.header__user {
  width: 50px;
  height: 50px;
  margin: 8px;
  margin-right: 16px;
  border-radius: 50%;
  display: inline-block;
  background: center/cover no-repeat;
  -webkit-box-shadow: 0px 8px 30px 0px rgba(189, 195, 228, 0.34);
          box-shadow: 0px 8px 30px 0px rgba(189, 195, 228, 0.34);
}

@media (min-width: 992px) {
  .header_show_catalog .header__inner {
    background-color: #23222F;
    box-shadow: 0 1px 0px rgba(249, 249, 255, 0.1);
  }

  .header_show_catalog .header__programs {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  .header_show_catalog .header__programs-grid-content,
  .header_show_catalog .header__programs-grid-sidebar {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: .4s;
    transition-delay: .2s;
  }

  .header_show_catalog .header__programs-grid-sidebar {
    transition-delay: .25s; 
  }

  .header_show_catalog .header__logo {
    background-image: url(https://4brain.ru/about/firstyle/logo-horizontal-white.svg);
  }

  .header_show_catalog .navbar {
    color: #ffffff;
  }

  .header_show_catalog .navbar__link {
    -webkit-text-stroke: .02em rgba(51,51,51,0.50);
  }
}

.header__programs {
  background-color: #23222F;
  padding: 62px 0 44px;
  box-shadow: 0px 16px 40px rgba(35, 34, 47, 0.3);
  position: absolute;
  left: 0;
  top: var(--header-height-desktop);
  right: 0;
  z-index: 1;
  opacity: 0;
  -webkit-transform: translateY(-100%);
  transform: translateY(-100%);
  transition: opacity .2s,-webkit-transform .2s;
  transition: opacity .2s,transform .2s;
  transition: opacity .2s,transform .2s,-webkit-transform .2s;
}

.header__programs-link,
.header__programs-footer-link {
  font-family: "Raleway", sans-serif;
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 4px 0 4px 0;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  -webkit-text-stroke: .025em rgba(51,51,51,0.50);
  transition: color .2s ease-in;
}

.header__programs-link + .header__programs-link {
  margin-top: 10px;
}

.header__programs-link:hover,
.header__programs-footer-link:hover {
  color: #3D5AFE;
}

.header__programs-grid {
  display: grid;
  grid-template-columns: [sidebar] 2fr [content] 1fr;
  max-width: 1200px;
  margin: 0 auto;
}

.header__programs-grid-content,
.header__programs-grid-sidebar {
  padding: 0 34px;
  opacity: 0;
  -webkit-transform: translateY(-25px);
  transform: translateY(-25px);
}

.header__banner {
  display: block;
  box-sizing: border-box;
  margin-left: auto;
  text-decoration: none;
  border-radius: 10px;
  background: rgba(240, 241, 250, 0.1);
  padding: 26px 20px;
  color: #fff;
  width: 218px;
  -webkit-text-stroke: .025em rgba(51,51,51,0.50);
}

.header__banner:hover .header__banner-title {
  color: #3D5AFE;
}

.header__banner-badge {
  display: inline-block;
  font-family: 'Open Sans';
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.04em;
  color: #161A41;
  background: #F9F9FF;
  border-radius: 10px;
  padding: 1px 12px 2px;
}

.header__banner-title {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
  margin-top: 28px;
  transition: color .2s ease-in;
}

.header__banner-text {
  font-family: 'Open Sans';
  font-size: 14px;
  line-height: 18px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.9);
}

.header__banner-text b {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}

.header__banner-image {
  width: 84px;
  float: right;
  margin-top: -14px;
  margin-right: -6px;
}

.header__programs-list {
  column-count: 2;
  column-gap: 6%;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(249, 249, 255, 0.1);
}

.header__programs-footer {
  padding-top: 24px;
}

.header__programs-footer-link {
  padding: 0;
}

.header__programs-footer-link-description {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
  margin-top: 6px;
}

.header__mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-height-mobile);
  z-index: -1;
  padding: 58px 20px 52px;
  background: #23222F;
  box-shadow: 0px 16px 40px rgba(35, 34, 47, 0.3);
  opacity: 0;
  -webkit-transform: translateY(-100%);
  transform: translateY(-20px);
  transition: opacity .2s,transform 8s, -webkit-transform 8s;
}

.header__mobile-item,
.header__mobile-banner {
  opacity: 0;
  -webkit-transform: translateX(-25px);
  transform: translateX(-25px);
}

.header__mobile-link {
  display: block;
  font-size: 26px;
  line-height: 28px;
  font-weight: 300;
  color: #ffffff;
  padding: 12px 0;
  text-decoration: none;
}

.header__mobile-link:hover {
  color: #fff;
}

.header__mobile-link_icon_slide {
  position: relative;
}

.header__mobile-link_icon_slide svg {
  position: absolute;
  width: 16px;
  right: 0;
  top: 19px;
  transition: all .4s ease;
}

.header__mobile-item_active .header__mobile-link_icon_slide svg {
  transform: rotate(180deg);
}

.header__mobile-banner {
  margin-top: 48px;
}

@media (max-width: 991.98px) {
  .header {
    height: var(--header-height-mobile);
  }

  .header__programs {
    display: none;
  }

  .header__container {
    padding-left: 6px;
    padding-right: 6px;
  }

  .header__leftside {
    width: auto;
    display: flex;
    align-items: center;
  }

  .header__logo {
    width: 123px;
    height: 34px;
    background-size: 123px;
  }

  .header__mobile-burger {
    display: block; 
  }

  .header__user {
    position: relative;
    width: 28px;
    height: 28px;
  }

  .header__user::before {
    content: '';
    position: absolute;
    left: -4px;
    top: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: solid 2px #3D5AFE;
  }

  .header__button {
    color: #3D5AFE;
    font-size: 15px;
    line-height: 20px;
    padding: 13px 16px 11px 8px;
    background: none;
    box-shadow: none;
    text-shadow: 0px 0px 20px rgba(99, 45, 255, 0.6);
  }

  .header__button:hover {
    background: none;
    color: #3D5AFE;
  }

  .header__button-chat {
    margin-right: 0;
  }

  .header__button-chat svg {
    width: 24px;
    height: 24px;
  }

  .header__button-chat_active::before {
    top: 12px;
    right: 10px;
    width: 8px;
    height: 8px;
  }

  .header__mobile-programs {
    height: 0;
    visibility: hidden;
  }

  .header__mobile-programs .header__programs-grid-content {
    padding: 0;
    padding-left: 10px;
    transform: none;
    opacity: 0;
    -webkit-transform: translateX(-25px);
    transform: translateX(-25px);
  }

  .header__programs-list {
    column-count: 1;
    padding-bottom: 9px;
  }

  .header__programs-link {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: rgba(255, 255, 255, .6);
  }

  .header__programs-link,
  .header__programs-footer-link {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header__programs-link + .header__programs-link {
    margin-top: 0;
  }

  .header__programs-footer {
    padding-top: 8px;
  }

  .header__navbar {
    display: none;
  }

  .header__banner {
    margin: 0;
    width: 100%;
  }

  /* анимация мобильного меню */
  .header_show_mobile-menu .header__inner {
    background-color: #23222F;
    box-shadow: 0 1px 0px rgba(249, 249, 255, 0.1);
  }

  .header_show_mobile-menu .header__mobile-menu {
    z-index: 1;
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    transition: opacity .2s,transform .1s, -webkit-transform .4s;
  }

  .header_show_mobile-menu .header__logo {
    background-image: url(https://4brain.ru/about/firstyle/logo-horizontal-white.svg);
  }

  .header_show_mobile-menu .header__mobile-burger svg {
    fill: #ffffff;
  }

  .header_show_mobile-menu .header__mobile-item {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: .4s;
  }

  .header_show_mobile-menu .header__mobile-item:nth-child(1) {
    transition-delay: .2s;
  }
  
  .header_show_mobile-menu .header__mobile-item:nth-child(2) {
    transition-delay: .36s;
  }
  .header_show_mobile-menu .header__mobile-item:nth-child(3) {
    transition-delay: .52s;
  }

  .header_show_mobile-menu .header__mobile-banner {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: .8s;
    transition-delay: .8s;
  }

  .header__mobile-item_active .header__mobile-programs {
    height: auto;
    visibility: visible;
    padding-bottom: 24px;
  }

  .header__mobile-item_active .header__programs-grid-content {
    opacity: 1;
    -webkit-transform: translateX(0);
    transform: translateX(0);
    transition: .4s;
    transition-delay: .2s;
  }
}

.navbar {
  color: #161A41;
  font-family: "Raleway", sans-serif;
}

.navbar__list, .navbar__item {
  padding: 0;
  margin: 0;
}

.navbar__list {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
}

.navbar__link {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding: 20px;
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  -webkit-transition: color .2s ease-in;
  transition: color .2s ease-in;
  -webkit-text-stroke: 0.015em rgb(255, 255, 255, .5);
}

.navbar__link:hover {
  color: #3D5AFE;
}

.navbar__link_highlighted {
  padding: 15px 20px;
}

.navbar__link_highlighted span {
  display: inline-block;
  color: #FFFFFF;
  text-transform: uppercase;
  padding: 5px 16px;
  background: #F81F1F;
  border-radius: 10px;
  font-weight: 700;
  -webkit-box-shadow: 0px 10px 20px rgba(238, 0, 114, 0.1);
          box-shadow: 0px 10px 20px rgba(238, 0, 114, 0.1);
  -webkit-transition: all .2s ease-in;
  transition: all .2s ease-in;
}

.navbar__link_highlighted span:hover {
  background-color: #E80707;
}

.navbar__link_catalog {
  color: #3D5AFE;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.navbar__link_catalog::before {
  content: '';
  background-color: rgb(61, 90, 254, .5);
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  top: -4px;
  border-radius: 70%;
  filter: blur(40px);
  opacity: 0;
}

.navbar__link_catalog.navbar__link_active::before {
  opacity: 1;
}

.navbar__link-icon {
  display: inline-block;
  width: 24px;
  font-size: 0;
  line-height: 4px;
  margin-right: 10px;
}

@media (max-width: 991.98px) {
  .navbar__link {
    display: block;
    color: #fff;
    font-size: 26px;
    line-height: 28px;
    font-weight: 300;
    padding: 12px 0px;
    -webkit-text-stroke: initial;
  }

  .navbar__link:hover {
    color: #fff;
  }

  .navbar__link_highlighted {
    padding: 12px 0px;
  }
  
  .navbar__list, 
  .navbar__item {
    display: block;
  }

  .navbar__link_catalog .navbar__link-icon {
    display: none;
  }
}