/*! 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.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
    overflow-y: scroll; 
}

/*
 * 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;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html {
   overflow-x: hidden; 
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; } 
a {
   color: inherit;
   text-decoration: none;
}  

body { 
    background: #fff;
    font-family: 'Istok Web', sans-serif;
    padding-bottom: 50px;
}  

.menu { height: 12%; background: #4388F7;}

.main-slide {

}

.example {
   text-align: center;
   margin-bottom: 50px;
}

.main-slide .skw-content { 
   pointer-events: none;
}
.skewSlider {
   z-index: 1;
}
.skewSlider:after { 
   content: "";
   position: absolute;
   width: 100%;
   height: 100%;
   top: 0;
   left: 0;
   box-shadow: inset 0 0 2px rgba(0,0,0,0.2);
   pointer-events: none;
}

header { 
  padding: 20px 12%;
  background: #fff;
  width: 100%;
  top: 0;
  position: relative;
  box-shadow: 0 0 3px rgba(0,0,0,0.2);
  z-index: 5;
}

header nav ul { 
   margin: 0;
   padding: 0;
}

header nav { 
   float: right; 
   margin-top: 10px;
}

header .logo {
   float: left;
}

header li {
   display: inline-block;
   padding: 8px 20px;
   color: #444;
}

.get {
   position: relative;

}
.get:before {
   position: absolute;
   top: 10%;
   left: 0;
   content: "";
   width: 100%;
   height: 80%;
   background: #e23400;

}
.get a {
   position: relative;
   color: #fff;
   font-weight: 700;
  
}

/*.main-slide .skw-list > li {
   border-right: 5px solid #fff;
   border-left: 5px solid #fff;
}*/

.main-slide .skw-list > li .skw-content.slide1 {
  
   -webkit-transition: all 1.2s;
   transition: all 1.2s;
}
.main-slide .skw-list > li.skw-itemActive .skw-content.slide1 {
   
}

.main-slide .copy {
   position: absolute;
   bottom: 15%;
   right: 20%;

}

.main-slide .copy h2 {
   color: #fff;
   font-size: 2em;
   margin-top: 1.5em;
   margin-bottom: 0;
   line-height: 1;
   font-style: italic;
   display: inline-block;
   opacity: 0;
   padding: 20px 40px;
   position: relative;
   -webkit-transform: translateY(-10px) scale(1.1);
   transform: translateY(-30px) scale(1.1);
   -webkit-transition: all .4s;
   transition: all .8s;
}

.skw-caption {
    position: absolute;
    color: #fff;
    padding: 18px 30px;
    -webkit-transition: all .8s;
    -moz-transition: all .8s;
    -ms-transition: all .8s;
    transition: all .8s;
    bottom: 15%;
    right: 16%;
    z-index: 999;
    font-size: 1.8em; 
    font-style: italic;
    max-width: 45%;
    text-align: right;
}

.skw-container svg {
    height: 100%;
    width: 100%;
}

.main-slide {
  width: 100%;
  position: relative;
}

.main-slide .skw-caption:before {
   
    background: #FF0033;
  
}

.main-slide .copy h2:before {
   content: "";
   width: 100%;
   height: 100%;
   background: #FF0033;
   position: absolute;
   top: 0;
   left: 0;
   z-index: -1;
   -webkit-transform: skew(-25deg,0);
   transform: skew(-25deg,0);
}

.main-slide .copy p {
   font-size: 1.4em;
   margin: 0;
   padding-left: 40px;
   font-weight: 700;
   font-style: italic;
   color: #000;
    -webkit-transition: all 1.5s;
   transition: all 1.5s;
}

.main-slide li.skw-animate .copy h2 {
   -webkit-transform: translateY(0) scale(1);
   transform: translateY(0) scale(1);
   opacity: 1;
}


.main-slide .skw-list > li .skw-content.slide2 {
   background-color: #9ACD32;
   -webkit-transition: all 1.2s;
   transition: all 1.2s;
}
.main-slide .skw-list > li.skw-itemActive .skw-content.slide2 {
   background-color: #4169E1;
}

.info h2 { 
   color: #fff;
   font-weight: 700;
   font-style: italic;
   font-size: 2.5em;
   padding-left: 20%;
   padding-top: 30px;
}

.seef { 
   text-align: center;
}

.seef h3 {
   font-weight: 300;
} 

.seef span {
   color: #F63D00;
}

.seef span {
    font-size: 3em;
    cursor: pointer;
    color: #FF0033;
    -webkit-transition: .5s all;
    transition: .5s all;
    display: inline-block;
    -webkit-transform: scale(1) translateY(0);
    transform: scale(1) translateY(0);
}

.seef span:hover {
   -webkit-transform: scale(1.3) translateY(6px);
   transform: scale(1.3) translateY(6px);
}

.seef h3 {  
   font-style: italic;
   font-size: 3.1em;
   color: #333;
   margin-bottom: 0;
}

.features {
   margin-top: 50px;
   padding: 0 10%;
}

.feature { 
   display: inline-block;
   width: 32%;
   padding: 20px;  
   vertical-align: text-top;
}

.feature h4 {
   font-size: 1.2em;
}

.demos { 
   margin-top: 50px; 
   padding: 0 12%;
}

.demos h2 {
   text-align: center;
}


section h2 {
   font-style: italic;
   font-size: 3.5em;
   color: #222;
   font-weight: 300;
}

img {
   max-width: 100%;
}

.demos .demo {
   text-align: center;
   width: 45%;
   display: inline-block;
   margin: 2.3%;
}

.demos h4 {
   color: #333;
}

.demo img {
   box-shadow: 0 0 5px rgba(0,0,0,.3);
}

.responsive { 
   margin-top: 50px; 
   padding: 0 12% 50px 12%;
   text-align: center;
}

.responsive p {
   margin: 50px 10% 20px 10%;
}

.responsive .get {
   margin-top: 20px;
   padding: 20px 30px;
   font-size: 1.5em;
   float: none;
   display: inline-block;
}

.info .get {
   padding: 20px 30px;
   font-size: 1.5em;
   float: none;
   display: inline-block;
}

.demo-title {
   padding: 50px 15%;
}

.demo-title .get {
   float: right;
}

.demo-title h2 {
   float: left;
   margin: 0;
   padding: 0;
   font-size: 3.1em;
}

.slide2 { text-align: center; }
.slide2 img { max-width: 55%; margin-top: 50px; }


.slide4 { text-align: center; }
.slide4 img { max-width: 50%; margin-top: 50px; }

.light .demo-title h2 {
   color: #333; 
}

.skewSlider li { display: none; }

.cont { margin-bottom: 50px; }

@media only screen and (max-width: 1024px) {

   header { position: relative; } 

   .skewSlider { margin-top: 0; }

}

@media only screen and (max-width: 850px) { 
   .feature {
      width: 49%;
   }
   .demos .demo {
      margin: 2%;
   }
}   

@media only screen and (max-width: 780px) { 
   header {
      padding: 20px 8%; 
      text-align: center;
   }
   header .logo {
     display: block;
     text-align: left;
     float: none;
   }
   header nav {
      margin-top: 20px;
      display: block;
      float: none;
   }
   header .get {
      position: absolute;
      top: 20px;
      right: 20px;
   }
    .main-slide .slide1 h2:before {
      -webkit-transform: skew(-20deg,0);
      transform: skew(-20deg,0);
   }

   .main-slide .slide1 h2 {
      font-size: 1.8em;
      padding: 15px 30px;
   }

}

@media only screen and (max-width: 600px) { 
   .main-slide .slide1 h2:before {
      -webkit-transform: skew(-20deg,0);
      transform: skew(-20deg,0);
   }
   .main-slide .slide1 h2 {
      font-size: 1.4em;
      padding: 10px 20px;
   }
   .main-slide .slide1 .copy {
      position: absolute;
      bottom: 10%;
      right: 20%;
   }
  
  
   .demos .demo {
      margin: 2%;
      width:  96%;  
   }
   .feature {
      width: 98%;
   }
   .skw-caption {
      position: absolute;
      color: #fff;
      padding: 10px 20px;
      -webkit-transition: all .8s;
      -moz-transition: all .8s;
      -ms-transition: all .8s;
      transition: all .8s;
      bottom: 15%;
      right: 10%;
      z-index: 999;
      font-size: 1.2em; 
      font-style: italic;
      max-width: 65%;
      text-align: right;
      opacity: 0;
  }
  .skw-caption:before {
         -webkit-transform: skew(-15deg, 0);
        transform: skew(-15deg, 0);
    }

}


/* ==========================================================================
   caption styles
   ========================================================================== */

/* main image caption styles */   

#main .ihs-content .caption {
    position: absolute;
    top: 1%;
    left: 5%;
    max-width: 100%;
	text-align: center;
    padding: 12px 20px;
    color: #ffffff;

    -webkit-transform: scale(2);
    transform: scale(2);
    opacity: 0;
    -webkit-transition: all .5s;
    transition: all .5s;
    font-size: 1.5em;
    pointer-events: none;
    background: rgba(255,255,255,.0);
}

#main .ihs-content.active .caption {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

#main .ihs-hotspots > div h2 {
    background: #9f0e0e;
    -webkit-transition: all .5s;
    transition: all .5s;
    padding: 10px 20px;
    color: #fff;
    display: inline-block;
    margin-bottom: 0;
}

#main .ihs-hotspots > div p {
   color: #fff;
}

#main .ihs-hotspots > div.right h2 {
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
}

#main .ihs-hotspots > div.left h2 {
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
}

#main .ihs-hotspots > div.top h2 {
    -webkit-transform: translateY(-50px);
    transform: translateY(-50px);
    text-align: center;
}

#main .ihs-hotspots > div.top {
    text-align: center;
}

#main .ihs-hotspots > div.left {
    text-align: right;
}

#main .ihs-hotspots > div p {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
    -webkit-transition: all .3s;
    transition: all .3s;
    max-width: 300px;
    padding: 10px;
    background: rgba(0,0,0,.4);   
}

#main .ihs-hotspots > div.active p {
    opacity: 1;
    -webkit-transform: translate3D(0,0,0);
    transform: translate3D(0,0,0);
    -webkit-transition: all .5s;
    transition: all .5s;
    -webkit-transition-delay: .2s;
    transition-delay: .2s;
}

#main .ihs-hotspots > div.active h2 {
    -webkit-transform: translate3D(0,0,0);
    transform: translate3D(0,0,0);
}

@media screen and (max-width: 700px){ 
    #main .ihs-hotspots > div h2 {
        font-size: 1em;
    }

    #main .ihs-hotspots > div p {
      font-size: .8em;
   }
}


/* ==========================================================================
   Docs Styles
   ========================================================================== */

body.doc {
  
}

section.doc a:hover { text-decoration: underline; }

section.doc {
   margin: 40px 15% 90px 15%;
   position: relative;
}

a.anchor{display: block; position: relative; top: -50px; visibility: hidden;}

.code { 
   background: #f3f3f3;
   margin-bottom: 50px;
}

tr:nth-child(odd) {
    background: #f3f3f3;
}

th, td {
   padding: 20px 45px;
}

section.doc h2 { font-size: 3.2em; }










/* ==========================================================================
   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 */
}

/* ==========================================================================
   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;
    }
}
