/*
Theme Name: Slavonija Online
Author: Ofir d.o.o.
Author URI: https://www.ofir.hr
Description: Wordpress tema napravljena za Slavonija Online
Version: 1.00
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl.html
Tags: one-column, two-columns, right-sidebar, fluid-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, rtl-language-support, theme-options, translation-ready
*/

body {
	font-family: Roboto;
}

p {
	margin-bottom:0;
}

img {
	max-width: 100%;
}

.fix {
	/*max-width: 970px;*/
	margin: 0 auto;
}

.top_logo_cont {
	width: 33%;
    display: inline-block;
    float: left;
}

.toptop_comm_cont {
	display: inline-block;
    width: 67%;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 38px;
    height: 38px;
    z-index: 100;
    display: none;
}

hr {
	clear: both;
}

.top_post > hr{
	display: none;
}

.comm_big_cont {
	margin-bottom: 30px;
}

.footer_comm {
	width: 100%;
    text-align: center;
}

.footer_comm .g {
	margin: 20px auto!important;
}

/* HEADER */

.header_top {
	padding: 20px 0;
}

.com_close {
    display: block;
    text-align: right;
    font-weight: bold;
    font-size: 15px;
    position: absolute;
    right: 25px;
    top: 5px;
    z-index: 999;
    color: #fff;
    background-color: #000;
    border-radius: 50%;
    padding: 0px 6px;
}

.com_close:hover {
    cursor: pointer;
}

/* POSTS */

.section_title {
    color: #f4a911;
    font-weight: bold;
    font-size: 15pt;
    background-image: url(img/title_image.png);
    background-repeat: no-repeat;
    height: 50px;
    text-indent: 24px;
    background-size: 55px;
    padding-top: 6px;
}

.top_post {
	margin-bottom: 20px;
}

.top_post > .post_wrap {
    position: relative;
}

.top_post .post_text {
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.top_post .post_subtitle {
	margin-bottom: 0;
    font-size: 12pt;
    text-transform: uppercase;
    padding-left: 5%;
	color: #fff;
}

.top_post .post_title {
	margin-bottom: 0;
    font-size: 16pt;
    padding-left: 5%;
	margin: 5px 0;
}

.top_post .post_title a {
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}

.top_post .channel {
	font-size: 14pt;
    text-transform: uppercase;
    background-color: #f5a911;
    padding-left: 5%;
    color: #fff;
    font-weight: bold;
	text-align: left;
}

.top_post .image_layer {
    position: absolute;
    height: 100%;
    width: 100%;
    background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
    background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}

.top_post .image_cont,
.most_post .image_cont {
    width: 100%;
    float: none;
}

.post_title {
	font-size: 11pt;
	margin-left: 8px;
	margin-bottom: 0;
}

.post_title a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
}

.post_wrap {
	float: left;
	margin-bottom: 20px;
}

.image_cont {
	width: 40%;
    float: left;
}

.post_text {
	width: 57%;
    float: left;
}

.post_subtitle {
	margin-bottom: 0;
}

.post_desc p:nth-child(2){
	display: none;
}

.channel {
    font-size: 12pt;
    text-transform: uppercase;
    background-color: #f5a911;
    padding-right: 5%;
    color: #fff;
    font-weight: bold;
	text-align: right;
}

.comm_cont {
	/*padding-top: 46px;*/
	/*text-align: center;*/
	margin-bottom: 20px;
}

.comm_cont > .single_comm_small:first-child {
	margin-bottom: 20px;
}

.post_desc {
	font-size: 10pt;
    line-height: 15px;
    margin-left: 10px;
	margin-bottom: 5px;
}

.top_post > div > div > .post_desc {
	display: none;
}

/* MOST VIEWD */

.most_post .image_cont {
	height: 120px;
	overflow: hidden;
	position: relative;
}

.num_channel {
	color: #fff;
    position: absolute;
    bottom: 10%;
    text-transform: uppercase;
    background-color: #f5a911;
    width: 70%;
    text-align: right;
    padding-right: 5%;
    font-weight: bold;
}

.num_text_wrap {
	margin: 10px 0;
    display: table;
    width: 100%;
}

.num_num {
    width: 10%;
    display: table-cell;
    position: relative;
    top: -5px;
    vertical-align: middle;
}

.num_num h1 {
    margin: 0;
    font-size: 60px;
    font-weight: bold;
    color: #d7d7d7;
}

.num_text {
    display: table-cell;
    width: 100%;
    padding-left: 5px;
}

.num_text > h4.post_subtitle {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #989898;
    margin-top: 10px;
}

.num_text h3 {
    margin: 0;
    font-size: 21px;
    margin-top: 10px;
}

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

.news_comments img {
    height: 25px;
    margin: 0 15px 0 5px;
}

.news_views img {
    width: 40px;
}

.sp_comments {
	text-align: right;
}

.footer_logo_cont {
	text-align: center;
}

.footer_logo_cont img {
	height: 100px;
}

.footer_bottom {
	text-align: center;
    margin: 20px 0;
}

.footer_bottom img {
	height: 30px;
    vertical-align: baseline;
}

.g {
    display: block!important;
    margin: 0px auto 20px auto!important;
}

.g > div {
	text-align: center;
}

/*********************** 
	TABLET STYLE 
***********************/

@media (max-width: 991.98px) {
	.section_title {
		font-size: 19pt;
		background-size: 65px;
		padding-top: 7px;
		height: 59px;
		text-indent: 30px;
	}
	
	.top_post {
		margin-top: 20px;
	}
	
	.post_title {
		font-size: 14pt;
	}
}

@media (max-width: 600px) {
	.post_title {
		font-size: 11pt;
	}
}




