/*
Theme Name: Joulupidu
Theme URI: http://kating.ee
Author: Kating
Author URI: http://kating.ee
Description: Basic Bootstrap 4 template
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
body {
	background: transparent url(images/abb-taust.jpg) no-repeat center center;
	background-size: cover;
	color: #16242b;
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	line-height: 1;
}
body.page-id-9 {
	font-size: 20px;
}
body.error404 {
	background-image: none;
}
.blue {
	color: #3c4a9f;
}
.red {
	color: #ef3938;
}
.yellow {
	color: #f6d40c;
}
.white {
	color: #fff!important;
}
.page-id-9 .title {
	font-size: 33px;
}
.title {
	color: #ef3938;
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;	
}
.title-y {
	color: #f6d40c;
	font-size: 40px!important;
	font-weight: 900;
}
.font-30 {
	font-size: 30px!important;
}
small {
	font-size: 18px;
}
/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Header ////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.header {
	background-color: #fff;
}
.header-top {
	height: 81px;
	padding-top: 23px;
}
.header-top .languages {
	text-align: center;
	z-index: 10;
}
.header-top .languages img {
	margin-left: 2px;
	margin-right: 2px;
}
.header-top .languages img:hover,
.header-top .languages img:focus {
	opacity: 0.8;
}
.header-bottom {
	background-color: #f6d40c;
	height: 115px;
	line-height: 115px;
}
.header-bottom .container {
	position: relative;
}
.header-bottom h1 {
	display: inline-block;
	font-size: 36px;
	line-height: normal;
	vertical-align: middle;
}
.page-id-9 .header-bottom h1 {
	font-size: 27px;
	line-height: 1;
	text-align: center;
	width: 200px;
}
.header-bottom img {
	height: 200px;
	position: absolute;
	right: -50px;
	top: -50px;
}
.page-id-9 .header-bottom img {
	height: 150px;
	top: -15px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Mainbody //////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.mainbody {
	background: transparent url(images/mainbody-bg.png) no-repeat center top;
	background-size: 1164px auto;
	position: relative;
}
.mainbody .info-mod {
	margin-top: 60px;
	text-align: center;
}
.mainbody .item,
.mainbody .wpcf7 {
	max-width: 506px;
}
.mainbody .desc-mod {
	margin-top: 300px;
	padding-left: 70px;
}
.page-id-9 .mainbody .desc-mod {
	margin-top: 315px;
}
.mainbody .desc-mod ul {
	list-style: none;
	padding-left: 0;
}
.mainbody .desc-mod li {
	margin-bottom: 0.8rem;
}
.mainbody .desc-mod li:before {
	color: #f6d40c;
	content: ' \25CF';
	margin-left: -32px;
	padding: 10px;
}
.error404 .mainbody {
	background-image: none;
}
.reg-ended {
	line-height: 1.2;
	margin-top: 200px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Footer ////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.footer .container {
	border-top: 3px solid #16242b;
	font-weight: 700;
	margin-top: 40px;
	padding-bottom: 40px;
	padding-top: 10px;
	text-align: center;
}
.footer .container small {
	font-weight: 700;
}
.footer .container a {
	color: #f6d40c;
	text-decoration: none;
}
.footer .container a:hover,
.footer .container a:focus {
	color: #f6d40c;
	text-decoration: underline;
}
.error404 .footer {
	display: none;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/*///////////////////////////////////////////////////////////////////////////////////////////////////
///// Kontakt vorm //////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////*/
.mainbody .wpcf7 {
	padding-top: 60px;
}
.wpcf7 p {
	color: #f6d40c;
	font-size: 18px;
	text-align: left;
}
.wpcf7 input,
.wpcf7 textarea {
	border: none;
	color: #434345;
	font-size: 18px;
	margin-top: 8px;
	padding: 10px 20px;
	width: 100%;
}
.page-id-9 .wpcf7 input,
.page-id-9 .wpcf7 textarea,
.page-id-9 .wpcf7 select {
	padding-left: 10px;
	padding-right: 10px;
}
.wpcf7 select {
	border: none;
	color: #434345;
	font-size: 18px;
	margin-top: 8px;
	padding: 8px 20px;
}
.wpcf7 textarea {
	height: 106px;
}
.page-id-9 .wpcf7 textarea {
	height: 140px;
}
.wpcf7 input.wpcf7-submit {
	background-color: #f6d40c;
	border: none;
	border-radius: 5px;
	color: #3c4a9f;
	font-weight: bold;
	line-height: 1;
	text-transform: uppercase;
	width: auto;
}
div.wpcf7 .wpcf7-submit:disabled {
	cursor: unset;
}
div.wpcf7-mail-sent-ok,
.wpcf7-mail-sent-ok {
	border: none;
}
.wpcf7-mail-sent-ok {
	background-color: #7f7c6c;
	color: #FFF;
}
.wpcf7-validation-errors,
.wpcf7 .ajax-loader {
	display: none!important;
}
span.wpcf7-not-valid-tip {
	color: #ef3938;
}
.wpcf7 .thanks p {
	color: #fff;
	font-size: 22px;
	text-align: center;
}
.wpcf7 .sent .reg-vorm,
.wpcf7 .thanks {
	display: none;
}
.wpcf7 .sent .wpcf7-mail-sent-ok {
	display: none!important;
}
.wpcf7 .sent .thanks {
	display: block;
	margin-top: 60px;
}
/*/////////////////////////////////////////////////////////////////////////////////////////////////*/

/* Responsive */

@media (max-width: 1199px) {
	body {
		font-size: 20px;
	}
	body.page-id-9 {
		font-size: 17px;
	}
	.page-id-9 .title {
		font-size: 28px;
	}
	.header-bottom {
		height: 90px;
		line-height: 90px;
	}
	.header-bottom h1 {
		font-size: 30px;
	}
	.page-id-9 .header-bottom h1 {
		font-size: 25px;
	}
	.header-bottom img {
		height: 160px;
		right: -30px;
	}
	.page-id-9 .header-bottom img {
		height: 130px;
	}
	.mainbody {
		background-size: 980px auto;
	}
	.mainbody .info-mod {
		margin-top: 40px;
	}
	.mainbody .item,
	.mainbody .wpcf7 {
		max-width: 422px;
	}
	.mainbody .wpcf7 {
		padding-top: 110px;
	}
	.mainbody .wpcf7 textarea {
		height: 122px;
	}
	small {
		font-size: 16px;
	}
}

@media (max-width: 991px) {
	.header-bottom {
		height: 60px;
		line-height: 60px;
	}
	.header-bottom h1 {
		font-size: 23px;
	}
	.page-id-9 .header-bottom h1 {
		font-size: 19px;
	}
	.header-bottom img {
		height: 120px;
		top: -35px;
	}
	.page-id-9 .header-bottom img {
		height: 90px;
		right: -15px;
	}
	.mainbody {
		background-image: none;
	}
	.mainbody .item,
	.mainbody .wpcf7 {
		max-width: 500px;
	}
	.mainbody .item {
		background-color: #fff;
		border: 3px solid #16242b;
		padding: 30px;
	}
	.mainbody .wpcf7 {
		padding-top: 40px;
	}
	.wpcf7 .sent .thanks {
		margin-top: 0;
	}
	.hr-img-1 {
		margin-left: 0;
		margin-right: 0;
		margin-top: -45px;
		max-width: 540px;
		z-index: 1;
	}
	.hr-img-1 img,
	.hr-img-2 img,
	.hr-img-3 img {
		width: 100%;
	}
	.hr-img-2 {
		max-width: 600px;
	}
	.hr-img-3 {
		left: 35px;
		position: absolute;
		top: -57px;
		width: 150px;
	}
	.mainbody .desc-mod,
	.page-id-9 .mainbody .desc-mod {
		margin-top: 30px;
		padding-left: 15px;
		text-align: center;
	}
	.mainbody .desc-mod li {
		margin-bottom: 1.2rem;
		position: relative;
	}
	.mainbody .desc-mod li:before {
		bottom: -28px;
		left: 0;
		margin-left: 0;
		position: absolute;
		right: 0;
	}
	.mainbody .desc-mod li:last-child:before {
		content: none;
	}
}

@media (max-width: 767px) {
	body {
		background: transparent url(images/abb-taust-xs.jpg) no-repeat center center;
		font-size: 18px;
	}
	p {
		margin-bottom: 0.6rem;
	}
	.header-top .languages {
		text-align: right;
	}
	.header-bottom {
		height: auto;
	}
	.header-bottom .container {
		padding-bottom: 40px;
		text-align: center;
	}
	.header-bottom h1 {
		display: block;
		padding-top: 20px;
	}
	.page-id-9 .header-bottom h1 {
		width: 100%;
	}
	.header-bottom img {
		height: auto;
		max-width: 100%;
		position: relative;
		right: auto;
		top: auto;
	}
	.page-id-9 .header-bottom img {
		height: auto;
		right: 0;
		top: 0;
	}
	.mainbody {
		margin-top: -70px;
	}
	.wpcf7 input, .wpcf7 textarea {
		font-size: 16px;
		padding: 6px 10px;
	}
	.wpcf7 select {
		font-size: 16px;
		padding: 4px 10px;
	}
	.wpcf7 p {
		font-size: 16px;
	}
	.wpcf7 textarea {
		height: 83px;
	}
}

@media (max-width: 575px) {
	.mainbody .wpcf7 textarea {
		height: 110px;
	}
	.hr-img-3 {
		top: -35px;
		width: 100px;
	}
}