/*   
Theme Name: your-clean-template-3
Theme URI: https://github.com/saxap/clean-wp-template
Version: 3.0
Tags: clean, development, html5, bootstrap
Description: Clean wordpress theme with minimal bootstrap3 markup for fast development starting
Author: saxa:p
Author URI: http://dontforget.pro
*/

@media (min-width: 200px) { 
	.logo img{
		width:100%;
	}
	
	ul.nav li.dropdown.show-on-hover:hover > ul.dropdown-menu { /* для раскрывания субменю по наведению */
		display: block;
	}
}

h1, h2, h3, h4, h5 {
	clear:both;
}


header, section{
	margin-bottom: 15px;
}

.photo{
	margin-bottom: 15px;
	overflow:hidden;
}

.headbg{
	background:  url(./images/headbg.jpg) no-repeat;
	height:300px;
	margin-bottom: 10px;
}

.logo{
	padding:50px 15px 0;
}

.navbar {
	margin-bottom: 10px;
}

ul.sub_categories{
	list-style:none;
	padding:0;
}

ul.sub_categories li{
	font-size: 24px !important;
}

.page h1 {
	margin-bottom:25px;
	font-weight:bold;
}

#custom_html-5 {
	margin-bottom: 15px;
}
	#custom_html-5 .widgettitle{
		margin-bottom:10px;
		font-weight:bold;
		display:block;
	}
	
#custom_html-3{
	padding:10px;
	border:1px solid #666;
	margin-bottom: 15px;
}

	#custom_html-3 .widgettitle{
		margin-bottom:10px;
		font-weight:bold;
		display:block;
	}
#custom_html-4,
#custom_html-5,	
#media_image-5,
#custom_html-3,
#custom_html-6,
#custom_html-7,
#custom_html-8{
	text-align:center;
	margin-bottom:15px;
}
/* =Calendar
-------------------------------------------------------------- */
#wp-calendar {
	width: 100%;
}
#wp-calendar caption {
	color: #222;
	font-size: 14px;
	font-weight: bold;
	padding-bottom: 4px;
	text-align: left;
}
#wp-calendar thead {
	font-size: 11px;
}
#wp-calendar thead th {
}
#wp-calendar tbody {
	color: #aaa;
}
#wp-calendar tbody td {
	background: #f5f5f5;
	border: 1px solid #fff;
	padding: 3px 0 2px;
	text-align: center;
}
#wp-calendar tbody .pad {
	background: none;
}
#wp-calendar tfoot #next {
	text-align: right;
}

.widget_sp_image-description{
	text-align:justify;
}

.widget_sp_image .widgettitle{
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
	text-align:center;
	display:block;
}



/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}

.display-posts-listing img {
	width:100%;
	height:auto;
}


.widget_search, .widget_calendar, .custom-html-widget {
	margin-bottom:10px;
}

.widget_search{
	padding:10px;
	background:#f3f3f3;
}


#main-news .row, .articles .row {
	margin-bottom:15px;
}

.articles .row h3, #main-news .row h3{
	margin-top:0;
}

.articles .post img{
	width: 100%;
    height: auto;
}

.bvi-button {
	padding:10px 0;
	overflow:hidden;
}

.date {
	font-size:11px;
	margin-bottom:10px;
}

#date, #curday{
  color: #fff;
  font-weight: bold;
  font-size: 16px;
}

.today{
  padding:10px 10px 0;
}

ul.sub_categories{
	list-style:none;
	padding:0;
}

ul.sub_categories li{
	font-size: 24px !important;
}


.dp-main {
	background:#d9e5e8;
}
	.dp-main-left {
		background:  url(./images/dp-left.jpg) no-repeat left;
		height:500px;
	}
	.dp-main-right {
		background:  url(./images/dp-right.jpg) no-repeat right;
		height:500px;
		padding:100px 0 0 130px;
	}

footer {
	border-top:2px solid #000;
	padding:15px 0;
	margin-top:15px;
	overflow:hidden;
}

.top-line {
	padding:10px 0;
	overflow:hidden;
}

.mosaicflow__column {
  float: left;
}
.mosaicflow__item img {
  display: block;
  width: 100%;
  height: auto;
}