.clear {
}

.pt-20 { padding-top: 20px; }

.pr-10 { padding-right:10px; }

.pl-10 { padding-left:10px; }

.mt-5 { margin-top: 5px; }
.mt-10 { margin-top: 10px; }
.mt-15 { margin-top: 15px; }
.mt-25 { margin-top: 25px; }
.mt-50 { margin-top: 50px; }

.mr-15 { margin-right: 15px; }
.mr-25 { margin-right: 25px; }

.mb-5 { margin-bottom: 5px; }
.mb-15 { margin-bottom: 15px; }
.mb-25 { margin-bottom: 25px; }
.mb-80 { margin-bottom: 80px; }

.ml-5 { margin-left: 5px; }
.ml-26 { margin-left: 26px; }

.box-info {
	border: 5px #f5f5f5 solid;
	background-color: #f2f2f2;
	padding: 10px 10px 0 10px;
}

.btn-left {
	background-color: #b39e89;
	padding: 10px 20px;
	font-family: 'Roboto Condensed', sans-serif;
	float: left;
	color: #fff;
}
	.btn-left:hover {
		text-decoration: none;
		background-color: #7a665f;
		color: #fff;
	}

.boxed {
	border: 1px dotted #dbdbdb;
	float: left;
	width: 95% !important;
	margin-bottom: 12px;
	padding: 10px;
	clear: both;
}

.form-inline .search-input.search-lk {
  font-size: 16px;
  line-height: 20px;
  padding: 9px 3%;
  border-color: #b39e89;
  color: #b39e89;
  box-sizing: content-box;
}

.btn-tags {
  padding: 9px 17px;
  font-size: 16px;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
}

a:hover,
a:focus {
  color: #9db70d;
  text-decoration:none;
}

a.persona {
	color:#000 !important;
}
	a.persona:hover {
		color: #7a665f !important;
	}

.italic{ font-style: oblique; }

.red {
    color:#FE5214 !important;
}
.green {
    color: #E0FA4F !important;
}

.font-size-16 {
    font-size: 16px;
}

.carousel-inner a {
	border:none !important;
	padding: 0 0 !important;
	margin: 0 0 !important;
}

.content.span9 {
	overflow: hidden;
}

/* left menu */
.side-nav li ul {
  width: 100%;
  list-style: none;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  margin: 0;
}
.side-nav li ul li a {
  background-color: #f1ebdf;
  border-left: 1px solid #b39e89;
  border-right: 1px solid #b39e89;
  padding: 15px 15px 15px 25px;
  display: block;
}
.side-nav li ul li a:hover,
.side-nav li ul li a.active:hover,
.side-nav li ul li.subnav a:hover,
.side-nav li ul li.subnav a.active:hover {
  background-color: #b39e89;
  text-decoration: none;
  color: #fff;
}
.side-nav li ul li.subnav a {
  background-color: #fcf9f4;
}

.side-nav li ul li a.active {
  background-color: #fff;
}
.side-nav li ul li:last-child {
  border-bottom: none;
}
.side-nav li ul li {
  position: relative;
}

.quick-information h3 {
  margin: -10px 0 5px 0;
}
.quick-information p {
  padding: 18px 0 0 0;
}

.tags-search {
    float: left;
    border: 1px solid #7a665f;
    text-transform: lowercase;
    text-decoration: none;
    padding: 6px 10px;
    margin: 5px;
}
.tags-search-active {
    color: green !important;
}

.details {
	font-style:oblique;
}

.divider {
	clear: both;
	margin: 25px 10px;
	height: 1px;
	background-color: #dddcdc;
}
.divider-2 {
	position: relative;
	border-bottom: 1px #dadada solid;
	margin-bottom: 40px;
	min-height: 36px;
}
.divider-3 {
	clear: both;
	margin: 25px 20px 20px 0px;
	height: 1px;
	background-color: #dddcdc;
}

/* news archive */
.news-list {
	margin-bottom: 4px
}
	.news-list .list-date {
		float:left;
		font-size:13px;
		width:78px;
	}
	.news-list .list-header {
		float:left;
		max-width:500px;
	}

/* contactForm */
#contactForm .screenReader,
#pollForm .screenReader {
        left: -9999px;
        position: absolute;
        top: -9999px;
		height: 1px;
        margin-bottom: 0;
}
#contactForm .hidden-row,
#pollForm .hidden-row {
    display: none !important;
}
#contactForm .nostyle,
#pollForm .nostyle {
        border: 0px;
        background: transparent;
        padding: 0px;
}

/* fotolink */
.fotolink {
	border: 1px #ccc solid;
	text-decoration: none
}
	.fotolink a {
		border: 1px #ccc solid;
		text-decoration: none
	}
		.fotolink a:hover {
			border: 1px #ccc solid;
			text-decoration: none
		}
		.fotolink a:active {
			border: 1px #ccc solid;
		text-decoration: none
		}
		.fotolink a:visited {
			border: 1px #ccc solid;
			text-decoration: none
		}
		
.fotovasak {
	float:left;
	border: 1px #ccc solid;
	margin:0px 15px 15px 0px;
}

.fotoparem {
	float:right;
	border: 1px #ccc solid;
	margin:0px 0px 15px 15px;
}

.fotovasak_raamita {
	float:left;
	border:none;
	margin:0px 15px 15px 0px;
}

.fotoparem_raamita {
	float:right;
	border:none;
	margin:0px 0px 15px 15px;
}

/* tabelid */
#tabel {
	border-collapse: collapse;
	border: 1px solid #ccc;
	empty-cells: show;
}
	#tabel th {
		border: 1px solid #ccc;
		text-align:center;
		color: #000;
		font-family: Arial, Helvetica, sans-serif;
		font-weight: 600;
		font-size: 9pt;
	}
	#tabel td {
		border-collapse: collapse;
		border: 1px solid #ccc;
		empty-cells: show;
		padding:2px 2px 2px 7px;
	}

#tabel2 {
	border-collapse: collapse;
	border: 1px solid #ccc;
	empty-cells: show;
}
	#tabel2 th {
		border: none;
		text-align:center;
		color: #595959;
		font-weight: bold;
	}
	#tabel2 td {
		border-collapse: collapse;
		border: none;
		empty-cells: show;
		padding-left:7px;
	}
#tabel2 a { color: #4169e1 }
#tabel2 a:hover {
	color: #4169e1;
	text-decoration: underline;
}

#tabel3 {
	border: none !important;
	empty-cells: show;
	border-collapse: collapse;
}
	#tabel3 th {
		border-bottom: 1px solid #E1E1E1;
		text-align:center;
		font-weight: bold;
		padding: 7px;
	}
	#tabel3 tr {
		border-bottom: 1px solid #E1E1E1 !important;
	}
		#tabel3 td {
			border: none !important;
			empty-cells: show;
			padding: 7px;
		}

td.bg_1 {
	background-color:#fef1e0;
}
td.bg_2 {
	background-color:#fee4c4;
}
td.bg_3 {
	background-color:#fcd7a7;
}

/* sitemap */
#sitemap {
	text-align: left;
	letter-spacing: 0.01cm;
	margin-bottom:1px
}
	#sitemap div.site1 {
        font-size: 16px;
        padding: 15px 0px 1px 18px;
    }
	#sitemap div.site2 {
        padding: 3px 0px 1px 36px;
    }
	#sitemap div.site3 {
        padding: 3px 0px 1px 54px;
    }
	#sitemap div.site4 {
        padding: 0px 0px 1px 72px;
    }
	
/* scroller */
.pagination a.nextpostslink,
.pagination a.prevpostslink {
	font-size:10px !important;
	padding: 4px 10px;
}

/* Gallery */
.g_scr {
	text-align:center;
	vertical-align:bottom;
}

.g_tbl {
	border:none;
	width:100%;
	text-align:center;
}

.g_tbl_td {
	text-align:center;
}
/*	.g_tbl_td div {
		text-align:center;
		width:265px;
		margin-bottom:12px;
	}
	
	.g_tbl_td img {
		max-width:265px !important;
	}*/

.g_thmb {
	width:100%;
	margin-bottom:17px;
}

.g_scr_thmb {
	float:left !important;
	vertical-align:bottom;
	overflow:hidden;
	width:50%;
	height:auto;
    max-height: 324px !important;
	margin-bottom:20px;
}

.g_scr_thmb a {
	/*color: #333;*/
	text-decoration:none;
}
	.g_scr_thmb a:hover {
		/*color: #3358FF;*/
		text-decoration:none;
	}
	
.g_scr_txt {
    float:left;
	text-align:center;
	font-weight:600;
	width:100%;
}
	
/*.g_stripe {
	margin:20px 0px 25px 0px;
}

.g_txt {
	margin:0 10px;
}*/

.g_mid_cent {
	vertical-align:middle;
	text-align:center;
}

.g_top_cent {
	vertical-align:top;
	text-align:center;
}

.g_back {
	text-align:left !important;
	padding-top:20px;
}

.g_picture_smal {
	background-color: #fff;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #c1c1c1;
	padding: 7px;
	position: relative;
	display:block;
	margin:0 10px;
	float:left;
}

.g_image {
	position:relative;
	display:block;
	text-decoration:none;
    width:90% !important;
    max-height:260px !important;
	overflow:hidden !important;
	margin-bottom:6px;
}
.g_image img {
	width:100% !important;
    height:auto;
    /*max-height:260px !important;*/
	position:relative;
	z-index:2;
}
.g_image:hover {
    -moz-box-shadow:    inset 0 0 5px #ccc;
    -webkit-box-shadow: inset 0 0 5px #ccc;
    box-shadow:         inset 0 0 5px #ccc;
}

.g_image_pics {
	position:relative;
	display:block;
	text-decoration:none;
	margin-right:25px;
}
.g_image_pics img {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	border: 1px solid #c1c1c1;
	padding: 7px;
	position:relative;
	z-index:2;
	/*width:100% !important;*/
}
.g_image_pics img:hover {
   -moz-box-shadow:    inset 0 0 5px #ccc;
   -webkit-box-shadow: inset 0 0 5px #ccc;
   box-shadow:         inset 0 0 5px #ccc;
}

.error404 {
	position: relative;
	margin: 40px auto;
	width: 59%;
}

	.error404 .e404 {
		position: absolute;
		left: 0;
		top: 5%;
		margin-top: 5%;
		padding: 0 15%;
		width: 70%;
		text-align: center;
	}

	.error404 h1 {
		margin: 0 0 25px 0;
		color: #fe5214;
		font-weight: 700;
		font-size: 60px;
		font-family: 'Open Sans', sans-serif;
		line-height: 1;
	}

	.error404 .title-error {
		color: #1a1a1b;
		text-transform: uppercase;
		font-size: 27px;
		font-weight: 600;
		line-height:normal;
		font-family: 'Open Sans', sans-serif;
	}

#header .header-socials a, #header #header .header-socials a:hover {
color: #D3C3B4;
}
#header .header-socials .icon-dark {
    color: #434343;
}

@media only screen and (max-width: 1199px) {
    .g_image {
        max-height:209px !important;
    }
}

@media only screen and (max-width: 979px) {
    .g_image {
        max-height:160px !important;
    }
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
	.error404 {width: 72%;}
}

@media only screen and (max-width: 767px) {
    .sub-header {
        padding-left: 0px !important;
    }
    
    .sub-header .title-page {
		text-align: center;
 	 }
    
	.sub-header .title-page h1 {
		font-size:32px !important;
		padding-bottom:25px;
 	 }
    
    .g_picture_smal {
        padding: 0px;
    }
    .g_image {
        width:100% !important;
        max-height:180px !important;
    }
    .g_image img {
        width:100% !important;
        height:auto !important;
    }
    
    .tulp-flex {
        display: flex;
        flex-direction: column-reverse;
    }
    
    .tulp-vasak {
    }
    
    .tulp-parem {
        margin-bottom: 80px !important;
    }

	.error404 {
		margin: 20px auto;
		width: 85%;
	}

		.error404 .e404 > p {display: none;}

		.error404 h1 {font-size: 40px;}	
		.error404 .title-error {margin-bottom: 10px; font-size: 15px;}	
}

@media only screen and (max-width: 660px) {
    .g_scr_thmb {
        width:100% !important;
        max-height: none !important;
    }
    .g_image {
        width:100% !important;
        max-height: none !important;
    }
    .g_image img {
        width:100% !important;
        height:auto !important;
        max-height: none !important;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	.error404 {
		margin: 30px auto;
		width: 85%;
	}
			
		.error404 .e404 { margin-top: 5px;}
				
			.error404 .e404 > p {display: block;}
			
		.error404 h1 {margin:15px 0 15px 0; font-size: 35px;}	
		.error404 .title-error {margin: 0; font-size: 20px;}
}

@media only screen and (max-width: 479px) {
	.sub-header .title-page h1 {
		font-size:28px !important;
 	 }
	 
	 .fotovasak,
	 .fotoparem,
	 .fotovasak_raamita,
	 .fotoparem_raamita {
		float:none;
		margin:25px 0px;
	}
	
	.g_scr_thmb {
        width:100% !important;
    }

	.error404 h1 {margin:8px 0 15px 0; font-size: 21px;}	
	.error404 .title-error {margin: 0; font-size: 14px;}
}
