/* ==================================================================
1.0 Common Declarations and Fixes
================================================================== */
.abs-center {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari */
    -moz-transform: translate(-50%,-50%); /* Firefox Older versions*/
    -o-transform: translate(-50%,-50%); /* Opera */
    transform: translate(-50%,-50%);
}

.abs-fs {
    background: none transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.bg-cover {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.gpu-hack {
    -webkit-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*	2.1 Wrapper
-------------------------------------------------------------- */
.sven-wrapper {
    z-index: 0;
}

.sven-wrapper, .sven-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.sven-container {
    z-index: 2;
}

/*	2.2 Transition elements
-------------------------------------------------------------- */
.black-bg {
    z-index: 4;
    opacity: 0;
    visibility: hidden;
    background: none #000;
}

.color-wrapper {
    z-index: -2;
}

/*	2.3 Slide element styles
-------------------------------------------------------------- */
.sven-slide {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    visibility: hidden;
}

.sven-scene {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    white-space: nowrap;
    z-index: 2;
}

.sven-scene:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.centered {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    z-index: 1;
    max-width: 80%;
}

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

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

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

.content-container {
    position: relative;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    white-space: normal;
}

/* Overwrites imgcovereffect plugin's style position: relative */
.single-image, .scene-image {
    position: absolute !important;
}

.scene-image img {
    opacity: 0;
    visibility: hidden;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
    outline: 1px solid transparent;
}

/*	2.4 Video Element
-------------------------------------------------------------- */
.video-wrapper {
    z-index: -1;
}

.YTPOverlay, .bv-overlay {
    background: none #000;
    opacity: 0.3;
}

.preview-image {
    opacity: 0;
    visibility: hidden;
}

#big-video-wrap, .mbYTP_wrapper {
    opacity: 0;
    visibility: hidden;
}

/*	2.5 Splash Image
-------------------------------------------------------------- */
.splash-wrapper {
    z-index: 5;
}

/*	2.6 Animation Text Position presets
-------------------------------------------------------------- */
.right-bottom, .bottom-right {
    vertical-align: bottom;
    right: 2%;
    bottom: 7%;
}

.right-top, .top-right {
    vertical-align: top;
    right: 2%;
    top: 7%;
}

.right-center, .center-right {
    vertical-align: middle;
    right: 2%;
}

.left-top, .top-left {
    vertical-align: top;
    left: 2%;
    top: 7%;
}

.left-bottom, .bottom-left {
    vertical-align: bottom;
    left: 2%;
    bottom: 7%;
}

.left-center, .center-left {
    vertical-align: middle;
    left: 2%;
}

.center-top, .top-center {
    vertical-align: top;
    top: 7%;
}

.center-bottom, .bottom-center {
    vertical-align: bottom;
    bottom: 7%;
}

/*	2.7 Player Controls
-------------------------------------------------------------- */
.controls-nav {
    position: fixed;
    top: 10px;
    right: 2%;
    z-index: 5;
    visibility: hidden;
    padding: 0px;
}

.controls-nav a {
    display: block;
    float: left;
    cursor: pointer;
    margin: 0px 1px;
    width: 32px;
    height: 32px;
    text-align: center;
    background: none transparent;
    color: #fff;
    opacity: 0.6;
}

.controls-nav a i{
    font-size: 1em;
    width: 32px;
    height: 32px;
    line-height: 32px;
    display: block;
}

a.speed-label {
    min-width: 32px;
    width: auto;
    height: auto;
}

.speed-label span {
    display: inline-block;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    color: #fff;
}

a.skip-button {
    min-width: 32px;
    width: auto;
    margin-left: 5px;
}

a.skip-button i {
    display: inline-block;
    width: auto;
    padding: 0px 2px;
}

/*	2.8 Preloader Styles
-------------------------------------------------------------- */
.loader-container {
    position: absolute;
    top: 0;
    left: 0;
    background: none #000;
    width: 100%;
    height: 100%;
    z-index: 6;
    overflow: hidden;
}

.loader {
    background: none transparent;
    position: absolute;
    top: 50%;
    left:50%;
    -ms-transform: translate(-50%,-50%); /* IE 9 */
    -webkit-transform: translate(-50%,-50%); /* Safari */
    transform: translate(-50%,-50%);
}

/* stretch delay preloader */
.stretcher {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 10px;
}

.stretcher > div {
    background-color: #fff;
    height: 100%;
    width: 6px;
    margin-right: 4px;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* bounce delay preloader */
.bouncer {
    width: 70px;
    height: 18px;
    text-align: center;
}

.bouncer > div {
    width: 18px;
    height: 18px;
    background-color: #fff;
    margin-right: 4px;
    border-radius: 100%;
    display: inline-block;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
}

/*	2.9 Animation Summary Box
-------------------------------------------------------------- */
#summary-handle, #summary-container {
    -webkit-transition: left 0.4s;
    transition: left 0.4s;
    display: none;
}

#summary-handle {
    position: fixed;
    top: 200px;
    width:40px;
    height: 40px;
    line-height:40px;
    text-align:center;
    cursor: pointer;
    background: none #fff;
    border: 1px solid #f1f1f1;
    -webkit-border-radius: 0px 3px 3px 0px;
    -moz-border-radius: 0px 3px 3px 0px;
    border-radius:  0px 3px 3px 0px;
    z-index: 999;
}

#summary-handle {
    left: -5px;
}

#summary-handle.active {
    left:220px;
}

#summary-handle i {
    font-size: 1.25em;
    color: #60d8ff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
}

#summary-container {
    position: fixed;
    top: 160px;
    width: 220px;
    min-height: 200px;
    height: auto !important;
    height: 200px;
    background: none #fff;
    border: 1px solid #f1f1f1;
    color: #555;
    text-align: left;
    -webkit-border-radius: 0px 3px 3px 0px;
    -moz-border-radius: 0px 3px 3px 0px;
    border-radius:  0px 3px 3px 0px;
    z-index: 998;
}

#summary-container {
    left:-225px;
}

#summary-handle.active + #summary-container {
    left: 0px;
}

#summary-container p {
    line-height: 1.5;
}

#summary-container .animation-name {
    text-decoration: underline;
}

#summary-container .details {
    padding: 10px;
    margin: 0 auto;
}


/*	3.1 Main Text and Sub Text Styles and Positions(General)
-------------------------------------------------------------- */
.lt-main {
    font-size: 1.25em;
    font-weight: 100;
}

.lt-sub {
    position: relative;
    font-size: 0.875em;
    font-weight: 300;
    color: #000;
    padding: 4px;
    z-index: 1;
}

.place-left {
    top: 0;
    left: 0;
    right: auto !important;
    text-align: left;
}

.place-right {
    top: 0;
    right: 0;
    left: auto !important;
    text-align: right;
}

.place-center {
    top: 0;
    left: 0 !important;
    right: 0 !important;
    margin: 0 auto;
    text-align: center;
}

.lt-boxed {
    background: none #60d8ff;
}

/*	3.2 BigText styles(General)
-------------------------------------------------------------- */
.bt-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.12;
}

.bt-wrapper {
    position: relative;
    width: 80%;
    height: 100%;
    margin: 0 auto;
}

.bt-container h1 {
    font-weight: 700;
    white-space: nowrap;
}

/*	3.3 Better animation performance on browsers(Especially firefox)
---------------------------------------------------------------------- */
div[class^="sven-char"] {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    -ms-perspective: 1000px;
    perspective: 1000px;
    outline: 1px solid transparent;
}

/* The fix for Firefox */
.blur-reveal-lt div[class^="sven-char"] {
    filter: url('data:image/svg+xml;utf8,<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><filter id="gaussian_blur"><feGaussianBlur in="SourceGraphic" stdDeviation="0" /></filter></defs></svg>#gaussian_blur');
}


/*	4.1 Small Devices, Tablets
-------------------------------------------------------------- */
@media only screen and (min-width : 768px) {
    .lt-main {
        font-size: 2.5em;
    }

    .lt-sub {
        font-size: 1.125em;
    }

    #summary-handle, #summary-container {
        display: block;
    }
}

/*	4.2 Medium Devices, Desktops, Laptops
-------------------------------------------------------------- */
@media only screen and (min-width : 1224px) {
    .lt-main {
        font-size: 3.75em;
    }

    .lt-sub {
        font-size: 1.5em;
    }

    #summary-handle, #summary-container {
        display: block;
    }
}


/*	4.3 Large Devices, Wide Screens
-------------------------------------------------------------- */
@media only screen and (min-width : 1824px) {
    .lt-main {
        font-size: 5em;
    }

    .lt-sub {
        font-size: 2em;
    }

    #summary-handle, #summary-container {
        display: block;
    }
}
