/*@charset "utf-8";
.hidden { display: none; }

#filter {
  text-align: center;
  background-color: #333;
  padding: 15px;
}

#filter button {
  border: 0;
  background-color: #333;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color: #FFF;
  cursor: pointer;
  padding: 5px 20px;
}

#filter button.active { background-color: #406174; }

#filter button:focus { outline: 0; }

#posts {
  max-width: 100%;
  margin: 0 auto;
}

/*#posts .post {
  width: 25%;
  float: left;
  height: 250px;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  position: relative;
  z-index: 1;
  display: inline-block;
  background: #2e5d5a;
}

#posts .post img {
  position: relative;
  display: block;
  width: -webkit-calc(100% + 60px);
  width: calc(100% + 60px);
  opacity: 1;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-30px, 0, 0) scale(1.12);
  transform: translate3d(-30px, 0, 0) scale(1.12);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  min-height: 100%;
}

#posts .post:hover img {
  opacity: 0.5;
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1);
}

#posts .post .post-content {
  padding: 2em;
  color: #fff;
  text-transform: uppercase;
  font-size: 1.25em;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#posts .post .post-content::before,
#posts .post .post-content::after { pointer-events: none; }

#posts .post .post-content,
#posts .post a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#posts .post a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}

#posts .post h2 {
  word-spacing: -0.15em;
  font-weight: 300;
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 1em 1.2em;
}

#posts .post h2,
#posts .post p { margin: 0; }

#posts .post p {
  letter-spacing: 1px;
  font-size: 68.5%;
  padding: 0 10px 0 0;
  width: 50%;
  border-right: 1px solid #fff;
  text-align: right;
  opacity: 0;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-40px, 0, 0);
  transform: translate3d(-40px, 0, 0);
}

#posts .post:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
 @media screen and (max-width: 600px) {

#posts .post { width: 50%; }
}*/
.filter a {
	padding: 10px 20px;
	display: inline-block;
	color: #003;
	background: #eee;
	text-decoration: none;
	transition: all 0.2s;
	border-radius:4px;
	font-size:14px;
}
.filter a:hover {
	padding: 10px 20px;
	display: inline-block;
	color:red;
	background: #eee;
	text-decoration: none;
	transition: all 0.2s;
	border-radius:4px;
	font-size:14px;
}

.filter a.active{ background:red !important; padding:5px 10px; color:#fff !important;} 
/*#afilter_1{ background:red !important; padding:5px; color:#fff !important;} */


/*.filter a:hover {
	background:#fff;
	color:red;
}*/
.filter {
	padding: 0px;
	text-align: center
}
.gallery a img {
	width: 100%;
	height: auto;
	float: left;
	opacity: 1;
	transition: all ease 0.3s;
}

.gallery a img:hover {
	width: 100%;
	height: auto;
	float: left;
	opacity:0.9;
	transform: scale(1.2);
	
}
.gallery a {
	width: 100%;
	transition: all 0.2s;
	display: block;
	float: left;
	opacity: 1;
	height: 100%;
	background:#fff;
}
.col{ /*height:300px; max-height:300px;*/
border: #ccc 1px solid;
background: #fff !important;
margin: 10px 0px;
overflow:hidden;
min-height:215px;

}
/*.gallery .col .hide, .gallery .pophide {
	width: 0%;
	opacity: 0;
	transition: all 0.1s;
}
.gallery .pop {
	width: 100%;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 0px 1000px rgba(0,0,0,0.5);
}
.pop:after {
	content: "\00D7";
	position: absolute;
	top: 10px;
	right: 10px;
	color: #333;
	background: #fff;
	padding: 10px 15px;
	border-radius: 50%;
	opacity: 0.8;
}
.pop:hover:after {
	opacity: 1
}*/

@media (max-width:1024px){
.TabbedPanelsTabGroup{ width:40% !important;}
}


@media (max-width:992px){
.TabbedPanelsTabGroup{ width:40% !important;}
}


@media (max-width:900px){
.TabbedPanelsTabGroup{ width:100% !important;}
.TabbedPanelsTabSelected, .TabbedPanelsTab{ padding:8px !important;}	
}

@media (max-width:640px){
.filter a { width:100%;}
}