/* Common style */
.grid_4 figure {
  position: relative;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  padding-bottom: 40px;
}
.grid_4 figure img {
  position: relative;
  display: block;
  opacity: 1;
}
.grid_4 figure figcaption {
  padding: 0;
  color: #17386e;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #fff;
}
.grid_4 figure figcaption::before, .grid_4 figure figcaption::after {
  pointer-events: none;
}
.grid_4 figure figcaption, .grid_4 figure figcaption > a {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 38px;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 400;
  font-size: 18px;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid_4 figure figcaption > a {
  z-index: 1000;
  text-indent: 200%;
  white-space: nowrap;
  font-size: 0;
  opacity: 0;
}
.grid_4 figure h2, .grid_4 figure p {
  margin: 0;
}
figcaption p span {
  font-size: 11px;
}
/*---------------*/
/***** Sarah *****/
/*---------------*/

figure.effect-sarah figcaption {
  height:40px;
  padding-top:2px;
}
figure.effect-sarah h2 {
  position: relative;
  overflow: hidden;
  margin-top: 0px;
  padding: 1px 0;
  background: #7fa8c8;
}
figure.effect-sarah h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ebb934;
  margin-top: 2px;
  content: '';
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
}
figure.effect-sarah:hover h2::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-sarah figcaption p {
  padding:0;
  /*opacity: 0;*/
  /*-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);*/
  text-align:left;
  display: block;
  position:relative;
  height: 35px;
}
figure.effect-sarah figcaption p span.static{
  padding: 8px 0 3px 16px;
  font-size: 18px;
  position:absolute;
  right:0;
}
figure.effect-sarah figcaption p span.animated{
  padding: 0;
  opacity:0;
  -webkit-transition: opacity 0s, -webkit-transform 0.35s;
  transition: opacity 0s, transform 0.35s;
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  font-size:0px;
}

figure.effect-sarah:hover figcaption p {
  opacity: 1;
  /*-webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background: #ebb934;*/
  color: #fff;
  width:100%;
  float:none;
  
}
figure.effect-sarah:hover figcaption p span.static{
  display:none;
  
}
figure.effect-sarah:hover figcaption p span.animated{
  font-size: 18px;
  padding: 8px 0 5px 16px;
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background: #ebb934;
  color: #fff;
  width:100%;
  display:block;
  
}

@media screen and (max-width: 50em) {
.content {
  padding: 0 10px;
  text-align: center;
}
.grid figure {
  display: inline-block;
  float: none;
  margin: 10px auto;
  width: 100%;
}
}

.cad_img_mob{
  display:none;
}

@media only screen and (max-width: 579px) {
.cad_img_desktop{
  display:none;
}
.cad_img_mob{
  display:block;
  background:url("../../../img/pics/cad_bg_mob.png") repeat-x scroll 0 0 rgba(0, 0, 0, 0);
  padding-bottom:2px;
  border-bottom:2px solid #7fa8c8;
}

}
/*---------------*/
/***** Sadie *****/
/*---------------*/

figure.effect-sadie {
  height: 108px;
  border-bottom: 2px solid #f5dc99;
}
figure.effect-sadie span {
  width: 90px;
  color: #ebb934;
  font-size: 60px;
  display: block;
  position: absolute;
  z-index: 99;
  top: 41px;
  left: 5px;
}
figure.effect-sadie figcaption {
/*float:right;
  width:189px;
  height:200px;*/
}
figure.effect-sadie figcaption::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  opacity: 0;
  -webkit-transform: translate3d(0, 50%, 0);
  transform: translate3d(0, 50%, 0);
}
figure.effect-sadie h2 {
  position: absolute;
  top: -35px;
  left: 0;
  width: 60%;
  color: #6d7178;
  font-size: 20px;
  -webkit-transition: -webkit-transform 0.35s, color 0.35s;
  transition: transform 0.35s, color 0.35s;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  z-index: 99;
  padding-left: 40%;
  text-align: left;
  line-height: 21px;
}
figure.effect-sadie figcaption::before, figure.effect-sadie p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
figure.effect-sadie p {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  opacity: 0;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  padding-left: 40%;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  min-height: 138px;
  padding-right: 5%;
}
figure.effect-sadie:hover h2 {
  color: #154384;
  -webkit-transform: translate3d(0, -40%, 0) translate3d(0, -35px, 0);
  transform: translate3d(0, -40%, 0) translate3d(0, -35px, 0);
}
figure.effect-sadie:hover figcaption::before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-sadie:hover p {
  opacity: 1;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  background: #eaebec;
  padding-top: 58px;
  text-align: left;
  min-height: 88px;
}

@media only screen and (max-width: 768px) and (min-width: 580px) {
figure.effect-sadie p {
  padding-left: 50%;
  width: 45%;
}
figure.effect-sadie h2 {
  padding-left: 50%;
  width: 45%;
  font-size: 18px;
  line-height: 19px;
  
}
.home-teaser figure.effect-sadie h2{
  background: #fff;
}
}

@media only screen and (max-width: 580px) {
figure.effect-sarah h2 { 
  background: #fff;
}
}

@media only screen and (max-width: 360px) {
figure.effect-sadie p {
  padding-left: 50%;
  width: 45%;
}
figure.effect-sadie h2 {
  padding-left: 50%;
  width: 45%;
}
}
/*---------------*/
/***** presse *****/
/*---------------*/
@media (min-width :600px) {  
figure.effect-presse {
  height: 108px;
  border-bottom: 2px solid #f5dc99;
}
figure.effect-presse span {
  width: 90px;
  color: #ebb934;
  font-size: 60px;
  display: block;
  position: absolute;
  z-index: 99;
  top: 50px;
  left: 50%;
  margin-left: -45px;
}
figure.effect-presse figcaption {
/*float:right;
  width:189px;
  height:200px;*/
}
figure.effect-presse figcaption::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: '';
  opacity: 0;
  -webkit-transform: translate3d(0, 50%, 0);
  transform: translate3d(0, 50%, 0);
}
figure.effect-presse h2 {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  color: #ebb934;
  font-size: 20px;
  -webkit-transition: -webkit-transform 0.35s, color 0.35s;
  transition: transform 0.35s, color 0.35s;
  -webkit-transform: translate3d(0, -50%, 0);
  transform: translate3d(0, -50%, 0);
  z-index: 99;
  text-align: center;
}
figure.effect-presse figcaption::before, figure.effect-presse p {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}
figure.effect-presse p {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60%;
  opacity: 0;
  -webkit-transform: translate3d(0, 10px, 0);
  transform: translate3d(0, 10px, 0);
  padding-left: 40%;
  font-size: 16px;
  line-height: 20px;
  text-align: left;
  min-height: 138px;
}
.quicklinks figure.effect-presse h2{
  -webkit-transform: translate3d(0, -155px, 0);
  transform: translate3d(0, -155px, 0);
}
figure.effect-presse:hover h2, html.touch figure.effect-presse h2 {
  color: #fff;
  -webkit-transform: translate3d(0, -40%, 0) translate3d(0, -132px, 0);
  transform: translate3d(0, -40%, 0) translate3d(0, -132px, 0);
}
figure.effect-presse:hover figcaption::before, html.touch figure.effect-presse figcaption::before  {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
figure.effect-presse:hover p , html.touch figure.effect-presse p {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  background: #ebb934;
  padding-top: 58px;
  text-align: left;
  min-height: 88px;
}
figure.effect-presse:hover span, html.touch figure.effect-presse span {
  color: #fff;
}
html.touch .quicklinks  .grid_4 a{
  display:block;
}
}

.home-teaser .grid_4 figure{
  overflow:visible;
}

@media only screen and (min-width: 1024px){
.effect-sarah{
  min-height:236px;
}
}
