/* general */
body
{
	cursor: url('//mekweb.eu/cursor.cur'),auto;
	/* Margin bottom by footer height */
	margin-bottom: 40px;
}
h2
{
	font-size: 35px;
}
label
{
	font-weight: normal;
}
a.page-anchor
{
	/* anchor for navigation on the same page; by default page header is over scrolled content */
	position: relative;
	top: -60px;
}
.paragraph
{
	margin: 10px 0 10px 0;
}
.normaltext
{
	font-family: 'Roboto Slab', serif;
	font-size: 16px;
	line-height: 1.5;
}
.thumbnail
{
    border: 0 none;
    box-shadow: none;
	margin-bottom: 10px;
	padding: 5px;
}
a, a:hover, a:active
{
	color: #118997;
}
div#last-spacer
{
	height: 40px;
}
.btn
{
	font-size: 16px;
}
.toplist
{
	position: absolute;
	top: 70px;
	left: 20px;
}
/* http://stackoverflow.com/questions/25070144/bootstrap-modal-removes-scroll-bar */
.modal-open
{
    overflow-y: auto;
}
div.page-maintext
{
	padding-top: 20px;
	text-align: justify;
	position: relative;
}
span.bg-glyph
{
	position: absolute;
	top: 50px;
	right: 40px;
	font-size: 250px;
	color: lightgray;
	z-index: -1;
}
div.text-divider
{
	margin: 10px 0 10px 60px; /* 60px: same as letter-spacing in :before to have proper center */
	text-align: center;
}
div.text-divider:before
{
	content: "\f111 \f111 \f111";
	color: #118997;
	font-family: 'FontAwesome';
	letter-spacing: 60px;
}
.collapse-group .collapse-button-text + .collapse-toggle-glyph
{
	margin-left: 10px;
}
.collapse-group .collapse-toggle-glyph:first-child
{
	margin-right: 10px;
}
.collapse-group + .collapse-group
{
	margin-top: 10px;
}

/* navbar */
.header-and-footer
{
	font-family: 'Kelly Slab', cursive;
	background-color: #118997;
	color: white;
}
a.navbar-brand
{
	margin-top: -3px;
	line-height: 80%;
	text-transform: uppercase;
	letter-spacing: 2px;
}
a.navbar-brand > small
{
	font-size: 11px;
}
.navbar-nav
{
	font-size: 16px;
}
@media (max-width: 993px)
{
	div#navbar > ul.nav > li > a
	{
		/* condense menu items on lower resolutions */
		padding-left: 10px;
		padding-right: 10px;
	}
}
@media (min-width: 992px)
{
	div#navbar > ul.nav > li > a
	{
		letter-spacing: 1px;
	}
}
nav .navbar-header .navbar-toggle
{
	/* shift hamburger menu to match other buttons */
	margin-top: 7px;
	padding-top: 11px;
}
/* additional header buttons - XS layout positions below, others are shared in all layouts */
.navbar-btn-user
{
	position: absolute;
	top: -1px;
	right: 50px;
	line-height: 100%;
}
.navbar-btn-language
{
	position: absolute;
	top: -1px;
	right: 92px;
	line-height: 100%;
}
.navbar-btn-language div
{
	height: 33px;
}
.navbar-btn-language div img
{
	margin-top: 2px;
}
.navbar-btn-user .navbar-toggle:hover, .navbar-btn-user .navbar-toggle:focus,
.navbar-btn-language .navbar-toggle:hover, .navbar-btn-language .navbar-toggle:focus
{
    background-color: #195B63;
}
/* additional header buttons - positions for middle layouts and resolutions */
@media (min-width: 768px) and (max-width: 1392px)
{
	header .navbar-additional-buttons
	{
		position: absolute;
		top: 50px;
		right: 0px;
	}
	header .navbar-btn-user
	{
		right: 0px;
	}
	header .navbar-btn-language
	{
		right: 42px;
	}
	header .navbar-btn-user .navbar-toggle
	{
		border: 1px solid #195B63;
		background-color: #118997;
	}
	header .navbar-btn-language .navbar-toggle
	{
		border: 1px solid #195B63;
		background-color: #118997;
		padding-bottom: 8px;
	}
}
/* additional header buttons - positions for extra wide layouts */
@media (min-width: 1393px)
{
	/* make additional buttons that are part of navbar visible again */
	nav .navbar-additional-buttons .navbar-toggle
	{
		display: block;
	}
	nav .navbar-additional-buttons .navbar-btn-user
	{
		right: 0px;
	}
	nav .navbar-additional-buttons .navbar-btn-language
	{
		right: 42px;
	}
}
/* try skrebl.eu button */
.skrebl
{
	position: absolute;
	top: 60px;
	right: 15px;
	border: 1px solid #195B63;
	background-color: #f5a713 !important;
	padding: 5px;
}
.skrebl:hover,
.skrebl:active,
.skrebl:link
{
	text-decoration: none;
}
@media (min-width: 768px) and (max-width: 1392px)
{
.skrebl
{
	top: 100px;
}
}

/* bazar button */
.bazar
{
	position: absolute;
	top: 60px;
	right: 130px;
	border: 1px solid #195B63;
	background-color: #f5a713 !important;
	padding: 5px;
}
.bazar:hover,
.bazar:active,
.bazar:link
{
	text-decoration: none;
}
@media (min-width: 768px) and (max-width: 1392px)
{
.bazar
{
	top: 100px;
}
}

/* login form */
div.login-form
{
	padding: 10px;
	color: black;
    -webkit-transition: opacity 300ms ease-out;
    -moz-transition: opacity 300ms ease-out;
    -o-transition: opacity 300ms ease-out;
    transition: opacity 300ms ease-out;
	display: block !important;
	visibility: hidden;
	opacity: 0;
	min-width: 100px; /* override bootstrap's default */
}
.open div.login-form {
	opacity: 1;
	visibility: visible;
}
div.login-form input[type="text"], div.login-form input[type="password"]
{
	width: 270px;
}
div.remember-me
{
	/* by default the remember me checkbox does not center nicely with login button */
	margin-top: 7px;
}
.jumbotron div.login-form
{
	text-shadow: none;
}

/* footer */
html
{
	position: relative;
	min-height: 100%;
}
.footer
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	/* Set the fixed height of the footer here */
	height: 40px;
	padding-top: 10px;
}

/* home page */
div.jumbotron
{
    margin-bottom: 0px;
    background-image: url('./../images/jumbotron.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    color: white;
	text-align: center;
    text-shadow: black 1px 1px 1px;
	padding: 40px 0 20px 0;
	font-family: 'Exo 2', sans-serif;
}
div.jumbotron a
{
	color: white;
}
h1.home-heading
{
	padding-top: 20px;
	padding-bottom: 35px;
}
h1.non-home-heading
{
	margin-top: 20px;
}
p.non-home-heading-small
{
	margin: 0;
}
@media (min-width: 992px)
{
	.home-right-column
	{
		/* make a little space between home page columns */
		padding-left: 30px;
	}
}
h3.home-download-heading
{
	margin-top: 5px;
}
.thumbnail-trip-overlay, .trips-thumbnail-trip-overlay
{
	position: absolute;
	z-index: 1;
	bottom: 0;
	left: 0;
	margin-bottom: 10px;
	margin-left: 11px;
	padding: 0;
	width: 222px;
	color: white;
	text-align: center;
	font-size: 14px;
    /* Fallback for web browsers that don't support RGBa */
    background-color: rgb(0, 0, 0);
	/* Proper setting for modern browsers */
	background-color: rgba(0, 0, 0, 0.4);
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}
.thumbnail-trip-calendar, .trips-thumbnail-trip-calendar
{
	position: absolute;
	z-index: 1;
	top: 15px;
	right: 15px;
	padding: 0;
}
@media (max-width: 993px)
{
	.thumbnail-trip-overlay
	{
		/* correct buggy 2px overlay offset */
		margin-left: 9px !important;
	}
}
@media (min-width: 994px) and (max-width: 1199px)
{
	.thumbnail-trip-overlay
	{
		/* correct buggy 1px overlay offset */
		margin-left: 10px !important;
	}
}

/* BootstrapDialog styles */
.dialog-info-header
{
	background-color: #118997 !important; /* custom color for dialog header of type Info */
}

/* Pagination */
.pagination > li > a,
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > a:link
{
	color: #118997;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > a:link
{
	background-color: #118997;
	color: white;
}

/* Tabs */
ul.nav-tabs
{
	margin-top: 10px;
}
ul.nav-tabs .active a,
ul.nav-tabs .active a:hover,
ul.nav-tabs .active a:focus,
ul.nav-tabs .active a:active
{
	color: white;
	background-color: #118997;
	cursor: pointer;
	height: 52px;
	padding-top: 18px;
}
ul.nav-tabs a
{
	border: 1px solid lightgray;
	vertical-align: bottom;
}
ul.nav-tabs li:not(.active) a
{
	margin-top: 8px;
}

/* about page */
.about-icon .fa
{
	font-size: 100px;
	color: #118997;
}
.about-likedislike-icon
{
	font-size: 18px;
	margin-right: 5px;
}
.about-likedislike-box
{
	margin-top: 20px;
	padding: 0;
}
.about-likedislike-box h4
{
	text-transform: uppercase;
	letter-spacing: 2px;
}
.about-likedislike-box div p
{
	white-space: nowrap;
}
@media (min-width: 701px)
{
	.about-icon-descriptions
	{
		position: relative;
		left: 29px;
	}
}
@media (min-width: 1200px)
{
	/* extra margin to the right of icon for extra-wide layouts - padding does not work and margin breaks layout so use positioning */
	.about-icon-descriptions
	{
		position: relative;
		left: 39px;
	}
}
@media (max-width: 700px)
{
	/* hide icons for very small layouts */
	.about-icon
	{
		display: none;
	}
}

/* guestbook page */
.guestbook-nick
{
	font-size: 24px;
}
/* smilies in guestbook */
.guestbook-smilies > img
{
	cursor: pointer;
}
/* smilies inside text (already embedded) */
img.smilie-embedded, .guestbook-post > img
{
	margin-top: -4px;
}

/* download page */
div.icon-download
{
	font-size: 60px;
}
div.download-button-wrapper
{
	margin: 25px 0 25px 0;
}
div.download-now
{
	text-transform: uppercase;
	letter-spacing: 2px;
}
.thumbnail-simple
{
	margin: 5px;
	-webkit-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.75);
}

/* trips page */
/* positions are a bit corrected instead of using home page thumbnail styles */
figure.trips-thumbnail-trip
{
	display: inline-block;
	position: relative;
	margin: 5px;
}
.trips-thumbnail-trip-overlay
{
	margin-bottom: 5px;
	margin-left: 5px;
}
.trips-thumbnail-trip-calendar
{
	top: 10px;
	right: 10px;
}
div.map-info
{
	margin-top: 10px;
	margin-bottom: 10px;
}
.alternate-center
{
	margin: 10px auto 0 auto;
}
div#map-canvas
{
	width: 700px;
	height: 500px;
}
/*
btn-file styles from http://www.abeautifulsite.net/whipping-file-inputs-into-shape-with-bootstrap-3/
see associated js code as well in script.js.php
*/
.btn-file {
	position: relative;
	overflow: hidden;
}
.btn-file input[type=file] {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	font-size: 100px;
	text-align: right;
	filter: alpha(opacity=0);
	opacity: 0;
	outline: none;
	background: white;
	cursor: inherit;
	display: block;
}
div.control-label-left
{
	/* just as conrol-label from bootstrap but aligned left */
	text-align: left;
	padding-top: 7px;
	padding-left: 0;
}

/* add form padding below collapse/expand button */
form.form-collapse-expand
{
	margin-top: 20px;
}
/* hide ad hyperlink in tinymce statusbar */
.tox-statusbar__branding
{
	display: none;
}