html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
  display: block;
}

.animated {
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}

.animated.hinge {
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -ms-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
}

@-webkit-keyframes bounceInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateY(30px);
  }

  80% {
    -webkit-transform: translateY(-10px);
  }

  100% {
    -webkit-transform: translateY(0);
  }
}

@-moz-keyframes bounceInDown {
  0% {
    opacity: 0;
    -moz-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateY(30px);
  }

  80% {
    -moz-transform: translateY(-10px);
  }

  100% {
    -moz-transform: translateY(0);
  }
}

@-o-keyframes bounceInDown {
  0% {
    opacity: 0;
    -o-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -o-transform: translateY(30px);
  }

  80% {
    -o-transform: translateY(-10px);
  }

  100% {
    -o-transform: translateY(0);
  }
}

@keyframes bounceInDown {
  0% {
    opacity: 0;
    transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    transform: translateY(30px);
  }

  80% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  -moz-animation-name: bounceInDown;
  -o-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes bounceOutUp {
  0% {
    -webkit-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -webkit-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
  }
}

@-moz-keyframes bounceOutUp {
  0% {
    -moz-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -moz-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -moz-transform: translateY(-2000px);
  }
}

@-o-keyframes bounceOutUp {
  0% {
    -o-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -o-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -o-transform: translateY(-2000px);
  }
}

@keyframes bounceOutUp {
  0% {
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: translateY(20px);
  }

  100% {
    opacity: 0;
    transform: translateY(-2000px);
  }
}

.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  -moz-animation-name: bounceOutUp;
  -o-animation-name: bounceOutUp;
  animation-name: bounceOutUp;
}

/*@mixin unselectable {
   user-select('none');
   -webkit-user-drag: none;
   user-drag:none;
}*/
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}

audio:not([controls]) {
  display: none;
}

[hidden] {
  display: none;
}

/* =============================================================================
   Base
   ========================================================================== */
/*
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-size: 13px;
  line-height: 1.231;
}

body, button, input, select, textarea {
  font-family: sans-serif;
  color: #222;
}

.test {
  display: none;
}

/* =============================================================================
   Links
   ========================================================================== */
a {
  color: #00e;
}

a:visited {
  color: #551a8b;
}

a:hover {
  color: #06e;
}

a:focus {
  outline: thin dotted;
}

a:hover, a:active {
  outline: 0;
}

/* =============================================================================
   Typography
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}

b, strong {
  font-weight: bold;
}

blockquote {
  margin: 1em 40px;
}

dfn {
  font-style: italic;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}

mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}

/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

q {
  quotes: none;
}

q:before, q:after {
  content: "";
  content: none;
}

small {
  font-size: 85%;
}

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* =============================================================================
   Lists
   ========================================================================== */
ul, ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}

dd {
  margin: 0 0 0 40px;
}

nav ul, nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}

/* =============================================================================
   Embedded content
   ========================================================================== */
/*
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */
img {
  border: 0;
  vertical-align: middle;
}

/*
 * Correct overflow not hidden in IE9
 */
svg:not(:root) {
  overflow: hidden;
}

/* =============================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}

/* =============================================================================
   Forms
   ========================================================================== */
form {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Indicate that 'label' will shift focus to the associated form element */
label {
  cursor: pointer;
}

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */
legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
}

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */
button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */
button, input {
  line-height: normal;
  *overflow: visible;
}

/*
 * Reintroduce inner spacing in 'table' to avoid overlap and whitespace issues in IE6/7
 */
table button, table input {
  *overflow: auto;
}

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */
button, input[type="button"], input[type="reset"], input[type="submit"], [role="button"] {
  cursor: pointer;
  -webkit-appearance: button;
}

/*
 * Consistent box sizing and appearance
 */
input[type="checkbox"], input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

/* Colors for form validity */
input:invalid, textarea:invalid {
  background-color: #f0dddd;
}

/* =============================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}

/*TEMP*/
.weAreHolder {
  background: rgba(255, 255, 255, 0.07);
  height: 90px;
  border: 1px solid rgba(238, 238, 238, 0.09);
  position: absolute;
  right: 0px;
  top: 150px;
  min-width: 300px;
  color: white;
  z-index: 5;
}
@media screen and (max-width: 640px) {
  .weAreHolder {
    height: 45px;
    min-width: 150px;
  }
}
.weAreHolder .phone {
  color: #33748f;
}
.weAreHolder .desktop {
  color: #cfcfd2;
}

.weAreText {
  overflow: visible;
  white-space: nowrap;
  font-family: proxima_nova_rgregular, sans-serif;
  /*font-family: 'lato', sans-serif;*/
  font-weight: 800;
  font-size: 60px;
  padding: 7px 45px 0 45px;
  font-style: italic;
}
.weAreText span {
  font-weight: 100;
}
@media screen and (max-width: 640px) {
  .weAreText {
    font-size: 18px;
    padding: 12px 0px 0px 22px;
    font-family: proxima_nova_rgbold, sans-serif;
  }
}

.quickContactHolder {
  height: auto;
  min-width: 345px;
  background: rgba(255, 255, 255, 0.07);
  top: 105px;
  right: 0;
  position: absolute;
}
.quickContactHolder input[type='submit'] {
  margin-left: 80%;
  margin-bottom: 20px;
}
@media screen and (max-width: 640px) {
  .quickContactHolder input[type='submit'] {
    margin-left: 40%;
    margin-bottom: 10px;
  }
}
@media screen and (max-width: 640px) {
  .quickContactHolder {
    min-width: 172px;
    top: 52px;
  }
}

.quickContactForm {
  height: 45px;
  border: 1px solid #E6e6e3;
  border-right: none;
  border-top: none;
  border-bottom: none;
  font-family: proxima_nova_rgregular, sans-serif;
  font-weight: 300;
  color: #383938;
  font-size: 18px;
  width: 200px;
  padding-left: 5px;
  float: right;
  margin-top: 17px;
  margin-right: 4px;
  margin-bottom: 17px;
}
@media screen and (max-width: 640px) {
  .quickContactForm {
    font-size: 10px;
    height: 22px;
    width: 100px;
    margin-top: 8px;
    margin-right: 2px;
    margin-bottom: 8px;
    -webkit-border-radius: 0px;
    -khtml-border-radius: 0px;
    -moz-border-radius: 0px;
    -ms-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
  }
}

textarea.quickContactForm {
  display: block;
  float: right;
  width: 405px;
  padding: 12px;
  margin-top: 17px;
}
@media screen and (max-width: 640px) {
  textarea.quickContactForm {
    margin-top: 8px;
    padding: 6px;
    width: 202px;
  }
}

.homeSubmit {
  display: block;
  clear: both;
  font-family: proxima_novasemibold, sans-serif;
  font-style: italic;
  font-size: 16px;
  -webkit-border-radius: 0px;
  -khtml-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
  border-radius: 0px;
  -webkit-appearance: none;
  margin-top: 16px;
  width: 120px;
  color: white;
  background: #33748f;
  border: none;
  margin: 0;
  padding: 0;
  height: 46px;
  font-weight: 500;
}
@media screen and (max-width: 640px) {
  .homeSubmit {
    height: 23px;
    width: 60px;
    margin: 0;
    margin-top: 8px;
    font-size: 8px;
  }
}

.buttonFooter:hover {
  cursor: pointer;
  background: #3aabe3;
}

#home {
  height: 100%;
  width: 100%;
}
#home .visual {
  height: 100%;
  width: 100%;
}
#home .visual video {
  width: auto;
  overflow: hidden;
  border: none;
  z-index: 0;
  height: 100%;
}
@media screen and (min-width: 1120px) {
  #home .visual video {
    width: 100%;
    height: auto;
  }
}
#home .visual .phone {
  width: 100%;
  overflow: hidden;
  border: none;
  z-index: 0;
  height: 100%;
  background: url("../i/tablet-static.jpg") 0px 0px no-repeat;
  background-size: cover;
}

/*END TEMP*/
/* use border-box sizing globally */
noscript {
  position: absolute;
  top: 0px;
  font-size: 2em;
  color: white;
  vertical-align: middle;
  text-align: center;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  padding-top: 20%;
  background: rgba(62, 62, 62, 0.8);
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  background: #ededed;
  background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 100, color-stop(0%, #ededed), color-stop(100%, #9da7b0));
  background: -webkit-radial-gradient(#ededed, #9da7b0);
  background: -moz-radial-gradient(#ededed, #9da7b0);
  background: -o-radial-gradient(#ededed, #9da7b0);
  background: radial-gradient(#ededed, #9da7b0);
  width: 100%;
  height: 100%;
  border-top: 6px solid #3e3e3e;
}

a:link, a:visited, a:active, a:hover {
  text-decoration: none;
  outline: none;
  color: #006a9c;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

#wrapper {
  height: 100%;
  width: 100%;
  position: relative;
}

#content {
  height: 100%;
  width: 100%;
  position: relative;
}

#logo {
  display: inline-block;
  vertical-align: top;
  margin-top: 4px;
  margin-left: 22px;
  width: 70px;
}
#logo span, #logo a {
  display: inline-block;
  background: url("../i/rl-logo2013-new.png") 0px 0px no-repeat transparent;
  text-indent: -9999px;
  width: 70px;
  height: 70px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/*
#logo:after {
    position: absolute;
    content: '';
    top: 70px;
    left: 20px;
    right: 0;
    bottom: 0;
    width:70px;
    background-color: rgba(177,177,0, 0.25);
    border-radius: 50%; 
    box-shadow: rgba(0, 0, 0, 0.3) 5px 2px 10px;
    clip: rect(20px, auto, 50px, 0);
    height: 20px;

}*/
header {
  display: block;
  padding-top: 0px;
  padding-bottom: 6px;
  width: 100%;
  background-color: rgba(62, 62, 62, 0.2);
}

section {
  display: block;
}

header nav {
  display: inline-block;
  margin-top: 28px;
  margin-right: 22px;
  float: right;
  font-size: 22px;
  color: #252b28;
  font-family: proxima_nova_condensedSBd, sans-serif;
  text-transform: uppercase;
  line-height: 26px;
}
header nav ul li {
  display: inline;
}
header nav a {
  padding: 6px 8px 2px 8px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
header nav a:hover {
  background: #3e3e3e;
  color: #fe9900;
}
header nav .active {
  background: #3e3e3e;
  color: #fe9900;
  padding: 6px 8px 2px 8px;
  -webkit-border-radius: 6px;
  -khtml-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
}
@media screen and (max-width: 320px) {
  header nav {
    margin-top: 40px;
    margin-right: 2px;
    font-size: 12px;
    line-height: 14px;
  }
  header nav .active, header nav a {
    padding: 3px 4px 1px 4px;
    -webkit-border-radius: 3px;
    -khtml-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
    border-radius: 3px;
  }
}

#legal {
  font-size: 16px;
  color: #252b28;
  font-family: proxima_novalight, sans-serif;
}

.copy-text {
  margin: 22px auto;
  background: #cfcfd2;
  padding: 22px;
  border: 1px solid #b3afb0;
  -webkit-border-radius: 4px;
  -khtml-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
}
@media screen and (max-width: 640px) {
  .copy-text {
    width: 100%;
    margin: 0;
  }
}

textarea:focus, input:focus {
  outline: 0;
}

#home form .validate-error {
  color: #995f5d;
  font-family: proxima_nova_rgbold, sans-serif;
  font-size: 1em;
  font-weight: bold;
  float: right;
  padding: 6px;
}

/*** END general styles ***/
/* Home */
#introduction {
  font-size: 32px;
  color: #252b28;
  font-family: proxima_nova_rgregular, sans-serif;
  line-height: 36px;
  width: 96%;
}
#introduction h2 {
  font-size: 32px;
  color: #252b28;
  font-family: proxima_novasemibold, sans-serif;
  text-transform: uppercase;
  line-height: 36px;
  display: inline;
}

#mid {
  font-size: 18px;
  color: #252b28;
  font-family: proxima_nova_rgregular, sans-serif;
  line-height: 20px;
  width: 100%;
  background: url("../i/bg-fabric.png") repeat center;
}
#mid h2 {
  font-size: 20px;
  color: #252b28;
  font-family: proxima_novasemibold, sans-serif;
  text-transform: uppercase;
  line-height: 22px;
}

/* about */
#about, #services, #connect, #work {
  font-size: 32px;
  color: #252b28;
  font-family: proxima_nova_rgregular, sans-serif;
  line-height: 36px;
  width: 96%;
}
@media screen and (max-width: 640px) {
  #about, #services, #connect, #work {
    width: 100%;
    margin: 0;
  }
}
#about h2, #services h2, #connect h2, #work h2 {
  font-size: 32px;
  color: #252b28;
  font-family: proxima_novasemibold, sans-serif;
  text-transform: uppercase;
  line-height: 36px;
  display: inline;
}
#about h3, #services h3, #connect h3, #work h3 {
  font-size: 32px;
  color: #252b28;
  font-family: proxima_novasemibold, sans-serif;
  text-transform: uppercase;
  line-height: 36px;
  margin-top: 20px;
  display: block;
}

#services span {
  font-size: 20px;
  margin-left: 20px;
  display: block;
}

#work ul {
  font-family: proxima_novalight, sans-serif;
  font-size: 18px;
  height: 1000px;
  width: 100%;
}
#work ul li {
  float: left;
  margin: 20px;
  padding: 20px;
             /*
border:1px solid $color-border-body;
@include border-radius(6px);*/
  height: 300px;
  width: 270px;
}
#work ul li img {
  width: 175px;
  margin-bottom: 20px;
  padding-left: 20px;
}
#work ul li p {
  font-size: 20px;
  padding-left: 20px;
}
#work #disclaimer {
  font-size: 14px;
  display: block;
  width: 100%;
  clear: both;
}

#connect p {
  padding-top: 22px;
}
#connect span {
  color: #fe9900;
}
#connect form {
  margin: 0px auto;
  width: 100%;
}
#connect input, #connect textarea {
  display: block;
  padding: 10px;
  margin: 12px 0px 12px 0px;
  border: 1px solid #b3afb0;
  background: #f1f1f1;
  border-radius: 3px;
  width: 100%;
}
#connect input[type='submit'] {
  border: none;
  border-radius: 3px;
  background-color: #3e3e3e;
  color: #fe9900;
  width: 20%;
  text-transform: uppercase;
  margin-bottom: 40px;
}
@media screen and (max-width: 728px) {
  #connect input[type='submit'] {
    width: 100%;
  }
}
#connect textarea:focus, #connect input:focus {
  outline: 0;
}
#connect form .validate-error {
  color: #995f5d;
}

.more {
  padding-top: 20px;
}

.message {
  background-size: 40px 40px;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.4);
  width: 100%;
  border: 1px solid;
  color: #fff;
  padding: 15px;
  position: fixed;
  _position: absolute;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
  animation: animate-bg-message 5s linear infinite;
}

.info {
  background-color: #4ea5cd;
  border-color: #4ea5cd;
}

.error {
  background-color: #de4343;
  border-color: #de4343;
}

.warning {
  background-color: #eaaf51;
  border-color: #eaaf51;
}

.success {
  background-color: #61b832;
  border-color: #61b832;
}

.message h3 {
  margin: 0 0 5px 0;
}

.message p {
  margin: 0;
  font-family: proxima_novasemibold, sans-serif;
  font-style: italic;
  font-size: 16px;
}

.animated {
  -webkit-animation-fill-mode: both;
  -moz-animation-fill-mode: both;
  -ms-animation-fill-mode: both;
  -o-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: 1s;
  -moz-animation-duration: 1s;
  -ms-animation-duration: 1s;
  -o-animation-duration: 1s;
  animation-duration: 1s;
}

.animated.hinge {
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  -ms-animation-duration: 2s;
  -o-animation-duration: 2s;
  animation-duration: 2s;
}

@-webkit-keyframes bounceInDown {
  0% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -webkit-transform: translateY(30px);
  }

  80% {
    -webkit-transform: translateY(-10px);
  }

  100% {
    -webkit-transform: translateY(0);
  }
}

@-moz-keyframes bounceInDown {
  0% {
    opacity: 0;
    -moz-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -moz-transform: translateY(30px);
  }

  80% {
    -moz-transform: translateY(-10px);
  }

  100% {
    -moz-transform: translateY(0);
  }
}

@-o-keyframes bounceInDown {
  0% {
    opacity: 0;
    -o-transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    -o-transform: translateY(30px);
  }

  80% {
    -o-transform: translateY(-10px);
  }

  100% {
    -o-transform: translateY(0);
  }
}

@keyframes bounceInDown {
  0% {
    opacity: 0;
    transform: translateY(-2000px);
  }

  60% {
    opacity: 1;
    transform: translateY(30px);
  }

  80% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.bounceInDown {
  -webkit-animation-name: bounceInDown;
  -moz-animation-name: bounceInDown;
  -o-animation-name: bounceInDown;
  animation-name: bounceInDown;
}

@-webkit-keyframes bounceOutUp {
  0% {
    -webkit-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -webkit-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -webkit-transform: translateY(-2000px);
  }
}

@-moz-keyframes bounceOutUp {
  0% {
    -moz-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -moz-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -moz-transform: translateY(-2000px);
  }
}

@-o-keyframes bounceOutUp {
  0% {
    -o-transform: translateY(0);
  }

  20% {
    opacity: 1;
    -o-transform: translateY(20px);
  }

  100% {
    opacity: 0;
    -o-transform: translateY(-2000px);
  }
}

@keyframes bounceOutUp {
  0% {
    transform: translateY(0);
  }

  20% {
    opacity: 1;
    transform: translateY(20px);
  }

  100% {
    opacity: 0;
    transform: translateY(-2000px);
  }
}

.bounceOutUp {
  -webkit-animation-name: bounceOutUp;
  -moz-animation-name: bounceOutUp;
  -o-animation-name: bounceOutUp;
  animation-name: bounceOutUp;
}

/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */
/* prevent callout */
.nocallout {
  -webkit-touch-callout: none;
}

/* A hack for HTML5 contenteditable attribute on mobile */
textarea[contenteditable] {
  -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if they have been set as display: none */
.gifhidden {
  position: absolute;
  left: -100%;
}

/* For image replacement */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
}

.ir br {
  display: none;
}

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  *zoom: 1;
}
