/*
Theme Name: Ilulaegas
Version: 0.9
Author: Rumos Veebidisain
*/

/* From outside to inside, from top to bottom, from general to details */

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body { 
	font-size: 14px;
	background: url('images/taust.png') #dddddc;
}

.container-wrapper { 
	width: 960px;
	margin: 0 auto; 
	padding-bottom: 240px; /* height of the footer */
	} 

.container { 
	color: #111;
    margin: 0 auto;
    padding-bottom: 0px;
    width: 940px;
}

.header-bg {
	background: url('images/header-top-bg.png') repeat-x;
	min-height: 100%;
	position: relative; 
	}
	
.header {
    height: 148px;
	}

.header .logo { 
	display: block;
	width: 395px; 
	height: 78px;
	margin-top: 38px;
	}

.logo img { 
	width: 395px; 
	}

.header div {
	display: inline-block;
	float: right;
	margin: 42px 0 0;
	font-size: 15px;
	}

.header p  {
	text-align: right;
	font-size: 19px;
	text-shadow: 0 1px 1px #F0F0F0;
	color: #392216;
	font-family: Times New Roman, serif;
	}

.header a {
    color: #392216;
	}

.header a:hover {
    color: #60402f;
	}

.banner { 
	width: 680px;
	height: 310px;
	border-radius: 6px!important;
	}

.navigation { 
    text-align: left;
	height: 45px;
	margin-bottom: 45px;
	margin-left: 0px;
	/* width: 820px; 940-120*/
	width: 875px;
	}

.lang { 
	width: 60px;
	float: right;
	margin-top: 14px;
	}
	
.lang ul {
	text-align: right; 
	}

.lang li {
    display: inline;
    margin-left: -8px;
    padding: 5px 2px 3px;
	}

.lang a, .lang:visited {
    color: #444444;
    font-size: 12px;
    text-decoration: none;
    padding: 5px 5px 2px;
    border-radius: 2px;
}

.lang a:hover {
    background: #fdffc9;
    color: #222; }
	
.lang img {
    vertical-align: text-top;
	box-shadow: 1px 0px 2px #ccc;
	}
	
.navigation li, .menu li { 
	display: inline; 
	margin: 0 8px;
	padding-bottom: 1px }

.navigation li:first-child, .menu li:first-child {
    margin-left: 0;
	}

.navigation li:last-child, .menu li:last-child {
	margin-right: 0;
	}
	
.navigation a , .navigation a:visited { 
	font-family: Times New Roman;
	display: inline-block;
	width: auto;
	text-align: center;
	line-height: 23px;
	font-size: 21px;
	color: #111;
	text-decoration: none;
	padding: 11px 1px 0px;
	}
	
/* .current-menu-item a { } */
	
.navigation a:hover {
	border-bottom: 1px dotted #5d5339;
	}

.current_page_item a {
	border-bottom: 1px dotted #5d5339;
	font-weight: bold;
	}
	
.divider {
    padding: 0!important;
    border: none!important;
    clear: both;
	}

/* Avaleht */

h1 {
	display: inline-block;
	/*padding-top: 38px;*/
	}

.attention {
    margin-bottom: 50px;
	}

.teenused {
	width: 225px;
	float: right;
	}

.page-template-default .teenused {
    float: left;
	}

.teenus {
    background: #fff;
    border-radius: 5px;
    padding: 10px 13px;
	}

.teenus p:last-child {
	margin-bottom: 0px;
	}
	
.teenused li { 
	margin-bottom: 8px 
	}
	
.teenused ul a, .teenused2 ul a {
	display: inline-block;
	width: auto;
	height: 40px;
	padding: 0 15px 0 14px;
	line-height: 40px;
	background: url('images/teenus-bg.png') 0 0 repeat-x;
	font-size: 17px;
	text-decoration: none;
	color: #f6f6f6!important;
	text-transform: uppercase;
	text-shadow: 0 0 1px #444444;
	box-shadow: 0 1px 0 #3E2410;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	}

.teenused ul a:hover, .teenused2 ul a:hover {
	background: url('images/teenus-bg.png') 0 -41px repeat-x;
	border-bottom: none!important;
	box-shadow: 0 1px 0 #633a19;
	}

.teenused a img, .teenused2 a img {
	margin-left: 7px;
	vertical-align: middle;
	}
	
.teenused2 li {
	display: inline;
	margin: 0 7px;
	}
	
.teenused2 ul { text-align: center }

.broneeri  {
	display: block;
	width: 167px!important;
	height: 53px;
	background: url('images/broneeri-aeg.png') 0 0 no-repeat;
	text-indent: -9999px;
	font-size: 0;
	margin: 18px 0px 0;
	}

.broneeri:hover {
	background: url('images/broneeri-aeg.png') 0 -53px no-repeat;
	border-bottom: none!important;
	}

.teenused2 .broneeri {
	margin: 36px auto 0;
	}

.features {
	width: 940px;
	margin: 50px auto;
	}

.offers { 
	background: url('images/50white.png');
	width: 680px;
	margin: -16px 0 50px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	}

.offers h3 {
	background: #ecd562;
	border-bottom: 1px solid #897B76;
    border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
    border-right: 1px solid #897B76;
    display: inline-block;
    font-family: Helvetica,Arial;
    font-size: 15px;
    font-weight: bold;
    line-height: 22px;
    margin: 0 0 10px;
    padding: 4px 9px 2px;
    text-transform: uppercase;
	}

.offers p { 
	margin-bottom: 4px;
	}
	
	
.offers a,
.offers a:visited,
.offers a:active {
	color: rgb(44, 96, 206);
}

/* end of Avaleht */


/* Broneeri aeg */

.ezcol-one-third input, .ezcol-one-quarter input { 
	padding: 9px 9px 6px;
	width: 90%; /* 200 + 18 + 2 = 220 */
	}

.ezcol-one-third input { 
	/* padding: 9px 9px 6px; */
	width: 255px; /
	}
	
textarea {
	min-width: 390px;
	max-width: 390px;
	}
	
.wpcf7-submit  {
	display: inline-block;
	width: auto;
	margin: 0px 0px 0;
	}

.wpcf7-submit:hover {
	border: 1px solid #aaa;
	}
	
div.wpcf7-response-output {
    margin: 1.5em 0.5em 1em!important;
	font-weight: bold;
	border-radius: 3px;
	}
	
span.wpcf7-not-valid-tip {
    font-weight: bold;
    border-radius: 3px;
    padding: 2px 20px!important;
	}
	
div.wpcf7-mail-sent-ok {
	/* display: none!important; */
	}
	

.ezcol-one-quarter {
	width: 23%!important;
	margin-right: 2%!important;
	}

.ezcol-one-quarter:nth-child(4n+1) {
	clear: left;
}
.ezcol-last { 
	margin-right: 0!important;
	}
	
.page-template-broneeri-aeg-php span.wpcf7-not-valid-tip {
    width: auto!important;
    padding: 1px 7px!important;
}

/* Broneeri juuksur */
.ezcol-one-quarter textarea{
	max-width: 165px;
    min-width: 165px;
	}
	
.ezcol-one-third textarea {
    max-width: 165px;
    min-width: 165px;
}

h2 img {
	border-radius: 5px!important;
	-moz-border-radius: 5px!important;
	-webkit-border-radius: 5px!important;
    box-shadow: 1px 1px 0 #ccc;
	border: none!important;
	padding: 0!important;
	margin-right: 16px!important;
	margin-bottom: 21px!important;
	}

.ezcol-one-quarter  h2, .page-id-7 h2 {
	margin-bottom: 0
	}
	
.large-title {
	font-family: times New Roman;
    font-size: 48px;
    margin: 0 0 49px!important;
    text-align: center;
    text-shadow: 0 0 6px #F0EDE2;
	color: #291910;
	}

.st_view h2 { 
	margin-top: 0 }

.st_tab_view { 
	padding-top: 15px; 
	}

.legend {
	color: #666666;
    font-size: 13px;
    margin-bottom: 20px;
    margin-top: -13px;
	}
	
/* end of Broneeri aeg */

.content { 
	padding: 0px; 
	margin: 0 0 80px;
	font-family: Arial, sans-serif;
	}

.content td {
    padding: 4px 4px;
    border: 1px solid #999; }
	
	

/* Page */ 

.page-template-default .container { 
	padding-bottom: 20px 
	}
	
.entry {
	width: 900px;
	padding: 20px;
	margin: 10px 0 0px;
	background: #fff url('images/entry-bg.png') top repeat-x;
	border-radius: 5px; }

.entry h2:first-child { 
	margin-top: 0 
	}
	
.entry h2 {
	font-size: 30px;
	text-shadow: 1px 1px 1px #fff
	}


/* Pakkumised */

.pakkumine {
    background: none repeat scroll 0 0 #F0EBE1;
    border-radius: 5px 5px 5px 5px;
    width: 45%;
	margin: 8px;
	margin-bottom: 17px;
    padding: 13px 13px 2px;
	float: left;
}

.pakkumine h2 {
    font-size: 23px;
}


.pakkumine ul {
    display: inline-block;
    font-size: 13px;
    margin: 0 0 12px 14px;
    width: 55%;
}

/* Uudised - pole kasutusel */

.date {
    margin-bottom: 23px;
    display: block;
    font-style: italic;
    color: #333; }	
	
.post { margin-bottom: 45px }

/* Kontakt */



/* Footer */

.footer { 
	position: absolute;
	bottom: 0;
	background: url('images/footer.png') repeat-x;
	width: 100%;
	height: 240px;
	}
	
.footer-content {
	width: 940px; 
	color: #444444;
	margin: 0 auto;
	font-family: Arial, sans-serif;
	}

.footer a, .footer a:visited { color: #444 }

.footer-eas {
	font-size: 12px;
	color: #ebe0cc;
	width: 820px; 
	margin: -18px auto 0;
	}

.eas {
	float: left;
    margin-right: 28px;
    margin-top: -14px;
	}

/* Custom page parts */

.round3 {	
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	}

.page-id-62 textarea {
	max-width: 255px;
    min-width: 255px;
	}
	
.page-id-62 input { 
	width: 200px 
	}

h2 a {
    color: #111!important;
    text-decoration: none!important;
    border-bottom: 1px dotted #aaa;
    font-size: 26px;
}

h2 a:hover {
    color: #563a2c!important;
}

/* Let's target Webkit browser engine */

@media screen and (-webkit-min-device-pixel-ratio:0) {


} /* targeting END */ 
	

/* Misc */

.back-to-mobile,
.back-to-mobile:visited,
.back-to-mobile:active,
.back-to-mobile:focus {
    background: none repeat scroll 0 0 #D6CDB9;
    border-bottom: 1px solid #B0A999;
    color: #4C3F29;
    display: block;
    font-family: Trebuchet ms;
    font-size: 42px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.2);
}

.back-to-mobile:hover {
	background: #e6dcc7;
}

.slide-text {
	margin: 5px 0!important;
}

.td-noborder td,
.noborder {
	border: none!important
	}
	
.table-middle td {
	vertical-align: middle;
}

.go-admin {
    bottom: 0;
    display: block;
    height: 30px;
    left: 0;
    position: fixed;
    width: 30px;
	}

.go-admin:hover {
    background: #fff;
    -moz-border-radius: 0 29px 0 0;
	-webkit-border-radius: 0 29px 0 0;
	border-radius: 0 29px 0 0;
    opacity: 0.3;
	}


a.post-edit-link {
	color: #bbb;
	display: inline-block;
	border-bottom: medium none!important;
    margin-bottom: 16px; }
	

.lens-tool-kit {
	margin: 0!important;
	}
	
	
.slidedeck-frame {
	box-shadow: 0px 1px 2px #888;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	}
	

/* chrome border radius hack
http://www.onenaught.com/posts/266/css-inner-elements-breaking-border-radius
 
.slidedeck-frame, .attention dl, .sd-wrapper, .attention dd, .sd-node-title-box {
    border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
    box-shadow: 0px 1px 2px #888;
	} 
*/
	
.slidedeck-overlays, .slidedeck-2-bug {
	display: none!important;
	}

.slide-text {
	color: #111111;
    font-size: 15px!important;
    line-height: 23px;
    margin: 16px 0;
    text-shadow: 1px 0 1px #FEFEFE;
	}

.lens-tool-kit a.slidedeck-2-bug { /* SD logo */
    left: 633px!important;
    top: 272px!important;
	}
	
/* Green button */ 

.green, input[type="submit"] {
	display: inline-block;
	width: auto;
	height: 33px;
	padding: 0 15px 0 14px;
	line-height: 36px;
	background: url('images/green-bg.png') 0 0 repeat-x;
	font-size: 17px;
	text-decoration: none;
	color: #fff;
	text-shadow: 0 0 1px #444444;
	border: none;
	margin-top: 10px;
	
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	border-radius: 7px;
	}

.green:hover, input[type="submit"]:hover {
	background: url('images/green-bg.png') 0 -41px repeat-x;
	border: none;
	
	}

	
input[type="submit"]:active {
	position:relative;
	top:1px;
}


/* Uudiskiri */

.uudiskiri {
    border: 1px solid #f2ecdf;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 0 9px #CEBC98;
    margin: 30px auto 20px;
    text-align: center;
    width: 356px;
}


.uudiskiri h3 {
    background: #F5F1E1;
    border-bottom: 1px solid #EEEEEE;
    color: #28251E;
    margin: 0;
    padding: 5px;
}

.uudiskiri form {
    padding: 10px;
}

.uudiskiri input {
    margin: 9px 2px 10px;
    padding: 6px 8px;
    width: 40%;
}

.details {
    font-size: 12px;
    text-align: center;
	margin-bottom: 3px;
}

#subscribe {
	width: auto;
	padding: 0 10px;
	line-height: 23px;
}

/* Uudiskiri footer */

.uudiskiri-footer td {
	border: none;
	vertical-align: middle;
	text-align: center;
	margin: 0;
	}
	
.uudiskiri-footer {
    background: #fff;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid #888;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
    margin: 30px auto 20px;
    opacity: 0.95;
    width: 100%;
	border-collapse: separate;
}

.uudiskiri-footer .title {
    width: 410px;
	background: #F5EED3;
    border-right: 1px solid #B3AB8D;
    color: #33240A;
    font-size: 15px;
	font-weight: bold;
	line-height: 20px;
    padding: 4px 0px 4px 9px;
    text-align: left;
    text-shadow: 0 1px 0 #FFFFFF;
    text-shadow: 0 1px 0 rgba(255,255,255,0.6);
	border-radius: 4px 0 0 4px;
}

.title i {
	font-size: 13px;
	font-weight: normal;
}

/*.signup {
	border-radius: 0 4px 4px 0;
	}*/

.uudiskiri-footer input {
    margin: 0 4px 0 0;
    padding: 6px 8px;
    width: 27%;
}

.uudiskiri-footer #subscribe {
    position: relative;
    top: 1px;
	width: 169px;
}

/* ### Person */

.person-aside {
	width: 300px;
	float: right;	
	position: relative;
	margin-bottom: 20px;
}

.person-left {
	width: 580px;
	float: left;
}

.person-pic-wrap {
	height: 454px;
}

.person-pic-wrap img {
	width: 100%;
	height: auto;
	margin-bottom: 5px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	position: absolute;
	top: 0px;
	left: 0px;
}

.person-pic-normal {
	z-index: 10;
}

.person-pic-hover {
	z-index: 5;
}

.person-pic-wrap:hover .person-pic-normal {
	z-index: 2;
}

img.chevron-right {
    border: medium none;
    float: right;
    height: auto;
    margin: 0;
	margin-top: 4px;
    padding: 0;
    width: 11px;
}

.person h1 {
	margin-bottom: 6px;
	color: #444;
	font-size: 31px;
	text-shadow: 0 1px 0 #fcfcfc;
}

h2.person-job-title {
	margin-top: 0;
	margin-bottom: 17px;
	font-size: 14px;
	font-style: italic;
	color: #444;
}

/* ### People */

.person-preview,
.person-preview:visited,
.person-preview:active {
	display: inline-block;
	width: 145px;
	margin: 0 16px 16px 0;
	padding: 10px;
	border: 1px solid #e0dbcc;
	background: #f2ecdc;
	float: left;
	text-decoration: none!important;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

.person-preview:hover {
	background: #f0e8d5;
	/*border: 1px solid #bcb4a1;*/
}

.person-preview:nth-of-type(5),
.person-preview:nth-of-type(10),
.person-preview:nth-of-type(15) {
	margin-right: 0;
}

.preview-pic-wrap {
	position: relative;
	width: 100%;
	height: 150px;
}

.person-preview img {
	width: 100%;
	height: auto;
	border: none;
	padding: 0;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	
}

.preview-pic-normal {
	z-index: 10;
}

.preview-pic-hover {
	z-index: 5;
}

.preview-pic-wrap:hover .preview-pic-normal {
	z-index: 3;
}


.person-preview h3 {
	line-height: 21px;
	font-size: 21px;
	color: #181611;
	margin: 4px 2px -4px;
	font-family: "Trebuchet MS";
}

.person-preview span {
	color: #4e4739;
	font-style: italic;
	font-size: 14.5px;
}
/* Transition to responsiveness */

.btn {
    border: 3px solid #fff;
    border-radius: 2px;
    box-shadow: 0 0 0 1px #ccc;
	display: inline-block;
	text-align: center;
    padding: 12px 20px;
	text-shadow: 0 1px 0 #f4f4f4;
    text-decoration: none !important;
	font-size: 1.1em;
	background: #fcfcf8; /* Old browsers */
	background: -moz-linear-gradient(top, #fcfcf8 0%, #eeeee2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcfcf8), color-stop(100%,#eeeee2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #fcfcf8 0%,#eeeee2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #fcfcf8 0%,#eeeee2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #fcfcf8 0%,#eeeee2 100%); /* IE10+ */
	background: linear-gradient(to bottom, #fcfcf8 0%,#eeeee2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfcf8', endColorstr='#eeeee2',GradientType=0 ); /* IE6-9 */
}

.btn-block {
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}

.btn-red,
.btn-red:visited,
.btn-red:active {
	font-size: 21px;
	color: #fff!important;
	text-shadow: none;
	font-family: Times New Roman;
	text-align: left;
	background: #e24350; /* Old browsers */
	background: -moz-linear-gradient(top, #e24350 0%, #be2839 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e24350), color-stop(100%,#be2839)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e24350 0%,#be2839 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #e24350 0%,#be2839 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #e24350 0%,#be2839 100%); /* IE10+ */
	background: linear-gradient(to bottom, #e24350 0%,#be2839 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e24350', endColorstr='#be2839',GradientType=0 ); /* IE6-9 */
}

.btn-red:hover {
	background: #de2837; /* Old browsers */
	background: -moz-linear-gradient(top, #de2837 0%, #a82433 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#de2837), color-stop(100%,#a82433)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #de2837 0%,#a82433 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #de2837 0%,#a82433 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #de2837 0%,#a82433 100%); /* IE10+ */
	background: linear-gradient(to bottom, #de2837 0%,#a82433 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#de2837', endColorstr='#a82433',GradientType=0 ); /* IE6-9 */
}