/*
Theme Name: Kating Theme Maerobic
Theme URI: http://kating.ee
Author: Kating
Author URI: http://kating.ee
Description: 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
*/

html {
	min-height: 100%;
	position: relative;
}
body {
	background-color: #faf9f5;
	color: #333;
	font-family: 'Questrial', sans-serif;
	font-size: 18px;
	line-height: 1.6;
}
h1 {
	font-size: 2.5em;
	line-height: 1.3;
	margin: 20px 0;
}
h2 {
	font-size: 2em;
}
h3 {
	font-size: 1.8em;
}
h4 {
	font-size: 1.6em;
}
h5 {
	font-size: 1.2em;
}
h6 {
	font-size: 1.1em;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
a {
	color: #333;
	outline: none!important;
	text-decoration: underline;
}
a:focus,
a:hover {
	color: #333;
	opacity: 0.8;
	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;
}
img.size-full {
	height: auto;
	max-width: 100%;
}
.img-thumb img {
	height: auto;
	width: 100%;
}
.btn {
	background-color: #333;
	border: none;
	border-radius: 50em;
	color: #fff;
	padding: 10px 20px;
	text-transform: uppercase;
}
a.btn,
a.btn:focus,
a.btn:hover {
	color: #fff;
	text-decoration: none;
}
.btn:hover,
.btn:focus {
	color: #fff;
	opacity: 0.8;
}
.container {
	padding: 60px 0 0 0;
}
.alignleft {
	float: left;
}
iframe {
	max-width: 100%;
}
#cookie-notice p a {
	color: #fff;
	text-decoration: underline;
}
#cookie-notice p a:hover {
	text-decoration: none;
}
#cookie-notice .btn {
	background-color: #fff;
	color: #333;
	padding-bottom: 10px;
	padding-top: 10px;
	text-decoration: none;
}
.mb-5, .my-5 {
	margin-bottom: 3rem!important;
}
.mt-5, .my-5 {
	margin-top: 3rem!important;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Header ////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.header .container {
	border: none;
	padding: 0;
	position: relative;
}
.navbar-inverse {
	background-color: #faf9f5;
	border-bottom: 1px solid #e7e7e7;
	margin-left: auto;
	margin-right: auto;
}
.navbar-inverse .navbar-brand {
	color: #333;
	font-size: 30px;
	height: auto;
	padding: 0 15px;
	text-decoration: none;
}
.navbar-inverse .navbar-brand img {
	height: 50px;
	margin-left: 10px;
	margin-top: 5px;
	vertical-align: unset;
}
.navbar-inverse .navbar-nav > li > a {
	border: 1px solid transparent;
	border-radius: 50em;
	color: #333;
	font-size: 16px;
	letter-spacing: 0.071em;
	margin: 10px 5px;
	outline: 0;
	padding: 10px 15px;
	text-decoration: none;
	text-transform: uppercase;
	transition: all 0.4s ease 0s;
}
.navbar-inverse .navbar-nav > li.important > a {
	border-color: #a3238e;
}
.navbar-inverse .navbar-nav > li.current-menu-item > a,
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
	border-color: #e7e7e7;
	color: #333;
}
.navbar-inverse .navbar-nav li ul {
	background: #e7e7e7;
	border: none;
	left: -999em;
	list-style: none;
	margin-left: 5px;
	opacity: 0;
	padding: 10px 0;
	position: absolute;
	-webkit-transition: opacity 0.3s ease-in 0s;
    -moz-transition: opacity 0.3s ease-in 0s;
    -ms-transition: opacity 0.3s ease-in 0s;
    -o-transition: opacity 0.3s ease-in 0s;
    transition: opacity 0.3s ease-in 0s;
}
.navbar-inverse .navbar-nav > li:hover > ul {
	left: 0;
	opacity: 1;
}
.navbar-inverse .sub-menu > li > a {
	font-size: 16px;
	line-height: 40px;
	padding: 0 25px;
	text-decoration: unset;
	white-space: nowrap;
}
.navbar-inverse .fb-menu,
.navbar-inverse .insta-menu {
	cursor: pointer;
}
.navbar-inverse .fb-menu {
	position: absolute;
	top: 10px;
	right: 0;
}
.navbar-inverse .insta-menu {
	position: absolute;
	top: 10px;
	right: 50px;
}
.navbar-inverse .fb-menu .navbar-nav > li:hover > ul,
.navbar-inverse .insta-menu .navbar-nav > li:hover > ul {
	left: -92px;
}
.navbar-inverse .fb-menu .fa,
.navbar-inverse .insta-menu .fa {
	font-size: 40px;
	margin-bottom: 12px;
}
.fa {
	font-size: 24px;
}
.fa span {
	font-size: 15px;
	margin-left: 5px;
}
.fa-phone-square {
	color: #666;
}
.social-links .btn,
.social-links .btn:focus,
.social-links .btn:hover {
	background-color: transparent;
	color: unset;
}
.social-links .btn {
	padding-left: 10px;
	padding-right: 10px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Gallery //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.gallery .wp-caption {
	border: 1px solid #e7e7e7;
	margin: 0 25px;
	padding: 5px;
	transition: all 0.2s ease-in 0s;
	width: 255px !important;
}
.gallery .wp-caption:first-child {
	margin-left: 0;
}
.gallery .wp-caption:last-child {
	margin-right: 0;
}
.gallery .wp-caption:hover {
	border-color: #a3238e;
}
.gallery .wp-caption a:hover,
.gallery .wp-caption a:focus {
	opacity: 1;
	text-decoration: none;
}
.gallery .wp-caption-text {
	background-color: #e7e7e7;
	margin-bottom: 0;
	padding: 8px;
}
.gallery .wp-caption-text a {
	opacity: 0.65;
}
.gallery .wp-caption:hover .wp-caption-text a {
	opacity: 1;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Mainbody //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.mainbody {
	padding-bottom: 200px;
}
.home .mainbody {
	padding-bottom: 0;
}
.home .mainbody .page-header {
	margin-top: 0;
}
.mainbody .page-header {
	border-bottom: none;
}
.mainbody .page-header h1 {
	overflow: hidden;
	text-align: center;
	text-transform: uppercase;
}
.mainbody .page-header h1:before {
	margin-left: -50%;
	right: 0.5em;
}
.mainbody .page-header h1:after {
	left: 0.5em;
	margin-right: -50%;
}
.mainbody .page-header h1:before,
.mainbody .page-header h1:after {
	background-color: #e7e7e7;
	content: "";
	display: inline-block;
	height: 1px;
	position: relative;
	vertical-align: middle;
	width: 50%;
}
.mainbody .contact-map {
	border: 1px solid #e7e7e7;
	height: 500px;
	padding: 2.5%;
	width: 100%;
}
.mainbody table {
	border: none;
	font-size: 14px;
	margin: 30px 0;
}
.mainbody table tr {
	border-bottom: 1px solid #e7e7e7;
	vertical-align: top;
}
.mainbody table tr:last-child {
	border-bottom: none;
}
.mainbody table th {
	background-color: #e7e7e7;
}
.mainbody table th,
.mainbody table td {
	padding: 5px 20px;
}
.mainbody table td:last-child,
.mainbody table th:last-child {
	width: 120px;
	text-align: right;
}
.mainbody table a,
.mainbody table a:hover,
.mainbody table a:focus {
	color: #333;
	opacity: 1;
}
.mainbody .content-img {
	float: right;
	margin: 0 0 15px 15px;
	width: 33%;
}
.mainbody .content-img img {
	height: auto;
	width: 100%;
}
.mainbody .content-featured {
	padding-bottom: 60px;
	padding-top: 60px;
	text-align: center;
}
.mainbody .content-teated {
	text-align: center;
}
.mainbody .content-teated .page-header {
	margin-bottom: 0;
}
.mainbody .content-asukoht {
	margin: 80px 0 60px;
}
.mainbody .content-asukoht iframe {
	height: 340px;
	width: 100%;
}
.mainbody .post-content h3 {
	margin-bottom: 20px;
}
.mainbody .fb-module {
	border: 15px solid #e7e7e7;
	margin-top: 20px;
}
.mainbody.tantsukool .fb-module {
	margin-top: 72px;
}
.mainbody .tootaja {
	margin-bottom: 40px;
}
.mainbody .tootaja img {
	float: left;
	margin-bottom: 15px;
	margin-right: 20px;
	width: auto;
}
.mainbody .tootajad-section .col-sm-6:nth-child(odd) {
	clear: left;
}
.mainbody .kontakt-kaart {
	margin-top: 40px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Kinkekaart ////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.kinkekaart {
	border-bottom: 1px solid #e7e7e7;
	padding: 40px 0 200px;
	text-align: center;
}
.kinkekaart .container {
	border: 15px solid #e7e7e7;
	padding: 20px 0;
}
.kinkekaart h3 {
	color: #a3238e;
}
.kinkekaart p {
	margin-bottom: 15px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Footer //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.footer {
	bottom: 0;
	color: #fff;
	margin-top: 40px;
	padding-top: 20px;
	position: absolute;
	width: 100%;
}
.footer .container {
	padding: 0 0 10px;
}
.footer .widget {
	padding: 0 15px;
}
.page-id-13 .footer {
	display: none;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Kontakt vorm //////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.form-w100 .wpcf7 input,
.form-w100 .wpcf7 textarea {
	width: 100%;
}
.wpcf7 input, .wpcf7 textarea {
	background-color: #fff;
	border: 1px solid #e7e7e7;
	max-width: 100%;
	padding: 10px 20px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
	border-color: #a3238e;
	outline: none;
}
.wpcf7 textarea {
	height: 140px;
}
.wpcf7 input.wpcf7-submit {
	background-color: #333;
	border: none;
	border-radius: 50em;
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	width: auto;
}
.wpcf7 input.wpcf7-submit:hover,
.wpcf7 input.wpcf7-submit:focus {
	opacity: 0.8;
}
div.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ok {
	border: none;
}
.wpcf7-validation-errors {
	display: none!important;
}
#wpcf7-f166-o1 {
	margin-left: auto;
	margin-right: auto;
	width: 60%;
}
.wpcf7 .wpcf7-acceptance input {
	width: auto;
}
#wpcf7-f166-o1 .input {
	float: left;
	padding-bottom: 30px;
	width: 70%;
}
#wpcf7-f166-o1 .input input {
	border: none;
	color: #333;
}
#wpcf7-f166-o1 .input .wpcf7-not-valid-tip {
	color: #fff;
}
#wpcf7-f166-o1 .wpcf7-response-output {
	margin: 0 0 0 20px;
	padding: 0;
	position: absolute;
}
#wpcf7-f166-o1 .btn {
	background-color: #3e3e3d;
	padding: 0;
	width: 30%;
}
#wpcf7-f166-o1 .btn input {
	background-color: transparent;
}
#wpcf7-f166-o1 .btn:hover,
#wpcf7-f166-o1 .btn input:hover {
	opacity: 1;
	background-color: #333;
}
span.wpcf7-list-item {
	margin-left: 0;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Responsive */

@media (max-width: 1199px) {
	.navbar-inverse {
		border-bottom: none;
		width: 970px;
	}
	.navbar-inverse .pull-right {
		float: none!important;
	}
	.container {
		padding-top: 100px;
	}
	.logo .container {
		padding-top: 140px;
	}
	.gallery .wp-caption {
		width: 205px!important;
	}
}

@media (max-width: 991px) {
	.navbar-inverse {
		width: 750px;
	}
	.navbar-inverse .navbar-nav > li > a {
		padding: 10px;
	}
	.gallery .wp-caption {
		font-size: 17px;
		margin: 0 10px;
		width: 172px!important;
	}
}

@media (max-width: 767px) {
	h1 {
	font-size: 3rem;
	}
	h2 {
		font-size: 2.8rem;
	}
	h3 {
		font-size: 2.5rem;
	}
	h4 {
		font-size: 2.2rem;
	}
	h5 {
		font-size: 2rem;
	}
	h6 {
		font-size: 1.5rem;
	}
	p {
		font-size: 15px;
	}
	.container {
		padding: 0 15px;
	}
	.header .fb-link {
	    position: absolute;
	    right: 70px;
	    top: 0;
	}
	.navbar-fixed-top {
		position: relative;
	}
	.navbar-inverse {
		padding: 0 15px;
		width: 100%;
	}
	.navbar-inverse .navbar-brand {
		float: none;
		font-size: 24px;
	}
	.navbar-inverse .navbar-brand img {
		height: 40px;
		margin-top: 12px;
	}
	.navbar-inverse .navbar-toggle {
		background-color: #333;
		border: 2px solid #fff;
		margin-top: 12px;
	}
	.navbar-inverse .navbar-toggle:hover,
	.navbar-inverse .navbar-toggle:focus {
		opacity: 0.8;
	}
	.navbar-inverse .navbar-nav li ul {
		background-color: transparent;
		left: 0;
		opacity: 1;
		padding-left: 15px;
		position: relative;
	}
	.navbar-inverse .navbar-nav > li > a {
		margin: 0;
	}
	.navbar-inverse .sub-menu > li > a {
		line-height: 30px;
	}
	.navbar-inverse .navbar-collapse,
	.navbar-inverse .navbar-form {
		border: none;
		box-shadow: none;
	}
	.navbar-inverse .pull-right {
		float: right !important;
	}
	.navbar-nav > li > a {
		padding-top: 10px;
	}
	.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
		max-height: 600px;
	}
	img.alignleft,
	img.aligncenter,
	img.alignright {
		float: none;
		height: auto;
		margin: 0;
		width: 100%;
	}
	.logo .container {
		padding-top: 75px;
	}
	.gallery .wp-caption {
		border: none;
		margin: 0;
		width: 50% !important;
	}
	.gallery .wp-caption img {
		height: auto;
		width: 100%;
	}
	.brands {
		padding-bottom: 0;
	}
	.brands #gallery-1 .gallery-item {
		padding: 0 10px;
	}
	.mainbody {
		padding-bottom: 0;
		padding-left: 0;
	}
	.mainbody .page-header {
		margin: 0;
	}
	.mainbody .page-header h1::before,
	.mainbody .page-header h1::after {
		display: none;
	}
	.mainbody .content-img {
		float: none;
		margin: 0;
		width: 100%;
	}
	.mainbody .tootajad-section .col-xs-6:nth-child(even) {
		clear: left;
	}
	.mainbody .tootajad-section h3 {
		font-size: 2.5rem;
	}
	.mainbody .tootaja img {
		height: auto;
		width: 50%;
	}
	.mainbody .tootaja {
		clear: both;
	}
	.mainbody table {
		width: 90%;
	}
	.page-id-13 .mainbody {
		text-align: center;
	}
	.footer {
		position: relative;
	}
	.footer .widget {
		width: 100%;
	}
	.footer #wpcf7-f166-o1 {
		width: 80%;
	}
}