
@font-face {
    font-family: 'proxima_nova_rgregular';
    src: url('fonts/proximanova-regular-webfont.eot');
    src: url('fonts/proximanova-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/proximanova-regular-webfont.woff') format('woff'),
         url('fonts/proximanova-regular-webfont.ttf') format('truetype'),
         url('fonts/proximanova-regular-webfont.svg#proxima_nova_rgregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'proxima_nova_rgbold';
    src: url('fonts/proximanova-bold-webfont.eot');
    src: url('fonts/proximanova-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/proximanova-bold-webfont.woff') format('woff'),
         url('fonts/proximanova-bold-webfont.ttf') format('truetype'),
         url('fonts/proximanova-bold-webfont.svg#proxima_nova_rgbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'thirsty_script_regularregular';
    src: url('fonts/thirstyscriptregular-webfont.eot');
    src: url('fonts/thirstyscriptregular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/thirstyscriptregular-webfont.woff') format('woff'),
         url('fonts/thirstyscriptregular-webfont.ttf') format('truetype'),
         url('fonts/thirstyscriptregular-webfont.svg#thirsty_script_regularregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Base styles: opinionated defaults */

html,
body,
button,
input,
select,         
textarea {
  color: #000;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #ed1849;
}

body {
  font-size: 1em;
  line-height: 1.4;
}

strong {
  font-family: 'proxima_nova_rgbold', Arial, sans-serif;
  font-weight: normal;
}

::-moz-selection {
    background: #ed1849;
    color: #fff;
    text-shadow: none;
}

::selection {
    background: #ed1849;
    color: #fff;
    text-shadow: none;
}

/* Allow only vertical resizing of textareas. */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Theme styles
   ========================================================================== */

html {
  height: 100%;
}

body {
  font-family: 'proxima_nova_rgregular', Arial, sans-serif;
  background: url('img/background.jpg') repeat-y;
  background-size: cover;
  color: #000;
  height: 100%;
}

.wrap {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding-top: 210px;
  padding-bottom: 140px;
}

.logo {
  width: 100%;
  text-indent: -9999px;
  margin: 0 auto;
}

.logo img {
  width: 100%;
  height: auto;
}

.wrap h1 {
  font-size: 45px;
  color: #000;
  font-weight: normal;
  text-align: center;
  margin: 24px 0 8px 0;
  font-family: 'thirsty_script_regularregular', Arial, sans-serif;
} 

.wrap p {
  font-size: 15px;
  margin: 32px 0 16px 0;
  text-align: center;
}

/***
    @form
          ***/

.wrap form {
  width: 512px;
  margin: 0 auto;
  position: relative;
}

.wrap input[type="text"],
.wrap input[type="email"]{
  width: 164px;
  height: 32px;
  background: #fff;
  border: none;
  margin-right: 10px;
  padding-left: 16px;
  font-size: 15px;
  font-family: 'proxima_nova_rgregular', Arial, sans-serif;
}

.wrap input[type="submit"] {
  border: none;
  background: none;
  width: 131px;
  height: 16px;
  right: 0;
  top: 8px;
  position: absolute;
  text-indent: -9999px;
  background: url('img/submit.png') no-repeat;
}

.wrap input[type="submit"]:hover {
  background-position: 0px -18px;
}


/***
    @social-icons
                  ***/

.social-icons {
  width: 155px;
  height: 31px;
  margin: 0 auto;
}

.social-icons a {
  width: 31px;
  height: 31px;
  background-image: url('img/social-icons.png');
  display: block;
  float: left;
  margin-right: 9px;
}

.social-icons a:last-child {
  margin: 0;
}

.facebook {
  background-position: 0 0;
}

.facebook:hover {
  background-position: 0 -31px;
}

.twitter {
  background-position: -41px 0px;
}

.twitter:hover {
  background-position: -41px -31px;
}

.instagram {
  background-position: -81px 0;
}

.instagram:hover {
  background-position: -81px -31px;
}

.email {
  background-position: -123px 0;
}

.email:hover {
  background-position: -123px -31px;
}

/* #Media Queries
================================================== */

@media screen and (min-width: 961px) and (max-width: 1024px) {
  .wrap {
    padding-top: 110px;
  }
}

/*iPad Portrait*/
@media handheld and (max-width: 767px), screen and (max-device-width: 767px), screen and (max-width: 960px)  {
  .wrap {
    width: 700px;
    padding-top: 80px;
  }

}

/*iPhone Landscape*/
@media screen and (max-width: 480px), screen and (max-device-width: 480px), screen and (max-width: 750px)  {
  .wrap {
    width: 420px;
    padding-top: 80px;
    padding-bottom: 100px;
  }
  
  .wrap h1 {
    font-size: 48px;
  }
   
  .wrap form {
    width: 420px;
  }
  
  .wrap input[type="text"],
  .wrap input[type="email"] {
    width: 182px;
  }
  
  .wrap input[type="submit"] {
    position: relative;
    margin: 16px 0 0 144px;
  } 
  
}

/*iPhone Portrait*/
@media screen and (max-width: 320px), screen and (max-device-width: 320px), screen and (max-width: 450px) {
  .wrap {
    width: 280px;
    padding-top: 60px;   
  }
  
  .wrap h1 {
    font-size: 32px;
  }
  
   .wrap form {
    width: 264px;
    margin: 0;
  }
  
  .wrap input[type="text"],
  .wrap input[type="email"] {
    width: 264px;
    margin-bottom: 16px;
  }
  
  .wrap input[type="submit"] {
    position: relative;
    margin: 0px 0 0 74px;
  } 
  
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*

/***Alignment***/

.align-left, .alignleft {
  float: left;
}

.align-right, .alignright {
  float: right;
}

.align-center, .aligncenter {
  display: block;
  margin: 0 auto;
}

img.alignleft, img.align-left {
  margin-right: 10px;
}

img.alignright, img.align-right {
  margin-left: 10px;
}

 /* Image replacement
*/

.ir {
  background-color: transparent;
  border@: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
   Plugin classes
   ========================================================================== */

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow:none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
  */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}