/*
Theme Name: ProfitMag
Theme URI: https://rigorousthemes.com/downloads/profitmag/
Author: Rigorous Themes
Author URI: http://rigorousthemes.com/
Description: ProfitMag is a clean and responsive magazine theme with elegant design suitable for blog, magazine, news or any editorial websites. It comes with a highly customizable theme customizer that let you manage the website at an instant. It is suitable for news, magazine, publishing, media houses, tv channels, journal and other editorial websites. For live preview: https://demo.rigorousthemes.com/profitmag/
Version: 2.1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: profitmag
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, one-column, two-columns, three-columns, sticky-post, theme-options, threaded-comments, translation-ready, footer-widgets, blog, news, education, entertainment

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

ProfitMag is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
*/
/*! normalize.css v3.0.1 | MIT License | git.io/normalize */


html{
    font-family:sans-serif;
    -ms-text-size-adjust:100%;
    -webkit-text-size-adjust:100%
}

body{
    margin:0
}

article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{
    display:block
}
audio,canvas,progress,video{
    display:inline-block;
    vertical-align:baseline
}
audio:not([controls]){
    display:none;height:0
}

[hidden],template{
    display:none
}
a{
    background:transparent
}
a:active,a:hover{
    outline:0
}
abbr[title]{
    border-bottom:1px dotted
}
b,strong{
    font-weight:bold
}
dfn{
    font-style:italic
}
h1{
    font-size:2em;margin:0.67em 0
}
mark{
    background:#ff0;color:#000
}
small{
    font-size:80%
}
sub,sup{
    font-size:75%;
    line-height:0;
    position:relative;
    vertical-align:baseline
}
sup{
    top:-0.5em
}
sub{
    bottom:-0.25em
}
img{
    border:0;
    max-width:100%;
}
svg:not(:root){
    overflow:hidden
}
figure{
    margin:1em 40px
}
hr{
    -moz-box-sizing:content-box;
    box-sizing:content-box;
    height:0
}
pre{
    overflow:auto
}
code,kbd,pre,samp{
    font-family:monospace, monospace;font-size:1em
}
button,input,optgroup,select,textarea{
    color:inherit;font:inherit;margin:0
}
button{
    overflow:visible
}
button,select{
    text-transform:none
}
button,html input[type="button"],input[type="reset"],input[type="submit"]{
    -webkit-appearance:button;
    cursor:pointer
}
button[disabled],html input[disabled]{
    cursor:default
}
button::-moz-focus-inner,input::-moz-focus-inner{
    border:0;padding:0
}
input{
    line-height:normal
}
input[type="checkbox"],input[type="radio"]{
    box-sizing:border-box;
    padding:0
}
input[type="number"]::-webkit-inner-spin-button,input[type="number"]::-webkit-outer-spin-button{
    height:auto
}input[type="search"]{
    -webkit-appearance:textfield;
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box
}
input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{
    -webkit-appearance:none
}
fieldset{
    border:1px solid #c0c0c0;margin:0 2px;
    padding:0.35em 0.625em 0.75em
}
legend{
    border:0;padding:0
}
textarea{
    overflow:auto
}
optgroup{
    font-weight:bold
}
table{
    border-collapse:collapse;
    border-spacing:0
}
td,th{
    padding:0
}


/*--------------------------------------------------------------
Menus
--------------------------------------------------------------*/



   
.leftstr, .rightstr { /******************************************************************************** Добавил классы .leftstr, .rightstr  */
    float: left; /* Обтекание справа */ 
    width: 50%; /* Ширина текстового блока */ 
    visibility:hidden;  /******************************************************************************** Скрыл заголовки Предыдущей и Следующей записи */
   }
   .rightstr {
    text-align: right; /* Выравнивание по правому краю */ 
    visibility:hidden;
   }

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 1.5em;
	left: -999em;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	left: auto;
}
.main-navigation ul ul li:hover > ul {
	left: 100%;
}
.main-navigation .current_page_item a,
.main-navigation .current-menu-item a {

}


.site-main .comment-navigation,
.site-main .paging-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
	overflow: hidden;
}
.comment-navigation .nav-previous,
.paging-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}
.comment-navigation .nav-next,
.paging-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/*--------------------------------------------------------------
7.0 Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/*--------------------------------------------------------------
Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/*--------------------------------------------------------------
Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
Posts and pages
--------------------------------------------------------------*/
.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/*--------------------------------------------------------------
Asides
--------------------------------------------------------------*/
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}

/*--------------------------------------------------------------
Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/*--------------------------------------------------------------
Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}
/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
Media
--------------------------------------------------------------*/
.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}

/*--------------------------------------------------------------
Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/*--------------------------------------------------------------
Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}
.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}
.gallery-columns-2 .gallery-item {
	max-width: 50%;
}
.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}
.gallery-columns-4 .gallery-item {
	max-width: 25%;
}
.gallery-columns-5 .gallery-item {
	max-width: 20%;
}
.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}
.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}
.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}
.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}
.gallery-caption {}


/****************************************************************************************************************/

/*** For Browser Support ***/


.browsehappy{
	background:#555;
	color:#fff;
	text-align:center;
	padding:10px 0;
}

.browsehappy a{
	color:yellowgreen;
}


/*** UNIVERSAL CSS ***/


.clear{
	clear:both;
}

.clearfix:after, .clearfix:before{ display:table; content:""}
.clearfix:after{ clear:both;}
.clearfix{*zoom:1}
*{ box-sizing:border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;}


body {
	background: #eeeeef;
	color: #000000;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    line-height: 22px;
}


.boxed-layout #page {
-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#999)";/*IE 8*/
-moz-box-shadow: 0px 0px 12px #999;/*FF 3.5+*/
-webkit-box-shadow: 0px 0px 12px #999;/*Saf3-4, Chrome, iOS 4.0.2-4.2, Android 2.3+*/
box-shadow: 0px 0px 12px #999;/* FF3.5+, Opera 9+, Saf1+, Chrome, IE10 */
filter: progid:DXImageTransform.Microsoft.Shadow(Strength=3, Direction=135, Color=#999); /*IE 5.5-7*/

    background: none repeat scroll 0 0 #ffffff;
    margin: 0 auto;
    width: 1230px;
}


.wrapper {
	background: #ffffff;
    margin:0 auto;
    padding: 0 30px;
    width: 1230px;
}


.f-left{
	float: left;
}

.f-right{
	float: right;
}

.t-center{
	text-align: center;
}

a{
	color:inherit;
	text-decoration: none;
	transition:all 0.3s ease-in-out 0s;
	-webkit-transition:all 0.3s ease-in-out 0s;
    -moz-transition:all 0.3s ease-in-out 0s;
}


p{
	margin: 0 0 16px;
        color:#000000;
}

.pcomments{
 word-wrap: break-word;
 padding:0 0 0 140px;
}

h1, h2, h3, h4, h5, h6{
	font-weight: 700;
	margin: 0 0 16px;
}

ul{
	margin: 0;
	padding: 0;
}

figure{
	margin: 0;
}

i.fa{
	margin-right: 9px;
}

/****************************** ADDED BY SHISHTA **********************************/

/*-----------------*\
    #HEADER
\*-----------------*/


.top-header-block{
	background: #000000;
}

/***** TICKER *****/

.ticker-wrapper.has-js{
	background: none;
	border-radius: 0;
	/*height: auto;*/
	margin: 0;
	padding:0;
	width: 400px;
}

.ticker{
	background: none;
	height: auto;
    overflow: visible;
    position: static;
	width: 400%;
}

.ticker-title, .ticker-content, .ticker-content a{
	background: none;
	color: #ffffff;
	line-height: 40px;
	padding: 0 0 0 13px;
}

.ticker-title{
	
	line-height: 40px;
	padding: 0 18px;	
}

.wrapper .ticker-swipe {
    background: none !important;
}

.ticker-wrapper.has-js{
	font-size: 14px;
}

.header-latest-posts.f-left {
    color: #fff;
    width: 100%;  /*************************Было 900px**************************/
    position: relative;
    overflow: hidden;
}

.header-latest-posts.f-left .latest-post-title {
    
    display: inline-block;
    float: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 40px;
    padding: 0 18px;
    text-transform: uppercase;
}



.ticker-content > a {
	padding-left: 0;
}

.ticker-content a:hover{

	text-decoration: none;
}

.ticker-swipe span{
	display: none !important;
}

/*************************************/

/***** SOCIALS *****/

.socials a{
	color: #ffffff;
	display: inline-block;
	font-size: 18px;
	line-height: 36px;
	margin-left: 12px;
}

.socials a:first-child{
	margin-left: 0;
}



/*************************************/

/***** LOGO & ADDS *****/

.site-branding{
	padding: 15px 0 9px;
}

.site-logo.f-left > a {
    display: inline-block;
    padding-top: 20px;
}

a.site-title {
    font-size: 36px;
    text-transform: uppercase;   
    line-height: 36px; 
}

.site-logo.f-left {
    width: 32%;
}

.site-logo.f-left img {
    width: 100%;
    height: auto;
}

.baner-top.f-left {
    width: 100%;
    overflow: hidden;
}

.baner-top.f-left img {
    width: 100%;
	margin:15px 0 0 5px;
	padding: 15px 0 0 0;
}

/**
.baner-top.f-left img {
    width: 87%;
	margin:15px 0 0 7%;
	padding:0;
        max-height:105px;
}
**/

@media only screen and (min-width: 375px) {
.baner-top.f-left {
    width: 68%;
    overflow: hidden;
}
    }

.header-ads.f-right {
    text-align: right;
    width: 67.5%;
    overflow: hidden;
}


.header-ads.f-right img {
    width: 100%;
}

/*************************************/


/***** HEADER-MENU *****/

.slicknav_menu, .responsive-slick-menu{
	display: none;
}

.header-wrapper #site-navigation{
	background: #000000;	
	min-height: 50px;
    position: relative;
}

.home-icon {
    float: left;    
}

.main-navigation .home-icon a {
    padding: 10px 15px 5px;
}

.home-icon .fa {
    color: #ffffff;
    font-size: 30px;
    margin-right: 0;
}

.header-wrapper .home-icon{	
	background:url(images/menu-bg.png) repeat-y scroll right top #000000;	
	position: static;
}

.menu-main-menu-container{
	float: left;
}

.header-wrapper .desktop-menu .menu{
	display: inline-block;
	float: left;	
    position: absolute;
    top: 0;
}

/***** HEADER-MENU Right Aligned *****/
.header-wrapper .menu-right .desktop-menu .menu{
	float: right;
	right: 0;
}
.main-navigation.menu-right ul ul li:hover > ul{
	right: 100%;
	left: auto;
}

.header-wrapper .menu li{	
	background:url(images/menu-bg.png) repeat-y scroll right top #000000;	
	position: static;
}

.header-wrapper .menu > li.current-menu-item > a, .header-wrapper .menu > li.current-menu-parent > a, .header-wrapper .menu > li.current_page_parent > a, .header-wrapper .menu > li.current_page_ancestor > a{
	color: #ffffff;
}

.header-wrapper .menu > li.current-menu-item > a:before, .header-wrapper .menu > li.current-menu-parent > a:before, .header-wrapper .menu > li.current_page_parent > a:before, .header-wrapper .menu > li.current_page_ancestor > a:before{	
	content: '';
	height: 4px;
	left: 0;
	position: absolute;
	top: -4px;
	width: 100%;
}

.header-wrapper .menu li a{
	color:#ffffff;
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 48px;
	padding: 0 25.4px;
	position: relative;
	text-transform: uppercase;
}

.header-wrapper .search-block{	
	display: none;
	float: right;    
	margin: 7px 10px;
	position:relative;
    width: 188px;
}

.header-wrapper .search-block input#s, .widget_search input#s{

	color: #000000;
	font-size: 13px;
	font-weight: 500;
	line-height: 31px;
	height: 31px;
	padding: 2px 23px 2px 8px;
	width: 100%;
}

.header-wrapper .search-block #searchsubmit, .widget_search #searchsubmit{
	background: url(images/search.png) no-repeat;
	border: none;
	cursor: transparent;
	font: 0/0 a;
	height: 15px;
	position: absolute;
	right: 7px;
	text-shadow:none;
	top:8px;
	width: 13px;
}

/*** SUB-MENU ***/

.header-wrapper .main-navigation ul ul.sub-menu {
    top: 50px;
}
.header-wrapper .main-navigation ul ul.sub-menu li{
    position: relative;
    float: none;
}
.header-wrapper .main-navigation ul ul.sub-menu ul.sub-menu {
    top: 0px;
}

.header-wrapper ul.sub-menu li a{
	font-size: 11.5px;
        padding:0 10px;
}

/*** MENU OPTIONS ***/

.header-wrapper .menu-right .menu-main-menu-container{
	float: right;
	left: auto;
	right: 0;
}

.header-wrapper .menu-right .menu li{
	background-position: left top;
}

.header-wrapper .menu-right .search-block{
	float: left;
}


/**********************************************************************************/
/**********************************************************************************/

/*-----------------*\
    #FOOTER
\*-----------------*/

/*** COMMON FOOTER CSS ***/

.site-footer{
	background:#131313;
}

.footer-wrapper{
	background: #000000;
	color: #ffffff;
	padding: 15px 0 0;
}

.footer-wrapper a{
	color: #ababab;
}


.footer-wrapper .border{
	border-top: 1px solid #1c1c1c;
	padding: 20px 0;
}

.footer-wrapper li{
	list-style-type: none;
}



.footer-wrapper .socials a{
	color: #ffffff;
}

.footer-wrapper .social-links{
	clear: both;
}



/***************************************/

.footer-wrapper .top-bottom{
	padding: 0 30px;
}

.footer-columns.full-col .col,
.footer-columns.half-col .col,
.footer-columns.four-cols .col {
	width: 25%;
	float: left;
}

.footer-columns.three-cols .col {
	width: 33%;
}

.footer-columns .col:last-child:after {
	content: "";
	clear: both;
	display: block;
}

#footer-bottom {    
   clear: both;
}
.footer-wrapper .col {
	display: inline-block;
	padding-left: 30px;
	vertical-align: top;	
}

.footer-wrapper .widget-title{
	border:none;
	color: #ffffff;
	font-size: 18px;
	line-height: 17px;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.footer-wrapper .widget-title span{
	border:none;
	width: auto;
}

.footer-wrapper .col li a{
	display: block;
	line-height: 36px;
	text-transform: uppercase;
}

#footer-bottom .clear{
	display: none;
}

#footer-bottom .footer-columns{
	border-top: 1px solid #1c1c1c;
	margin-top: 19px;
    padding: 25px 0;
}

.footer-columns .col.footer1 {
	padding-left: 0px;
}

#footer-bottom .footer-columns .widget-title{
	font-size: 16px;
	letter-spacing: -1px;
}

.footer-wrapper .eemail_textbox_class {	
    border: 1px solid #c02d19;
    border-radius: 0;
    color: #000000;
    height: 40px;
    font-size: 13px;
    font-weight: 500;
    line-height: 40px;
    padding: 5px 30px 5px 5px;
    width: 100%;
}

.footer-wrapper .eemail_textbox_button{
	color: transparent;
	font: 0/0 a;
	text-shadow:none;
	background: url(images/mail.png) no-repeat scroll center;
	border: none;
	height: 13px;
	width: 16px;
	-webkit-appearance:none;
}

.footer-wrapper .skype{
	color:#bdbdbd;
}

.footer-wrapper .mail{
	color:#e17474;
}



/**********************************************************************************/
/**********************************************************************************/

/*---------------------------*\
    #CONTENT-HOMEPAGE
\*---------------------------*/

.content-wrapper{
	padding-top: 13px;
}


/*** SLIDER AND FEATURED SECTION ***/

.slider-section {
    float: left;
    overflow: hidden;
    position: relative;
    width: 660px;
}

.slider-section .bx-wrapper .bx-viewport{
	background: none;
    border: none;  
    box-shadow: none;
    left:0px;
}

.slider-section .bx-wrapper li{
	cursor: pointer;
	overflow: hidden;
}

.slider-section .bx-wrapper img{
  float: left;
  transition: all 0.5s ease-in-out 0s;
  -webkit-transition:all 0.5s ease-in-out 0s;
  -moz-transition:all 0.5s ease-in-out 0s;
  width: 660px;
  height:380px;
}

.slider-section .bx-wrapper img:hover{
	transform: scale(1.1);
}

.slider-section .slider-desc{
background: rgb(0, 0, 0);
background: transparent;
background: rgba(0, 0, 0, 0.5);/* FF3+,Saf3+,Opera 10.10+,Chrome,IE9*/
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000);/*IE 5.5-7*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000,endColorstr=#7f000000)";/*IE8*/
zoom: 1;

	bottom: 0;
	color: #ffffff;
	left: 0;
	padding-bottom: 24px;
	position: absolute;
	width: 100%;
}

.slider-section .slide-title a{
	color: #ffffff;
	font-size: 20px;
	line-height: 24px;
}

.slider-section .slide-caption{
	font-size: 14px;
	line-height: 22px;
}

.slider-section .slide-date {   
    display: inline-block;
    font-size: 11px;
    padding: 4px 11px;
}

.slider-section .slide-date i{
	margin-right: 9px;
}

.slider-section .bx-controls-direction{
	bottom: 92px;
	position: absolute;
	right: 10px;
}

.slider-section .bx-controls-direction a{	
	color: transparent;
	display: inline-block;
	font:0/0 a;
	height: 30px;
	left: 0;
	margin: 0;
	position: relative;
	top:0;
	text-shadow:none;
	width: 30px;
}


.slider-section .bx-controls-direction a.bx-next{
	background-position: -38px 0;
	margin-left: 8px;
}


.slider-details {
    padding: 15px;
}

.besides-block{
	float: left;
	width: 510px;
}

.besides-block .beside-post{	
	float: left;
	margin:0 0 15px 15px;
	position: relative;
	width: 47%;
}

.besides-block .beside-thumb{
	margin: 0;
	overflow: hidden;
	position: relative;
	width: 240px;
        height: 180px;
}

.besides-block .overlay{
	background: rgba(0, 0, 0, 0.4);
	height: 100%;
	left: 0;
	position: absolute;
	top:0;
	width: 100%;
}

.besides-block .beside-post:hover .overlay{
	background: rgba(0, 0, 0, 0);
}

.besides-block .beside-post:hover img{
	transform: scale(1.1);
}

.besides-block .beside-thumb img{
	float: left;
	transition: all 0.5s ease-in-out 0s;
	-webkit-transition:all 0.5s ease-in-out 0s;
    -moz-transition:all 0.5s ease-in-out 0s;
	min-height:180px;
	min-width:240px;
	vertical-align: middle;
}

.besides-block .beside-caption{
	color: #ffffff;
	padding: 0 15px;
	position: absolute;
	bottom: 14px;
	left: 0;
	width: 120%;
}

.besides-block .beside-caption .post-title{
	font-size: 16px;
	line-height: 18px;
	margin: 0;
}

.besides-block .beside-caption .post-date{
	font-size: 12px;
	line-height: 24px;
}

.besides-block .beside-caption .post-date i{
	font-size: 11px;
	margin-right: 9px;
}

/************** END SLIDER ********************/

/***** HOME-CONTENT *****/

#primary{
	width: 73%;
}

.secondary-sidebar{
	width: 25.8%;
}

/*** RIGHT-SIDEBAR ***/

.right_sidebar #primary{
	float: left;
}

.right_sidebar .secondary-sidebar{
	float: right;
}

/*** LEFT-SIDEBAR ***/

.left_sidebar #primary{
	float: right;
}

.left_sidebar .secondary-sidebar{
	float: left;
}

/*** NO-SIDEBAR ***/

.no_sidebar #primary{
	width: 100%;
}


/*** BOTH-SIDEBAR ***/

.both_sidebar #primary-wrap{
	float: left;
	width: 73%;
}

.both_sidebar .secondary-sidebar{
	float: right;
	width:25%;
}

.both_sidebar #primary-wrap .secondary-sidebar{
	float: left;
	width: 32%;
}

.both_sidebar #primary-wrap #primary{
	float: right;
	width: 65%;
}

/*** COMMON TITLE ***/
.secondary-sidebar .widget-title, .profitmag_widget_popular_entries .widget-title{
	border-bottom: 1px solid #d9d9d9;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	margin-bottom: 15px;
	padding: 12px 0;
	position: relative;
	text-transform: uppercase;
}

.secondary-sidebar .widget-title:before, .profitmag_widget_popular_entries .widget-title:before{
	bottom: 0;
	content: '';	
	display: inline-block;
	left: 0;
	position: absolute;
	text-transform: uppercase;
	width: 140px;
	max-width: 100%;
}

.secondary-sidebar [class*='bordertitle-']{
	width: 140px;
}

.secondary-sidebar .widget-title span{
	display: block;
}

.block-title{
	border-bottom: 1px solid #d9d9d9;
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	margin-bottom: 15px;
	padding: 12px 0;
	position: relative;
	text-transform: uppercase;
}

.page-title{
	border-bottom: 1px solid #d9d9d9;	
	margin-bottom: 15px;
	padding: 15px 0;
	position: relative;
	text-transform: uppercase;
}

[class*='bordertitle-']{
	bottom:0px;
	border-bottom-width: 7px ;
	border-bottom-style:solid;
    display:inline-block;
    left: 0;
    position: absolute;
    text-transform: uppercase;
    width: 200px;
    max-width: 100%;
}

.feature-main-title{
	font-size: 16px;
	line-height: 18px;
	margin: 0 0 8px;
}

.feature-main-date{
	font-size: 12px;
	line-height: 24px;
}




/***** SECONDARY-SIDEBAR *****/

.secondary-sidebar .widget-area.sidebar{
	background:#f2f2f2;
	margin-bottom: 15px;
	padding: 15px;
}

.secondary-sidebar .widget-area.sidebar img{
	float: left;
	
}

#sidebar-section-ads-one, #sidebar-section-ads-two, #sidebar-section-mid-ads, #sidebar-section-side-mid{
	background: none;
	padding:0;
}

.secondary-sidebar .widget-area.sidebar li, .featured-post-sidebar{
	border-bottom: 1px solid #d9d9d9;
	list-style-type: none;
	margin-bottom: 15px;
	padding-bottom: 15px;
}

.view-all-link a{       
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    float: right;
    height: 30px;
    line-height: 26px;
    text-align: center;
    text-transform: uppercase;
    width: 79px;
}

.view-all-link a:hover{	
	color: #ffffff;
}


/*** RECENT POST ***/

.profitmag_widget_recent_entries .widget-image,
.footer-columns .profitmag_widget_popular_entries .widget-image,
.sidebar .profitmag_widget_popular_entries .widget-image
{
	float: left;	
	width: 35%;
	margin-right: 5%;
}

.profitmag_widget_recent_entries a,
.profitmag_widget_popular_entries a{
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
}

.sidebar .profitmag_widget_recent_entries p a,
.sidebar .profitmag_widget_popular_entries p a{
	float: left;
	width: 60%;
}

.profitmag_widget_popular_entries .post-date,
.profitmag_widget_recent_entries .post-date{
	margin: 0 0 16px;
}

.sidebar .profitmag_widget_popular_entries .post-date,
.sidebar .profitmag_widget_recent_entries .post-date{
	margin: 0;
}

.footer-columns .profitmag_widget_popular_entries li,
.sidebar .profitmag_widget_popular_entries li,
.footer-columns .profitmag_widget_recent_entries li,
.sidebar .profitmag_widget_recent_entries li{
 clear: both;
}
.footer-columns .profitmag_widget_popular_entries li .popular-image img,
.sidebar .profitmag_widget_popular_entries li .popular-image img,
.footer-columns .profitmag_widget_recent_entries li .recent-image img,
.sidebar .profitmag_widget_recent_entries li .recent-image img{
	float: none;
	width: 94%;
}
.footer-columns .profitmag_widget_popular_entries li .post-desc,
.sidebar .profitmag_widget_popular_entries li .post-desc,
.footer-columns .profitmag_widget_recent_entries li .post-desc,
.sidebar .profitmag_widget_recent_entries li .post-desc{
	font-size: 13px;
}
.footer-columns .profitmag_widget_popular_entries .widget-title{
	border-bottom: none;
	padding: 0;
	font-size: 18px;
	line-height: 17px;
}
.footer-columns .profitmag_widget_popular_entries .widget-title:before{
	border-bottom: 0;
}
/*** FEATURED POST ***/

.featured-post-sidebar .post-thumb{
	margin-bottom: 12px;
}

.featured-post-sidebar .post-date{
	font-size: 12px;
	line-height: 24px;
}

.featured-post-sidebar h3{
	font-size: 16px;
	line-height: 24px;
	margin: 0;
}

.featured-post-sidebar .side-excerpt{
	font-size: 14px;
	line-height: 22px;
	margin: 10px 0 0 0;
}

/*** PHOTO GALLERY ***/

.photogallery-wrap{
	margin-left: -11px;
}

.photogallery-wrap .nivolight{
	display: inline-block;
	float: left;
	margin:0 0 15px 11px;
	width: 29%;
}


/*** FACEBOOK SECTION ***/

#sidebar-section-side-mid .fb_iframe_widget{
	border:1px solid #000000;
}


/********** END SECONDARY SIDEBAR **************/

/***** PRIMARY-CONTENT *****/

.featured-post{
	float: left;
	margin:0 18px 16px 0;
	width: 31%;
}

.featured-post .post-thumb {    
    margin-bottom: 12px;
}

.featured-post .post-thumb img{
	float: left;
	width: 100%;
}

.featured-post .post-desc h3{
	font-size: 16px;
	line-height: 18px;
	margin-bottom: 8px;
}

.featured-post .post-desc .post-date{
	font-size: 12px;
	line-height:24px;
}

/****************************************/

.mid-section-ads img{
	width: 100%;
}

/*---------------------------*\
    #WIDGETS
\*---------------------------*/

/*** WIDGET-SEARCH ***/

.widget_search{
	position: relative;
	width: 100%;
}

/*** CALENDER ***/

#calendar_wrap #wp-calendar {
    width: 100%;
}

#calendar_wrap #wp-calendar caption {
    font-size: 13px;
    font-weight: 700;
    padding: 15px 0;
    text-align: center;
    text-transform: uppercase;
}

#calendar_wrap table, #calendar_wrap th, #calendar_wrap td, #calendar_wrap tr {
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-collapse: collapse;
    padding: 3px;
}

#calendar_wrap #wp-calendar th, #calendar_wrap #wp-calendar td {
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
}

#calendar_wrap th {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.03);
    line-height: 20px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}


#calendar_wrap #wp-calendar #today, #calendar_wrap #wp-calendar #today a {	
    color: #fff;
}

/*** ERROR404 ***/

.error404 #primary{
	text-align: center;
	width: 100%;
}

.error404 #primary .not-found{
	min-height: 400px;
	padding-top: 100px;
}


/**********************************************************************************/
/**********************************************************************************/
/*added by sadima*/

.home-featured-block.block-3 {
    background-color: fff;  /**************************************************** Заменил background-color: #f2f2f2; */
    margin: 0 0 15px;
    padding: 0 0 0;
}

.featured-post-three {
    float: left;
    margin: 0 2% 10px 0;
    min-height:136px;/*160px*/
    width: 18%;
}

.featured-post-three .feature-main-title {
    font-size: 14px;
}

.featured-excerpt-block {
    padding: 0 0 0 16px;
    border-bottom: 1px solid #d9d9d9;
}

.post-main-thumb{
	width:58%;/*488px*/
	float:left;
}


.post-main-desc{
	width:42%;/*350px*/
	float:right;
	padding:0 0 0  20px;
}

.featured-post-main {
    margin: 0 0 15px;
}

.featured-excerpt-block .featured-post{
	width:50%;
	margin:0 0 15px 0;
}

.post-thumb-small {
    width:24%; /*100px*/
    float: left;
}

.featured-post .post-main-desc{
    padding: 0 0 0 14px;
    width:71%; /*297px*/
    float: left;
}

.featured-excerpt-block .featured-post-main .post-main-desc h3 {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
}

.featured-excerpt-block .featured-post .post-main-desc h3 {
    font-size: 14px;
    margin:0;
}

.featured-excerpt-block .featured-post-main .post-excerpt {
    font-size: 14px;
    line-height: 22px;
}

.featured-excerpt-block .featured-post .post-excerpt {
    font-size: 13px;
}

.single-col{
	margin: 0 0 0 -30px;
}

.home-featured-block-single-col {
    float: left;
    width:46.6%; /*412px*/
    margin: 0 0 0 30px;
}

.featured-post-block-coltype .post-desc p{
	font-size:13px;
	line-height:22px;
}

.featured-post-block-coltype .post-thumb-mini {    
    float: left;
    height:auto; /*115px*/
    width: 42%;/*175px*/
}


.featured-post-block-coltype .post-thumb-mini.clearfix img {
    float: left;
    
}

.featured-post-block-coltype .post-desc {
    float: left;
    padding: 0 0 0 22px;
    width: 58%;/*235px*/
}

.featured-post-block-coltype{
    margin: 0 0 20px;
}

.popular-widget-area li{
	list-style-type:none;
}

.home-featured-block.popular-widget-area {
    border-top: 1px solid #d9d9d9;
     padding: 0 16px;
     border-bottom: 1px solid #d9d9d9;
}

.popular-widget-area li {
    float: left;
    list-style-type: none;
    margin: 0 0 0 16px;
    width: 193px;
}

.home-featured-block.popular-widget-area  ul {
    margin: 0 0 0 -16px;
}

.profitmag_widget_recent_entries li{
	clear: both;
}

.profitmag_widget_popular_entries li .post-desc,
.profitmag_widget_recent_entries li .post-desc{
	font-size:16px;
	font-weight:700;
	margin:12px 0 0;
}

.profitmag_widget_popular_entries li .popular-image img{
	float: left;
	width: 100%;
}

.profitmag_widget_popular_entries li .post-desc a, 
.profitmag_widget_recent_entries li .post-desc a{
	line-height: 22px;
}



.home-media-gallery .block-title {
    margin-left:16px;
}

.gallery-block{
	background-color:#f7f7f7;
	padding: 16px 18px 40px 18px;
}

#gallery-slider {
    margin: 0 0 9px;
}

.slides > li {
    list-style-type: none;
}

.slides > li img{
    width: 100%;
}

#gallery-carousel .slides  li {
    margin: 0 8px;
    width: 73px !important;
    float:left;
    list-style-type:none;
}

#gallery-carousel  li img {
   border:1px solid #545455;
}

#gallery-carousel {
    width:100%;/*818px*/
}


#gallery-carousel  li.flex-active-slide img,#gallery-carousel  li:hover img{
	border:1px solid #0c70b6;
}

#gallery-carousel  li:hover {
	cursor:pointer;
}


#gallery-carousel .flex-viewport{
	overflow:inherit !important;
}

#gallery-carousel .slides {
    /*width: 808px;*/
    height:45px;
}

#gallery-carousel .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: none repeat scroll 0 0 #101010;
}

#gallery-carousel .mCSB_horizontal > .mCSB_scrollTools .mCSB_draggerRail {
    height: 6px;
    margin: 6px 0;
}

#gallery-carousel .mCSB_horizontal > .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    height: 6px;
    margin: 6px auto;
}

#gallery-carousel .mCSB_scrollTools .mCSB_draggerContainer {
    border: medium none;
}

#gallery-carousel .mCSB_scrollTools .mCSB_draggerRail {
    background: none repeat scroll 0 0 #989696;
}

#gallery-carousel .mCSB_container{
	 background-color:#4a4a4a;
	 padding: 10px 5px 5px;
}

.eemail_button {
    bottom: 4px;
    padding-bottom: 10px;
    position: absolute;
    right: 11px;
}

.eemail_widget > div {
    position: relative;
}

.col .eemail_textbox {
    padding-bottom: 0;
}

#text-5 {
    border-top: 1px solid #1a1a1a;
    padding: 22px 0 0;
}

/***************************inner pages****************************************/


.single-thumb {
    float: left;
    width:66%; /*563px*/
}

.single-thumb > img {
    width: 100%;
    height: auto;
}

.posted-on,.cat-links,.comments-link,.edit-link {
    font-size: 14px;
	
}

.posted-on a,.cat-links a,.comments-link a,.edit-link a {
    color: #7c7c7c;
}

.related-post {
    border-bottom: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    float: right;
    padding: 0 0 20px 14px;
    width: 32%;/*275px*/
}

.related-post li {
    border-bottom: 1px solid #e3e3e3;
    font-size: 14px;
    list-style-type: none;
    padding: 13px 0 12px;
}

.related-post li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.single .entry-content{
	color:#7c7c7c;
	font-size:14px;
	line-height:22px;
	padding:0 0 10px 0;
}

.comment-reply-title,.comments-title{
     border-bottom: 1px solid #d9d9d9;
    font-size: 16px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
}

.comment-form input {
    border: 1px solid #d9d9d9;
    color: #1E1E1E; /****b8b8b8*/
    font-size: 14px;
    padding: 10px;
    width: 313px;
}

.comment-form-author input,.comment-form-email input{
	float:left;
	margin: 0 0 16px;
}

.comment-form-author input{
	margin: 0 29px 16px 0;
}

.comment-form-url input{
	clear:both;
	width:655px;
}

.comment-form textarea{
	width:77%display: block;;
	border: 1px solid #d9d9d9;
	resize:none;
	color: #1E1E1E;
    font-size: 14px;
    padding: 10px;
}

.comment-form .form-submit input, .read-more{	
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    line-height: 26px;
    padding:4px 10px;
    background-color:#fff;
    width:auto;
    transition:all 0.3s ease-in-out 0s;
    -webkit-transition:all 0.3s ease-in-out 0s;
    -moz-transition:all 0.3s ease-in-out 0s;
}

.comment-form .form-submit input:hover,.read-more:hover{   
    color:#fff;
}

.comment-list{
	margin: 0 0 20px 0;
}

.comment-list li {
    color: #7c7c7c;
    font-size: 13px;
    list-style-type: none;
    clear: both;
    padding: 0 0 20px;
    border-bottom:1px solid #e5e5e5;
    margin: 0 0 20px;
}

.comment-list li ul.children {
    border-top:1px solid #e5e5e5;
    padding-top: 20px;
	margin-left: 50px;
	margin-top: 20px;
}

.comment-list li ul.children > li:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.comment-author img {
    float: left;
    margin: 0 20px 0 0;
}

.fn {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    color: #000;
 }

 .fa.fa-thumbs-up,.fa.fa-thumbs-down {
    font-size: 18px;
}

.fa.fa-thumbs-up {
    margin: 0;
}

.fa.fa-clock-o {
    font-size: 14px;
    margin-right: 3px;
}


article.post .entry-footer {
    clear: both;
}

article.post .entry-header {
    margin: 0 0 10px;
}

article.post .entry-header .entry-title {
    font-size: 20px;
    margin: 0 0 10px;
}

article.post .entry-content {
    font-size: 13px;
    margin: 0;
}

article.post .post-thumb {
    float: left;
    margin: 0 2% 10px 0;
    width: 24%;
}


.post-thumb img {
    width: 100%;
    height: auto;
}

article.post{
	border-bottom:1px solid #e5e5e5;
	padding: 0 0 10px;
}

article.post .entry-content{
	float: left;
	width: 72%;
}

.comments-link,.edit-link{
    border-left: 1px solid #ccc;
    margin-left: 12px;
    padding-left: 10px;
}

article.post .read-more {
    display: block;
    float: right;
    margin-bottom: 16px;
}

.page-numbers{	
    display: block;
    float: left;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    text-align: center;
    text-transform: uppercase;
    line-height: 16px;
    margin: 0 0 20px 10px;
    padding:0;
    background-color:#fff;
    width:20px;
    transition:all 0.3s ease-in-out 0s;
    -webkit-transition:all 0.3s ease-in-out 0s;
    -moz-transition:all 0.3s ease-in-out 0s;
}

.page-numbers:hover, .page-numbers.current{
 	color: #fff;
}


.single article.post .entry-content{
	width: 100%;
}

.single article.post .entry-content figure ~ p {
	margin-top: 15px;
}

.single-feat {
	padding-bottom: 10px;
}

/**********************/
/***** BLOG TYPES *****/
/**********************/

/*** BLOG-LARGE-IMAGE ***/

.blog-large-image article.post .post-thumb{
	margin: 0 0 20px 0;
	width: 100%;
}

.blog-large-image article.post .entry-content{
	width: 100%;
}

/*** BLOG-ALTERNATE-IMAGE ***/

.blog-alternate-image article:nth-child(2n+1) .post-thumb{
	float: right;
}

.blog-alternate-image article:nth-child(2n+1) .entry-content{
	float: left;
	padding:0 2% 0 0;
}


.footer-copyright > p {
	color: #ffffff !important;
}

.footer-columns .col .textwidget > p {
	color: #fff !important;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}






.dost {
  float:left;
  display:inline-block;
  margin: 0 2% 10px 0;
  padding: 4px 4px 4px 4px;
  width: 29%;
  height:345px;
  border:1px solid #D4D4D4;
  overflow: hidden;
  
  background-color: #fff;
  cursor: pointer;
  transition-property: background-color;
  transition-duration: 1s;
  position: relative;

   
}

.dost:hover {	
	
  background-color: #d3d9e4;  /*#E5E3E4*/
  box-shadow: 0 0 10px rgba(0,0,0,0.9);
  transition-property: background-color, box-shadow;
  transition-duration: 1s;

  -webkit-transform: scale(1.06);
  -ms-transform: scale(1.06);
  -o-transform: scale(1.06);
  -moz-transform: scale(1.06);
  transform: scale(1.06); 
  z-index:2;
}

.dost a  {
  color: #000 !important;
  text-align:justify;  
}

.dost a h2 {
  color: #000 !important;
  text-align:left;  
}

.dost img {
  float: left;
  width: 100%;
  height: auto;
}

.dost-small {
    width:24%; /*100px*/
    float: left;
}

.dost-mini {    
    float: left;
    height:auto; /*115px*/
    width: 42%;/*175px*/
}


.albums-head {
  text-align:center;
  font-weight: bold;
  font-size: 26px;
  color: #343434;
  transition-property: color;
  transition-duration: 1s;
}
.albums-head:hover {
  color: #CA2F1A;
  transition-property: color;
  transition-duration: 1s;
}

.table_blur {
  background: #f5ffff;
  border-collapse: collapse;
  text-align: left;
  width:100%;
}
.table_blur a:hover {
  color:#3b0202;
}
.table_blur th {
  border-top: 1px solid #777777;
  border-bottom: 1px solid #777777;
/****  box-shadow: inset 0 1px 0 #999999, inset 0 -1px 0 #999999;  *****/
  background: linear-gradient(#ca2f1a, #aa2817);   /**********Было background: linear-gradient(#9595b6, #5a567f);****************/
  color: white;
  padding: 10px 15px;
  position: relative;
  width:31%;
}
.table_blur th:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 25%;
  height: 25%;
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255,255,255,.08));
}
.table_blur tr:nth-child(odd) {
  background: #ebf3f9;
}
.table_blur th:first-child {
  border-left: 1px solid #940909;	  /*******777777********/
  border-bottom:  1px solid #940909;  /*******777777********/
/*******  box-shadow: inset 1px 1px 0 #940909, inset 0 -1px 0 #940909; /*******  999999********/
}
.table_blur th:last-child {
  border-right: 1px solid #940909;
  border-bottom:  1px solid #940909;
/*******  box-shadow: inset -1px 1px 0 #940909, inset 0 -1px 0 #940909;  *******/
}

.table_blur tr {
  border: 2px solid #940909;
}
.table_blur td {
/**  border: 1px solid #e3eef7; **/
  padding: 10px 15px;
  position: relative;
  transition: all 0.5s ease;
  width:23%;
}
.table_blur tbody:hover td {
  color: transparent;
  text-shadow: 0 0 3px #a09f9d;
}
.table_blur tbody:hover tr:hover td {
  color: #444444;
  text-shadow: none;
}


/************************************************************************************** Задает стили для выпадающего контента афиши. Накладывается поверх дивов
.afisha {
  float:left;
  display: inline-block;
  margin: 3% 5% 0 0;
  padding: 4px 4px 0 4px;
  width: 45%;
  height:350px;
  border:1px solid #D4D4D4; 
  background-color: #fff;

}

.afisha a  {
  color: #000;
  text-align:justify;  
}

.afisha a h2 {
  color: #000;
  text-align:center;  
}

.afisha img {
  float: left;
  width: 100%;
  height: auto;
}

.afisha-small {
    width:24%; 
    float: left;
}

.afisha-mini {    
    float: left;
    height:auto; 
    width: 42%;
}

.afisha .displnon {
    display: none; 
	width: 140%; 
}
.afisha:hover .displnon{
	display: block; 
	position: relative;
}

.displnon img, .displnon header, .displnon footer  {
  display: none;
}
********************************************************************************/
/*
figcaption {
    display:none;
}

figure:hover > img {
    display: none;
}

figure:hover > figcaption{
    display: block;
    width:150% !important;
	position:absolute;
}

.afisha .displnon {
    display: none; 
	width: 140%; 
}
.afisha:hover .displnon{
	display: block; 
	position: relative;
*/




  .afisha {
  cursor: pointer;
  position: relative;
  text-align:center;
  float:left;
  display: inline-block;
  margin: 2% 5% 2% 0;
  padding: 4px 4px 0 4px;
  width: 45%;
  height:350px;
  border:1px solid #D4D4D4; 
  background-color: #fff;
  
  transition-property: background-color, color, box-shadow, text-shadow;
  transition-duration: 1s;

  }
  
  .afisha:hover {
  background-color:#d5e1e3;
  color:#a96c01 !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  }
  
   .afisha:hover h2 {
  color:#a96c01 !important;
  text-shadow: 1px 1px 0px black; 
  }
  
  .afisha h2 {
  color:#000;
  }
  
 /*************************************************** Всплывающие подсказки 
  .afisha:before {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 0 0 10px #A0A9B1 inset;
    content: attr(data-title);
    font-family: Arial;
    font-size: 20px;
	color:#280500;
    height: auto;
    line-height: 27px;
    opacity: 0;
    padding: 0 10px;
    position: absolute;
	left: 25%;
    top: 35%;
	width:180px;
    -moz-transition: all 1s;
    -webkit-transition: all 1s;
    -o-transition: all 1s;
    transition: all 1s;
  }
  .afisha:hover:before {
    right: 160px;
    opacity: 1;
    top: 140px;
  }
  .afisha:after {
    content: attr(data-zagolovok);
    display: block;
    font-weight: bold;
    font-family: Helvetica;
    font-size: 20px;
    text-align: center;
  }
**************************************************************************/
  
 .afisha img {
  float: left;
  width: 100%;
  height: auto;
}

.afisha-small {
    width:24%; 
    float: left;
}

.afisha-mini {    
    float: left;
    height:auto; 
    width: 42%;
}

.bcn_display {
color:#CA2F1A;

}

.bcn_display:hover {
font-weight:600;
}

.gmaps {
width:100%;
height:750px;
}





.san_table {
  border-collapse: separate;
  border-spacing:0 4px;
  font: normal 80%/140% verdana, arial, helvetica, sans-serif;
  color: #333;
  background: #fffff0;
}

.san_table tr:nth-child(2n+1){
 background-color:#f0eee6;  
}

.san_table tr:nth-child(2n){
background-color:#e6eef0;
}

.san_table tr:hover {
  color: #333;
  background: #fff;

  }
  
.san_table tr{
   background: expression(this.rowIndex % 2 == 0 ? "#f0eee6" : "#e6eef0");
}

.san_table th {

  padding-left:8%;
  text-align:left;
  font-family:Verdana, sans-serif;
  font-size: 120%; 
  font-weight: 400;
  line-height:1.7;
  }
  
.san_table a {
  background: transparent;
  color: #d47d00;
  text-decoration: none;
  border-bottom: 1px dotted #d47d00;
  }

.san_table img {
  transition-property: border, border-radius;
  transition-duration: 1s;
  border: 2px solid #D3D9E4;
  border-radius: 50px;
}
  
.san_table img:hover {

  transition-property: border, border-radius;
  transition-duration: 1s;
  border: 2px solid #D3D9E4;
  border-radius: 0;
}

/****************************************************************************************Страница Список партнеров************************************************/

.view-third img {
   -webkit-transition: all 0.2s ease-in;
   -moz-transition: all 0.2s ease-in;
   -o-transition: all 0.2s ease-in;
   -ms-transition: all 0.2s ease-in;
   transition: all 0.2s ease-in;
}
.view-third .mask_partn {
   background-color: rgba(0,0,0,0.6);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transform: translate(460px, -100px) rotate(180deg);
   -moz-transform: translate(460px, -100px) rotate(180deg);
   -o-transform: translate(460px, -100px) rotate(180deg);
   -ms-transform: translate(460px, -100px) rotate(180deg);
   transform: translate(460px, -100px) rotate(180deg);
   -webkit-transition: all 0.2s 0.4s ease-in-out;
   -moz-transition: all 0.2s 0.4s ease-in-out;
   -o-transition: all 0.2s 0.4s ease-in-out;
   -ms-transition: all 0.2s 0.4s ease-in-out;
   transition: all 0.2s 0.4s ease-in-out;
}
.view-third h2 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-third p {
   -webkit-transform: translateX(300px) rotate(90deg);
   -moz-transform: translateX(300px) rotate(90deg);
   -o-transform: translateX(300px) rotate(90deg);
   -ms-transform: translateX(300px) rotate(90deg);
   transform: translateX(300px) rotate(90deg);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-third a.info {
   -webkit-transform: translateY(-180px);
   -moz-transform: translateY(-180px);
   -o-transform: translateY(-180px);
   -ms-transform: translateY(-180px);
   transform: translateY(-180px);
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-third:hover .mask_partn {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transition-delay: 0s;
   -moz-transition-delay: 0s;
   -o-transition-delay: 0s;
   -ms-transition-delay: 0s;
   transition-delay: 0s;
   -webkit-transform: translate(0px, 0px);
   -moz-transform: translate(0px, 0px);
   -o-transform: translate(0px, 0px);
   -ms-transform: translate(0px, 0px);
   transform: translate(0px, 0px);
}
.view-third:hover h2 {
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
   -webkit-transition-delay: 0.5s;
   -moz-transition-delay: 0.5s;
   -o-transition-delay: 0.5s;
   -ms-transition-delay: 0.5s;
   transition-delay: 0.5s;
}
.view-third:hover p {
   -webkit-transform: translateX(0px) rotate(0deg);
   -moz-transform: translateX(0px) rotate(0deg);
   -o-transform: translateX(0px) rotate(0deg);
   -ms-transform: translateX(0px) rotate(0deg);
   transform: translateX(0px) rotate(0deg);
   -webkit-transition-delay: 0.4s;
   -moz-transition-delay: 0.4s;
   -o-transition-delay: 0.4s;
   -ms-transition-delay: 0.4s;
   transition-delay: 0.4s;
}
.view-third:hover a.info {
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
   -webkit-transition-delay: 0.3s;
   -moz-transition-delay: 0.3s;
   -o-transition-delay: 0.3s;
   -ms-transition-delay: 0.3s;
   transition-delay: 0.3s;
}

.view_partn {
   width: 260px;
   height: 180px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden !important;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   background: #fff url(../images/bgimg.jpg) no-repeat center center;
}
.view_partn .mask_partn,.view_partn .content {
   width: 260px;
   height: 180px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.view_partn img {
   display: block;
   position: relative;
}
.view_partn h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 16px;
   padding: 5px 7px 5px 5px;
   background: rgba(0, 0, 0, 0.8);
   margin: 0 0 0 0;
}
.view_partn p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   line-height:1.5;
   position: relative;
   color: #fff;
   padding: 5px 7px 2px 5px;
   text-align: center;
}
.view_partn a.info {
   display: inline-block;
   text-decoration: none;
   padding: 7px 7px;
   background: #CA2F1A;
   color: #fff;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 2px #AF2B11;
   -moz-box-shadow: 0 0 2px #AF2B11;
   box-shadow: 0 0 2px #AF2B11;
}
.view_partn a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}
/******************************************************************************************************************************************************Достопримечательности***/
.dost_title {
font-size:18px;
font-weight:800;
padding:0 0 0 0;
margin:1px 5px 1px 5px;
}

.view_dost {
   width: 260px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 1px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   background: #fff url(../images/bgimg.jpg) no-repeat center center;
}
.view_dost .mask,.view_dost .content {
   width: 260px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.view_dost img {
   display: block;
   position: relative;
   width: 260px;
   height: 180px;
}
.view_dost h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 15px;
   padding: 5px 10px 5px 5px;
   background: rgba(202, 47, 26, 1);
   margin: 0 0 0 0;
}
.view_dost p {
   font-family: Georgia, serif;
   font-style: italic;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 0 0 0 0;
   margin: 10px 10px 5px 10px;
   text-align: justify;
}
.view_dost a.info {
   display: inline-block;
   text-decoration: none;
   padding: 7px 14px;
   background: #000;
   color: #fff;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.view_dost a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}

.view-first img {
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   background-color: rgba(17, 18, 17, 0.7);   /*rgba(219,127,8, 0.7);*/
   -webkit-transition: all 0.4s ease-in-out;
   -moz-transition: all 0.4s ease-in-out;
   -o-transition: all 0.4s ease-in-out;
   -ms-transition: all 0.4s ease-in-out;
   transition: all 0.4s ease-in-out;
}
.view-first h2 {
   -webkit-transform: translateY(-100px);
   -moz-transform: translateY(-100px);
   -o-transform: translateY(-100px);
   -ms-transform: translateY(-100px);
   transform: translateY(-100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-first p {
   -webkit-transform: translateY(100px);
   -moz-transform: translateY(100px);
   -o-transform: translateY(100px);
   -ms-transform: translateY(100px);
   transform: translateY(100px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-first:hover img {
   -webkit-transform: scale(1.1,1.1);
   -moz-transform: scale(1.1,1.1);
   -o-transform: scale(1.1,1.1);
   -ms-transform: scale(1.1,1.1);
   transform: scale(1.1,1.1);
}
.view-first a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   -webkit-transition: all 0.2s ease-in-out;
   -moz-transition: all 0.2s ease-in-out;
   -o-transition: all 0.2s ease-in-out;
   -ms-transition: all 0.2s ease-in-out;
   transition: all 0.2s ease-in-out;
}
.view-first:hover .mask {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transform: translateY(0px);
   -moz-transform: translateY(0px);
   -o-transform: translateY(0px);
   -ms-transform: translateY(0px);
   transform: translateY(0px);
}
.view-first:hover p {
   -webkit-transition-delay: 0.1s;
   -moz-transition-delay: 0.1s;
   -o-transition-delay: 0.1s;
   -ms-transition-delay: 0.1s;
   transition-delay: 0.1s;
}
.view-first:hover a.info {
   -webkit-transition-delay: 0.2s;
   -moz-transition-delay: 0.2s;
   -o-transition-delay: 0.2s;
   -ms-transition-delay: 0.2s;
   transition-delay: 0.2s;
}

.button1 {
margin:0;
max-width:271px;
width:100% !important;
}

#SinoptikInformer {
margin:0;
max-width:270px;
width:100% !important;
}


/****************************************************************************************Страницы объявлений************************************************/

.worktb {
 width:100%;
}

.worktb td {
 padding: 0 0 0 10px;
 vertical-align:top;
 width:50%;
 height:50px;
}

.worktb th {
font-size:25px;
}

td .awpcp-nav-menu {
display:none !important;
}

td .awpcp-menu-toggle {
display:none !important;
}

th .awpcp-menu-toggle {
display:none !important;
}

td .changecategoryselect {
display:none;
}

td .awpcp-listings {
display:none;
}

td .awpcp-pagination-form {
display:none;
}

th .changecategoryselect {
display:none;
}

th .awpcp-listings {
display:none;
}

th .awpcp-pagination-form {
display:none;
}

.worktb td  p.maincategoryclass {
/** background: #E8EFFF !important; **/
width:95%;
height:45px;
text-align:left;
padding:10px 0 0 10%;
}

.page-id-480 .entry-header {   /*****************************Удалил заголовок страницы Работа************************/
display:none;
}

.page-id-476 .entry-header {   /*****************************Удалил заголовок страницы Объявления************************/
display:none;
}

.page-id-480 .entry-content {
margin:-5% 0 0 0;
}

.page-id-476 .entry-content {
margin:-5% 0 0 0;
}

/****************************************************************************************Страницы объявлений************************************************/

.obtb {
 width:100%;
}

.obtb td {
 padding: 0 0 0 10px;
 vertical-align:top;
 width:50%;
 height:50px;
}

.obtb th {
font-size:25px;
}

.obtb td  p.maincategoryclass {
/** background: #E8EFFF !important; **/
width:95%;
height:25px;
text-align:left;
padding:5px 0 0 5%;
font-size:11px;
margin-top:-2px !important;
}

.grpoz {
float: left; 
margin: 11px 0 0 0; 
font-size:25px; 
font-weight: bold;
}

/*************************************************************************Скрывает названия файлов в лайтбоксе************************************************/

.slb_template_tag_item_title {
display:none;
}

.slb_template_tag_ui_group_status {
display:none;
}


/************************************-----------------------------------Похожие записи----------------------------**/

.view_news {
   width: 180px;
   height: 160px;
   margin: 3px;
   float: left;
   border: 10px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   -webkit-box-shadow: 1px 1px 2px #e6e6e6;
   -moz-box-shadow: 1px 1px 2px #e6e6e6;
   box-shadow: 1px 1px 2px #e6e6e6;
   cursor: default;
   background: #fff url(../images/bgimg.jpg) no-repeat center center;
}
.view_news .mask_news,.view_news .content_news {
   width: 180px;
   height: 160px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}
.view_news img {
   display: block;
   position: relative;
   max-width: 100%; 
   max-height: 160px;
}
.view_news h2 {
   text-transform: uppercase;
   color: #fff;
   text-align: center;
   position: relative;
   font-size: 17px;
   padding: 10px;
   background: rgba(0, 0, 0, 0.8);
   margin: 20px 0 0 0;
}
.view_news p {
   font-family: Georgia, serif;
   font-style: italic;
   font-weight:bold;
   font-size: 12px;
   position: relative;
   color: #fff;
   padding: 10px 15px 10px 0px;
   text-align: center;
}
.view_news a.info {
   width: 180px;
   height: 160px;
   display: inline-block;
   text-decoration: none;
   padding: 3px 7px;
   background: #eeeeef;
   color: #000000;
   text-transform: uppercase;
   -webkit-box-shadow: 0 0 1px #000;
   -moz-box-shadow: 0 0 1px #000;
   box-shadow: 0 0 1px #000;
}
.view_news a.info: hover {
   -webkit-box-shadow: 0 0 5px #000;
   -moz-box-shadow: 0 0 5px #000;
   box-shadow: 0 0 5px #000;
}


.view-fifth img {
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
}
.view-fifth .mask_news {
   background-color: rgba(146,96,91,0.3);
   -webkit-transform: translateX(-300px);
   -moz-transform: translateX(-300px);
   -o-transform: translateX(-300px);
   -ms-transform: translateX(-300px);
   transform: translateX(-300px);
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
   -webkit-transition: all 0.3s ease-in-out;
   -moz-transition: all 0.3s ease-in-out;
   -o-transition: all 0.3s ease-in-out;
   -ms-transition: all 0.3s ease-in-out;
   transition: all 0.3s ease-in-out;
}
.view-fifth h2 {
   background: rgba(255, 255, 255, 0.5);
   color: #000;
   -webkit-box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
   -moz-box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
   box-shadow: 0px 1px 3px rgba(159, 141, 140, 0.5);
}
.view-fifth p {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
   filter: alpha(opacity=0);
   opacity: 0;
   color: #333;
   -webkit-transition: all 0.2s linear;
   -moz-transition: all 0.2s linear;
   -o-transition: all 0.2s linear;
   -ms-transition: all 0.2s linear;
   transition: all 0.2s linear;
}
.view-fifth:hover .mask_news {
   -webkit-transform: translateX(0px);
   -moz-transform: translateX(0px);
   -o-transform: translateX(0px);
   -ms-transform: translateX(0px);
   transform: translateX(0px);
}
.view-fifth:hover img {
   -webkit-transform: translateX(300px);
   -moz-transform: translateX(300px);
   -o-transform: translateX(300px);
   -ms-transform: translateX(300px);
   transform: translateX(300px);
}
.view-fifth:hover p {
   -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
   filter: alpha(opacity=100);
   opacity: 1;
}

.post-navigation {
display:none;   /****************************************Скрывает Следующий и Предыдущий посты в Записи**********************************************************/
}

.page-id-319 .bcn_display, .page-id-320 .bcn_display{display:none;} /*****************************Удалил хлебные крошки страницы Работа************************/

.page-id-43 html, body {overflow-x: visible !important;}




.share a {    /*****************************Стили социальных кнопок************************/
display: inline-block;
vertical-align: inherit;
margin: 5px 0 0 2px;
padding: 0px;
font-size: 0px;
width: 40px;
height: 40px;
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll 0px 0px transparent;}

.share a.twitter {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll 0px 0px transparent;
}
.share a.vkontakte {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -42px 0px transparent;
}
.share a.odnoklassniki {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -84px 0px transparent;
}
.share a.facebook {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -126px 0px transparent;
}
.share a.google {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -168px 0px transparent;
}
.share a.print {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -210px 0px transparent;
}


h3.hcenter {
text-align:center;
}
.footer_button {
margin:10px;
float:left;
margin-left: 20px;
}

.share_footer a {    /*****************************Стили социальных кнопок в футере************************/
display: inline-block;
vertical-align: inherit;
margin: 5px 0 0 2px;
padding: 0px;
font-size: 0px;
width: 40px;
height: 40px;
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll 0px 0px transparent;}

.share_footer a.twitter_footer {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll 0px 0px transparent;
}
.share_footer a.vkontakte_footer {
background: url("/uploads/soc_icon_40x40.png") no-repeat scroll -42px 0px transparent;
}
.share_footer a.odnoklassniki_footer {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -84px 0px transparent;
}
.share_footer a.facebook_footer {
background: url("/wp-content/uploads/soc_icon_40x40.png") no-repeat scroll -126px 0px transparent;
}
}




@media print {     /*****************************Стили печати************************/
    #secondary-right{
  display: none;
      }
    .desktop-menu {
  display: none;
      }
    .top-header-block{
  display: none;
	  }
    .site-branding {
  display: none;	  
	  }
    footer {
  display: none;		  
	  }

    .comments-area {
  display: none;	
}
    .view_news {
  display: none;	
}
   
    #namediv {
  display: none;	
} 
}


/********************************Стили кнопки ПОДПИСАТЬСЯ***********************************/

a.button6 {
  margin:0;
  width:100%;
  min-height:31px;
  height:auto;
  position: relative;
  display:inline-block;
  font-weight: bold;
  color: white;
  text-decoration: none;
  text-shadow: 0 -1px 1px #cc5500;
  user-select: none;
  text-align:center;  
  padding: 3% 20%;
  outline: none;
  border-radius: 1px;
  background: linear-gradient(to left, rgba(0,0,0,.3), rgba(0,0,0,.0) 50%, rgba(0,0,0,.3)), linear-gradient(#ae2816, #ca2f1a, #ae2816);   /***********Было linear-gradient(#d77d31, #fe8417, #d77d31)**ca2f1a********/
  background-size: 100% 100%, auto;
  background-position: 50% 50%;
  box-shadow: inset #cc4343 0 -1px 1px, inset 0 1px 1px #ca2f1a, #cc4343 0 0 0 1px, #000 0 10px 15px -10px; /***********Было box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, #000 0 10px 15px -10px;**********/
  transition: 0.2s;
}
a.button6:hover {
  background-size: 180% 100%, auto;
  color:#fff;
}
a.button6:active {
  top: 1px;
  color: #ca2f1a; /*************Было #ffdead*********************/
  box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #c96d6d, #a82828 0 0 0 1px, 0 10px 10px -9px #000;  /***********Было box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, 0 10px 10px -9px #000;**********/
}

/****************************Стили кнопки СООБЩИТЬ ОБ ОШИБКЕ***************************/

a.button1 {
  width:auto;
  min-height:31px;
  height:auto;
  position: relative;
  display:inline-block;
  color: white;
  font-weight: bold;
  text-align:center;
  text-decoration: none;
  text-shadow: -1px -1px #000;
  user-select: none;
  padding: 3% 20%;
  outline: none;
  background-color: #ae2816; /***********Было #4A4849****************/
  background-image: linear-gradient(45deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%), radial-gradient(190% 100% at 50% 0%, rgba(255,255,255,.7) 0%, rgba(255,255,255,.5) 30%, rgba(0,0,0,0) 50%);
  background-repeat: no-repeat;
  background-size: 200% 100%, auto;
  background-position: 200% 0, 0 0;
  box-shadow: rgba(0,0,0,.3) 0 2px 5px;
} 
a.button1:active {
  top: 1px;
  box-shadow: none;
}
a.button1:hover {
  transition: .5s linear;
  background-position: -200% 0, 0 0;
  color:#fff;
}

/*****************************************Вертикальный отступ в виджетах*********************************/

.vidgetspace {
margin:15px 0;
}

/***************************Стили Footer Top Column One***************************/

.foot_rubricator {
border:0;
font-size:16px;
margin:0;
padding:0;
border-spacing:8px;
width:100%;
}
.foot_rubricator td {
width:50%;
}

.kmvh1_title {
color:#000000;
font-size:6px;
}

.dispnone {
display:none;
}

/*************************Стили Footer Top Column Two*******************************/

.okru{
margin: 0;
min-width:250px;
padding:0;
}

/*************************Стили Footer Top Column Three*******************************/

.vkcom {
margin: 0;
padding:0;
}

/*************************Стили Footer Top Column Four*******************************/

.abt {
max-width:100%;
text-align:justify;
}

.oneline {
width:280px;
margin:0 0 0 0;
float:left;
padding:0 0 0 0;
}

.page-id-6457 .bcn_display {   /*****************************Удалил хлебные крошки страницы Форума************************/
display:none;
}

/************************Стили расписания электричек**************************************/
.table_train {
  width:100%;
  border-collapse: collapse;
  border: 1px solid #38160C;
  font: normal 11px verdana, arial, helvetica, sans-serif;
  }
.table_train tr:nth-child(2n+1){
   background: #bdecfe;
}
.table_train tr:nth-child(2n){
   background: #e3fcff;
}
.table_train caption {
  text-align: left;
  font: normal 11px verdana, arial, helvetica, sans-serif;
  background: transparent;
  }
.table_train td, .table_train th {
  border: 1px dashed #B85A7C;
  padding: .2em;
  color: #000000;
  }
.table_train th {
font-weight:bold;
background:#b9f3da;
 vertical-align:bottom !important;
}
.table_train tbody th, tbody td {
  vertical-align: top;
  text-align: left;
  }
.table_train tr:nth-child(2n+1):hover{
  transition: 0.4s;
   background: #57e7c3;
}
.table_train tr:nth-child(2n):hover{
  transition: 0.4s;
   background: #57e7c3;
}

/*****************Таблица афиши******************/
.events-table {
width:100%;
font-family: 'Open Sans', sans-serif;
/*****  font-weight: bold;  ******/
}
.events-table th {
padding: 10px 20px;
background: #aa2817; /********Было #56433D *****************/
color: #fff;
border-right: 2px solid; 
font-size: 1.2em;
}
.events-table td {
vertical-align: middle;
padding: 10px 20px 10px 20px;
font-size: 14px;
text-align: center;
border-top: 2px solid #56433D;
border-bottom: 2px solid #56433D;
border-right: 2px solid #56433D;
}
.events-table th:first-child {
text-align: left;
}
.events-table th:last-child {
border-right: none;
}
.events-table td:first-child {
border-left: 2px solid #56433D;
border-right: none;
}
.events-table td:nth-child(2){
text-align: left;
}
.merop_title {font-weight:bold; font-size:16px; color:#aa2817;}


/****************Список мест в афише***************************************/

.em-locations-list {
list-style: none;
padding: 0;
}
.em-locations-list li {
/***  font-family: "Trebuchet MS", "Lucida Sans";  ***/
padding: 7px 20px;
margin-bottom: 10px;
border-radius: 5px;
border-left: 10px solid #f05d22; 
box-shadow: 2px -2px 5px 0 rgba(0,0,0,.1),
     -2px -2px 5px 0 rgba(0,0,0,.1),
    2px 2px 5px 0 rgba(0,0,0,.1),
    -2px 2px 5px 0 rgba(0,0,0,.1);
/*** font-size: 20px; ***/
letter-spacing: 2px;
transition: 0.3s all linear;
}
.em-locations-list li:nth-child(2n){border-color: #8bc63e;}
.em-locations-list li:nth-child(3n){border-color: #fcba30;}
.em-locations-list li:nth-child(4n){border-color: #1ccfc9;}
.em-locations-list li:nth-child(5n){border-color: #493224;}
.em-locations-list li:hover {
border-left: 10px solid transparent;
}
.em-locations-list li:nth-child(1n):hover {
border-right: 10px solid #f05d22;
}
.em-locations-list li:nth-child(2n):hover {
border-right: 10px solid #8bc63e;
}
.em-locations-list li:nth-child(3n):hover {
border-right: 10px solid #fcba30;
}
.em-locations-list li:nth-child(4n):hover {
border-right: 10px solid #1ccfc9;
}
.em-locations-list li:nth-child(5n):hover {
border-right: 10px solid #493224;
}

/********************Заголовки мероприятий*******************************/

.title_red {color:#aa2817;}

.maxwidth {width:100%}

/********************Таблица справки**********************************/

.cellsBlockspr {
  width: 100%;
display: table;
}
.cellLeftspr {
display: inline;
margin: 2% 4%;
  width:25% !important;
  height:auto;
  max-height:90px;
overflow:hidden;
  min-width:180px;
border-style: solid; 
border-width: 3px;
border-color: #aa2817;
  float:left;
    background-size: cover;
    width: x;
    height: y;
}

/***********************Стили theme my login******************************************/

.tml {
	max-width: 320px;
        font-size:13px;
        font-weight:500;
        margin:5px;
}

.tml * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.tml .error,
.tml .message {
	color: #333;
	padding: 0.5em;
}

.tml .error {
    border:none;
    background-color:#f4ae46;
    margin:0;
    padding:10px;
     
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.tml .message {
    border:none;
    background-color:#7ad33f;
    margin:0;
    padding:10px;
     
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.tml p {
	margin: 0 0 0.5em 0;
	padding: 0;
}

.tml label {
	display: block;
	text-align: left;
}

.tml .tml-rememberme-wrap label {
	display: inline;
}

.tml input,
.tml textarea,
.tml select {
	margin: 0.5em 0;
	width: 100%;
}

.tml input[type="checkbox"],
.tml input[type="radio"],
.tml .tml-rememberme-wrap input {
	vertical-align: middle;
	width: auto;
}

.tml .tml-action-links {
	display: inline-block;
	list-style: none;
	margin: 0.5em auto;
	padding: 0;
	text-align: center;
}

.tml .tml-action-links li {
	border: none;
	border-right: 1px solid rgba(0, 0, 0, 0.1);
	float: left;
	line-height: 1;
	list-style: none;
	margin: 0 0.5em 0 0;
	padding: 0 0.5em 0 0;
}

.tml .tml-action-links li:last-child {
	border-right: none;
	margin-right: 0;
	padding-right: 0;
}

.tml .tml-action-links a {
	border: none;
	display: block;
	padding: 0;
	text-decoration: none;
}

.tml .tml-rememberme-submit-wrap:before,
.tml .tml-rememberme-submit-wrap:after,
.tml .tml-action-links:before,
.tml .tml-action-links:after {
	content: "";
	display: table;
}

.tml .tml-rememberme-submit-wrap:after,
.tml .tml-action-links:after {
	clear: both;
}

.tml .tml-user-avatar {
	text-align: left;

}

.secondary-sidebar .widget-area.sidebar img {
        margin: 8px 8px 32px 8px;
}

.mu_register .hint {
	font-size: 12px;
	margin-bottom: 10px;
	display: block;
}

.mu_register label.checkbox {
	display: inline;
}

#pass-strength-result {
	background-color: #eee;
	border: 1px solid #ddd;
	color: #23282d;
	font-weight: 600;
	margin: 0;
	padding: 3px 5px;
	text-align: center;
	width: 100%;
	opacity: 0;
}

#pass-strength-result.short {
	background-color: #f1adad;
	border-color: #e35b5b;
	opacity: 1;
}

#pass-strength-result.bad {
	background-color: #fbc5a9;
	border-color: #f78b53;
	opacity: 1;
}

#pass-strength-result.good {
	background-color: #ffe399;
	border-color: #ffc733;
	opacity: 1;
}

#pass-strength-result.strong {
	background-color: #c1e1b9;
	border-color: #83c373;
	opacity: 1;
}

.pw-weak {
	display:none;
}

.indicator-hint {
	padding-top: 8px;
}

#pass1,
#pass1-text {
	width: 100%;
}

#pass1-text,
.show-password #pass1 {
	display: none;
}

.show-password #pass1-text
{
	display: inline-block;
}

@media screen and (min-width: 768px) {
	.tml .tml-submit-wrap input {
		width: auto;
	}

	.tml-login .tml-rememberme-submit-wrap {
		display: table;
		margin-bottom: 1.5em;
		width: 100%;
	}

	.tml-login .tml-rememberme-wrap {
		display: table-cell;
	}

	.tml-login .tml-rememberme-wrap input {
		margin: 0;
	}

	.tml-login .tml-submit-wrap {
		display: table-cell;
		text-align: right;
	}

	.tml-login .tml-submit-wrap input {
		margin: 0;
		width: auto;
	}
}
.tml input { 
    width: 100%;
    padding:5px !important;
    color:#2D2D2D;
    font-family:Arial, Helvetica, sans-serif;
    font-size:12px;
    line-height: 16px;
    border: solid 1px #9f9f9f;
    box-shadow: inset 2px 2px 8px #bababa;
    -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.tml input:hover,
.tml input:focus,
.tml input:active,
.tml textarea:hover,
.tml textarea:focus,
.tml textarea:active {
  background: #ebf7f5;
  outline: none;
}
.tml-submit-wrap input {
  width:100% !important;
  max-width:160px !important;
  height:26px !important;
    -webkit-transition: 0;
  -moz-transition: 0;
  -o-transition: 0;
  transition: 0;
  border: none;
  position: relative;
  color: #fff;
  text-shadow: 1px -2px 0px black;
  text-transform: uppercase;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-size: 12px;
  padding-top: 11px;
  padding-bottom: 10px;
  padding-left: 35px;
  padding-right: 35px;

  /* Gradient background */
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#000000)); 
  background:  -moz-linear-gradient(top, #aa2817, #000000); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#000000');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#000000)&quot;;
   
  /* Drop Shadow */
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.tml-submit-wrap input:hover{
  cursor: pointer;
  text-decoration: none;
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#ca2f1a)); 
  background:  -moz-linear-gradient(top, #aa2817, #ca2f1a); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#ca2f1a');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#ca2f1a)&quot;;
}

.tml-submit-wrap input:active{
  top: 1px;
  color: #d8c6e2;
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#aa2817)); 
  background:  -moz-linear-gradient(top, #aa2817, #aa2817); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#aa2817');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#aa2817)&quot;;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.secondary-sidebar .widget-area.sidebar li, .featured-post-sidebar {
    margin-bottom: 5px !important;
    padding-bottom: 5px !important;
}

/********************Стили contact form 7*************************************/

div.wpcf7 {
	margin: 0;
	padding: 0;
}

div.wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
}

div.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	width: 1px;
	margin: 0;
	padding: 0;
	border: 0;
}

div.wpcf7-mail-sent-ok {
	border: 2px solid #398f14;
}

div.wpcf7-mail-sent-ng {
	border: 2px solid #ff0000;
}

div.wpcf7-spam-blocked {
	border: 2px solid #ffa500;
}

div.wpcf7-validation-errors {
	border: 2px solid #f7e700;
}

.wpcf7-form-control-wrap {
	position: relative;
}

span.wpcf7-not-valid-tip {
	color: #f00;
	font-size: 1em;
	display: block;
}

.use-floating-validation-tip span.wpcf7-not-valid-tip {
	position: absolute;
	top: 20%;
	left: 20%;
	z-index: 100;
	border: 1px solid #ff0000;
	background: #fff;
	padding: .2em .8em;
}

span.wpcf7-list-item {
	margin-left: 0.5em;
}


.wpcf7-display-none {
	display: none;
}

div.wpcf7 img.ajax-loader {
	border: none;
	vertical-align: middle;
	margin-left: 4px;
}

div.wpcf7 div.ajax-error {
	display: none;
}

div.wpcf7 .placeheld {
	color: #888;
}

/****************************************************************************************/

.wpcf7 input {
     
    width: 30%;
    padding:10px;
    color:#2D2D2D;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height: 20px;
 
    border: solid 1px #9f9f9f;
     
    box-shadow: inset 2px 2px 8px #bababa;
     
    -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
     
}

.wpcf7 textarea{
     
    width: 90%;
    padding:10px;
    color:#2D2D2D;
    font-family:Arial, Helvetica, sans-serif;
    font-size:16px;
    line-height: 20px;
 
    border: solid 1px #9f9f9f;
     
    box-shadow: inset 2px 2px 8px #bababa;
     
    -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
     
}

.wpcf7 .wpcf7-list-item{
  padding-left: 0;
  margin-left: 0;
  margin-right: 25px;
}

.wpcf7 .wpcf7-list-item input{
  border: none;
  padding-left: 0;
  margin-left: 0;
}

.wpcf7 select{
  outline: none;
  font-size:16px;
  font-family:Arial, Helvetica, sans-serif;
}
 
.wpcf7 input:hover,
.wpcf7 input:focus,
.wpcf7 input:active,
.wpcf7 textarea:hover,
.wpcf7 textarea:focus,
.wpcf7 textarea:active {
  background: #ebf7f5;
  outline: none;
}

.wpcf7 input.wpcf7-submit{
  -webkit-transition: 0;
  -moz-transition: 0;
  -o-transition: 0;
  transition: 0;
  border: none;
  position: relative;
  color: #fff;
  text-shadow: 1px -2px 0px black;
  text-transform: uppercase;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  font-size: 14px;
  padding-top: 11px;
  padding-bottom: 10px;
  padding-left: 35px;
  padding-right: 35px;

  /* Gradient background */
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#000000)); 
  background:  -moz-linear-gradient(top, #aa2817, #000000); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#000000');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#000000)&quot;;

  /* Drop Shadow */
  -webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  -moz-box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
 
/* On hover */
.wpcf7 input.wpcf7-submit:hover{
  cursor: pointer;
  text-decoration: none;
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#ca2f1a)); 
  background:  -moz-linear-gradient(top, #aa2817, #ca2f1a); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#ca2f1a');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#ca2f1a)&quot;;
}

/* On click */
.wpcf7 input.wpcf7-submit:active{
  top: 1px;
  color: #d8c6e2;
  background-color: #000000;
  background: -webkit-gradient(linear, left top, left bottom, from(#aa2817), to(#aa2817)); 
  background:  -moz-linear-gradient(top, #aa2817, #aa2817); 
  filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#aa2817', endColorstr='#aa2817');
  -ms-filter: &quot;progid:DXImageTransform.Microsoft.gradient(startColorstr=#aa2817, endColorstr=#aa2817)&quot;;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* CF7 Messages */
.wpcf7 .wpcf7-validation-errors{
    border:none;
    background-color:#f4ae46;
    margin:0;
    padding:20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.wpcf7 .wpcf7-mail-sent-ok{
    border:none;
    background-color:#7ad33f;
    margin:0;
    padding:20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.wpcf7 .wpcf7-mail-sent-ng{
    border:none;
    background-color:#cf2d38;
    margin:0;
    padding:20px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: white;
}

.wpcf7 span.wpcf7-not-valid-tip{
    border:none;
    background-color:#cf2d38;
    padding:10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius:10px;
    width: 180px;
    color: white;

    /* Drop shadow */
    -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    -moz-box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
    box-shadow: 3px 3px 3px rgba(0,0,0,0.3);
}

.wpcf7-form .fleft{
  float: left;
}

.wpcf7-form .mright20{
  margin-right: 20px;
}

.wpcf7-form .mright40{
  margin-right: 40px;
}

.wpcf7-form .clear{
  clear: both;
}

input[type="checkbox"] {
    display:inline-block;
    position:relative;
    width:17px;
    height:17px;
    margin:2px 4px 0 0;
    cursor:pointer;
}

p {
    font-size:15px;
    line-height: 1.5;
    font-family:verdana;
}

/************************Стили event manager***************************************/

div#em-loading { position:absolute; width:100%; height:100%; background:#FFFFFF url(../images/loading.gif) 50% 50% no-repeat; left:0px; top:0px; opacity:0.8; filter:alpha(opacity=80); z-index:99998; }
.em-search-ajax { position:relative; }
.em-wrapper label span.screen-reader-text, #em-wrapper label span.screen-reader-text { clip: rect(1px 1px 1px 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
/* Warnings */
	.em-warning { margin:10px 0px; padding:10px; color:#333; border-radius:3px; display:block !important; }
	.em-warning p { margin:10px 0px !important; padding:0px; color:#333 }
	.em-warning-errors { background-color:#FFEBE8; border:1px solid #C00; }
	.em-warning-confirms { background-color:#f1fff0; border:1px solid #a8d144; }
	a.em-button { float:right; padding:5px 10px; margin:5px; background:#EEE; color:#333; border:1px solid #CCC; border-radius:3px; display:inline-block; text-decoration:none; }
	a.em-button:hover { text-decoration:none; }	
	
/* Search Form */
	.em-search div { display:inline; }
	.em-search .hidden { display:none !important; }
	/* Custom Search CSS */
		div.css-search { margin-bottom:20px; }	
		div.em-search.css-search label { display:inline; } 
		div.em-search.css-search div { display:block; }
		div.css-search input, div.css-search select, div.css-search option, div.css-search div, div.css-search span, div.css-search button { 
			width:auto; height:auto; margin:0; padding:0; float:none; display:auto; font-size:14px; /* reset everything */
		}
		div.css-search input, div.css-search select { padding:5px; }
		div.css-search { background:#fff; border:1px solid #dedede; border-radius:3px; padding:5px; min-height:40px; position:relative; -moz-border-radius:3px; -webkit-border-radius:3px; }	
		/* Main Search */
			div.css-search.has-advanced div.em-search-main { padding-bottom:8px; border-bottom:1px solid #dedede; }
			div.css-search div.em-search-main div { display:inline; }
			div.css-search div.em-search-field { padding:5px 0px; }
			div.css-search input.em-search-text, div.css-search input.em-search-geo { width:90%; font-size:16px; line-height:16px; padding:8px; border:none; outline:none !important; color:#666; text-overflow: ellipsis; }
			div.css-search div.em-search-geo { margin:0px 0px 0px 5px; padding-left:20px; background:url(../images/search-geo.png) 0px 3px no-repeat; }
			div.css-search div.em-search-text { margin:0px 0px 0px 5px; padding-left:20px; background:url(../images/search-mag-ico.png) 0px 4px no-repeat; }
			/* Placeholder text in main section */ 
				div.css-search div.em-search-main div.em-search-field input::-webkit-input-placeholder { /* WebKit browsers */ font-size:16px; line-height:16px; padding:3px 0px; border:none; outline:none; color:#666; }
				div.css-search div.em-search-main div.em-search-field input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ font-size:16px; line-height:16px; padding:8px; border:none; outline:none; color:#666; }
				div.css-search div.em-search-main div.em-search-field input::-moz-placeholder { /* Mozilla Firefox 19+ */ font-size:16px; line-height:16px; padding:8px; border:none; outline:none; color:#666; }
				div.css-search div.em-search-main div.em-search-field input:-ms-input-placeholder { /* Internet Explorer 10+ */ font-size:16px; line-height:16px; padding:8px; border:none; outline:none; color:#666; }			
			/* Geo field specifics */
				div.css-search.has-search-geo.has-search-term input.em-search-text, div.css-search.has-search-geo.has-search-term input.em-search-geo { width:40%; }
				.pac-container .pac-item { padding:4px 4px !important; }
			/* Main Search Button */
				div.css-search div.em-search-main .em-search-submit {
					position:absolute;
					top: 5px; right: 5px;
					-moz-box-shadow: 0px 0px 0px 0px #ffffff;
					-webkit-box-shadow: 0px 0px 0px 0px #ffffff;
					box-shadow: 0px 0px 0px 0px #ffffff;
					background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #b7d282), color-stop(1, #8eb56d) );
					background:-moz-linear-gradient( center top, #b7d282 5%, #8eb56d 100% );
					background-color:#b7d282;
					-moz-border-radius:6px;
					-webkit-border-radius:6px;
					border-radius:6px;
					border:1px solid #dcdcdc;
					display:inline-block;
					color:#ffffff;
					font-weight:bold;
					padding:8px 10px;
					text-decoration:none;
					text-shadow:1px 1px 0px #c7c5c7;
					line-height:16px;
				}
				div.css-search div.em-search-main .em-search-submit:hover {
					background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #C4DB99), color-stop(1, #A4C48A) );
					background:-moz-linear-gradient( center top, #C4DB99 5%, #A4C48A 100% );
					background:-ms-linear-gradient(top, #C4DB99, #A4C48A);
					background:-o-linear-gradient(top, #C4DB99, #A4C48A);
					background:linear-gradient(top, #C4DB99, #A4C48A);
					background-color:#A4C48A;
				}
				div.css-search div.em-search-main .em-search-submit img { border:none; padding:0; margin:0; box-shadow:none; border-radius:0; background:none; }
				/* IE7 Hack */ div.css-search div.em-search-main button.em-search-submit span { display:block; width:16px; height:16px; background:url('../images/search-mag.png') 0px 0px no-repeat; }			
		/* Advanced Search */
			div.css-search div.em-search-location, div.em-search-location-meta { margin:0px; padding: 0px; }
			div.css-search div.em-search-advanced, div.css-search div.em-search-options { padding:5px 8px; }
			div.css-search div.em-search-advanced > div { clear:both; }
			div.css-search div.em-search-advanced label > span { display:block; float:left; min-width:100px; }
			div.css-search div.em-search-advanced .em-search-submit { margin:10px 0px; }
			div.css-search.no-search-main div.em-search-advanced.visible div { display:inline; clear:none; }
			div.css-search.no-search-main div.em-search-advanced.visible label { display:none; }
			div.css-search div.em-search-options { text-align:right; }

/* Events List */
	.css-events-list table.events-table { border-spacing: 0px; border-collapse: collapse; }
	.css-events-list table.events-table td { padding:0px; }
	.css-events-list table.events-table th.event-time { width:150px; }
	.css-events-list table.events-table th.event-description { width:auto; }

/* Booking Form */
	.em-booking { margin:15px 0px 10px 0px; position:relative; }
	.em-booking-form  { position:relative; clear:left; }
	.em-booking-form-details  { padding:10px; width:360px; float:left; }  
	.em-booking-form-details input.input, .em-booking-form-details textarea { width:250px; }
	.em-booking-form p { clear:left; }
	.em-booking-form label { display:block; float:left; }
	.em-booking-form span.input-group input { margin-left:-20px; }
	.em-booking-form span.input-group { display:block; margin-left:120px; }
	.em-booking-form label  { display:inline-block; width:100px; }	
	.em-booking-form-details .em-booking-submit { width:auto; }	
	/* Tickets */
		.em-tickets { margin-bottom:20px; }
	/* Message Errors */
		div.em-booking-message { margin:10px 0px; padding:10px; color:#333; border-radius:3px; }
		div.em-booking-message p { margin:10px 0px !important; padding:0px; color:#333; }
		div.em-booking-message-success { background-color:#f1fff0; border:1px solid #a8d144; }	
		div.em-booking-message-error { background-color:#FFEBE8; border:1px solid #C00; }
	/* Optional Login Form */
		div.em-booking-login { padding: 10px 10px 10px 20px; margin: 0px 0px 0px 390px;	border-left: 1px solid black; }
		div.em-booking-login label { display:inline-block; width:90px; }
		div.em-booking-login p{ margin:10px 0px !important; padding:0px !important;	}	
		div.em-booking-login input { margin:0px; }
		
/* Events Admin */
#em-wrapper #posts-filter .subsubsub .current { font-weight:bold; }		
		
/* Add Event Form */
	#event-form h4 { margin:25px 0px 15px 0px; font-weight:bold; }
	#event-form p { margin-top:10px; }
	#event-form .inside { clear:both; margin-bottom:20px; }
	#buddypress .wp-editor-wrap table { width:auto; }
	#buddypress .wp-editor-wrap table tr td, #buddypress .wp-editor-wrap table tr th { padding:0; }
	#buddypress .wp-editor-wrap a.button, #buddypress .wp-editor-wrap button, #buddypress .wp-editor-wrap input[type=submit], #buddypress .wp-editor-wrap input[type=button], #buddypress .wp-editor-wrap input[type=reset] { padding: 0px 10px 1px; }
	/* Event Details */
		#event-form #event-name { width:80%; padding:2px; }
		#event-form .event-extra-details { margin-top:20px; }
		#event-form .event-extra-details select { vertical-align:top; }
	/*Tickets*/
		#event-rsvp-box { margin:10px; }
		#event-rsvp-options label { font-weight:bold; }
		/*Tickets*/
			.em-tickets-row .ticket-status span.ticket_on { display:block; width:10px; height:10px; background:green; }
			.em-tickets-row .ticket-status span.ticket_off { display:block; width:10px; height:10px; background:red; }
			.em-tickets-row .ticket-status span.ticket_new { display:block; width:10px; height:10px; background:grey; }
			#em-tickets-form th { width:auto; }
			#em-tickets-form th.ticket-status { width:20px; }
			/* Ticket Forms */
				.em-ticket-form .ticket-options { margin-top:10px; }	
				.em-ticket-form > div > div, #em-tickets-form .ticket-dates > div { clear:both; padding-top:4px; }
				.em-ticket-form label { display:block; float:left; min-width:105px; padding-right:5px; }
				#em-tickets-form .ticket-name input, #em-tickets-form .ticket-description textarea { width:50%} 
				#em-tickets-form .em-ticket-form-actions { clear:both; }
				#em-tickets-form .ticket-spaces input, #em-tickets-form .ticket-price input { width:80px; }
 				#em-tickets-form .ticket-dates input.em-date-input-loc { width:90px; }
				#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-from-recurring, 
				#em-tickets-form .ticket-dates-to-normal, #em-tickets-form .ticket-dates-to-recurring { display:inline; }
 				#em-tickets-form .ticket-required input, #em-tickets-form .ticket-roles input { width:auto; }
 				#em-tickets-form .ticket-roles div { margin-left:110px; }
	/* The editor */
		#wp-em-editor-content-wrap table { margin-bottom:0px; }
	/* Location form */
		#em-location-data table.em-location-data td, #em-location-data table.em-location-data th { vertical-align:top; border:none; }
		#em-location-data table.em-location-data select { width:100%; }
		#em-location-data table.em-location-data { width:50%; float:left; border:none; }
		#em-location-data .em-location-map-container { width: 50%; height: 300px; float:left; }
		#em-location-data .em-location-map-404, #em-location-data .em-location-map-content { width:100%; height:100%; }
		#em-location-data .em-location-map-404 { vertical-align:middle; text-align: center; }
/* Booking Admin */
	/* Generic Table Info */
	table.em-form-fields td, table.em-form-fields th { text-align:left; vertical-align:top; }
	table.em-form-fields th { padding:0px 20px 5px 0px; }		
	/* Bookings Table */
		.em_obj { position:relative; }
		.em_obj .table-wrap { clear:left; padding-top:5px; }
		.em-bookings-table .em-bookings-table-export, .em-bookings-table .em-bookings-table-settings { float:left; display:block; margin:2px 5px; width:25px; height:25px;  }
		.em-bookings-table .em-bookings-table-export { background:url(../images/csv.png) 0px 0px no-repeat; }
		.em-bookings-table .em-bookings-table-settings { background:url(../images/settings.png) 0px 0px no-repeat; }
		/* Settings & Export */
			#em-bookings-table-export, #em-bookings-table-settings { width:500px; height: 75%; }
			#em-bookings-table-export form, #em-bookings-table-settings form { height: 100%; overflow:auto; }
			/* Sorting */
				.em-bookings-table-overlay ul.em-bookings-cols-sortable { list-style-type: none; margin: 0; padding: 0 0 10px; float: left; margin-right: 10px; }
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li { margin: 0 5px 5px 5px; padding: 3px 8px; font-size: 12px; width: 120px; font-weight:none; cursor:move; }
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li.ui-state-highlight {}
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li.ui-state-default { color:#999; }
				#em-bookings-export-cols-inactive, #em-bookings-cols-inactive { width:300px; }	
				#em-bookings-export-cols-inactive li, #em-bookings-cols-inactive li { float:left; }
	/* Single Booking Edit View */
		#em-bookings-admin-booking .em-booking-single-info { display:none; }
		#em-bookings-admin-booking .em-booking-single-form { padding-right:20px; }		
		
/* Printable stuff */
	body#printable { font-family: Gill Sans, Helvetica, Arial, sans-serif; text-align: center; }  
	body#printable #container { margin: 0 auto; width: 780px; text-align: left; }
	body#printable table#bookings-table { width: 600px; border-spacing: 0px; }
	body#printable table#bookings-table td { padding: 5px 0; }
	body#printable table#bookings-table td.spaces-number { text-align: right; padding-right: 20px; }
	body#printable table#bookings-table th { text-align: left; margin-left: 5px; }   
	body#printable table#bookings-table tr#booked-spaces td{ border-top: 2px solid #999; }
	body#printable table#bookings-table td.total-label { text-align: right; }                                  
	body#printable table#bookings-table tr#booked-spaces td.spaces-number, table#bookings-table tr#available-spaces td.spaces-number { font-weight: bold; }

/* Calendar Styles */
	table.em-calendar td { padding: 2px 4px; text-align: center; }
	table.em-calendar.table tr.days-names { font-weight: bold; } 
	table.em-calendar td.eventless-pre, .em-calendar td.eventless-post { color: #ccc; }
	table.em-calendar td.eventful-pre a, table.em-calendar td.eventful-post a{ color: #aaa; text-decoration:underline; }
	table.em-calendar td.eventful a, table.em-calendar td.eventful-today a { color: #FD7E29; }
	table.em-calendar td.eventful-today a { font-weight: bold; }
	table.em-calendar td.eventless-today, table.em-calendar td.eventful-today { background-color: #CFCFCF; }
	table.em-calendar thead { font-size: 120%; font-weight: bold; }
	table.fullcalendar { border-collapse: collapse; }
	table.fullcalendar td { text-align: left; border: 1px solid #888; }
	div.em-calendar-wrapper { position:relative; }
/*
Maps - if the info balloons don't look right on your site, chances are it's a CSS issue. 
Google is VERY sensitive to CSS rules for the infowindows, making it hard to accommodate every theme in WP. 
Please edit your theme's CSS to override this 
*/
	.em-map-balloon .em-map-balloon-content { 
		margin:0px 0px 0px 0px !important; 
		padding:0px 0px 20px 0px !important; 
		font-size:12px !important;
		color:#000000  !important;
		width:auto !important; 
		max-width:none !important;
		height:auto !important;
		max-height:none !important;
	}
	.em-location-map img, .em-locations-map img, #em-map img { 
		max-width:none !important; 
		background:none !important; 
		border:none !important; 
		margin:0 !important; 
		padding:0 !important; 
		height:auto; 
		width:auto;
	}

/* Time Picker */
	#start-time, #end-time { width:7em;}
	#start-time.error, #end-time.error { border:#cc0000 1px solid; }
	div.time-picker {  position: absolute; height: 191px; width:5em; /* needed for IE */ overflow: auto; background: #fff; border: 1px solid #aaa; z-index: 99; margin: 0; }
	div.time-picker-12hours { width:7em; /* needed for IE */ }
	div.time-picker ul { list-style-type: none; margin: 0; padding: 0; }
	div.time-picker li { cursor: pointer; height: 10px; font: 12px/1 Helvetica, Arial, sans-serif; padding: 4px 3px; }
	div.time-picker li.selected { background: #0063CE; color: #fff; }

/*******************************************Events manager admin css************************************/

div#em-loading { position:absolute; width:100%; height:100%; background:#FFFFFF url(../images/loading.gif) 50% 50% no-repeat; left:0px; top:0px; opacity:0.8; filter:alpha(opacity=80); z-index:9999; }
	
#location_info td { vertical-align:top; text-align:left; }
#location_info th { vertical-align:top; text-align:left; padding:5px 10px 0 0; }

p.warning {	border: 2px solid #FD0000; background: #FF7146; color: #fff; font-weight: bold; padding: 5px; }
.debug{ color: green; background: #B7F98C; margin: 15px; padding: 10px; border: 1px solid #629948; }

.switch-tab { background: #aaa; width: 100px; float: right; text-align: center; margin: 3px 1px 0 5px; padding: 2px; }
.switch-tab a { color: #fff; text-decoration: none; }
.switch-tab a:hover { color: #D54E21; } 

#events-pagination { text-align: center; }
#events-pagination a { margin: 0 20px 0 20px; text-decoration: none; width: 80px; padding: 3px 0; background: #FAF4B7; border: 1px solid #ccc; border-top: none;} 
#new-event { float: left; }

div#icon-events{ background:url('../images/calendar-32.png') no-repeat center; }
div#icon-bookings{ background:url('../images/bookings-32.png') no-repeat center; }

/* Events List */
table.events-table tr.pending { background:#FCFFA8 }
table.events-table tr.past { background:#E4E4E4 }
table.events-table .category { color:#888; }

/* Events Add Page */
#event-form #event-name, #location-form, #location-name { margin: 2px 0 7px; padding: 6px 5px; width: 98%; }
	/*Locations*/
	div.em-location-data table { float:left; margin:0px 15px 0px 0px; }
	/* Location form */
		div.em-location-data table.em-location-data td, div.em-location-data table.em-location-data th { vertical-align:top; border:none; }
		div.em-location-data table.em-location-data { width:50%; float:left; border:none; }
		div.em-location-data .em-location-map-container, div.em-location-data .em-location-map-404, div.em-location-data .em-location-map-content { width: 400px; height: 300px; float:left; }
		div.em-location-data .em-location-map-404 { vertical-align:middle; text-align: center; }
	/* MS Global Categories */
		.ms-global-categories { line-height:1.8em; }
	/*Bookings */
		#event-rsvp-box { margin:10px; }
		#event-rsvp-options h4 { font-size:14px; }
		#event-rsvp-options label { font-weight:bold; }
		/*Tickets*/
			.em-tickets-row .ticket-status span.ticket_on { display:block; width:10px; height:10px; background:green; }
			.em-tickets-row .ticket-status span.ticket_off { display:block; width:10px; height:10px; background:red; }
			.em-tickets-row .ticket-status span.ticket_new { display:block; width:10px; height:10px; background:grey; }
			#em-tickets-form th { width:auto; }
			#em-tickets-form th.ticket-status { width:20px; }
			/* Ticket Forms */
				.em-ticket-form .ticket-options { margin-top:10px; }
				.em-ticket-form > div > div, #em-tickets-form .ticket-dates > div { clear:both; padding-top:4px; }
				.em-ticket-form label { display:block; float:left; min-width:105px; padding-right:5px; }
				#em-tickets-form .ticket-name input, #em-tickets-form .ticket-description textarea { width:50%} 
				#em-tickets-form .em-ticket-form-actions { clear:both; }
				#em-tickets-form .ticket-spaces input, #em-tickets-form .ticket-price input { width:80px; }
 				#em-tickets-form .ticket-dates input.em-date-input-loc { width:90px; }
				#em-tickets-form .ticket-dates-from-normal, #em-tickets-form .ticket-dates-from-recurring, 
				#em-tickets-form .ticket-dates-to-normal, #em-tickets-form .ticket-dates-to-recurring { display:inline; }		
 				#em-tickets-form .ticket-required input, #em-tickets-form .ticket-roles input { width:auto; }
 				#em-tickets-form .ticket-roles div { margin-left:110px; }

/* Booking Form */
	.em-booking { margin:15px 0px 10px 0px; position:relative; }
	.em-booking-form  { position:relative; clear:left; }
	.em-booking-form-details  { padding:10px; width:360px; float:left; }  
	.em-booking-form-details input.input, .em-booking-form-details textarea { width:250px; }
	.em-booking-form p { clear:left; }
	.em-booking-form label { display:block; float:left; }
	.em-booking-form span.input-group input { margin-left:-20px; }
	.em-booking-form span.input-group { display:block; margin-left:120px; }
	.em-booking-form label  { display:inline-block; width:100px; }	
	.em-booking-form-details .em-booking-submit { width:auto; }	
	/* Tickets */
		.em-tickets { margin-bottom:20px; }
	/* Message Errors */
		div.em-booking-message { margin:10px 0px; padding:10px; color:#333; border-radius:3px; }
		div.em-booking-message p { margin:10px 0px !important; padding:0px; color:#333; }
		div.em-booking-message-success { background-color:#f1fff0; border:1px solid #a8d144; }	
		div.em-booking-message-error { background-color:#FFEBE8; border:1px solid #C00; }
		
/* Booking admin area */
#em-booking-details .inside { padding:5px 10px; }
.stuffbox .inside h4 { font-size:16px; font-weight:normal; margin:10px 0px 20px; font-weight:bold; }
	/* Generic Table Info */
	table.em-form-fields td, table.em-form-fields th { text-align:left; vertical-align:top; }
	table.em-form-fields th { padding:0px 20px 5px 0px; }
	.em-tablenav-pagination.tablenav-pages a { width:auto; padding-top:4px; padding-bottom:5px;}
	.em-tablenav-pagination.tablenav-pages .current { font-size:16px; }
	/* Ticket table info */
	table.em-tickets-bookings-table { width:100%; border:1px #efefef solid; margin:10px 0px; }
	table.em-tickets-bookings-table th, table.em-tickets-bookings-table td { padding:5px 5px; margin:0px; }
	table.em-tickets-bookings-table thead th, table.em-tickets-bookings-table tfoot th { background:#cdcdcd; text-align:center }
	table.em-tickets-bookings-table tbody td.ticket-type { text-align:left; padding-left:10px; }
	table.em-tickets-bookings-table tbody td { text-align:center; }	
	/* Bookings Table */
		.em-bookings-table .em-bookings-table-export, .em-bookings-table .em-bookings-table-settings { float:left; display:block; margin:2px 5px; width:25px; height:25px;  }
		.em-bookings-table .em-bookings-table-export { background:url(../images/csv.png) 0px 0px no-repeat; }
		.em-bookings-table .em-bookings-table-settings { background:url(../images/settings.png) 0px 0px no-repeat; }
		/* Settings & Export */	
			#em-bookings-table-export, #em-bookings-table-settings { width:500px; height: 75%; }
			#em-bookings-table-export form, #em-bookings-table-settings form { height: 100%; overflow:auto; }	
			/* Sorting */
				.em-bookings-table-overlay ul.em-bookings-cols-sortable { list-style-type: none; margin: 0; padding: 0 0 10px; float: left; margin-right: 10px; }
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li { margin: 0 5px 5px 5px; padding: 3px 8px; font-size: 12px; width: 120px; font-weight:none; cursor:move; }
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li.ui-state-highlight {}
				.em-bookings-table-overlay ul.em-bookings-cols-sortable li.ui-state-default { color:#999; }
				#em-bookings-export-cols-inactive, #em-bookings-cols-inactive { width:300px; }	
				#em-bookings-export-cols-inactive li, #em-bookings-cols-inactive li { float:left; }
	/* Single Booking Edit View */
		#em-bookings-admin-booking .em-booking-single-info { display:none; }
		#em-bookings-admin-booking .em-booking-single-form { padding-right:20px; }

/* Google Map Object */
#location-balloon-content h3 { background:none; text-shadow:none; }

/* Options Page */
#em-options-form .inside { border-top: 1px solid #dedede; margin-top:0px; padding-top:10px; }
#em-options-form h3 { font-size:16px; }	
#em-options-form td, #em-options-form th { vertical-align:top; }
#em-options-form th { padding: 15px 20px; margin:0 !important; font-size:0.97em; }
#em-options-form .em-boxheader { font-style:italic; margin:0; padding:10px 5px; }
#em-options-form tr.em-header td { font-style:italic; padding:10px 5px; margin:0; }
#em-options-form tr.em-header h4 { font-weight:bold; font-size:15px; font-style:normal; border-bottom: 1px solid #dedede; margin:0 0 10px; padding:0 0 10px; }
#em-options-form tr.em-subheader td { font-style:italic; margin:0; padding:5px 20px 2px; }
#em-options-form tr.em-subheader h5 { font-style:normal; margin:10px 0; padding:0 0 5px; font-weight:bold; font-size:15px; border-bottom: 1px solid #efefef; color:#000; }
#em-options-form tbody.em-subsection th { padding-left:35px; }
table.em-caps-table th, table.em-caps-table td { width:auto !important; }
.em-translatable { display:inline-block; width:20px; height:20px; font-size:20px; padding:0px 5px 0px 0px; cursor:pointer; }
.em-ml-options { display:none; }
.em-ml-options table { width:95%; }
.em-ml-options table td { padding:0px 0px 5px; margin:0px; }
.em-ml-options .lang { width:100px; }

/* Widget Tables CSS */
.em_obj .table-wrap{
	position:relative;
}
.em_obj #em-loading { position:absolute; width:100%; height:100%; background:#FFFFFF url(../images/loading.gif) 50% 50% no-repeat; left:0px; top:0px; opacity:0.8; filter:alpha(opacity=80)}

/*Help Docs*/
.em-docs > h3 { font-size:18px; display:block; margin-top:50px; }
.em-docs dl, .em-docs h2, .em-docs h3, .em-docs h4, .em-docs dl { clear:left; }
.em-docs dl dt { display:block; float:left; min-width:160px; margin-right:10px; }
.em-docs dl dd { display:block; margin-left:170px; }		
.em-docs-atts dl dt { min-width:110px !important; }
.em-docs-atts dl dd { margin-left:120px !important; }

/* Time Picker */
.em-time-input.error { border:#cc0000 1px solid; }
div.time-picker {  position: absolute; height: 191px; width:4.5em; /* needed for IE */ overflow: auto; background: #fff; border: 1px solid #aaa; z-index: 99; margin: 0; }
div.time-picker-12hours { width:6.5em; /* needed for IE */ }
div.time-picker ul { list-style-type: none; margin: 0; padding: 0; }
div.time-picker li { cursor: pointer; height: 10px; font: 12px/1 Helvetica, Arial, sans-serif; padding: 4px 3px; }
div.time-picker li.selected { background: #0063CE; color: #fff; }

/**************************Стили wp lightbox 2****************************************************/

#lightbox{position:absolute;left:0;width:100%;z-index:10100;text-align:center;line-height:0}#jqlb_loading{height:32px;background-image:url('./images/ru_RU/loading.gif');background-repeat:no-repeat;background-position:center center}#jqlb_closelabel{height:22px;background-image:url('./images/ru_RU/closelabel.gif');background-repeat:no-repeat;background-position:center center}#lightbox a img{border:none}#outerImageContainer{position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto}#imageContainer{padding:10px}#loading{position:absolute;top:40%;left:0;height:25%;width:100%;text-align:center;line-height:0}#hoverNav{position:absolute;top:0;left:0;height:100%;width:100%;z-index:10}#imageContainer>#hoverNav{left:0}#hoverNav a{outline:none}#prevLink,#nextLink{width:45%;height:100%;background:transparent url('./images/ru_RU/blank.gif') no-repeat;display:block}#prevLink{left:0;float:left}#nextLink{right:0;float:right}#prevLink:hover,#prevLink:visited:hover{background:url('./images/ru_RU/prev.gif') left 50% no-repeat}#nextLink:hover,#nextLink:visited:hover{background:url('./images/ru_RU/next.gif') right 50% no-repeat}#nextLinkText,#prevLinkText{color:#ff9834;font-weight:bold;text-decoration:none}#nextLinkText{padding-left:20px}#prevLinkText{padding-right:20px}.ontop #imageData{padding-top:5px}#imageDataContainer{font:10px Verdana,Helvetica,sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em}#imageData{padding:0 10px}#imageData #imageDetails{width:70%;float:left;text-align:left}#imageData #caption{font-weight:bold}#imageData #numberDisplay{display:block;clear:left;padding-bottom:1.0em}#imageData #bottomNavClose{width:86px;float:right;padding-bottom:.7em}#imageData #helpDisplay{clear:left;float:left;display:block}#overlay{position:absolute;top:0;left:0;z-index:10090;width:100%;height:500px;background-color:#000;filter:alpha(opacity=60);-moz-opacity:.6;opacity:.6;display:none}.clearfix:after{content:".";display:block;height:0;clear:both;visibility:hidden}* html>body .clearfix{display:inline-block;width:100%}* html .clearfix{/*\*/height:1%;/**/}#lightboxIframe{display:none}

/*************************Стили youtube плагина**********************************/

.epyt-gallery-clear,.epyt-gallery-rowbreak,.epyt-pagination{clear:both}.epyt-debug{cursor:pointer;text-align:left;background-color:#ddd;color:#000}.epyt-gallery{text-align:center}.epyt-gallery iframe{margin-bottom:0}.epyt-gallery.epyt-lb iframe{display:none;height:0!important}.epyt-gallery-list{margin:0 -8px;position:relative;transition:opacity ease-out .3s;display:block}.epyt-gallery-list.epyt-loading{opacity:.5;transition:opacity ease-out .3s}.epyt-gallery-thumb{box-sizing:border-box;overflow-y:hidden;display:block!important;cursor:pointer;opacity:.8;float:left;padding:0 8px 10px}.epyt-gallery-thumb.hover{position:relative;opacity:1;transition:opacity ease-out .3s}.epyt-gallery-img-box{width:100%}.epyt-gallery-img{height:0;width:100%;padding-top:56.25%!important;position:relative;overflow:hidden!important;background-size:cover!important;background-position:center!important}.epyt-gallery-playhover{opacity:0;position:absolute;top:-10px;left:0;width:100%;height:100%;vertical-align:middle;text-align:center;transition:opacity ease-out .3s}.epyt-gallery-thumb.epyt-current-video .epyt-gallery-playhover,.epyt-gallery-thumb.hover .epyt-gallery-playhover{opacity:1;top:0;transition:all ease-out .3s}.epyt-gallery-thumb .epyt-gallery-playcrutch{display:inline-block;height:100%;vertical-align:middle;width:0}.epyt-gallery-playhover .epyt-play-img{height:auto!important;max-width:15%!important;padding:0!important;margin:0!important;min-width:30px!important;vertical-align:middle!important;display:inline-block!important;width:auto;border:none;box-sizing:border-box}.epyt-gallery-notitle span,.epyt-gallery-thumb.epyt-listview+.epyt-gallery-rowbreak{display:none}.epyt-gallery-title{font-size:80%;line-height:120%;padding:10px}.epyt-gallery-notitle{padding:4px}.epyt-gallery-rowtitle{text-align:center;width:100%;position:absolute;left:0;top:100%;opacity:0;z-index:10;overflow-x:hidden;text-overflow:ellipsis;white-space:nowrap}.epyt-gallery-rowtitle.hover{opacity:1;transition:opacity linear .2s}.epyt-gallery-list.epyt-gallery-style-listview{margin-left:0;margin-right:0;margin-bottom:25px}.epyt-gallery-thumb.epyt-listview{width:100%!important;padding:0;margin:8px 0}.epyt-gallery-thumb.epyt-listview .epyt-gallery-img-box{float:left;width:150px;max-width:25%;margin-right:20px;margin-bottom:6px}.epyt-gallery-thumb.epyt-listview .epyt-gallery-title{padding:10px;text-align:left}.epyt-gallery-thumb.epyt-listview .epyt-gallery-dsc{font-size:75%;line-height:120%;padding:5px 10px 12px;text-align:left}.epyt-gallery-thumb.epyt-listview.hover{position:relative;background-color:#ddd;color:#000;transition:background-color ease-out .3s,color ease-out .3s}.epyt-pagination{text-align:center;padding:10px 8px}.epyt-pagenumbers>div,.epyt-pagination>div{display:inline-block;padding:0 2px;vertical-align:middle}.epyt-pagination .epyt-pagebutton{cursor:pointer;display:inline-block;padding:0 10px}.epyt-pagebutton>div{display:inline}.epyt-pagination .epyt-loader{display:none}.epyt-gallery-list.epyt-loading .epyt-pagination .epyt-loader{display:inline-block}body .lity-container{width:100%;max-width:964px}.epyt-curtain .lity-opened iframe{opacity:0;transition:opacity .3s linear .5s}.epyt-gallery-allthumbs.epyt-cols-1 .epyt-gallery-thumb{width:100%}.epyt-gallery-allthumbs.epyt-cols-2 .epyt-gallery-thumb{width:50%}.epyt-gallery-allthumbs.epyt-cols-3 .epyt-gallery-thumb{width:33.333%}.epyt-gallery-allthumbs.epyt-cols-4 .epyt-gallery-thumb{width:25%}.epyt-gallery-allthumbs.epyt-cols-5 .epyt-gallery-thumb{width:20%}.epyt-gallery-allthumbs.epyt-cols-6 .epyt-gallery-thumb{width:16.666%}.epyt-gallery-allthumbs.epyt-cols-7 .epyt-gallery-thumb{width:14.285%}.epyt-gallery-allthumbs.epyt-cols-8 .epyt-gallery-thumb{width:12.5%}.epyt-gallery-allthumbs.epyt-cols-9 .epyt-gallery-thumb{width:11.111%}.epyt-gallery-allthumbs.epyt-cols-10 .epyt-gallery-thumb{width:10%}.epyt-gallery-allthumbs.epyt-cols-11 .epyt-gallery-thumb{width:9.090%}.epyt-gallery-allthumbs.epyt-cols-12 .epyt-gallery-thumb{width:8.333%}.epyt-gallery-allthumbs.epyt-cols-13 .epyt-gallery-thumb{width:7.692%}.epyt-gallery-allthumbs.epyt-cols-14 .epyt-gallery-thumb{width:7.142%}.epyt-gallery-allthumbs.epyt-cols-15 .epyt-gallery-thumb{width:6.666%}.epyt-gallery-allthumbs.epyt-cols-16 .epyt-gallery-thumb{width:6.25%}.epyt-gallery-allthumbs.epyt-cols-17 .epyt-gallery-thumb{width:5.882%}.epyt-gallery-allthumbs.epyt-cols-18 .epyt-gallery-thumb{width:5.555%}.epyt-gallery-allthumbs.epyt-cols-19 .epyt-gallery-thumb{width:5.263%}.epyt-gallery-allthumbs.epyt-cols-20 .epyt-gallery-thumb{width:5%}.epyt-gallery-allthumbs.epyt-thumb-portal .epyt-gallery-thumb .epyt-gallery-img{border-radius:50%;padding-top:100%!important}.epyt-gallery-list.epyt-gallery-style-carousel{margin:0 0 50px}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagination{display:none}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagination:first-child{position:absolute;width:100%;display:block;margin:auto;top:0;bottom:0;padding:0;height:30px}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagenumbers.hide{opacity:0}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-gallery-allthumbs{margin:15px 35px}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-gallery-thumb{padding-bottom:0;float:none;display:inline-block!important}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagebutton>div{display:none}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagebutton>div.arrow{background:url(../images/arrow-right.svg) no-repeat;background-size:contain;width:20px;height:100%;display:block;text-indent:-99999px;opacity:.7}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagebutton>div.arrow:hover{opacity:1}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagebutton.epyt-prev>div.arrow{background-image:url(../images/arrow-left.svg)}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagebutton{padding:0;margin-top:-2px}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-next{float:right}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-prev{float:left}.epyt-gallery-list.epyt-gallery-style-carousel .epyt-pagenumbers{position:absolute;top:100%;left:0;right:0}.epyt-pagebutton.hide,.epyt-pagenumbers.hide{display:none!important;opacity:0!important;visibility:hidden!important}.epyt-gallery-subscribe{text-align:center;padding:15px 0 10px;clear:both}.epyt-gallery-subscribe a.epyt-gallery-subbutton,.epyt-gallery-subscribe a.epyt-gallery-subbutton:hover{display:inline-block;padding:5px 10px;background-color:#E62117!important;color:#fff!important;text-decoration:none!important;border-radius:3px}.epyt-gallery-subscribe a.epyt-gallery-subbutton img{width:20px!important;height:auto!important;vertical-align:middle!important;padding:0 6px 3px 0;display:inline-block;background:0 0}#wpadminbar #wp-admin-bar-ytprefs-bar-cache>.ab-item:before{content:"\f311";top:2px}


#snippet-box {display:none !important;}/*************************Стили снипетов*********************************/

/*************************Стили рекламы гугл*********************************/
.googleadtop {width:65%; float: left; margin:2% 0 0 3%;}
@media screen and (max-width:760px){.googleadtop {width: 100%;margin: 0;}}


.afishapreview {width:100%; margin: 0 auto;}

.divwrappercenter {display:table; margin: 0 auto;}
.tablered {width:100%; border: 1px solid #aa2817;}
.tablered td {width:65%; min-width:200px; border: 2px solid #aa2817; padding:5px;}
.tablered th {width:45%; min-width:200px; border: 2px solid #aa2817; padding:5px; font-weight:bold;}
.tableredtitle {background: linear-gradient(#fae3e3, #dba9a9);}

.divwrapper {width:100%;}
.divtable {display:table; width:100%; margin-left:5%; margin-bottom: 10px;}
.divrow {display:table-row;}
.divcol65 {display: inline; margin-left:10px; width:65% !important; min-width:250px; height:auto; border:0; float:left;}
.divcol35 {display: inline; margin-left:10px; width:30% !important; min-width:200px; height:auto; border:0; float:left;}

.wpua-edit-container {display:none;} /*************************скрыл выбор аватарки*********************************/

/********************************Стили кнопки ПОДПИСАТЬСЯ***********************************/

a.button13 {
  margin:0;
  width:70px;
  height:70px;
  padding:11% 2% 0 0;
  position: relative;
  display:inline-block;
  font-weight: bold;
  color: white;
  text-decoration: none;
  text-shadow: 0 -1px 1px #cc5500;
  user-select: none;
  text-align:center;  
  outline: none;
  border-radius: 1px;
  background: linear-gradient(to left, rgba(0,0,0,.3), rgba(0,0,0,.0) 50%, rgba(0,0,0,.3)), linear-gradient(#ae2816, #ca2f1a, #ae2816);   /***********Было linear-gradient(#d77d31, #fe8417, #d77d31)**ca2f1a********/
  background-size: 100% 100%, auto;
  background-position: 50% 50%;
  box-shadow: inset #cc4343 0 -1px 1px, inset 0 1px 1px #ca2f1a, #cc4343 0 0 0 1px, #000 0 10px 15px -10px; /***********Было box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, #000 0 10px 15px -10px;**********/
  transition: 0.2s;

 border-radius: 100%;

}
a.button13:hover {
  background-size: 180% 100%, auto;
  color:#fff !important;
}
a.button13:active {
  top: 1px;
  color: #ca2f1a; /*************Было #ffdead*********************/
  box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #c96d6d, #a82828 0 0 0 1px, 0 10px 10px -9px #000;  /***********Было box-shadow: inset #ebab00 0 -1px 1px, inset 0 1px 1px #ffbf00, #cc7722 0 0 0 1px, 0 10px 10px -9px #000;**********/
}

/************************Таблица санаториев************************************/
.table_blur_san {
  background: #f5ffff;
  border-collapse: collapse;
  vertical-align: middle;
  text-align:center;
  width:100%;
}
.table_blur_san a:hover {
  color:#3b0202;
}
.table_blur_san th {
  border-top: 1px solid #777777;
  border-bottom: 1px solid #777777;
/****  box-shadow: inset 0 1px 0 #999999, inset 0 -1px 0 #999999;  *****/
  background: linear-gradient(#ca2f1a, #aa2817);   /**********Было background: linear-gradient(#9595b6, #5a567f);****************/
  color: white;
  position: relative;
  width:25%;
  font-size:16px;
  line-height:2em;
}
.table_blur_san th:after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 25%;
  height: 25%;
  width: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255,255,255,.08));
}
.table_blur_san tr:nth-child(odd) {
  background: #ebf3f9;
}
.table_blur_san th:first-child {
  border-left: 1px solid #940909;	  /*******777777********/
  border-bottom:  1px solid #940909;  /*******777777********/
/*******  box-shadow: inset 1px 1px 0 #940909, inset 0 -1px 0 #940909; /*******  999999********/
}
.table_blur_san th:last-child {
  border-right: 1px solid #940909;
  border-bottom:  1px solid #940909;
/*******  box-shadow: inset -1px 1px 0 #940909, inset 0 -1px 0 #940909;  *******/
}

.table_blur_san tr {
  border: 2px solid #940909;
}
.table_blur_san td {
/**  border: 1px solid #e3eef7; **/
  vertical-align: middle;
  text-align:center;
  position: relative;
  transition: all 0.5s ease;
  width:23%;
  line-height:2em;
}
.table_blur_san tbody:hover td {
  color: transparent;
  text-shadow: 0 0 3px #a09f9d;
}
.table_blur_san tbody:hover tr:hover td {
  color: #444444;
  text-shadow: none;
}
.table_blur_san img {
transition: 0.7s;
margin: 0;
}
.table_blur_san img:hover {
border-radius: 50%;
transition: 0.7s;
}

/****************Стили страницы Фото************************/

.photodivcenter {
    width: 70%; 
    text-align:center;
    margin:5% auto;
    position: relative;
}
.photodivcenter a img {
border:2px solid #ca2f1a;
max-height: 250px;
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
.photodivcenter a img:hover {
  -webkit-filter: contrast(2);
  filter: contrast(2);
}

/****************Стили страницы Бюветы************************/

.buvetdivcenter {
    width: 70%; 
    text-align:center;
    margin:5% auto;
    position: relative;
}
.buvetdivcenter a img {
border:2px solid #ca2f1a;
max-height: 250px;
  -webkit-filter: contrast(0.8);
  filter: contrast(0.8);
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
}
.buvetdivcenter a img:hover {
  -webkit-filter: contrast(1.4);
  filter: contrast(1.4);
}

/****************Стили страницы Блогеры************************/

.blogline {
display:table;
width:100%;
height:auto;
min-height:180px;
}
.blogtext {
width:80%;
float: left;
padding:2%;
}
.blogimg {
width:20%;
float: left;
padding-top:8%;
}
.blogimg img {
  -webkit-transition: all 1s ease;
     -moz-transition: all 1s ease;
       -o-transition: all 1s ease;
      -ms-transition: all 1s ease;
          transition: all 1s ease;
-webkit-filter: contrast(90%); 
}
.blogimg img:hover {
-webkit-filter: contrast(130%); 
}

/****************************** Форум *************************************************/

#af-wrapper a {
    color: #ca2f1a !important;
}
#af-wrapper input[type="submit"] {
    background-color: #ca2f1a !important;
}
#af-wrapper .forum-menu a {
    background-color: #ca2f1a !important;
    border-bottom: 2px solid #af2715 !important;
}
#af-wrapper .pages a {
    background-color: #ca2f1a !important;
}
#af-wrapper .pages a:hover {
    background-color: #af2715 !important;
}
#af-wrapper .title-element {
    background-color: #ca2f1a !important;
    border-bottom: 2px solid #af2715 !important;
}
#af-wrapper .post-author-marker {
    background-color: #ca2f1a !important;
    border-bottom: 2px solid #af2715 !important;
}
#af-wrapper #topic-subscription,
#af-wrapper #forum-subscription {
    color: #ca2f1a !important;
}
#af-wrapper .unread:before {
    color: #ca2f1a !important;
}

pre {
    white-space: pre-wrap;       /* css-3 */
     white-space: -moz-pre-wrap;  /* Mozilla, с 1999 */
     white-space: -pre-wrap;      /* Opera 4-6 */
     white-space: -o-pre-wrap;
        font-size: 15px;
    line-height: 1.5;
    font-family: verdana;
    color: #000;
}

.header-wrapper .menu li a {padding: 0 24.8px;}

#af-wrapper #forum-header {
background-color: #ca2f1a !important;
border-bottom: 1px solid #af2715 !important;
}

.video-responsive { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow:hidden; 
} 
.video-responsive iframe, 
.video-responsive object, 
.video-responsive embed {
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%;
  height: 100%; 
}

.abt {
    line-height: 1.5em;
}
aside#text-26 {
    margin: 0;
}

#af-wrapper #forum-navigation a, #af-wrapper #forum-navigation-mobile a {
    border-left: 1px solid #ffffff !important;
}