/*
Theme Name: PortoFranko
Theme URI: vcrt.ru
Author: MM
Author URI: https://www.vcrt.ru
Description: Theme for PortoFranko
Version: 1.0
Text Domain: portofranko
*/

body {
	
}

body/*.home*/ > .container-flex {
    max-width: 1400px;
	margin: auto;
}

.placeholder {
	width: 100%;
	height: 100%;
	border: 1px solid #AAA;
	text-align: center;
	position: relative;
}

.banner-wide {
	width: 100%;
	height: 120px;
}

.navigation.pagination {
	text-align: center;
	display: block;
	padding: 10px;
}

.navigation.pagination .page-numbers {
	padding: 5px 12px;
	border: 1px solid #005BAA;
	border-radius: 3px;
	background-color: white;
	color: #005BAA;
	font-weight: bold;
}

.navigation.pagination .page-numbers.current {
	background-color: #005BAA;
	color: white;
}

section.header {
	margin-bottom: 15px;
	margin-top: 20px;
}

.block-header .logo-head {

}

.block-header .subheader {
	font-style: italic;
	margin: 5pt 0 20px 0;
}

.age_plus {
	display: inline-block;
	border: 2px solid black;
	padding: 8px 4px 8px 7px;
	border-radius: 42px;
	font-weight: bold;
	font-size: 14px;
}	

.block-menu {

}

.block-menu > div {
	border-bottom: 3px solid #005BAA;
}
.block-menu > div > ul {
	position: relative;
	top: 3px;
}

.block-menu ul {
	list-style-type: none;
	padding: 0;
	margin-bottom: 0;
}

.block-menu ul li {
	display: inline-block;
	border-bottom: 3px solid #005BAA;
	padding: 0 10px;
	margin-left: -5px;
	font-size: 24px;
	font-weight: bold;
	color: black;
}

.block-menu ul li a {
	color: inherit;
	display: block;
	width: 100%;
	height: 100%;
}

.block-menu ul li a:hover {
	text-decoration: none;
}

.block-menu ul li:hover {
	border-bottom: 3px solid #D2232A;
}

.block-menu ul li.current-menu-item {
	border-bottom: 3px solid #D2232A;
}

.block-menu ul li:first-child {
	padding-left: 0;
	margin-left: 0;
}

section.header .block-socnets {
	text-align: right;
	padding-top: 17px;
}

section.header .block-socnets a:last-child {
	padding-right: 0;
}

.block-socnets {
	text-align: center;
	padding-top: 8px;
}
.sidebar-socnets {
	text-align: center;
}

.block-socnets a, .sidebar-socnets a {
	font-size: 30px;
	padding-right: 30px;
	text-decoration: none;
}

.sidebar-banner {
	/*height: 500px;*/
	text-align: center;
}

span.listhead  {
	font-size: 23px;
	font-weight: bold;
	margin-bottom: 10px;
	display: block;
	position: relative;
	top: -8px;
}

#searchform {
	padding-top: 18px;
	text-align: right;
}

#searchform #searchsubmit {
	background-color:#005BAA;
	color: white;
	font-weight: bold;
	width: 75px;
	position: relative;
	top: -3px;
}

#searchform #s {
	height: 100%;
	display: inline-block;
	margin: 0;
	font-size: 20px;
}

#searchform i {
	font-size: 26px;
	cursor: pointer;
}

.topnews-widget {
	width: 100%;
	height: 510px;
	max-width: 1330px;
	overflow: hidden;
}
.topblock {
	display: inline-block;
	float: left;
	position: relative;
	overflow: hidden;
}
.topblock.topblock-big {
	height: 100.5%;
	width: 50%;
}
.topblock.topblock-small {
	height: 49%;
	width: 24%;
	margin: 0 0 1% 1%;
}
.topblock img {
	height: 100%;
	min-width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
}
.topblock .topblock-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top,#000,transparent);
	padding: 0 10px 15px 10px;
	/*min-height: 100px;*/
	color: white;
	font-size: 20px;
	line-height: 24px;
}

.topblock.topblock-big .topblock-title {
	padding-top: 300px;
}
.topblock.topblock-small .topblock-title {
	padding-top: 100px;
}

.topblock-big .topblock-title {
	font-size: 30px;
	line-height: 34px;
}

.topblock-title .post-time {
	padding-top: 15px;
	font-size: 15px;
	color: #02AFFF;
}

.topblock .post-rubric {
	display: block;
	padding: 0 12px;
	background-color: yellow;
	color: black;
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: 13px;
	font-style: italic;
	border-radius: 8px;
}

.topnews-banners {
	padding-top: 10px;
}
.topnews-banners > div {
	display: inline-block;
	float: left;
}
.topnews-banners > div.left {
	margin-right: 11px;
	width: 520px;
}
.topnews-banners > div.right {
	width: 510px;
	max-height: 125px;
}

.lenta-list {
	list-style-type: none;
	padding: 5px 0 0 0;
	height: 100%;
	position: relative;
	overflow: hidden;
	max-height: 635px;
}

.lenta-list li {
	padding: 5px 0px;
	border-bottom: 1px solid #F0F0F0;
}

.lenta-list li a {
	/*color: #005BAA;*/
	color: black;
	transition: all 0.3s linear;
}
.lenta-list li a:hover {
    /*color: #D2232A;*/
    color: #005BAA;
	text-decoration: none;
}
.lenta-list .post-time {
	color: #005BAA;
	text-align: right;
}

.block-lenta .lenta-list li:first-child {
	margin-top: -13px;
}

.block-lenta .btn-more {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 45px;
	width: 100%;
	background-color: white;
	text-align: center;
}

.block-lenta .btn-more a {
	padding: 2px;
	border-radius: 5px;
	width: 100%;
	display: block;
	font-size: 20px;
	background-color: #005BAA;
	color: white;
	height: 39px;
}

.btn-more-news {
	height: 45px;
	width: 350px;
	background-color: white;
	text-align: center;
	margin: auto;
}

.btn-more-news a {
	padding: 2px;
	border-radius: 5px;
	width: 100%;
	display: block;
	font-size: 20px;
	background-color: #005BAA;
	color: white;
	height: 39px;
}

.block-lenta .list-shadow {
	position: absolute;
	left: 0;
	bottom: 40px;
	height: 120px;
	width: 100%;
	background: linear-gradient(to top,#fff,transparent);
	pointer-events: none;
}

.slider-container {
	list-style-type: none;
	padding: 0;
	margin: 0;
	height: 250px;
	position: relative;
	overflow: hidden;
}

.slider-container .slider-block {
	position: absolute;
	display: block;
	width: 335px;
	height: 250px;
	overflow: hidden;
	transition: all 0.3s ease-out;
}

.slider-container .slider-block img {
	height: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
}

.slider-shadow {
	position: absolute;
	top: 0;
	height: 100%;
	z-index: 2;
	width: 50px;
}

.slider-shadow.left {
	left: 0;
	background: linear-gradient(to right,#fff,transparent);
}


.slider-shadow.right {
	right: 0;
	background: linear-gradient(to left,#fff,transparent);
}

.slider-shadow .slider-ctrl {
	/*border: 1px solid #AAA;*/
	border-radius: 5px;
	cursor: pointer;
	display: inline-block;
	padding: 10px;
	position: absolute;
	top: calc(50% - 50px);
	font-size: 50px;
}
.slider-shadow.left .slider-ctrl {
	
}
.slider-shadow.right .slider-ctrl {
	
}

.slider-container .slider-block .slblock-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top,#000,transparent);
	padding: 0 10px 15px 10px;
	color: white;
	font-size: 20px;
	line-height: 24px;
	padding-top: 122px;
}

.news-panorama {
	margin-bottom: 40px;
}
.news-panorama .row > div {
	padding-left: 0;
	padding-right: 0;
}

.news-panorama ul {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
}

.news-panorama ul li {
	display: block;
}

.news-panorama ul li > a {
	text-decoration: none;
	display: block;
	height: 100%;
}

.news-panorama ul li.panblock-text > a:hover .panblock-title {
	transition: all 0.3s linear;
	color: #005BAA;
}

.news-panorama ul li.panblock-graphic > a:hover .panblock-title {
	transition: all 0.1s linear;
	color: #02AFFF;
}

.news-panorama .panblock-graphic {
	overflow: hidden;
	position: relative;
	padding: 10px;
}

.news-panorama .panblock-graphic .panblock-image {
	height: 190px;
	background-size: cover;
}
.news-panorama .panblock-graphic .panblock-title {
	position: relative;
	width: 100%;
	padding: 10px 10px 35px 10px;
	min-height: 145px;
	color: white;
	font-size: 20px;
	line-height: 24px;
	overflow: hidden;
}

.news-panorama .panblock-graphic .panblock-title .blur-bg {
	filter: blur(15px) brightness(0.5);
	position: absolute;
	left: -20%;
	top: -20%;
	height: 140%;
	width: 140%;
	z-index: -1;
}

.news-panorama .panblock-graphic .panblock-title .post-time {
	font-size: 12px;
	color: #02AFFF;
	position: absolute;
	left: 5px;
	bottom: 0;
	padding: 5px;
}
.news-panorama .panblock-graphic .post-rubric {
	display: block;
	padding: 0 12px;
	background-color: yellow;
	color: black;
	position: absolute;
	right: 5px;
	top: 5px;
	font-size: 13px;
	font-style: italic;
	border-radius: 8px;
}

.news-panorama .panblock-text {
	border-bottom: 1px solid #D0D0D0;
	width: 96%;
	margin: auto;
	position: relative;
}
.news-panorama .panblock-text:last-child {
	border-bottom: none;
}

.news-panorama .panblock-text .panblock-title {
	width: 100%;
	height: 100%;
	color: black;
	text-decoration: none;
	padding: 5px;
	font-size: 15px;
	line-height: 20px;
}
.news-panorama .panblock-text .panblock-title .post-time {
	color: #02AFFF;
	font-size: 12px;
	display: block;
	padding: 5px;
	position: absolute;
	bottom: 3px;
	right: 0;
}

.panorama-title {
	position: relative;
}

.panorama-title .rubname {
	font-size: 25px;
	font-weight: bold;
	background-color: white;
	display: inline-block;
	position: relative;
	padding-right: 9px;
}

.panorama-title .rubname.rubric-15 {
	padding-right: 30px;
}

.panorama-title .rubname.rubric-15 small {
	position: absolute;
	top: -2px;
	font-size: 13px;
	right: 30px;
}

.panorama-title .rubname.rubric-15 .fa-plus {
	position: absolute;
	top: 5px;
	right: 5px;
	color: red;
}

.panorama-title .divider {
	height: 3px;
	background-color: black;
	position: absolute;
	left: 0;
	top: 20px;
	width: 100%;
}

.panorama-banners {
	
}
.panorama-banners > div {
	display: inline-block;
	width: 49%;
	height: 170px;
	vertical-align: top;
}
.panorama-banners > div:first-child {
	margin-right: 12px;
}

.block-sidebar {
	/*border-left: 1px solid #AAA;*/
	padding-top: 20px;
}

.block-sidebar .sidebar-element {
	border-bottom: 1px solid #D0D0D0;
	padding: 16px 0;
}

.block-sidebar .sidebar-element:first-child {
	padding-top: 0;
}

.block-sidebar .sidebar-element:last-child {
	padding-bottom: 0;
	border-bottom: none;
}

.sidebar-topread {
	padding-bottom: 0px !important;
}

.sidebar-topread span.listhead {
	position: relative;
	top: 0;
}

.sidebar-topread .lenta-list {
	max-height: inherit;
}

.sidebar-topread .lenta-list li:last-child {
	border-bottom: none;
}

.sidebar-tagnews {
	
}

.sidebar-tagnews .tagnew-block {
	position: relative;
	margin-bottom: 15px;
}

.sidebar-tagnews .tagnews-title {
	position: relative;
}

.sidebar-tagnews .tagnews-title .tagname {
	font-size: 22px;
	font-weight: bold;
	background-color: white;
	display: inline-block;
	position: relative;
	padding-right: 9px;
}

.sidebar-tagnews .tagnews-title .divider {
	height: 3px;
	background-color: black;
	position: absolute;
	left: 0;
	top: 20px;
	width: 100%;
}

.sidebar-tagnews .tagnew-block img {
	max-width: 100%;
}

.sidebar-tagnews .tagnew-block .tagnew-title {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	background: linear-gradient(to top, #000, transparent);
	padding: 55px 10px 10px 10px;
	min-height: 110px;
	color: white;
	font-size: 17px;
	line-height: 21px;
}

.sidebar-tagnews .tagnew-block .tagnew-time {
	font-size: 12px;
	color: #02AFFF;
	padding: 5px;
}

.block-postcontent {
	text-align: justify;
}

.block-postcontent h2 {
    text-align: left;
}

.block-postcontent img {
	max-width: 100%;
	display: block;
	height: auto;
}

.block-postcontent img.alignleft {
    float: left;
    margin: 8px 10px 7px 0px;
}

.block-postcontent img.alignright {
    float: right;
    margin: 8px 0px 7px 10px;
}

.block-postcontent img.size-full {
    width: 100%;
	height: auto;
}

.block-postcontent div div {
    max-width: 100%;
}

div.limit-divider {
    margin: 31px 0;
    border-bottom: 1px solid #AAA;
}

/*.block-postcontent .post-time {
	display: inline-block;
	float: right;
}

.block-postcontent .post-rubric {
	display: inline-block;
	float: left;
}*/

.newslist-element {
	height: 165px;
	margin: 20px -21px;
}
.newslist-element .elem-img {
	overflow: hidden;
	height: 165px;
}
.newslist-element .elem-img img {
	max-width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translateY(-50%) translateX(-50%);
}
.newslist-element .post-title {
	font-weight: bold;
}
.newslist-element .post-time {
	color: #02AFFF;
	font-size: 12px;
	display: block;
}

a.newslist-element {
	text-decoration: none;
	color: black;
}

section.footer {
border-top: 1px solid black;
padding-top: 20px;
font-size: 14px;
color: #999;
}

.article_mm_sm {
    border-bottom: none !important;
}

.article_mm_sm .title_mm_sm {
	font-weight: normal !important;
	text-align: left;
	padding-left: 10px;
}

@media (min-width: 1200px) {
	body {

	}
}

@media (max-width:800px) {
	body {
		padding: 0 5px;
	}
	.block-socnets {
		text-align: center !important;
	}
	.age_plus {
		top: -8px !important;
	}
	#searchform #s {
		max-width: 225px;
	}
	.topnews-widget {
		height: 1275px;
	}
	.topblock {
		height: 250px !important;
		display: block;
		width: 100% !important;
		margin: 0 0 1% 1%;
	}
	.topblock .topblock-title {
		font-size: 20px !important;
		line-height: 24px !important;
		padding-top: 60px !important;
	}
	.newslist-element {
		height: auto;
	}
	.btn-more-news {
		width: auto;
	}
}

@media (max-width:575px) {
	body {
		margin-top: 70px;
	}
	.header-mobile {
		position: fixed;
		top: 0px;
		left: 0px;
		width: 100%;
		z-index: 5;
		height: 65px;
	}
	.mobile-menu {
		position: relative;
		display: block;
		top: 0;
		z-index: 5;
		background-color: white;
		transition: all 0.2s ease-out;
		left: -100%;
		padding: 10px;
		margin: 0px;
	}
	.mobile-menu ul {
		padding-left: 0;
	}
	.mobile-menu ul li {
		display: block;
		font-size: 24px;
		font-weight: bold;
		color: black;
	}

	.mobile-menu ul li a {
		color: inherit;
		border-bottom: 3px solid #005BAA;
	}
	.topnews-banners div.left, .topnews-banners div.right {
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		margin-bottom: 10px;
		max-height: unset;
	}
	.listhead {
		position: inherit !important;
		top: auto !important;
	}
	ul.lenta-list {
		padding: 20px 0 0 0;
	}
}