/*definitions for node styles*/


.node--teaser {
  width: 300px;
  margin: 10px;
  background-color: #fff;
  float: left;
  -webkit-transition: -webkit-transform .2s ease-in-out; 
  -moz-transition: -moz-transform .2s ease-in-out; 
  -ms-transition: 	-ms-transform .2s ease-in-out; 
  -o-transition: -o-transform .2s ease-in-out; 
  transition: transform .2s ease-in-out; 
	-webkit-transform: scale(1.0);
	-moz-transform: scale(1.0);
	-ms-transform: scale(1.0);
	-o-transform: scale(1.0);
	transform: scale(1.0);
  perspective: 300;
  perspective-origin: 50% 50%;
}
@media all and (max-width: 760px) {
.node--teaser {
	width:420px;
}
}
@media all and (max-width: 460px) {
.node--teaser {
	width:300px;
}
}
.node--teaser a {
  display: block;
	text-decoration:none;
	background-color: transparent;
}
.node--teaser a .node__text-block {
  position: relative;
  padding: 18px 18px 8px;
}
.node__text-block--subtitle {
	margin-top:-29px;
}
.node--teaser a .node__text-block h4, .rslides li a h4 {
  font-family: Bitter, serif;
  background-color: #00fa82;
  font-size: 1em;
  font-weight: normal;
  padding: 2px 5px;
	margin: 0 18px 13px 0;
	display:inline-block;
}
	
.node--teaser .node__image-container, 
.node--teaser .node__image-container img {
	line-height:0;
}
.node__image-container {
  width: 300px;
  height: 158px;
  overflow: hidden;
	position:relative;
}
@media all and (max-width: 760px) {
.node__image-container {
	width:420px;
  height: 180px;
}
}
@media all and (max-width: 460px) {
.node__image-container {
	width:300px;
  height: 158px;
}
}
.node--teaser img {
  width: 300px;
  height: 158px;
}
@media all and (max-width: 760px) {
.node--teaser img {
	position: absolute;
	top:-20px;
	width:420px;
  height: auto;
}
}
@media all and (max-width: 460px) {
.node--teaser img {
	position: relative;
	top:auto;
	width:300px;
  height: 158px;
}
}
.node--teaser:hover, .node--teaser:focus {
	-webkit-transform: scale(1.02);
	-moz-transform: scale(1.02);
	-ms-transform: scale(1.02);
	-o-transform: scale(1.02);
	transform: scale(1.02);
	background-color:#fff;
}
