/*
Theme Name: Smart Mag Child
Theme URI: http://theme-sphere.com/
Description: A child theme of SmartMag
Author: Ondřej Bým
Author URI: http://www.onit.cz
Template: smart-mag
Version: 1.0
*/

@import url("../smart-mag/style.css");

#wpadminbar .ab-top-menu > li > .ab-item:focus, #wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus, #wpadminbar .ab-top-menu > li:hover > .ab-item, #wpadminbar .ab-top-menu > li.hover > .ab-item,
.ab-sub-wrapper,
#wpadminbar
{
	background-color: #007167 !important;
}

/*admin bar text*/
#wpadminbar .quicklinks a,#wpadminbar .shortlink-input {
color:rgba(240,240,240,.6)!important;
}


#wpadminbar .quicklinks a:hover,#wpadminbar .shortlink-input:hover,
#wpadminbar .quicklinks .ab-sub-wrapper .menupop.hover>a, #wpadminbar .quicklinks .menupop ul li a:focus, #wpadminbar .quicklinks .menupop ul li a:focus strong, #wpadminbar .quicklinks .menupop ul li a:hover, #wpadminbar .quicklinks .menupop ul li a:hover strong, #wpadminbar .quicklinks .menupop.hover ul li a:focus, #wpadminbar .quicklinks .menupop.hover ul li a:hover, #wpadminbar li #adminbarsearch.adminbar-focused:before, #wpadminbar li .ab-item:focus:before, #wpadminbar li a:focus .ab-icon:before, #wpadminbar li.hover .ab-icon:before, #wpadminbar li.hover .ab-item:before, #wpadminbar li:hover #adminbarsearch:before, #wpadminbar li:hover .ab-icon:before, #wpadminbar li:hover .ab-item:before, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:focus, #wpadminbar.nojs .quicklinks .menupop:hover ul li a:hover
{
color: rgba(240,240,240,.8) !important;
}

#wpadminbar
{
	position: absolute;
}

h1 { font-size: 21px; } 
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 15px; }
h5 { font-size: 14px; }
h6 { font-size: 13px; }


h1, h2, h3, h4, h5, h6 {	
	font-family: "Open Sans", Arial, sans-serif;	
	font-weight: bold;
	/*font-weight: 600;*/
}

body
{
	background: url('images/bg.png') repeat !important;
}

.post-content h1, .post-content h2, .post-content h3, 
.post-content h4, .post-content h5, .post-content h6
{ 
	font-weight: bold;
	/*font-weight: 600;*/
	margin-bottom: 10px;
}


.main-heading, .page-title, .entry-title
{
	font-weight: bold;
	/*font-weight: 600;*/
}

.txtr{
	float: right;

}
.txtl{
	float: left;
}

#copy{
	position: relative;
}


.lower-foot .textwidget { float: none;}

.screen-reader-text{
	display: none;
}

#logotext
{
	float: right;
	color: #007167;
	margin: 40px 30px;	
	font-size: 80%;
	line-height: 120%;	
}

.logotext-color
{
	color: #777;
}

.main-head .right 
{
	line-height: normal;
}

.main-head .right .search-form
{
	position: absolute;
	right: 25px;
	top: 100px;
}

.main-head{
	background: url('images/justice.png') right bottom no-repeat #f0f0f0 !important;
}

.main-footer{
	/*background-image: url('images/justice2.png') !important;
	background-position: right top !important;
	background-repeat: no-repeat !important;*/
}

@media only screen and (max-width: 799px){
	.main-head{
	background: none #f0f0f0 !important;
}

}

body, body.boxed 
{
	background: #007167;
}

.post-content p, .post-content > ul, .post-content > div, .post-content > dl, .post-content blockquote, .post-content ol { 
	text-align: justify; 
}

.page-content a
{
	color: #007167;
}

article.post
{
	margin-bottom: 56px;	
}

.post-header .post-meta
{
	border: none;
	margin-top: 0px;
}

/***************/
/* 9.4. GK Login widget
==================================== */
#gk-popup-overlay,
#gk-popup-login {
	color: #777;
	display: none;
	overflow: hidden;
	position: fixed;
	z-index: 1000002;
	left: 50%;
	top: 40px;
}

#gk-popup-login {
	margin-left: -220px;
	-webkit-perspective: 1200px;
	-moz-perspective: 1200px;
	-ms-perspective: 1200px;
	perspective: 1200px;
	width: 426px;
}

#gk-popup-login > div {
	-webkit-transform: rotateX(-45deg);
	-moz-transform: rotateX(-45deg);
	-ms-transform: rotateX(-45deg);
	-o-transform: rotateX(-45deg);
	transform: rotateX(-45deg);
	-webkit-transform-origin: 50% 0;
	-moz-transform-origin: 50% 0;
	-ms-transform-origin: 50% 0;
	-o-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

#gk-popup-login.gk3danim > div {
	-webkit-transform: rotateX(0deg);
	-moz-transform: rotateX(0deg);
	-ms-transform: rotateX(0deg);
	-o-transform: rotateX(0deg);
	transform: rotateX(0deg);
} 

#gk-login {
	background: #007167;	
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;
	color: #fff;
	float: right;
	font-size: 14px;
	font-weight: 400;
	height: 38px;
	line-height: 39px;
	margin: 0;
	padding: 0 18px;
	position: absolute;
	right: 0;	
	text-transform: uppercase;
	top: 18px;
	-webkit-transition: all .3s ease-out;
	-moz-transition: all .3s ease-out;
	-ms-transition: all .3s ease-out;
	-o-transition: all .3s ease-out;
	transition: all .3s ease-out;
}

#gk-login.logged {
	background: #e74c3c;
}

#gk-login.logged:hover {
	background: #222;	
	text-decoration: none;
}

#gk-login:hover {
	background: #222;	
	text-decoration: none;
}

.gk-popup-wrap {
	background: #fff;
	padding: 40px;
	overflow: hidden;
}

.gk-popup-wrap h3 {
	font-size: 36px;
	font-weight: 400;
	line-height: 42px;
	margin: 0 0 32px;
	text-transform: uppercase;
}

.gk-popup-wrap h3 small {
	font-size: 16px!important;
}

.gk-popup-wrap h3 a {
	color: #e74c3c;
}

.gk-popup-wrap h3 a:hover {
	color: #000;
}

.gk-popup-wrap p {
	margin: 0 0 10px 0;
}

.gk-popup-wrap .login-submit {
	padding: 0 0 30px 0;
}

.gk-popup-wrap input[type="text"],
.gk-popup-wrap input[type="password"] {
	margin: 0;
	width: 85%;
}

#gk-popup-overlay {
	background: #000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=45)";
	filter: alpha(opacity=45);
	height: 100%;
	left: 0;
	margin-left: 0;
	opacity: 0.45;
	top: 0;
	width: 100%;
	z-index: 1000001;
} 


.box.widget_gk_login .box-title {
	margin: 0;
}

.box.widget_gk_login input {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	line-height: 20px;
}

.box.widget_gk_login .box-title:after {
	display: none;
}

.box.widget_gk_login {
	background: #fff!important;
	margin: -12px 0 68px;
	overflow: hidden;
	padding: 35px 50px 0 50px;
	position: relative;
}

.box.widget_gk_login .login-submit {
	margin-bottom: -15px!important;
}

.box.widget_gk_login #gk-loginform {
	background: none;
	border: 1px solid #e5e5e5;
	margin: 0;
	overflow: hidden;
	padding: 32px;
}

.box.widget_gk_login #gk-wp-submit {
	font-size: 14px;
	height: 39px;
	line-height: 39px;
}

#gk-loginform label {
	color: #888;
	font-size: 12px;
}

#gk-user_pass,
#gk-user_login {
	height: 40px;
	margin: -1px 20px 0 0;
	max-width: 100%;
	width: 206px;
}

nav.gklogin-small {
	float: right;
	margin: -74px 80px 0 0;
}

nav.gklogin-small a {
	color: #888;
	font-size: 13px;
	line-height: 39px;
}

nav.gklogin-small ul li {
	border-top: 0;
}

nav.gklogin-small ul li {
	display: inline;
	line-height: 26px;
}

nav.gklogin-small a:hover,
nav.gklogin-small a:active,
nav.gklogin-small a:focus {
	color: #e74c3c;
}

#gk-logout {
	overflow: hidden;
}

#gk-loginform p {
	display: inline-block;
	margin: 0;
}

#gk-loginform p.login-password {
	margin-top: 3px;
}

#gk-loginform p.login-remember {
	margin: 8px 0 0 2px;
}

#gk-loginform #gk-rememberme {
	margin-right: 4px;
} 
/**************************/

.cat-title a { color:#fff !important;}


.post-content a,
.main-footer .widget a { color: #007167 !important; }

.main-content ul {
		list-style-type: square;
		margin-left: 42px;
	}
	
.main-content ol {
	list-style-type: decimal;
	margin-left: 42px;
}

.listing article{
	/*border: 1px solid #ccc;
	height: 380px;
	overflow: hidden;
	padding: 5px 10px;*/	
}

.cat-title {
	margin-left: 0px;
}

.menu-hlavni-menu-container .diskuse-menu a
{
	font-weight: bold;
	/*font-weight: 600;*/
	background: #007167;
	color: #fff;
}

.menu-hlavni-menu-container .diskuse-menu a:hover
{
	background: #fff;
	color: #000;
}

.listing-alt .content .excerpt,
.highlights .excerpt
{
	color: #444;
	text-align: justify; 
}
.listing-meta time,
.listing-meta .comments a {
	color: #444;
}

.listing-alt h2,
.highlights h2 {
	font-size: 16px;
	margin: 15px 0 0px;
	padding-left: 0px;
}
.listing-alt h2{
	margin: 0px;
}

.listing-alt h2:before,
.highlights h2:before {
		content: " ";
		display: none;
		float: left;
		position: absolute;
		left: 0;
		height: 18px;
		border-left: 3px solid #007167; 
}

.highlights .excerpt,
.listing-alt .content .excerpt {
	margin-top: 5px;	
	margin-bottom: 25px;
}

.highlights .meta {
	text-transform: none;	
}

.listing-meta {
	text-transform: none;
}

table {
	max-width: 100%;
	background-color: transparent;
}

table th, 
table td {
	background: #fff;	
	border: 0px; 
	vertical-align: top;
}

.post-46 table
{
	margin-bottom: 30px;
}

.post-46 th, 
.post-46 td {	
	padding: 0px 5px;	
}

.post-46 table > tbody > tr > th:first-child, 
.post-46 table > tbody > tr > td:first-child {	
	padding-left:  0px;	
}

.post-48 ul,
.post-48 ol {
	margin-bottom: 20px;
}

table th { background: transparent; }
table tr:nth-child(odd) td { background: transparent; }

.author-info .description {
	margin-left: 0px;
	line-height: 1.714;
}

.post-content .wpcf7 { margin-top: 0px; }
.post-content .wpcf7 p{ 
		margin-bottom: 0.5em; /* adjust to parent font-size */ 
	}

.attachments 
{
	padding-bottom: 1em;
}
	
.attachments h3
{
	color: #007167;
	line-height: 32px;
}

.attachments i.fa
{
	margin-right: 5px;
	font-size: 120%;
} 

.cat-title 
{
	top: 20px;
}

.listing-alt
{
	border: 1px solid #ccc;
	padding: 20px;
}
.listing article
{
	border: 1px solid #ccc;
	padding: 20px 20px 10px;
	
}

.listing article .looparticlebody
{
	height: 150px;
	overflow: hidden;
}

.listing-alt article
{
	padding-bottom: 0px !important;
}

.listing-alt .meta time{
	position: absolute;
	bottom: 0px;	
}

.listing-alt .meta .comments{
	position: absolute;
	bottom: 0px;	
	right: 0px;
}

.posts-list .content time {
		color: #444;
		font-size: 11px;
		text-transform: uppercase;
	}

.read-more
{
	text-align: right;
}
.read-more a
{
	background: transparent !important;
	color: #007167  !important;
	padding: 0 !important;
	font-weight: bold !important;
}	

.listing .highlights .meta {
	position: relative;
	margin-top: 0px;
	background: transparent;
	line-height: 25px;
	font-size: 11px;
	color: #a6a6a6;
	text-transform: uppercase;
	padding-left: 0px;
	overflow: hidden;
}

.listing .highlights .meta .comments {
	margin-right: 0px;
}



.row {
	margin-right: -15px;
    margin-left: -15px;
}

.column, .row [class*="col-"] {
  
  padding-left: 15px;
  padding-right: 15px;  
}

.right-sidebar .listing.grid-3
{
	padding: 0px;
}

.related-posts li
{
	list-style-type: none;
}

.main .sidebar .widgettitle
{
	margin-bottom: 15px;
}

.post-meta { color: #444; }

.breadcrumbs {
	color: #999;
}

.post-content { color: #222; }

.single-post .reply-meta { 
	color: #666 !important;
}

.single-post .bbp-admin-links {
	color: #888 !important;
}

#bbpress-forums .topic-meta,
#bbpress-forums .single-forum .bbp-topic-meta { 
	color: #777 !important;
}


#loginform .login-remember
{
	display: none;
}

#wp-admin-bar-my-account .ab-item
{
	white-space: nowrap;
}

.bbp-reply-author{
	display: none;
}

.bbp-reply-content{
	margin-left: 0px !important;
}

/* Scroll to top button */
.scrollToTop{width:50px; height:45px; line-height:45px; text-align:center; background: #000; background: rgba(0, 0, 0, 0.45); color: #fff; text-decoration: none; position:fixed; z-index:9999; bottom:20px; right:20px; display:none; -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; -webkit-transition: background 0.4s; -moz-transition: background 0.4s; transition: background 0.4s;}
.scrollToTop:hover{background: rgba(0, 0, 0, 0.65); color:#fff;}
