 html, body, #map, #form {
	height: 100%;
	width: 100%;
	padding: 0px;
	margin: 0px;
}

#map {
	z-index: 1000;
}

#birds {
	position: absolute;
	right: 10px;
	top: 10px;
}

#birds-switch {
	margin-left: 10px;
	margin-top: 0px;
}

.bird-color {
	width: 20px;
	height: 14px;
	display: inline-block;
	padding-bottom: 10px;
	margin-left: 10px;
	border: 1px solid #ddd;
	opacity: 0.78;
}

.list-group-item {
	padding: 5px 5px;
	min-height: 34px;
}

.topleft-controls {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 1040;
}

.btn, .custom-input {
	border-radius: 2px;
}
.rotate-180 {
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}
/* sidebar */
.dispinblock {
	display: inline-block !important;
}

#years-select {
	width: auto;
	display: inline-block;
	margin-left: 10px;
	vertical-align: middle;
	margin-top: -5px;
	height: 30px;
}

.modal.left .modal-dialog, .modal.right .modal-dialog  {
	position: fixed;
	margin: auto;
	max-width: 450px !important;
	height: 100%;
	-webkit-transform: translate3d(0%, 0, 0);
		-ms-transform: translate3d(0%, 0, 0);
		 -o-transform: translate3d(0%, 0, 0);
			transform: translate3d(0%, 0, 0);
}

.sidebarModal {
	max-width: 400px !important;
}

.sidebarModal .modal-heading {
	font-size: 20px;
	white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
    width: 70%;
}

.sidebarModal .modal-header  button {
	margin-top: 5px;
}

.modal.left .modal-content, .modal.right .modal-content {
	height: 100%;
	overflow-y: hidden;
	border-radius: 0px;
	padding-bottom: 65px;
	border: none;
}
	
.modal.left .modal-body, .modal.right .modal-body {
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
}

#helpModal {
	overflow: hidden;
}

#helpModal .modal-dialog{
	height: 70%;
	min-width: 50%;
}
#introModal {
	overflow: hidden;
}

#introModal .modal-dialog{
	height: 70%;
	min-width: 75%;
}

.intropilt {
	filter:         drop-shadow(5px 5px 5px #222); 
	-webkit-filter:         drop-shadow(5px 5px 5px #222); 
	padding:5px;
	border-radius:3%;
}

#sidemenuModal .modal-body {
	height: 80%;
}

#sidemenuModal .modal-content {
	padding-bottom: 0px;
}

#sidemenuModal .modal-footer {
	border: none;
	position: absolute;
	width: 100%;
	bottom : 0px;
}

/*Left*/
.modal.left.fade .modal-dialog {
	left: -320px;
	-webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
	   -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
		 -o-transition: opacity 0.3s linear, left 0.3s ease-out;
			transition: opacity 0.3s linear, left 0.3s ease-out;
}
	
.modal.left.fade.in .modal-dialog {
	left: 0;
}

.right {
	float: right !important;
}

.left {
	float: left !important;
}

.sidebarModal .modal-body .list-group-item {
	border: none;
	border-bottom: 1px solid #ddd;
	border-radius: 0px;
	margin-bottom: 0px;
	padding: 0px;
}

.sidebarModal .modal-body .list-group-item a, .sidebarModal .modal-body .list-group-item.no-link{
	padding: 10px 15px;
	display: block;
	text-decoration: none;
	font-size: 16px;
}

.sidebarModal .modal-body .list-group-item.no-link, .sidebarModal .modal-body .list-group-item.no-link a, .list-elem {
	padding: 5px 15px;
}

.modal-heading {
	font-weight: bold;
	font-size: 14px;
	display: inline-block;
	margin-left: 10px;
	padding-top: 5px;
}

.no-padding {
	padding: 0px !important;
}

.no-left-margin {
	margin-left: 0px;
}

.modal-text {
	padding: 15px;
	padding-bottom: 60px;
}

.list-group-heading {
	background: #eee;
}

.item-heading {
	display: inline-block;
	width:75%;
}

.side-main-item a:hover  {
	background: #337ab7;
	color: white;
}

.custom-controls button, .leaflet-control-zoom-in, .leaflet-control-zoom-out {
	border-radius: 2px !important;
}

.leaflet-control-zoom {
	border: 1px solid rgba(0,0,0,0.2) !important;
}

.leaflet-control-layers {
	border-radius: 2px;
}

.leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    border: 1px solid #ccc;
    background-clip: padding-box;
}

.leaflet-top .leaflet-control {
    margin-top: 5px;
}

.custom-controls button {
	font-size: 20px;
}

.date {
	float:right;
	color: #808080;
}

.side-main-item a:hover  .date {
	color: #eee;
}

.sidebarModal .large-modal {
	width:500px;
}

.specname {
	margin-left: 10px;
}

/* controls */
.control-btns {
	position: fixed;
	bottom: 30px;
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
	text-align: center;
	z-index: 1040;
}

.control-btns .btn {
	font-size: 20px;
}

.control-btns select {
	width: auto;
	display: inline-block;
	margin-left: 5px;
}

select {
	border-radius: 2px !important;
}

#animspeed {
	width: 65px !important;
	display: inline-block;
}

#season-btn {
	padding: 0px;
	margin-bottom: 2px;
	height: 34px;
	width: 46px;
}

#season-btn img{
	height: 30px;
}

.active-season {
	color: #337ab7;
}

.glyphicon {
	top: 0px;
}

#lang-select {
	position: absolute;
	top:10px;
	right: 10px;
	width: 75px;
	z-index: 1040;
}

#help-btn, #share-btn, #intro-btn {
	position: absolute;
	top: 10px;
	right: 95px;
	font-weight: bold;
	z-index: 1040;
	height: 35px;
	width:40px;
}

.modal-header .share-btn {
	margin-left: 10px;
	margin-top: -10px !important;
}

.modal-header .share-url {
	display: none;
	margin-top: 10px;
}

#share-btn {
	right: 145px;
}

#intro-btn {
	right: 195px;
}


#shareModal .modal-body{
	height: 65px !important;
}

#shareModal .modal-header{
	height: 0px !important;
	border-bottom: 0px;
}

#shareModal .modal-body div {
	display: inline-block !important;
}

#share-url-div {
	width: 95%;
}

/* switch */
/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 45px;
	height: 20px;
	vertical-align: middle;
	margin-top: 5px;
}

.list-group-heading .switch, #settings .switch {
	margin-top: 0px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 1px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #337ab7;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

/* timeline */
#timeslider {
	width: 300px;
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	vertical-align: middle;
}


.noUi-horizontal .noUi-handle-lower .noUi-tooltip {
    top: -35px;
    left: -24px;
}

.noUi-origin {
	background: #FAFAFA;
}

.noUi-background {
	background: #337ab7 !important;
}

.noUi-handle {
	border-radius: 2px;
}

.noUi-tooltip  {
	background: none;
	border: none;
}

.tooltip-inner {
	background: #fff;
	color: #333;
}

.tooltip.top .tooltip-arrow {
	border-top-color: #fff;
}

/* images */
.pic-frame {
	width: 106px;
	height: 81px;
	border: 2px solid white;
	display: inline-block; 
	margin-right: 5px;
	margin-left: 5px;
	margin-top: 10px;
	overflow: hidden;
}

.pic-frame img {
	min-width:100%;
	min-height:100%;
}

.pic-frame:hover {
	border: 2px solid #d4d4d4;
}

#fancybox-content {
	-webkit-box-sizing: initial;
    -moz-box-sizing: initial;
    box-sizing: initial;
}

#fancybox-wrap, #fancybox-wrap *{
    -moz-box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    -safari-box-sizing: content-box !important;
    box-sizing: content-box !important;
}

ul {
	padding: 0px;
}

.abs-alert{
	position: absolute;
	width: 300px;
	margin-left: auto;
	margin-right: auto;
	left: 0px;
	right: 0px;
	top: 40%;
	z-index: 1;
}

#alert-overlay {
	background-color: rgb(119, 119, 119);
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	opacity: 0.7;
}

.not-active a, .not-active a:hover  {
	color: lightgrey;
	background: white;
}

.leaflet-control-layers {
	top: 50px;
}

.leaflet-container a.leaflet-popup-close-button {
	padding: 4px 6px 0 0;
}

.form-control:focus {
	border-color: #ccc;
	box-shadow: none;
}


.upper-body a{
	vertical-align: top;
}

.upper-body .icon{
	width: 25px;
	padding-left: 10px;
	float: right !important;
}

@media (max-width: 768px) {
	.sidebarModal .modal-dialog {
		width: 100%;
		display: block;
	}
	
	.large-modal {
		width: 100%;
	}
	
	.no-footer .modal-body {
		padding: 0px 0px 50px !important;
	}
	
	#timeslider {
		width: 140px;
	}
	
	#share-url-div {
		width: 90%;
	}
}

@media (max-width: 325px) {
	.topleft-controls, #lang-select, #season-btns, #controls-line-break, #controls-year, #share-btn, #help-btn,#intro-btn, .leaflet-control-layers {
		display: none;
	}
	
	#timeslider {
		width: 100px;
	}
	
	.control-btns {
		bottom: 15px;
	}
}

@media (min-width: 768px) {
	.modal-dialog {
		width: 400px;
	}
	
	#shareModal .modal-dialog {
		width: 700px;
	}
}
