/************************************************************************************
шапка сайта 
*************************************************************************************/
.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_menu_hat {
/*	height: 181px; */
	padding: 0px;
/*	border: solid 1px orange;  */
}

.menu_ads_left {
 	float: left;
	padding: 0 5px 0 5px;
/*	border: solid 1px orange;  */
}

.menu_hat_left {
	width: 225px;
	height: 190px;
	font-size: 12px;
        line-height: 13.9pt;
	padding: 7px;
	border:1px solid #cccccc;
}

.menu_hat_right {
	margin-left: 238px;
	text-align: center;
/*	border: solid 1px orange;  */
}

.border_top_menu_hat_right {
        display: inline-block;
        width: 100%;
        height: 6px; 
        background-image: url(../../img/i/lm.gif);
}

.main_menu {
}

.menu_add {
	height: 31px;
	padding-left: 10px;
/*	border: solid 1px orange;  */
}

/************************************************************************************
рабочая область страницы 
*************************************************************************************/
.container {
	width:100%; 
	height: auto;
/*	border: solid 1px orange;  */
}

.rows {
	width:100%;
/*	border: solid 1px orange;  */

}

/************************************************************************************
левая колонка страницы
*************************************************************************************/
.menubar {
	width: 235px;
	float: left;
/*	border: solid 1px orange;  */  
}

.lm:link {COLOR: #0000cc;}
.lm:visited {COLOR: #0000cc;}
.lm:hover {COLOR: #cc0000;}
.lm:activе {COLOR: #cc0000;}

.menu_icon {
    font-size: 16px;
    color: #4f6b84;
}

.menu_button {
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
    padding: 5px 3px;
    margin: 0px;
    outline: none;
    border-radius: 4px;
    transition: all .218s ease 0s;
    height: 28px;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.menu_button:hover {
    background: #f7f7f7 linear-gradient(#f7f7f7, #f1f1f1);
    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    text-decoration: none; 
}

.menu_button:active {
    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;
    text-decoration: none;
}
        
/************************************************************************************
центральная колонка главной страницы
*************************************************************************************/
.content {
	padding: 0 35px;
	margin-left: 236px;
	margin-right: 231px;
/*	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: 230px;
	float: right;
/*	border: solid 1px orange;  */
}

.ads {
	text-align: left;	
}

.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_16 {
    font-size: 16px;
}

.icon_24 {
    font-size: 24px;
}

.icon_32 {
    font-size: 32px;
}

/************************************************************************************
вывод новостей 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 236px;
	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_comment {
    	padding-top: 5px;
    	padding-left: 0px;
}

.info_row_comment:before {
	font-family: 'icomoon';
        content: "\e908";
	font-size: 20px;
  	background-size: cover;
  	height: 20px;
  	width: 20px;
  	margin-right: 5px;
  	display: inline-block;
  	vertical-align: middle;
/*  background-image: url(../img/images/comment.gif); */
/*  border-radius: 50%;  */
/*  margin-left: -24px;  */
/*  position: absolute; */
/*  float: left; */

}

.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: 98%; /* устанавливаем до 100% */
	height: auto;
	width: auto\9; /* ie8 */
	border-radius: 4px;
    	-moz-border-radius: 4px;
    	-webkit-border-radius: 4px;
    	margin: 0 9px 11px 0;
    	box-shadow: 1px 3px 5px 0 rgba(0, 0, 0, 0.1);
}

.video_vk {
  width: 100%;
  padding-buttom: 100%;
  border: 0;
}

#videoportal {
	max-width: 100%; /* устанавливаем до 100% */
	height: auto;
	min-height: 300px;
	width: auto\9; /* ie8 */
}

/************************************************************************************
вывод Бизнес-каталога фирм и компаний addfirm, searchfirm, viewfirm
*************************************************************************************/
.block_firms {
	margin: 0 0 10px 236px;
	padding: 5px 0 10px 0;
/*	border: solid 1px orange;  */ 
}

.tree_firm_select {
	padding: 10px 0 0 0;
/*	border: solid 1px #eee;   */
}

.card_firm {
        text-align: center;
}

.firm_content {
        padding:7px;
        line-height: 13.9pt;
        font-size: 14px;
	border: 1px solid #cccccc;
        text-align: left;
        vertical-align: top;
}

.firm_detail_title {
	white-space: normal;	
	display: inline-block;
	width: 170px;
	vertical-align: top;
	margin-top: 2px;
        padding-top: 2px;
        text-align: right;
        border-top: 1px solid #cccccc; 
        color: #4e99e5;
}

.firm_container {
    display: grid;
    grid-template-columns: 170px auto;
    align-items: start;
}

.firm_detail {
	white-space: normal;	
	display: inline-block;
	vertical-align: top;
	margin-top: 2px;
        padding-left: 5px;
        text-align: left;
}

.firm_logo {
        display: inline-block;
        width: 170px;
        text-align: center;
        vertical-align: central;
}

/****** Стили для Яндекс-карты *******/
        #messageHeader {
            height: 20px;
        }

        #footer {
            width: 376px;
            background-color: #f2f2ef;
            padding: 12px;
	    display: none;
        }

        #message {
            height: 76px;
        }

        #map {
            height: 160px;
            width: 376px;
            margin: 0px 12px 18px 12px;
            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;
            padding: 0.5em;
            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 236px;
	padding: 10px 80px 10px 20px;
}

/************************************************************************************
вывод Погоды wheather, Сотрудничества coopir, Юмор/анекдоты wheeze, Информации(канал)
Мониторинг interrogation,
*************************************************************************************/
.weather, .block_coopir, .block_wheeze, .block_canal, .interrogation {
	margin: 0 0 10px 236px;
	border: solid 1px #ffffff;
	padding: 5px;
}

.block_wheeze, .block_canal, .interrogation .dashed {
	padding: 2.1875rem; /* при html font-size = 16px, 2.1875rem = 35px; */
	font-size: 16px; 
	border: dashed 2px #CCCCCC;
}

.weather_scroll {
	overflow: auto;
}

.search_right {
        text-align: right;
        position: relative;
        top: -2rem;
        left: 2rem;
}

/************************************************************************************
нижний колонтитул сайта 
*************************************************************************************/
.container_footer {
	background: #ccc;
	padding: 5px;
    	vertical-align: top;
}

.container_footer_dashed {
	border: dashed 1px white;
	height: 150px;
}

.footer_left {
	width: 320px;
	background: #ccc;
	vertical-align: top;
        font-family: Verdana;
	padding-left: 10px; 
	font-size: 10px;
	float: left;
}

.footer_right {
	vertical-align: top;
	text-align: right;
	float: right;

}

#clear {
	clear: both;
}

/************************************************************************************
экран тоньше чем 760
*************************************************************************************/
@media screen and (min-height:500px) and (max-height: 760px) {
.left-style {
	max-width: 55%; /* устанавливаем до 55% */
	height: auto; 
	width: auto\9; /* ie8 */
}

.image-style-side {
  float: right;
  margin-left: var(--ck-image-style-spacing);
  max-width: 50%;
}

}

/************************************************************************************
экран меньше чем 840
*************************************************************************************/
@media screen and (max-width: 840px) {

.menu_ads_left {
	display: none;
}

.menu_hat_right {
	margin-left: 0;
	padding-left: 0;
	text-align: center;
}

.content {
	padding: 0 35px;
	margin-left: 236px;
	margin-right: 0;
}

.sidebar {
	display: none;
}	

.tree_firm_select {
	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;
}

.main_menu {
	display: none;
}

.menu_add {
	display: none;
}

.footer_right {
	display: none;
}

.content {
	padding: 0 35px;
	margin-left: 0;
	margin-right: 0;
}

.border_dashed {
	margin: 0 0 10px 0;
}

.block_firms {
	margin: 0 0 10px 0;
}

.weather, .block_coopir, .block_wheeze, .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) {

.container_hat {
	background: #fff;
	padding: 0;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 1030;
}

.container_menu_hat {
	padding-top: 40px;
}

.border_top_menu_hat_right {
    display: none;
}

.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;
	width: auto\9; /* ie8 */
}

#videoinstagram {
	height: 300px;
	width: 200px;
}

	/* 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 {
  position: absolute;
  padding-left: 15px;
  padding-top: 0px;
  float: left;
  line-height: 70px;
  text-transform: uppercase;
  font-size: 1.4em;
}
.brand a,
.brand a:visited {
  color: #000;
  text-decoration: none;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
}

nav {
  float: right;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 60px 0 0 0;
}
nav ul li {
  float: left;
  position: relative;
  border-bottom: 1px solid #ccc;
}

nav ul li a,
nav ul li a:visited {
  display: block;
  padding: 0 20px;
  line-height: 70px;
  background: #fff;
  color: #4f6b84;
  text-decoration: none;
  font-size: 16px;
}
nav ul li a:hover,
nav ul li a:visited:hover {
  background: #ffaf00;
  color: #060;
  text-decoration: none;
}
nav ul li a:not(:only-child):after,
nav ul li a:visited:not(:only-child):after {
  padding-left: 4px;
  content: ' ?';
}
nav ul li ul li {
  min-width: 190px;
}
nav ul li ul li a {
  padding: 15px;
  line-height: 20px;
}

.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;
}
.brand {
  display: none;
}

@media only screen and (max-width: 480px) {
.navigation {
  height: 50px; 
}
  .nav-mobile {
    display: block;
  }
  .brand {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
  }
  nav {
    width: 100%;
  }
  nav ul {
    display: none;
  }
  nav ul li {
    float: none;
  }
  nav ul li a {
    padding: 15px;
    line-height: 20px;
  }
  nav ul 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; /* убрать верхнее меню */
  }
}

#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);
}

/************************************************************************************
...
*************************************************************************************/







/* -- primer ---------------------------------------------------------- */
.primer { 
	width: 300px; 
	background: #9affe8;
	padding: 5px;
	padding-right: 25px; 
	border: solid 1px orange; 
	float: right;
}

@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;
	}

}