/*
Theme Name: Panila Web
Author: Reedik Lindau, Keith Margus, Taavet Kohal
Description: Panila Web
Version: 1.0
Text Domain: panila
*/

@font-face {
	font-family: 'FontAwesome';
	src: url('assets/fonts/fontawesome-webfont.eot?v=4.7.0');
	src: url('assets/fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), 
	  	 url('assets/fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), 
	  	 url('assets/fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), 
	  	 url('assets/fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), 
	  	 url('assets/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
	font-weight: normal;
	font-style: normal;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.show-form{
	overflow: hidden;
}

body,
button,
select,
input,
label,
textarea{
	font-family: 'Roboto', sans-serif;
	line-height: 1.4;
	font-size: 16px;
}

h1{
	font-size: 36px;
	margin-bottom: 20px;
	font-weight: 700;
}

h3{
	font-size: 24px;
	margin-bottom: 10px;
}
.menu-toggle:focus{
	outline: none;
}

h4{
	font-size: 14px;
	text-transform: uppercase;
	color: #271d37;
	font-weight: normal;
}

a{
	text-decoration: none;
	color: #9cc800;
}

a:hover{
	color: #271d37;
}

p{
	margin-bottom: 15px;
}

img{
	width: 100%;
	height: auto;
}

img.align-left{
	padding-right: 5%;
}

table{
	width: 100%;
	border-collapse: collapse;
}

.page-template-default table tr:first-child td:first-child{
	width: 60%;
}

table td{
	padding: 2%;
	border-bottom: solid 1px #cccbca;
}

select{
	border: none;
	width: 100%;
	height: 44px;
	background: transparent;
	padding: 0 20px;
	appearance: none;
	position: relative;
	z-index: 2;
	border: solid 1px transparent;
	border-radius: 4px;
}

.select-wrapper{
	position: relative;
	width: 100%;
	max-width: 300px;
	margin: 0 auto;
	background-color: #e0e0e0;
	display: inline-block;
	border-radius: 4px;
}
.select-wrapper:after{
	font-family: 'FontAwesome';
	content: "\f0d7";
	color: #232120;
	position: absolute;
	right: 15px;
	top: 12px;
	font-size: 15px;
	z-index: 1;
}

.disclaimer{
	font-size: 12px;
}

hr{
	border: none;
	border-bottom: solid 1px #cbcbcb;
	background: transparent;
	margin-bottom: 15px;
}

label{
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	margin: 2px 0 0 6px;
}

input,
textarea{
	width: 100%;
	font-size: 16px;
	border: none;
	border-bottom: solid 1px #cccccc;
	background: transparent;
	margin-bottom: 15px;
	padding: 5px;
	color: #271d37;
	height: 40px;
}

.form-item input[readonly],
.info input[readonly]{
	color: #271d37;
	font-size: 32px;
	text-align: center;
	font-weight: bold;
	border: none;
	height: 40px;
	padding: 0;
	margin: 0;
	appearance: none;
}

input[readonly]:focus{
	outline: none;
}

input.error,
textarea.error,
select.error{
	border-color: red;
}
textarea{
	height: 80px;
	resize: none;
}

.button{
	border: solid 2px #fff;
	padding: 20px;
	display: inline-block;
	font-size: 14px;
	color: #fff;
	text-transform: uppercase;
	text-align: center;
}

button[type="button"],
button[type="submit"],
.button.button-primary,
.button.button-secondary{
	background-color: #0c58ab;
	color: #fff;
	text-transform: uppercase;
	padding: 10px 30px;
	border: none;
	font-weight: bold;
	cursor: pointer;
	border-radius: 4px;
	display: inline-block;
	max-width: 100%;
	appearance: none;
}
.button.button-secondary{
	background-color: #9cc800;
}
button[type="submit"]{
	margin: 0 auto;
	font-size: 24px;
	margin-top: 15px;
	text-transform: none;
}

.clear:after,
.full_width:after{
	content: "";
	display: table;
	clear: both;
	width: 100%;
}

.show,
.showMenu .site-navigation,
.showMenu .close{
	display: block!important;
}

.full_width{
	width: 100%;
}

.container{
	padding: 5% 10%;
}

.one_half,
.one_third,
.two_third,
.one_fourth,
.three_fourth{
	float: left;
	position: relative;
}

.one_third.right{
	float: right;
	padding-top: 130px;
	padding: 40px 5%;
}

.one_half{
	width: 50%;
}

.one_third{
	width: 33.3%;
}

.two_third{
	width: 66.6%;
}

.one_fourth{
	width: 25%;
}

.one_fifth,
.gallery dl{
	width: 20%;
}
.three_fourth{
	width: 75%;
}

/* header styles */

.site-header{
	padding: 10px 20px;
	background-color: #9cc800;
	width: 100%;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 101;
}

.logo{
	float: left;
}

.logo img{
	display: block;
	height: 60px;
	width: auto;
}

.site-navigation{
	float: right;
	position: relative;
}

.lang-menu{
	list-style: none;
	position: relative;
	padding-right: 55px;
	float: right;
	font-size: 14px;
	right: 0;
	top: 0;
	background-color: #9cc800;
}

.lang-menu a{
	color: #fff;
}

.lang-menu li{
	display: none;
	padding: 0 10px;
}
.lang-menu li.current-lang{
	position: absolute;
	top: 0;
	right: 0;
}
.lang-menu li.current-lang,
.lang-menu.open li{
	display: inline-block;
}

.lang-menu li.current-lang a:before{
	font-family: 'FontAwesome';
	content: "\f104";
	margin-right: 7px;
}

.lang-menu.open li.current-lang a:before{
	content: "\f105";
}
button.menu-toggle,
span.menu-toggle.close{
	border: none!important;
	background: transparent!important;
	min-width: 0!important;
	float: right;
	display: none!important;
	margin-top: 10px;
	width: auto!important;
	padding: 0;
	z-index: 102;
	position: relative;
}
.menu-toggle:after{
	font-family: 'FontAwesome';
	content: "\f0c9";
	font-size: 30px;
	display: inline-block;
}
.menu-toggle.close{
	display: none;
}

.menu-toggle.close:after{
	content: "\f00d";
}
.site-navigation .menu{
	list-style: none;
	display: flex;
	margin-top: 30px;
}
	.site-navigation .menu > li{
		text-transform: uppercase;
		list-style: none;
		position: relative;
		padding: 10px;
	}
		.site-navigation .menu a{
			color: #fff;
			font-size: 16px;
			font-weight: bold;
		}
		.site-navigation .menu li:hover{
			background-color: rgba(47, 47, 47, 0.8);
		}
		.site-navigation .menu li:hover > .sub-menu{
			display: block;
		}
		.site-navigation .menu li .sub-menu{
			position: absolute;
			width: 100%;
			top: 100%;
			left: 0;
			text-align: center;
			z-index: 10;
			padding: 0 10px 10px;
			background-color: #2f2f2f;
			display: none;
		}

		.site-navigation .menu li .sub-menu li{
			display: block;
			float: none;
			margin-left: 0;
		}

		.site-navigation .menu li .sub-menu li a{
			font-weight: 100;
		}
.site-navigation .current_page_item > a{
	color: #fff;
}

.site-navigation .menu a:hover{
	color: #9cc800;
}
.site-navigation .current_page_item > a,
.site-navigation .current_page_parent > a{
	/*color: #0c58ab;*/
}
.site-navigation .menu a:hover {
	color: #9cc800;
}
/* main styles */

#content-carousel{
	width: 100%;
	background-color: #0c58ab;
	position: relative;
	overflow: hidden;
}
#content-carousel .slick-next,
#content-carousel .slick-prev{
	background: none;
	z-index: 10;
	padding: 0;
	width: auto;
	height: auto;
}
#content-carousel .slick-next{
	right: 25px;
}
#content-carousel .slick-prev{
	left: 25px;
}
#content-carousel .slick-dots li button:before{
	border: solid 5px white;
	border-radius: 100%;
	background-color: white;
	content: "";
	display: block;
	position: relative;
	margin: 0 5px;
}
#content-carousel .slick-dots li{
	margin: 0 5px!important;
	width: auto;
	height: auto;
}
#content-carousel .slick-dots li button{
	min-width: 0;
	width: auto;
	height: auto;
}
#content-carousel .slick-dots li.slick-active button:before{
	border-color: #9cc800;
}
#content-carousel .slick-dots{
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	z-index: 1;
}
#content-carousel.slick-dotted.slick-slider{
	margin-bottom: 0;
}
#content-carousel{
	display: none;
}
#content-carousel.slick-slider.slick-initialized{
	display: block;
}
#content-carousel .slick-prev:before,
#content-carousel .slick-next:before{
	font-family: 'FontAwesome';
	line-height: 0;
	font-size: 100px;
	font-weight: 100;
}
#content-carousel .slick-prev:before{
  content: "\f104";
}
#content-carousel .slick-next:before{
  content: "\f105";
}

.home .site-main{
	padding: 0;
}
.site-main{
	padding: 30px 5%;
	min-height: 100%;
}

.gallery dl{ 
	display: inline-block;
}

.gallery dl img{
	width: 100%;
	height: auto;
	padding: 1%;
}
.gallery br{
	display: none;
}

/* rooms template page */
.intro{
	padding: 15px;
}
.rooms-list{
	padding: 15px;
}

	.room-form{
		position: relative;
		border-bottom: solid 1px #cccbca;
		padding: 30px 0;
	}
		.room-form .form-item{
			padding: 10px 0;
			text-align: center;
			width: 43%;
			vertical-align: middle;
			display: inline-block;
		}
		.room-info{
			width: 55%;
			vertical-align: middle;
			display: inline-block;
		}
		.room-info .form-item{
			width: 100%;
		}
		.room-promotion{
			text-align: center;
			padding: 10px;
		}
		.room-promotion p{
			margin: 0;
		}

		.room-form .form-item.wide{
			width: 30%;
		}
		.room-form .form-item.narrow{
			width: 18%;
		}

	.show-form .room-confirm{
		display: block;
	}
		.room-confirm h2{
			margin-bottom: 20px;
			margin-left: 15px;
		}
		.room-confirm{
			width: 100%;
			height: 100%;
			position: fixed;;
			left: 0;
			top: 0;
			background-color: rgba(0, 0, 0, .7);
			z-index: 102;
			display: none;
			overflow-x: auto;
		}
		 .room-confirm .contact-form{
			max-width: 900px;
			margin: 5% auto 5%;
			background: #fff;
			border-radius: 4px;
			padding: 5%;
		 }
		 .room-confirm .spaceing{
			 padding: 15px;
		 }
		 .room-confirm .info{
			background-color: #e5e5e5;
			padding: 10%;
			border-radius: 4px;
		 }
		 .room-confirm .info input{
			  text-align: left;
			  margin: 0;
			  padding: 0;
			  height: auto;
		  }
			.room-confirm .info h4{
				margin-top: 30px;
				margin-bottom: 5px;
			}
			.room-confirm .info h4:first-child{
				margin-top: 0;
			}

			.room-confirm .info .price{
				font-weight: normal;
			}
		  	.room-confirm .info input.small{
				font-size: 16px;
				font-weight: normal;
			}

		.room-confirm .close{
			display: block;
			text-align: right;
			cursor: pointer;
			float: right;
		}

			.room-confirm .close:before{
				font-family: 'FontAwesome';
				content: "\f00d";
				font-size: 25px;
				color: #0c58ab;
			}

	.room-form img{
		display: block;
		max-width: 100%;
		height: auto;
	}
	.room-number{
		font-size: 72px;
		line-height: 1;
		color: #cccccc;
		position: absolute;
		top: 10px;
		left: 10px;
		z-index: 11;
	}

	.room-size{
		text-align: center;
		color: #232120;
		font-weight: normal;
	}

/* contact sticker styles */

.contact-wrapper{
	position: fixed;
	bottom: 0;
	left: 0;
	color: #fff;
	z-index: 102;
	width: 100%;
}
	.contact-wrapper .info{
		width: 100%;
		background-color: #0c58ab;
		text-align: center;
	}

	.contact-wrapper li{
		font-size: 13px;
		list-style: none;
		padding: 0 10px;
		display: inline-block;
		vertical-align: middle;
	}

	.contact-wrapper a,
	.contact-wrapper span,
	.contact-wrapper i{
			font-size: 17px;
			font-style: normal;
		}

		.contact-wrapper a:before,
		.contact-wrapper span:before,
		.contact-wrapper i:before{
			font-family: 'FontAwesome';
			font-size: 25px;
			color: #9cc800;
			padding: 5px 10px;
			margin-right: 10px;
		}

		.contact-wrapper .phone:before{
			content: "\f095";
		}

		.contact-wrapper .facebook:before{
			content: "\f082";
		}

		.contact-wrapper .email:before{
			content: "\f0e0";
		}

		.contact-wrapper .location:before{
			content: "\f041";
		}

	.contact-wrapper a{
		color: #fff;
	}

	.contact-wrapper .button{
		width: 100%;
		border: none;
		height: 38px;
		background-color: #fff;
		color: #0c58ab;
		font-weight: bold;
		padding: 10px 0;
    	text-align: center;
		-webkit-box-shadow: 0px 0px 61px 2px rgba(0,0,0,0.3);
		-moz-box-shadow: 0px 0px 61px 2px rgba(0,0,0,0.3);
		box-shadow: 0px 0px 61px 2px rgba(0,0,0,0.3);
	}

.picture-section .section-item{
	margin: 20px 0;
}
/* map styles */
.map-wrapper{
	height: 100%;
	position: absolute;
}
.map{
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

@media(max-width: 850px){
	.one_fourth,
	.three_fourth{
		width: 100%;
	}
	.tablet_hide{
		display: none;
	}
}

@media(max-width: 700px){
	.tablet_hide{
		display: none!important;
	}
	.room-form .form-item{
		width: 100%;
	}
	.room-info{
		width: 100%;
	}
	.rooms-list{
		padding: 0;
	}
}

@media(max-width: 600px){
	.home .site-main,
	.one_third,
	.two_third{
		width: 100%;
	}
	button.menu-toggle,
	.showMenu span.menu-toggle.close{
		display: block!important;
	}
	.showMenu button.menu-toggle{
		display: none!important;
	}
	.gallery dl{
		width: 50%;
	}
	.slide-content{
		width: 100%;
	}
	.site-navigation{
		display: none;
		position: fixed;
		height: 100%;
		width: 100%;
		background-color: #9cc800;
		z-index: 101;
		left: 0;
		top: 0;
	}
	.site-navigation .menu{
		flex-direction: column;
		padding-top: 20px;
	}
	.site-navigation .menu li{
		width: 100%;
		text-align: center;
		margin: 0;
		background-color: transparent!important;
	}
	.site-navigation .menu li .menu-item-has-children > a{
		padding-bottom: 0;
	}
	.site-navigation .menu li .sub-menu{
		display: block;
		position: relative;
		padding: 0;
	}
	.site-navigation .menu li .sub-menu li a{
		font-size: 25px;
	}
	.site-navigation .menu li a{
		font-size: 30px;
		padding: 5px;
		display: block;
	}
	.lang-menu{
		width: 100%;
		text-align: center;
		padding-right: 0;
		padding-top: 20px;
	}
		.lang-menu li{
			display: inline-block!important;
			position: relative!important;
		}
		.lang-menu li a{
			font-size: 15px;
		}
		.lang-menu li.current-lang a:before{
			content: "";
		}
		.lang-menu li.current-lang a,
		.site-navigation .menu a:hover, 
		.site-navigation .current_page_item a{
			color: #0c58ab;
			border: none;
		}
	img.align-right{
		padding: 0;
	}
	.map-wrapper{
		position: relative;
		height: 300px;
	}
}

@media(max-width: 500px){
	.room-form .form-item{
		width: 100%;
	}
	.contact-wrapper.show{
		top: auto;
		bottom: 0;
		margin: 0;
	}
	.contact-wrapper span{
		display: none;
	}
	.button{
		width: 100%;
	}
}