/* style.css ----------------------*/


/*
SUMMARY
	IMPORTS
	RESET [eric meyer]
	GLOBALS
	TRACK
	KEYS
	SLIDES
	PANES
	DATES
	INFO
Z-INDEXES
	#slides [200]
	#track [300]
	#panes [400]
	h1 [500]
*/


/*@import 'https://fonts.googleapis.com/css?family=Playfair+Display:400,400i,700&subset=latin-ext';*/

@font-face {
    font-family: 'Roctus T Ot';
    src: url('../fonts/roctus_medium.ttf');
}
@font-face {
    font-family: 'Athelas';
    src: url('../fonts/athelas.ttf');
}

/* reset --------------- */

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,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}
body {
    line-height: 1;
}
ol,
ul {
    list-style: none;
}
blockquote,
q {
    quotes: none;
}
:focus {
    outline: 0;
}
ins {
    text-decoration: none;
}
del {
    text-decoration: line-through;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
header,
section,
nav,
footer,
aside,
article {
    display: block;
}

/* globals --------------- */

html {
    overflow-x: hidden;
}
body {
    background: #222 url('../img/background.jpg') center center fixed;
    /* font-family: "Helvetica Neue", "Helvetica", arial, sans-serif;*/
    overflow-x: hidden;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    background-size: cover;
}
* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.inner {
   /* width: 920px;*/
    margin: 0 auto;
	font-family:'Athelas';
    word-wrap: break-word;
}

/* track --------------- */

#track {
    position: fixed;
    z-index: 300;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 41px;
    -webkit-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    -moz-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    -ms-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    transition: bottom .5s ease-in-out;
}
#track.adjusted {
    bottom: 330px;
}
#track:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 0px;
    right: 131px;
    height: 10px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, .35);
}
#track:after {
    content: '';
    position: absolute;
    top: 25px;
    right: 0px;
    width: 60px;
    height: 10px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, .35);
}
#ticker-moment {
    position: absolute;
    max-width: 50px;
    top: -8px;
    left: 10px;
    line-height: 2em;
    text-align: center;
    font-size: 19px;
    color: #999;
    color: rgba(255, 255, 255, .4);
    text-decoration: none;
    font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', Arial, Helvetica, sans-serif;
    font-weight: 300;
    -webkit-transition: left .3s ease-in-out;
    -moz-transition: left .3s ease-in-out;
    -ms-transition: left .3s ease-in-out;
    transition: left .3s ease-in-out;
}
#ticker-moment:after {
    content: '';
    position: absolute;
    top: 31px;
    left: 25%;
    right: 25%;
    height: 14px;
    background-color: #00aaad;
    -webkit-transform: skew(-30deg);
    -moz-transform: skew(-30deg);
    -ms-transform: skew(-30deg);
    transform: skew(-30deg);
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 2px 0px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 2px 0px 2px rgba(0, 0, 0, .2);
    -ms-box-shadow: 2px 0px 2px rgba(0, 0, 0, .2);
    box-shadow: 2px 0px 2px rgba(0, 0, 0, .2);
}

/* keys --------------- */

#keys {
    position: absolute;
    top: 0;
    right: 65px;
    width: 60px;
    height: 39px;
}
#keys a {
    position: absolute;
    bottom: 0;
    height: 18px;
    width: 18px;
    text-indent: -999999px;
    background-color: #fff;
    background-color: rgba(255, 255, 255, .3);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    border-radius: 3px;
}
#track #keys a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
}
#keys,
#keys a {
    -webkit-transition: background-color .3s ease-in-out;
    -moz-transition: background-color .3s ease-in-out;
    -ms-transition: background-color .3s ease-in-out;
    transition: background-color .3s ease-in-out;
}
#track:hover #keys a {
    background-color: rgba(255, 255, 255, .55);
}
#track #keys a:hover,
#track #keys a:active,
#track #keys a.active {
    background-color: #fff;
}

/* Key position */

#keys #KeyTop {
    top: 0;
    left: 21px;
}
#keys #KeyRight {
    right: 0;
}
#keys #KeyBottom {
    left: 21px;
}
#keys #KeyLeft {
    left: 0;
}

/* Key arrows */

#keys #KeyTop:after {
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-bottom: 4px solid #211016;
    top: 7px;
    left: 5px;
}
#keys #KeyRight:after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #211016;
    top: 5px;
    left: 7px;
}
#keys #KeyBottom:after {
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    border-top: 4px solid #211016;
    top: 7px;
    left: 5px;
}
#keys #KeyLeft:after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 4px solid #211016;
    top: 5px;
    left: 6px;
}

/* slides --------------- */

#slides {
    top: -5%;
    /*270px*/
    bottom: 50%;
    position: fixed;
    left: 10%;
    right: 10%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: bottom .5s ease-in-out, opacity .5s ease-in-out, top .5s ease-in-out, -webkit-filter .5s ease-in-out;
    -moz-transition: bottom .5s ease-in-out, opacity .5s ease-in-out, top .5s ease-in-out, -moz-filter .5s ease-in-out;
    -ms-transition: bottom .5s ease-in-out, opacity .5s ease-in-out, top .5s ease-in-out, -ms-filter .5s ease-in-out;
    transition: bottom .5s ease-in-out, opacity .5s ease-in-out, top .5s ease-in-out, filter .5s ease-in-out;
}
#slides.init {
    visibility: visible;
    opacity: 1;
}
#slides .slide {
    position: absolute;
    /*Width:80%*/
    width: 80%;
    padding-left: 25%;
    cursor: default;
    -webkit-transition: top .5s ease-in-out, right .5s ease-in-out, opacity .5s ease-in-out, -webkit-transform .5s ease-in-out, -webkit-filter .5s ease-in-out;
    -moz-transition: top .5s ease-in-out, right .5s ease-in-out, opacity .5s ease-in-out, -moz-transform .5s ease-in-out, -moz-filter .5s ease-in-out;
    -ms-transition: top .5s ease-in-out, right .5s ease-in-out, opacity .5s ease-in-out, -ms-transform .5s ease-in-out, -ms-filter .5s ease-in-out;
    transition: top .5s ease-in-out, right .5s ease-in-out, opacity .5s ease-in-out, transform .5s ease-in-out, filter .5s ease-in-out;
}
#slides .slide,
#slides .slide * {
    /* Hardware accel */
    -webkit-transform: translatez(0);
    -moz-transform: translatez(0);
    -ms-transform: translatez(0);
    transform: translatez(0);
}
#slides .slide[data-order="1"] {
    z-index: 7;
    top: 60%;
    right: 11%;
}
#slides .slide[data-order="2"] {
    z-index: 6;
    top: 30%;
    right: -15%;
    opacity: .6;
    -webkit-transform: scale(.6);
    -moz-transform: scale(.6);
    -ms-transform: scale(.6);
    transform: scale(.6);
    -webkit-filter: blur(6px);
    -moz-filter: blur(6px);
    -ms-filter: blur(6px);
    filter: blur(6px);
}
#slides .slide[data-order="3"] {
    z-index: 5;
    top: 12%;
    right: -10%;
    opacity: .3;
    -webkit-transform: scale(.4);
    -moz-transform: scale(.4);
    -ms-transform: scale(.4);
    transform: scale(.4);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}
#slides .slide[data-order="4"] {
    z-index: 4;
    top: -3%;
    right: 0%;
    opacity: .2;
    -webkit-transform: scale(.2);
    -moz-transform: scale(.2);
    -ms-transform: scale(.2);
    transform: scale(.2);
    -webkit-filter: blur(12px);
    -moz-filter: blur(12px);
    -ms-filter: blur(12px);
    filter: blur(12px);
}
#slides .slide[data-order="5"] {
    z-index: 4;
    top: -3%;
    right: 20%;
    opacity: .2;
    -webkit-transform: scale(.2);
    -moz-transform: scale(.2);
    -ms-transform: scale(.2);
    transform: scale(.2);
    -webkit-filter: blur(12px);
    -moz-filter: blur(12px);
    -ms-filter: blur(12px);
    filter: blur(12px);
}
#slides .slide[data-order="6"] {
    z-index: 5;
    top: 12%;
    right: 30%;
    opacity: .3;
    -webkit-transform: scale(.4);
    -moz-transform: scale(.4);
    -ms-transform: scale(.4);
    transform: scale(.4);
    -webkit-filter: blur(10px);
    -moz-filter: blur(10px);
    -ms-filter: blur(10px);
    filter: blur(10px);
}

/* Hide these */

#slides .slide[data-order="7"] {
    z-index: 4;
    top: -10%;
    right: 10%;
    opacity: 0;
    -webkit-transform: scale(.01);
    -moz-transform: scale(.01);
    -ms-transform: scale(.01);
    transform: scale(.01);
    -webkit-filter: blur(18px);
    -moz-filter: blur(18px);
    -ms-filter: blur(18px);
    filter: blur(18px);
}

/* Slide */

#slides .slide h2 {
    color: #fff;
    text-align: left;
    /* 0.65 em*/
    font-size: 0.85em;
    white-space: nowrap;
    font-family: 'Roctus T Ot';
    display: inline-block;
    width: 100%;
}
#slides .slide p {
    /* .34em*/
    font-size: .34em;
    text-shadow: none;
    color: rgba(255, 255, 255, .8);
    display: block;
    text-align: left;
    line-height: 1.2em;
    white-space: normal;
    font-family: 'Roctus T Ot';
    font-weight: 600;
    /* margin: .1em 5.1em;*/
    width: 100%;
}
#slides .slide p img {
    position: absolute;
    left: -6em;
    bottom: 0;
    max-width: 28%;
    margin-top: 2%;
}
#slides .slide p,
#slides .slide p img {
    color: #fff;
    -webkit-transition: opacity .3s ease-in-out;
    -moz-transition: opacity .3s ease-in-out;
    -ms-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
}

/* Slide trigger hide/show */

#slides .slide-trigger {
    font-size: .3em;
    font-family: 'Playfair Display', serif;
    display: inline-block;
    color: #6a645c;
    line-height: 180%;
    position: absolute;
    margin: 1.3em 0 0 .8em;
    width: 7em;
}
#slides .slide-trigger i,
#slides .slide-trigger b {
    background-color: #b5b2ae;
    position: absolute;
    top: 0;
    height: 1.7em;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -ms-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: background-color .3s;
    -moz-transition: background-color .3s;
    -ms-transition: background-color .3s;
    transition: background-color .3s;
}
#slides .slide-trigger i {
    width: 2em;
    left: 0;
}
#slides .slide-trigger b {
    width: 4em;
    padding: 0 3px;
    text-align: center;
    left: 2.2em;
}
#slides .slide-trigger:hover i,
#slides .slide-trigger:hover b {
    background-color: #fff;
}
#slides .slide-trigger.close i:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
    border-top: .5em solid #6a645c;
    top: .7em;
    left: .55em;
}
#slides .slide-trigger.open i:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-right: .5em solid transparent;
    border-left: .5em solid transparent;
    border-bottom: .5em solid #6a645c;
    top: .65em;
    left: .55em;
}
#slides .slide-trigger.close {
    display: none;
}
#slides .slide-trigger.open {
    display: inline-block;
}
#slides.adjusted .slide-trigger.close {
    display: inline-block;
}
#slides.adjusted .slide-trigger.open {
    display: none;
}

/* Slide adjusted up with Pane showing */

#slides.adjusted {
    bottom: 550px;
    top: -5%;
}
#slides.adjusted .slide[data-order="2"],
#slides.adjusted .slide[data-order="18"] {
    opacity: .15;
}
#slides.adjusted .slide[data-order="3"],
#slides.adjusted .slide[data-order="17"] {
    opacity: .05;
}
#slides.adjusted .slide[data-order="4"],
#slides.adjusted .slide[data-order="16"] {
    opacity: 0;
}
#slides .slide[data-view="welcome"] p {
    /*margin: .1em 4.1em;*/
    width: 75%;
}

/* design */

#slides .slide[data-view="design"] p {
    /*margin: .1em 4.1em;*/
    width: 75%;
}

/* books */

#slides .slide[data-view="books"] p {
    /* margin: .1em 4.1em;*/
    width: 75%;
}

/* webdesign */

#slides .slide[data-view="webdesign"] p {
    /* margin: .1em 4.1em;*/
    width: 75%;
}

/* production */

#slides .slide[data-view="production"] p {
    /* margin: .1em 4.1em; */
    width: 75%;
}

/* refrence */

#slides .slide[data-view="refrence"] p {
    /* margin: .1em 4.1em;*/
    width: 75%;
}

/* contactus */

#slides .slide[data-view="contactus"] p {
    /* margin: .1em 4.6em;*/
    width: 75%;
}

/* panes --------------- */

#panes {
    position: fixed;
    z-index: 400;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, .05);
    /*background-color: #fff;*/
    height: 295px;
    font-family: 'Playfair Display', serif;
    font-weight: 150;
    -webkit-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    -moz-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    -ms-transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    transition: bottom .5s ease-in-out, opacity .5s ease-in-out;
    -webkit-box-shadow: 0 -3px 5px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 -3px 5px rgba(0, 0, 0, .2);
    -ms-box-shadow: 0 -3px 5px rgba(0, 0, 0, .2);
    box-shadow: 0 -3px 5px rgba(0, 0, 0, .2);
}
#panes h2{
	font-family: 'Roctus T Ot';
}
#panes.hide {
    opacity: 0;
    bottom: -50%;
}
#panes.show {
    opacity: 1;
    bottom: 0;
}
#panes .pane {
    display: none;
    font-size: 22px;
    padding: 0;
}
#panes .pane * {
    line-height: 115%;
    color: #FDF5E6;
}
#panes .pane input,
textarea {
    color: #000;
}
#panes .pane textarea {
    resize: none;
    color: #000;
}
#panes .pane a {
    text-decoration: none;
    color: #00aaad;
    font-size: 22px;
}
#panes .pane a:hover {
    border-bottom: 2px solid #00aaad;
}
#panes .pane p {
    margin: 0.3em 0;
    font-size: 22px;
    color: #FDF5E6;
}
#panes .pane b {
    font-size: 22px;
    color: #00aaad;
}
#panes .pane p strong {
    display: block;
    font-size: 20px;
    color: #FDF5E6;
}
#panes .pane li {
    margin: 0;
    padding-left: 0;
    color: #FDF5E6;
}

/*#panes .pane img {
    position: absolute;
    bottom: 0;
    right: 0;
    margin-left: -163px;
    margin-right: 1%;
}*/

#panes .pane:after {
    content: '';
    display: block;
    clear: both;
}
#panes .pane .close {
    background-color: #ccc;
    margin: 1.5em 1em .5em;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    text-decoration: none;
}
#panes .pane h2 {
    text-transform: uppercase;
    font-size: 28px;
}

/* FIREFOX HACK because of no blur -------------------*/

@-moz-document url-prefix() {
    #slides .slide[data-order="2"] {
        opacity: .1;
    }
    #slides .slide[data-order="3"] {
        opacity: .05;
    }
    #slides .slide[data-order="4"] {
        opacity: .03;
    }
    #slides .slide[data-order="17"] {
        opacity: .03;
    }
    #slides .slide[data-order="18"] {
        opacity: .05;
    }
    #slides .slide[data-order="19"] {
        opacity: .1;
    }
    #slides.adjusted .slide[data-order="2"] {
        opacity: .05;
    }
    #slides.adjusted .slide[data-order="3"] {
        opacity: 0;
    }
    #slides.adjusted .slide[data-order="4"] {
        opacity: 0;
    }
    #slides.adjusted .slide[data-order="17"] {
        opacity: 0;
    }
    #slides.adjusted .slide[data-order="18"] {
        opacity: 0;
    }
    #slides.adjusted .slide[data-order="19"] {
        opacity: .05;
    }
}

/* Button style */

.btn-sample {
    color: white!important;
    background-color: #00aaad;
    border-color: #00aaad;
}
.btn-sample:hover,
.btn-sample:focus,
.btn-sample:active,
.btn-sample.active,
.open .dropdown-toggle.btn-sample {
    color: #FFFFFF;
    background-color: #00aaad;
    border-color: #00aaad;
}
.btn-sample:active,
.btn-sample.active,
.open .dropdown-toggle.btn-sample {
    background-image: none;
}
.btn-sample.disabled,
.btn-sample[disabled],
fieldset[disabled] .btn-sample,
.btn-sample.disabled:hover,
.btn-sample[disabled]:hover,
fieldset[disabled] .btn-sample:hover,
.btn-sample.disabled:focus,
.btn-sample[disabled]:focus,
fieldset[disabled] .btn-sample:focus,
.btn-sample.disabled:active,
.btn-sample[disabled]:active,
fieldset[disabled] .btn-sample:active,
.btn-sample.disabled.active,
.btn-sample[disabled].active,
fieldset[disabled] .btn-sample.active {
    background-color: #00aaad;
    border-color: #00aaad;
}
.btn-sample .badge {
    color: #00aaad;
    background-color: #FFFFFF;
}

/* Center Class padding*/

.text-center {
    padding: 1em;
}

/*Form padding*/

.form-horizontal {
    padding: 1em;
}

/* Success color*/

.alert-success {
    border-color: #00aaad!important;
    background: #00aaad!important;
    color: #333333!important;
}
.margin-top {
    margin-top: 10px;
}

/*Mobile info box onload*/

.mobileinfo {
    display: none!important;
    height: 100px;
    width: 100%;
    z-index: 999;
    padding: 15%;
    margin: 1%;
}
.language img {
    float: right;
	height:50px;
    width: 50px;
    margin: 1%;
}


.owl-carousel .item{
  margin: 3px;
/*background-color:rgba(255,255,255,0.2);*/


}

.owl-carousel{
 margin:0 auto;
  

}

.owl-carousel .item img{

	display:block;



  
}
.owl-prev, .owl-next {
  position:absolute;
  top:40%;
  padding:5px;
  margin:0;
  z-index:100;
  font-size:25px;
  cursor:pointer;
  color:#fff; 
  height:40px;
  width:40px;

  
 
}
.owl-prev i, .owl-next i {
	margin-top:10px;
}
.owl-prev {
  left:-60px;
}

.owl-next {
  right:-60px;
}

.owl-theme .owl-controls .owl-buttons div{
  color: #555;
  display: inline-block;
  zoom: 1;
  *display: inline;/*IE7 life-saver */
  font-size: 3rem;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  background: transparent;
  filter: Alpha(Opacity=100);/*IE7 fix*/
  opacity: 1;
  margin-top:-32px;
}

.owl-theme .owl-controls .owl-buttons div:hover {
  color:#2a6496;
  }
figure {
  display: block;
  position: relative;
  float: left;
  overflow: hidden;
  margin: 0 20px 20px 0;
  
}
figcaption {
 
  position: absolute;
  background: black;
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 10px 20px;
  opacity: 0;
  -webkit-transition: all 0.6s ease;
  -moz-transition:    all 0.6s ease;
  -o-transition:      all 0.6s ease;
  font-size:15px!important;
  width:100%;
}
figure:hover figcaption {
  opacity: 1;
  
}
figure:before {
  position: absolute;
  font-weight: 800;
  background: black;
  background: rgba(255,255,255,0.75);
  text-shadow: 0 0 5px white;
  color: black;
  width: 24px;
  height: 24px;
  -webkit-border-radius: 12px;
  -moz-border-radius:    12px;
  border-radius:         12px;
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  -moz-transition: all 0.6s ease;
  opacity: 0.75;
}
figure:hover:before {
  opacity: 0;
}

.cap-bot:before { bottom: 10px; left: 10px; }
.cap-bot figcaption { left: 0; bottom: -30%;}
.cap-bot:hover figcaption { bottom: 0; }

/* responsive.css ----------------------*/


/*
BREAKPOINTS
	1025
	321
*/


/* Landscape phone to portrait tablet */

@media (max-width: 768px) and (max-device-width:768px) {
    /* slide inner ------------*/
    #slides .slide h2 {
        font-size: 1.1em !important;
        white-space: normal;
        text-align: center!important;
        position: relative;
        line-height: 90%;
    }
    #slides .slide p {
        font-size: 0.8em !important;
        text-align: center;
        margin: 0 !important;
        width: auto !important;
        padding: 25px 15px 0;
    }
    /* keys ------------------*/
    #keys #KeyTop,
    #keys #KeyBottom {
        width: 55px;
        height: 50px;
        top: 4px;
        left: 54px;
        text-decoration: none;
    }
    #keys #KeyLeft,
    #keys #KeyRight {
        display: none;
    }
    #keys #KeyTop:after {
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-bottom: 10px solid #4b5150;
        top: 13px;
        left: 16px;
    }
    #keys #KeyBottom:after {
        border-right: 10px solid transparent;
        border-left: 10px solid transparent;
        border-top: 10px solid #4b5150;
        top: 13px;
        left: 16px;
    }
    #keys #KeyTop:before,
    #keys #KeyBottom:before {
        content: '';
        display: block;
        text-indent: 0;
        text-align: center;
        padding-top: 27px;
        font-size: 12px;
        color: #4b5150;
        font-weight: bold;
        font-family: verdana, serif;
    }
    #keys #KeyTop:before {
        content: 'MORE';
    }
    #keys #KeyBottom:before {
        content: 'LESS';
    }
    #track #keys #KeyTop {
        display: block;
    }
    #track #keys #KeyBottom {
        display: none;
    }
    #track.adjusted #keys #KeyTop {
        display: none;
    }
    #track.adjusted #keys #KeyBottom {
        display: block;
    }
    /* track ------------------*/
    #track {
        bottom: 20%;
        z-index: 700;
    }
    #track:before {
        left: 70px;
        right: 85px;
    }
    #track:after {
        display: none;
    }
    #track #ticker-moment:before {
        left: 40%;
    }
    /* track adjusted ------------------*/
    #track.adjusted {
        bottom: 62%;
    }
    #slides .slide-trigger {
        display: none !important;
    }
    /* IOS Devices form input */
    input,
    input:before,
    input:after,
    textarea,
    textarea:before,
    textarea:after {
        -webkit-user-select: initial;
        -khtml-user-select: initial;
        -moz-user-select: initial;
        -ms-user-select: initial;
        user-select: initial;
    }
    /* panes --------------*/
    #panes {
        padding: 20px 0;
        background-color: #FFFFFF;
        color: #0f0f0f;
    }
    #panes .pane h2 {
        color: #000000;
    }
    #panes .pane p {
        margin: 0 0 1em;
        font-size: 17px;
        padding: 0 20px;
        color: #000000 !important;
    }
    #panes .pane a {
        margin: 0 0 1em;
        font-size: 15px;
        padding: 0 20px;
        color: #000000;
    }
    #panes .pane h4 {
        color: #000000;
    }
    #panes .pane .left p:first-child {
        padding-top: 20px;
    }
    #panes .pane li {
        font-size: 17px;
    }
    #panes .control-label {
        color: #000;
    }
    /* inner --------------*/
    .inner {
        width: 100%;
    }
    .inner h2 {
        text-align: center;
    }
    /* form badge */
    .btn-sample .badge {
        color: #000;
        background-color: #FFFFFF;
    }
    /*Mobile ifo box */
    .mobileinfo {
        display: inline-block!important;
    }
    .language img {
        float: right;
        height: 20%;
        width: 20%;
        margin: 10%;
    }
}
@media (max-width: 768px) and (max-device-width:768px) and (orientation: landscape) {
    #slides {
        width: auto;
    }
    #panes {
        /*73*/
        position: relative;
        margin: 45% 0 0;
        height: auto;
        padding: 20px 0;
        z-index: 900;
    }
    #track.adjusted {
        bottom: 50%;
    }
    /* slide inner ------------*/
    #slides .slide h2 {
        font-size: 1em !important;
        white-space: normal;
        text-align: center;
        line-height: 70%;
    }
    #slides .slide p {
        font-size: 0.8em !important;
        text-align: center;
        margin: 0 !important;
        width: auto !important;
        padding: 10px;
    }
    /*Mobile ifo box */
    .mobileinfo {
        display: none;
    }
}

/* All of mobile */

@media (max-device-width: 480px) {
    /* slides --------------- */
    #slides {
        z-index: 600;
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }
    /* slide ------------*/
    #slides .slide {
        width: 100%;
    }
    #slides .slide[data-order="1"] {
        top: 30px;
        right: auto;
    }
    /* slide inner ------------*/
    #slides .slide h2 {
        font-size: 30px !important;
        white-space: normal;
        text-align: center!important;
        position: relative;
        line-height: 90%;
    }
    #slides .slide p {
        font-size: 1.35em !important;
        text-align: center;
        margin: 0 !important;
        width: auto !important;
        padding: 25px 15px 0;
    }
    /* slide adjusted ------------*/
    #slides.adjusted {
        bottom: 80%;
    }
    #slides.adjusted p {
        display: none;
    }
    /* panes --------------*/
    #panes {
        position: relative;
        /*73*/
        margin: 100% 0 0;
        height: auto;
        padding: 20px 0;
        z-index: 800;
        background-color: #FFFFFF;
        color: #0f0f0f;
    }
    #panes .pane p {
        margin: 0 0 1em;
        font-size: 17px;
        padding: 0 20px;
        color: #000000 !important;
    }
    #panes .pane a {
        margin: 0 0 1em;
        font-size: 15px;
        padding: 0 20px;
        color: #000000;
    }
    #panes .pane h4 {
        color: #000000;
    }
    #panes .pane .left p:first-child {
        padding-top: 20px;
    }
    #panes .pane li {
        font-size: 17px;
    }
    #panes .control-label {
        color: #000;
    }
    /* inner --------------*/
    .inner {
        width: auto;
    }
    /* form badge */
    .btn-sample .badge {
        color: #fff;
        background-color: #FFFFFF;
    }
}

/* Regular iphone and iphone 4 and iphone 5 portrait */

@media screen and (max-device-width: 480px) and (orientation: portrait) {
    #slides .slide {
        padding: 0 0 10%;
    }
}

/* iphone 5 */

@media screen and (orientation: portrait) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    #slides .slide {
        padding: 50px 0;
    }
    #slides.adjusted .slide {
        padding: 0;
    }
    #track.adjusted {
        bottom: 62%;
    }
}
@media screen and (orientation: landscape) and (device-height: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    #slides .slide {
        padding: 10px 0 65px;
    }
}

/* Regular iphone and iphone 4 and iphone 5 landscape */

@media screen and (max-device-width: 960px) and (max-device-width: 480px) and (orientation: landscape) {
    #slides .slide h2 {
        font-size: 46px !important;
    }
    #slides .slide p {
        padding-top: 15px;
    }
    #slides .slide p img {
        display: none;
    }
    /* track adjusted ---------- */
    #track.adjusted {
        bottom: 140px;
    }
    /* panes --------------*/
    #panes {
        margin: 35% 0 0;
    }
}

/*Retina Ipad*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
    #slides .slide h2 {
        font-size: 1em;
    }
    #slides .slide p {
        font-size: 0.65em;
    }
    #track.adjusted {
        bottom: 40%;
    }
    #panes {
        height: 35%;
    }
    /*Mobile info box onload*/
    .mobileinfo {
        padding: 4%;
    }
}

/**Tab*/

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    #slides .slide h2 {
        font-size: 1em;
    }
    #slides .slide p {
        font-size: 0.65em;
    }
    #track.adjusted {
        bottom: 40%;
    }
    #panes {
        z-index: 400;
        height: 35%;
    }
    /*Mobile info box onload*/
    .mobileinfo {
        padding: 4%;
    }
}

