
/************************************************************************************
smaller than 1320 - GREEN
*************************************************************************************/
@media screen and (max-width: 1320px) {
/*
#header {
	position: relative;
	height: 110px;
}
.logo img {
	width:80%;
	max-width: 80px;
	position:absolute;
}
*/
/* CONTENT */
/*
#content {
	width: 96%;
	padding: 3% 2%;
}
*/

/* LOGO */	
/* LOGO centered 
.logo {
	width:100%;
	max-width: 150px;
	position:relative;
	float:none;
	margin: 0 auto 20px;
}
.logo img {
	width:100%;
	position:relative;
	float:none;
	margin: 0 auto;
}
*/

.logo {
	width:100%;
	max-width: 180px;
	float:left;
	margin: -5px 0 0 0px;
	position: absolute;
	top: 0px;
	z-index: 50;
}
.logo img {
	width:100%;
	position:relative;
	float:left;
	margin: 0 0 0 0;
}
/* FOOTER */
#footer {
/*background-color:#5E8900;*/
}
}
/************************************************************************************
smaller than 980 - YELLOW
*************************************************************************************/
@media screen and (max-width: 980px) {
.logo {
	width:100%;
	max-width: 150px;
	float:left;
	margin: -5px 0 0 0px;
	position: absolute;
	top: 0px;
	z-index: 50;
}
.logo img {
	width:100%;
	position:relative;
	float:left;
	margin: 0 0 0 0;
}
/* CONTENT 
#content {
	width: 92%;
	padding: 3% 4%;
}
*/
/* TITLE */
.title {
}
/* IMAGE */
/*
.post-image.left {
	margin:0 auto;
	max-width: 100%;
	height: auto;
	width: auto\9;
}

.post-image.right {
	margin:0 auto;
	max-width: 100%;
	height: auto;
	width: auto\9;
}
*/


/* Tables custom contact */
#contact_table table, #contact_tabletbody, #contact_table td, #contact_table tr {
	display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
#contact_table thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
#contact_table tr {
	border: none;
}
#contact_table td {
	/* Behave  like a "row" */
	border: none;
	position: relative;
}
#contact_table td :before {
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	top: 6px;
	left: 6px;
	width: 45%;
	padding-right: 10px;
	white-space: nowrap;
}
#contact_table textarea {
	width: 90%;
}
/* CONTACT FORM */
.contactform {
	width: 90%;
}
/* ENLARGE icon */
.content_5 .images_container .enlarge img {
	padding: 0px 0 0 26px;
}
.content_5 .images_container .enlarge_half img {
	padding: 0px 0 0 17px;
}
/* FOOTER */

#footer {
	/*background-color:#FBFF4F;*/ 
	margin-top: -80px; /* negative value of footer height */
	height: 80px;
}
.nextline {
	float:none;
	display:block;
}
.type-element {
	display:none;
}
#footer #textcontainer p {
	padding-top:12px;
	margin:0 auto;
	text-align: center;
	font: 0.75em/120% 'Open Sans', "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#7a7055;
}
}
/************************************************************************************
smaller than 850  Was 650 - RED
*************************************************************************************/
@media screen and (max-width: 850px) {
#top {
	position:relative;
}
#header {
	position: relative;
	max-height: 150px;
	width:100%;
	margin-top:-16px;/*background-color:#369; */
}
#headerwrap {
	position: relative;
	width:100%;
	margin: 0 auto;
	z-index:60;
	background-color:#0C9;
}
/*
#header {
	position: relative;
	height: 180px;
}
#headerwrap {
	margin-top:0px;
}
*/
/* LOGO */

/* CONTENT */
.maincontentinner {
	width:72%;
}
.maincontentinner_text {
	margin: 0 0 0 10px;
}
/* NAVIGATION */
/* Navigation to vertical NORMAL*/
.sf-menu {
	margin-top: 15px;
	margin-right: 20px;
	padding: 0px;
	list-style: none;
	float: right;
	position: relative;
	top: 0px;
	right: 0px;
	z-index: 300;
}
.sf-menu li {
	font-size:0.85em;
	height: 14px;
	width:100%;
	float:none;
}
.separatorleft, .separatorright {
	display:none;
}
/* Language link*/
.sf-menu a.languages {
}
/* TITLE */
.title {
	font: 1.5em/110% 'CustomFontOne', "Trebuchet MS", Arial, Helvetica, sans-serif;
}
.maintitle {
}
/* CONTACT FORM */
.contactform {
	width: 87%;
	margin: 0 0 0 28px;
}
/* TOOLTIP */
.has-tooltip .tooltip {
	text-align:center;
	left:0px;
	width: 50px;
}
.has-tooltip .tooltip:after {
	left: 22%;
}
/* TABLES */
#tablecustom-2 td.a {
	width: 18%;
}
#tablecustom-2 td.b {
	width: 20%;
}
#tablecustom-2 td.c {
	width: 50%;
	padding-right:0;
}
#tablecustom-2 td.c img {
	width: 100%;
	float:right;
}
/* GOOGLE MAP */
.map_container {
	margin: 0 35px;
}
#map_canvas {
	margin: 0 auto;
	padding: 0;
	background-color:#B1A694;
	width: 745px;
	height: 745px;
	width: 100%;
}
/* FOOTER */

#footer {
/* background-color:#C60000; */
}
}
/************************************************************************************
smaller than 680 - BLUE - MOBILE
*************************************************************************************/
@media screen and (max-width: 680px) {
/* disable webkit text size adjust (for iPhone) */
html {
	-webkit-text-size-adjust: none;
}
#top {
	position:relative;
}
#header {
	position: relative;
	max-height: 100px;
	width:100%;
	margin-top:-16px;/*background-color:#369; */
}
#headerwrap {
	position: relative;
	width:100%;
	margin: 0 auto;
	z-index:60;
	background-color:#369;
}
/* LOGO */	
.logo {
	width:100%;
	max-width: 130px;
	position:relative;
	float:right;
	margin: 0 auto 20px;
}
.logo img {
	width:100%;
	position:relative;
	float:right;
	margin: 0 auto;
}
/* NAVIGATION */
/* Navigation to vertical */
.navigation {
	position:relative;
	margin: 10px 0 0 8%;
	top:10px;
}
.sf-menu {
	margin: 15px 20px 50px 0px;
	float: left;/*
	padding: 0px;
	list-style: none;
	float: left;
	position: relative;
	top: 0px;
	right: 0px;
	left:0;
	z-index: 300;
	*/
}
.sf-menu li {
	/*
	font-size:0.85em;
	height: 14px;
	width:100%;
	float:none;*/
	height: 17px;
	text-align:left;
}
.separatorleft, .separatorright {
	display:none;
}
/* Language link*/
.sf-menu a.languages {
	color:#CCC;
	font-size:0.7em;
	padding: .6em 0.5em;
	max-width:1.8em;
	text-align:center;
	margin: -8px 5px 0 0;
	float:left;
}
/* Mobile menu button*/
nav ul {
	display: none;
	height: auto;
}
nav a#pull {
	display: block;
	/*background-color: #C60;*/
	width: 100%;
	position: relative;
}
nav a#pull:after {
	content:"";
	background: url('../images_general/nav-icon-plus.png') no-repeat;
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	left: 0;
	top: 5px;
	/* rounded corner */
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	opacity:1;
}
nav a#pull:hover {
	opacity:0.7;
}
/*
/*
.sf-menu a.languages:hover {
	color:#000;
	background-color:transparent;
	-webkit-transition: background .2s;
	transition: background .2s;
}
*/
.navigation .social-icons {
	float:left;
	max-width:32px;
	margin:3px 0px 0 0;
}
.maincontent {
	margin: 0px auto 0;
}
.maincontentleftcolumn {
	width:100%;
	max-width:200px;
	float:left;
	margin:0 0 0 0;
	z-index: 600;
}
.maincontentinner {
	width:95%;
	margin: 0 0 0 1.6%;
	background: none;
}
.maintitle {
	margin: 0 0 30px 0;
	text-align:left;
}
.maintitle-multiline {
	margin: 0 0 30px 0;
	text-align:left;
}
/* TABLES single column*/

/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
	display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
/* Tables generic */
/*
tr {
	border: 1px solid #ccc;
}
td {
	border: none;
	border-bottom: 1px solid #eee;
	position: relative;
	padding-left: 50%;
}
td:before {
	position: absolute;
	top: 6px;
	left: 6px;
	width: 45%;
	padding-right: 10px;
	white-space: nowrap;
}
*/
#tablecustom-1 {
	width: 100%;
	border-top: 1px solid #9D8265;
}
#tablecustom-1 tr {
	border-bottom: 2px solid #9D8265;
}
#tablecustom-1 td {
	/* Behave  like a "row" */
	/*border: none;*/
	border-bottom: 1px solid #9D8265;
	position: relative;
	padding: 5px 0 5px 30%;
	width: 70%;
}
#tablecustom-1 td:before {
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	/*top: 6px;*/
	top:5px;
	left: 6px;
	right:0;
	padding: 0 10px 0 0;
	white-space: normal;
}
#tablecustom-1 td.a {
	width: 70%;
}
#tablecustom-1 td.b {
	width: 70%;
}
#tablecustom-1 td.c {
	width: 70%;
}
#tablecustom-1 td.d {
	width: 70%;
}
/* Zebra striping */
#tablecustom-1 tr:nth-of-type(odd) {
	background: #efebe1;
}
#tablecustom-1 td:nth-of-type(1):before {
	content: "DAY";
}
#tablecustom-1 td:nth-of-type(2):before {
	content: "TIME";
}
#tablecustom-1 td:nth-of-type(3):before {
	content: "VENUE";
}
#tablecustom-1 td:nth-of-type(4):before {
	content: "LEVEL";
}
#tablecustom-2 {
	width: 100%;
}
#tablecustom-2 td.a {
	width: 100%;
	padding-right:0;
}
#tablecustom-2 td.b {
	width: 100%;
	padding-right:0;
}
#tablecustom-2 td.c {
	width: 100%;
	padding-right:0;
	padding-top: 20px;
}
#tablecustom-2 td.c img {
	max-width: 320px;
	float:left;
}
#tablecustom-3 {
	width: 100%;
	border-top: 1px solid #9D8265;
}
#tablecustom-3 tr {
	border-bottom: 2px solid #9D8265;
}
#tablecustom-3 td {
	/* Behave  like a "row" */
	/*border: none;*/
	border-bottom: 1px solid #9D8265;
	position: relative;
	padding: 5px 0 5px 0px;
	width: 100%;
}
#tablecustom-3 td:before {
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	/*top: 6px;*/
	top:5px;
	left: 6px;
	right:0;
	padding: 0 10px 0 0;
	white-space: normal;
}
#tablecustom-3 td.a {
	width: 100%;
}
#tablecustom-3 td.b {
	width: 100%;
}
#tablecustom-3 td.c {
	width: 100%;
}
/* Zebra striping */
#tablecustom-3 tr:nth-of-type(odd) {
	background: #efebe1;
}

.tablecustom-4 {
	width: 100%;
	border-top: 1px solid #9D8265;
}
.tablecustom-4 tr {
	border-bottom: 2px solid #9D8265;
}
.tablecustom-4 td {
	/* Behave  like a "row" */
	/*border: none;*/
	border-bottom: 1px solid #9D8265;
	position: relative;
	padding: 5px 0 5px 30%;
	width: 70%;
}
.tablecustom-4 td:before {
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	/*top: 6px;*/
	top:5px;
	left: 6px;
	right:0;
	padding: 0 10px 0 0;
	white-space: normal;
}
.tablecustom-4 td.a {
	width: 70%;
}
.tablecustom-4 td.b {
	width: 70%;
}
.tablecustom-4 td.c {
	width: 70%;
}
.tablecustom-4 td.d {
	width: 70%;
}
/* Zebra striping */
.tablecustom-4 tr:nth-of-type(odd) {
	background: #efebe1;
}
.tablecustom-4 td:nth-of-type(1):before {
	content: "DAY";
}
.tablecustom-4 td:nth-of-type(2):before {
	content: "DATE";
}
.tablecustom-4 td:nth-of-type(3):before {
	content: "TIME";
}
.tablecustom-4 td:nth-of-type(4):before {
	content: "VENUE";
}
#extra.tablecustom-4 tr:nth-of-type(even) {
	background: #efebe1 !important;
}
.tablecustom-5 {
	width: 100%;
	border-top: 0px solid #9D8265;
		margin-top: 0;
}
.tablecustom-5 tr {
	border-bottom: 0 solid #9D8265;
}
.tablecustom-5 td {
	/* Behave  like a "row" */
	/*border: none;*/
	border-bottom: 1px solid #9D8265;
	position: relative;
	padding: 5px 0 5px 30%;
	width: 70%;
}
.tablecustom-5 td:before {
	/* Now like a table header */
	position: absolute;
	/* Top/left values mimic padding */
	/*top: 6px;*/
	top:5px;
	left: 6px;
	right:0;
	padding: 0 10px 0 0;
	white-space: normal;
}
.tablecustom-5 td.a {
	width: 70%;
}
.tablecustom-5 td.b {
	width: 70%;
}
.tablecustom-5 td.c {
	width: 70%;
}
.tablecustom-5 td.d {
	width: 70%;
}
/* Zebra striping */
.tablecustom-5 tr:nth-of-type(odd) {
	background: #efebe1;
}

.tablecustom-5 td:nth-of-type(1):before {
	content: "VENUE";
}
.textinlinebelow {
display:block;

}
.table-row-inset {
	padding:0 5px 0 5px;
}
/* BOX */
.box2-plus-left,
.box2-plus-right  {
	width: 95%;
	float:none;
	margin:0;
}
/* CONTACT FORM */
.contactform {
	width: 87%;
}
.contactform .box {
	width: 90%;
}
.contactform .box_message {
	width: 90%;
}
.contactform img {
	width:70%;
	max-width: 187px;
}
#top_table {
	font-size:1.3em;
	line-height: 120%;
}
/* GOOGLE MAP */

#map_canvas {
	margin: 0 auto;
	padding: 0;
	background-color:#B1A694;
	width: 480px;
	height: 480px;
	width: 100%;
}
/* FOOTER */

#footer {
	/*background-color:#06F;*/ 
	/*
	margin-top: -80px; 
	height: 80px;
	*/
}
}
/************************************************************************************
smaller than 430 - IMAGES and VARIOUS DIMENSION CHANGES
*************************************************************************************/
@media screen and (max-width: 430px) {
/* IMAGE */
.post-image.left {
	float:none;
}
.post-image.right {
	float:none;
	margin: 5px 0 15px 0;
}
.maincontentinner .column-1-left {
	float: none;
	width: 100%;
}
.maincontentinner .column-1-right {
	float: none;
	margin-left: 0;
	width: 100%;
}
.maincontentinner .column-2-left {
	float: none;
	width: 100%;
}
.maincontentinner .column-2-right {
	float: none;
	margin-left: 0;
	margin-top: 20px;
	width: 100%;
}
.maincontentinner .column-3-left {
	float: none;
	margin-left: 0;
	width: 100%;
}
.maincontentinner .column-3-center {
	float: none;
	margin-left: 0;
	width: 100%;
}
.maincontentinner .column-3-right {
	float: none;
	margin-left: 0;
	width: 100%;
}
.maincontentinner .column-4-left {
	float: none;
	width: 100%;
}
.maincontentinner .column-4-right {
	float: none;
	margin-left: 0;
	width: 100%;
}
}
/************************************************************************************
smaller than 350 - LILAC
*************************************************************************************/
@media screen and (max-width: 350px) {
/* LOGO */	
.logo {
	width:100%;
	max-width: 80px;
	position:relative;
	float:right;
	margin: 0 auto;
}
.logo img {
	width:100%;
	position:relative;
	float:right;
	margin: 0 auto;
}
/* CONTACT FORM */
.contactform {
	width: 78%;
}
#contact_table td.top {
	vertical-align:top;
	min-width: 10em;
}
.contactform img {
	width:100%;
	min-width: 120px;
}
#bottom_table {
	font-size:12px;
	line-height: 12px;
}
.maincontentinner {
	width:95%;
	margin: 20px 0 0 1.6%;
	background: none;
}
.maincontentinner .title_secondary {
	font: 1.5em Georgia, "Times New Roman", Times, serif;
}
.maincontentinner .title_secondary_small {
	font: 1em Georgia, "Times New Roman", Times, serif;
}
.maincontentleftcolumn {
	width:100%;
	max-width:150px;
	float:left;
	margin:0 0 0 0;
	z-index: 600;
}
/* GOOGLE MAP */

.map_container {
	margin: 0 20px;
}
#map_canvas {
	margin: 0 auto;
	padding: 0;
	background-color:#B1A694;
	width: 320px;
	height: 250px;
	width:100%;
}
/* FOOTER */

#footer {
	/* background-color:#C9F; 
	margin-top: -100px; 
	height: 100px;*/
}
#footer #textcontainer  {
	margin:0 auto;
	text-align: center;
	font: 0.9em/120% 'Open Sans', "Trebuchet MS", Arial, Helvetica, sans-serif;
	color:#7a7055;
}
#footer #textcontainer p {
	padding-top:10px;
	margin:0 auto;
	text-align: center;
	
}
}

/************************************************************************************
smaller than 200 - BLACK
*************************************************************************************/
@media screen and (max-width: 200px) {
/* NAVIGATION */
.navigation {
	margin: 0 auto;
	width:100%;
	text-align: center;
	background-color:#900;
	max-width:100%;
}
/*
.sf-menu {
	float:none;
	margin: 0 auto;
	width:100%;
	background-color:#6CF;
}
.sf-menu li {
	font-size:0.85em;
	width:auto;
	display:block;
	height:1em;
}
*/
/* FOOTER */

#footer {
/* background-color:#000; */
}
}
