/*
* Template Name: Lane
* Template Description: Lane - Elegant Responsive Coming Soon Template
* Template URI: http://demo.webisir.com/lane
* Version: 1.0
* Author: Webisir
* Author URI: http://themeforest.net/user/webisir
*/

/*--------------------------------------------------------------
    TABLE OF CONTENTS:
----------------------------------------------------------------

    1.0 - Google Fonts
    2.0 - Font Awesome 4.3.0
    3.0 - Reset
    4.0 - Helper Classes
    5.0 - Headings
    6.0 - Main Wrapper
    7.0 - Fog Effect
    8.0 - Header
    9.0 - Countdown
    10.0 - Navigation
    11.0 - Extra Section
        11.1 - Extra Section Content
        11.2 - Extra Section Layout Columns   
        11.3 - Icon Box Element
        11.4 - Open Extra Section Button
        11.5 - Close Extra Section Button
    12.0 - Form
    13.0 - Contacts List
    14.0 - Footer
        14.1 - Social Links
    15.0 - Overlay
    16.0 - Video Controls
    17.0 - Pattern
    18.0 - Page Loader
    19.0 - Keyframe animations
        19.1 - Page Loader Animation
        19.2 - Bounce Animation
    20.0 - Media Queries

--------------------------------------------------------------*/

/*--------------------------------------------------------------
    1.0 - Google Fonts
--------------------------------------------------------------*/

/* Lora */
@import url(http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic);

/* Lato */
@import url(http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic);


/*--------------------------------------------------------------
    2.0 - Font Awesome 4.3.0
--------------------------------------------------------------*/

@import url('font-awesome.min.css');

/*--------------------------------------------------------------
    3.0 - Reset
--------------------------------------------------------------*/
*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

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;
    vertical-align: baseline;
}

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

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

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

[hidden] {
    display: none;
}

html,
input {
    color: #606060;
    font-family: 'Lato', sans-serif;
}

html {
    height: 100%;
    background: #ffffff;
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    height: 100%;
    font-size: 16px;
    line-height: 1.5;
}

hr {
    display: block;
    margin: 20px 0;
    height: 1px;
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.2);

}

img {
    vertical-align: middle;
    max-width: 100%;
}

b,
strong {
    font-weight: bold;
}

p {
    margin: 0 0 20px 0;
}

pre,
dl,
ol,
ul {
    margin: 20px 0;
}

dd {
    margin-left: 40px;
}

ol,
ul {
    padding-left: 40px;
}

q,
blockquote {
    quotes: none;
    margin: 40px 0 40px 20px;
    padding-left: 20px;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    border-left: 10px solid rgba(0,0,0,0.1);  
}

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

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

code,
kbd,
pre,
samp {
    padding: 20px;
    background: rgba(0,0,0,0.2);
    font-family: monospace, serif;   
}

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

small {
    font-size: 75%;
}

a {
    text-decoration: none;
    color: #111111;
    font-weight: bold;
    -webkit-transition: color 0.2s, background 0.2s;
    -moz-transition: color 0.2s, background 0.2s;
    -ms-transition: color 0.2s, background 0.2s;
    -o-transition: color 0.2s, background 0.2s;
    transition: color 0.2s, background 0.2s;
}

a:hover {
    text-decoration: underline;
}

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

/*--------------------------------------------------------------
    4.0 - Helper Classes
--------------------------------------------------------------*/

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

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

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

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

.text-nowrap {
  white-space: nowrap;
}

.text-lowercase {
  text-transform: lowercase;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

.align-left {
    display: inline-block;
    float: left;
    margin-right: 20px;
}

.align-right {
    display: inline-block;
    float: right;
    margin-left: 20px;
}

.align-center {
    clear: both;
    display: block;
    margin: 0 auto;
}

.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
 
.clearfix:after {
  clear: both;
}

/*--------------------------------------------------------------
    5.0 - Headings
--------------------------------------------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 20px;
    color: #111111;
    font-family: 'Lora', serif;
    font-weight: 700;
    font-style: italic;
}

h1 {
    font-size: 36px;
    line-height: 1.3;
}

h2 {
    font-size: 28px;
    line-height: 1.4;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

h1 i,
h2 i,
h3 i,
h4 i,
h5 i,
h6 i {
    margin-right: 10px;
    color: rgba(0,0,0,0.3);
}


/*--------------------------------------------------------------
   6.0 - Fog Effect
--------------------------------------------------------------*/

.wrapper {
    display: table;
    height: 100%;
    width: 100%;
    -webkit-transition: width 0.4s linear 1s;
    -moz-transition: width 0.4s linear 1s;
    -ms-transition: width 0.4s linear 1s;
    -o-transition: width 0.4s linear 1s;
    transition: width 0.4s linear 1s;
}

.open .wrapper {
    width: 50%;
    -webkit-transition: width 0.4s linear 0.8s;
    -moz-transition: width 0.4s linear 0.8s;
    -ms-transition: width 0.4s linear 0.8s;
    -o-transition: width 0.4s linear 0.8s;
    transition: width 0.4s linear 0.8s;
}

/*--------------------------------------------------------------
   7.0 - Fog Effect
--------------------------------------------------------------*/

body:before,
body:after {
    position: fixed;
    width: 1px;
    height: 1px;
    background: rgba(255,255,255,0.2);
    visibility: hidden;
    opacity: 0;
    content: '';
    -webkit-transition: all 0.4s linear 0.6s;
    -moz-transition: all 0.4s linear 0.6s;
    -o-transition: all 0.4s linear 0.6s;
    transition: all 0.4s linear 0.6s;
}

body:before {
    top: 0;
    left: 0;
}

body:after {
    bottom: 0;
    right: 0;
}

body.open:before,
body.open:after {
    width: 100%;
    height: 100%;
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}

/*--------------------------------------------------------------
   8.0 - Header
--------------------------------------------------------------*/

.main-header {
    display: table-cell;
    padding: 40px;
    vertical-align: middle;
    text-align: center;
    -webkit-transition: padding 0.4s linear 1s;
    -moz-transition: padding 0.4s linear 1s;
    -ms-transition: padding 0.4s linear 1s;
    -o-transition: padding 0.4s linear 1s;
    transition: padding 0.4s linear 1s;
}

.open .main-header {
    padding: 20px;
    -webkit-transition: padding 0.4s;
    -moz-transition: padding 0.4s;
    -ms-transition: padding 0.4s;
    -o-transition: padding 0.4s;
    transition: padding 0.4s;
}

.header-content {
    position: relative;
    display: inline-block;
    margin-right: auto;
    margin-left: auto;
    padding: 80px;
    max-width: 800px;
    background: #ffffff;
    z-index: 1;
}

.header-content:before {
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    border: 1px solid rgba(255,255,255,0.4);
    content: '';
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    z-index: -1;
}

.header-content:hover:before {
    top: -30px;
    right: -30px;
    bottom: -30px;
    left: -30px;
    background: rgba(255,255,255,0.6);
}

.open .header-content:before {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#logo {
    margin-bottom: 40px;
}

.main-header h2 {
    position: relative;
    margin-bottom: 0;
    padding-top: 21px;
    font-family: 'Lato', sans-serif;
    font-size: 24px;
    font-weight: 300;
    font-style: normal;
}

.main-header h2:before {
    position: absolute;
    top: 0;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    height: 1px;
    background: #111111;
    content: '';
}

/*--------------------------------------------------------------
   9.0 - Countdown
--------------------------------------------------------------*/

#countdown {
    margin-top: 40px;
    color: rgba(0,0,0,0.4);
    font-size: 18px;
    font-family: 'Lora', serif;
    font-weight: 700;
}

.count-el {
    display: inline-block;
    margin: 0;
}

.count-el:first-child {
    position: relative;
    color: #111111;
    font-size: 28px;
    z-index: 0;
}

.count-el:first-child:before {
    position: absolute;
    top: -35px;
    left: -20px;
    color: #f2f2f2;
    font-size: 50px;
    font-family: 'FontAwesome';
    font-weight: normal;
    content: '\f017';
    z-index: -1;
}

.count-el:first-child .name-counter {
    font-size: 24px;
}

.count-el.days {
    margin-right: 6px;
    padding-right: 10px;
    border-right: 1px solid rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------
   10.0 - Navigation
--------------------------------------------------------------*/

.main-navigation {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    padding: 0 80px;
    background: #111111;
    text-align: center;
    z-index: 2;
    -webkit-transform: translateY(-110%);
    -moz-transform: translateY(-110%);
    -ms-transform: translateY(-110%);
    -o-transform: translateY(-110%);
    transform: translateY(-110%);
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    -ms-transition: -ms-transform 0.4s;
    -o-transition: -o-transform 0.4s;
    transition: transform 0.4s;
}

.open .main-navigation {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: -webkit-transform 0.4s linear 1.4s;
    -moz-transition: -moz-transform 0.4s linear 1.4s;
    -ms-transition: -ms-transform 0.4s linear 1.4s;
    -o-transition: -o-transform 0.4s linear 1.4s;
    transition: transform 0.4s linear 1.4s;
}

.main-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    display: inline-block;
    margin-right: -4px;
}

.main-navigation a {
    display: block;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
}

.main-navigation a:hover,
.main-navigation a.selected {
    color: #111111;
    background: #ffffff;
}

.mobile {
    position: fixed;
    top: 10px;
    right: 40px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    text-align: center;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, color 0.4s linear 0.6s;
    -moz-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, color 0.4s linear 0.6s;
    -ms-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, color 0.4s linear 0.6s;
    -o-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, color 0.4s linear 0.6s;
    transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, color 0.4s linear 0.6s;
}

.mobile:link { 
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

/*--------------------------------------------------------------
   11.0 - Extra Section
--------------------------------------------------------------*/

.extra-section {
    position: fixed;
    top: 0;
    right: -100px;
    width: 50%;
    height: 100%;
    background: #ffffff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    z-index: 1; 
    -webkit-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, right 0.4s linear 0.6s;
    -moz-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, right 0.4s linear 0.6s;
    -ms-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, right 0.4s linear 0.6s;
    -o-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, right 0.4s linear 0.6s;
    transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, right 0.4s linear 0.6s;
}

.open .extra-section {
    right: 0;
    visibility: visible;
    opacity: 1;
    -webkit-transition: visibility 0s linear 1.2s, opacity 0.4s linear 1.2s, right 0.4s linear 1.2s;
    -moz-transition: visibility 0s linear 1.2s, opacity 0.4s linear 1.2s, right 0.4s linear 1.2s;
    -ms-transition: visibility 0s linear 1.2s, opacity 0.4s linear 1.2s, right 0.4s linear 1.2s;
    -o-transition: visibility 0s linear 1.2s, opacity 0.4s linear 1.2s, right 0.4s linear 1.2s;
    transition: visibility 0s linear 1.2s, opacity 0.4s linear 1.2s, right 0.4s linear 1.2s;
}

/*--------------------------------------------------------------
   11.1 - Extra Section Content
--------------------------------------------------------------*/

.section {
    display: table;
    table-layout: fixed;
    padding: 100px 80px;
    width: 100%;
    height: 100%;
}

.content-section {
    display: table-cell;
    vertical-align: middle;
}

.section-title {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.section-title:after {
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 1px;
    width: 80px;
    background: #111111;
    content: '';
}

/*--------------------------------------------------------------
   11.2 - Extra Section Layout Columns
--------------------------------------------------------------*/

.col {
    float: left;
    margin-right: 4%;
    word-wrap: break-word;
}

.col-last {
    margin-right: 0;
}

.one-half {
    width: 48%;
}

.one-third {
    width: 30.6666%;
}

.two-thirds {
    width: 65.3333%;
}

/*--------------------------------------------------------------
   11.3 - Icon Box Element
--------------------------------------------------------------*/

.icon-box {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.icon-box i {
    margin-bottom: 20px;
    color: rgba(0,0,0,0.3);
    font-size: 28px;
}

.icon-box h4 {
    position: relative;
    padding-bottom: 20px;
}

.icon-box h4:before {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -40px;
    width: 80px;
    height: 1px;
    background: rgba(0,0,0,0.1);
    content: '';
}

.icon-box p {
    font-size: 15px;
}

/*--------------------------------------------------------------
   11.4 - Open Extra Section Button
--------------------------------------------------------------*/

#open {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    opacity: 1;
    visibility: visible;
    -webkit-transition: right 0.2s, bottom 0.2s, opacity 0.4s linear 1.6s;
    -moz-transition: right 0.2s, bottom 0.2s, opacity 0.4s linear 1.6s;
    -ms-transition: right 0.2s, bottom 0.2s, opacity 0.4s linear 1.6s;
    -o-transition: right 0.2s, bottom 0.2s, opacity 0.4s linear 1.6s;
    transition: right 0.2s, bottom 0.2s, opacity 0.4s linear 1.6s;
}

.header-content:hover #open {
    right: -30px;
    bottom: -30px;

}

.open #open {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity 0.4s, visibility 0s linear 0.4s;
    -moz-transition: opacity 0.4s, visibility 0s linear 0.4s;
    -ms-transition: opacity 0.4s, visibility 0s linear 0.4s;
    -o-transition: opacity 0.4s, visibility 0s linear 0.4s;
    transition: opacity 0.4s, visibility 0s linear 0.4s;
}

#open i {
    position: absolute;
    right: 25px;
    bottom: 25px;
    color: #ffffff;
    z-index: 1;
}

#open:after {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 100px 100px;
    border-color: transparent transparent #111111 transparent;
    content: '';
}

#open:hover:after {
    border-bottom-color: #000000; 
}

/*--------------------------------------------------------------
   11.5 - Close Extra Section Button
--------------------------------------------------------------*/

#close {
    position: fixed;
    top: -80px;
    left: -80px;
    width: 80px;
    height: 80px;
    font-size: 18px;
    visibility: hidden;
    z-index: 3;
    -webkit-transition: top 0.4s, left 0.4s, visibility 0s linear 0.4s;
    -moz-transition: top 0.4s, left 0.4s, visibility 0s linear 0.4s;
    -ms-transition: top 0.4s, left 0.4s, visibility 0s linear 0.4s;
    -o-transition: top 0.4s, left 0.4s, visibility 0s linear 0.4s;
    transition: top 0.4s, left 0.4s, visibility 0s linear 0.4s;
}

.open #close {
    top: 0;
    left: 0;
    visibility: visible;
    -webkit-transition: top 0.4s linear 2s, left 0.4s linear 2s;
    -moz-transition: top 0.4s linear 2s, left 0.4s linear 2s;
    -ms-transition: top 0.4s linear 2s, left 0.4s linear 2s;
    -o-transition: top 0.4s linear 2s, left 0.4s linear 2s;
    transition: top 0.4s linear 2s, left 0.4s linear 2s;
}

#close i {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #ffffff;
    z-index: 1;
}

#close:before {
    position: absolute;
    top: 0;
    left: 0;
    border-style: solid;
    border-width: 80px 80px 0 0;
    border-color: #000000 transparent transparent transparent;
    content: '';
}

#close:hover:before {
    border-top-color: #111111;
}

/*--------------------------------------------------------------
   12.0 - Form
--------------------------------------------------------------*/

form {
    margin-bottom: 20px;
    overflow: auto;
}

input,
textarea {
    margin-bottom: 20px;
    padding: 15px 0;
    width: 100%;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    -webkit-transition: border-color 0.2s, background 0.2s;
    -moz-transition: border-color 0.2s, background 0.2s;
    -ms-transition: border-color 0.2s, background 0.2s;
    -o-transition: border-color 0.2s, background 0.2s;
    transition: border-color 0.2s, background 0.2s;
    -webkit-appearance: none;
}

input[type="text"],
textarea {
    color: #000000;
    border: 0;
    border-bottom: 1px solid rgba(0,0,0,0.2);
}

::-webkit-input-placeholder {
    color: #606060;
}

::-moz-placeholder {
    color: #606060;
}

:-ms-input-placeholder {
   color: #606060;
}

textarea {
    height: 200px;
}

input[type="text"]:focus,
textarea:focus {
    border-color: #111111;
}

.newsletter-form input[type="text"] {
    float: left;
    width: 75%;
}

input.submit {
    padding: 17px 20px;
    width: auto;
    color: #ffffff;
    background: #191919;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    -webkit-appearance: button;
}

input.submit:hover {
    opacity: 0.9;
}

.newsletter-form input.submit {
    float: right;
    width: 25%;
    border-radius: 0 2px 2px 0;
}

.mandatory {
    float: right;
}

.form-msg {
    clear: both;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.form-msg a:before {
    font-family: 'FontAwesome';
    content: '\f00d';
    margin-right: 10px;
}

.form-msg a {
    display: block;
    padding: 10px 40px;
    font-weight: bold;
}

.form-msg a,
.form-msg a:hover {
    color: #ffffff;
    text-decoration: none;
}

.form-msg.fail {
    background: #CF000F;
}

.form-msg.duplicate {
    background: #e67e22;
}

.form-msg.success {
    background: #26A65B;
}

.form-loader {
    display: inline-block;
    margin-left: 20px;
    vertical-align: middle;
    width: 12px;
    height: 12px;
    border: 1px solid #111111;
    border-radius: 50%;
    content: '';
    -webkit-animation: bounce 0.8s infinite ease-in-out;
    -moz-animation: bounce 0.8s infinite ease-in-out;
    -ms-animation: bounce 0.8s infinite ease-in-out;
    -o-animation: bounce 0.8s infinite ease-in-out;
    animation: bounce 0.8s infinite ease-in-out;
}

/*--------------------------------------------------------------
   13.0 - Contacts List
--------------------------------------------------------------*/

ul.contacts-list {
    margin: 20px 0;
    padding: 40px 0;
    border-top: 1px solid rgba(0,0,0,0.2);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    list-style: none;
    overflow: hidden;
    clear: both;
}

ul.contacts-list li {
    position: relative;
    font-size: 14px;
    text-align: center;
}

ul.contacts-list li i {
    display: block;
    margin-bottom: 20px;
    color: #111111;
    font-size: 24px;
    -webkit-transition: color 0.4s;
    -moz-transition: color 0.4s;
    -ms-transition: color 0.4s;
    -o-transition: color 0.4s;
    transition: color 0.4s;
}

ul.contacts-list li:hover i {
    color: #111111;
}

/*--------------------------------------------------------------
   14.0 - Footer
--------------------------------------------------------------*/

footer {
    position: fixed;
    bottom: 0px;
    left: 0px;
    padding: 20px 40px;
    width: 100%;
    color: #ffffff;
    font-size: 14px;
    z-index: 1;
    -webkit-transition: width 0.6s linear 0.6s;
    -moz-transition: width 0.6s linear 0.6s;
    -ms-transition: width 0.6s linear 0.6s;
    -o-transition: width 0.6s linear 0.6s;
    transition: width 0.6s linear 0.6s;
}

.open footer {
    width: 50%;
    -webkit-transition: width 0.6s linear 2s;
    -moz-transition: width 0.6s linear 2s;
    -ms-transition: width 0.6s linear 2s;
    -o-transition: width 0.6s linear 2s;
    transition: width 0.6s linear 2s;
}

/*--------------------------------------------------------------
   14.1 - Social Links
--------------------------------------------------------------*/

ul#social-links {
    float: right;
    margin: 0 0 0 40px;
    padding: 0;
    list-style: none;
}

ul#social-links li {
    display: inline-block;
    margin: 0 10px;
}

ul#social-links li a {
    display: block;
    font-size: 18px;
    color: #ffffff;
}

/*--------------------------------------------------------------
   15.0 - Overlay
--------------------------------------------------------------*/

#overlay {
    position: fixed;
    top: 0;
    left: 0;  
    width: 100%;
    height: 100%; 
    
    /* Overlay OPACITY */
    opacity: 0.6;

    /* Overlay BACKGROUND */ 
    background-color: #000000;    
}

/*--------------------------------------------------------------
   16.0 - Video Controls
--------------------------------------------------------------*/

#video-controls {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -40px;
    width: 80px;
    height: 40px;
    z-index: 1;
}

#video-controls a {
    display: inline-block;
    float: left;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #ffffff;
}

/*--------------------------------------------------------------
  17.0 - Pattern
--------------------------------------------------------------*/

body.pattern {
        background-repeat: repeat;
        background-image: url(../img/sample-pattern.png);
}

/*--------------------------------------------------------------
  18.0 - Page Loader
--------------------------------------------------------------*/

.content-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    z-index: 1000;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    -webkit-transform: translate3d(-50%, -50%, 0);
    -moz-transform: translate3d(-50%, -50%, 0);
    -ms-transform: translate3d(-50%, -50%, 0);
    -o-transform: translate3d(-50%, -50%, 0);
    transform: translate3d(-50%, -50%, 0);
    perspective: 1200;
}

.flipper {
    position: relative;
    width: inherit;
    height: inherit;
    -webkit-animation: flip 1.2s infinite ease-in-out;
    -moz-animation: flip 1.2s infinite ease-in-out;
    -ms-animation: flip 1.2s infinite ease-in-out;
    -o-animation: flip 1.2s infinite ease-in-out;
    animation: flip 1.2s infinite ease-in-out;
    transform-style: preserve-3d;
}

.front,
.back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #ffffff;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.front {
    border: 1px solid rgba(0,0,0,0.2);
}

.back {
    background: rgba(0,0,0,0.2);
    z-index: 1;
    -webkit-transform: rotateY(-180deg);
    -moz-transform: rotateY(-180deg);
    -ms-transform: rotateY(-180deg);
    -o-transform: rotateY(-180deg);
    transform: rotateY(-180deg);
}

/*--------------------------------------------------------------
  19.0 - Keyframe animations
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  19.1 - Page Loader Animation
--------------------------------------------------------------*/

@-webkit-keyframes flip {
  0% {
    -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@-moz-keyframes flip {
  0% {
    -moz-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -moz-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -moz-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@-o-keyframes flip {
  0% {
    -o-transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    -o-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    -o-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

@keyframes flip {
  0% {
    transform: perspective(120px) rotateX(0deg) rotateY(0deg);
  }
  50% {
    transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
  }
  100% {
    transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

/*--------------------------------------------------------------
  19.2 - Bounce Animation
--------------------------------------------------------------*/

@-webkit-keyframes bounce {
    0%  {  
            -webkit-transform: translateY(0px); 
            -webkit-animation-timing-function: ease-in;
        }
    25% {   -webkit-transform: translateY(5px); }
    50% { 
            -webkit-transform: translateY(10px); 
            -webkit-animation-timing-function: ease-in;
        }
    75%  {  -webkit-transform: translateY(5px); }
    100% {  -webkit-transform: translateY(0px); }        
}

@-moz-keyframes bounce {
    0%  {  
            -moz-transform: translateY(0px); 
            -moz-animation-timing-function: ease-in;
        }
    25% {   -moz-transform: translateY(5px); }
    50% { 
            -moz-transform: translateY(10px); 
            -moz-animation-timing-function: ease-in;
        }
    75%  {  -moz-transform: translateY(5px); }
    100% {  -moz-transform: translateY(0px); }        
}

@-o-keyframes bounce {
    0%  {  
            -o-transform: translateY(0px); 
            -o-animation-timing-function: ease-in;
        }
    25% {   -o-transform: translateY(5px); }
    50% { 
            -o-transform: translateY(10px); 
            -o-animation-timing-function: ease-in;
        }
    75%  { -o-transform: translateY(5px); }
    100% { -o-transform: translateY(0px); }        
}

@keyframes bounce {
    0%  {  
            transform: translateY(0px); 
            animation-timing-function: ease-in;
        }
    25% {   transform: translateY(5px); }
    50% { 
            transform: translateY(10px); 
            animation-timing-function: ease-in;
        }
    75%  {  transform: translateY(5px); }
    100% {  transform: translateY(0px); }        
}

/*--------------------------------------------------------------
  20.0 - Media Queries
--------------------------------------------------------------*/

@media ( min-width: 1001px ) and ( max-width: 1270px ), ( max-width: 650px ) {

    .one-half,
    .one-third,
    .two-thirds {
        margin-right: 0;
        width: 100%;
    }

    .contacts-list li {
        padding: 20px 0;
    }

    .newsletter-form input {
        float: none !important;
    }

    .newsletter-form input[type="text"] {
        width: 100%;
    }

    .newsletter-form input.submit {
        width: auto;
        border-radius: 2px;
    }

}

@media ( max-width: 1000px ) {
    
    body:before,
    body:after {
        display: none;
    }

    .open .wrapper {
        width: 100%;  
    }

    .header-content {
        opacity: 1;
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        transform: translateX(0);
        -webkit-transition: -webkit-transform 0.6s linear 1s, opacity 0.6s linear 1s;
        -moz-transition: -moz-transform 0.6s linear 1s, opacity 0.6s linear 1s;
        -ms-transition: -ms-transform 0.6s linear 1s, opacity 0.6s linear 1s;
        -o-transition: -o-transform 0.6s linear 1s, opacity 0.6s linear 1s;
        transition: transform 0.6s linear 1s, opacity 0.6s linear 1s;
    }

    .open .header-content {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
        -webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
        -moz-transition: -moz-transform 0.6s, opacity 0.6s;
        -ms-transition: -ms-transform 0.6s, opacity 0.6s;
        -o-transition: -o-transform 0.6s, opacity 0.6s;
        transition: transform 0.6s, opacity 0.6s;
    }

    .header-content:before {
        display: none;
    }

    .main-navigation {
        padding: 60px 0 0 0;
    }

    .open .main-navigation {
        -webkit-transform: translateY(-110%);
        -moz-transform: translateY(-110%);
        -ms-transform: translateY(-110%);
        -o-transform: translateY(-110%);
        transform: translateY(-110%);
        -webkit-transition: -webkit-transform 0.4s;
        -moz-transition: -moz-transform 0.4s;
        -ms-transition: -ms-transform 0.4s;
        -o-transition: -o-transform 0.4s;
        transition: transform 0.4s;
    }

    .open .main-navigation.show {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }

    .main-navigation li {
        display: block;
        margin: 0;
    }

    .main-navigation a {
        padding: 20px;
    }

    .open .mobile {
        visibility: visible;
        opacity: 1;
    }

    .open .mobile.clicked {
        color: #ffffff;
        z-index: 3;
    }

    .extra-section {
        right: auto;
        left: 100%;
        width: 100%;
        -webkit-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, left 0.4s linear 0.6s;
        -moz-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, left 0.4s linear 0.6s;
        -ms-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, left 0.4s linear 0.6s;
        -o-transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, left 0.4s linear 0.6s;
        transition: visibility 0s linear 1s, opacity 0.4s linear 0.8s, left 0.4s linear 0.6s;
    }
    
    .open .extra-section {
        left: 0;
        -webkit-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, left 0.4s linear 0.6s;
        -moz-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, left 0.4s linear 0.6s;
        -ms-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, left 0.4s linear 0.6s;
        -o-transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, left 0.4s linear 0.6s;
        transition: visibility 0s linear 0.6s, opacity 0.4s linear 0.6s, left 0.4s linear 0.6s;
    }

    #open,
    .header-content:hover #open {
        right: 0;
        bottom: 0;
    }

    .open #open {
        opacity: 1;
        visibility: visible;
    }

    footer {
        z-index: 1;
        -webkit-transition: width 0s, background 0.4s linear 0.6s;
        -moz-transition: width 0s, background 0.4s linear 0.6s;
        -ms-transition: width 0s, background 0.4s linear 0.6s;
        -o-transition: width 0s, background 0.4s linear 0.6s;
        transition: width 0s, background 0.4s linear 0.6s;   
    }

    .open footer {
        background: #000000;
        width: 100%;
        -webkit-transition: width 0s, background 0.4s;
        -moz-transition: width 0s, background 0.4s;
        -ms-transition: width 0s, background 0.4s;
        -o-transition: width 0s, background 0.4s;
        transition: width 0s, background 0.4s;
    }

}

@media ( max-width: 650px ) {
    
    .main-header {
        padding: 20px;
    }

    .header-content {
        padding: 40px;
    }

    .main-header h1 {
        font-size: 30px;
    }
    
    .main-header h2 {
        font-size: 20px;
    }
     
    .mobile {
        right: 20px;   
    }

    .section {
        padding: 100px 40px;
    }

    footer {
        display: none;
        text-align: center;
    }

    footer.show {
        display: block;
    }

    ul#social-links {
        float: none;
        margin: 10px 0 0;
    }

    .form-msg a {
        padding: 10px 20px;
    }

    #video-controls {
        position: static;
        margin: 0 auto;
    }

}