#slider {
    display: block;
    color: #fff;
}

/* Normal desktop :992px. */

@media (max-width: 767px) {
    .video-content::before {
        /*border-width: 0 0 0 100vw;*/
        content: '';
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
        /*bottom: calc(100% - 1px);*/
        border-bottom-width: 5vw;
        border-bottom-color: white;
    }

    .video.wrap {
        height: 300px;
        min-height: 300px;
        max-height: 400px;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .video-content {
        height: 300px;
        min-height: 300px;
        max-height: 400px;
        width: 100%;
        position: relative;
        overflow: hidden;
    }


    .video-content-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 1;
    }

    .video-direction {
        display: block;
        position: relative;
        height: 100%;
        background: rgba(0, 0, 0, 0.35);
        /*box-shadow: 0px 200px 200px -100px rgba(0, 0, 0, 0.5) inset;*/
    }

    .video-background video, .video-background img {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
        transform: translateX(-50%) translateY(-50%);
    }
}

/* Normal desktop :992px. */

@media (max-width: 1200px) {
    .video-direction {
        margin-top: 0 !important;
    }

    .video.wrap {
        min-height: 300px !important;
        max-height: 400px !important;
    }

    .video-content-title {
        top: 50% !important;
        left: 50% !important;
    }
}

@media (min-width: 780px) {
    .video-content::before {
        /*border-width: 0 0 0 116vw;*/
        content: '';
        display: block;
        position: absolute;
        bottom: 80px;
        left: 0;
        width: 0;
        height: 0;
        border-style: solid;
        border-color: transparent;
        /*bottom: calc(100% - 1px);*/
        border-bottom-width: 5vw;
        border-bottom-color: white;
    }

    .video.wrap {
        height: 700px;
        min-height: 500px;
        max-height: 700px;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .video-content {
        height: 650px;
        min-height: 500px;
        max-height: 700px;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .video-content-title {
        position: absolute;
        top: 40%;
        left: 45%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 1;
    }

    .video-content-title a {
        text-decoration: none;
        color: #ffffff;
    }

    .video-direction {
        display: block;
        position: relative;
        height: 100%;
        background: rgba(0, 0, 0, 0.15);
        box-shadow: 0px 200px 200px -100px rgba(0, 0, 0, 0.5) inset;
        margin-top: 130px;
    }

    .video-background video, .video-background img {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
        transform: translateX(-50%) translateY(-50%);
    }
}

@media (max-width: 767px) {
    h1.siteTitle {
        font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
        color: #fff !important;
        font-size: 40px;
        font-weight: 500;
        line-height: 1.2em;
        margin: 0 0 0;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        letter-spacing: 3px;
    }

    h1.siteTitle .spanning {
        display: block;
        font-size: .4em;
        line-height: 1em;
        letter-spacing: 12px;
    }
}

@media (min-width: 768px) {
    h1.siteTitle {
        font-family: "Helvetica Neue", Helvetica, Arial, "sans-serif";
        color: #fff !important;
        font-size: 80px;
        font-weight: 500;
        line-height: 1.2em;
        margin: 0 0 10px;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
        letter-spacing: 3px;
    }

    h1.siteTitle .spanning {
        display: block;
        font-size: .6em;
        line-height: 1em;
        letter-spacing: 12px;
    }
}


.slider-area-mobile {
    padding-top: 50px;
}

.slider-content {
    padding: 180px 60px;
}

.nivo-caption::after {
    background: #444 none repeat scroll 0 0;
    content: "";
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}

.layer-1-2 {
    margin: 20px 0;
}

.layer-1-1 h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
}

.layer-1-2 h1 {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    line-height: 60px;
    text-align: center;
}

.layer-1-3 {
    margin: 50px 0 0;
}

.layer-1-3 a.ready-btn {
    border: 1px solid #fff;
    border-radius: 30px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    margin-top: 30px;
    padding: 10px 20px;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.4s ease 0s;
    z-index: 222;
}

.layer-1-3 {
    text-align: center;
}

.layer-1-3 a.ready-btn:hover {
    color: #fff;
    background: #055d8d;
    border: 1px solid #055d8d;
    text-decoration: none;
}

.ready-btn.right-btn {
    margin-right: 15px;
    background: #055d8d;
    border: 1px solid #055d8d !important;
}

.ready-btn.right-btn:hover {
    background: transparent !important;
    border: 1px solid #fff !important;
}

.nivo-controlNav {
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    z-index: 8;
}

.nivo-directionNav {
    display: block;
}

.nivo-controlNav a {
    background: transparent none repeat scroll 0 0;
    border: 2px solid #fff;
    box-shadow: none;
    display: inline-block;
    font-size: 0;
    height: 2px;
    margin: 5px 3px;
    opacity: 1;
    text-align: center;
    text-indent: inherit;
    vertical-align: top;
    width: 20px;
}

.nivo-controlNav a:hover, .nivo-controlNav a.active {
    background: #fff none repeat scroll 0 0;
    border-color: #055d8d;
    -moz-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
}

/* Normal desktop :992px. */

@media (min-width: 1400px) and (max-width: 1920px) {
    .slider-content {
        padding-top: 400px;
    }
}

/* Normal desktop :992px. */

@media (min-width: 992px) and (max-width: 1169px) {
    .slider-content {
        padding: 144px 0;
    }
}

/* Tablet desktop :768px. */

@media (min-width: 768px) and (max-width: 991px) {
    .slider-content {
        padding: 93px 0;
    }

    .layer-1-2 h1 {
        font-size: 22px;
        line-height: 24px;
    }

    .layer-1-3 a.ready-btn {
        font-size: 14px;
        margin-top: 20px;
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    .nivo-directionNav {
        display: none;
    }

    .slider-content {
        padding: 46px 0px;
    }

    .layer-1-2 {
        margin: 10px 0;
    }

    .layer-1-1 h2 {
        font-size: 14px;
        line-height: 16px;
    }

    .layer-1-2 h1 {
        font-size: 14px;
        line-height: 16px;
    }

    .layer-1-3 a.ready-btn {
        font-size: 12px;
        margin-top: 10px;
        padding: 8px 10px;
    }

    .layer-1-3 {
        margin: 10px 0 0;
    }

    .nivo-controlNav {
        bottom: -8px;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .slider-content {
        padding: 70px 0px;
    }

    .layer-1-1 h2, .layer-1-2 h1 {
        font-size: 24px;
        line-height: 30px;
    }
}

/* -------------------------------------
preview-1
---------------------------------------- */

.preview-1 .nivoSlider {
    position: relative;
    background: url(../lib/nivo-slider/img/loading.gif) no-repeat 50% 50%;
}

.preview-1 .nivoSlider img {
    position: absolute;
    top: 0px;
    left: 0px;
    display: none;
}

.preview-1 .nivoSlider a {
    border: 0;
    display: block;
}

.preview-1 .nivo-controlNav {
    text-align: center;
    padding: 20px 0;
}

.preview-1 .nivo-controlNav a {
    display: inline-block;
    width: 22px;
    height: 22px;
    background: url(../lib/nivo-slider/img/bullets.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    margin: 0 2px;
}

.preview-1 .nivo-controlNav a.active {
    background-position: 0 -22px;
}

.preview-1 .nivo-directionNav a {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../lib/nivo-slider/img/arrows.png) no-repeat;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.preview-1:hover .nivo-directionNav a {
    opacity: 1;
}

.nivo-prevNav {
    left: 15px;
}

.nivo-nextNav {
    right: 15px;
}

.preview-1 a.nivo-nextNav {
    background-position: -30px 0;
}


.preview-1 .nivo-caption {
    font-family: Helvetica, Arial, sans-serif;
}

.preview-1 .nivo-caption a {
    color: #fff;
    border-bottom: 1px dotted #fff;
}

.preview-1 .nivo-caption a:hover {
    color: #fff;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled {
    width: 100%;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled a {
    width: auto;
    height: auto;
    background: none;
    margin-bottom: 5px;
}

.preview-1 .nivo-controlNav.nivo-thumbs-enabled img {
    display: block;
    width: 120px;
    height: auto;
}

.preview-1 .nivo-controlNav {
    position: relative;
    z-index: 99999;
    bottom: 68px;
}

.preview-1 .nivo-controlNav a {
    border: 5px solid #fff;
    display: inline-block;
    height: 18px;
    margin: 0 5px;
    text-indent: -9999px;
    width: 18px;
    line-height: 8px;
    background: #3c3c3c;
    cursor: pointer;
    position: relative;
    z-index: 9;
    border-radius: 100%;
    opacity: 0;
    z-index: -999;
}

.preview-1:hover .nivo-controlNav a {
    opacity: 1;
    z-index: 999999;
}

.preview-1 .nivo-controlNav a:hover, .preview-1 .nivo-controlNav a.active {
    background: #000;
    cursor: pointer;
}

/* -------------------------------------
preview-2
---------------------------------------- */

.preview-2 .nivoSlider:hover .nivo-directionNav a.nivo-prevNav {
    left: 50px;
}

.preview-2 .nivoSlider:hover .nivo-directionNav a.nivo-nextNav {
    right: 50px;
}

.preview-2 .nivoSlider .nivo-directionNav a.nivo-prevNav {
    font-size: 0;
}

.preview-2 .nivoSlider .nivo-directionNav a.nivo-nextNav {
    font-size: 0;
}

.preview-2 .nivo-directionNav a.nivo-prevNav::before {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    color: #ffffff;
    content: "<";
    cursor: pointer;
    font: 300 50px/50px FontAwesome;
    position: absolute;
    text-align: center;
    top: 50%;
    transition: all 300ms ease-in 0s;
    z-index: 9;
    font-weight: 100;
    left: 0;
    width: 50px;
    border: 1px solid #fff;
    border-radius: 50%;
    font-size: 30px;
}

.preview-2 .nivo-directionNav a.nivo-nextNav:hover:before, .preview-2 .nivo-directionNav a.nivo-prevNav:hover:before {
    border-color: #055d8d;
    color: #fff;
    background: #055d8d;
}

.preview-2 .nivo-directionNav a.nivo-nextNav::before {
    background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
    border: 1px solid #fff;
    border-radius: 50%;
    color: #ffffff;
    content: ">";
    cursor: pointer;
    font: 100 30px/50px FontAwesome;
    height: 50px;
    position: absolute;
    right: 0px;
    text-align: center;
    top: 50%;
    transition: all 300ms ease-in 0s;
    width: 50px;
    z-index: 9;
    font-size: 30px;
}

.niceties.preview-2 {
    position: relative;
    height: 100%;
}
