/*
 * jQuery FlexSlider v2.6.2
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 and later license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 */
/* ====================================================================================================================
 * FONT-FACE
 * ====================================================================================================================*/
@font-face {
    font-family: 'flexslider-icon';
    src: url('fonts/flexslider-icon.eot');
    src: url('fonts/flexslider-icon.eot?#iefix') format('embedded-opentype'), url('fonts/flexslider-icon.woff') format('woff'), url('fonts/flexslider-icon.ttf') format('truetype'), url('fonts/flexslider-icon.svg#flexslider-icon') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover {
    outline: none;
}

.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-pauseplay span {
    text-transform: capitalize;
}
/* ====================================================================================================================
 * BASE STYLES
 * ====================================================================================================================*/
.flexslider {
    margin: 0;
    padding: 0;
    height: 80vh;
}

    .flexslider .slides > li {
        display: none;
        -webkit-backface-visibility: hidden;
        height: 100%;
        overflow: hidden;
    }

        .flexslider .slides > li:first-child {
            display: block;
            -webkit-backface-visibility: visible;
        }

    .flexslider .slides img {
        width: 100%;
        display: block;
    }

    .flexslider .slides:after {
        content: "\0020";
        display: block;
        clear: both;
        visibility: hidden;
        line-height: 0;
        height: 0;
    }

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.no-js .flexslider .slides > li:first-child {
    display: block;
}
/* ====================================================================================================================
 * DEFAULT THEME
 * ====================================================================================================================*/
.flexslider {
    background: #fff;
    position: relative;
    zoom: 1;
}

    .flexslider .slides {
        zoom: 1;
        height: 100%;
    }

        .flexslider .slides img {
            height: auto;
            -moz-user-select: none;
        }

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

.loading .flex-viewport {
    max-height: 300px;
}

.carousel li {
    margin-right: 5px;
}

.flex-direction-nav {
    *height: 0;
}

    .flex-direction-nav a {
        text-decoration: none;
        display: block;
        width: 40px;
        height: 35px;
        margin: -20px 0 0;
        position: absolute;
        top: 50%;
        z-index: 10;
        overflow: hidden;
        opacity: 0;
        cursor: pointer;
        color: rgba(0, 0, 0, 0.8);
        text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .flex-direction-nav a:before {
            width: 20px;
            height: 20px;
            display: inline-block;
            content: '';
            border-right: 2px #000 solid;
            border-top: 2px #000 solid;
            transform: rotate(-135deg);
            margin-left: 10px;
            margin-top: 10px;
        }

        .flex-direction-nav a.flex-next:before {
            transform: rotate(45deg);
            margin-right: 10px;
        }

    .flex-direction-nav .flex-prev {
        left: -50px;
    }

    .flex-direction-nav .flex-next {
        right: -50px;
        text-align: right;
    }

.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 10px;
}

    .flexslider:hover .flex-direction-nav .flex-prev:hover {
        opacity: 1;
    }

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 10px;
}

    .flexslider:hover .flex-direction-nav .flex-next:hover {
        opacity: 1;
    }

.flex-direction-nav .flex-disabled {
    opacity: 0!important;
    filter: alpha(opacity=0);
    cursor: default;
    z-index: -1;
}

.flex-pauseplay a {
    display: block;
    width: 20px;
    height: 20px;
    position: absolute;
    bottom: 5px;
    left: 10px;
    opacity: 0.8;
    z-index: 10;
    overflow: hidden;
    cursor: pointer;
    color: #000;
}

    .flex-pauseplay a:before {
        font-family: "flexslider-icon";
        font-size: 20px;
        display: inline-block;
        content: '\f004';
    }

    .flex-pauseplay a:hover {
        opacity: 1;
    }

    .flex-pauseplay a.flex-play:before {
        content: '\f003';
    }

.flex-control-nav {
    width: 100%;
    display: none;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

    .flex-control-nav li {
        margin: 0 6px;
        display: inline-block;
        zoom: 1;
        *display: inline;
    }

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -o-box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

    .flex-control-paging li a:hover {
        background: #333;
        background: rgba(0, 0, 0, 0.7);
    }

    .flex-control-paging li a.flex-active {
        background: #000;
        background: rgba(0, 0, 0, 0.9);
        cursor: default;
    }

.flex-control-thumbs {
    margin: 5px 0 0;
    position: static;
    overflow: hidden;
}

    .flex-control-thumbs li {
        width: 25%;
        float: left;
        margin: 0;
    }

    .flex-control-thumbs img {
        width: 100%;
        height: auto;
        display: block;
        opacity: .7;
        cursor: pointer;
        -moz-user-select: none;
        -webkit-transition: all 1s ease;
        -moz-transition: all 1s ease;
        -ms-transition: all 1s ease;
        -o-transition: all 1s ease;
        transition: all 1s ease;
    }

        .flex-control-thumbs img:hover {
            opacity: 1;
        }

    .flex-control-thumbs .flex-active {
        opacity: 1;
        cursor: default;
    }
/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 10px;
    }

    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 10px;
    }
}

/* ====================================================================================================================
 * customization
 * ====================================================================================================================*/

.animate {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.slides h3 {
    -webkit-animation-delay: 0.7s;
    -moz-animation-delay: 0.7s;
    animation-delay: 0.7s;
    font-size: 30px;
    font-weight: bold;
}

.slides .textline {
    -webkit-animation-delay: 1.3s;
    -moz-animation-delay: 1.3s;
    animation-delay: 1.3s;
    font-size: 16px;
    margin-top: 20px;
}

.slides .button {
    -webkit-animation-delay: 1.9s;
    -moz-animation-delay: 1.9s;
    animation-delay: 1.9s;
    display: inline-block;
    padding: 10px 30px;
    background-color: #67C8BD;
    color: #fff;
    border-radius: 30px;
    margin-top: 15px;
}

.slides .flex-active-slide a, .slides .flex-active-slide h3, .slides .flex-active-slide p {
    -webkit-animation-name: fadeInRight;
    animation-name: fadeInRight;
}

.informationbox {
    position: absolute;
    width: 400px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 30px;
    top: 50%;
    left: 15%;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    -o-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

/*=== Animations start here  ===*/
/*==== FADE IN RIGHT ===*/
@-webkit-keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        -webkit-transform: translate3d(50px, 0, 0);
        transform: translate3d(50px, 0, 0);
    }

    to {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}
/*=== FADE IN  ===*/
@-webkit-keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
}
.gallery.galleryHome.galleryDetail .flexslider{
    position:static;
}
.gallery.galleryHome.galleryDetail .galleryDett {
    height: 100%;
}
.gallery.galleryHome.galleryDetail {
    width: 100%;
    float: left;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-bottom: 20px #fff solid;
}
.gallery.galleryHome {
    top: 0 !important;
    position: relative;
    overflow: hidden;
}
a.morePhotosDet.videoDett {
    left: 0 !important;
    bottom: 0 !important;
}

@media (min-width:1160px) {
	.flexslider .slides img {
    width: 100%;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
}
@media (max-width:1160px) {
    .flexslider {
        height: 100%;
    }

    .gallery.galleryHome.galleryDetail {
        height: 400px;
    }
}

@media (max-width:768px) {
    .slides h3 {
        font-size: 20px;
    }

    .informationbox {
        position: static;
        width: 100%;
        padding: 15px;
        top: 0;
        left: 0px;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        -o-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .slides .textline {
        font-size: 14px;
        margin-top: 10px;
    }

    .slides .button {
        padding: 8px 20px;
        border-radius: 30px;
        margin-top: 0;
    }
    .slides .button:hover{
        text-decoration: none;
    }
    .flex-direction-nav a {
        top: 30%;
    }

    .gallery.galleryHome.galleryDetail {
        height: 300px;
    }
}

@media (max-width: 650px) {
    .gallery.galleryHome.galleryDetail {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery.galleryHome.galleryDetail {
        height: 200px;
    }
}

.gallery.galleryDetail .galleryImg:before {
    background: url(/images/css/prev.png) no-repeat center center;
    height: 73px;
    left: 30px;
    opacity: 1;
    width: 39px;
}

/*.gallery.galleryDetail .galleryImg:before, .gallery.galleryDetail .galleryImg:after {
    cursor: pointer;
    display: block;
    content: "";
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    top: 50%;
    transition: all 0.3s ease-in-out 0s;
    z-index: 10;
    margin-top: -37px;
}

.gallery.galleryDetail .galleryImg:after {
    background: url(/images/css/next.png) no-repeat center center;
    height: 73px;
    right: 30px;
    opacity: 1;
    width: 39px;
}*/

.animatedArrow {
    bottom: 15px;
    height: 60px;
    left: 50%;
    position: absolute;
    text-align: center;
    width: 60px;
    z-index: 2;
    cursor: pointer;
    margin-left: -30px;
}

.galleryDett {
    height:auto;
}
.gallery.galleryDetail .flexslider .slides img {
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50% , -50%);
    -ms-transform: translate(-50% , -50%);
    -o-transform: translate(-50% , -50%);
    transform: translate(-50% , -50%);
}

.section-image-aside-img .flexslider {
    height: 100%;
    border:4px #67C8BD solid;
}