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

}

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

}

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

}

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

#headerwrapper {
}


#logo img, .navbar-brand img {

}

}


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

#content, .homecontent, #content.pushedge {
	width: 60%;
}

#content.pushfull {
	width: 72%;
}


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

.customposttype1 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) {  
	margin: 0 15px 15px 0;
}


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




}

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


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

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

}

.navbar-brand {
	padding-top: 5px;
	padding-bottom: 0;	
}

.navbar {
	display: block;
	
}


#header {
		width:100% !important; 
}
	
.pushheader {
	margin-top: 70px;
}	

#content {
	width: 90%;
	display: block;
	position: relative;
	margin-left: 20px;
	float: none;
}

#footer {
	position: relative;
}

.navwidget {
 display: none;
}

.homecontent,  #content.pushedge  {
	width: 90%;
	display: block;
	position: relative;
	margin-left: 40px;	
}

#content.pushfull {
	width: 90%;
}


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

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


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

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

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

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

.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 {
}	

#subpagebannerholder h2 {
	font-size: 16px ;
}	

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


}

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


#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;
}	
	
}
