

/* clearfix */
.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
/* display none until init */
.owl-carousel.owl-theme {
    display: none;
    /*position: relative;
    width: 100%;*/
    -ms-touch-action: pan-y;
    /*height: 100%;*/
}

.imageBlock.owl-carousel.owl-theme {
    padding-bottom: 100%;
    position: relative;
}


.owl-carousel .owl-wrapper {
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper-outer {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
}

.imageBlock.owl-carousel .owl-wrapper-outer {
    position: absolute;
    top: 0;
    left: 0;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
    float: left;
}

    .owl-carousel .owl-item .item {
        height: 100%;
        -webkit-background-size: cover !important;
        -moz-background-size: cover !important;
        -o-background-size: cover !important;
        background-size: cover !important;
    }




        .owl-carousel .owl-item .item .slide-caption {
            position: absolute;
            width: 100%;
            height: 100%;
            color: white;
            z-index: 3;
            display: table;
        }


            .owl-carousel .owl-item .item .slide-caption > div {
                display: table-cell;
                vertical-align: top;
                padding-top: 110px;
            }

            .owl-carousel .owl-item .item .slide-caption h2 {
                font-size: 36px;
                font-weight: bold;
                margin: 0 0 30px;
                position: relative;
                z-index: 1;
                text-shadow: 0.1em 0.1em 0.1em black;
                margin-left: calc(50% - 540px);
                opacity: 0;
                -webkit-transition: all 1.5s ease-in .6s;
                transition: all 1.5s ease-in .6s;
            }

    .owl-carousel .owl-item.active .item .slide-caption h2 {
        opacity: 1;
    }

    .owl-carousel .owl-item .item .slide-caption p {
        font-size: 24px;
        font-weight: 100;
        letter-spacing: 0.03em;
        margin: 0 0 60px;
        margin-left: calc(50% - 540px);
        max-width: 500px;
        opacity: 0;
        -webkit-transform: translate3d(0, 50px, 0);
        -ms-transform: translate3d(0, 50px, 0);
        transform: translate3d(0, 50px, 0);
        -webkit-transition: all 1s ease-out .8s;
        transition: all 1s ease-out .8s;
    }

    .owl-carousel .owl-item.active .item .slide-caption p {
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
        opacity: 1;
    }

.imageBlock.owl-carousel.owl-theme .owl-item .item a {
    display: block;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover !important;
    -moz-background-size: cover !important;
    -o-background-size: cover !important;
    background-size: cover !important;
}

.imageBlock.owl-carousel.owl-theme .owl-item .item .caption {
    position: absolute;
    top: 10px;
    left: 10px;
    max-width: 60%;
    background-color: #1a3a84;
    color: white;
    line-height: 1.4;
    text-align: left;
    padding: 6px 15px;
}

.imageBlock + .description {
    line-height: 1.4;
    text-align: left;
    padding: 15px;
    font-size: 14px;
}

.imageBlockWrapper {
    margin-top: 30px;
}

    .imageBlockWrapper:before {
        content: "";
        position: absolute;
        height: 100%;
        display: block;
        width: calc(100% - 30px);
        left: 15px;
        top: 0;
        z-index: -1;
        /*background-color: #f9f9f9;*/
    }

.owl-carousel .owl-item .item .slide-caption a {
    opacity: 0;
    -webkit-transform: translate3d(0, 50px, 0);
    -ms-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0);
    -webkit-transition: opacity 1s ease-out 1s, -webkit-transform 1s ease-out 1s;
    transition: opacity 1s ease-out 1s, transform 1s ease-out 1s;
}

.owl-carousel .owl-item.active .item .slide-caption a {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.owl-carousel .owl-item .item .slide-caption img {
    position: absolute;
    height: 100%;
    vertical-align: middle;
    right: 0;
    top: 0;
    padding-right: calc(50% - 676px);
}



.owl-controls .owl-page,
.owl-controls .owl-buttons div {
    cursor: pointer;
}

.owl-controls {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* mouse grab icon */
.grabbing {
    cursor: url(grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -webkit-transform: translate3d(0,0,0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    height: 100%;
}


/*
* 	Owl Carousel Owl Demo Theme 
*	v1.3.3
*/

.owl-theme .owl-controls {
}

    /* Styling Next and Prev buttons */

    .owl-theme .owl-controls .owl-buttons div {
        color: #FFF;
        display: inline-block;
        font: normal normal normal 16px/1 LineAwesome;
        font-size: inherit;
        text-decoration: inherit;
        text-rendering: optimizeLegibility;
        text-transform: none;
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        font-smoothing: antialiased;
        zoom: 1;
        padding: 20px 20px;
        font-size: 24px;
        filter: Alpha(Opacity=50);
        background-color: #279ad5;
        opacity: 0.5;
        position: absolute;
        top: calc(50% - 33px);
    }

.hardwareSlider .owl-controls .owl-buttons div {
    color: #FFF;
    display: inline-block;
    font-family: FontAwesome;
    zoom: 1;
    padding: 20px 20px;
    font-size: 50px;
    line-height: 1;
    background-color: #279ad5;
    position: absolute;
    top: calc(50% - 45px);
}
/* Clickable class fix problem with hover on touch devices */
/* Use it for non-touch hover action */
.owl-theme .owl-controls.clickable .owl-buttons div:hover {
    filter: Alpha(Opacity=100); /*IE7 fix*/
    opacity: 1;
    text-decoration: none;
}

.owl-buttons .owl-prev {
    left: 0;
}

    .owl-buttons .owl-prev:before {
        content: "\f111";
    }

.owl-buttons .owl-next {
    right: 0;
}

    .owl-buttons .owl-next:before {
        content: "\f112";
    }

.hardwareSlider .owl-buttons .owl-prev {
    left: -15px;
}

.hardwareSlider .owl-buttons .owl-next {
    right: -15px;
}

/* Styling Pagination*/

.owl-pagination {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.owl-theme .owl-controls .owl-page {
    display: inline-block;
    zoom: 1;
    /*IE7 life-saver */
}

    .owl-theme .owl-controls .owl-page span {
        display: block;
        height: auto;
        width: auto;
        background-color: white;
        border: 3px solid #1a3a84;
        padding: 7px;
        margin: 0 3px;
        filter: Alpha(Opacity=50);
        opacity: 0.5;
        -webkit-transition: all ease .3s;
        transition: all ease .3s;
    }

        .owl-theme .owl-controls .owl-page span:after {
            content: "";
        }

    .owl-theme .owl-controls .owl-page.active span,
    .owl-theme .owl-controls.clickable .owl-page:hover span {
        filter: Alpha(Opacity=100); /*IE7 fix*/
        opacity: 1;
    }

    .owl-theme .owl-controls .owl-page.active span {
    }



/* preloading images */
.owl-item.loading {
    min-height: 150px;
    background: url(AjaxLoader.gif) no-repeat center center;
}

/* 
 *  Owl Carousel CSS3 Transitions 
 *  v1.3.2
 */

.owl-origin {
    -webkit-perspective: 1200px;
    -webkit-perspective-origin-x: 50%;
    -webkit-perspective-origin-y: 50%;
    -moz-perspective: 1200px;
    -moz-perspective-origin-x: 50%;
    -moz-perspective-origin-y: 50%;
    perspective: 1200px;
}
/* fade */
.owl-fade-out {
    z-index: 10;
    -webkit-animation: fadeOut .7s both ease;
    -moz-animation: fadeOut .7s both ease;
    animation: fadeOut .7s both ease;
}

.owl-fade-in {
    -webkit-animation: fadeIn .7s both ease;
    -moz-animation: fadeIn .7s both ease;
    animation: fadeIn .7s both ease;
}

/* scaleUp */
.owl-fadeUp-in {
    -webkit-animation: scaleUpFrom .8s ease both;
    -moz-animation: scaleUpFrom .8s ease both;
    -ms-animation: scaleUpFrom .8s ease both;
    animation: scaleUpFrom .8s ease both;
}

.owl-fadeUp-out {
    -webkit-animation: scaleUpTo .8s ease both;
    -moz-animation: scaleUpTo .8s ease both;
    -ms-animation: scaleUpTo .8s ease both;
    animation: scaleUpTo .8s ease both;
}

/* Keyframes */

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-moz-keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@-webkit-keyframes scaleUpFrom {
    from {
        opacity: 0;
        -webkit-transform: scale(1.5);
    }

    to {
        opacity: 1;
        -webkit-transform: scale(1);
    }
}

@-moz-keyframes scaleUpFrom {
    from {
        opacity: 0;
        -moz-transform: scale(1.5);
    }

    to {
        opacity: 1;
        -moz-transform: scale(1);
    }
}

@-ms-keyframes scaleUpFrom {
    from {
        opacity: 0;
        -ms-transform: scale(1.5);
    }

    to {
        opacity: 1;
        -ms-transform: scale(1);
    }
}

@keyframes scaleUpFrom {
    from {
        opacity: 0;
        transform: scale(1.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@-webkit-keyframes scaleUpTo {
    from {
        opacity: 1;
        -webkit-transform: scale(1);
    }

    to {
        opacity: 0;
        -webkit-transform: scale(1.5);
    }
}

@-moz-keyframes scaleUpTo {
    from {
        opacity: 1;
        -moz-transform: scale(1);
    }

    to {
        opacity: 0;
        -moz-transform: scale(1.5);
    }
}

@-ms-keyframes scaleUpTo {
    from {
        opacity: 1;
        -ms-transform: scale(1);
    }

    to {
        opacity: 0;
        -ms-transform: scale(1.5);
    }
}

@keyframes scaleUpTo {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(1.5);
    }
}



@media (max-width: 1200px) {

    .owl-carousel .owl-item .item .slide-caption > div {
        display: table-cell;
        vertical-align: middle;
        padding-top: inherit;
    }

    .owl-carousel .owl-item .item .slide-caption h2, .owl-carousel .owl-item .item .slide-caption p {
        margin-left: 60px;
    }

    .owl-pagination {
        left: 60px;
    }
}

@media (max-width: 767px) {

    .owl-carousel .owl-item .item .slide-caption h2, .owl-carousel .owl-item .item .slide-caption p {
        margin-left: 30px;
        margin-right: 30px;
    }

    .owl-carousel .owl-item .item .slide-caption h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .owl-carousel .owl-item .item .slide-caption p {
        font-size: 15px;
    }

    .owl-pagination {
        left: 30px;
        bottom: 27px;
    }

    .owl-carousel .owl-item .item .slide-caption img {
        height: auto;
        width: 100%
    }
}
