/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */
/* FONTS */
@font-face {
    font-family: 'quicksandbook';
    src: url('../fonts/quicksand_book-webfont.eot');
    src: url('../fonts/quicksand_book-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/quicksand_book-webfont.woff2') format('woff2'),
         url('../fonts/quicksand_book-webfont.woff') format('woff'),
         url('../fonts/quicksand_book-webfont.ttf') format('truetype'),
         url('../fonts/quicksand_book-webfont.svg#quicksandbook') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

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

html, body {
    height: 100%;
}

input[type="text"],
input[type="email"] {
    color: #fffefe;
    font-size: 18px;
    border: 0;
    border-bottom: 1px solid #ffffff;
    width: 100%;
    height: 30px;
    background: transparent;
    padding: 5px 0;
    display: inline-block;
    margin: 0 0 0;
    vertical-align: top;
    outline: 0;
    border-radius: 0;
}

textarea {
    width: 100%;
    height: 182px;
    font-size: 18px;
    background: transparent;
    border:0;
    border-bottom: 1px solid #ffffff;
    resize: none;
    color: #fffefe;
    outline: 0;
    padding: 5px 0;
    border-radius: 0;

}
input[type="text"],
input[type="email"],
select,
textarea
{
    font-family: 'quicksandbook', Arial, sans-serif;
}

[type="submit"] {
    height: 40px;
    text-align: center;
    color: #fff;
    background: #e86339;
    font-size: 24px;
    padding: 0 12px;
    margin: 0;
    vertical-align: middle;
    border: 0;
    outline: 0;
    display: inline-block;
    font-family: 'quicksandbold', Arial, sans-serif;
    text-transform: uppercase;
    border-radius: 0;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */



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

/*
 * 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: 150%;
}

/*
 * 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;
}

/*
 * 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

body {
    color: #ffffff;
    overflow: hidden;
    font-family: 'quicksandbook', Arial, sans-serif;
    background: #000;
}

#wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    /*background: url(../img/cover-6.jpg) no-repeat 0 0;*/
    background-size: cover;
}

#wrapper.disabled:after{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    opacity: 0.73;
    filter: alpha(opacity:73);
    background: #000;
    z-index: 98;
}

#main {
    display: table;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

#main .container {
    padding: 210px 0 190px 0;
    display: table-cell;
    vertical-align: middle;
}

#main .container > div {
    max-width: 1000px;
    padding: 0 10%;
    position: relative;
}

#main .container #content {
    padding-right: 50px;
}

p {
    font-size: 23px;
    line-height: 24px;
    margin: 0;
}

#content .first {
    font-size: 45px;
    line-height: 50px;
    margin: 0 0 5px;
}

#main strong {
    font-family: 'quicksandbold', Arial, sans-serif;
}

.intro {
    margin: 0 0 30px;
}
.share-it {
    position: absolute;
    right: 47px;
    top: 50%;
    list-style: none;
    margin:  -90px 0 0;
    padding: 0;
}

.share-it li {
    width: 32px;
    height: 32px;
    margin: 10px 0 0;
}

.share-it li:first-child {
    margin-top: 0px;
}

.share-it a {
    width: 32px;
    height: 32px;
    display: block;
    color: transparent;
    text-indent: -999em;
    background: url(../img/icons.png) no-repeat;
}

.share-it .icon-mail {
    background-position: 0 0;
}

.share-it .icon-fb {
    background-position: 0 -43px;
}

.share-it .icon-tw {
    background-position: 0 -85px;
}

.share-it a:hover {
    opacity: 0.7;
    filter: alpha(opacity=70);
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    transition: all 0.8s;
    
    -webkit-transform: rotate(360deg); 
    -moz-transform: rotate(360deg); 
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);

}

#logo {
    background: url(../img/logo.png) no-repeat;
    width: 150px;
    height: 114px;
    margin: 0 0 142px -75px;
    position: absolute;
    top: 50px;
    left: 50%;
    z-index: 2;
}

#logo span {
    color: transparent;
    text-indent: -999em;
}

#newsletter-form {
    position: relative;
    padding-bottom: 30px;
}
    
#newsletter-form input[type="text"] {
    color: #e86238;
    font-size: 24px;
    border-color: #e86339;
    width: 380px;
    height: 45px;
    background: transparent;
    padding: 5px 0;
    margin: 0 20px 0 0;
    vertical-align: bottom;
}

#newsletter-form input[type="submit"] {
    min-width: 61px;
    text-align: center;
    color: #fff;
    background: #e86339;
    padding: 0;
    margin: 0;
    vertical-align: bottom;
    border: 0;
    outline: 0;
    font-family: 'quicksandbold', Arial, sans-serif;
}

[type="submit"]:hover {
    opacity: 0.8;
    filter: alpha(opacity=80);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s
}

.error-msg {
    display: none;
    padding: 5px 0;
    font-size: 16px;
    color: #ff0000;
    position: absolute;
    bottom: -5px;
    left: 0;
}
#newsletter-form .success-msg {
    display: none;
    padding: 5px 0;
    font-size: 16px;
    position: absolute;
    bottom: -5px;
    left: 0;
    color: green;
}

::-webkit-input-placeholder { color: #e86339  ; }
::-moz-placeholder { color: #e86339 ;}
:-ms-input-placeholder { color: #e86339  ; }
input:-moz-placeholder { color: #e86339 ; }

.form ::-webkit-input-placeholder
{ color: #fffefe  ; }
.form ::-moz-placeholder
 { color: #fffefe ;}
.form :-ms-input-placeholder 
{ color: #fffefe  ; }
.form input:-moz-placeholder 
{ color: #fffefe ; }

.form .error::-webkit-input-placeholder
{ color: red  ; }
.form .error::-moz-placeholder
 { color: red ;}
.form .error:-ms-input-placeholder 
{ color: red  ; }
.form input:-moz-placeholder 
{ color: red ; }

/* contact */
#contact-layer {
    position: absolute;
    width: 435px;
    background-color: #4a345e;
    top: 0;
    bottom: 0;
    right: -440px;
    z-index: 99;
}

.close-layer {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 33px;
    height: 33px;
    background: url(../img/icons.png) no-repeat 0 -120px;
    border: 0;
    padding: 0;
    margin: 0;
    text-indent: -999em;
    color: transparent;
    z-index: 3;
    outline: 0;
}
.logo-ctn {
    display: none;
}
button.close-layer:hover {
    filter: alpha(opacity=70);
    -webkit-transition: all 0.8s;
    -moz-transition: all 0.8s;
    -o-transition: all 0.8s;
    transition: all 0.8s;
    
    -webkit-transform: rotate(360deg); 
    -moz-transform: rotate(360deg); 
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
}

#contact-layer .inner {
    padding: 42px 30px 30px;
} 

.subtitle {
    font-size: 35px;
    line-height: 36px;
    color: #e86238;
    margin: 0 0 3px;
}

.title-level2 {
    font-size: 35px;
    line-height: 36px;
    color: #fff;
    margin: 0 0 45px;
    font-family: 'quicksandbold', Arial, sans-serif;
}

.form {
    position: relative;
}

.form .controls {
    margin: 0 0 25px;
}

.form .error {
    border-color: red;
    color: red;
}


.errors {
    display: none;
    padding: 5px 0;
    font-size: 14px;
    color: #ff0000;
    position: absolute;
    left: 0;
    top: -28px;
}

.form .success {
    color: green;
    display: none;
    padding: 5px 0;
    font-size: 14px;
    position: absolute;
    left: 0;
    top: -28px;
}

.covers {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}
.covers ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.covers li {
    float: left;
    width: 100% !important;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    -ms-behavior: url(/backgroundsize.min.htc);
}

.covers li img {
    visibility: hidden;
}


/* ==========================================================================
   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;
    }
}

/*==========  MEDIA QUERY  ==========*/
@media (max-width: 992px) {
    #main .container > div {
        padding: 0 5% 0 3%;
    }
    p {
        font-size: 18px;
        line-height: 20px;
    }
    #content .first {
        font-size: 40px;
        line-height: 45px;
    }
    .share-it {
        right: 20px;
    }
}

@media (max-width: 768px) {
    
    body {
        background-color: #1c1222;
        overflow-y: visible;
        overflow-x: hidden;
        width: 100%;
    }

    #wrapper{
        position: relative;
        /*background-image: url(../img/bg-m.jpg);*/
        padding-top: 30px;
        min-height: 530px;
    }

    #logo {
        background: url(../img/logox2.png) no-repeat;
        background-size: 125px auto;
        width: 125px;
        height: 95px;
        margin: 0 auto 62px;
        position: relative;
        top:0;
        left:0;
    }

    #main {
        display: block;
        height: auto;
        padding-bottom: 20px;
    }
    
    #main .container {
        display: block;
        padding: 0;   
    }
    #main .container > div {
        padding: 0 10px;
    }
    #main .container #content {
        padding: 0px 0 37px;
    }
    p {
        font-size: 15px;
        line-height: 17px;
    }
    #content .first {
        font-size: 19px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    #content .first + p {
        margin-bottom: 7px;
    }
    .share-it {
        position: relative;
        left: 0;
        text-align: center;
        top: 0;
        margin: 0;
    }
    .share-it li {
        display: inline-block;
        margin: 0 6px;
    }
    #newsletter-form input[type="text"] {
        width: 234px;
        margin-right:5px;
        font-size: 19px;
        height: 30px;
    }
    [type="submit"] {
        height: 30px;
        font-size: 20px;
        padding-left: 9px;
        padding-right: 9px;
    }
    
    #newsletter-form input[type="submit"] {
        min-width: 48px;
    }

    #contact-layer {
        width: 100%;
        right: inherit;
        left: -100%;
    }

    #contact-layer .inner {
        padding: 65px 45px 0;
    }
    
    #contact-layer .subtitle,
    #contact-layer .title-level2{
        font-size: 25px;
        line-height: 26px
    }

    #contact-layer .title-level2 {
        margin-bottom: 12px;
    }

    .form .controls {
        margin: 0 0 8px;
    }
    
    .form textarea {
        height: 110px;
        padding: 3px 0;
    }

    .form input[type="text"],
    .form input[type="email"]{
        padding: 3px 0;
        height: 24px;
    }

    .form .success,
    .form .errors {
        position: relative;
        top: 0;
        padding: 0 0 3px;
        font-size: 12px;
        line-height: 13px;
    } 

    .logo-ctn {
        display: block;
        padding-bottom: 42px;
        text-align: center;
    }

    .logo-ctn img {
        display: inline-block;
    }
}







