html,
body {
  /*font-family: 'Martel Sans', sans-serif;*/
  font-family: Arial;
  height: 100%;
  min-height: 100%;
}
body {
  background: #0093d3; /* Old browsers */
  /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMTAwJSI+CiAgICA8c3RvcCBvZmZzZXQ9IjAlIiBzdG9wLWNvbG9yPSIjMDA5M2QzIiBzdG9wLW9wYWNpdHk9IjEiLz4KICAgIDxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iIzAwNTc4ZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
  background: -moz-linear-gradient(-45deg,  #0093d3 0%, #00578e 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(0%,#0093d3), color-stop(100%,#00578e)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg,  #0093d3 0%,#00578e 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg,  #0093d3 0%,#00578e 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(-45deg,  #0093d3 0%,#00578e 100%); /* IE10+ */
  background: linear-gradient(135deg,  #0093d3 0%,#00578e 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0093d3', endColorstr='#00578e',GradientType=1 ); /* IE6-8 fallback on horizontal gradient */
}
.wrapper {
  height: 400px;
  margin: 0 auto;
  margin-top: -200px;
  position: relative;
  top: 50%;
}
.wrapper .content {
  background: none no-repeat scroll 0 0 #efefef;
  border-radius: 20px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  text-align: center;

  width: 98%;
  height: 330px;
  position: relative;

  font-size: 14px;
}
.wrapper .content.content-fg {
  z-index: 120;
}
.wrapper .content.content-bg {
  z-index: 90;
  position: absolute;
  transition: all 0.5s ease-in-out;

  top: 2px;
  transform: rotate(6deg);
  left: 2px;
}
.wrapper .content.content-bg .fa {
  position: absolute;
  bottom: 3px;
  right: 10px;
}
.wrapper:hover .content.content-bg .fa {
  display: none;
}
.content img {
  z-index: 150;
}
.content .sub {
  font-size: 16px;
  font-weight: normal;
  top: 5px;
  position: relative;
  z-index: 150;
  padding: 0 15px;
}
.content .left,
.content .right {
  width: 45%;
  margin: 0;
  padding: 0 0 25px;
  position: absolute;
  bottom: 0;
  color: #514B43;
  font-weight: bold;
  line-height: 1.5em;
  /*border: 1px solid black;*/
  z-index: 150;
}
.content .left {
  left: 0;
  text-align: left;
  padding-left: 25px;
}
.content .right {
  right: 0;
  text-align: right;
  padding-right: 25px;
}
.content a,
.content a:link,
.content a:visited {
  color: #00578e;
  text-decoration: none;
}
.content a:hover,
.content a:active,
.content a:focus {
  color: #333;
  text-decoration: underline;
}
.clearfix {
  float: none;
  clear: both;
}

@media (max-width:767px){
  .wrapper {
    width: 100%;
  }
  .wrapper .content {
    box-shadow: 0px 0px 12px 5px rgba(40,40,40,0.5);
    font-size: 14px;
  }
  .content img {
    max-width: 90%;
    margin-top: 15px;
  }
  .content-bg img {
    width: 200px;
    max-width: 50%;
    /*height: 200px;*/
    position: absolute;
    right: 20px;
    bottom: 15px;
  }
  .content .left,
  .content .right {
    padding: 12px 15px 10px;
  }
  .content .left {
    float: left;
    text-align: left;
  }
  .content .right {
    float: right;
    text-align: right;
  }
  @media (max-height:640px){
    .wrapper {
      height: 400px;
      margin: 0 auto;
      margin-top: 0;
      position: relative;
      top: 0;
    }
    .wrapper .content.content-bg .fa {
      display: none;
    }
  }
  @media (min-height:600px){
    .wrapper:hover .content.content-bg {
      left: 2px;
      top: 180px;
      transform: rotate(20deg);
    }
    .wrapper .content.content-bg .fa {
      display: block;
    }
  }
}
@media (max-width:480px){
  .wrapper .content {
    font-size: 11px;
  }
  .content .sub {
    font-size: 14px;
  }
}
@media (max-width:320px){
  .content .right i {
    display: none;
  }
}
@media (max-height:320px){
  .wrapper {
    height: 300px;
    margin: 0 auto;
    margin-top: 0;
    position: relative;
    top: 0;
  }
}
@media (min-width:768px){
  .wrapper {
    width: 600px;
    height: 400px;
    margin: 0 auto;
    margin-top: -200px;
    position: relative;
    top: 50%;
  }
  .wrapper .content {
    box-shadow: 2px 2px 12px 5px rgba(40,40,40,0.4);
    transform: rotate(2deg);

    width: 550px;
    height: 350px;
  }
  .wrapper .content.content-bg {
    top: 2px;
    transform: rotate(6deg);
    left: 2px;
  }
  .content img {
    margin-top: 35px;
  }
  .content-bg img {
    width: 200px;
    height: 200px;
    position: absolute;
    right: 20px;
    bottom: 15px;
  }
  .wrapper:hover .content.content-bg {
    left: 2px;
    top: 180px;
    transform: rotate(20deg);
  }
}
@media (min-width:1099px){
  .content-bg img {
    width: 200px;
    height: 200px;
    position: absolute;
    right: 20px;
    top: -10px;
  }
  .wrapper:hover .content.content-bg {
    left: 240px;
    top: 60px;
    transform: rotate(20deg);
  }
}