@media screen and (max-height: 960px) {

}

@media screen and (max-height: 790px) {

}

@media screen and (max-height: 640px) {

}

@media screen and (max-width: 1200px) {
.customposttype1 ul.filterable-grid li {
		margin: 0 22px 22px 0;
		
}

#footer .wp_bannerize.footercredit img {
	width: 100%;
	height: auto;
}


}


@media screen and (max-width: 990px) {
#header {
	width:100% !important; 
}

.customposttype1 ul.filterable-grid li,
.customposttype2 ul.filterable-grid li {
		width: 31%;
		margin: 0 15px 15px 0;	
}

.customposttype1 ul.filterable-grid li:nth-child(3n+3),
.customposttype2 ul.filterable-grid li:nth-child(3n+3) {  
  margin: 0 0 15px;
}


.customposttype1 ul.filterable-grid li:nth-child(4),
.customposttype1 ul.filterable-grid li:nth-child(8),
.customposttype2 ul.filterable-grid li:nth-child(4),
.customposttype2 ul.filterable-grid li:nth-child(8) {  
	margin: 0 15px 15px 0;
}



.sf-menu > li a {
	padding: 10px;
	font-size: 12px;
}	

.headerwidget {
	top: 50px;
	right:0;
} 


#navigationcontainer {
	height: 36px;
}

#headerwrapper {
	height: 120px;
}


#rev_slider_1_1, .homesidebanner {
	margin-top: 20px;
}

}

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

}


@media screen and (max-width: 740px) {
#wrapper {
	margin-top: 90px;
}
	
	
#logo, #back-top, #header, #headerwrapper  {
display: none;
visibility: hidden;
}

.navbar-brand {
	padding: 7px 7px;


}

#logo img, .navbar-brand img {
	width: 180px;
	height: auto;
}

.navbar {
	display: block;
	
}


#navigationcontainer, #searchform  {
	display: none !important;
}

.headerwidget {
	top: 15px;
	right:0;
} 

.headerwidget .widgetittle {
	display: none;
}


#headerwrapper {
	height: 50px;
}


.countdown {
	top: 18px;
	left: 10px;
}

.entry img{
	max-width: 100%;
	height: auto;
}


.customposttype1 ul.filterable-grid li,
.customposttype2 ul.filterable-grid li {
		width:47% ;
		
}

.customposttype1 ul.filterable-grid li:nth-child(odd),
.customposttype2 ul.filterable-grid li:nth-child(odd)  {
	margin: 0 12px 12px 0;
}

.customposttype1 ul.filterable-grid li:nth-child(even),
.customposttype2 ul.filterable-grid li:nth-child(even) {
  margin: 0 0 12px;	
}


.customposttype1 .grid-thumb
.customposttype2 .grid-thumb {
	max-height: 130px;
	min-height: 130px;
}

.homeeventitem {
	height: auto;
}

table.calendar tbody tr td.tdbox {
		height: 50px;
}
	
td.eventful-pre, td.eventful {
	background-color: #D9CEB2;
	
}
	
table.calendar tbody tr td ul {
		display: none;
	}
	
table.calendar .calendarday {
	text-align: center;
	padding: 0;
	margin-top: 6px;
	font-size: 15px;
	line-height: 1;
	background: 0;
	margin-bottom: 6px;
}

	
}

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


#subpagebannerholder h2 {
	font-size: 24px ;
	margin-top: 20px;
}	

.tribe-events-sub-nav li a {
	background: transparent;
}


}

@media screen and (max-width: 480px) {
#logo, #back-top  {
display: none;
	visibility: hidden;
}


	

.subpagebannerinner {
	bottom: 2px;
}

#content, #content-wide {
	padding: 10px !important;
}

#navigationcontainer {
	display: none !important;
}

.entry h2 {
	font-size: 20px;
}

.entry h3 {
	font-size: 18px;
}

.entry h4, .entry h5, .entry h6 {
	font-size: 16px;
}


.nav-tabs > li > a {
	margin-bottom: 3px;
	margin-right: 3px;	
	border-radius: 4px;
}

.customposttype1 ul.filterable-grid li {
		width:100%;
}

.customposttype1 .grid-thumb {
	max-height: 230px;
	min-height: 230px;	
}

.customposttype2 ul.filterable-grid li {
		width:100%;
}

.customposttype2 .grid-thumb {
	max-height: 180px;
	min-height: 180px;
}

.customposttype2 .grid-title {
	font-size: 18px;
}

h2.tribe-events-page-title {
	font-size: 18px;
}	
	
}
