/*
* D4SL - Domain For Sale Template
* Build Date: April 2016
* Last Update: April 2016
* Author: Madeon08
* Copyright (C) 2016 Madeon08
* This is a premium product available exclusively here : http://themeforest.net/user/Madeon08/portfolio
*/
/*  TABLE OF CONTENTS
    ---------------------------
    *. @Import & Reset
    1. Generic styles
    2. Home
    3. Offer part
    4. Offer form
    5. Media Queries
*/
/* ------------------------------------- */
/* *. @Import & Reset .................. */
/* ------------------------------------- */
/* http://bourbon.io/ Sass Mixin Library */

/* custom CSS files */
@import url(font-awesome.min.css);
@import url(ionicons.min.css);
@import url(bootstrap.min.css);
@import url(animate.css);
/* Google Fonts */
@import url("http://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700");
/*
* http://meyerweb.com/eric/tools/css/reset/ 
* v2.0 | 20110126
* License: none (public domain)
*/
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

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

/* ------------------------------------- */
/* 1. Generic styles ................... */
/* ------------------------------------- */
html {
  font-size: 62.5%;
}

body {
  background: url("../img/background.jpg") center repeat;
  background-size: cover;
  font-family: "Open Sans", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
  font-style: normal;
  font-size: 1.4rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0;
  height: 100vh;
}

body, html {
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
}

body, input, select, textarea {
  -webkit-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -ms-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
}

a {
  -webkit-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -ms-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  cursor: pointer;
  text-decoration: none;
  color: #FFFFFF;
}
a:hover {
  color: #00af94;
  text-decoration: none !important;
  outline: none !important;
}
a:active, a:focus {
  outline: none !important;
  text-decoration: none !important;
  color: #FFFFFF;
}

button {
  -webkit-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -moz-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -ms-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  -o-transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  transition: all 0.2s cubic-bezier(0.42, 0, 0.58, 1);
  cursor: pointer;
}
button:hover, button:active, button:focus {
  outline: none !important;
  text-decoration: none !important;
  color: #2B2D35;
}

strong, b {
  font-weight: 700;
}

em, i {
  font-style: italic;
}

p {
  font-family: "Open Sans", "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #FFFFFF;
  font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
  color: #FFFFFF;
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 1.5rem 0;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
  color: inherit;
}

h1 {
  font-size: 10rem;
  font-weight: 700;
}

h2 {
  font-size: 3.3rem;
}

h3 {
  font-size: 2.3rem;
}

h4 {
  font-size: 1.8rem;
}

h5 {
  font-size: 1.6rem;
}

h6 {
  font-size: 1.2rem;
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

.clear {
  clear: both;
}

.display-none {
  display: none !important;
}

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

.align-right {
  text-align: right;
}

.no-margin-bottom {
  margin-bottom: 0;
}

.opacity-0 {
  opacity: 0 !important;
  visibility: hidden !important;
}

.opacity-03 {
  opacity: 0.3 !important;
}

.opacity-1 {
  opacity: 1 !important;
  visibility: visible !important;
}

.index-999 {
  z-index: -999 !important;
}

/* ------------------------------------- */
/* 2. Home ............................. */
/* ------------------------------------- */
.global-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  overflow: visible;
  background: rgba(45, 49, 56, 0.4);
  width: 100%;
  z-index: 0;
}

#home {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 5;
  transform-origin: middle left;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
#home.home-hide {
  -webkit-transform: translateY(-200px);
  -moz-transform: translateY(-200px);
  -ms-transform: translateY(-200px);
  -o-transform: translateY(-200px);
  transform: translateY(-200px);
  opacity: 0 !important;
  z-index: -999;
}
#home .content {
  position: relative;
  z-index: 0;
  left: 0;
  padding: 0;
  top: 50%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-height: 111rem;
  padding: 0 10%;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  text-align: left;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  opacity: 1;
  visibility: visible;
}
#home .content p {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 3rem;
  line-height: 1.5;
}
#home .content nav {
  display: inline-block;
  width: 100%;
}
#home .content nav a {
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  font-weight: 700;
  padding: 0.7em 2em;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  display: block;
  float: left;
}
#home .content nav a.light-btn {
  background: transparent;
  color: #FFFFFF;
  margin-right: 10px;
  border: 3px solid #FFFFFF;
}
#home .content nav a.light-btn:hover {
  background: #FFFFFF;
  color: #2B2D35;
  border-color: #FFFFFF;
}
#home .content nav a.action-btn {
  background: #FFD800;
  color: #20232D;
  border: 3px solid #FFD800;
}
#home .content nav a.action-btn:hover {
  background: #ffe866;
  color: #000000;
  border-color: #ffe866;
}
#home .content nav a.action-btn:active, #home .content nav a.action-btn:focus {
  background: #FFD800;
  color: #000000;
}

/* ------------------------------------- */
/* 3. Offer part ....................... */
/* ------------------------------------- */
#offer-part {
  position: fixed;
  z-index: 20;
  top: 100vh;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 80rem;
  text-align: center;
  background: rgba(45, 49, 56, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: none;
  -webkit-border-radius: 5px 5px 0 0;
  -moz-border-radius: 5px 5px 0 0;
  -ms-border-radius: 5px 5px 0 0;
  border-radius: 5px 5px 0 0;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
#offer-part.offer-open {
  top: 50px;
}
#offer-part .form-block {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -moz-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  -o-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  width: 80%;
  margin: 0 auto;
}
#offer-part .close-offer {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: transparent;
  width: 50px;
  height: 50px;
  line-height: 0;
  color: #FFFFFF;
  font-size: 2em;
  opacity: 1;
  z-index: 999;
}
#offer-part .close-offer i {
  display: inline-block;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
#offer-part .close-offer:hover i {
  color: #FFFFFF;
  font-size: 3.5rem;
}

/* ------------------------------------- */
/* 4. Offer form ....................... */
/* ------------------------------------- */
.bottom-part {
  background: rgba(45, 49, 56, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
}
.bottom-part.bottom-hide {
  -webkit-transform: translateX(-200px);
  -moz-transform: translateX(-200px);
  -ms-transform: translateX(-200px);
  -o-transform: translateX(-200px);
  transform: translateX(-200px);
  opacity: 0.4 !important;
}

.contact-box {
  padding: 3rem 5rem;
}
.contact-box h4 {
  color: #FFFFFF !important;
}
.contact-box p {
  color: #FFFFFF;
}
.contact-box:first-child {
  text-align: right;
}

.phone-mail-link {
  color: #00c8aa;
  font-weight: bold;
}

#global-form {
  display: block;
}

#offer-form {
  margin: 4rem auto 0;
  max-width: 50rem;
}
#offer-form .form-group {
  margin-bottom: 0;
}
#offer-form .form-group label {
  position: absolute;
  top: 0;
  font-size: 2rem;
  left: 15px;
  width: 6rem;
  height: 6rem;
  padding: 0;
  line-height: 6rem;
  border: 2px solid #FFFFFF;
  background: #FFD800;
  color: #2B2D35;
}
#offer-form .form-group .form-control {
  background: #FFFFFF;
  border: none;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  box-shadow: none;
  font-weight: 700;
  outline: medium none;
  padding: 1.6rem 3rem 1.6rem 7rem;
  font-size: 1.4rem;
  line-height: 1.4;
  height: 6rem;
  width: 100%;
  color: #000000;
  margin-bottom: 2rem;
  -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  text-align: left;
}
#offer-form .form-group .form-control:hover, #offer-form .form-group .form-control:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.2);
}
#offer-form .form-group .form-control::-webkit-input-placeholder {
  color: #666666 !important;
}
#offer-form .form-group .form-control::-moz-placeholder {
  color: #666666 !important;
}
#offer-form .form-group .form-control:-moz-placeholder {
  color: #666666 !important;
}
#offer-form .form-group .form-control:-ms-input-placeholder {
  color: #666666 !important;
}
#offer-form button#valid-form {
  font-family: Montserrat, "Helvetica Neue", "Lucida Grande", Arial, Verdana, sans-serif;
  background: #FFD800;
  font-weight: 700;
  padding: 0.7em 2em;
  height: 6rem;
  color: #20232D;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  border-radius: 0;
  border: 3px solid #FFD800;
  display: block;
  text-transform: uppercase;
  width: 100%;
}
#offer-form button#valid-form:hover {
  background: #ffe866;
  color: #000000;
  border-color: #ffe866;
}
#offer-form button#valid-form:active, #offer-form button#valid-form:focus {
  background: #FFD800;
  color: #000000;
}

#block-answer {
  min-height: 30px;
  margin-top: 1em;
  text-align: center;
  color: #757A86;
}
#block-answer .ion-close-round {
  color: #FF1D4D;
}

.success-message, .error-message {
  color: #FFFFFF;
}
.success-message p, .error-message p {
  color: #FFFFFF !important;
}
.success-message .ion-checkmark-circled, .error-message .ion-checkmark-circled {
  color: #00c8aa;
  font-size: 10rem;
  height: 10rem;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.success-message {
  margin-top: -1em;
}

/* ------------------------------------- */
/* 5. Media Queries .................... */
/* ------------------------------------- */
/* Large Devices, Wide Screens @media only screen and (max-width: 1600px) */
@media only screen and (max-width: 1600px) {
  h1 {
    font-size: 8rem;
    font-weight: 700;
  }
}
/* Notebook devices @media only screen and (max-width: 1199px) */
@media only screen and (max-width: 1199px) {
  h1 {
    font-size: 6rem;
    font-weight: 700;
  }

  #offer-part.offer-open {
    top: 0;
  }
}
/* Medium Devices, Desktops @media only screen and (max-width: 1024px) */
@media only screen and (max-width: 1024px) {
  #home {
    position: relative;
    width: 100%;
    height: auto !important;
    padding: 7rem 0 9rem;
  }
  #home.home-hide {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    opacity: 1 !important;
    z-index: 10;
  }
  #home .content {
    position: relative;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    top: auto;
    text-align: center;
  }
  #home nav ul li {
    display: inline-block;
  }

  #offer-part {
    position: relative;
    width: 100%;
    height: auto !important;
    padding: 7rem 0 2rem;
    border-left: none;
    border-right: none;
    border-bottom: none;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    border-radius: 0;
    top: auto;
  }
  #offer-part.offer-open {
    top: auto;
  }
  #offer-part .close-offer {
    display: none;
  }
  #offer-part .form-block {
    position: relative;
    top: auto;
    left: auto;
    -webkit-transform: translateY(0) translateX(0);
    -moz-transform: translateY(0) translateX(0);
    -ms-transform: translateY(0) translateX(0);
    -o-transform: translateY(0) translateX(0);
    transform: translateY(0) translateX(0);
    width: 80%;
    margin: 0 auto;
  }
  #offer-part .form-block .field-offer {
    width: 100%;
    float: none;
  }

  #answer .success-message {
    padding-bottom: 7rem;
  }

  .bottom-part {
    position: relative;
    bottom: auto;
    z-index: 30;
    width: 100%;
    -webkit-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -moz-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -ms-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    -o-transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
    transition: all 0.3s cubic-bezier(0, 0, 0.58, 1);
  }
  .bottom-part.bottom-hide {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
    opacity: 1 !important;
  }
}
/* Small Devices, Tablets @media only screen and (max-width: 768px) */
@media only screen and (max-width: 768px) {
  h1 {
    font-size: 4rem;
    font-weight: 700;
  }

  #home .content p {
    font-size: 1.5rem;
  }

  .contact-box {
    text-align: left !important;
  }
}
/* Extra Small Devices, Phones @media only screen and (max-width: 480px) */
@media only screen and (max-width: 480px) {
  #home .content {
    padding: 0 2rem;
  }
  #home nav ul li {
    display: block;
  }
  #home nav ul li a.light-btn {
    padding: 0.7em 0;
    float: none;
    margin: 0 auto 15px !important;
    max-width: 80%;
  }
  #home nav ul li a.action-btn {
    padding: 0.7em 0;
    float: none;
    margin: 0 auto;
    max-width: 80%;
  }

  h1 {
    font-size: 2.5rem;
  }

  #block-answer {
    min-height: 60px;
  }

  .bottom-part {
    position: relative;
    height: auto;
  }
  .bottom-part .contact-box:first-child {
    padding-bottom: 0;
  }
}
/* Only for tablet in landscape mode @media only screen and (max-device-width: 1024px) and (orientation: landscape) */
/* Only for phone in landscape mode @media screen and (max-device-width: 667px) and (orientation: landscape) */
@media screen and (max-device-width: 667px) and (orientation: landscape) {
  #home {
    padding: 5rem 0;
  }
}
