body {
	background: url('graphics/background.jpg') #000 top center repeat;
	color: #9dacd2;
	color: #bed1ff;
}
/*
@media screen and (max-width: 320px) {
	h1 {color: red;}
	}
*/

header > div{
	max-width: 1020px;
	margin: 0px auto;
}

.tach-wrapper {
	float: left;
}

.menu-wrapper {
	margin: 0px 10px 0px 360px;
}

.facebook {
	display: inline-block; 
	vertical-align: middle;
	border: 0px solid green;
}

.test2 {
	display: inline-block; 
	max-width: 400px;
	vertical-align: middle;
	border: 0px solid red;
	
}




/* ===================================== HEADER ===================================== */



header {
	min-height: 559px;
	color: #fff;
	text-align: center;
}

@media screen and (max-width: 405px) {
	header {
		background: url('graphics/banner-400.jpg') top center no-repeat;
	}
}

@media screen and (min-width: 400px) and (max-width: 763px) {
	header {
		background: url('graphics/banner-800.jpg') 0 -130px no-repeat;
		min-height: 429px;
	}
}

@media screen and (min-width: 400px) and (max-width: 606px) {
	header {
		background: url('graphics/banner-800.jpg') top center no-repeat;
		min-height: 559px;
	}
}

@media screen and (min-width: 763px) {
	header {
		background: url('graphics/banner.jpg') top center no-repeat;
		min-height: 559px;
		padding-top: 30px;
	}
}

header .container-fluid {
	max-width: 1140px;
	padding-top: 30px;
}

header h1 {
	margin: 0px 0px 15px;
	padding-top: 25px;
	font-size: 2.7em;
}

header h2 {
	font-size: 2.15em;
	margin: 0px 0px 20px;
}

header h2 span {
	margin: 0px 20px;
}

header .row .row div:first-child {
	margin: 50px 0px 30px;
}

header ul {
	display: inline-block;
	margin-bottom: 0px;
	padding-left: 0px;
	list-style-type: none;
}

header li {
	display: inline-block;
	margin: 5px 5px 5px;
	padding: 0px 15px;
	background-color: #070b28;
	border-radius: 10px;
	border: 2px solid #4c55de;
}

header a {
	display: block;
	color: #4c55de;
	font-size: 1.5em;
	font-family: arial;
	font-weight: bold;
}

header li:hover,
header li.active {
	border: 2px solid #d62e2d;
}

header li:hover a,
header li.active a {
	color: #d62e2d;
	text-decoration: none;
}

header .facebook {
	min-width: 90px;
}

header .facebook li {
	min-width: 76px;
	padding: 0px;
	background: url('graphics/facebook-link.png') #070b28 center right no-repeat;
}

header .facebook li:last-child {
	background: url('graphics/google-link.png') #070b28 center right no-repeat;
}

header .facebook li a {
	display: inline-block;
	width: 76px;
	height: 75px;
	margin: 0px;
	vertical-align: top;
}

header .facebook li:hover {
	background: url('graphics/facebook-hover.png') center right no-repeat;
	border: 2px solid #4c55de;
}

header .facebook li:last-child:hover {
	background: url('graphics/google-hover.png') center right no-repeat;
	border: 2px solid #4c55de;
}

@media screen and (max-width: 380px) {
	header  .row  .row > div:last-child {
		width: 100%;
	}
	
header .facebook {
	width: 100%;
	text-align: center;
}

}




@media screen and (max-width: 400px) {

	header .container-fluid {
		padding-top: 0px;
	}
	
	header h1 {
		font-size: 2.5em;
	}

	header h2 {
		font-size: 1.8em;
		margin: 0px 0px 0px 0px;
	}
	
	header h2 span {
		margin: 0px 0px;
	}


	header button {
		float: right;
		width: 50px;
		height: 50px;
		margin-right: 40px;
		background: -webkit-linear-gradient(red, blue);
		background: -o-linear-gradient(red, blue);
		background: -moz-linear-gradient(red, blue);
		background: linear-gradient(#545c71, #202b46); 
		box-shadow: 0px 0px 3px 3px #4c55de;
		border-radius: 10px;
		border: 1px solid #050607;
	}

	header img {
		float: right;
		margin-right: 10%;
		box-shadow: 0px 0px 3px 3px #4c55de;
		border-radius: 10px;
		border: 1px solid #050607;
	}

}

@media screen and (min-width: 400px) {
	header button {
		display: none;
	}
	#scroll-down {
		display: none;
	}
}


@media screen and (min-width: 970px) {
	
	header h2 {
		margin: 0px 0px 25px;
	}
	header li {
		margin: 20px 5px;
	}
	.test2 li {
		margin: 5px 5px;
	}
}

@media screen and (max-width: 920px) {

	header h1 {
		margin: 0px 0px 10px;
		padding-top: 15px;
		font-size: 2.2em;
	}
}

@media screen and (max-width: 830px) {

	header h1 {
		font-size: 1.8em;
	}
}

@media screen and (max-width: 763px) {
	
	header h1 {
		font-size: 2.7em;
	}
	.menu-wrapper {
		margin: 0px;
	}
	.facebook header li {
		display: inline-block;
	}
	header a {
		padding: 5px 0px;
	}
}

@media screen and (max-width: 405px) {

	header h1, header h2 {
		padding: 5px;
		text-align: left;
	}
	header h1 {
		font-size: 2.5em;
	}
	.menu-wrapper {
		margin-left: 0px;
	}
	header ul {
		display: block;
	}
	header li {
		display: block;
	}
	header .facebook ul {
		display: inline-block;
	}
	header .facebook li {
		display: inline-block;
	}
	header a span {
		display: none;
	}
	.test2 {
		display: block;
	}
	#scroll-down {
		position: absolute;
		top: 60px;
		right: 10px;
		margin: 0px;
	}
}





/* ===================================== CONTENT ===================================== */



.container {
	max-width: 1050px;
}

.main {
	clear: both;
	font-size: 16px;
}

@media screen and (max-width: 768px) {
	.main {
		margin: 0px 30px;
	}
}

@media screen and (max-width: 400px) {
	.main {
		margin: 0px 15px;
	}
	.main .top h2 {
		margin: 10px 15px 10px;
	}
}

.main .top h2 {
	margin: 20px 40px 10px;
	padding-bottom: 30px;
	text-align: center;
	border-bottom: 1px solid #9dacd2;
}

.main a, .main a:link, .main a:visited {
	color: #428bca;
}

.main a:hover, .main a:focus, .main a:active {
	color: #73a7df;
}

hr {
	border-color: #9dacd2;
}



.box {
	padding: 15px;
	background-image: url(graphics/box-top.png), url(graphics/box-foot.png);
	background-position: center top, center bottom;
	background-repeat: repeat-x, repeat-x;
	background-color: #111624;
	border-radius: 20px;
}


.box-top {
	padding: 15px;
	background: url(graphics/box-top.png) #111624 center top repeat-x;
	border-radius: 20px;
}

.box-foot {
	padding: 15px;
	background: url(graphics/box-foot.png) #111624 center bottom repeat-x;
	border-radius: 20px;
}


.locations h3 {
	margin: 0px 0px 20px;
	height: 30px;
	background: url("graphics/home-h3.jpg") 0 0 no-repeat;
	background-size: contain;
}


.content {
	margin-top: 20px;
	font-size: 1.3em;
	text-align: center;
}

.content > div:last-child > div {
	clear: both;
	margin-top: 20px;
}

.content > div:first-child  > div:first-child {
	margin-bottom: 20px;
}

.content h3 {
	margin: 10px 0px;
	font-weight: bold;
}

.content h4 {
	margin: -10px 0px 10px;
}

.content img {
	width: 100%;
	max-width: 400px;
	padding: 2px;
	box-shadow: 0px 0px 5px #bed1ff;
}





@media screen and (max-width: 400px) {
	.main > div:first-child button {
		float: right;
		margin-left: 20px;
		padding: 15px;
	}

	.main > div:first-child img {
		float: right;
		margin-left: 20px;
		box-shadow: 0px 0px 3px 3px #4c55de;
		border-radius: 10px;
		border: 1px solid #050607;
	}

	.main .top h2 {
		margin: 20px 20px 10px;
		padding-bottom: 30px;
		text-align: center;
		border-bottom: 1px solid #9dacd2;
	}
}

@media screen and (min-width: 400px) {
	.main > div:first-child button {
		display: none;
	}
	#scroll-up {
		display: none;
	}
}

@media screen and (max-width: 400px) {
	.main .top h2 {
		text-align: left;
	}
}



/* ===================================== HOME PAGE? ===================================== */


.book {
	margin: 20px 0px;
	font-size: 1.8em;
	text-align: center;
}

.discount {
	/* width: 95%;
	max-width: 400px; */
	margin: 0px auto;
	padding-bottom: 20%;
	background: url('graphics/home-advert.jpg') 0 0 no-repeat;
	background-size: contain;
	-ms-transform: rotate(-3deg); /* IE 9 */
	-webkit-transform: rotate(-3deg); /* Chrome, Safari, Opera */
	transform: rotate(-3deg);
}



h3.bulletin {
	display: inline-block;
	vertical-align: middle;
	width: 50%;
	margin-right: 5%;
}

p.discount {
	display: inline-block;
	vertical-align: middle;
	width: 40%;
}

@media screen and (max-width: 600px) {

	h3.bulletin {
		width: 100%;
		margin-right: 0%;
	}

	p.discount {
		width: 80%;
		padding-bottom: 40%;
		margin: 0px 10%;
	}
}




/* ===================================== FORMS ===================================== */


form {
	padding-top: 20px;
	text-align: center;
}

form .form-group {
	clear: both;
}

.form-control {
	background-color: #111624;
	color: #bed1ff;
	font-size: 16px;
	border: 1px solid #9dacd2;
}

.btn-default {
	width: 150px;
	background: -webkit-linear-gradient(red, blue); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(red, blue); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(red, blue); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#545c71, #202b46); /* Standard syntax */
	color: #bed1ff;
	font-size: 1.2em;
	box-shadow: 0px 2px 3px 3px #111624;
	border: 1px solid #050607;
}

.btn-default:hover, .btn-default:focus, .btn-default:active {
	background: -webkit-linear-gradient(red, blue); /* For Safari 5.1 to 6.0 */
	background: -o-linear-gradient(red, blue); /* For Opera 11.1 to 12.0 */
	background: -moz-linear-gradient(red, blue); /* For Firefox 3.6 to 15 */
	background: linear-gradient(#616a82, #27314c); /* Standard syntax */
	color: #bed1ff;
	border: 1px solid #050607;
}

label {
	display: block;
	font-weight: normal;
}

form button {
	margin-top: 40px;
}

.error {
	padding: 0px 0px 20px 0px;
	color: #f9a;
	font-size: 1.3em;
	text-align: center;
	border: 0px solid red;
}

.success {
	padding: 50px 0px 200px 0px;
	color: #9bf;
	font-size: 1.3em;
	text-align: center;
	border: 0px solid red;
}

@media screen and (max-width: 768px) {
	form {text-align: left;}
}





/* ===================================== FOOTER ===================================== */




footer {
	margin: 10px 10px;
	text-align: center;
}

footer > div  > div {
	margin: 30px 0px 10px;
}

footer img {
	margin: 0px 0px 10px;
}

footer div.menu a {
	color: #577cda;
	color: #428bca;
	font-size: 1.2em;
}

footer div.menu a:hover {
	color: #9ab1ec;
	color: #73a7df;
}

footer div.menu span {
	font-size: .9em;
	
}

@media screen and (max-width: 768px) {

	footer {
		margin: 0px;
	}
	
	footer .row:first-child {
		/* background-color: red; */
	}
	
	footer div.menu a {
		display: block;
		padding: 10px;
		background-color: #111624;
		border-bottom: 1px solid #1f2640;
	}
	
	footer div.menu a:hover {
		background-color: #1f2640;
	}
	
	footer div.menu span {
		display: none;
	}

}






