:root {
    /* панель: минимум 235px, растёт как 18vw от ширины окна, потолок 320px */
    --sidebar-w: clamp(235px, 18vw, 320px);
    /* отступ контента = ширина панели + 1px зазор (наследие 236 = 235 + 1) */
    --content-gap: calc(var(--sidebar-w) + 1px);
}


/************************************************************************************
шапка сайта 
*************************************************************************************/
.container_hat {
	padding: 0 0 5px 5px ;
/*	border: solid 1px orange;  */ 
}

.hr_border_mobile {
    display: none;
}

.search_block {
	padding: 5px 0 0 0;
	font-size:x-small;       
	text-align: center;
    	vertical-align: middle;
	align-items: center;
    	justify-content: center;
	white-space: nowrap;
}

.search_form {
	column-width: 60%;
	column-count: 1;
	column-gap: 1%;
/*	background: #fff2e1;   */
}
                    
.search_where {
	white-space: normal;	
	display: inline-block;
	width: 88px;
	vertical-align: top;
/*	background: #fff2e1;   */
	margin-top: 2px;
        text-align: left;
}

.search_block .search_where:first-child {
	margin-right: 1%;
}

/************************************************************************************
рабочая область страницы 
*************************************************************************************/
.container {
	width:100%; 
	height: auto;
/*	border: solid 1px orange;  */
}

.rows {
	width:100%;
/*	border: solid 1px orange;  */

}

/************************************************************************************
левая колонка страницы
*************************************************************************************/
.menubar {
	width: var(--sidebar-w);
	float: left;
/*	border: solid 1px orange;  */  
}

.lm:link {COLOR: #0000cc;}
.lm:visited {COLOR: #0000cc;}
.lm:hover {COLOR: #cc0000;}
.lm:active {COLOR: #cc0000;}

.menu_icon {
    font-size: 16px;
    color: #4f6b84;
}

/************************************************************************************
центральная колонка главной страницы
*************************************************************************************/
.content {
	padding: 0 20px;
	margin-left: var(--content-gap);
	margin-right: var(--content-gap);
/*	border: solid 1px orange;  */
}

.viewer {
	color: #000000; 
	font-size: 16px; 
	text-align: justify;
/*	border: solid 1px orange;  */
}

.date_viewer {
	font-size: 20px; 
	width: 100%;
	text-align: right;
}

/************************************************************************************
правая колонка главной страницы
*************************************************************************************/
.sidebar {
	width: var(--sidebar-w);
	float: right;
  padding-left: 10px;
/*	border: solid 1px orange;  */
}

.ads {
  text-align: left;
}

.ads-img {
  text-align: left;
  width: 100%;
  border: none;
}

.widget {
	margin: 0 0 30px;
	padding: 10px 20px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/************************************************************************************
прокрутка вверх
*************************************************************************************/
.upbutton {
    opacity: 0.8;
    z-index: 9999;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: -80px;
    right: 20px;
    cursor: pointer;
    border:2px solid #eee;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
    transition: all .7s ease-in-out;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #337AB7;
    background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTYuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjMycHgiIGhlaWdodD0iMzJweCIgdmlld0JveD0iMCAwIDQ0NC44MTkgNDQ0LjgxOSIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgNDQ0LjgxOSA0NDQuODE5OyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+CjxnPgoJPHBhdGggZD0iTTQzMy45NjgsMjc4LjY1N0wyNDguMzg3LDkyLjc5Yy03LjQxOS03LjA0NC0xNi4wOC0xMC41NjYtMjUuOTc3LTEwLjU2NmMtMTAuMDg4LDAtMTguNjUyLDMuNTIxLTI1LjY5NywxMC41NjYgICBMMTAuODQ4LDI3OC42NTdDMy42MTUsMjg1Ljg4NywwLDI5NC41NDksMCwzMDQuNjM3YzAsMTAuMjgsMy42MTksMTguODQzLDEwLjg0OCwyNS42OTNsMjEuNDExLDIxLjQxMyAgIGM2Ljg1NCw3LjIzLDE1LjQyLDEwLjg1MiwyNS42OTcsMTAuODUyYzEwLjI3OCwwLDE4Ljg0Mi0zLjYyMSwyNS42OTctMTAuODUyTDIyMi40MSwyMTMuMjcxTDM2MS4xNjgsMzUxLjc0ICAgYzYuODQ4LDcuMjI4LDE1LjQxMywxMC44NTIsMjUuNywxMC44NTJjMTAuMDgyLDAsMTguNzQ3LTMuNjI0LDI1Ljk3NS0xMC44NTJsMjEuNDA5LTIxLjQxMiAgIGM3LjA0My03LjA0MywxMC41NjctMTUuNjA4LDEwLjU2Ny0yNS42OTNDNDQ0LjgxOSwyOTQuNTQ1LDQ0MS4yMDUsMjg1Ljg4NCw0MzMuOTY4LDI3OC42NTd6IiBmaWxsPSIjRkZGRkZGIi8+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==)
}
.upbutton:hover {
    opacity: 1;
    background-color: #337AB7;
}

/************************************************************************************
размерные иконки
*************************************************************************************/
.icon_24 {
    font-size: 24px;
}

/************************************************************************************
вывод новостей take, 
*************************************************************************************/

.red {
  border: #cfcfcf 1px dashed;	
  padding-top: 6px;
  padding-left: 32px;
  padding-right: 6px;
  padding-bottom: 6px; 
	margin-top: 8px; 
	margin-bottom: 16px; 
	line-height: 18px; 
	background-color: #f3f3f3
}

.border_dashed {
	margin: 0 0 10px var(--content-gap);
	border: solid 1px #ffffff;
	padding: 5px;
}

.border_dashed .dashed {
	padding: 2.1875rem; /* при html font-size = 16px, 2.1875rem = 35px; */
	font-size: 16px; 
	border: dashed 2px #CCCCCC;
}

.header_user {
    	-webkit-box-orient: horizontal;
    	-webkit-box-direction: normal;
    	-webkit-flex-direction: row;
    	-ms-flex-direction: row;
    	flex-direction: row;
        padding-bottom: 2.1875rem;
}

.over_comments {
    	-webkit-flex-basis: 0;
    	-ms-flex-preferred-size: 0;
    	flex-basis: 0;
    	-webkit-box-flex: 1;
    	-webkit-flex-grow: 1;
    	-ms-flex-positive: 1;
    	flex-grow: 1;
    	margin-right: 30px;
	float: left;
}

.over_avatar {
    	-webkit-box-align: center;
    	-webkit-align-items: center;
    	-ms-flex-align: center;
    	align-items: center;
    	-webkit-align-self: center;
    	-ms-flex-item-align: center;
    	align-self: center;
    	display: block;
    	-webkit-box-flex: 0;
    	-webkit-flex: none;
    	-ms-flex: none;
    	flex: none;
    	-webkit-box-pack: center;
    	-webkit-justify-content: center;
    	-ms-flex-pack: center;
    	justify-content: center;
}

.avatar_canvas {
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.avatar {
	width: 150px; 
	height: 150px;
	background-color: #fafafa;
/*	background-color: rgba(var(--b3f,250,250,250),1); */
	border-radius: 50%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: block;
	-webkit-box-flex: 0;
	-webkit-flex: 0 0 auto;
	-ms-flex: 0 0 auto;
	flex: 0 0 auto;
	overflow: hidden;
	position: relative;
}

.comments_user {
  -webkit-flex-basis: 30px;
  -ms-flex-preferred-size: 30px;
  flex-basis: 30px;
  -webkit-box-flex: 2;
  -webkit-flex-grow: 2;
  -ms-flex-positive: 2;
  flex-grow: 2;
}

.info_row_address {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_address:before {
	font-family: 'icomoon';
        content: "\e90b";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.info_row_phone {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_phone:before {
	font-family: 'icomoon';
        content: "\e904";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.info_row_toemail {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_toemail:before {
	font-family: 'icomoon';
        content: "\e901";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
} 

.info_row_web {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_web:before {
	font-family: 'icomoon';
        content: "\e902";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.info_row_telegram {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_telegram:before {
	font-family: 'icomoon';
        content: "\ea95";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

.info_row_vk {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_vk:before {
	font-family: 'icomoon';
        content: "\ea98";
	font-size: 20px;
  background-size: cover;
  height: 20px;
  width: 20px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
/*  background-image: url(../img/images/vk.gif); */
/*  border-radius: 50%;  */
/*  margin-left: -24px;  */
}

.info_row_instagram {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_instagram:before {
	font-family: 'icomoon';
        content: "\ea92";
	font-size: 20px;
  	background-size: cover;
  	height: 20px;
  	width: 20px;
  	margin-right: 5px;
  	display: inline-block;
  	vertical-align: middle;
/*  background-image: url(../img/images/instagram.gif); */
/*  border-radius: 50%;  */
/*  margin-left: -24px;  */

}

.picture {
	max-width: 100%; /* устанавливаем до 100% */
	height: auto;
	border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  margin: 0 9px 11px 0;
  box-shadow: 5px 7px 5px 0 rgba(0, 0, 0, 0.3);
}

.video_vk {
  width: 100%;
  padding-bottom:  100%;
  border: 0;
}

#videoportal {
	max-width: 100%; /* устанавливаем до 100% */
	height: auto;
	min-height: 300px;
}

/************************************************************************************
вывод Бизнес-каталога фирм и компаний addfirm, searchfirm, viewfirm
*************************************************************************************/
/****** Стили для Яндекс-карты *******/
        #messageHeader {
            height: 20px;
        }

        #footer {
            width: 376px;
            background-color: #f2f2ef;
            padding: 12px;
	          display: none;
        }

        #message {
            height: 76px;
        }

        /* карта — резиновая */
        #map {
            height: 160px;
            width: auto;
            max-width: 376px;
            margin: 0 12px 18px 0;
            position: relative;
	          display: none;
            border: 1px solid #999;
            border-radius: 3px;
        }



        .button {
            display: inline-block;
            font-size: 11px;
            color: rgb(68,68,68);
            text-decoration: none;
            user-select: none;
            margin: 3px;
            outline: none;
            border: 1px solid rgba(0,0,0,.1);
            border-radius: 2px;
            background: rgb(245,245,245) linear-gradient(#f4f4f4, #f1f1f1);
            transition: all .218s ease 0s;
            height: 28px;
            width: 74px;
            text-align: center;
        }

        .button:hover {
            color: rgb(24,24,24);
            border: 1px solid rgb(198,198,198);
            background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
            box-shadow: 0 1px 2px rgba(0,0,0,.1);
        }

        .button:active {
            color: rgb(51,51,51);
            border: 1px solid rgb(204,204,204);
            background: rgb(238,238,238) linear-gradient(rgb(238,238,238), rgb(224,224,224));
            box-shadow: 0 1px 2px rgba(0,0,0,.1) inset;
        }

        .input, .ya-site-form__input-text {
            height: 28px;
            padding: 4px;
            margin: 3px;
            border: 1px solid #999;
            border-radius: 3px;
            box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0);
            transition: .17s linear;
        }

        .input:focus {
            outline: none;
            border: 1px solid #FF7F00;
/*            box-shadow: 0 0 1px 1px #999; */
        }


        .ya-site-form__input-text:focus {
            outline: none;
            border: 1px solid #FF7F00;
        }

        .input_error, .input_error:focus {
            outline: none;
            margin: 3px;
            border: 1px solid #f33;
            box-shadow: 0 0 1px 1px #f33;
        }

        .input_text {
            height: 100px;
            margin-right: 10px;
            width: 350px;
            padding: 4px;
            margin: 3px;
            border: 1px solid #999;
            border-radius: 3px;
            box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0);
            transition: .17s linear;
        }

        .input_text:focus {
            outline: none;
            border: 1px solid #FF7F00;
/*            box-shadow: 0 0 1px 1px #999; */
        }

        #notice {
/*            position: absolute; */
            left: 22px;
            margin: 0px;
            top: 44px;
            color: #f33;
            display: none;
        }

        
/************************************************************************************
вывод разделов Меню издателя
*************************************************************************************/
.block_menu {
	margin: 0 0 10px var(--content-gap);
	padding: 10px 80px 10px 20px;
}

/************************************************************************************
вывод Погоды wheather, Сотрудничества coopir, Юмор/анекдоты wheeze, Информации(канал)
Мониторинг interrogation,
*************************************************************************************/
.weather, .block_coopir, .block_canal, .interrogation {
	margin: 0 0 10px var(--content-gap);
	border: solid 1px #ffffff;
	padding: 5px;
}

 .block_canal, .interrogation .dashed {
	padding: 2.1875rem; /* при html font-size = 16px, 2.1875rem = 35px; */
	font-size: 16px; 
	border: dashed 2px #CCCCCC;
	font-family: Verdana, Arial, Clean, Helvetica, sans-serif;
}

.weather_scroll {
	overflow: auto;
}

/************************************************************************************
нижний колонтитул сайта 
*************************************************************************************/

#clear {
	clear: both;
}

/************************************************************************************
экран тоньше чем 620
*************************************************************************************/
@media screen and (max-width: 620px) {
    :root {
        --sidebar-w: 0px;
        --content-gap: 0px;
    }
}

/************************************************************************************
экран тоньше чем 760
*************************************************************************************/
@media screen and (min-height:500px) and (max-height: 760px) {
.left-style {
	max-width: 55%; /* устанавливаем до 55% */
	height: auto; 
}

.image-style-side {
  float: right;
  margin-left: var(--ck-image-style-spacing);
  max-width: 50%;
}

}

/************************************************************************************
экран меньше чем 840
*************************************************************************************/
@media screen and (max-width: 840px) {

.content {
	padding: 0 35px;
	margin-left: var(--content-gap);
	margin-right: 0;
}

.sidebar {
	display: none;
}	

.viewer {
	FONT-SIZE: 14px; 
}

.date_viewer {
	FONT-SIZE: 17px; 
}

}

/************************************************************************************
экран меньше чем 620
*************************************************************************************/
@media screen and (max-width: 620px) {

.search_block {
	display: none;
}

.menubar {
	display: none;
}

.content {
	padding: 0 35px;
	margin-left: 0;
	margin-right: 0;
}

.border_dashed {
	margin: 0 0 10px 0;
}

.weather, .block_coopir, .block_canal, .interrogation {
	margin: 0 0 10px 0;
}

.viewer {
	FONT-SIZE: 13px; 
}

.date_viewer {
	FONT-SIZE: 16px; 
}

.avatar {
	width: 75px; 
	height: 75px;
}

}

/************************************************************************************
экран меньше чем 480
*************************************************************************************/
@media screen and (max-width: 480px) {

.page-header {
	background: #fff;
	padding: 0;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
}

.table_hat {
        display: none;
}

.hr_border_mobile {
        display: block; 
        position: relative;
        padding: 0;
        margin: 0;
        border: 0;
        border-top: 5px solid #e6e6f5;
        border-bottom: 1px solid #8d8dad;    
}

#videoportal {
	max-width: 100%; /* устанавливаем до 100% */
	height: auto;
	min-height: 100px;
}

#videoinstagram {
	height: 300px;
	max-width: 100%; 
  width: auto;
}

	/* disable webkit text size adjust (for iPhone) */
	html {
		-webkit-text-size-adjust: none;
	}

	/* main nav */
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}

.viewer {
	FONT-SIZE: 12px; 
}

.date_viewer {
	FONT-SIZE: 15px; 
}

}

/************************************************************************************
эстетитческое оформление
*************************************************************************************/
.return_link_page {
	padding: 0 25px 0 0;
	background: transparent url(../img/i/btn_return_green.png) no-repeat right center;
}

/************************************************************************************
адаптивное меню навигации по сайту
*************************************************************************************/
.navigation {
  height: 130px; 
  background: #fff;
}

.brand {
  display: none;
}
.brand a,
.brand a:visited {
  color: #000;
  text-decoration: none;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
}

nav {
  float: right;
}

nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 60px 0 0 0;
}

nav .nav-list li {
  float: left;
  position: relative;
  border-bottom: 1px solid #ccc;
}

nav .nav-list li a,
nav .nav-list li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 70px;
  background: #fff;
  color: #4f6b84;
  text-decoration: none;
  font-size: 16px;
}
nav .nav-list li a:hover,
nav .nav-list li a:visited:hover {
  background: #ffaf00;
  color: #060;
  text-decoration: none;
}

.nav-dropdown {
  position: absolute;
  display: none;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Mobile navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  height: 50px;
  width: 70px;
}


@media only screen and (max-width: 480px) {
  .nav-mobile {
    display: block;
  }
  .brand {
    display: block;
    position: absolute;
    left: 10px;
    top: 5px;
    cursor: pointer;
  }
  nav {
    width: 100%;
  }
  nav .nav-list {
    display: none;
  }
  nav .nav-list li {
    float: none;
  }
  nav .nav-list li a {
    padding: 15px;
    line-height: 20px;
  }
  nav .nav-list li ul li a {
    padding-left: 30px;
  }

  .nav-dropdown {
    position: static;
  }

  .ya-site-form {  /* убераем с экрана поисковик Яндекса */
    display: none;
  }

  #weather, #logo_big { /* убераем с экрана блок погоды */
   display: none;
  }
}

@media screen and (min-width: 480px) {
  .nav-list {
    display: none !important; /* убрать верхнее меню */
  }
}

/* мобильная ширина: меню скрыто до тапа по гамбургеру */
@media only screen and (max-width: 480px) {
  .nav-list {
    display: none;
  }
  .nav--open .nav-list {
    display: block;
  }
}

#nav-toggle {
  position: absolute;
  left: 20px;
  top: 12px;
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}
#nav-toggle span,
#nav-toggle span:before,
#nav-toggle span:after {
  cursor: pointer;
  border-radius: 1px;
  height: 5px;
  width: 35px;
  background: #c5c5d9; 
  position: absolute;
  display: block;
  content: '';
  transition: all 300ms ease-in-out;
}
#nav-toggle span:before {
  top: -10px;
}
#nav-toggle span:after {
  bottom: -10px;
}
#nav-toggle.active span {
  background-color: transparent;
}
#nav-toggle.active span:before, #nav-toggle.active span:after {
  top: 0;
}
#nav-toggle.active span:before {
  transform: rotate(45deg);
}
#nav-toggle.active span:after {
  transform: rotate(-45deg);
}

/************************************************************************************
...
*************************************************************************************/

@media screen and (max-width: 980px) {

	/* pagewrap */
	/* #pagewrap {
		width: 95%;
	} */

	/* content */
	/* #content {
		width: 60%;
		padding: 3% 4%;
	} */

	/* sidebar */
	/* #sidebar {
		width: 30%;
	} */
	/* #sidebar .widget {
		padding: 8% 7%;
		margin-bottom: 10px;
	} */

	/* embedded videos */
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}

}






/* отцентрированная цитата с автором */ 
.bbcode_container {
	display:block;
}
.bbcode_container .bbcode_quote {
	padding:5px 10px;
	position:relative;
	border:1px solid #947341;
	border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;
	background: #f8f6f2 none;
	font: italic  normal 17px Tahoma,Calibri,Verdana,Geneva,sans-serif;
}
.bbcode_container .bbcode_quote_container {
	background: transparent url(../images/quote.png) no-repeat left;
	display:block;
	width: 21px;
	height: 17px;
	position: relative;
	left: -20px;
	top: 13px;
}
.bbcode_container .bbcode_author {
	font: italic  normal 17px Tahoma,Calibri,Verdana,Geneva,sans-serif;
        color: #666666;
	padding:3px 3px 3px 20px;
	position:relative;
	background: #eeeeee url(../images/author.png) no-repeat 5px;
}

/* Разметка новостей*/
.canal-header {
    text-align: center;
    margin-bottom: 20px;
}

.canal-header-line {
    height: 6px;
    width: 100%;
    background: url('../../img/i/lm.gif') repeat-x;
    border-bottom: 1px dashed #ccc;
}

.canal-header-content {
    height: 31px;
    line-height: 31px;
    padding: 0 10px;
    text-align: left;
}

.canal-header-content img {
    vertical-align: middle;
    margin-right: 5px;
}

.coopir_content {
    padding: 15px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #222;
}

.coopir_content p {
    margin: 0 0 14px 0;
}

.coopir_heading {
    color: #990000;
    font-size: 17px;
    margin: 20px 0 10px 0;
}

.coopir_item_title {
    color: #009999;
    font-weight: bold;
    margin: 16px 0 4px 0;
}

.coopir_principles {
    font-weight: bold;
    margin-top: 25px;
}

.coopir_tocontinue {
    color: #ff0000;
}

/************************************************************************************
меню в шапке сайта
*************************************************************************************/
.top-menu {
    padding: 0;
}

/* Рекламная колонка (бывший .menu_ads_left) */
.top-menu__promo {
    float: left;
    padding: 0 5px;
    width: var(--sidebar-w);
}

.top-menu__promo-frame {
    min-height: 190px;
    font-size: 12px;
    line-height: 13.9pt;
    padding: 7px;
    border: 1px solid #cccccc;
}

.top-menu__promo-logo {
    margin: 0;
    text-align: center;
}

.top-menu__promo-links {
    text-align: left;
    margin-top: 10px;
}
/* Бывшие ссылки с инлайн-стилем font-size:11px;color:#DD5500 */
.top-menu__promo-link:link,
.top-menu__promo-link:visited,
.top-menu__promo-link:hover,
.top-menu__promo-link:active {
    color: #DD5500;
}
.top-menu__promo-link {
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
}
.top-menu__promo-link:hover {
    text-decoration: underline;
}
.top-menu__promo-arrow {
    border: 0;
    margin-left: 6px;   /* вместо &nbsp; перед стрелкой */
    margin-right: 4px;
    vertical-align: middle;
}

.top-menu__main {
    margin-left: var(--content-gap);
    text-align: center;
}

.top-menu__rule {
    width: 100%;
    height: 6px;
    background-image: url(../../img/i/lm.gif);
}

/* Полоска навигации: вместо таблицы 31px высотой */
.top-menu__navbar {
    display: flex;
    align-items: center;
    height: 31px;
    background-color: #ffffff;
    padding-left: 5px;
}

.top-menu__home img {
    display: block;
    border: 0;
}

/* Бывший td class=tn */
.top-menu__navbar-label {
    margin-left: auto;          /* метка и селект прижаты вправо, как было */
    font-weight: bold;
    font-size: 9pt;
    color: #4f6b84;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    white-space: nowrap;
}
.top-menu__navbar-label img {
    vertical-align: middle;
    margin-right: 4px;
}

.top-menu__navbar-select {
    margin-left: 4px;
}

/* Главное иконочное меню: вместо таблиц — флекс */
.top-menu__icons-bar {
    height: 81px;
    padding: 4px;
    background-color: #ffffff;
    background-image: url(../../img/i/fm.gif);
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-menu__icons-row {
    height: 72px;
    background-image: url(../../img/i/tmenu.gif);
    background-repeat: repeat-x;
    display: flex;
    align-items: stretch;
    margin-top: -1px;
}

/* Бывший td class=wc */
.top-menu__icon-item {
    width: 72px;
    font-size: 11px;
    line-height: 13.9pt;
    text-align: center;
}
.top-menu__icon-item a img {
    display: block;         /* вместо <br> после картинки */
    margin: 5px auto 2px;
    border: 0;
}

.top-menu__divider {
    flex-shrink: 0;
}

/* Дополнительная строка (бывшая таблица с .dm-ссылками) */
.top-menu__extra {
    height: 31px;
    padding-left: 10px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
}

.top-menu__extra-item img {
    vertical-align: middle;
    border: 0;
}
.top-menu__extra-item + .top-menu__extra-item {
    margin-left: 16px;      /* вместо &nbsp;&nbsp; */
}

/* Бывший класс dm: голубой, при наведении ярче */
.top-menu__extra-link:link,
.top-menu__extra-link:visited { color: #4E99E5; font-size: 11px; }
.top-menu__extra-link:hover,
.top-menu__extra-link:active { color: #55aaff; font-size: 11px; }

/* Бегущая строка котировок (бывший инлайн padding-top:2px) */
.top-menu__ticker {
    padding-top: 2px;
}

.top-menu__ticker-date {
    color: #4E99E5;
}

/* временно недоступные разделы: серые и без клика */
.top-menu__icon-item--off,
.top-menu__extra-item--off {
    opacity: 0.4;
    filter: grayscale(100%);
    pointer-events: none;
}

.top-menu__icon-item--off a,
.top-menu__extra-item--off a {
    cursor: default;
    text-decoration: none;
    color: #999999;
}

/* картинки не ссылаются — гасим только подложку ссылок */
.top-menu__icon-item--off a img,
.top-menu__extra-item--off img {
    opacity: 0.6;
}



@media screen and (max-width: 840px) {
    .top-menu__promo {
        display: none;
    }
    .top-menu__main {
        margin-left: 0;
        padding-left: 0;
        text-align: center;
    }
    /* ...остальные правила этого брейкпоинта без изменений... */
}

@media screen and (max-width: 620px) {
    .top-menu__icons {
        display: none;
    }
    /* ... */
}

@media screen and (max-width: 480px) {
    .top-menu__rule--top, .top-menu__navbar-label, .top-menu__navbar-select {
        display: none;
    }
    /* ... */
}

/************************************************************************************
нижний колонтитул сайта
*************************************************************************************/
.site-footer {
    clear: both;
    background: #ccc;
    padding: 5px;
}

.site-footer__frame {
    min-height: 150px;
    border: dashed 1px #ffffff;
}

.site-footer__info {
    width: 320px;
    float: left;
    padding-left: 10px;
    font-size: 10px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

.site-footer__links {
    line-height: 1.4;
}

.site-footer__rule {
    border: 0;
    border-top: 1px solid #ffffff;
    width: 300px;
    margin: 4px 0;
}

.site-footer__link {
    font-size: 10px;
}

.site-footer__copy {
    margin-top: 4px;
    line-height: 1.4;
}

.site-footer__extra {
    float: right;
    padding: 5px;
    text-align: right;
}

.site-footer__counter {
    border: 0;
}

/* временно недоступные ссылки футера: серые и без клика */
.site-footer__link--off {
    color: #999999;
    filter: grayscale(100%);
    opacity: 0.6;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

@media screen and (max-width: 620px) {
  .site-footer__extra { display: none; }
}

/************************************************************************************
шапка сайта
*************************************************************************************/
.page-header {
    padding: 0 0 5px 0;
}

/* бывшая таблица .table_hat: погода | логотип | поиск */
.page-header__inner {
    display: flex;
    align-items: center;
}

.page-header__weather {
    width: 30%;
    padding-left: 20px;
    font-size: 13px;
}

.page-header__weather-city {
    font-size: 16px;
}

/* бывший font color=#006600; font-size:10px */
.page-header__weather-date {
    color: #006600;
    font-size: 10px;
}

.page-header__weather-icon {
    float: left;
    border: 0;
}

/* бывшая <a class=lm><u>Погода</u></a> */
.page-header__weather-link {
    text-decoration: underline;
}

/* бывшие инлайн-цвета температур */
.page-header__temp-day {
    color: #cc5500;
    font-size: 16px;
}

.page-header__temp-night {
    color: #0000cc;
}

.page-header__logo {
    width: 40%;
    text-align: center;
}
.page-header__logo img {
    border: 0;
}

/* бывшая ячейка td width=30px (в оригинале кривая ширина с ";") */
.page-header__search {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.page-header__mobile-rule {
    display: none;
}

/************************************************************************************
поиск в шапке
*************************************************************************************/
.search-block {
    padding: 5px 0 0 0;
    font-size: x-small;
    text-align: center;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* кнопка-тумблер поиска: на десктопе скрыта */
.search-block__toggle {
    display: none;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 18px;
    color: #333333;
}

/* кнопка закрытия окошка: видна только в мобильном режиме */
.search-block__close {
    display: none;
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    padding: 0;
    line-height: 14px;
    text-align: center;
    background: none;
    border: 1px solid #cccccc;
    border-radius: 50%;
    cursor: pointer;
    font-size: 11px;
    color: #333333;
}


.search-block__form {
    column-width: 60%;
    column-count: 1;
    column-gap: 1%;
}

.search-block__row {
    text-align: center;
}

.search-block__option {
    white-space: normal;
    display: inline-block;
    width: 88px;
    vertical-align: top;
    margin-top: 2px;
    text-align: left;
}
.search-block__option:first-child {
    margin-right: 1%;
}

/* кнопка: остаётся на общем .button, добавка была инлайном */
.search-block__submit {
    width: 30px;
    font-size: 13px;
    text-align: center;
}

/* бывшие font color=... у названий поисковиков */
.search-block__engine-dv    { color: green; }
.search-block__engine-ya    { color: #ff0000; }
.search-block__engine-blue  { color: blue; }
.search-block__engine-yellow{ color: yellow; }
.search-block__engine-green { color: green; }
.search-block__engine-red   { color: red; }
.search-block__engine-naver { color: #19ce60; }

/* поиск внутри мобильного меню: на десктопе не показывается */
.nav-list__search {
    display: none;
}

.search-block--nav {
    display: block;
    padding: 10px 15px;
    white-space: normal;
}

/************************************************************************************
рабочая область страницы
*************************************************************************************/
.layout {
    clear: both;      /* вместо пустого div#clear */
}

.layout__columns {
    width: 100%;
    height: auto;
}

/************************************************************************************
левая колонка страницы
*************************************************************************************/
.layout__sidebar {
    width: var(--sidebar-w);
    float: left;
}

@media screen and (max-width: 670px) {
    
  .page-header__search .search-block { display: none; }

  .page-header__inner {
      align-items: flex-start;   /* было center — тянуть блоки к верху */
  }

  .page-header__search {
      display: flex;
      justify-content: flex-end;
      align-items: flex-start;
  }

  .search-block__toggle { display: inline-block; }

  /* открытый поиск превращается в окошко */
  .page-header__search .search-block--open {
      display: block;
      position: fixed;
      top: 8px;
      right: 8px;
      z-index: 1000;
      width: 230px;
      padding: 10px;
      background: #ffffff;
      border: 1px solid #cccccc;
      border-radius: 4px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      white-space: normal; /* снимаем nowrap, чтобы опции переносились в окошке */
  }

  .search-block--open .search-block__close { display: block; }
}


@media screen and (max-width: 620px) {
    .layout__sidebar { display: none; }
    .top-menu__icons { display: none; }
    .site-footer__extra { display: none; }
}

@media screen and (max-width: 480px) {
    .page-header__inner { display: none; }   /* бывший .table_hat */
    .page-header__mobile-rule {
        display: block;
        position: relative;
        padding: 0;
        margin: 0;
        border: 0;
        border-top: 5px solid #e6e6f5;
        border-bottom: 1px solid #8d8dad;
    }

    .nav-list__search {
        display: block;
    }
    /* правила #weather, #logo_big удаляем: их прячет .page-header__inner */
    /* ...остальное без изменений... */
}

nav .nav-list .search-block__engine-link {
    display: inline-block;
    padding: 0;
    font-size: 10px;
    line-height: normal;   /* гасим и менюшные 20px заодно */
}

@media only screen and (max-width: 480px) {
  .navigation {
    height: 50px; 
  }

  .top-menu {
      padding: 40px 0 0;
  }
}


@media only screen and (max-width: 480px) {
    .nav-list {
        display: none;
    }
    .nav--open .nav-list {
        display: block;
        animation: nav-open 2s ease;
    }
}

@keyframes nav-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}