/*
Version : 1.0
*/

/*----------Table of contents-----------

- Basic
- Preloader
- Logo
- Slides
- Single Image
- Youtube Video
- Vimeo Video
- Sidebar
  - Sidebar Toggle Button
- Content
  - Coming Soon Text
  - Coming Soon Message
  - Countdown
  - Buttons
  - Social Networks
- Page
  - Page Close Button
  - Newsletter Form
  - Contact Address
- Media

----------End Table of contents-----------*/

/***---------- Basic -----------***/

html,
body {
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    color: #42a1c7;
    background: #ebf2f3;
}

/* The alert message box */
.alert {
    padding: 20px;
    background-color: #f44336; /* Red */
    color: white;
    margin-bottom: 15px;
}

/* The close button */
.closebtn {
    margin-left: 15px;
    color: white;
    font-weight: bold;
    float: right;
    font-size: 22px;
    line-height: 20px;
    cursor: pointer;
    transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
    color: black;
}
/***---------- Preloader -----------***/

.preloader {
    position: fixed;
    z-index: 999999;
    display: table;
    width: 100%;
    height: 100%;
    table-layout: fixed;
    background: url(../images/preloader.gif) no-repeat center #fff;
}

/***---------- Logo -----------***/

.logo {
    position: fixed;
    z-index: 4;
    top: 20px;
    left: 20px;
}

/***---------- Slides -----------***/

#slides {
    background: #ebf2f3;
}

.slides-pagination {
    bottom: 50%;
    left: 20px;
    width: auto;
}

.slides-pagination a {
    display: block;
    border-color: #ffa500;
}

.slides-pagination a.current {
    background: #ffa500;
}

/***---------- Single Image -----------***/

.single-image {
    background: #ebf2f3 url(../images/slide03.jpg) no-repeat center center;
    background-size: cover;
}

/***---------- Youtube Video -----------***/

.youtube-video {
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.youtube-video-image {
    position: fixed;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transition: all .4s ease;
    opacity: 1;
    background: url(../images/slide01.jpg) no-repeat center center;
    background-size: cover;
}

.loaded .youtube-video-image {
    opacity: 0;
}

.ytplayer-container {
    position: absolute;
    z-index: 1;
    top: 0;
}

/***---------- Vimeo Video -----------***/

.vimeo-video {
    position: fixed;
    z-index: -1 !important;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

#vimelar-container {
    z-index: 0 !important;
}

/***---------- Sidebar -----------***/

.sidebar {
    position: fixed;
    z-index: 6;
    top: 0;
    right: 0;
    width: 450px;
    height: 100%;
    padding: 20px;
    transition: all .4s ease;
    background: #fff;
}

.sidebar:before {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    display: block;
    width: 500px;
    height: 100%;
    content: '';
    transition: border-left .4s ease;
    transform: skew(-17deg, 0deg);
    transform-origin: 0 0 0;
    border-left: solid 0;
    background: #fff;
}

.sidebar:hover::before {
    border-left: solid 14px;
}

.sidebar:hover .toggle-sidebar {
    left: -95px;
    opacity: 1;
}

.sidebar.content-hidden {
    right: -500px;
}

/*-- Sidebar Toggle Button --*/

.toggle-sidebar {
    position: absolute;
    top: 318px;
    left: -105px;
    width: 69px;
    height: 25px;
    cursor: pointer;
    transition: all .8s ease;
    transform: rotate(107deg);
    transform-origin: 0 0 0;
    opacity: 0;
    border-radius: 3px;
    background: #42a1c7;
}

.toggle-sidebar:before {
    position: absolute;
    bottom: 5px;
    left: 8px;
    width: 75%;
    height: 2px;
    content: '';
    background: #fff;
}

.toggle-sidebar:after {
    position: absolute;
    top: 5px;
    left: 8px;
    width: 75%;
    height: 2px;
    content: '';
    background: #fff;
}

/***---------- Content -----------***/

.content {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 56px;
    transform: translateY(-50%);
}

/*-- Coming Soon Text --*/

.site-title {
    font-size: 67px;
    position: relative;
    margin: 0;
    color: #ffa500;
}

.site-title:before {
    position: absolute;
    z-index: -1;
    bottom: 8px;
    width: 100%;
    height: 2px;
    content: '';
    background: #42a1c7;
}

.site-title span {
    position: relative;
}

.site-title span:before {
    position: absolute;
    z-index: -1;
    bottom: 8px;
    width: 100%;
    height: 2px;
    content: '';
    background: #fff;
}

/*-- Coming Soon Message --*/

.message {
    font-size: 25px;
    margin-top: 10px;
}

/*-- Countdown --*/

#cntdwn h2 {
    font-size: 42px;
    margin-top: 10px;
}

/*-- Buttons --*/

.newsletter-button,
.contact-button {
    position: relative;
    display: inline-block;
    width: 95px;
    margin: 0 4px 20px;
    padding: 10px 20px;
    transition: all .4s ease;
    text-decoration: none;
    color: #fff;
    border: none;
}

.newsletter-button i,
.contact-button i {
    font-size: 38px;
    position: absolute;
    top: -5px;
}

.contact-button i {
    right: -36px;
    color: #42a1c7;
}

.newsletter-button i {
    left: -36px;
    color: #ffa500;
}

.newsletter-button {
    background: linear-gradient(to bottom, #ffa500 50%, #42a1c7 50%);
    background-position: top;
    background-size: 100% 200%;
}

.newsletter-button:hover {
    background-position: bottom;
}

.contact-button {
    background: linear-gradient(to bottom, #42a1c7 50%, #ffa500 50%);
    background-position: top;
    background-size: 100% 200%;
}

.contact-button:hover {
    background-position: bottom;
}


/*-- Social Networks --*/

.socialnetwork {
    padding: 0;
}

.socialnetwork > li {
    display: inline-block;
    margin-right: 5px;
    list-style: none;
}

.socialnetwork > li > a {
    font-size: 22px;
    line-height: 40px;
    display: block;
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 100%;
}

.socialnetwork > li:nth-child(1) > a {
    background: #3c55af;
}

.socialnetwork > li:nth-child(2) > a {
    background: #1aabff;
}

.socialnetwork > li:nth-child(3) > a {
    background: #fd3baf;
}

.socialnetwork > li:nth-child(4) > a {
    background: #3971b7;
}

/***---------- Page -----------***/

.page {
    position: absolute;
    z-index: 5;
    top: 0;
    right: 0;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left .8s ease;
    text-align: left;
}

.page:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    transform: skew(-17deg, 0deg);
    transform-origin: 0 0 0;
    background: #ebf2f3;
}

.page.in {
    left: 0;
}

.page-content {
    position: absolute;
    top: 50%;
    margin-left: 40px;
    padding: 40px;
    transform: translateY(-50%);
    border: dashed 1px;
}

.page-content h2 {
    font-weight: normal;
    margin-top: 0;
}

/*-- Page Close Button--*/

.close {
    font-size: 40px;
    position: absolute;
    top: 50%;
    right: -50px;
    transition: all .4s ease;
    transform: translateY(-50%);
    color: #ffa500;
}

.close:hover {
    color: #42a1c7;
}

/*-- Newsletter Form --*/

#newsletter-form.out {
    display: none;
}

#newsletter-form input {
    display: block;
    width: 100%;
    height: 42px;
    padding: 0;
    text-indent: 15px;
    border: 0;
    border-bottom: solid 2px #ffa500;
    background: #fff;
}

#newsletter-form button {
    margin: 15px auto 0;
    padding: 10px 30px;
    cursor: pointer;
    transition: all .4s ease;
    color: #fff;
    border: none;
    background: linear-gradient(to bottom, #ffa500 50%, #42a1c7 50%);
    background-position: top;
    background-size: 100% 200%;
}

#newsletter-form button:hover {
    background-position: bottom;
}

#newsletter-form input:focus,
#newsletter-form button:focus {
    outline: none;
}

.newsletter-form-success {
    display: none;
    padding: 0 15px;
    border: dashed 1px;
    background: #fff;
}

.newsletter-form-success.in {
    display: none;
}

/*-- Contact Address --*/

.contact-address i {
    font-size: 28px;
    position: absolute;
    top: -8px;
    left: 0;
}

.contact-address p {
    position: relative;
    padding-left: 32px;
    color: #7b7b7b;
}

.contact-address a {
    text-decoration: none;
    color: #7b7b7b;
}

/***---------- Media -----------***/

@media screen and (max-width: 767px) {
    .sidebar {
        position: absolute;
        top: 80%;
        width: 100%;
        height: auto;
        padding: 0;
    }

    .sidebar:hover::before {
        border: none;
    }

    .toggle-sidebar {
        display: none;
    }

    .content {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        width: 433px;
        margin: auto;
        padding: 40px 0;
        transform: translateY(0);
    }

    .logo {
        right: 0;
        left: 0;
    }

    .slides-pagination {
        bottom: 55%;
    }

    .page {
        position: fixed;
        z-index: 6;
    }

    .page:before {
        transform: skew(0deg, 0deg);
    }

    .page-content {
        position: relative;
        top: 45%;
        margin: 20px;
        padding: 30px;
    }

    .page-content h2 {
        font-size: 22px;
    }

    .close {
        top: auto;
        right: auto;
        bottom: -60px;
        left: 50%;
        transform: translateX(-50%);
    }

    #newsletter-form button {
        display: block;
    }
}


@media screen and (max-width: 497px)
{
    .site-title {
        font-size: 47px;
    }

    .site-title:after {
        left: 138px;
        width: 34px;
    }

    .message {
        font-size: 14px;
    }

    #cntdwn h2 {
        font-size: 30px;
    }

    .content {
        width: 292px;
    }
}

@media screen and (max-width: 425px)
{
    .page-content {
        margin: 20px 10px;
        padding: 20px;
    }

    .page-content h2 {
        font-size: 18px;
    }

    .newsletter-button i,
    .contact-button i {
        display: none;
    }
}

@media screen and (max-height: 360px)
{
    .page-content {
        top: 0;
        transform: translateY(0px);
    }
}

/* cyrillic-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/K88pR3goAWT7BTt32Z01mxJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
}
/* cyrillic */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/RjgO7rYTmqiVp7vzi-Q5URJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/LWCjsQkB6EMdfHrEVqA1KRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+1F00-1FFF;
}
/* greek */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/xozscpT2726on7jbcb_pAhJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0370-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/59ZRklaO5bWGqF5A9baEERJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/u-WUoqrET9fUeobQW7jkRRJtnKITppOI_IvcXXDNrsc.woff2) format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url(https://fonts.gstatic.com/s/opensans/v13/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

