html,body{
	font-family:'Open Sans',sans-serif;
	color:#30363b;
}

body{
	background:#b4c5dc;
}

::-moz-selection{background:#c23f18;color:#ffffff;text-shadow:none;}
::selection{background:#c23f18; color:#ffffff;text-shadow:none;}
input:-webkit-autofill{background-color:#ffffff;}

a{color:#c12534;}
a:visited{color:#a6220a;}
a:hover{text-decoration:underline;}

h1,h2,h3,h4,h5,h6{
	font-family:'Numans',sans-serif;
	color:#a5210a;
}
h1,h4{
	color:#16586d;	
}

h1{
	font-size:30px;
}
h2{
	font-size:20px;
}
h3{
	font-size:18px;
}
h4{
	font-size:16px;
}


/* Common styles */
.b{font-weight:bold;}
i,em{font-style:italic;}
.fr{float:right;}
.fl{float:left;}
.cl{clear:both;}
.red{color:#c23f18;}
.mt5{margin-top:5px;}
.mb5{margin-bottom:5px;}
.in-block{display:inline-block;}

.box{
	border:1px solid #97acc1;
	background:#b4c5d7;
	padding:20px;
	text-align:center;
}
.box h2{
	padding:0;
	margin:5px 0 10px 0;
	color:#16586d;
}
.box p{font-size:14px;margin-bottom:30px;}

.btn{
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.btn-lg{
	font-size:19px;
	padding:6px 11px;
}
.btn-red {
	color:#fff;
	text-decoration:none;
	text-shadow:1px 1px 0 #6c1b09;
	border-color:#a5210a;
	box-shadow:inset 1px 1px 0px 0px #d27052;
	background: #a7230a; /* Old browsers */
	background: -moz-linear-gradient(top, #c23f18 0%, #a7230a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c23f18), color-stop(100%,#a7230a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c23f18a 0%,#a7230a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c23f18 0%,#a7230a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c23f18 0%,#a7230a 100%); /* IE10+ */
	background: linear-gradient(top, #c23f18 0%,#a7230a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c23f18', endColorstr='#a7230a',GradientType=0 ); /* IE6-9 */
}
a.btn-red{color:#fff}
.btn-red:focus,
.btn-red:active,
.btn-red.focus,
.btn-red:hover{
	color:#fff;
}

.alert{
	padding: 10px 35px 10px 14px;
	margin-bottom: 18px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.error,.success,.info{
	padding: 8px 35px 8px 14px;
	margin-bottom: 18px;
	color: #c09853;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.success{color: #468847;background-color: #dff0d8;border-color: #d6e9c6;}
.error{color: #b94a48;background-color: #f2dede;border-color: #eed3d7;}
.info{color: #3a87ad;background-color: #d9edf7;border-color: #bce8f1;}

.form-control:focus {
	border-color: #ccc;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}


/* End common styles */


.white-bg{
	background:#ffffff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#header .bg{
	background: url(../img/header_bg.png) no-repeat;
	background-position:50% 0%;
	height:165px;
}

#page-title{
	font-size:36px;
	font-weight:800;
	color:#ffffff;
	text-shadow:1px 1px 0 #59626b;
	margin-left:35px;
	margin-top:25px;
}
#page-title a{
	text-decoration:none;
	color:#ffffff;
}
#page-title #slogan{
	font-size:24px;
	font-family:Numans,sans-serif;
	font-weight:normal;
	margin-top:-5px;
	margin-left:70px;
}

#searchform{
	margin-top:10px;
	float: right;
	width: 191px;
	height: 30px;
	background: url(../img/search_bg.png) no-repeat;
	position: relative;
}
#searchform #search-input{
	border:1px solid #000;
	float:left;
	border:0;
	width:147px;
	background:none;
	color:#737373;
	padding:0;
	margin:7px 0 0 6px;
	outline:none;
	color:#0a315f;
	font-size:12px;

}
#searchform #go{
	float:right;
	width:32px;
	height:30px;
	background-color:transparent;
	border:0px;
	cursor:pointer;
}

#loggedin{
	padding-top:15px;
	text-align:right;
}

/* Navbar */
.navbar-loodus {
	border:0;
	border-radius: 0;
    -webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	background: #665b4a;
	background: -moz-linear-gradient(top,  #665b4a 0%, #4c4134 100%);
	background: -webkit-linear-gradient(top,  #665b4a 0%,#4c4134 100%);
	background: linear-gradient(to bottom,  #665b4a 0%,#4c4134 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#665b4a', endColorstr='#4c4134',GradientType=0 );
	border-bottom:5px solid #a6220a;
	margin-bottom:0;
}
.navbar-loodus .navbar-nav{
	text-align: center;
}
.navbar-loodus .navbar-nav > li > a,
.navbar-loodus .navbar-nav > li > a:hover,
.navbar-loodus .navbar-nav > li > a:focus {
	color:#fff;
	/*font-size:16px;*/
	text-shadow:1px 1px 0 #29241d;
}

.navbar-loodus .navbar-nav > .activeMenu1{
	margin-top:-9px;
	padding-top:9px;

	background: #c34018;
	background: -moz-linear-gradient(top,  #c34018 0%, #a6220a 100%);
	background: -webkit-linear-gradient(top,  #c34018 0%,#a6220a 100%);
	background: linear-gradient(to bottom,  #c34018 0%,#a6220a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c34018', endColorstr='#a6220a',GradientType=0 );

	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.navbar-loodus .navbar-toggle {
	text-shadow:1px 1px 0 #29241d;
	border-color: #fff;
}
.navbar-loodus .navbar-toggle:hover,
.navbar-loodus .navbar-toggle:focus {
	background: #c34018;
	background: -moz-linear-gradient(top,  #c34018 0%, #a6220a 100%);
	background: -webkit-linear-gradient(top,  #c34018 0%,#a6220a 100%);
	background: linear-gradient(to bottom,  #c34018 0%,#a6220a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c34018', endColorstr='#a6220a',GradientType=0 );
	color:#fff;
}
.navbar-loodus .navbar-toggle .icon-bar {
	background-color: #fff;
}
.navbar-loodus .navbar-collapse{
	border-color: #fff;
}
.navbar-loodus .navbar-nav > .open > a,
.navbar-loodus .navbar-nav > .open > a:hover,
.navbar-loodus .navbar-nav > .open > a:focus {
	color: #fff;
	background: #c34018;
	background: -moz-linear-gradient(top,  #c34018 0%, #a6220a 100%);
	background: -webkit-linear-gradient(top,  #c34018 0%,#a6220a 100%);
	background: linear-gradient(to bottom,  #c34018 0%,#a6220a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c34018', endColorstr='#a6220a',GradientType=0 );
}
.navbar-loodus .navbar-collapse.in .navbar-nav > .activeMenu1{
	border-radius: 0;
	margin-top:0px;
	padding-top:0px;
}

@media (min-width: 768px) and (max-width: 991px) {
	.container-fluid>.navbar-collapse, 
	.container-fluid>.navbar-header, 
	.container>.navbar-collapse, 
	.container>.navbar-header {
		margin-right: -15px;
		margin-left: -15px;
	}

	.navbar-header {
        float: none;
    }
	.navbar-toggle{  
		display: block;
	}
	.navbar-collapse {
		border-top: 0 none;
		box-shadow: none;
		width: auto;
		border-color:#fff;
	}
	.navbar-collapse.collapse {
        display: none !important; 
	}

	.navbar-nav {
        float: none!important;
        margin: 7.5px -15px;
    }
	.navbar-nav > li {
        float: none;
    }
	.navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
	.navbar-collapse.collapse.in { 
        display: block !important; 
	}
}

/* Main menu */
#mainNav{
	border-bottom:5px solid #a6220a;
	padding:0 10px;

	background: #665b4a;
	background: -moz-linear-gradient(top,  #665b4a 0%, #4c4134 100%);
	background: -webkit-linear-gradient(top,  #665b4a 0%,#4c4134 100%);
	background: linear-gradient(to bottom,  #665b4a 0%,#4c4134 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#665b4a', endColorstr='#4c4134',GradientType=0 );

	-webkit-border-top-left-radius: 10px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-topright: 10px;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#mainNav li{
	float:left;
	list-style: none;
	padding:10px 15px;
}
#mainNav a{
	color:#ffffff;
	text-shadow:1px 1px 0 #29241d;
	text-decoration:none;
	font-size:18px;
}
#mainNav .activeMenu1{
	margin-top:-9px;
	padding-top:20px;

	background: #c34018;
	background: -moz-linear-gradient(top,  #c34018 0%, #a6220a 100%);
	background: -webkit-linear-gradient(top,  #c34018 0%,#a6220a 100%);
	background: linear-gradient(to bottom,  #c34018 0%,#a6220a 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c34018', endColorstr='#a6220a',GradientType=0 );

	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}
/* End main nav */

/* Sub menu */
#subMenu_1{
	padding-left:0;
	list-style:none;
}
#subMenu li_1{list-style:none;}
#subMenu_1 a{
	text-decoration:none;
	display:block;
	line-height:20px;
	padding:6px 0 6px 2px;
	border-bottom:1px dotted #a6220a;
	color:#30363b;
}
#subMenu_1 .activeMenu1 a, 
#subMenu_2 li.activeMenu2 a.activeMenu2{
	font-weight:bold;
	list-style:none;
}
#subMenu_1 li ul{
	padding:2px 0px 2px 15px;
	list-style:none;
	margin:0;
}
#subMenu_1 li.activeMenu1 ul a{
	font-weight:normal;
}
/* End submenu */


.lnews a{text-decoration:none;}
.latest-news{
	margin-bottom:25px;
}
.latest-news h3{
	font-weight:bold;
	font-size:14px;
	font-family:'Open Sans',sans-serif;
}
.latest-news a{
	color:#30363b;
	text-decoration:none;
}


#content{
	border-top:3px solid #ffffff;
	padding:20px 28px;
	background:url(../img/content_bg.gif) repeat-x #fff;

	min-height:300px;

}

/* Start footer */
#footer{
	border-top:5px solid #a6220a;
	padding:6px 10px;
	color:#ffffff;
	font-size:11px;
	margin-bottom:10px;

	background: #665b4a;
	background: -moz-linear-gradient(top,  #665b4a 0%, #4c4134 100%);
	background: -webkit-linear-gradient(top,  #665b4a 0%,#4c4134 100%);
	background: linear-gradient(to bottom,  #665b4a 0%,#4c4134 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#665b4a', endColorstr='#4c4134',GradientType=0 );

	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-bottom-right-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-bottomright: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}

#footer #footerNav{
	float:right;
	margin-top:15px;
	margin-right:5px;
}
#footerNav li{
	float:left;
	list-style: none;
	margin:0 5px 0 2px;
}
#footerNav a,#footerNav a:link{
	color:#ffffff;
	text-decoration:none;
	font-size:12px;
}

.author{
	margin-top:10px;
	margin-bottom:-20px;
	padding-right:10px;
	font-size:11px;
}
.author a{
	color:#8496ae;	
}
/* End footer */

#signin_menu{
	border:1px solid #cccccc;
	padding:10px 15px;
	width:185px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	border-radius:3px;
}

.slides_container{width:100%;}
#slides{position:relative;width:100%;}
.qslide{width:100%;background:#fff;}
/* Pagination */
.pagination {
	margin:26px auto 0;
	width:100px;
	display:none;
}
.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}
.pagination li a {
	display:block;
	width:12px;
	height:0;
	padding-top:12px;
	background-image:url(../img/pagination.png);
	background-position:0 0;
	float:left;
	overflow:hidden;
}
.pagination li.current a {background-position:0 -12px;}


/* Playlists */
.player-lists{min-height:200px;}
.player-lists .loader{
	text-align: center;
    padding-top: 70px;
    box-sizing: border-box;
}
.player-lists .line{border-bottom:1px dotted #a6220a;padding-top:10px;padding-bottom:5px;}
.player-lists .line:before{display: table;content: " ";}
.player-lists .line:after{clear:both;display: table;content: " ";}

#getViktoriinid{width:100%;margin:0;padding: 0 0 0 20px;}
#getViktoriinid h4{
	padding:10px 0 0 0;
}


.sounds{list-style:none;border-bottom:1px dotted #a6220a;padding:0;padding-left:10px;}
.sounds li{padding:0;}
.sounds li>span{display:inline-block;}
.sounds .title{font-size:12px;padding-right:15px;vertical-align:top;}

.answer-option{display:inline-block;}

.rel-species{padding:0;padding-left:10px;}
.rel-species li{padding:0;}

.spics{float:right;margin:0 0 20px 20px;}
.spics img{border:2px solid #888888;display:block;margin-bottom:10px;}


.tabs {
    margin: 0;
    padding: 0 10px;
    overflow: hidden;
    margin-bottom: -1px;
    border-bottom:1px solid #a5210a;
    height:40px;
	margin-bottom:15px;
}

.tabs li {
    float: left;
    list-style: none;
    margin: 0;
    padding: .25em .25em 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid #FFF;
}

.tabs li.selected {
	z-index: 3;
}

.tabs a {
	float: left;
	line-height: 2em;
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	padding:5px 10px;
	color: #ffffff;
	text-decoration: none;

	background: #665b4a;
	background: -moz-linear-gradient(top,  #665b4a 0%, #4c4134 100%);
	background: -webkit-linear-gradient(top,  #665b4a 0%,#4c4134 100%);
	background: linear-gradient(to bottom,  #665b4a 0%,#4c4134 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#665b4a', endColorstr='#4c4134',GradientType=0 );
}

.tabs .selected a,.tabs a:hover {
	text-shadow:1px 1px 0 #6c1b09;
	background: #a7230a; /* Old browsers */
	background: -moz-linear-gradient(top, #c23f18 0%, #a7230a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c23f18), color-stop(100%,#a7230a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #c23f18a 0%,#a7230a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #c23f18 0%,#a7230a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #c23f18 0%,#a7230a 100%); /* IE10+ */
	background: linear-gradient(top, #c23f18 0%,#a7230a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c23f18', endColorstr='#a7230a',GradientType=0 ); /* IE6-9 */
}

/* Pagination */
.pagination {
	margin:26px auto 0;
	width:100px;
	display:none;
}
.pagination li {
	float:left;
	margin:0 1px;
	list-style:none;
}
.pagination li a {
	display:block;
	width:12px;
	height:0;
	padding-top:12px;
	background-image:url(../img/pagination.png);
	background-position:0 0;
	float:left;
	overflow:hidden;
}
.pagination li.current a {background-position:0 -12px;}

/* Sortable */
.sortable span{padding-right:15px;}
.sortable li{list-style-type:none;}
.sortable .ui-sortable-handle{padding-top:5px;}
.sortable .ui-sortable-handle > span{vertical-align:top;display:inline-block;margin-top:5px;}
.sortable .answer-option{display:inline-block;margin-top:5px;}
.sortable label{
	list-style: none;
	border: 1px solid #cccccc;
	background: #F6F6F6;
	margin: 5px;
	padding: 5px;
}
.sortable-placeholder {
	border: 1px dashed #cccccc;
	background: none;
	padding:12px 5px;
	margin-left:5px;
}
/* End sortables */

/* MP3 player */
.audio-player{
	width:100px;
	height:24px;
	background: #665b4a;
	-moz-border-radius:4px ;
	-webkit-border-radius: 4px ;
	border-radius:4px;
}
.mejs-container,.mejs-container .mejs-controls {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	background: #665b4a;
	background: -moz-linear-gradient(top,  #665b4a 0%, #4c4134 100%);
	background: -webkit-linear-gradient(top,  #665b4a 0%,#4c4134 100%);
	background: linear-gradient(to bottom,  #665b4a 0%,#4c4134 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#665b4a', endColorstr='#4c4134',GradientType=0 );
}
.mejs-container .mejs-controls{height:24px;}
.mejs-controls .mejs-button button{
	margin:4px 3px;
}
.mejs-controls div.mejs-time-rail{padding-top:2px;}
.text-right .mejs-container{float:right;}

.mejs-controls .mejs-time-rail .mejs-time-loaded{
	background:#90bc24;
}
/* MP3 player end */

.cc-icons {
	display: inline-block;
}

.cc-icon {
	height: 15px;
	padding-left: 2px;
	padding-right: 2px;
}

.fancybox-title.fancybox-title-over-wrap {
	width: 100%;
}

.f-right {
	float: right;
}

.file-li {
	padding-bottom:10px !important;
}

.li-file {
	float:left;
}

.descr-area {
	min-height:20px;
}

.footer-logo {
	height:50px;
}

/* observations table */
#obs-table {
	table-layout: fixed;
}

#custom-col {
	padding-left:0px;
	padding-right:0px;
}

#obs-table-loader {
	text-align:center;
}

#loader {
	height:27px;
	display:none;
}

#map {
	width:100%;
	height:360px;
	margin-top:10px;
}

.gen-rows:hover > td{
	background:#a6220a;
	color:white;
	cursor:pointer;
}

.obs-modal {
	display:none;
	min-width:500px;
}

.obs-detail-view td{
	padding:5px;
}

.select2-choices {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.select2-container-multi .select2-choices .select2-search-choice {
	padding:5px 5px 5px 18px !important;
}

.select2-selection li{
	white-space:normal;
}

.modal-loader {
	height:27px;
}

.obs-detail-view {
	max-width:600px;
	min-width:300px;
}

.obs-detail-view td {
	vertical-align:top;
}

.date-col br{
	display:none;
}

.modal-row {
	margin-left: 0px;
	margin-right: 0px;
}

.modal-pic {
	height: 100px;
}
/* End observations table */

/* smaller screens */
@media (max-width: 767px) {
	#header .bg{
		background: url(../img/header_bg_sm.png) no-repeat;
		background-position:50% 0%;
		height:165px;
	}
	
	.row {
		margin-right:0px;
		margin-left:0px;
	}
	
	#custom-row {
		margin-right: -5px;
		margin-left: -5px;
	}
	
	#content {
		padding: 20px 0px;
	}

	.container {
		padding-right: 0px;
		padding-left: 0px;
	}
	
	.navbar-loodus {
		-webkit-border-top-left-radius: 0px;
		-webkit-border-top-right-radius: 0px;
		-moz-border-radius-topleft: 0px;
		-moz-border-radius-topright: 0px;
		border-top-left-radius: 0px;
		border-top-right-radius: 0px;
	}
	
	.navbar-loodus li {
		font-size: 20px;
	}
	
	#footer {
		-webkit-border-bottom-left-radius: 0px;
		-webkit-border-bottom-right-radius: 0px;
		-moz-border-radius-bottomleft: 0px;
		-moz-border-radius-bottomright: 0px;
		border-bottom-left-radius: 0px;
		border-bottom-right-radius: 0px;
		margin-bottom: 0px;
	}
	
	.author {
		margin-bottom:0px;
	}
	
	.select2-selection__choice {
		margin-top:1px !important;
	}
	
	.date-col br{
		display:inline;
	}
}

@media (max-width: 480px) {
	#header .bg{
		background: url(../img/header_bg_xs.png) no-repeat;
		background-position:50% 0%;
		height:165px;
	}
	
	.obs-modal {
		min-width:280px;
	}
	
	#obs-table td, #obs-table th{
		padding:2px;
	}
	
	#obs-content, .select2-container{
		font-size:11px;
	}
	
	.select2-results li {
		padding:1px;
	}
	
	.select2-selection ul, .select2-selection li{
		padding: 0 1px !important;
	}
	
	.select2-selection li {
		margin-right:0px !important;
	}
}