img.sbs_main {
	border-radius: 10px;
	border: 1px solid #ccc;
	max-width: 800px;
	min-width: 250px;
	height: auto;
	width: 100%;
}

a.sbs:hover, a.sbsl:hover{
	background-color:#dddddd;
	border-radius:5px;	
}

a.sbs, a.sbsl{
	font-family: 'Cormorant Garamond', 'Josefin Slab', Garamond, 'Times New Roman', serif;
	font-size: 14pt;
	font-weight: 300;
	padding: 15px 10px;
	display:block;
	width: 100%;
	color: #666;
	background-color:#f6f6f6;
	text-align:center;
	text-decoration: none;
	border: 1px dashed #ccc;
}
a.sbs{
	min-width: 170px;
	max-width: 300px;
}

a.sbp{}

.sbsgal {
  width: 100%;
  float: right;
  padding: 0px;
}

.sbs_text {
	border: 1px solid #eee;
	border-radius: 5px;
	width: 100%;
	text-align: justify;
	padding: 25px;
}

.sbs_text p{
	font-family: 'Josefin Slab', Garamond, 'Times New Roman', serif;
	font-size: 15pt;
	line-height: 130%;
	font-weight: 100;
	color: #999;
}

.sbs_text p.qt{
	font-family: 'Josefin Slab', Garamond, 'Times New Roman', serif;
	font-size: 12pt;
	font-style: italic;
	line-height: 130%;
	font-weight: 100;
	color: #999;
	text-align: right;
}


.sbsgal img {
	width: 90%;
	max-width: 350px;
	height: auto;
	border-radius: 5px;
	border: 1px solid #eee;
}
.sbsgal a {
	text-decoration: none;
}

.sbsgal figure {
  display: block;
  float: left;
  margin: 0px;
  width: 33%;
  padding: 10px 10px 10px 5px;
  text-align:center;
}

.sbsgal figcaption {
	display: block;
	text-align: center;
	font-family:Quicksand,Arial,Verdana,Tahoma,Helvetica;
	font-size:12pt;
	font-weight:normal;
	color:#999;
	text-decoration: none;
}

.sbs_ctr{
	position: relative; 
	border: 1px solid #f00; 
	width: 300px; 
	height: 300px; 
	overflow: hidden; 
}


.sbsgalall img {
	width: 90%;
	max-width: 350px;
	height: auto;
	border-radius: 5px;
	border: 1px solid #eee;
}
.sbsgalall a {
	text-decoration: none;
}

.sbsgalall figure {
  display: block;
  float: left;
  margin: 0px;
  width: 14%;
  padding: 7px 7px 7px 3px;
  text-align:center;
}

@media only screen and (max-width: 1024px) {
	a.sbs, a.sbsl{
		font-size: 12pt;
		padding: 8px 4px;
	}
	a.sbs{
		min-width: 120px;
	}
	.sbs_text {
		padding: 0px 10px 0px 10px;
	}
	.sbs_text p{
		font-size: 12pt;
		margin-top: 10px;
		margin-bottom: 10px;
	}
	
}
