@media screen {

	html {
		height: 100%;
		overflow-y: scroll;
	}
	body {
		height: auto;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 72px;
		z-index: 10000;
	}
	header .ym-wbox {
		position: relative;
	}
	header .social_links {
		position: absolute;
		top: 1em;
		right: 0;
	}
	header .social_links a {
		padding: .5em;
	}

	nav {
		position: fixed;
		top: 72px;
		left: 0;
		right: 0;
		height: 42px;
		z-index: 12000;
	}
	nav.navbottom{
		z-index: 10000;
	}

	#main {
		position: relative;
		margin-top: 160px;
		padding-bottom: 12em;
	}

	.ie #main {
		position: relative;
		top: 160px;
		margin-top: 0;
		overflow: hidden;
		overflow-y: hidden;
	}

	.ym-wrapper {
		max-width: 990px;
		margin: 0 auto;
	}

	#main > .ym-wrapper.content {
		max-width: 717px;
		padding-bottom: 2em;
		z-index: 200;
	}
	.ie #main > .ym-wrapper.content {
		display: block;
	}
	#main > .ym-wrapper.content.hide {
		display: none;
	}
	#main > .ym-wrapper.content .ym-wbox {
		padding: 1em 2em;
	}

	.showhide {
		position: fixed;
		bottom: 72px;
		left: 50%;
		right: 50%;
		z-index: 12000;
		max-width: none;
	}
	.showhide .ym-wbox {
		padding: 0;
		text-align: center;
		white-space: nowrap;
	}
	.showhide a {
		display: block;
		width: 160px;
		margin-left: -80px;
		height: 28px;
		line-height: 28px;
	}

	.rates {
		position: fixed;
		bottom: 72px;
		left: 0;
		right: 0;
		z-index: 11000;
	}

	.rates .ym-wbox > div {
		width: 120px;
		height: 110px;
		float: left;
		padding: 2px;
		margin: 0 2px;
		overflow: hidden;
		margin-bottom: -30px;
	}
	.rates .ym-wbox > div span {
		font-size: 90%;
	}

	nav.navbottom {
		top: auto;
		bottom: 30px;
	}

	footer {
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		height: 30px;
		z-index: 10000;
	}
	footer .ym-wbox {
		padding: 0 1.5em;
		line-height: 30px;
		vertical-align: middle;
	}
	footer .address {
		display: inline-block;
		float: left;
	}
	footer .copyright {
		display: inline-block;
		float: right;
	}

	#supersized, #supersized li, #supersized img {
		margin: 0;
	}
	#slidecaption {
		display: none;
	}

	h1 {
		margin-top: 0;
		padding-top: 0.4286em;
	}

	.gallery_simple li {
		width: 120px;
		height: 90px;
		display: -moz-inline-stack;
		display: inline-block;
		vertical-align: top;
		margin: 5px;
		zoom: 1;
		*display: inline;
	}
	.gallery_simple img {
		max-width: 120px;
		max-height: 90px;
		width: 120px;
		height: 90px;
	}

	.ui-datepicker {
		z-index: 12000 !important;
		top: 280px !important;
	}

	#cookie-consent {
		position: fixed;
		bottom: 0px;
		left: 0px;
		right: 0px;
		z-index: 5000000;
		min-height: 4em;

		background: #666;
		background: rgba( 34, 34, 34, 0.9 );
		color: #FFF;
		line-height: 1.5em;
		font-size: 1.3em;
	}
	#cookie-consent .ym-wrapper {
		position: relative;
	}
	#cookie-consent .ym-wbox {
		padding: 1em 4em .5em 1em;
	}
	#cookie-consent a, #cookie-consent a:hover {
		color: #FFF;
		font-weight: bold;
		background-color: transparent;
	}
	#cookie-consent a:hover {
		text-decoration: underline;
	}
	#cookie-consent .close {
		position: absolute;
		top: .5em;
		right: 1em;

		width: 30px;
		height: 30px;
		line-height: 30px;
		border-radius: 100%;
		padding: 0;
		text-align: center;
		font-family: Verdana, Arial;
		font-size: 100%;

		border: 2px solid #FFF;
		text-decoration: none;
	}
	#cookie-consent .close:hover {
		color: #999;
		border: 2px solid #999;
		text-decoration: none;
	}
}

@media screen and ( max-width: 1230px) {
	#main > .ym-wrapper.content {
		margin: 0;
	}
}

@media screen and ( max-width: 990px), screen and ( max-height: 600px ) {
	header {
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		height: auto;
		min-height: 105px;
	}
	header .social_links {
		position: relative;
		top: auto;
		right: auto;
		margin-top: 1em;
	}

	nav {
		position: relative;
		top: auto;
		bottom: auto;
		left: auto;
		right: auto;
		height: auto;
	}

	.ym-wrapper {
		max-width: none;
	}

	#main {
		margin-top: 0;
		padding-bottom: 0;
	}

	#main > .ym-wrapper.content {
		display: block;
		max-width: none;
		margin: 0;
		padding-bottom: 0;
	}
	#main > .ym-wrapper.content.hide {
		display: block;
	}

	.showhide {
		display: none;
	}

	.rates {
		position: relative;
		bottom: auto;
		left: auto;
		right:auto;
		z-index: 11000;
		overflow: hidden;
		max-width: 414px;
	}
	.rates .ym-wbox > div {
		margin: .5em;
	}

	nav.navbottom {
		position: relative;
		top: auto;
		bottom: auto;
		margin: 0;
		overflow: hidden;
	}
	nav.navbottom ul {
		float: none;
	}

	footer {
		position: relative;
		bottom: auto;
		left: auto;
		right: auto;
		overflow: hidden;
		height: auto;
	}
	footer .address {
		display: block;
		float: none;
	}
	footer .copyright {
		display: block;
		float: none;
	}

	#supersized {
		position: absolute;
		height: 300px;
		top: 147px;
		bottom: auto;
	}

	#supersized li {
		position: absolute;
		height: 300px;
	}
}

@media screen and ( max-width: 480px) {
	nav {
		margin-top: 200px;
	}

	#main {
		margin-top: 0;
	}

	#supersized {
		top: 105px;
	}
}
