/*============================
	Fonts
==============================*/

/*============================================ 
	Основные стили
============================================*/

body{
	background-color: #d6d6d6;
}

.page-wrapper{
    max-width: 1240px;
    margin: 0 auto;
    box-shadow: 0 0 10px #989898;
    background-color: #fff;
    border-radius: 10px;
}

h4{
	margin: 0;
}

.button-clean, .button-clean:focus{
	outline: none;
	background: transparent;
	border: none;
	cursor: pointer;
}

.topmenu{
	padding-top: 1px;
}

.header{
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px 5px 0 0;
    box-shadow: 0px -9px 30px #ccc;
}

.header-text{
	font-size: 39px;
    font-weight: bold;
    text-transform: uppercase;
}

.header-text-link{
	color: #000;
}

.header-text-link:hover{
	color: #000;
}

.speedbar{
	padding: 0 10px;
    border-bottom: 1px solid #ccc;
}

.speedbar a{
	color: #757575;
}

.speedbar a:hover{
	color: #000;
}

.top-content-banners{
	background-color: #fff;
    padding: 5px;
	display: flex;
	justify-content: space-around;
	border-bottom: 1px solid #ccc;
}

.top-banner{
	max-width: 728px;
    margin: auto;
    width: 100%;
}

.top-banner-468-60{
	width: 100%;
	max-width: 468px;
	height: 60px !important;
	background-repeat: no-repeat;
	margin: auto;
}

.top-banner-728-90{
	max-width: 100%;
	width: 728px;
	height: 90px;
	background-repeat: no-repeat;
	background-size: contain;
	margin: 0 auto;
}

.banner-240-400{
    display: flex;
    justify-content: center;
	width: 240px !important;
	height: 400px !important;
	background-repeat: no-repeat;
}

.content-block{
	display: flex;
	flex-direction: column;
	flex: 1;
    width: 730px;
}

.flex-content{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	background-color: #fff;
}

.firstflex{
	display: flex;
    flex: 1 0;
    justify-content: space-between;
}

.news-block{
	height: 470px;
    display: flex;
    flex-direction: column;
	flex-wrap: wrap;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
	justify-content: space-between;
}

.inline-flex{
	display: inline-flex;
}

.full-width{
	width: 100%;
}

.newslabel{
    font-weight: 800;
	color: #ff0000;
	font-size: 16px;
	background-color: #fff;
    text-transform: uppercase;
    padding: 2px 10px 2px 5px;
    display: inline-block;
	top: 8px;
	position: absolute;
	box-shadow: 3px 3px 3px 3px #9e9e9e;
}

.category-head{
	padding: 5px;
	margin: 5px;
	border-bottom: 2px solid #5294fe;
}

.category-head > h3, h4{
	font-family: 'PT Serif', Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}

.right-side-bar, .left-side-bar{
	width: 240px;
	margin: 0 5px 5px 5px;
}

.login_panel{
	display: block !important;
}

.center-content{
	margin: 0 auto 5px;
}

.side-bar-block-content{
	width: 240px;
	margin-bottom: 5px;
}

.sbbc-small{
	height: 320px;
}

.sbbc-big{
	height: 400px;
}

/*============================================ 
	shortstory
============================================*/

/* Стилидля первой статьи в блоке */
sstitle{
	max-height: 7em;
    overflow: hidden;
}

.mainshortstory:first-child{
	height: 100%;
}

.mainshortstory:first-child .box_in{
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 5px;
}

.mainshortstory:first-child .postimg{
	background-size: cover;
    background-position: center;
    padding-bottom: 80%;
    height: 0;
    width: 100%;
}

.mainshortstory:first-child .box_in > .newslabel{
	display: inline;
}

.mainshortstory:first-child .box_in > .leadmeta{
	height: 40%;
}

.mainshortstory:first-child .sstext{
	display: block;
}

.mainshortstory:first-child .title{
	font-size: 24px;
}
/* Стилидля первой статьи в блоке */

.box_in{
	position: relative;
}

.box_in > .newslabel{
	display: none;
}

article > a{
	color: #000;
}

article > a:hover{
	color: #0893e3;
	text-decoration: none;
}

.sstext{
	color: #000;
	font-family: 'PT Serif', Georgia, 'Times New Roman', Times, serif;
    font-style: normal;
}
.postmeta{
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.postmeta > span, .postmeta > a, .postmeta > a:hover{
	text-decoration: none;
	color: #4b4b4b;
	margin-right: 12px;
	font-size: 12px;
}

.box{
	width: 345px;
}

.box_in{
	padding: 5px;
	display: flex;
}

.leadmeta{
	width: 75%;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title{
	font-size: 18px;
	font-family: 'PT Serif', Georgia, 'Times New Roman', Times, serif;
    font-weight: bold;
}

.title > a{
	color: #000;
	text-decoration: none;
}

.title > a:hover{
	color: #0893e3;
}

.sstext{
	display: none;
}

.postimg{
	margin-right: 5px;
    width: 100px;
    height: 100px;
    overflow: hidden;
    background-size: cover;
}

.postimg img{
	display: block;
    max-width: 100%;
}

.storytext{
	font-family: 'PT Serif', Georgia, 'Times New Roman', Times, serif;
	font-style: normal;
	text-align: justify;
}

/* speachshortstory */
.speach-block{
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
	max-width: 600px;
	position: relative;
}

.speachpostimg{
    width: 200px;
    height: 200px;
    overflow: hidden;
    background-size: cover;
}

.box_in_speachshortstory{
	display: flex;
	padding: 5px 0;
}

.speach-article{
	border-bottom: 1px solid #ccc;
	margin-bottom: 10px;
}

.speach-postmeta{
	padding: 0 5px;
}

.speach-block-wrapper{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.speach-article:nth-child(odd) .box_in_speachshortstory{
	flex-direction: row-reverse;
}

.speach-article:nth-child(odd) .speach-postmeta{
	text-align: right;
}

.speach-block-content{
	margin: 0 5px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.speach-adv-block{
	margin: 5px;
	flex: 0 0 120px;
	/* background-image: url(https://partner.reincarnationics.com/wp-content/uploads/2014/10/aktivatij_pamjti_120_240.jpg); */
    background-repeat: no-repeat;
}

.speach-title{
	font-size: 24px;
}

.comments-icon-last{
	margin-right: 28px !important;
}

.comments-icon-first{
	margin-left: 20px !important;
}

/*============================================ 
	shortstory
============================================*/

.shortstory{
	border-bottom: 1px solid #ccc;
}

.story{
	margin: 5px;
}

/*============================================ 
	Left Side Bar
============================================*/

.left-side-bar-block{

}

.left-side-bar-block > h5{
	text-transform: uppercase;
    border-bottom: 2px solid #5294fe;
    text-align: center;
    padding: 8px;
}

.left-side-bar-block-content{
	margin-top: 5px;
}

/*============================================ 
	Login panel
============================================*/

.login{
	width: 210px;
}

.login_panel{
	list-style-type: none;
	padding-left: 0px;
}

.aut_panel{
	list-style-type: none;
	padding-left: 0px;
	margin: 5px;
}

.aut_panel > .dropdown{
	border: none !important;
}

.aut_input{
	font-size: 20px;
	margin-bottom: 10px;
}

.login_panel > li{
	/* padding-left: 10px;
	color: #dddddd; */
	border: none !important;
}

.login_panel > li:hover{
	background: #777777;
}

.dropdown-menu{
	min-width: 0px;
	width: 100%;
	border: 0;
	padding-left: 5%;
	padding-right: 5%;
}

.login_panel_text_dark{
	text-decoration: none;
	color: #000000;
	margin: 5px 0;
}

.login_panel_text_light{
	text-decoration: none;
	color: #000;
	font-size: 18px;
}

.login_panel_text_dark:hover{
	text-decoration: none;
	color: #000000;
}

.login_panel_text_light:hover{
	text-decoration: none;
	color: #dddddd;
}

.dropdown{
	text-align: center;
	width: 100%;
	margin: auto;
}

.nav-link:hover{
	color: #ccc !important;
}

.nav-link {
    padding: 6.26px;
}

.nav-item {
	margin: 0 !important;
}

/* .nav-tabs{
	border-bottom: 2px solid #5294fe;
} */

/*============================================ 
	Add comment
============================================*/

.ui-form{
	list-style: none;
	padding: 0;
}

/*============================================ 
	Full story
============================================*/

#dle-content img {
    max-width: 100%;
}

.fsmargin{
	margin: 5px;
}

.full-story_title{
	text-align: center;
}

.next-prev{
	display: flex;
    justify-content: space-between;
}

.poll_block{
	margin: 10px;
}

/*============================================ 
	Comments
============================================*/

.comment{
	margin: 5px 0;
}

.meta{
	margin-left: auto;
}

.commentactions{
	padding: 0;
	margin: 0;
	list-style: none;
}

.commentactions > li{
	margin-left: 5px;
}

.comment-border{
	border: 2px solid #ececed;
	border-radius: 5px;
	padding: 0 5px;
}

.comment-border-bottom{
	border-bottom: 2px solid #ececed;
}

.mass_comments_action{
	display: flex;
	justify-content: flex-end;
}

.mass_comments_action > select{
	height: 29px;
    flex-basis: 210px;
    padding: 0;
}

/*============================================ 
	footer
============================================*/

.footer{
	color: #fff;
    background-color: #333;
    padding: 15px;
}

/*============================================ 
	Carusel TECHDEBT вынести в отдельный файл
============================================*/

.jcarousel-congratulation{
	position: relative;
	overflow: hidden;
	height: 224px;
}

.carousel-congratulation-list{
	width: 240px;
    position: relative;
}

.congratulation-pic{
	width: 200px;
	height: 200px;
	background-size: cover;
	margin: 0 auto;
}

.congratulation-text{
	text-align: center;
}

.congratulation-nav{
	display: flex;
    justify-content: space-around;
}

.congratulation-pagination a {
    text-decoration: none;
    display: inline-block;
    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;
    background: #ccc;
    color: #4E443C;
    border-radius: 10px;
    text-indent: -9999px;
	margin-right: 7px;
}

.congratulation-pagination a.active {
    background: #4E443C;
    color: #ccc;
    opacity: 1;
    -webkit-box-shadow: 0 0 2px #ccc;
    -moz-box-shadow: 0 0 2px #ccc;
	box-shadow: 0 0 2px #ccc;
}



/* TECHDEBT Временно */



/*============================================ 
	Search
============================================*/

.search_form{
	width: 250px;
}

.q_search { position: relative;}
	.q_search > input {
		width: 100%; height: 36px;
		line-height: 22px;
		padding: 7px 72px 7px 18px;
		border-radius: 18px;
		background-color: #dfdfdf;
		display: block;
		border: 0 none;
		box-shadow: inset 0 1px 1px 0 rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 1px 0 rgba(0,0,0,0.1);
		-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	.q_search > input:focus {
		background-color: #fff;
		box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1); -webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
	}
	.q_search > .btn { 
		width: 36px;
		height: 28px;
		padding: 0;
		position: absolute;
		right: 4px;
		top: 4px;
	}
	.q_search .icon-search { position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; width: 16px; height: 16px; }
	.q_search .q_search_adv {
		top: 5px;
		right: 22px;
		position: absolute;
		color: #757575;
	}
	.q_search .icon-set {
		width: 16px; height: 16px;
		position: absolute;
		left: 50%; top: 50%;
		margin: -8px 0 0 -8px;
		fill: #737373;
	}
	.q_search .q_search_adv:hover .icon-set { fill: #3394e6; }

	/* TECHDEBT Заглашка на погоду */
	.weather{
		background-image: url(../../../uploads/weather.PNG);
		background-repeat: no-repeat;
		width: 100%;
    	height: 200px;
	}

/*============================================ 
	Vote
============================================*/

.votebuttons > button{
	display: block;
	margin: 0 auto 5px auto;
}

.vote_more{
	margin-bottom: 5px;
}

#votes{
	margin: 5px;
}