/*baner slider flex slider*/

.flexslider {
    margin: 0 auto;
    box-shadow: none;
    border: none;
    background: #3592a9;
}

.flexslider li {
    position: relative;
}

.flexslider li .meta {
    position: absolute;
    top: 40%;
    left: 30px;
    color: white;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    align-items: flex-start;
    max-width: 1330px;
    right: 0;
    margin: auto;
}

.flexslider li h2 {
    background: rgba(51, 51, 51, 0.5);
    padding: 13px 18px 11px;
    font-size: 1.1em;
    margin-bottom: 0;
    font-weight: 300;
}

.flexslider li .category {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
}

.flexslider li .category p {
    background: #e43837;
    margin-right: 7px;
    font-size: 1.1em;
    padding: 12px 18px 10px;
    font-weight: 300;
}

.flexslider li .category span {
    background: #e43837;
    margin-top: 17px;
    padding: 8px 12px 0;
    font-size: 0.9em;
    font-weight: 300;
    height: 26px;
}

.flexslider .slides img {
    width: auto;
    display: block;
    float: right;
    position: relative;
}

.flexslider li h1,
.flexslider li p,
.flexslider li .baner-btn {
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeOutLeft;
    animation-name: fadeOutLeft;
}

.flexslider li.flex-active-slide .meta h1,
.flexslider li.flex-active-slide .meta p,
.flexslider li.flex-active-slide .meta .baner-btn {
    -webkit-animation-delay: .4s;
    animation-delay: .4s;
    -webkit-animation-duration: .6s;
    animation-duration: .6s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-name: fadeInLeft;
    animation-name: fadeInLeft;
}

.flexslider li.flex-active-slide .meta p {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.flexslider li.flex-active-slide .meta .baner-btn {
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}

.flex-direction-nav {
    position: absolute;
    top: 45%;
    left: 30px;
    right: 30px;
}

ul.flex-direction-nav li {
    height: auto;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 30px;
    height: 30px;
    background-color: #333;
    margin: -20px 0 0;
    position: absolute;
    top: 50px;
    z-index: 10;
    overflow: hidden;
    opacity: .5;
    cursor: pointer;
    color: #fff;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
}

.flex-direction-nav .flex-prev {
    text-align: left;
    left: 30px;
    background: url(../images/baner-right.svg) no-repeat;
    width: 40px;
    height: 40px;
    font-size: 0;
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
}

.flex-direction-nav .flex-next {
    text-align: right;
    right: 30px;
    background: url(../images/baner-right.svg) no-repeat;
    width: 40px;
    height: 40px;
    font-size: 0;
}

.flexslider:hover .flex-prev {
    left: 30px;
    opacity: 1;
}

.flexslider:hover .flex-next {
    right: 30px;
    opacity: 1;
}

.flexslider:hover .flex-next:hover,
.flexslider:hover .flex-prev:hover {
    opacity: 1;
}

.flex-direction-nav a:before {
    display: none;
}

.flex-direction-nav a.flex-next:before {
    content: '\f105';
    display: none;
}

@-webkit-keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: none;
        transform: none;
    }
}

@-webkit-keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

@keyframes fadeOutLeft {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        -webkit-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
    }
}

.head-right-top ul li:hover img,
.ab-right:hover:before,
.ab-right:hover:after {
    animation: bounceIn 750ms linear infinite alternate;
    -moz-animation: bounceIn 750ms linear infinite alternate;
    /* -webkit-animation: bounceIn 750ms linear infinite alternate; */
    -o-animation: bounceIn 750ms linear infinite alternate;
}

@-webkit-keyframes bounceIn {
    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }
    20% {
        -webkit-transform: scale3d(.5, .5, .5);
        transform: scale3d(.5, .5, .5);
    }
    40% {
        -webkit-transform: scale3d(.4, .4, .4);
        transform: scale3d(.4, .4, .4);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(.6, .6, .6);
    }
    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes bounceIn {
    0%,
    20%,
    40%,
    60%,
    80%,
    100% {
        -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
    }
    0% {
        opacity: 0;
        -webkit-transform: scale3d(.3, .3, .3);
        -ms-transform: scale3d(.3, .3, .3);
        transform: scale3d(.3, .3, .3);
    }
    20% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1);
        -ms-transform: scale3d(1.1, 1.1, 1.1);
        transform: scale3d(1.1, 1.1, 1.1);
    }
    40% {
        -webkit-transform: scale3d(.9, .9, .9);
        -ms-transform: scale3d(.9, .9, .9);
        transform: scale3d(.9, .9, .9);
    }
    60% {
        opacity: 1;
        -webkit-transform: scale3d(1.03, 1.03, 1.03);
        -ms-transform: scale3d(1.03, 1.03, 1.03);
        transform: scale3d(1.03, 1.03, 1.03);
    }
    80% {
        -webkit-transform: scale3d(.97, .97, .97);
        -ms-transform: scale3d(.97, .97, .97);
        transform: scale3d(.97, .97, .97);
    }
    100% {
        opacity: 1;
        -webkit-transform: scale3d(1, 1, 1);
        -ms-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}


/*waves animation*/

.ocean {
    height: 0;
    width: 100%;
    position: absolute;
    bottom: 40px;
    left: 0;
    z-index: -9;
}

.wave {
    background: url(../images/wave.svg) repeat-x;
    position: absolute;
    top: -135px;
    width: 6400px;
    height: 200px;
    -webkit-animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) infinite;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

section.footer .ocean .wave {
    background: url(../images/footer-wave.svg) repeat-x;
}

.wave:nth-of-type(2) {
    top: -175px;
    -webkit-animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, swell 7s ease -1.25s infinite;
    animation: wave 7s cubic-bezier(0.36, 0.45, 0.63, 0.53) -0.125s infinite, swell 7s ease -1.25s infinite;
    opacity: 1;
}

@-webkit-keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@keyframes wave {
    0% {
        margin-left: 0;
    }
    100% {
        margin-left: -1600px;
    }
}

@-webkit-keyframes swell {
    0%,
    100% {
        -webkit-transform: translate3d(0, -25px, 0);
        transform: translate3d(0, -25px, 0);
    }
    50% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }
}

@keyframes swell {
    0%,
    100% {
        -webkit-transform: translate3d(0, -25px, 0);
        transform: translate3d(0, -25px, 0);
    }
    50% {
        -webkit-transform: translate3d(0, 5px, 0);
        transform: translate3d(0, 5px, 0);
    }
}

.bubble-out-left {
    position: absolute;
    left: 70px;
    bottom: 50px;
}

.bubble-out-right {
    position: absolute;
    right: 130px;
    bottom: 70px;
}

.bubble {
    -webkit-animation: short-bubble 3500ms linear infinite;
    animation: short-bubble 3500ms linear infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    height: 10px;
    width: 9px;
    border: 1px solid rgba(240, 240, 240, 0.5);
    border-radius: 50%;
}

.b2 {
    -webkit-animation: medium-bubble 7000ms linear infinite;
    animation: medium-bubble 7000ms linear infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    margin-left: -7px;
    margin-top: 25px;
    height: 13px;
    width: 12px;
}

.b3 {
    -webkit-animation-duration: 5500ms;
    animation-duration: 5500ms;
    margin-left: -5px;
    margin-bottom: 10px;
}

.b4 {
    -webkit-animation-duration: 4000ms;
    animation-duration: 4000ms;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    margin: 0 0 40px -9px;
    height: 7px;
    width: 6px;
}

.b5 {
    -webkit-animation: medium-bubble 5000ms linear infinite;
    animation: medium-bubble 5000ms linear infinite;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    margin-left: -1px;
    margin-top: 100px;
    height: 5px;
    width: 4px;
}

.b6 {
    -webkit-animation-duration: 5000ms;
    animation-duration: 5000ms;
    margin-left: -8px;
    margin-bottom: 50px;
}

.b7 {
    -webkit-animation-duration: 8000ms;
    animation-duration: 8000ms;
    margin-left: -3px;
    margin-bottom: 50px;
    height: 7px;
    width: 6px;
}

.b8 {
    -webkit-animation: medium-bubble 4000ms linear infinite;
    -webkit-animation-fill-mode: forwards;
    animation: medium-bubble 4000ms linear infinite;
    animation-fill-mode: forwards;
    margin-left: -13px;
    margin-bottom: 30px;
}

@-webkit-keyframes short-bubble {
    0% {
        -webkit-transform: translate3d(5px, 0, 0);
        opacity: 0;
    }
    13% {
        -webkit-transform: translate3d(2px, -50px, 0);
        opacity: 1;
    }
    20% {
        -webkit-transform: translate3d(5px, -100px, 0) scale(1.2);
    }
    30% {
        -webkit-transform: translate3d(0, -150px, 0);
    }
    40% {
        -webkit-transform: translate3d(8px, -20400px, 0);
    }
    50% {
        -webkit-transform: translate3d(3px, -25500px, 0);
    }
    60% {
        -webkit-transform: translate3d(8px, -300px, 0);
    }
    70% {
        opacity: 0.4;
    }
    80%,
    100% {
        -webkit-transform: translate3d(0, -350px, 0);
        opacity: 0;
    }
}

@keyframes short-bubble {
    0% {
        transform: translate3d(5px, 0, 0);
        opacity: 0;
    }
    13% {
        transform: translate3d(2px, -50px, 0);
        opacity: 1;
    }
    20% {
        transform: translate3d(5px, -100px, 0) scale(1.2);
    }
    30% {
        transform: translate3d(0px, -150px, 0);
    }
    40% {
        transform: translate3d(8px, -200px, 0);
    }
    50% {
        transform: translate3d(3px, -250px, 0);
    }
    60% {
        transform: translate3d(8px, -300px, 0);
    }
    70% {
        opacity: 0.4;
    }
    80%,
    100% {
        transform: translate3d(0, -350px, 0);
        opacity: 0;
    }
}

@-webkit-keyframes medium-bubble {
    0% {
        -webkit-transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    5% {
        -webkit-transform: translate3d(4px, -50px, 0);
        opacity: 1;
    }
    10% {
        -webkit-transform: translate3d(2px, -100px, 0) rotate(10deg);
    }
    20% {
        -webkit-transform: translate3d(7px, -150px, 0) rotate(14deg) scale(0.7);
    }
    30% {
        -webkit-transform: translate3d(5px, -200px, 0) rotate(15deg);
    }
    40% {
        -webkit-transform: translate3d(1px, -250px, 0) rotate(20deg);
    }
    50% {
        -webkit-transform: translate3d(2px, -300px, 0) rotate(18deg) scale(1.1);
    }
    60% {
        -webkit-transform: translate3d(-3px, -350px, 0) rotate(22deg);
        opacity: 0.4;
    }
    100% {
        -webkit-transform: translate3d(0, -400px, 0);
        opacity: 0;
    }
}

@keyframes medium-bubble {
    0% {
        transform: translate3d(0, 0, 0);
        opacity: 0;
    }
    5% {
        transform: translate3d(4px, -50px, 0);
        opacity: 1;
    }
    10% {
        transform: translate3d(2px, -100px, 0) rotate(10deg);
    }
    20% {
        transform: translate3d(7px, -150px, 0) rotate(14deg) scale(0.7);
    }
    30% {
        transform: translate3d(5px, -200px, 0) rotate(15deg);
    }
    40% {
        transform: translate3d(1px, -250px, 0) rotate(20deg);
    }
    50% {
        transform: translate3d(2px, -300px, 0) rotate(18deg) scale(1.1);
    }
    60% {
        transform: translate3d(-3px, -350px, 0) rotate(22deg);
        opacity: 0.4;
    }
    100% {
        transform: translate3d(0, -400px, 0);
        opacity: 0;
    }
}

.scrolltop {
    display: none;
    width: 100%;
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 10px;
    z-index: 99;
}

.scroll {
    position: absolute;
    right: 20px;
    bottom: 50px;
    padding: 10px 15px;
    text-align: center;
    margin: 0 0 0 0;
    cursor: pointer;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    z-index: 9;
}

-o-transition: 0.5s;

}
.scroll:hover {
    background: rgba(178, 178, 178, 1.0);
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
}
.scroll:hover .fa {
    padding-top: -10px;
}
.scroll .fa {
    font-size: 25px;
    margin-top: 0;
    margin-left: 1px;
    transition: 0.5s;
    -moz-transition: 0.5s;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    color: #fff;
}