/* TEMPORARY STYLES */

#covidButton{
	padding: 5px 15px;
    color: #fff !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 10px;
    border: 1px solid #6d2305;
    background: #b93a00;
    font-weight: bold;
    cursor: pointer;
    z-index: 30;
    position: relative;
    display: inline-block;
	
}

@media (min-width: 830px) {
#covidButton{
	left: -5%;
	max-width: 18%;
    text-align: center;
}
}

@media (min-width: 1000px) {
#covidButton{
	left: 0;
	max-width: 100%;
    text-align: center;
}	
}
/* OUTER PAGING LAYOUT - MOBILE FIRST */

* {
    box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body, html { height: 100%; }

a { text-decoration: none; }
a:link,a:visited { color: #6d2305; }
a:hover,a:active { color: inherit; }

.obg { background-color: #fe5000; }
.lgbg { background-color: #a2cf6f; }
.dgbg { background-color: #82af4f; }
.drbg { background-color: #6d2305; }

.left{ float: left; }
.right{ float: right; }
img.left{ margin: 0 10px 10px 0; }
img.right{ margin: 0 0 10px 10px; }
.tleft{ text-align: left; }
.tright{ text-align: right; }
.tcenter{ text-align: center; }

body {
	font-family: "Droid Sans", Arial, Helvetica, sans-serif;
	text-align: center;
	letter-spacing: 1px;
}

input[type=text], input[type=email]{
	padding: 5px;
}

input[type=submit], button, .button{
	padding: 5px 15px;
	color: #fff !important;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-top: 10px;
	border: 1px solid #6d2305;
	background: #fe5000;
	font-weight: bold;
	cursor: pointer;
}

header {
	text-align: center;
	z-index: 20;
}

header img {
	max-width: 90%;
	height: auto;
	margin: 0 5%;
	vertical-align: middle;
}

header address { display: none;}
address{ font-style: normal; }

nav {
	position: absolute;
	width: 100%;
	z-index: 10;
}

nav ul { list-style: none; }

nav ul li {
	display: inline-block;
	vertical-align: middle;
	width: 100%;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 2px;
	text-shadow: 1px 1px 1px #aaa;
	border-bottom: 1px solid #fff;
}

nav ul li.hide { display: none;}

nav a, nav i {
	display: block;
	padding: 8px 16px;
	color: #fff !important;
	text-decoration: none;
	transition: 0.4s ease;
}

nav a:not(.nohover):hover {
	background: #82af4f;
}

.fa-bars, #navLang, .fa-facebook{
	position: absolute;
	top: 0;
}

.fa-bars { left: 0; }
#navLang { right: 0; }
.fa-facebook {
	right: 40px;
	background: #3B5998;
	height: 24px;
	border-radius: 4px;
	margin: 6px;
	padding: 6px;
}
nav a.fa-facebook:hover { background: #5B79b8; }

#navLang li { vertical-align: middle; border-style: none; }
#navLang li a { padding: 8px }
#navLang li a img{ vertical-align: bottom; }

#midsection{
	position: relative;
	top: 35px;
	height: auto;
	margin: 0 0 35px 0;
	display: table;
	width: 100%;
}

/* Hack to toggle order of page and calendar on mobile */
#pagesection { display: table-header-group;}
#calendarsection { display: table-footer-group;}

#calendarsection {
	font-size: .7em;
}

#calendarsection form>select, #calendarsection form>p {
	padding: 3px;
	margin: 10px auto;
	background-color: #fff;
	border: 1px solid #bfbfbf;
	font-size: .95em;
}

#calendarsection form table {
	text-align: left;
	margin: 10px auto;
}

#calendarsection form table td{
	padding: 0 10px;
}

#calendarsection button {
	display: block;
	margin: 10px auto;
}

main {
	padding: 20px;
	text-align: left;
	font: .8em/1.6 "Droid Sans", Arial, Helvetica, sans-serif;
	max-width: 680px;
	margin: 0 auto;
}

main#gallery img, main#facilities img{
	box-shadow: 3px 3px 2px rgba(0, 0, 0, 0.5);
}

#TA_cdsratingsonlynarrow228, #TA_cdsratingsonlynarrow228>div{
	margin: 20px auto;
	text-align: center;
}

#midsection::after {
    content: "";
    clear: both;
    display: table;
}

footer {
	padding: 10px;
	box-shadow: 0 -3px 5px 0 rgba(0,0,0,0.16);
	clear: both;
	margin-top: 10px;
}

footer section, footer address {
	margin: 20px 0;
}

footer section h4{
	text-align: center;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	margin-bottom: 5px;
	border-bottom: 1px solid #6d2305;
}

footer section p { margin-top: 10px; }
footer section p a { font-size: .8em; }

/* tablet mode */
	@media (min-width: 830px){

	header {
		text-align: left;
		position: relative;
	}

	header img {
		max-height: 100px;
		width: auto;
	}

	header address {
		display: inline-block;
		position: absolute;
		right: 0;
		bottom: 0;
		font-size: .8em;
		font-weight: bold;
		background: #a2cf6f;
		padding: 10px 10px 0 50px;
		line-height: 1.5em;
		color: #fff;
		border-top-left-radius: 30% 100%;
	}

	nav {
		position: relative;
		box-shadow: 0 3px 5px 0 rgba(0,0,0,0.16);
		margin-bottom: 10px;
	}
	
	#navMain {
		text-align: left;
	}

	#navMain li {
		display: inline-block !important;
		width: auto;
		border-style: none;
	}

	nav ul a {
		display: inline-block;
		font-size: .9em;
		padding: 12px ;
	}

	.fa-bars {
		display: none;
	}

	#navLang li a { padding: 12px }

	.fa-facebook {
		right: 50px;
		background: #3B5998;
		height: 30px;
		border-radius: 6px;
		margin: 7px;
		padding: 6px 10px;
	}

	nav ul#navMain li.active a {
		background: #82af4f;
	}

	#midsection{
		position: relative;
		top: 0;
	}

	#pagesection{
		display: block;
	}
	
	#calendarsection{
		display: block;
		float: left;
		height: 100%;
		padding: 20px 40px;
		z-index: 1;
		max-width: 320px;
		/*min-width: 30%;*/
	}
	
	#calendarsection button {
		width: 100%;
	}
	
	#calendarsection.home{
		position: absolute;	
		float: none;		
		background-color: rgba(255,255,255,.5);
	}
		
	main:not(#home){
		margin-left: 322px;
		/*margin-left: 30%;*/
	}

	main#home{
		padding: 20px 60px;
		position: relative;
		z-index: 2;
	}
	
	#footer_contact { display: none; }

	footer {
		padding: 0;
	}

	footer section {
		width: 30%;
		display: inline-block;
		vertical-align: top;
		margin: 10px 1%;
	}

	#insta { margin: 5px 1% 0 1%; }
}

/* desktop mode */
@media (min-width: 1000px) {

	header address {
		background: #a2cf6f;
		padding: 10px 10px 0 50px;
		line-height: 1.5em;
		color: #fff;
		border-top-left-radius: 30% 100%;
	}

	nav{
			margin-bottom: 10px;
	}

	nav ul a {
		font-size: 1em;
		padding: 12px 20px;
	}

	#navMain li:first-child { margin-left: 20px; }
	
	.fa-facebook {
		right: 50px;
		background: #3B5998;
		height: 30px;
		border-radius: 6px;
		margin: 7px;
		padding: 6px 10px;
	}
} 