/*
Theme Name: Lõunaeestlane - kating.ee
Theme URI: http://kating.ee
Author: Kating
Author URI: http://kating.ee
Description: Basic Bootstrap template
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kating.ee
*/

body {
	font-size: 15px;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.8em;
}
h3 {
	font-size: 1.6em;
}
h4 {
	font-size: 1.4em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.1em;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Droid Serif', serif;
	font-weight: bold;
}
a,
a:active,
a:focus {
        outline: none!important;
}
img.alignleft {
	float: left;
	margin: 10px 20px 10px 0;
}
img.aligncenter {
	display: block;
	margin: 10px auto;
}
img.alignright {
	float: right;
	margin: 10px 0 10px 20px;
}
.btn {
	background-color: #FF7E47;
	border: none;
	border-radius: 0;
	font-weight: bold;
	text-transform: uppercase;
}
.btn:hover,
.btn:focus {
	background-color: #FF6321;
}
.btn .fa {
	padding-left: 15px;
}
.news-1-2,
.news-3-7 {
	border: 5px solid #c6d0dd;
}
.col-sm-6:nth-child(2n+3) {
	clear: left;
}
.col-sm-4:nth-child(3n+4) {
	clear: left;
}
.smartad {
	background-color: #fff!important;
}

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Header ////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.header-banners {
	margin-bottom: 10px;
}
.header-banners img {
	height: auto;
	width: 100%;
}
.header-banners a {
	display: block;
}
.header-banners #Stage {
	margin-left: auto;
	margin-right: auto;
}
.header .header-search,
.header .contacts {
	display: table;
	float: right;
	height: 83px;
	text-align: right;
}
.header .header-search .widget,
.header .contacts .widget {
	display: table-cell;
	vertical-align: middle;
}
.header .contacts img {
	height: 36px;
	margin: 0 10px;
	width: auto;
}
.header .contacts p {
	margin: 0;
}
.header #searchform input {
	line-height: 30px;
}
.header #searchform #searchsubmit {
	height: 38px;
	margin-left: -6px;
}
.header #searchform .screen-reader-text,
.header .categories h3 {
	display: none;
}
.header .categories ul {
	background-color: #203689;
	color: #fff;
	height: 36px;
	padding: 0 10px;
}
.header .categories .cat-item-293 {
	display: none;
}
.header .categories ul li {
	float: left;
	font-family: 'Droid Serif', serif;
	line-height: 36px;
	list-style: none;
	padding: 0 10px;
	text-transform: uppercase;
}
.header .categories ul li a {
	color: inherit;
}
.header .categories ul li.current-cat,
.header .categories ul li a:hover,
.header .categories ul li a:focus {
	color: #cd1d4e;
	text-decoration: none;
}
.header .navbar-brand {
	height: auto;
}
.header .navbar-brand img {
	max-width: 100%;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Mainbody //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.mainbody .banner-content {
	margin-bottom: 15px;
}
.mainbody .news-1-2,
.mainbody .news-3-7 {
	height: 300px;
}
.mainbody .category-title {
	border-bottom: 1px solid #ccc;
	font-size: 24px;
	font-weight: normal;
	margin: 15px;
	padding-bottom: 5px;
	text-transform: uppercase;
}
.mainbody .img-thumb {
	overflow: hidden;
	position: relative;
}
.mainbody .img-thumb img,
.mainbody .single-thumb img {
	height: auto;
	transition: all 0.5s ease 0s;
	width: 100%;
}
.mainbody .img-thumb img:hover {
	transform: scale(1.05);
}
.mainbody .post-item {
	position: relative;
}
.mainbody .post-item .video-icon {
	background-color: #cd1d4e;
	font-size: 20px;
	color: #fff;
	padding: 2px 10px;
	position: absolute;
	right: 0;
	z-index: 2;
}
.mainbody .post-item a {
	color: inherit;
}
.mainbody .post-item a:hover,
.mainbody .post-item a:focus {
	color: #555;
	text-decoration: none;
}
.mainbody .post-item h3 {
	display: block;
	margin: 0;
	padding: 15px 5px;
}
.mainbody .sidebar {
	margin-left: -15px;
}
.mainbody .sidebar .avalehel {
	display: none;
}
.home .mainbody .sidebar .avalehel {
	display: block;
}
.mainbody .sidebar img {
	height: auto;
	margin-bottom: 10px;
	width: 100%;
}
.mainbody .single-thumb {
	float: right;
	position: relative;
	margin: 0 0 15px 15px;
	width: 50%;
}
.mainbody .img-thumb .caption,
.mainbody .single-thumb .caption {
	background-color: #333;
	bottom: 0;
	color: #fff;
	font-size: 12px;
	padding: 2px 5px;
	right: 0;
	position: absolute;
}
.mainbody .fb-share-button {
	margin-bottom: 15px;
}
.mainbody .video-content {
	margin-bottom: 40px;
}
.mainbody .video-content iframe {
	height: 478px;
	width: 100%;
}
.mainbody .video-content .video-author {
	float: right;
}
.search .mainbody h3 a {
	color: #333;
}
.search .mainbody h3 a:focus,
.search .mainbody h3 a:hover {
	opacity: 0.8;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Footer //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.footer .footer-contact {
	color: #fff;
}
.footer .footer-contact span {
	padding-right: 10px;
	text-transform: uppercase;
}
.footer .col-md-8,
.footer .col-md-4 {
	background-color: #203689;
	padding-bottom: 5px;
	padding-top: 5px;
}
.footer .col-md-4 {
	text-align: right;
}
.footer .designed {
	font-size: 13px;
	margin: 10px 0;
}
.footer .designed span {
	font-family: 'Montserrat', sans-serif;
	font-weight: normal;
	text-transform: uppercase;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Table /////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
table p {
	margin: 0;
}
th,
td {
	padding: 5px 10px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Kontakt vorm //////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.wpcf7 input, .wpcf7 textarea {
	font-size: 16px;
	padding: 10px 20px;
	width: 100%;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
	outline: none;
}
.wpcf7 textarea {
	height: 200px;
}
.wpcf7 input.wpcf7-submit {
	background-color: transparent;
	border: none;
	color: inherit;
	text-transform: uppercase;
	width: auto;
}
div.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ok {
	border: none;
}
.wpcf7-validation-errors,
.wpcf7 .ajax-loader {
	display: none!important;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Piltide galerii ///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.gallery-item {
	padding: 0 2px;
	position: relative;
}
.gallery-item a {
	display: block;
	overflow: hidden;
}
.gallery-item a::before {
	bottom: 0;
	color: #000;
	content: "\f067";
	font-family: FontAwesome;
	font-size: 40px;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
}
.gallery-item a:hover::before {
	bottom: 50%;
	line-height: 0;
	opacity: 1;
	transition: all 0.5s ease 0s;
}
.gallery-item img {
	border: none!important;
	border-radius: 10px;
	height: auto;
	margin: 0;
	width: 100%;
}
.gallery-item a:hover img {
	opacity: 0.4;
	transition: all 0.5s ease 0s;
}
.page-template-page-galerii .wp-caption {
	border: 1px solid #dedede;
	float: left;
	margin: 15px 15px 15px 0;
	width: 273px!important;
}
.tehtud .wp-caption {
	border: 1px solid #dedede;
}
.tehtud .col-md-4:nth-child(3n+5) {
	clear: left;
}
.page-template-page-galerii .wp-caption:nth-child(4n) {
	margin-right: 0;
}
.page-template-page-galerii .wp-caption:nth-child(5n) {
	clear: left;
}
.page-template-page-galerii .wp-caption:hover,
.tehtud .wp-caption:hover h3 {
	background-color: #9a0000;
}
.page-template-page-galerii .wp-caption img {
	height: auto;
	width: 100%;
}
.tehtud .wp-caption h3 {
	margin: 0;
	padding: 8px;
}
.wp-caption-text,
.wp-caption-text a {
	color: #9a0000;
	display: block;
	font-size: 18px;
}
.wp-caption-text a:focus,
.wp-caption-text a:hover {
	text-decoration: none;
}
.wp-caption:hover .wp-caption-text,
.wp-caption:hover .wp-caption-text a,
.page-template-page-galerii .wp-caption:hover a {
	color: #FFF;
}
.wp-caption img {
	height: auto;
	width: 100%;
}
.page-template-page-tehtud-tood .wp-caption {
	margin-bottom: 15px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Responsive */

@media (max-width: 1199px) {

}

@media (max-width: 991px) {

}

@media (max-width: 767px) {
	img.alignleft,
	img.aligncenter,
	img.alignright {
		float: none;
		height: auto;
		margin: 0;
		width: 100%;
	}
	.header .categories ul {
		display: table;
	}
	/* Piltide galerii begin */
	.gallery-item {
		float: none!important;
		width: 100%!important;
	}
	.gallery-item img {
		padding: 0;
	}
	.gallery-item a {
		pointer-events: none;
   		cursor: default;
	}
	/* Piltide galerii end */
}