/*======================================
Theme Name: TangoPiter
Template: glades
======================================*/




/* CSS Reset | http://meyerweb.com/eric/tools/css/reset/ | v2.0
-------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;

    font-family: Roboto Condensed;
}
.miniature{
 height: 150px !important;  /* Высота изображения */
 width: 150px !important;  /* Ширина изображения */
float:left;
margin-right:20px;
margin-top:0;
padding-right: 10px;
}

.entry-header {

    padding-top: 10px;

}

.event-single-content img {
max-width: 100% !important;
height: 100% !important;
}

* {box-sizing: border-box;}
.img-container{
  display: table-cell;
    vertical-align: middle;
}
 
.img-container img{
  display: block;
  max-width:100%;
}  

p {
margin-bottom:15px;
}
H2 {
margin-bottom:15px;
}
H3 {
margin-bottom:15px;
}
hr {
    border-top: 1px solid #dae1e8;
}


/*end*/



/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* General Styles
-------------------------------------------------------------- */


ul{
	list-style: square inside;
	margin: 0 0 1.5em;

#	margin: 0 0 0.8em 1.5em;
}
ol{
	list-style: decimal inside;
#	margin: 0 0 1.5em;
	margin: 0 0 0.8em 1.5em;

}
ol ol {
	list-style: upper-alpha inside;
}
ol ol ol {
	list-style: lower-roman inside;
}
ol ol ol ol {
	list-style: lower-alpha inside;
}
ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0.2em;
}
dl {
	margin: 0.8em 0 1.5em 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.5em;
}
strong {
	font-weight: bold;
}

html {
	font-size: 100.01%;
}
body {
	font-family: 'PT Sans', Arial, Verdana;
	font-size: 1.05em;
	border: 0;
	color: #111;
}

/* Links */
a, a:link, a:visited{
	color: DarkRed;
	text-decoration: none;
}
a:hover, a:active {
	text-decoration: underline;
}

link-to-source {
position:absolute;
}

/* Form Elements */
input, textarea {
	padding: 0.7em;
	background: #fff;
	border: 2px solid #ddd;
	font-size: 1.0em;
	color: #222;
	font-family: 'PT Sans', Arial, Verdana;
}
input[type="submit"] {
	display: inline-block;
	padding: 0.5em 1em;
	text-decoration: none;
	color: #fff;
	background: DarkRed;
	font-family: 'Contrail One', Tahoma, Arial;
	text-transform: uppercase;
	border: none;
}
input[type="submit"]:hover {
	background: #151515;
	cursor: pointer;
}

/* Clearing Floats */
.clearfix:before, .clearfix:after {  
	content: " ";
	display: table;  
}  
.clearfix:after {  
	clear: both;
}  
.clearfix {
    *zoom: 1; /* For IE 6/7 only */  
}

/* Make Form Elements responsive */
input, textarea, select {
	max-width: 95%;
}

/* Basic Structure 
-------------------------------------------------------------- */

.sep {
display:none;
}

.container {
	max-width: 1260px;
	width: 94%;
	margin: 0 auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#wrapper {
	background: #fff; overflow: hidden;
}
#wrap {
	clear: both;
	/*padding: 0.1em 0;*/
	padding: 0;
}
#content {
	float: left;
	width: 74%;
	padding-right: 2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#sidebar {
	float: right;
	width: 270px;
}

/* Top Header
-------------------------------------------------------------- */
#topheader-wrap {
	background: #151515;
	display: none;
}
#topheader-wrap #navi-social-icons {
	float: right;
}
.topnav-toggle, .topnav-icon, #social-menu-toggle, #social-menu-icon {
	display: none;
}
#topnav-menu {
	display: inline;
	list-style-type: none;
	//list-style-position: outside;
	position: relative;
}
#topnav-menu li {
	float:left;
	position:relative;
}
#topnav-menu a {
	display: block;
	font-family: 'PT Sans', Arial, Verdana;
	font-size: 0.8em;
	padding: 1em;
	text-decoration: none;
}
#topnav-menu a:link, #topnav-menu a:visited {
	color: #fff;
	text-decoration: none;
}
#topnav-menu a:hover {
	background: rgba(0,0,0,0.075);
}
#topnav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #151515;
}
#topnav-menu ul li{
	margin: 0;
	border: none;
}
#topnav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 1em 1.2em;
	font-size: 0.75em;
	text-transform: none;
	float: left;
	background: rgba(0,0,0,0.075);
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#topnav-menu ul a:link, #topnav-menu ul a:visited {
	color: #fff;
	text-decoration: none;
}
#topnav-menu ul a:hover {
	text-decoration: underline;
}
#topnav-menu li ul ul {
	margin-left: 250px;
	margin-left: 16rem;
	border-left: 1px solid rgba(255,255,255,0.2);
}
#topnav-menu li:hover ul ul, #topnav-menu li:hover ul ul ul, #topnav-menu li:hover ul ul ul ul{
	display:none;
}
#topnav-menu li:hover ul, #topnav-menu li li:hover ul, #topnav-menu li li li:hover ul, #topnav-menu li li li li:hover ul{
	display:block;
}
#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
	text-decoration: underline;
}
#topnav-menu li.current_page_item ul li a, #topnav-menu li.current-menu-item ul li a{
	color: #fff;
	text-decoration: none;
}
#topnav-menu li.current_page_item ul li a:hover, #topnav-menu li.current-menu-item ul li a:hover {
	text-decoration: underline;
}
#topnav-menu ul li.current_page_item a, #topnav-menu ul li.current-menu-item a {
	color: #fff;
	text-decoration: underline;
}
#topnav-menu ul li.current_page_item ul li a, #topnav-menu ul li.current-menu-item ul li a{
	text-decoration: none;
}

/* Header
-------------------------------------------------------------- */
#header-wrap {
    margin-bottom: 25px;
}
#logo {
	float: left;
	max-width: 100%;
}
#logo .site-title {
	padding: 0.2em 0.2em 0.2em;
	font-size: 2.3em;
	color: #D83030;
	font-family: 'Contrail One', Tahoma, Arial;
}
#logo a:hover {
	text-decoration: none;
}

#logo .site-description {
	margin-top: 0.4em;
	color: #eee;
}

/* Custom Header Image */
#custom-header-wrap {
	margin-top: 1px;
	background: #ddd;
	text-align: center;
}
#custom-header img {
	max-width: 2500px;
	vertical-align: top;
	width: 100%;
	height: auto;
}


/* Navigation Menu
-------------------------------------------------------------- */
#mainnav {
	float: right;
	display: none;
}
#mainnav-toggle, #mainnav-icon {
	display: none; outline: none
}
#mainnav-menu {
	float: left;
	list-style-type: none;
	//list-style-position: outside;
	position: relative;
}
#mainnav-menu li {
	float: left;
	position: relative;
}
#mainnav-menu a {
	display: block;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 1.0em;
	text-transform: uppercase;
	padding: 1em 1em;
	text-decoration: none;
}
#mainnav-menu a:link, #mainnav-menu a:visited {

	text-decoration: none;color: #6A453B;font-family: Roboto;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;text-transform: none;
/* identical to box height */

text-align: right;

}
#mainnav-menu a:hover {
	color: #ddd;
}
#mainnav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #fff;
	padding: 0.6em 0;
	box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);	
}
#mainnav-menu ul li{
	margin: 0;
}
#mainnav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 1em 1.2em 0.8em;
	float: left;
	color: DarkRed;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#mainnav-menu ul a:link, #mainnav-menu ul a:visited {
	color: DarkRed;
	font-size: 0.85em;
	text-decoration: none;
	text-align: left
}
#mainnav-menu ul a:hover {
	color: #222;
}
#mainnav-menu li ul ul {
	margin-left: 250px;
	margin-left: 16rem;
}
#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul{
	display:none;
}
#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul{
	display:block;
}
#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a { cursor: pointer;
	text-decoration: underline;
}
#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
	text-decoration: none;
}
#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
	text-decoration: underline;
}
#mainnav-menu ul li.current_page_item ul li a, #mainnav-menu ul li.current-menu-item ul li a{
	text-decoration: none;
}


/* Footer Menu */
#footernav {
	float: none;    width: 100%;
    height: 36px;
    background: #D83030;
}
#footernav-toggle, #footernav-icon {
	display: none;
}
#footernav-menu {
	float: none;
	list-style-type: none;
	list-style-position: outside;
	position: relative;
}
#footernav-menu li {
	float: left;
	position: relative;
        display: inline;
}
#footernav-menu a {
	display: block;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.5em;
	text-transform: uppercase;
	padding: 0 1.4em;
	text-decoration: none;
	display: flex;align-items: center
}
#footernav-menu a:link, #footernav-menu a:visited {
font-family: Roboto;
font-style: normal;
font-weight: 500;
font-size: 13px;
line-height: 15px;

color: #FFFFFF;
	text-decoration: none;
	text-transform: none
}
#footernav-menu a:hover {
	color: #ddd;
}
#footernav-menu ul {
	position: absolute;
	display: none;
	z-index: 99;
	background: #fff;
	padding: 0.0em 0;
	box-shadow: 0 1px 2px #555;
}
#footernav-menu ul li{
	margin: 0;
}
#footernav-menu ul a {
	width: 250px;
	width: 16rem;
	padding: 0em 0em 0.8em;
	float: left;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#footernav-menu ul a:link, #footernav-menu ul a:visited {
	color: DarkRed;
	font-size: 0.85em;
	text-decoration: none;
}
#footernav-menu ul a:hover {
	color: #222;
}
#footernav-menu li ul ul {
	margin-left: 250px;
	margin-left: 16rem;
}
#footernav-menu li:hover ul ul, #footernav-menu li:hover ul ul ul, #footernav-menu li:hover ul ul ul ul{
	display:none;
}
#footernav-menu li:hover ul, #footernav-menu li li:hover ul, #footernav-menu li li li:hover ul, #footernav-menu li li li li:hover ul{
	display:block;
}
#footernav-menu li.current_page_item a, #footernav-menu li.current-menu-item a {
	text-decoration: underline;
}
#footernav-menu li.current_page_item ul li a, #footernav-menu li.current-menu-item ul li a{
	text-decoration: none;
}
#footernav-menu ul li.current_page_item a, #footernav-menu ul li.current-menu-item a {
	text-decoration: underline;
}
#footernav-menu ul li.current_page_item ul li a, #footernav-menu ul li.current-menu-item ul li a{
	text-decoration: none;
}


/* Widget Styling
-------------------------------------------------------------- */
.widget {
	margin: 0 0 2em 0;
	color: #333;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.widgettitle {
	margin-bottom: 1em;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 20px;
line-height: 100%;
color: #333333;
}
.widgettitle a {
	margin-bottom: 1em!important;
	font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: bold!important;
font-size: 20px!important;
line-height: 100%!important;
color: #333333!important;
}


.widgettitle span {
	display: inline-block;

}
.widgettitle span a {
	font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 20px;
line-height: 100%;
color: #333333!important;
}


.widget .textwidget {
	line-height: 1.5em;
	margin: 0 0.5em;
}
.widget .textwidget p {
	margin-bottom: 1em;
}
.widget ul {
	line-height: 1.5em;
	margin: -0.5em 0;
	list-style: circle inside;
}
.widget ul .children {
	padding: 0;
	margin: 0.4em 0 0.8em 0.4em;
	border-top: 1px solid #eee;
}
.widget ul li {
	border-bottom: 1px solid #eee;
	padding: 0.3em;
}
.widget a:link, .widget a:visited  {
	text-decoration: none;
	color: DarkRed;
}
.widget a:hover, .widget a:active {
	text-decoration: underline;
}
.widget img {
	max-width: 100%;
	height: auto;
}
.widgettitle a:link, .widgettitle a:visited  {
	color: #fff;
}

/* Custom Widgets
-------------------------------------------------------------- */

/* Default Archive & Category Wigdets */
.widget_archive ul, .widget_categories ul {
	list-style: none;
}
.widget_archive ul li, .widget_categories ul li {
	float: left;
	width: 100%;
	text-align: right;
	color: #888;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.widget_archive ul li a, .widget_categories ul li a {
	float: left;
	font-weight: normal;
}
.widget_archive ul li a:before, .widget_categories ul li a:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 20px 'Genericons';
	vertical-align: top;
	color: #888;
	margin: 0.1em 0.3em 0 0;
}
.widget_archive ul li a:before {
	content: '\f307';
}
.widget_categories ul li a:before {
	content: '\f301';
}

/* Default Recent Posts & Comments Wigdets */
.widget_recent_entries ul, .widget_recent_comments ul {
	list-style: none;
}
.widget_recent_entries ul li .post-date {
	color: #888;
	font-size: 0.8em;
	font-style: italic;
}
.widget_recent_entries ul li:before, .widget_recent_comments ul li:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 20px 'Genericons';
	vertical-align: top;
	color: #888;
	margin: 0.1em 0.3em 0 0;
}
.widget_recent_entries ul li:before {
	content: '\f303';
}
.widget_recent_comments ul li:before {
	content: '\f300';
}

/* Default Meta & Pages Wigdets */
.widget_meta ul, .widget_pages ul {
	list-style: none;
}
.widget_meta ul li a:before, .widget_pages ul li a:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 18px 'Genericons';
	vertical-align: top;
	color: #888;
	margin: 0.2em 0.1em 0 0;
	content: '\f432';
	-webkit-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
}


/* Tagcloud Widget */
.widget_tag_cloud .tagcloud {
	font-family: 'Contrail One', Tahoma, Arial;
	/*font-size: 0.85em;*/
	/*text-transform: uppercase;*/
	line-height: 1.6em;
}
.widget_tag_cloud .tagcloud a {
	/*float: left;*/
	display: inline-block;
	/*margin: 0 2px 2px 0;*/
	/*padding: 0.3em 0.6em;*/
	/*text-decoration: none;*/
	color: #222;
	/*background: #ddd;*/
	/*font-size: 1.0em !important;*/
}
.widget_tag_cloud .tagcloud a:link, .widget_tag_cloud .tagcloud a:visited {
	color: #222;
}
.widget_tag_cloud .tagcloud a:hover, .widget_tag_cloud .tagcloud a:active {
	/*background-color: #eee;*/
	/*text-decoration: none;*/
}


/* Theme Search Widget */
.search-form {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow:hidden;
}
.search-form .screen-reader-text {
	display: none;
}
.search-form .search-field {
	display: inline-block;
	margin: 0;
	width: 90%;
	padding: 0.7em 10px 0.7em 0.7em;
	background: #fff;
	border-bottom: 1px solid #D63333;
	font-size: 1.0em;
	color: #333;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	background: transparent;
	padding: 0.8em 0.7em 0 0;
	cursor: pointer;
}
.search-form .search-submit .genericon-search {
	display: inline-block;
	width: 24px;
	height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 24px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: text-bottom;
	color: #777;
	content: '\f400';
}
.search-form .search-submit:hover .genericon-search {
	color: #333;
}

/* Theme Calendar Widget */
#wp-calendar {
	margin: 0;
	width: 100%;
	color: #444;
	line-height: 1.6em;
}
#wp-calendar th,
#wp-calendar td,
#wp-calendar caption {
	text-align: center;
}
#wp-calendar caption {
	padding: 0.4em 0;
	margin: 0 -0.4em 0.8em;
	text-align: center;
	text-transform: uppercase;
	font-size: 0.9em;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}
#wp-calendar th {
	font-weight: bold;
	font-size: 0.85em;
	padding-bottom: 0.6em;
}
#wp-calendar tbody td {
	color: #888;
}
#wp-calendar tbody td a {
	font-weight: bold;
}
#wp-calendar tbody #today {
	font-weight: bold;
	color: #333;
}
#wp-calendar tfoot tr td {
	padding-top: 0.8em;
}
#wp-calendar #prev {
	text-align: left;
}
#wp-calendar #next {
	padding-right: 0.4em;
	text-align: right;
}

/* Posts and Pages
-------------------------------------------------------------- */
.type-post, .type-page, .type-attachment  {
	margin: 0 0 2em 0;
}
.page-title, .post-title {
	font-size: 2em;
	font-family: Roboto Condensed, Tahoma, Arial;

	padding: 0.1em 0;
	color: DarkRed;
	line-height: 1.4em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.page-title {
	color: #333;
/*	border-bottom: 3px solid #333;*/
}
.post-title {
	border-bottom: 1px solid #E5E5E5;
}
.post-title a:link, .post-title a:visited {
	color: DarkRed;
	text-decoration: none;
}
.post-title a:hover, .post-title a:active{
	color: #222;
}
.sticky {
	border-left: 3px solid DarkRed;
	padding-left: 2em;
}

/* Page Links | wp_link_pages() */
.page-links {
	margin: 0;
	word-spacing: 1em;
	font-weight: bold;
}

/* Postmeta */
.postmeta {
	color: #222;
	font-size: 0.85em;
	line-height: 1.5em;
	padding: 1em 0.5em 0.8em;
}
.postmeta span {
	margin-right: 1em;
}
.postmeta .meta-comments {
	float: right;
	margin-right: 0;
}
.postmeta a:link, .postmeta a:visited {
	color: #333;
}
.postmeta a:hover, .postmeta a:active {
	color: DarkRed;
	text-decoration: none;
}

@media only screen and (max-width: 60em){
	#tango-map {
		width: 100%;
	}
	#gmap-info-wrapper {
		width: 100%;
	}
	#gmap-btns {
		right: 1em;
	}
}
@media only screen and (min-width: 60.01em){
	#tango-map {
		width: 70%;
	}
	#gmap-info-wrapper {
		width: 26%;
	}
	#gmap-btns {
		right: 31%;
	}
}

.gmap-info-header {
	background-color: #cbc5d3;
	display: block;
	border-top-right-radius: 100px;
	width:100%;
}

#gmap-short-info-wrapper {
	background-color: #FFFFFF;
	overflow: auto;
	position: absolute;
	bottom: 0;
	top: 1.8em;
	width: 100%;
}

.gmap-info-header > * {
	padding-left: 1em;
}


#tango-map img {
    max-width: none;
}

.gmap-school-thumb {
	float: left;
	margin-right: 1em;
}
.gmap_info_school_title {
	font-size: 1.2em;
	font-weight: bold;
}
.gmap_info_venue_title {
	font-size: 1.2em;
	font-weight: bold;
}

.gmap_schools_btn  {
	display: table-cell;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.5em;
	text-transform: uppercase;
	font-weight: bold;
	opacity: 0.4;
	cursor: pointer;
	background-color: #FFFFFF;
}

.gmap_schools_btn * {
	vertical-align: middle;
	padding: 1em;
}

.short-info-content {
	display: table-row;
}
.short-info-content > * {
	display: table-cell;
	vertical-align: middle;
}
.short-info-content > .gmap_info_place_info {
	display: table-cell;
	vertical-align: middle;
	padding-left: 1em;
}

.gmap_info_place_info > .label {
	padding-top: 0.5em;
	font-size: 0.8em;
	line-height: 1.0em;
}
.gmap_info_place_info > .gmap-short-meta {
	font-size: 0.6em;
	margin: 0;
	padding: 0;
	line-height: 1.1em;
}

.gmap-info-header select{
	font-size: 0.8em;
	margin-left: 2em;
}

.gmap-short-info {
	border-bottom: solid 1px #98B6CB;
	border-bottom-right-radius: 10px;
	vertical-align: top;
	cursor: pointer;
}

.gmap-short-info:hover {
	background-color: #F9F9F9;
}
.gmap-short-selected {
	background-color: #E0EFFF !important;
	/*color: white; #C6E1FF*/
}

.gmap-infowindow-venue-schedule {
    clear: both;
    margin-top: 1em;
}

/* Postmeta Icons */
.postmeta span:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 20px 'Genericons';
	vertical-align: top;
	color: #555;
}
.postmeta .meta-date:before{
	
}
.postmeta .meta-author:before{
	content: '\f304';
}
.postmeta .meta-category:before{
	content: '\f301';
}
.postmeta .meta-comments:before{
	content: '\f300';
}

/* Display Post Tags */
.postinfo {
	clear: both;
}
.postinfo .meta-tags {
	display: block;
	margin: 0;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.8em;
	text-transform: uppercase;
	line-height: 1.4em;
}
.postinfo .meta-tags a {
	float: left;
	display: inline-block;
	margin: 0 2px 2px 0;
	padding: 0.3em 0.6em;
	text-decoration: none;
	color: #fff;
	background: DarkRed;
}
.postinfo .meta-tags a:link, .postinfo .meta-tags a:visited  {
	color: #fff;
}
.postinfo .meta-tags a:hover, .postinfo .meta-tags a:active {
	background: #151515;
	text-decoration: none;
}

/* Read more Link */
.more-link {
	display: inline-block;
	margin: 0.5em 0;
	padding: 0.4em 0.8em;
	text-decoration: none;
	color: #fff;
	background: DarkRed;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	text-transform: uppercase;
}
.more-link:link, .more-link:visited  {
	color: #fff;
}
.more-link:hover, .more-link:active {
	background: #151515;
	text-decoration: none;
}
.content-excerpt .more-link  {
	margin: 0.5em 0 1em;
}

/* Archives and Search Heading */
.page-header {
	margin-bottom: 2em;
	border-bottom: 3px solid DarkRed;
	-ms-word-wrap: break-word;
	word-wrap: break-word;    margin: 20px 0px 0px 0px;
}
.page-header .archive-title {
	display: inline-block;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	line-height: 1.4em;
	text-transform: uppercase;
	color: #fff;
	background: DarkRed;
	border-bottom: 2px solid #fff;
	padding: 0.5em 0.8em;
}

/* Theme Pagination */
.post-pagination {
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	line-height: 1.4em;
}
.post-pagination a {
	display: inline-block;
	margin-right: 1px;
    text-align: center;
	text-decoration: none;
	color: #222;
	background: #ddd;
	padding: 0.5em 0.8em;
}
.post-pagination a:link, .post-pagination a:visited {
	color: #222;
}
.post-pagination a:hover {
	background: #eee;
}
.post-pagination .current {
	margin-right: 1px;
	padding: 0.5em 0.8em;
	color: #fff;
	background: DarkRed;
	border: 1px solid DarkRed;
}


/* Text Elements
-------------------------------------------------------------- */
.entry {
	line-height: 1.7em;
	margin: 0.5em 0;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
	color: #444;
}
.entry p, .comment p {
	margin: 0.75em 0 0.5em;
}
.entry h1, .comment h1,
.entry h2, .comment h2,
.entry h3, .comment h3,
.entry h4, .comment h4,
.entry h5, .comment h5,
.entry h6, .comment h6 {
	color: #222;
	font-weight: bold;
	line-height: 1.0em;
	margin: 1.2em 0 0.3em;
}
.entry h1, .comment h1 {
	font-size: 2.5em;
}
.entry h2, .comment h2 {
	font-size: 2.25em;
}
.entry h3, .comment h3 {
	font-size: 1.5em;
}
.entry h4, .comment h4 {
	font-size: 1.25em;
}
.entry h5, .comment h5 {
	font-size: 1.125em;
	margin: 1.3em 0 0;
}
.entry h6, .comment h6 {
	font-size: 1.0em;
	margin: 1.3em 0 0;
}
.entry ul, .comment ul{
	list-style: square inside;
	margin: 0 0 1.5em 2em;
}
.entry ol, .comment ol{
	list-style: decimal inside;
	margin: 0 0 1.5em 2em;
}
.entry ol ol, .comment ol ol{
	list-style: upper-alpha inside;
}
.entry ol ol ol, .comment ol ol ol{
	list-style: lower-roman inside;
}
.entry ol ol ol ol, .comment ol ol ol ol{
	list-style: lower-alpha inside;
}
.entry ul ul, .comment ul ul,
.entry ol ol, .comment ol ol,
.entry ul ol, .comment ul ol
.entry ol ul, .comment ol ul {
	margin-bottom: 0.2em;
}
dl {
	margin: 1em 0;
}
dt {
	font-weight: bold;
}
dd {
	margin-bottom: 1.5em;
}
strong {
	font-weight: bold;
}
cite,
em,
i {
	font-style: italic;
}
big, .big_tag {
	font-size: 1.3em;
}
ins {
	padding: 1px 2px;
	background: #ffa;
	text-decoration: none;
}
code, pre {
	padding: 3px 8px;
	margin: 0 1px;
	background: #eeeeee;
	color: #222;
	font-size: 0.9em;
	font-family: Monospace, "Courier New", Courier;
	overflow: auto;
	line-height: 1.0em;
}
del, strike, s{
	text-decoration: line-through;
}
pre {
	font-family: "Courier 10 Pitch", Courier, monospace;
}
small {
	font-size: 0.7em;
}
abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
sup,
sub {
	height: 0;
	line-height: 1;
	position: relative;
	vertical-align: baseline;
	font-size: 0.8em;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
.entry var, .entry kbd, .entry tt, .entry .tt_tag {
	font-size: 1.1em;
	font-family: "Courier 10 Pitch", Courier, monospace;
}
blockquote {
	background:#f5f5f5;
	border-left: 10px solid #ccc;
	margin: 1.2em 0;
	padding: 0.5em 1.5em;
}
blockquote cite {
	display: block;
	margin: 0.5em 0 0 0.5em;
	color: #777;
}
.entry table {
	border-collapse: collapse;
	border-spacing: 0;
	border: none;
	margin: 1em 0;
	text-align: left;
	width: 100%;
}
.entry tr th,
.entry thead th {
	background: #e5e5e5;
	font-weight: bold;
	padding: 0.2em 1em;
}
.entry tr td {
	border-top: 1px solid #ddd;
	padding: 0.2em 0.6em;
}
.entry tr.alternate td {
	background: #f5f5f5;
}

/* Images | Gallery | Videos
-------------------------------------------------------------- */
article .wp-post-image {
	max-width: 100%;
	margin: 1.5em 0 0;
	height: auto;
}
.entry img {
	max-width: 100%;
	height: auto;
}
.wp-caption {
	max-width: 100%;
	height: auto;
	text-align: center;
	margin: 1em 0;
}
.wp-caption-text {
	margin: 0 !important;
	padding: 0;
	font-size: 0.9em;
	text-align: center;
}
.alignleft { 
	float: left; 
	display: inline; 
	margin: 1em 2em 1em 0;
}
.alignright	{
	float: right; 
	display: inline; 
	margin: 1em 0 1em 2em;
}
.aligncenter {
	margin: 1em auto; 
	display: block;
}

/* Gallery Styling */
.gallery {
	margin: 1em auto !important;
}
.gallery-item {
	float: left;
	margin: 0.7em 0 0 0 !important;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.gallery img {
	margin: 0 !important;
	border: none !important;
}
.gallery-caption {
	margin-left: 0.3em !important;
}

/* Make Vidoes responsive */
embed, iframe, object, video {
	max-width: 100%;
}

/* Image.php Navigation */
#image-nav {
	margin-bottom: 1.5em;
	padding: 0.5em 0;
	color: #252525;
}
#image-nav .nav-previous {
	float: left;
}
#image-nav .nav-next {
	float: right;
}
#image-nav .nav-previous a, #image-nav .nav-next a {
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
	color: #252525;
	padding: 0.5em 0.8em;
	border: 1px solid #e2e2e2;
	background: #f5f5f5;
	-webkit-border-radius: 0.4em;
	-moz-border-radius: 0.4em;
	border-radius: 0.4em;
}
#image-nav .nav-previous a:hover, #image-nav .nav-next a:hover {
	background: #fdfdfd;
	border: 1px solid #ccc;
}


/* Search Form
-------------------------------------------------------------- */
.search-form {
	display: block;
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow:hidden;
}
.search-form .screen-reader-text {
	display: none;
}
.search-form .search-field {
	outline: 0;
	display: inline-block;
	margin: 0;
	width: 90%;
	padding: 0.7em 10px 0.7em 0.7em;
	background: #fff;
	border:none;
	border-bottom: 1px solid #D63333;
	font-size: 1.0em;
	color: #252525;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
}
.search-form .search-submit {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	background: transparent;
	padding: 0.8em 0.7em 0 0;
	cursor: pointer;
	height: 46px;
}
.search-form .search-submit .genericon-search {
	display: inline-block;
	width: 24px;
	height: 24px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 24px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	font-weight: normal;
	font-style: normal;
	vertical-align: text-bottom;
	color: #777;
	content: '\f400';
}
.search-form .search-submit:hover .genericon-search {
	color: #252525;
}


/* Social Icons | based upon http://kovshenin.com/2014/social-menus-in-wordpress-themes/
-------------------------------------------------------------- */
#social-icons-menu {
	list-style-type: none;
	list-style-position: outside;
	line-height: 1em;
}
#social-icons-menu li {
	float: left;
	margin: 0 1px 1px 0;
	padding: 0;
}
#social-icons-menu li a {
	position: relative;
	display: inline-block;
	padding: 0.67em;
	text-decoration: none;
	color: #fff;
}
#social-icons-menu li a:before {
	color: #fff;
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-size: 16px;
	line-height: 1;
	font-family: 'Genericons';
	text-decoration: inherit;
	vertical-align: top;
}

/* Add Genericons */
#social-icons-menu li a:before { content: '\f408';} /* Default Icon */
#social-icons-menu li a[href*="codepen.io"]:before  { content: '\f216'; }
#social-icons-menu li a[href*="digg.com"]:before { content: '\f221'; }
#social-icons-menu li a[href*="dribbble.com"]:before { content: '\f201'; }
#social-icons-menu li a[href*="facebook.com"]:before { content: '\f204'; }
#social-icons-menu li a[href*="flickr.com"]:before { content: '\f211'; }
#social-icons-menu li a[href*="plus.google.com"]:before { content: '\f218'; }
#social-icons-menu li a[href*="github.com"]:before { content: '\f200'; }
#social-icons-menu li a[href*="instagram.com"]:before { content: '\f215'; }
#social-icons-menu li a[href*="linkedin.com"]:before { content: '\f207'; }
#social-icons-menu li a[href*="pinterest.com"]:before { content: '\f209'; }
#social-icons-menu li a[href*="polldaddy.com"]:before { content: '\f217'; }
#social-icons-menu li a[href*="getpocket.com"]:before { content: '\f224'; }
#social-icons-menu li a[href*="reddit.com"]:before { content: '\f222'; }
#social-icons-menu li a[href*="spotify.com"]:before { content: '\f515'; }
#social-icons-menu li a[href*="skype.com"]:before,
#social-icons-menu li a[href*="skype:"]:before { content: '\f220'; }
#social-icons-menu li a[href*="stumbleupon.com"]:before { content: '\f223'; }
#social-icons-menu li a[href*="tumblr.com"]:before { content: '\f214'; }
#social-icons-menu li a[href*="twitch.tv"]:before { content: '\f516'; }
#social-icons-menu li a[href*="twitter.com"]:before { content: '\f202'; }
#social-icons-menu li a[href*="vimeo.com"]:before  { content: '\f212'; }
#social-icons-menu li a[href*="wordpress.org"]:before,
#social-icons-menu li a[href*="wordpress.com"]:before { content: '\f205'; }
#social-icons-menu li a[href*="youtube.com"]:before { content: '\f213'; }
#social-icons-menu li a[href*="/feed"]:before,
#social-icons-menu li a[href*="/feed/"]:before,
#social-icons-menu li a[href*="?feed=rss2"]:before,
#social-icons-menu li a[href*="feedburner.google.com"]:before,
#social-icons-menu li a[href*="feedburner.com"]:before { content: '\f413'; }

#social-icons-menu li a:hover {
	text-decoration: none;
	background: rgba(255,255,255,0.075);
}

#social-icons-menu li a .screen-reader-text {
	display: none;
}
.social-icons-wrap .social-icons-hint {
	font-size: 0.8em;
	color: #777;
	max-width: 300px;
	line-height: 1.2em;
}


/* Comments
-------------------------------------------------------------- */
#comments {
	margin: 0;
}
#comments .comments-title {
	margin-bottom: 1em;
	border-bottom: 3px solid DarkRed;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
#comments .comments-title span {
	display: inline-block;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	line-height: 1.4em;
	text-transform: uppercase;
	color: #fff;
	background: DarkRed;
	border-bottom: 2px solid #fff;
	padding: 0.5em 0.8em;
}
.commentlist {
	display: block;
	margin: 0 0 1em;
}
.commentlist .comment{
	display: block;
	padding: 1em;
	margin-bottom: 1.5em;
	border: 2px solid #ddd;
	list-style: none;
	line-height: 1.5em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
.comment .comment-author img {
	float: left;
	margin-right: 1em;
	margin-top: -0.1em;
}
.comment .comment-author img:after {
	clear: both;
}
.comment .comment-author .fn {
	font-size: 1.05em;
	padding: 0.2em 0;
	font-weight: bold;
}
.comment .comment-author .fn a:hover, .comment .comment-author .fn a:active {
	text-decoration: underline;
}
.comment .bypostauthor .fn, .comment .comment-author-admin .fn{
	font-style: italic;
}
.comment .comment-meta {
	font-size: 0.85em;
	margin-bottom: 1.2em;
}
.comment .comment-meta a:link, .comment .comment-meta a:visited, 
.comment .comment-meta a:active, .comment .comment-meta a:hover {
	color: #666 !important;
}
.comment .comment-content {
	border-top: 2px solid #ddd;
	padding-top: 0.5em;
}

#comments .children {
	margin: 1.5em 0.5em 0.5em;
}
#comments .children .comment {
	background: #fafafa;
	margin-bottom: 0;
}
#comments .children .children .comment {
	background: #fff;
}
.nocomments {
	color: #444;
	padding: 1em;
}
.commentlist .pingback {
	display: block;
	margin: 0.6em 0 0;
	padding: 0.8em 0 0;
	border-top: 1px solid #ddd;
	list-style: none;
	line-height: 1.3em;
}

/* Comment Pagination */
.comment-pagination {
	font-size: 0.9em;
	font-weight: bold;
	padding: 0;
	margin-bottom: 1em;
}
.comment-pagination .alignleft {
	float: left;
	margin: 0;
}
.comment-pagination .alignright {
	float: right;
	margin: 0;
}

/* Comment Form */
#respond {
	margin: 0.5em 0 0;
}
#respond #reply-title {
	display: inline-block;
	margin: 0;
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	font-weight: normal;
	line-height: 1.4em;
	text-transform: uppercase;
	color: #fff;
	background: DarkRed;
	border-bottom: 2px solid #fff;
	padding: 0.5em 0.8em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}
#commentform {
	border-top: 3px solid DarkRed;
	padding: 1em 0 0;
}
#commentform p {
	margin: 1em 0;
}
#commentform input[type="text"], #commentform textarea {
	display: inline-block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#commentform label {
	display: block;
	margin: 0.6em 0;
	font-weight: bold;
}
#cancel-comment-reply-link {
	color: #fff !important;
	margin-left: 2em;
	text-decoration: underline;
	font-weight: normal;
}

/* Featured Content
-------------------------------------------------------------- */
#featured-content {
/*	margin: 0 0 0.8em 0;*/
}
#featured-content .featured-content-left {
	float: left;
	padding-right: 1.3em;
	width: 66.5%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#featured-content .featured-content-right {
	float: right;
	width: 33.5%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#featured-content .type-post,
#featured-content .type-event {
/*позиционирование блоков*/
	position: relative;

	margin: 0 0 1.3em 0;
}
#featured-content .type-post .wp-post-image,
#featured-content .type-event .wp-post-image {
	margin: 0;
	vertical-align: top;
}
#featured-content .type-post .post-content,
#featured-content .type-event .post-content {
	position: relative;
	width: 100%;
	bottom: 0;
	padding: 0.8em 1.5em 0.5em;
/*	background: rgba(0,0,0,0.3); */
/*фонт*/
	background: #f1f1f1;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#featured-content .type-post .post-content .post-title,
#featured-content .type-event .post-content .post-title {
/*цвет ссылков */
	color: #000;
	border-bottom: 3px solid #f1f1f1; 
/*подчеркивание главной и тень*/
	/*text-shadow: 1px 1px 5px #000;*/
}
#featured-content .type-post .post-content .post-title a:link, #featured-content .type-post .post-content .post-title a:visited,
#featured-content .type-event .post-content .post-title a:link, #featured-content .type-event .post-content .post-title a:visited {
/*цвет ссылков */
	color: #000;
}
#featured-content .type-post .post-content .post-title a:hover, #featured-content .type-post .post-content .post-title a:active,
#featured-content .type-event .post-content .post-title a:hover, #featured-content .type-event .post-content .post-title a:active {

/*	color: #ddd;*/
	text-decoration: underline;
	color: #000;
}
#featured-content .type-post .post-content .postmeta, #featured-content .type-event .post-content .postmeta {
	border-bottom: none;
	display:none;
	color: #eee;
	text-shadow: 1px 1px 5px #000;
	padding-left: 0;
}
#featured-content .type-post .post-content .postmeta span:before {
	color: #fff;
	text-shadow: 1px 1px 5px #000;
	
}
#featured-content .type-post .post-content .postmeta a:link, #featured-content .type-post .post-content .postmeta a:visited,
#featured-content .type-event .post-content .postmeta a:link, #featured-content .type-event .post-content .postmeta a:visited {
	color: #eee;
}
#featured-content .type-post .post-content .postmeta a:hover, #featured-content .type-post .post-content .postmeta a:active,
#featured-content .type-event .post-content .postmeta a:hover, #featured-content .type-event .post-content .postmeta a:active {
	color: #ddd;
}
#featured-content .featured-content-right .type-post .post-content,
#featured-content .featured-content-right .type-event .post-content {
	padding: 0.1em 1em;
	margin-top: 5px;
	margin-bottom:5px;

}
#featured-content .featured-content-right .type-post .post-content .post-title,
#featured-content .featured-content-right .type-event .post-content .post-title {
	font-size: 1.1em;
	border: none;
}

/* Page Templates
-------------------------------------------------------------- */

/* Fullwidth Template */
.template-fullwidth #content {
	float: none;
	width: 100%;
	padding: 0 !important;

}

/* Magazine Homepage
-------------------------------------------------------------- */

.magazine-homepage-no-widgets, .post-slider-empty-posts {
	line-height: 1.5em;
	margin-bottom: 1.5em;
}

/* Category Posts Widgets */
.widget-category-posts {
	margin-bottom: -1.1em;
}
.widget-category-posts .type-post {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
}
.widget-category-posts .type-post .more-link {
	margin: 0;
}
.widget-category-posts .type-post .more-link:link, .widget-category-posts .type-post .more-link:visited  {
	color: #fff;
}
.widget-category-posts .type-post .more-link:hover, .widget-category-posts .type-post .more-link:active  {
	text-decoration: none;
}
.widget-category-posts .large-post .post-title {
	font-size: 1.6em;
}
.widget-category-posts .large-post .wp-post-image {
	margin: 0 0 0.4em 0;
}
.widget-category-posts .medium-post {
	float: left;
	display: block;
	width: 33.33333333%;
	padding-right: 1.2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.widget-category-posts .medium-post .wp-post-image {
	margin: 0 0 0.2em 0;
}
.widget-category-posts .medium-post .post-title {
	font-size: 1.25em;
}
.widget-category-posts .medium-post .postmeta, .widget-category-posts .small-post .postmeta {
	padding: 0.7em 0 0.5em;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 15px;
color: #525252;

}
.widget-category-posts .medium-post .postmeta span, .widget-category-posts .small-post .postmeta span {
	margin-right: 0.5em;
}
.widget-category-posts .medium-post .postmeta .meta-comments, .widget-category-posts .small-post .postmeta .meta-comments {
	float: none;
}
.widget-category-posts .small-post {
	float: left;
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.widget-category-posts .small-post .small-post-image {
	float: left;
	width: 32%;
}
.widget-category-posts .small-post .small-post-image .wp-post-image {
	margin: 0;
}
.widget-category-posts .small-post .small-post-content {
	float: right;
	width: 68%;
	padding: 0.3em 0 0 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.small-post-body {
	display: block;
	font-size: 0.75em;
	clear: both;
}
.widget-category-posts .small-post .post-title {
	font-size: 1.1em; 
}
.widget-category-posts .small-post .postmeta {
	display: inline-block;
	margin: 0.4em 0 0;
	border: none;
}

/* Category Posts Boxed Widget Horizontal Style */
#widget-category-posts-boxed .category-posts-boxed-horizontal .large-post .wp-post-image {
	float: left;	
	width: 55%;
	margin: 0;
	padding-right: 1em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-boxed .category-posts-boxed-horizontal .large-post .post-content {
	float: right;
	width: 45%;
}
#widget-category-posts-boxed .category-posts-boxed-horizontal .medium-posts {
	margin-right: -1em;
}

/* Category Posts Boxed Widget Vertical Style */
#widget-category-posts-boxed .category-posts-boxed-vertical .large-post {
	float: left;
	width: 50%;
	margin-bottom: 1em;
	padding-right: 0.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-boxed .category-posts-boxed-vertical .small-posts {
	width: 50%;
	margin-left: 50%;
	padding-left: 0.5em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#widget-category-posts-boxed .read-more-by-category {
    float: right;
    font-size: 0.8em;
}
#widget-category-posts-grid .read-more-by-category {
    float: right;
    font-size: 0.8em;
}

/* Category Posts Grid Widget */
#widget-category-posts-grid .category-posts-grid-row {
	margin-right: -1.2em;    margin-bottom: 30px;
}
#widget-category-posts-grid .category-posts-grid-row .large-post {
	float: left;
	width: 50%;
	padding-right: 1.2em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

/* Front Page Category Area Thre (two columns) */
.glades_category_posts_columns {
	padding: 0;
}
#widget-category-posts-columns .category-posts-columns .category-posts-columns-content .category-posts-columns-post-list {
	float: left;
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-columns .category-posts-columns-content {
	float: left;
	width: 100%;
}
#widget-category-posts-columns .category-posts-column-left {
	float: left;
	width: 50%;
	padding-right: 0.6em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-columns .category-posts-column-right {
	margin-left: 50%;
	width: 50%;
	padding-left: 0.6em;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#widget-category-posts-columns .medium-post {
	width: 100%;
	padding-right: 0;
}


/* Footer
-------------------------------------------------------------- */
#footer-wrap {
	background: DarkRed;
}
#footer {
	padding: 0;
	color: #525252;
	background: #FFFFFF;
}
#footer-line {
	font-size: 0.9em;
	line-height: 1.5em;
	padding: 23px 0px
}
#footer-line #credit-link {
	float: left;    padding-left: 19px;
}


#footer-line a, #footer-line a:link, #footer-line a:visited {
	color: #D83030;
	text-decoration: underline;
}
#footer-line a:hover, #footer-line a:active {
	text-decoration: none;
}



/*============================ MEDIA QUERIES ============================*/

@media only screen and (max-width: 80em) {

	#featured-content .featured-content-left {
		width: 66.7%;
	}
	#featured-content .featured-content-right {
		width: 33.3%;
	}
	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.4em;
	}
	
	#widget-category-posts-boxed .large-post .more-link  {
		display: none;
	}
	.widget-category-posts .small-post .small-post-content {
		padding-top: 0;
	}
}
/* Small screens | <1120px */
@media only screen and (max-width: 70em) {

	#logo .site-title {
		padding: 0.6em 0.2em 0.2em;
		font-size: 2.2em;
	}
	#mainnav-menu a {
		padding: 1em 1em;
	}
	.page-title, .post-title{
		font-size: 2.4em;
	}
	
	#featured-content .featured-content-left {
		width: 67%;
	}
	#featured-content .featured-content-right {
		width: 33%;
	}
	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.3em;
	}

	.widget-category-posts .large-post .post-title {
		font-size: 1.5em;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.15em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 1.0em;
	}
}
/* Smaller screens | <1120px */
@media only screen and (max-width: 65em) {


	.container {
		max-width: 100%;
		width: 100%;
		margin: 0;
		padding: 0 1.5em;
	}
	#wrap {
		padding: 1em;
	}
	.type-post, .type-page, .type-attachment, .widget  {
		margin: 0 0 1.5em 0;
	}
	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.2em;
	}
	
	#logo {
		float: left;
		text-align: center;
	}
	#logo .site-title {
		padding: 0.8em 0 0;
		font-size: 2.2em;
	}
	#mainnav, #mainnav-menu {
		float: none;
		text-align: center;
	}
	#mainnav-menu li, #mainnav-menu a{
		float: none;
		display: block; left: auto!important; top: auto!important
	}
	#mainnav-menu li ul {
		text-align: left;
	}
}
/* Tablets (landscape) | <960px */
@media only screen and (max-width: 60em) {
	.event-single-img {
		width: 300px;
}

	article .event-single-img {
	    width: 500px;
	}

	#content {
		float: none;
		width: 100%;
		padding: 0;
	}
	#sidebar {
		clear: both;
		float: none;
		margin: 0;
		padding-top: 1em;
		width: 100%;
	}
	.page-title, .post-title{
		font-size: 2.2em;
	}
	
	#featured-content .featured-content-left {
		width: 67.5%;
	}
	#featured-content .featured-content-left .type-post .post-content .post-title {
		font-size: 2.0em;
	}
	#featured-content .featured-content-right {
		width: 32.5%;
	}
	#featured-content .featured-content-right .type-post .post-content {
		padding: 0.4em 0.8em;
	}
	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.0em;
	}
	
	/* Magazine Homepage: Category Post Widgets */
	#widget-category-posts-boxed .large-post .more-link  {
		display: inline-block;
	}
	.widget-category-posts .large-post .post-title {
		font-size: 1.7em;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.3em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 1.1em;
	}
}
/* Tablets (portrait) | <800px */
@media only screen and (max-width: 55em) {
	#mainnav-menu .menu-item-9313 { margin: 0px 14px 0px 0px;}

	article .event-single-img {
	    width: 400px;
	}

	#logo {
		float: left;
		text-align: left;
	}
	#logo .site-title {
/*		padding: 0.6em 0.2em;*/
padding-bottom: 10px;
    padding-top: 10px;
		font-size: 2.4em;
	}
	
	/* Mobile Top Navigation */
	
	/* Reset */
	#topnav, #topnav-menu, #topnav-menu li, #topnav-menu a, #topnav-menu ul, 
	#topnav-menu ul a, #topnav-menu ul ul, #topnav-menu li ul ul 
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		display: inline;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#topnav-menu li:hover ul ul, #topnav-menu li:hover ul ul ul, #topnav-menu li:hover ul ul ul ul,
	#topnav-menu li:hover ul, #topnav-menu li li:hover ul, #topnav-menu li li li:hover ul, #topnav-menu li li li li:hover ul
	{
		display: inline;
	}
	
	#topnav-toggle-tablet {
		display: inline-block;
	}
	#topnav-toggle-phone {
		display: none;
	}
	.topnav-toggle {
		margin: 0;
		padding: 0.75em;
		text-decoration: none;
		color: #fff;
		background: none;
		border: none;
	}
	.topnav-toggle:hover {
		cursor: pointer;
		background: rgba(255,255,255,0.075);
	}
	.topnav-toggle:after {
		float: left;
		display: inline-block;
		font-size: 16px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f419';
		color: #fff;
	}
	#topnav {
		float: none;
	}
	#topnav-menu {
		display: none;
		float: left;
		width: 100%;
	}
	#topnav-menu a {
		display: block;
		padding: 1.3em;
		border-top: 1px solid rgba(255,255,255,0.075);
		font-size: 0.8em;
		clear: left;
	}
	#topnav-menu a:link, #topnav-menu a:visited {
		color: #fff;
		text-decoration: none;
	}
	#topnav-menu a:hover {
		background: rgba(255,255,255,0.075);
	}
	#topnav-menu ul {
		float: left;
		width: 100%;
		border-top: 1px solid rgba(255,255,255,0.075);
	}
	#topnav-menu ul a {
		display: block;
		width: 100%;
		padding: 1.2em 1em 1.2em 2.5em;
		font-size: 0.75em;
		border-bottom: none;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#topnav-menu ul ul a {
		padding-left: 4em;
	}
	#topnav-menu ul ul ul a {
		padding-left: 5.5em;
	}
	#topnav-menu ul a:link, #topnav-menu ul a:visited {
		color: #fff;
	}
	#topnav-menu ul a:hover {
		text-decoration: underline;
		background: none;
	}
	
	#topnav-menu .submenu-dropdown-toggle {
		float: right;
		display: block;
		margin: 0;
		padding: 0.75em 1.25em;
	}
	#topnav-menu .submenu-dropdown-toggle:hover {
		cursor: pointer;
		background: rgba(255,255,255,0.075);
	}
	#topnav-menu .submenu-dropdown-toggle:before {
		font-size: 24px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f431';
		color: #fff;
	}
	#topnav-menu .submenu-dropdown-toggle.active:before {
		content: '\f432';
	}
	#topnav-menu ul .submenu-dropdown-toggle {
		padding: 0.6em 1.2em;
	}
	#topnav-menu ul .submenu-dropdown-toggle:hover {
		background: none;
	}
	#topnav-menu ul .submenu-dropdown-toggle:hover:before {
		color: #aaa;
	}
	#topnav-menu ul .submenu-dropdown-toggle:before {
		font-size: 22px;
	}
	
	
	#topnav-menu li.current_page_item a, #topnav-menu li.current-menu-item a {
		text-decoration: underline;
	}
	#topnav-menu li.current_page_item ul li a, #topnav-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	#topnav-menu li.current_page_item ul li a:hover, #topnav-menu li.current-menu-item ul li a:hover {
		text-decoration: underline;
	}
	#topnav-menu ul li.current_page_item a, #topnav-menu ul li.current-menu-item a {
		text-decoration: underline;
	}
	#topnav-menu ul li.current_page_item ul li a, #topnav-menu ul li.current-menu-item ul li a{
		text-decoration: none;
	}
	
	
	/* Mobile Main Navigation */
	
	/* Reset */
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul, 
	#mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul 
	{
		margin: 0;
		padding: 0;
		position: static;
		float: none;
		font-size: 1.0em;
		border: none;
		box-shadow: none;
		background: none;
		top: 0;
		left: 0;
	}
	#mainnav-menu li:hover ul ul, #mainnav-menu li:hover ul ul ul, #mainnav-menu li:hover ul ul ul ul,
	#mainnav-menu li:hover ul, #mainnav-menu li li:hover ul, #mainnav-menu li li li:hover ul, #mainnav-menu li li li li:hover ul
	{
		display: inline;
	}
	
	#mainnav-toggle {
		float: right;
		display: inline-block;
		margin: 1em 0 0;
/*расстояние сверху до моб меню*/
/*		padding-top: 15px;*/
		padding-bottom: 10px;
/*		padding: 1em; */ 
		background: none;
		border: none;
		text-decoration: none;
	}
	#mainnav-toggle:hover {
		cursor: pointer;    position: relative;
    z-index: 99999999999999999999999;
		color: #ddd;
	}
	#mainnav-toggle:after {
		float: left;
		display: inline-block;
		font-size: 26px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '\f419';
		color: #fff;
	}

	#mainnav-menu {   
    background: white;
    width: 100%;
		display: none;
		float: left;
		text-align: left;
		border-top: 1px solid rgba(255, 255, 255, 0.075);
	}
	#mainnav-menu a {
		display: block;
		padding: 1em;
		border-bottom: 1px solid rgba(255, 255, 255, 0.075);
		text-decoration: none;
		color: #fff;
		clear: left;
	}
	#mainnav-menu a:link, #mainnav-menu a:visited {
	}
	#mainnav-menu a:hover {
		color: #ddd;
	}
	#mainnav-menu ul {
		padding: 0.5em 0;
		width: 100%;
	background: #FFFFFF;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
	}
	#mainnav-menu ul a {
		display: block;
		width: 100%;
		padding: 1em 1em 1em 2em;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul a:link, #mainnav-menu ul a:visited {
		color: #fff;
	}
	#mainnav-menu ul a:hover {
		color: #ddd;
	}
	#mainnav-menu ul li ul {
		padding: 0;
		width: 100%;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	#mainnav-menu ul li ul a {
		padding-left: 4em;
	}
	#mainnav-menu ul li ul li ul a{
		padding-left: 6em;
	}
	
	#mainnav-menu .submenu-dropdown-toggle {
		float: right;
		display: block;
		margin: 0;
   		padding: 0.7em 1.3em;
   		position: absolute;
   		left: -34px;
    	top: 5px;
		z-index: 99999999;	
	}
	#mainnav-menu .submenu-dropdown-toggle:hover {
		cursor: pointer;
	}
	#mainnav-menu .submenu-dropdown-toggle:hover:before {
		color: #ddd;
	}
	#mainnav-menu .submenu-dropdown-toggle:before {
		font-size: 32px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: middle;
		content: '';background: url("/wp-content/themes/tangopiter/images/plus2.svg"); display: block; width: 14px;height: 14px;
		color: #fff;
	}
	#mainnav-menu .submenu-dropdown-toggle.active:before {
		content: ''; background: url("/wp-content/themes/tangopiter/images/minus2.svg"); display: block; width: 14px;height: 14px
	}
	#mainnav-menu ul .submenu-dropdown-toggle {
		padding: 0.5em 1em;
	}
	#mainnav-menu ul .submenu-dropdown-toggle:before {
		font-size: 26px;
	}
	
	
	#mainnav-menu li.current_page_item a, #mainnav-menu li.current-menu-item a {
		text-decoration: underline;
	}
	#mainnav-menu li.current_page_item ul li a, #mainnav-menu li.current-menu-item ul li a{
		text-decoration: none;
	}
	#mainnav-menu ul li.current_page_item a, #mainnav-menu ul li.current-menu-item a {
		text-decoration: underline;
	}
	
}

@media only screen and (max-width: 600px) {
	.field label { white-space:normal}	
}
/* Tablets (portrait) | <800px */
@media only screen and (max-width: 50em) {

	article .event-single-img {
	    width: 100%;
	}


	.container {
		padding: 0 1.2em;
	}
	#wrap {
		padding: 0.2em;
	}
	.type-post, .type-page, .type-attachment, .widget  {
		margin: 0 0 1.2em 0;
	}
	#logo .site-title {
		font-size: 2.4em;
	}
	.page-title, .post-title{
		font-size: 2.1em;
	}
	.postmeta .meta-comments {
		float: none;
		font-weight: normal;
	}
	
	.entry h1, .comment h1 {
		font-size: 2.2em;
	}
	.entry h2, .comment h2 {
		font-size: 1.8em;
	}
	.entry h3, .comment h3 {
		font-size: 1.4em;
	}
	.entry tr th,
	.entry thead th {
		padding: 0.2em 0.4em;
	}
	.entry tr td {
		padding: 0.1em 0.1em;
	}
	
	#featured-content {
		margin-right: -1.2em;
	}
	#featured-content .type-post {
		margin: 0 0 1.2em 0;
	}
	#featured-content .featured-content-left {
		float: none;
		width: 100%;
		padding-right: 1.2em;
	}
	#featured-content .featured-content-right {
		float: none;
		width: 100%;
	}
	#featured-content .featured-content-right .featured-post-wrap {
		float: left;
		width: 50%;
		padding-right: 1.2em;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}

	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.2em;
	}
	
	#widget-category-posts-boxed .large-post .more-link  {
		display: none;
	}
	.widget-category-posts .large-post .post-title {
		font-size: 1.5em;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.15em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 1.0em;
	}
}

@media only screen and (max-width: 45em) {
	
	.widget-category-posts .small-post .post-title {
		border: none;
	}
	.widget-category-posts .small-post .postmeta {
		display: none;
	}
	
}

/* Phablets (portrait) | <640px */
@media only screen and (max-width: 40em) {

	article .wp-post-image {
		//width: 100%;
	}
	.container {
		padding: 0 1.2em;
	}
	#wrap {
		padding: 0.2em;
	}
	.type-post, .type-page, .type-attachment, .widget  {
		margin: 0 0 1.2em 0;
	}
	.page-title, .post-title{
		font-size: 2.0em;
	}
	#featured-content {
		margin-right: -1em;
	}
	#featured-content .type-post {
		margin: 0 0 1em 0;
	}
	#featured-content .featured-content-left {
		
		padding-right: 1em;
	}
	#featured-content .featured-content-right .featured-post-wrap {
		padding-right: 1em;
	}
	
	#featured-content .featured-content-left .type-post .post-content .post-title {
		font-size: 1.8em;
		border: none;
	}
	#featured-content .featured-content-left .type-post .post-content {
		padding: 0.5em 1em;
	}
	#featured-content .featured-content-left .type-post .post-content .postmeta {
		display: none;
	}

	#featured-content .featured-content-right .type-post .post-content {
		padding: 0.3em 0.6em;
	}
	#featured-content .featured-content-right .type-post .post-content .post-title {
		font-size: 1.0em;
	}
	
		
	/* Magazine Homepage: Category Post Widgets */
	#widget-category-posts-grid .category-posts-grid-row {
		margin-right: 0;
	}
	#widget-category-posts-grid .category-posts-grid-row .large-post,
	#widget-category-posts-grid .category-posts-grid-row .medium-post-wrap,
	#widget-category-posts-boxed .category-posts-boxed-horizontal .large-post .wp-post-image,
	#widget-category-posts-boxed .category-posts-boxed-horizontal .large-post .post-content,
	#widget-category-posts-boxed .category-posts-boxed-vertical .large-post,
	#widget-category-posts-columns .category-posts-column-left {
		float: none;
		width: 100%;
		padding: 0;
	}
	#widget-category-posts-grid .category-posts-grid-row.medium-post-row .medium-post-wrap {
		padding-right: 0;
	}
	#widget-category-posts-boxed .category-posts-boxed-vertical .small-posts,
	#widget-category-posts-columns .category-posts-column-right {
		width: 100%;
		margin-left: 0;
		padding-left: 0;
	}
	#widget-category-posts-boxed .category-posts-boxed-horizontal .large-post .wp-post-image {
		margin: 0 0 0.5em 0;
	}
	#widget-category-posts-boxed .large-post .more-link  {
		display: inline-block;
	}
	.widget-category-posts .large-post .post-title {
		font-size: 1.7em;
	}
	.widget-category-posts .medium-post {
		width: 100%;
	}
	.widget-category-posts .medium-post .medium-post-image {
		float: left;
		width: 45%;
	}
	.widget-category-posts .medium-post .medium-post-content {
		float: right;
		width: 55%;
		padding: 0.3em 0 0 1em;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.3em;
	}
	.widget-category-posts .small-post .small-post-image {
		width: 25%;
	}
	.widget-category-posts .small-post .small-post-content {
		width: 75%;
		padding-top: 0.3em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 1.1em;
		border-bottom: 3px solid DarkRed;
	}
	.widget-category-posts .small-post .postmeta {
		display: inline-block;
	}
	
}

@media only screen and (max-width: 35em) {
	
	.widget-category-posts .small-post .small-post-image {
		width: 29%;
	}
	.widget-category-posts .small-post .small-post-content {
		width: 71%;
	}
}

/* Smartphones | <480px */
@media only screen and (max-width: 30em) {
	.eventorganiser-event-meta {
		float: right;
		line-height: 1.4em;
		padding-left: 0.5em;
	}

	#logo .site-title {
		font-size: 1.8em;
	}
	.page-title, .post-title{
		font-size: 1.7em;
	}
	.alignright, .alignleft {
		float: none;
		margin: 1em 0;
	}
	article .event-single-img {
	    width: 100%;
	}
	article .wp-post-image {
		width: 100%;
		margin: 1em 0 0;
		width: 100%;
	}
	#footer #footer-text {
		float: none;
		margin-top: 1.2em;
	}
	
	#featured-content {
		min-height:370px;
		margin-right: -0.75em;
	}
	#featured-content .type-post {
		margin: 0 0 0.75em 0;
	}
	#featured-content .featured-content-left {
		padding-right: 0.75em;
	}
	#featured-content .featured-content-right .featured-post-wrap {
		padding-right: 0.75em;
	}
	
	#featured-content .featured-content-left .type-post .post-content {
		padding: 0.3em 0.6em;
	}
	#featured-content .featured-content-left .type-post .post-content .post-title {
		font-size: 1.5em;
	}

	#featured-content .featured-content-right .type-post .post-content {
		display: none;
	}
	
	/* Mobile Main Navigation */
	#topnav-toggle-tablet {
		display: none;
	}
	#topnav-toggle-phone {
		display: inline-block;
	}
	
	/* Social Menu Dropdown */
	#social-menu-toggle {
		float: right;
		display: inline-block;
		margin: 0;
		padding: 0.55em 0.6em 0.75em;
		color: #fff;
		background: none;
		border: none;
		text-decoration: none;
	}
	#social-menu-toggle:hover {
		cursor: pointer;
		background: rgba(255,255,255,0.075);
	}
	#social-menu-toggle:after {
		margin: 0;
		display: inline-block;
		font-size: 20px;
		line-height: 1;
		font-family: 'Genericons';
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		text-decoration: inherit;
		vertical-align: top;
		content: '\f408';
		color: #fff;
	}
	#navi-social-icons #social-icons-menu {
		display: none;
		float: right;
		border-top: 1px solid rgba(255,255,255,0.075);
		width: 100%;
		text-align: center;
		margin-left: 2em;
	}
	#navi-social-icons #social-icons-menu li a {
		padding: 0.9em;
	}
	
	/* Magazine Homepage: Category Post Widgets */
	.widget-category-posts .large-post .post-title {
		font-size: 1.5em;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.15em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 1.0em;
	}
	
	.widget-category-posts .medium-post .medium-post-content {
		padding-top: 0;
	}
	.widget-category-posts .small-post .small-post-image {
		width: 35%;
	}
	.widget-category-posts .small-post .small-post-content {
		width: 65%;
		padding-top: 0;
	}
	
}

@media only screen and (max-width: 25em) {
	.eventorganiser-event-meta {
		float: right;
		line-height: 1.4em;
		padding-left: 0.5em;
	}

	article .event-single-img {
	    width: 100%;
	}

	.widget-category-posts .small-post .post-title {
		border: none;
	}
	.widget-category-posts .small-post .postmeta {
		display: none;
	}

}

@media only screen and (max-width: 22em) {
	.eventorganiser-event-meta {
		float: right;
		line-height: 1.4em;
		padding-left: 0.5em;
	}

	.widget-category-posts .medium-post {
		float: none;
	}
	.widget-category-posts .medium-post .medium-post-image {
		float: none;
		width: 100%;
	}
	.widget-category-posts .medium-post .medium-post-content {
		float: none;
		width: 100%;
		padding: 0.4em 0;
	}

}

/* Smartphones | <320px */
@media only screen and (max-width: 20em) {
	.eventorganiser-event-meta {
		float: right;
		line-height: 1.4em;
		padding-left: 0.5em;
	}

	#logo .site-title {
		font-size: 1.8em;
	}
	#mainnav-toggle {
		padding: 0.6em;
	}
	#mainnav-toggle:after {
		font-size: 20px;
	}
	.page-title, .post-title {
		font-size: 1.6em;
	}
	.postmeta span, .postinfo span {
		display: block;
	}
	#featured-content {
		margin-right: -0.5em;
	}
	#featured-content .type-post {
		margin: 0 0 0.5em 0;
	}
	#featured-content .featured-content-left {
		padding-right: 0.5em;
	}
	#featured-content .featured-content-right .featured-post-wrap {
		padding-right: 0.5em;
	}
	
	#featured-content .featured-content-left .type-post .post-content .post-title {
		font-size: 1.2em;
	}
	
	.widget-category-posts .large-post .post-title {
		font-size: 1.4em;
	}
	.widget-category-posts .medium-post .post-title {
		font-size: 1.1em;
	}
	.widget-category-posts .small-post .post-title {
		font-size: 0.95em;
	}
}

/* Big Screens Navi Fix | >720px */
@media only screen and (min-width: 55em) {
	/* ensure navigation is visible on desktop version */
	#mainnav-menu, #topnav-menu {
		display: flex!important;
	}
	#topnav-menu li.menu-item:hover a {
		background: rgba(255, 255, 255, 0.075);
	}
}
@media only screen and (min-width: 30em) {
	/* ensure social icons are visible on desktop version */
	#navi-social-icons #social-icons-menu {
		display: block !important;
	}
}


/* ======================================================== */


/* === Single Event */
.event-single-content {
    line-height: 1.4em;
    margin-top: 0,5em;
    margin-bottom: 1em;

}

.event-single-img {
    margin-top: 1em;
    margin-bottom: 1em;
    display: inline-block;
   /* width: 400px;*/
}



.eventorganiser-event-meta {
    line-height: 1.4em;
    padding-left: 0.5em;
}

.eo-event-meta {
    margin-top: 1em;
    margin-bottom: 1em;

  
}

.post-reference {
    margin-top: 0.5em;
}
#related-posts {
 clear: both;
    margin-top: 1em;
    margin-bottom: 2em;

}
.related-posts-title {
    display: inline-block;
    margin: 0;
    font-family: 'Contrail One', Tahoma, Arial;
    font-size: 0.95em;
    font-weight: normal;
    line-height: 1.4em;
    border-bottom: 2px solid DarkRed;
    padding: 0.5em 0.8em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.post-sub-title {
    display: inline-block;
    margin: 0;
    font-family: 'Contrail One', Tahoma, Arial;
    font-size: 0.95em;
    font-weight: normal;
    line-height: 1.4em;
    text-transform: uppercase;
    color: #fff;
    background: DarkRed;
    border-bottom: 2px solid #fff;
    padding: 0.5em 0.8em;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

#calendar-link {
	margin: 0;
	display: inline-block;
	/*margin-top: 0.2em;*/
	font-family: 'Contrail One', Tahoma, Arial;
	font-size: 0.95em;
	font-weight: normal;
	line-height: 1.4em;
	text-transform: uppercase;
	/*color: #fff;*/
	/*background: DarkRed;*/
	border-bottom: 2px solid #fff;
	border-left: 2px solid #fff;
	border-right: 2px solid #fff;
	border-color: DarkRed;
	padding: 0.5em 0.8em;
	-ms-word-wrap: break-word;
	word-wrap: break-word;
}

/* === Single School */
.school-content {
    line-height: 1.4em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.school-meta {
    line-height: 1.4em;
    float: right;
    margin-left: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.school-vk-widget {
    width: 100%;
}

.school-map {
    width: 100%;
    max-width: none;
    height: 400px;
    margin: 20px 0;
}

/* === Tango Map ====================================================== */

#gmap-all-wrapper {
    position: relative;
    height: 600px;
}

#tango-map {
    float: left;
    border: #ccc solid 1px;
    line-height: 1em;
    position: relative;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 0;
    min-width: 18em;
}

#gmap-info-wrapper  {
    float: left;
    min-width: 15em;
    height: 100%;
    position: relative;
}

#gmap-btns  {
    display: table-row;
    z-index: 1;
    position: absolute;
    top: 10px;
    background-color: #FFFFFF;
    padding-right: 1em;
}

/* ========= Widgets ============= */
.grid-widget-excerpt hr {
    margin-top: 5px;
    margin-bottom: 5px;
}

#widget-category-posts-grid .category-posts-grid-row .two-col-post {
    float: left;
    padding-right: 1.2em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.one-col-row {
}
.one-col-post {
	float: left;
	margin-top: 0.5em;
}
.one-col-post .small-post-image {
    float: left;
	margin-top: 0.5em;
}
.one-col-post .small-post-image img{
    margin-top: 0;
	margin-right: 1em;
}
.one-col-post .small-post-content {
	margin-left: 1em;
}
.one-col-post .postmeta {
	border-bottom: none;
	font-size: 0.8em;
	padding-top: 0;
	padding-bottom: 0;
	color: #777;
}
.one-col-post .post-title
{
	border-bottom: none;
}
.one-col-post .small-post-body {
	border-bottom: 1px solid #ddd;
	font-size: 0.8em;
	clear: none;
}
.one-col-post .small-post-content .post-title {
    font-size: 1.1em;
}

@media only screen and (min-width: 45em) {
    .eventorganiser-event-meta {
        float: right;
        max-width: 39%;
    }

    .one-col-post {
        display: table-row;
    }

    .one-col-post .small-post-content {
        display: table-cell;
    }

    .one-col-post .small-post-image {
        display: table-cell;
    }

}


.widget_tp_recent_entries ul li:before, .widget_recent_comments ul li:before {
	display: inline-block;
	-webkit-font-smoothing: antialiased;
	font: normal 20px 'Genericons';
	vertical-align: top;
	color: #888;
	margin: 0.1em 0.3em 0 0;
}

.widget_tp_recent_entries ul li:before {
	content: '\f303';
}

.widget_tp_recent_entries li {
	font-size: 0.9em;
}
.widget_tp_recent_entries .post-date {
	color: #888;
	font-size: 0.8em;
 }
.widget_tp_recent_entries ul, .widget_recent_comments ul {
	list-style: none;
}

/* Compact archve view */
.compact-arch-view .small-post-body {
    font-size: 0.8em;
    clear: none;
}
.compact-arch-view .postmeta {
    border-bottom: none;
}

.compact-arch-view {
    padding-bottom: 1em;
    border-bottom: 1px solid #ddd;
}


/* ============= Digest ================== */
#digest {
	padding-bottom: 2em;
}
#digest h2 {
    padding-top: 2em;
    font-size: 1.1em;
    font-weight: bold;
}
#digest .digest-events-table {
    margin-top: 0.5em;
}
#digest .digest-events-table .event-meta{
    color: #555;
    font-size: 0.8em;
}
#digest .digest-events-table td {
    padding-left: 0.5em;
    padding-top: 0.5em;
}
#digest .digest-news  {
	padding-left: 1.5em;
	list-style-type: disc;
}
#digest .digest-news li {
	padding-top: 0.5em;
}

#digest #day-navy {
	margin-left: 1em;
	padding-top: 0.5em;
	font-size: 1em;
	font-weight: bold;
}

.meta-dj:before {
	content: '';
	display: inline-block; height: 14px;width: 14px; background: url( "images/dj.svg");
	font-weight: bold; margin: 0px 5px 0px 0px;
}

.meta-dj {
margin: 11px 0px 0px 0px;    display: flex;
}
.meta-dj a {
color: #D83030!important;
}


/* =========================== */

/* ============== Login ======================= */

.widget_loginwithajaxwidget input, .widget_loginwithajaxwidget label {
	font-size: 0.8em;
	padding: 0.4em;
}

.widget_loginwithajaxwidget a {
	font-size: 0.8em;
	padding-top: 0.4em;
}

.social-login-button {
	-webkit-border-radius: 5;
	-moz-border-radius: 5;
	border-radius: 5px;
	color: #ffffff;
	display: inline-block;
	text-decoration: none;
	min-width: 18em;
	margin-bottom: 0.2em;
}

.fbl-button {
	text-align: left;
	margin: 0 0 0.2em 0;
}


.social-login-button .icon {
	border-right: solid 1px #EEEEEE;
	padding: 6px;
	width: 1.3em;
	text-align: center;
}

.social-login-button label {
	padding: 0 1em;
}

.social-login-button:hover  {
	cursor: pointer;
}


.vk-login-button {
	background: #3498db;
	background-image: -webkit-linear-gradient(top, #3498db, #2980b9);
	background-image: -moz-linear-gradient(top, #3498db, #2980b9);
	background-image: -ms-linear-gradient(top, #3498db, #2980b9);
	background-image: -o-linear-gradient(top, #3498db, #2980b9);
	background-image: linear-gradient(to bottom, #3498db, #2980b9);
}

.vk-login-button:hover {
	background: #3cb0fd;
	background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
	background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
	background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
	background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
	background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
}

.facebook-login-button {
	background: #3b5998;
}

.facebook-login-button:hover {
	background: #627aad;
}

.widget_loginwithajaxwidget #lwa_wp-submit {
	border-radius: 5px;
	text-transform: none;
	padding: 0.4em 1.2em;
}

.widget_loginwithajaxwidget  .social-login-button {
	min-width: 14em;
}

.link-to-source {
border-radius: 5px;
font-weight: bold;
margin-top: 1em;
background: #f1f1f1;
padding: 6px;
position:relative;
overflow:hidden;

}
.evc-social-likes {
position:relative;
margin-top: 1em;
float:right;
margin-right: 1em;
}
.wpulike {
position:relative;
float:right;
margin-right: 1em;
padding: 7px 0;
}

.lwa-register {
	font-size: 0.8em;
}

.lwa-register h3 {
	font-size: 1.5em;
	font-weight: bold;
	margin-bottom: 1em;
}
.lwa-register .vk-login-button {
	margin-bottom: 1em;
}

/*.lwa-register .facebook-login-button {*/
	 /*margin-bottom: 1em;*/
/*}*/


/* ====================== School page ====================== */

#all-schools-compact h1 {
	font-size: 1.05em;
	font-weight: normal;
}
#all-schools-compact {
	line-height: 1;
}

.school .meta {
	display: block;
	font-size: 0.75em;
	margin-top: 0.5em;
}

/* ===== Calendar- code ===========  */

#code-acc summary {
	color: DarkRed;
	font-family: 'Contrail One', Tahoma, Arial;
	text-transform: uppercase;
	padding-bottom: 0.5em;
}

summary::-webkit-details-marker {
	display: none;
}

summary:focus {
	display: block;
	cursor: pointer;
	outline-style: none;
}

summary::before {
	content: '\25B6';
	padding-right: 0.5em;
}

details[open] > summary::before {
	content: '\25BC';
}
#header {position: relative}
	#header { padding: 30px 0px 0px 0px; position: relative;    border-bottom: 1px solid #E5E5E5;
    height: 102px;}
	#header .lang {z-index: 999999;position: absolute; right: 0px;display: flex; width: 68px;  justify-content: space-between;top: 0px;}
		#header .lang div { width: 34px; height: 26px; display: flex; justify-content: center;align-items: center; cursor: pointer}
			#header .lang div.active  { background: #E5E5E5}

#menu-item-9313 {padding: 0px 6px 0px 0px; z-index: 999999}
#menu-item-19524 {padding: 0px 0px 0px 6px; z-index: 999999}
#menu-item-9313 a { width: 31px; height: 40px; background: url( "/wp-content/themes/tangopiter/images/edit.svg") center top 12px no-repeat}
#menu-item-9313 a i { display: none}
#menu-item-19524 a { width: 31px; height: 40px; background: url( "/wp-content/themes/tangopiter/images/search.svg") center top 12px no-repeat;padding: 15px 6px; position: relative}
#menu-item-19524 a i { display: none}
#menu-item-19524 a {  font-size: 0!important}
#menu-item-19524 a:after {    content: '';
    display: block;
    border-left: 1px solid #C4C4C4;
    height: 20px;
    width: 1px;
    position: absolute;
    left: -7px;
    top: 14px;}
#mainnav {    margin: 47px 0px 0px 0px;    width: 100%;    position: absolute!important;
    z-index: 99;    left: 0px;}

.breadcrumbs {position: absolute;
width: 100%;
height: 15px;
left: 0px;
top: 120px;
font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 15px;

color: #A3A3A3;}


.breadcrumbs a {color: #A3A3A3;}
.breadcrumbs > span { padding: 0px 2px}

.widget_loginwithajaxwidget .lwa table { width: 130px!important; height: 72px; background: #FFFFFF;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);}
.widget_loginwithajaxwidget table td.lwa-info a { width: 42px; height: 42px; display: block; border: 1px dashed #A3A3A3; font-size: 0px!important}
.widget_loginwithajaxwidget table td.lwa-info a:hover {border-color: #D83030}

.widget_loginwithajaxwidget table .lwa-info {  width: 130px; height:72px; 
	padding: 0px 8px;
    display: flex;
    justify-content: space-around;
    align-items: center; box-sizing: border-box
   }

	.widget_loginwithajaxwidget table .lwa-info a:nth-child(1) { background: url("images/prop.svg") center center no-repeat}
	.widget_loginwithajaxwidget table .lwa-info a:nth-child(2) { background: url("images/exit.svg") center center no-repeat}
	.widget_loginwithajaxwidget table .lwa-info a:nth-child(1):hover { background: url("images/prop-red.svg") center center no-repeat}
	.widget_loginwithajaxwidget table .lwa-info a:nth-child(2):hover { background: url("images/exit-red.svg") center center no-repeat}

#wrap.edit { background: #FFFFFF!important; padding-left: 0px!important; padding-right: 0px!important}
.login-widget-wrp {margin: 30px 0px 0px 0px}
footer .design a {color: #D83030}
footer #design  {float: right}

#footernav ul li {height: 36px;}
#footernav ul li a {height: 36px;}
.fc-header-left .fc-state-default  { width: 50px; height: 50px; background: #FFFFFF;
border: 1px solid #A3A3A3;box-sizing: border-box; position: relative}
.fc-header-left .fc-state-default span { display: none}
.fc-icon-left-single-arrow:after { display: none}
.fc-icon-right-single-arrow:after { display: none}

.fc-button-prev:after { display: block; content: ''; width: 16px; height: 20px; background: url("images/left-arrow.svg");position: absolute;    top: 14px;    left: 16px; }
.fc-button-next:after { display: block; content: ''; width: 16px; height: 20px; background: url("images/right-arrow.svg");position: absolute;   top: 14px;    left: 16px; }

.fc-button-today { width: 138px!important; height: 50px!important; font-family: Roboto Condensed;
font-style: normal;font-weight: bold;font-size: 15px;line-height: 18px;text-align: center;    padding: 10px!important;}

.fc-header-title h2 {font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 24px!important;
line-height: 100%;
color: #333333;}

table.fc-header tr td { text-align: left!important}
	table.fc-header tr td span {padding: 11px 0px 0px 0px;}
.fc-header-right { display: flex; width: 303px!important; float: right}
.fc-header-right span { width: 101px!important ;height: 50px!important; display: flex; justify-content: center; align-items: center;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 18px;
text-align: center;
color: #333333;background: #FFFFFF;
border: 1px solid #A3A3A3;
box-sizing: border-box; padding: 0px!important;margin: 0px!important; text-shadow: none!important}
.fc-header-right .fc-state-active {background: #D83030!important;color: #FFFFFF!important; border: none!important}
.fc-header-right span:first-child { border-right: none!important}
.fc-header-right span:last-child{ border-left: none!important}
table.fc-header tr td { padding: 0px!important}

thead .fc-first.fc-last th { border: none!important;height: 50px!important;vertical-align: middle; padding: 0px!important; }
thead .fc-first.fc-last th:nth-child(odd) { background: #F7F7F7}
thead .fc-first.fc-last th:nth-child(even) { background: #F2F2F2;}

.fc-event { border-radius: 6px!important;}

#filter #categories, #filter #places{display: flex;  margin-left: 0px!important; width: 100%}
#filter label {    width: auto;font-style: normal;margin: 0px 0px 10px 0px;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #A3A3A3;}

.select2wrap .select2 {font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #D83030;
border:none;

}

.select2-selection--multiple {border:none;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #D83030;
}
.select2-container--default .select2-search--inline .select2-search__field
{ width: 410px; }
.select2-container--default .select2-search--inline .select2-search__field::placeholder
{font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #D83030;
}
.select2-selection.select2-selection--multiple {border-bottom: 1px dashed #C4C4C4!important; min-height: 27px!important;height: auto; border-top: none!important; border-left: none!important; border-right: none!important; margin: -10px 0px 0px 0px; width:  403px!important;background: url("/wp-content/themes/tangopiter/images/plus.svg") center right 5px no-repeat!important}

#reset { display: none!important}
.edit h2 {font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 30px;
line-height: 100%;
color: #333333;margin-bottom: 40px;}

.fc-event-time {
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
border-radius: 6px; width: 135px; height: 40px; background: #FFFFFF; display: flex!important; align-items: center; padding: 0px 0px 0px 45px!important;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 15px;
color: #525252;
}


.fc-event-time {position: absolute; top: -24px;    box-sizing: border-box;    left: -1px;}
.fc-ltr .fc-event-hori.fc-event-end {    padding: 22px 10px 10px 10px;    margin: 10px 0px 0px 0px;}
.fc-ltr .fc-event-hori.fc-event-start {    padding: 0px;    margin: 10px 0px 0px 0px;}
.ui-dialog { width: 439px!important; border: none!important;background: #FFFFFF;
box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.2); padding: 10px 17px 20px 17px!important}
.ui-dialog .ui-dialog-titlebar { border: none!important}
.ui-dialog-titlebar-close:before {content: ''!important; background: url("/wp-content/themes/tangopiter/images/close.svg") center center no-repeat; width: 14px!important; height: 14px!important}
.fc-event {position: absolute;    right: -3px;    top: 13px;}
.ui-state-default .ui-icon { display: none!important}
.popactions tbody { display: flex}

.popactions tbody tr .content-management a { width: 44px; height: 44px; background: #FFFFFF;
border: 1px dashed #A3A3A3!important; box-sizing: border-box; display: block; border-radius: 0px!important; font-size: 0px!important}
.content-management { display: flex}
#event-popup .delete { background-color: #FFFFFF!important}
.content-management a { margin-right: 10px!important}
#event-popup .content-management { margin: 0px!important}
.popactions tbody tr:nth-child(1) .content-management a:nth-child(1) {  background: url("images/eye.svg") center center no-repeat}
.popactions tbody tr:nth-child(1) .content-management a:nth-child(2) {  background: url("images/edit2.svg") center center no-repeat}
.popactions tbody tr:nth-child(1) .content-management a:nth-child(3) {  background: url("images/copy.svg") center center no-repeat}

.popactions tbody tr:nth-child(1) .content-management a:nth-child(4) {  background: url("images/copy.svg") center center no-repeat}
.popactions tbody tr:nth-child(2) .content-management a:nth-child(1) {  background: url("images/minus.svg") center center no-repeat}
.popactions tbody tr:nth-child(2) .content-management a:nth-child(2) {  background: url("images/urn.svg") center center no-repeat}
.ui-dialog .ui-dialog-titlebar .ui-dialog-title {font-family: Roboto Condensed;font-style: normal;font-weight: bold;font-size: 17px!important;line-height: 100%;color: #333333;}

#event-popup .meta {font-family: Roboto Condensed;font-style: normal;font-weight: bold;font-size: 15px;
line-height: 30px;color: #353535;}
#event-popup .short-content {font-family: Roboto Condensed;font-style: normal;font-weight: normal;font-size: 13px;line-height: 130%;color: #353535;}
#event-popup .meta li { list-style: none!important}
#event-popup .meta li.place a { color: #D83030!important}


.clock_filter {position: absolute;    width: 14px;    height: 14px;    top: -11px;  left: 21px;    z-index: 9999;    margin: 0px;    padding: 0px;    display: flex;}
.option_block { display: flex;background: #FFFFFF;box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); width: 401px; height: 72px;    justify-content: space-between;box-sizing: border-box; align-items: center; padding: 0px 17px;     margin: 13px 0px 40px 0px;}
	.option_block div {padding: 0px 11px; height: 44px;cursor: pointer;border: 1px dashed #A3A3A3;box-sizing: border-box; display: flex; justify-content: center; align-items: center}
	.option_block div:hover {border: 1px dashed #D83030;}
	.option_block div svg path  { fill:#000000}
	.option_block div:hover svg path  { fill:#D83030}
	.option_block div span { display: none}
	.option_block div.selected span { display: block; white-space: nowrap}
	.option_block div a { color: #333333;    display: flex; align-items: center;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 100%;}
	.option_block div:hover a { color: #D83030; text-decoration: none}
	.option_block div.selected svg { margin: 0px 19px 0px 0px;}
	.option_block div.selected a { color: #D83030; }
	.option_block div.selected  { border-color: #D83030; }
	.option_block div.selected path { fill: #D83030; }
   
#filter { margin-bottom: 20px}


.fc-widget-content:first-child {border-left: none!important}
.fc-widget-content:last-child {border-right: none!important}

.entry tr td {
    border: 1px solid #F1F2F2!important;
}

.entry .fc-header tr td { border: none!important}

.fc-content:before { content: ''; width: 100%; height: 1px; background:#F1F2F2; 
	display: block;   position: absolute;    top: -7px;}
.fc-border-separate thead:after { content: ''; width: 100%; height: 0px; margin: 7px 0px 0px 0px; display: block;   }

.field label{font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #A3A3A3;}

#title_wrap #title {background: #FFFFFF;border: 1px solid #A3A3A3;box-sizing: border-box; height: 40px}
#tpuc-edit-event-form #title { width: 100%!important; max-width: 100%!important}

.wp-editor-container {border: 1px solid #A3A3A3!important;}
#tpuc-edit-event-form .edit input, #tpuc-edit-event-form .edit  textarea {border: 1px solid #A3A3A3!important;}
.edit input::placeholder, .edit  textarea::placeholder {font-family: Roboto Condensed;
font-style: normal;font-weight: normal;font-size: 15px;line-height: 130%;color: #C4C4C4;}

.help-tip { }
.help-tip:before { width: 14px; height: 14px; background: url("images/question.svg") no-repeat center center; content: ''!important; display: block;    position: absolute;    left: -13px;    top: -9px;}
.field label {    position: relative;}

.image_input {
    position: absolute;
    width: 267px;
    height: 40px;	
	border: 1px dashed #D83030;
box-sizing: border-box;
    top: 32px;
    left: 1px;
	display: flex; justify-content: center;align-items: center;
	color: #D83030; background: #FFFFFF;
	cursor: pointer
}

#tpuc-edit-event-form #image {
    outline: none;
    border: none!important;
	display: none;
}

.image_template {
    position: absolute;
    width: 269px;
    height: 283px;	
	background: #FFFFFF url("images/pict.svg") center center no-repeat; 
	border: 1px solid #C4C4C4;
	box-sizing: border-box;
    top: 108px;
    left: 0px;
	color: #D83030; 
	cursor: pointer;
	z-index: 9999
}
#image-block {margin: 74px 0px 0px 0px;}

.save-as-new-evt {
width: 244px;
height: 40px;
background: url("images/check.svg") left 21px center no-repeat #D83030!important;
border: 1px solid #D83030!important;
box-sizing: border-box!important;
border-radius: 0px!important;
display: flex!important; justify-content: center; align-items: center;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 18px;
text-align: center;
color: #FFFFFF;
}
.edit .row { display: flex; justify-content: space-between; flex-wrap: wrap}
#tpuc-edit-event-form #category_block { width: 100%!important;    margin: 0px 0px 52px 0px;}
	#tpuc-edit-event-form #category_block .field {display: flex!important; flex-wrap: wrap}

#tpuc-edit-event-form .select2-container--default .select2-selection--single {border-bottom: 1px solid #D83030!important; border-top:none!important; border-right: none; border-left: none; border-radius: 0px!important; }
.select2-container--default .select2-selection--single .select2-selection__placeholder {  color: #D83030!important;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;}

.select2-container--default .select2-selection--single .select2-selection__arrow b {border: none!important; background: url("images/select.svg") center center no-repeat; width: 7px!important; height: 4px!important; display: block}
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { transform:rotate(180deg)}

 #tpuc-edit-event-form #category_block .select2-container--default .select2-selection--single { width: 274px!important; outline: none!important}
.select2-selection--single { outline: none!important}
 #tpuc-edit-event-form #category_block .select2-container { width: 274px!important}

input#link { width: 100%; display: block}
.field label { white-space: nowrap!important; display: flex; align-items: center; padding-right: 17px}	
#tpuc-edit-event-form #excerpt { width: 100%!important; max-width: 100%!important;    box-sizing: border-box;}
.row .column input { border:none!important; }
.row .column  input[type=text] { border-bottom: 1px dashed #D83030!important; width: 1px solid #D83030; width: 129px; margin: 0px 25px 0px 0px; padding: 2px!important;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #333333;
}

#begin_date { border-bottom: 1px dashed #D83030; display: block}
	label:before { background: url("images/date.svg") center left no-repeat;  position: absolute; content: ''; left: 0px; top: 0px}


.container_begin_date, .container_datepicker  { background: url("images/date.svg") center left no-repeat; padding: 0px 0px 0px 23px}

.container_begin_time, .container_end_time { background: url("images/clock.svg") center left no-repeat;  padding: 0px 0px 0px 23px}

.row .column input::placeholder { color:#D83030}
#repeat_block label { background: url("images/checkbox.svg"); width: 14px; height: 14px; display: block}
#repeat_block input[type="checkbox"]:checked + label {background: #D83030;border: 2px solid #D83030;box-sizing: border-box;border-radius: 4px;width: 14px; height: 14px; display: block}
#repeat_block input { display: none}
#week tr { display: flex}
.week {
margin-left: 20px;
}

	#week tr td{ display: flex; width: 50px; justify-content: space-between;padding-right: 14px;font-family: Roboto Condensed;font-style: normal;font-weight: normal;font-size: 15px;color: #353535;    align-items: center;}
#week {}
#repeat_block {margin: 24px 0px 41px 0px; display: flex;font-family: Roboto Condensed;
font-style: normal; flex-wrap: wrap;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #A3A3A3;}
#repeat_block  .zag { padding-right: 20px!important}
#repeat_div {padding: 0px!important}
#places_block {}
#tpuc-edit-event-form .select2-container { width: 257px!important}

#schools_block .field { display: flex}
#places_block .field { display: flex}
#djs_block .field { display: flex}
#price_block .field { display: flex}
#price {background: #FFFFFF;border: 1px solid #A3A3A3!important;box-sizing: border-box;width: 145px!important;
height: 40px!important;}

#tpuc-edit-event-form #excerpt {    margin-bottom: 17px;}
#start_end .field:nth-child(1) {margin-bottom: 27px;}
#excerpt {height: 69px;}

iframe {font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 130%;
color: #353535;}

.select2-selection__rendered,.select2-selection__rendered:active, .select2-selection__rendered:focus { outline: none!important}
#ui-timepicker-div { width: 219px; height: 289px;background: #FFFFFF;
box-shadow: 0px 0px 35px rgba(0, 0, 0, 0.2); padding: 13px; box-sizing: border-box}

.ui-timepicker-table .ui-timepicker tr { display: flex}
.ui-timepicker-table .ui-timepicker tbody {display: flex; flex-wrap: wrap;}

.ui-timepicker-table .ui-timepicker td, .ui-timepicker-table .ui-timepicker th.periods {
    width: 30px;
    height: 30px;
    padding: 0px;
    margin: 0px;
	border: 1px solid #E5E5E5;
	display: flex; justify-content: center; align-items: center
}
.home .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: none!important; background: none!important}

.ui-widget-header { background: none!important; border:none!important;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 17px;
line-height: 100%;
text-align: center;
color: #333333;}

#ui-datepicker-div {
 width: 249px!important; height: auto
}
.ui-datepicker .ui-datepicker-next span { width: 20px; height: 20px; background: url("images/small_right_arrow.svg") no-repeat}
.ui-datepicker .ui-datepicker-prev span { width: 20px; height: 20px; background: url("images/small_left_arrow.svg") no-repeat}

.ui-datepicker td {width: 30px; height: 30px;border: 1px solid #E5E5E5!important; display: flex; justify-content: center; align-items: center;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 100%;
text-align: center;
color: #333333;
padding: 0px} 

.ui-datepicker td:hover {border: 1px solid #D83030!important;}
.ui-timepicker-table .ui-timepicker td:hover, .ui-timepicker-table .ui-timepicker th.periods:hover {border: 1px solid #D83030!important;}
.ui-state-default.ui-state-active {border: 1px solid #D83030!important;    justify-content: center;
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;}

.ui-datepicker-calendar tr {display: flex; justify-content: center}
.ui-datepicker-calendar thead tr {  justify-content: space-around;}
.home #preview_wrapper {min-height: 300px;    top: 67px;    background: white;}
.home #tpuc-edit-event-form #image_preview {    width: 269px!important;}
.home .breadcrumbs { display: none!important}

.home .red {color: #D83030;}

.home .top_main_descr {
font-family: Roboto;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 150%;
margin: 0px 0px 26px 0px;
}


.widget-category-posts .medium-post .post-title a
{
	font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 18px;

color: #333333!important;
}
.widget-category-posts .medium-post .post-title {margin-bottom: 0px!important;padding: 0px 0px 5px 0px;}

.home .small-post-body .entry { display: none}

.home .postmeta .meta-date:before { background: url("images/date.svg") no-repeat;     display: inline-block;
    content: ''!important;    width: 14px;    height: 14px; position: absolute}
.home .meta-date { position: relative;display: flex;    width: 100%;    justify-content: space-between;}
.home .meta-date a.date {padding: 0px 0px 0px 23px;}
.home .meta-date a.time {padding: 0px 0px 0px 23px; position: relative}
	.home .meta-date a.time:before { background: url("images/clock.svg") no-repeat;     display: inline-block;
    content: ''!important;    width: 14px;    height: 14px; position: absolute;    left: 3px;}

.read-more-by-category {font-family: Roboto Condensed;font-style: normal;font-weight: normal;font-size: 15px!important;line-height: 13px;text-align: right;color: #000000!important;    border-left: 3px solid #D83030;
    padding: 0px 0px 0px 6px;    margin: 2px 0px 0px 0px;}
.addcontent { width: 244px;height: 40px;border: 1px solid #D83030;box-sizing: border-box; float: left; font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #D83030; display: flex; justify-content: center; align-items: center; background: url(images/plus.svg) left 33px center no-repeat;
padding: 0px 0px 0px 13px;
cursor: pointer
}
.widget-category-posts-content { margin: 0px 0px 27px 0px;}
.meta-date .author {font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 15px;
text-align: right;
color: #D83030;position: relative
} 
.meta-date .author:before{ background: url("images/user.svg") no-repeat;     display: inline-block;
    content: ''!important;    width: 14px;    height: 14px; position: absolute;    left: -24px;}

.postmeta .meta-date.blogdate:before { background: url("images/watch.svg") no-repeat;     display: inline-block;
    content: ''!important;    width: 14px;    height: 14px; position: absolute}
.postmeta .meta-date.blogdate a:first-child {padding: 0px 0px 0px 21px;}
.catname {padding: 0px 0px 0px 23px;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 15px;
color: #D83030;}

.postmeta .meta-date.articles:before { background: url("images/price.svg") no-repeat;     display: inline-block;
    content: ''!important;    width: 14px;    height: 14px; position: absolute}

.tabs {position: relative; padding: 0px;  float: right;width: 270px!important; height: 406px; display: table;margin: 0px 0px 58px 0px;}
   .tab, .tab-title {font-family: Roboto Condensed; 
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
display: table-row;
color: #000000;
}
   .tab input[type="radio"] { display: none;}
   .tab-title {cursor: pointer;display: flex; justify-content: center;    align-items: center; font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #000000;
background: #FFFFFF;
    width: 100%;
    height: 100%;
    padding: 0px 0px 0px 26px;
    border: 1px solid #E5E5E5;
    box-sizing: border-box;	   
}
	.tab-content {
    position: absolute;
    right: 270px;
    display: none;
    margin: 0px 0px 0px 0px;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    top: 0px;
		height: 406px;
	
}
	.tab :checked + .tab-title {position: relative;top: 0px;z-index: 1;border: 1px solid #D83030;}
	.tab :checked ~ .tab-content { display: flex;  }


.tab-title:hover {border: 1px solid #D83030;}

.tab-content .slide {position: relative; width: 100%; height: 100%}
.top-slider .text_slide {position: absolute;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 42px;
line-height: 50px;
color: #FFFFFF;left: 32px; bottom: 82px}

.top-slider .button_slide {position: absolute;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 100%;
text-align: center;
color: #FFFFFF;
border: 1px solid #FFFFFF;
box-sizing: border-box; left: 34px; bottom: 25px;width: 130px;
height: 40px; display: flex; justify-content: center; align-items: center;cursor: pointer;
}

.widgettitle span {
font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 20px;
line-height: 100%;
color: #333333;}


.fbico { width: 32px; height: 32px; display: block; background: url("images/facebook.svg") no-repeat center center;}
.instico { width: 32px; height: 32px; display: block; background: url("images/instagram.svg") no-repeat center center;}
.twitterico { width: 32px; height: 32px; display: block; background: url("images/twitter.svg") no-repeat center center;}
.vkico { width: 32px; height: 32px; display: block; background: url("images/vk.svg") no-repeat center center;}
.social { display: flex; justify-content: space-between; width: 180px}

.widget a:link, .widget a:visited {font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #6A453B;
}

.widget a:hover {color: #E00000;}

.eo-events.eo-events-widget  {list-style: none}
	.eo-events.eo-events-widget li {list-style: none; position: relative; padding: 19px 2px 2px 2px!important}
	.eo-events.eo-events-widget li:before {display: block;    content: '';
    width: 14px;    height: 14px;    background: url(images/push-pin.svg) left center;    position: absolute;
    left: -19px;    top: 26px;}
.eo-events.eo-events-widget li:hover:before { background: url(images/push-pin-red.svg) left center;}
.eo-events.eo-events-widget { width: 270px!important}
.bottom-block {display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;}

.eo-events.eo-events-widget  ul li {
    padding: 20px .3em .3em .3em;
}
.eo-events.eo-events-widget .read-more-by-category 
{    
	display: block;
    margin: 12px 0px;}


.widget_recent_entries ul li { padding: 19px 2px 2px 2px!important; position: relative;    margin: 0px 0px 0px 20px;}
.widget_recent_entries ul li:before { content: ''!important; background: url( "images/star.svg"); width: 14px;height: 14px;position: absolute;    left: -23px;    top: 23px;}
.widget_recent_entries ul li:hover:before {background: url( "images/star-red.svg");}
#custom-post-type-recent-posts-2 ul { width: 270px}
#custom-post-type-recent-posts-2 .addcontent {float: right;    margin: 14px 0px 0px 0px;
display: none;
}

.eo-events.eo-events-widget {  width: 100%!important;    margin: 0px 0px 0px 17px;}

#mainnav-menu ul li {
    list-style: none;
    margin: 0;
}
#tpuc-edit-event-form #preview_wrapper {
    margin: 66px 0px 0px 0px;background: white;
    min-height: 293px;    z-index: 99999;
}

.genericon-search:before {
    content: "\f400";
    margin: 0px 0px 0px -27px;
}

#header .search-form {top: 0px;
    position: absolute;}

.searchpopup li {margin: 0px;
    height: 50px;}


.searchpopup {  width: 90%;
    height: 50px;
    position: absolute;
    top: 41px;
	opacity: 0;    
	z-index: -1;
	transition: opacity 1000ms ease;
	right: 0px;
}
.search_mobile .search_close {
	width: 40px;
	height: 40px;
	background: url("images/close_search.svg") center center no-repeat;
	top: 10px;
	left: -43px;
	position: absolute;
	z-index: -1;
}
.searchpopup .search_close {
	width: 40px;
	height: 40px;
	background: url("images/close_search.svg") center center no-repeat;
    top: 6px;
    left: -37px;
	position: absolute;
	z-index: 999999999;
}
header > .searchpopup { 
	background: none!important;
	right: 12px!important;
}
.searchpopup  button { 
	opacity: 0;
    width: 42px!important;
    height: 41px!important;
    padding: 0px!important;
    margin: 0px!important;
    right: 0px!important;
}
.show .searchpopup {
	opacity: 1;
	transition: opacity 1000ms ease;
	z-index: 99999999999;
	right: -34px;
}
.search_mobile  {
	width: 90%;
	position: relative;
	z-index: 99999999999999;	

}
.search_mobile  #menu-item-19524{
	left: auto;
	right: 50%!important;
	margin-right: -20px;
	transition: right 500ms ease;
	position: absolute!important;
	
}


.show .search_mobile #menu-item-19524 {
	right: -15px!important;
	transition: right 500ms ease;
}

#mainnav-toggle {
	opacity: 1;
	transition: opacity 1000ms ease;

}
.show  #mainnav-toggle {
	opacity: 0;
	transition: opacity 1000ms ease;
	z-index: -1;
}
.search_mobile .search_close {
	opacity: 0;
	transition: opacity 1000ms ease;
	cursor: pointer;
}
.show .search_mobile .search_close {
	opacity: 1;
	transition: opacity 1000ms ease;
	z-index: 99999999999999;
}



#menu-item-9313 {
	opacity: 1;
	transition: opacity 1000ms ease;
}

.show #menu-item-9313 {
	opacity: 0;
	transition: opacity 1000ms ease;
	z-index: -1;
}




.searchpopup .search-form {

}
.searchpopup  button label 
{width: 100%;  display: block;}

#menu-item-19524 a { pointer-events: none; }
#menu-item-19524  {  cursor: pointer}
#mainnav-toggle:after {
    color: darkred;
}
@media only screen and (max-width: 880px){
	.search_mobile {
		z-index: 0;
	}
	.show.search_mobile {
		z-index: 9999999999;
	}	
	#mainnav {		margin: 109px 0px 0px 0px; background: #FFFFFF;}
	#mainnav_desctop {display: none}
	#mainnav, #mainnav-menu, #mainnav-menu li, #mainnav-menu a, #mainnav-menu ul, #mainnav-menu ul a, #mainnav-menu ul ul, #mainnav-menu li ul ul {position: relative}
#mainnav-menu a:link, #mainnav-menu a:visited {
    color: #6A453B!important;
}
#mainnav-menu a {
   text-align: left!important;padding: 10px 0px 10px 40px;
}
	#mainnav-menu{   padding: 0px 0px 0px 28px;	
		float: none;
	}
	#menu-item-19500 {	
    position: relative!important;
    top: 0px!important;
    left: 47px!important;	
	}
	#menu-item-9313 {	
	position: relative!important;
    top: -9px!important;
    left: 4px!important;
	}
	#header-wrap {    margin-bottom: 38px;
}
	
}

.mainnav-toggle>span::before {
    content: '';
    top: -12px;
}
.mainnav-toggle>span::after {
    content: '';
    top: 12px;
}
.mainnav-toggle >span, .mainnav-toggle >span::after, .mainnav-toggle>span::before {
    display: block;
    position: absolute;
    width: 35px!important;
    height: 4px;
    background-color: #D83030;
    transition-duration: .25s;
}

.mainnav-toggle.active>span {
    transform: rotate(45deg);
}

.mainnav-toggle.active >span::before {
    top: 0;
    transform: rotate(0);
}
.mainnav-toggle.active>span::after {
    top: 0;
    transform: rotate(90deg);
}

#mainnav-toggle:after {
 content: none!important
}

.mainnav-toggle  {
    width: 35px;
    height: 35px;
    margin: 6px 16px 0px 0px!important;
    padding: 0px!important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
border:none!important; background-color: transparent!important;font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px!important;
line-height: 18px;
color: #333333!important;

}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
	width: 15px!important;height: 15px!important; background: url("images/smallclose.svg"); float: right; margin: 0px 0px 0px 5px; font-size: 0px!important
	
}

.select2-container--open .select2-dropdown--below {
width: 403px;
border: none;
background: #FFFFFF;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
outline: none;	
	
}



.select2-container--default .select2-results__option[aria-selected=true] {
   background: #F5F5F5!important;color: #333333!important;
}
.select2-results__option {
font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #333333;	
	padding: 6px 14px 6px 14px
}

.select2-results__options { padding: 5px 0px 17px 0px!important}

.fc-state-default:hover {border-color: #D83030; color: #D83030;}
.swiper-container {display: none}

@media only screen and (max-width: 500px){
	.actions {display: flex!important;
    flex-direction: column!important;}
	.actions > div {margin: 0px 0px 10px 0px!important;}
	.option_block {    width: 237px;
    height: auto!important;
    flex-direction: column;
}
	.option_block div svg { margin: 0px 19px 0px 0px;}

	.option_block {   margin: -17px 0px 20px 20px}

	.option_block div {  
    margin: 11px 0px;width: 214px; padding: 0px!important;
}
		.option_block div a {    padding: 0px 11px; display: flex; width: 100%; align-items: center

}
	.option_block div span { display: block!important; padding: 0px}
	.site-title img {width: 200px;
    margin: 17px 0px 0px 0px;}
	.breadcrumbs{ display:  none}
	.edit .row .column >div {margin: 0px 0px 10px 0px}
	#tpuc-edit-event-form .field { flex-wrap: wrap;padding: 0px 10px 0px 10px; justify-content: space-between;}
   #login-widget-wrp {
   float: right;	
}
	#tpuc-edit-event-form .field > div{  margin: 0px 0px 15px 0px;	}
  
	
	.ui-dialog { left: 20px!important}	

}
@media only screen and (max-width: 450px){
	.ui-dialog { left: 20px!important}	

}
#filter div { margin: 0px 0px 10px 0px}


@media only screen and (max-width: 375px){
	.ui-dialog { left: 1px!important}	
	.widget_loginwithajaxwidget table {
    box-shadow: 12px 0px 15px rgba(0, 0, 0, 0.1);
}

.option_block div {
    margin: 11px 0px;
    width: 180px;
    padding: 0px!important;
}
	.option_block div span { font-size: 12px!important}
		.option_block {
    width: 184px;
}
	.avatar.lwa-avatar { display: none}
	.widget_loginwithajaxwidget table {
    width: 105px!important;
}
	.widget_loginwithajaxwidget table .lwa-info {
    width: 130px;
    height: 100px;
    flex-direction: column;
}
}
@media only screen and (max-width: 400px){
	#week tr td {
		width: 44px;}
	.ui-dialog.ui-widget.ui-widget-content.ui-corner-all{
    width: 100%!important;
}

	#filter input { width: 200px!important}
		.fc-ltr .fc-event-hori.fc-event-end, .fc-rtl .fc-event-hori.fc-event-start
	{ font-size: 8px}
	#footer-line {padding: 10px 3px 5px 3px!important;}
	footer #design { font-size: 10px}
	#footer-line #credit-link {
    margin: 0 auto;
    float: none;
    width: 143px;padding: 0px!important
}
	.select2-selection.select2-selection--multiple { width: auto!important;}
	.field label { white-space: normal!important}
	#week tr td { padding-right: 6px!important}
	.fc-event-hori.fc-event-end {
    border-left-width: 1px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 16px 0px 3px 0px;
}
.fc-event-time {
    line-height: 8px;
    left: 1px!important;
}	

	.ui-dialog { left: 0px!important}	

	
	.tabs {display: none}
	.swiper-container {display: block}
	
	.top-slider .button_slide {
    position: relative;
    margin: 0 auto;
    bottom: 142px!important;
    left: auto;
}
.top-slider .text_slide {
    left: 17px;
    bottom: auto;
    top: 110px!important;
    font-size: 33px;
}	
}

@media only screen and (min-width:880px) and (max-width:1100px){
	#mainnav_desctop #mainnav-menu {
    float: right;
    margin: 10px;
    width: 100%;
    display: flex!important;
    justify-content: center;
}
}
@media only screen and (min-width:880px){
	.search-form .search-field {
		height: 40px;
	}
.searchpopup {
    width: 0px;
	z-index: 999999999999;
	right: 40px;
	opacity: 1;
    transition: width 1000ms ease;
	overflow: hidden;

}
.searchpopup.show {
    width: 270px;
	background: #FFFFFF;
	overflow: visible;
    transition: width 1000ms ease;
	
}
	
	
}



@media only screen and (max-width:1080px){

}

@media only screen and (min-width:880px) and (max-width:1040px){

#menu-item-9313 {top: 14px;}
}

@media only screen and (max-width:1040px){
.option_block {
    margin: 39px 0px 40px 0px;
}
	#login-widget-wrp {
    margin: 39px 0px 0px 0px!important;
}

}

@media only screen and (max-width: 1024px){
	.home .top_main_descr {
    margin: 67px 0px 26px 0px;
}
	.page-header {
    margin-top: 20px;
}
	.breadcrumbs {    margin: 17px 0px 0px 0px;}
	#sidebar {

	width: 100%;
}
.container, aside {
    padding: 0 0px 0px 3px!important
	}
.fc .fc-header-space {
 padding: 0px!important
}	
}
@media only screen and (max-width: 900px){
	.searchpopup {
    top: 428px;
}
	.tabs {
    width: 178px!important;
}
.tab-content {
    right: 178px;
	}
.top-slider .button_slide {
    bottom: 94px;
}
.top-slider .text_slide {
    top: 130px;
}	
.fc-event-time {
    width: 100px;
	}
#sidebar { display: flex; flex-wrap: wrap}	
	.admin-bar #wrapper { padding: 0px 3px!important}
}

.mobile-top {display: none; background: #FFFFFF}
.mob_wrapper {width: 95%; margin: 0 auto;display: flex; justify-content: space-between;
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
-webkit-flex-wrap: wrap;
-moz-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
-o-flex-wrap: nowrap;
flex-wrap: nowrap;

}    
@media only screen and (max-width: 880px){
	#mainnav-menu .menu-item-9313 { display: none}
	#mainnav-menu .menu-item-19524 { display: none}
	header > .searchpopup  {display: none!important}
	.searchpopup {
		top: 0px;
	}
	
	#logo {  width: 100%; display: flex; justify-content: center; align-items: center; height: 70px!important; float: none; margin: 0px auto;     border-bottom: 1px solid #E5E5E5; position: relative; z-index: 999999999}
	.mobile-top { width: 100vw; margin: 0px auto; height: 48px; display: block }
	#header {
    border-bottom:none;
	}
#menu-item-9313 {
    top: auto!important;
    left: auto!important;width: 40px; height: 40px;
	z-index: 999999999;
    position: relative;
}
#menu-item-9313 a{
display: block
	}
#menu-item-19500 {
    top: auto!important;
    left: auto!important;width: 40px; height: 40px;
}	
#menu-item-19500 a {display: block
	}
	#menu-item-19524 a:after { content: none!important}	
}

	
@media only screen and (max-width: 700px){
	article .wp-post-image {
margin-right: 0px!important;
}
	.fc-ltr .fc-event-hori.fc-event-end, .fc-rtl .fc-event-hori.fc-event-start
	{ font-size: 10px}
	.top-slider .text_slide {
    font-size: 34px;
    line-height: 39px;
	}
	.top-slider .text_slide {
    top: 98px;
}
	#tpuc-edit-event-form #main_col { width: 100%!important}	
.fc-event-time {width: 78px; padding: 3px!important	}
.clock_filter { display: none}
#footernav {height: auto}

	table tr td.fc-header-center {
    padding: 0px 0px 0px 10px!important;
}
}
.option_mobile 	{ display: none}
@media only screen and (max-width: 640px){
	#secondary-nav {
    margin-top: 18px;
}
}
@media only screen and (max-width: 600px){

	#header .lang {display: none;    }
.fc-event-time {
    width: 41px;
    padding: 2px!important;
    text-align: center;
    height: 39px;
    line-height: 8px;
    left: 9px;
}
	.fc-header tr { display: flex; flex-wrap: wrap}
	.fc-header { margin: 0px 0px 10px 0px!important}
	#categories  {
    flex-wrap: wrap;
    display: flex;
}
	
.option_mobile 	{ display: flex;background: #FFFFFF;width: 296px; height: 72px;    margin: 0px 0px 14px 0px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1); justify-content: flex-start; align-items: center; position: relative; padding: 0px 0px 0px 16px}
	.option_mobile .block {width: 226px;
height: 44px;
background: #FFFFFF;
border: 1px dashed #000000;
box-sizing: border-box;font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 100%;
color: #333333;
    display: flex;
    align-items: center;
justify-content: flex-start;
    padding: 0px 0px 0px 12px;		
}
	.option_mobile .block svg path {fill: #333333}
	.option_mobile .block svg {margin: 0px 25px 0px 0px;}	
	.option_mobile > svg {    display: block;    position: absolute;       right: 30px;    top: 33px;}

}

.swiper-pagination-bullet {
    border: 1px solid #ffffff;background: #fff;
}
:root {
    --swiper-theme-color: #ffffff;
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: 55px;
}


#login-widget-wrp {
      margin: 13px 0px 0px 0px;
}	
.fc-header-left { min-width: 100px!important}

#tpuc-edit-event-form .field { padding: 0px 10px 0px 10px; }

.edit .row .column > div { width: 100%}
#wp-admin-bar-my-account{margin: -47px 0px 0px 0px!important;}
#mainnav #menu-item-9313 {display: none}
#mainnav #searchpopup {display: none}
#mainnav_desctop    #mainnav-menu {float: right;   margin: 10px;}
#mainnav_desctop  { display: block}

.fc-event-inner {
    padding: 19px 0px 0px 0px!important;
}

.widget_loginwithajaxwidget input, .widget_loginwithajaxwidget label {
box-sizing: border-box;
}
.lwa.lwa-default .lwa-form .logintable { display: block; box-shadow: none!important; width: 100%!important; height: 100%!important}
	.logintable tbody, .logintable tbody tr, .logintable tbody td { display: block}

.page-id-9082 #sidebar {
    float: right;
}
.lwa-submit .left, .lwa-submit .right { width: 50%; float: left}
.lwa-submit-links { overflow: hidden}
.lwa-links-register {
font-family: Roboto Condensed;
font-style: normal!important;
font-weight: bold!important;
font-size: 15px!important;
line-height: 100%!important;
color: #D83030!important;
}

.logintable .lwa-username input, .logintable .lwa-password input, .lwa-username input, .lwa-email input {
position: relative;
border: 1px solid #525252;
box-sizing: border-box;
font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
height: 40px;
color: #525252;
}
.logintable .lwa-username input 
{
    margin: 13px 0px 11px 0px;
}

#lwa_wp-submit {
width: 244px;
height: 40px;
background: #D83030;
border: 1px solid #D83030;
box-sizing: border-box;
font-family: Roboto Condensed;
font-style: normal;
font-weight: bold;
font-size: 15px;
line-height: 18px;
text-align: center;
color: #FFFFFF;
}

.lwa-rememberme {
display: none
}
.lwa-remember table{ box-shadow: none!important; width: 100%!important; height: auto!important;
}

.left .label {
width: 104px;
height: 18px;
font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #525252;
}

.right { text-align: right; padding: 0px 18px 0px 0px}
.lwa-submit .lwa-submit-links .right a {
font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: normal!important;
font-size: 15px!important;
line-height: 18px!important;
color: #D83030!important
}
input[type="submit"].lwa-password-input {margin: 0px 0px 8px 0px;}
#lwa_wp-submit {margin: 17px 0px 0px 0px;}
.submit .button-primary {
width: 244px;
height: 40px;
background: #D83030!important;
border: 1px solid #D83030;
font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: bold!important;
font-size: 15px!important;
line-height: 18px!important;
text-align: center!important;
color: #FFFFFF!important;	
	
}
.submit .button-primary:hover {
background: #D83030;
}
#log:focus + label[for="log"] {
	display: none;
}
label[for="log"] {
	display: block;
	transition: all .15s linear;
	position: absolute;
	top: 26px;
    left: 23px;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #525252;
}
label[for] > span {
	color: red;
}
#user_email:focus + label[for="user_email"] {
	display: none;
}
#pwd {border: 1px solid #525252;}
#pwd:focus + label[for="pwd"] {
	display: none;
}
label[for="pwd"] {
	display: block;
	transition: all .15s linear;
	position: absolute;
	top: 156px;
    left: 23px;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 18px;
color: #525252;
}

#log:focus + label[for="user_login"] {
	display: none;
}
label[for="user_login"] {
	display: block;
	transition: all .15s linear;
	position: absolute;
	top: 12px;
    left: 23px;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 15px;
line-height: 18px;
color: #525252;
}
label[for] > span {
	color: red;
}
#pwd:focus + label[for="user_email"] {
	display: none;
}
label[for="user_email"] {
	display: block;
	transition: all .15s linear;
	position: absolute;
	top: 12px;
    left: 23px;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 18px;
color: #525252;
}

.lwa-username-input, .lwa-password-input, .lwa-username, .lwa-email {position: relative}

.left label {
float: left;
width: 18px;
height: 18px;
background: #FFFFFF;
border: 1px solid #525252;
box-sizing: border-box;	
line-height: 0px;
padding: 0px;
margin: 0px 15px 0px 0px;
display: flex;
justify-content: center;
align-items: center;
}
.left label:before {
    content: none!important;
}

.lwa-rememberme:checked + span {
    background: #D83030;
    content: '';
    width: 70%;
    height: 70%;
    display: block;
	position: relative
}
.lwa-submit .left {
    width: 50%;
    float: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#captcha_code, .lwa-user-remember {
    background: #FFFFFF!important;
    border: 1px solid #525252!important;
    box-sizing: border-box!important;
    font-family: Roboto Condensed;
    font-style: normal;
    font-weight: normal;
    font-size: 15px!important;
    line-height: 18px!important;
    height: 40px!important;
    color: #525252!important;
}
.lwa-remember-email{ position: relative}
.lwa-button-remember {
width: 244px!important;
height: 40px!important;
    background: #D83030!important;
    border: 1px solid #D83030!important;
    box-sizing: border-box!important;
    font-family: Roboto Condensed!important;
    font-style: normal!important;
    font-weight: bold!important;
    font-size: 15px!important;
    line-height: 18px!important;
    text-align: center!important;
    color: #FFFFFF!important;
	text-transform: none!important
}

.lwa-button-remember:hover {
    background: #D83030!important;
}


label[for="user_login"] {
	display: block;
	transition: all .15s linear;
	position: absolute;
	top: 12px;
    left: 23px;
	font-family: Roboto Condensed;
font-style: normal;
font-weight: normal;
font-size: 13px;
line-height: 18px;
color: #525252;
}
#user_login:focus + label[for="user_login"] {
	display: none;
}
@media only screen and (max-width: 400px){
.widget_loginwithajaxwidget table.logintable, #loginwithajaxwidget-2,.page-id-9082 #sidebar, .widget_loginwithajaxwidget .lwa-remember table  {
    width: 100%!important;
}


}
input#captcha_code {
	padding: 3px 3px 3px 28px!important;
}
.logintable .enter {
	font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: bold!important;
font-size: 20px!important;
line-height: 100%!important;
color: #333333!important;
border-right: 1px solid #E5E5E5;	
padding: 1px 17px 0px 0px;
margin: 0px 17px 0px 0px;
height: 21px;
display: block;
float: left;
}

.lwa-register-form .enter {
float: left;	
font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: bold!important;
font-size: 15px!important;
line-height: 100%!important;
color: #D83030;
border-right: 1px solid #E5E5E5;	
padding: 0px 17px 0px 0px;
margin: 0px 17px 0px 0px;	
display: block;
height: 21px;	
transform: translateY(3px);	
}

.lwa-register-form .lwa-links-register{
font-family: Roboto Condensed!important;
font-style: normal!important;
font-weight: bold!important;
font-size: 20px!important;
line-height: 100%!important;
color: #333333!important;	
}
.lwa-links-register {
	transform: translateY(-6px);
    display: block;
}
._xvm ._5h0c._5h0d ._5h0i {
    max-width: 100%;
    min-width: initial;
    width: 244px;
}
#evc_vk_login { width: 244px!important; height: 40px!important}
.logintable input:valid, .lwa-register-form input:valid {
  background: white;
	z-index: 10;
}
.logintable label {z-index: 1}
.lwa-modal {
    z-index: 999999999!important;
}	
	

@media only screen and (max-width: 500px){
.lwa-modal {
    left: 0!important;
    margin-left: 0!important;
    width: 100%!important;
	padding: 30px 20px 34px;
    z-index: 9999999999!important;
}	
	
}	

@media only screen and (max-width: 450px){
	.show .searchpopup {
	    right: -20px;
		width: 100%;
	}
}


.lwa-modal-bg {
    z-index: 999999!important;
}

.select_lang {
	height: 68px;
	background: #F5F5F5!important;
	font-family: Roboto;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 18px;
	color: #333333;
}

.select_lang  .current_lang {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 68px;
	padding: 0px 0px 0px 70px;
	cursor: pointer;
	position: relative;

}
.select_lang  .current_lang span.ico {
	width: 32px;
	height: 32px;
	right: 15px;
	top: 18px;
	border-radius: 4px;
	position: absolute;
	display: block;
	background: url("images/polygon.svg") center center no-repeat #FFFFFF;

}
.select_lang.open  .current_lang span.ico{
	transform: rotate(180deg);
	background: url("images/polygon.svg") center center no-repeat #EEEEEE;
}
.select_lang.open  .hide_lang {
	display: flex;
}

.select_lang  .hide_lang {
	justify-content: flex-start;
	align-items: center;
	height: 68px;
	padding: 0px 0px 0px 70px;
	cursor: pointer;
	display: none;
	background-color: #EEEEEE!important;
}
.eng {
	background: url("images/united-states.svg") 22px center no-repeat;
}

.rus {
	background: url("images/russia.svg") 22px center no-repeat;
}
.rus .rustext { 
	display: block;
}
.rus .engtext { 
	display: none;
}
.eng .rustext { 
	display: none;
}
.eng .engtext { 
	display: block;
}
.ui-dialog .ui-dialog-buttonpane {
	border:none!important;
}
.ui-dialog .ui-button {
	box-shadow: none!important;
}
#insert-media-button {
	width: 267px;
	height: 40px;
	border: 1px dashed #D83030;
	background: none;
	font-family: Roboto Condensed;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	color: #D83030;
	margin: 5px 0px 15px 0px!important;
}

.save-evt {
	border-radius: 0!important; 
	border: 1px dashed #D83030!important;
	font-family: Roboto Condensed;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	color: #D83030!important;
	padding: 10px 20px 10px 50px!important;
	background-color: transparent!important;
	background: url("images/check_button.svg") left 15px center no-repeat!important;
}
.save-evt:hover {
	background: url("images/check_button_hover.svg") left 15px center no-repeat!important;
	background-color:  #D83030!important;
	color: #FFFFFF!important;
	text-decoration: none!important;
}
.hide-evt {
	border-radius: 0!important; 
	border: 1px dashed #D83030!important;
	font-family: Roboto Condensed;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	color: #D83030!important;
	padding: 10px 20px 10px 50px!important;
	background: url("images/close_button.svg") left 15px center no-repeat!important;
	background-color: transparent!important;
}
.hide-evt:hover {
	background: url("images/close_button_hover.svg") left 15px center no-repeat!important;
	background-color:  #D83030!important;
	color: #FFFFFF!important;
	text-decoration: none!important;

}

.delete {
	border-radius: 0!important; 
	border: 1px dashed #000000!important;
	font-family: Roboto Condensed;
	font-style: normal;
	font-weight: normal;
	font-size: 15px;
	line-height: 18px;
	text-align: center;
	color: #000000!important;
	padding: 10px 20px 10px 50px!important;
	background: url("images/eye2.svg") left 15px center no-repeat!important;
	background-color: transparent!important;
	margin-left: 0!important;
}
.delete a{
	color: #000000!important;
}

.delete:hover {
	background: url("images/eye2_hover.svg") left 15px center no-repeat!important;
	background-color:  #D83030!important;
	color: #FFFFFF!important;
	text-decoration: none!important;
	border: 1px dashed #D83030!important;

}

.delete:hover a {
	color: #FFFFFF!important;
	text-decoration: none!important;
}
#del_image {
	display: none;
}

label[for=del_image] {
	font-size: 0!important;
	background: url("images/Ellipse 1.svg") no-repeat center center;
	width: 48px;
	height: 48px;
	cursor: pointer;
    margin: -47px auto 0px;
    position: relative;
    z-index: 99999;
	
}


.actions {margin: 10px;}

.search_mobile #menu-item-19500 {
    left: auto;
    right: 50%!important;
    margin-right: -20px;
    transition: right 500ms ease;
    position: absolute!important;
}
#menu-item-19500 {
    cursor: pointer;
}
#menu-item-19500 {
    padding: 0px 0px 0px 6px;
    z-index: 999999;
}
#menu-item-19500 a {
    pointer-events: none;
}
#menu-item-19500 a {
    font-size: 0!important;
}
#menu-item-19500 a {
    width: 31px;
    height: 40px;
    background: url(/wp-content/themes/tangopiter/images/search.svg) center top 12px no-repeat;
    padding: 15px 6px;
    position: relative;
}
.logintable label[for="pwd"] {
    top: 14px;
}


