@media screen {

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

	header {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		height: 77px;
		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: 77px;
		left: 0;
		right: 0;
		height: 42px;
		z-index: 12000;
	}

	#main {
		position: relative;
		margin-top: 160px;
	}

	.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: 12em;
		z-index: 200;
		margin:0 33% 0 auto;
	}
	.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: 77px;
		left: 50%;
		right: 50%;
		z-index: 12000;
		max-width: none;
	}
	.showhide .ym-wbox {
		padding: 0;
		text-align: center;
		white-space: nowrap;
	}
	.showhide a {
		width: 160px;
		margin-left: -80px;
	}

	.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 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: .25em 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;
	}
}

@media screen and ( max-width: 1320px) {
	#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: 112px;
	}
	header .social_links {
		position: relative;
		top: auto;
		right: auto;
		margin-top: 1em;
		min-height: 17px;
	}

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

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

	#main {
		margin-top: 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: 114px;
		bottom: auto;
	}

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

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

	#main {
		margin-top: 0;
	}

	#supersized {
		height: 200px;
		top: 112px;
	}

	#supersized li {
		height: 200px;
	}
}
