/**
*
* slippry v1.4.0 - Responsive content slider for jQuery
* http://slippry.com
*
* Authors: Lukas Jakob Hafner - @saftsaak
*          Thomas Hurd - @SeenNotHurd
*
* Copyright 2016, booncon oy - http://booncon.com
*
*
* Released under the MIT license - http://opensource.org/licenses/MIT
*/


/* kenBurns animations, very basic */

@-webkit-keyframes left-right {
    0% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
    100% {
        -webkit-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@-o-keyframes left-right {
    0% {
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
    100% {
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@keyframes left-right {
    0% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
    100% {
        -webkit-transform: translateY(0%) translateX(10%);
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
}

@-webkit-keyframes right-left {
    0% {
        -webkit-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
    100% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}

@-o-keyframes right-left {
    0% {
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
    100% {
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}

@keyframes right-left {
    0% {
        -webkit-transform: translateY(0%) translateX(10%);
        -o-transform: translateY(0%) translateX(10%);
        transform: translateY(0%) translateX(10%);
    }
    100% {
        -webkit-transform: translateY(-20%) translateX(-10%);
        -o-transform: translateY(-20%) translateX(-10%);
        transform: translateY(-20%) translateX(-10%);
    }
}


/* added to the original element calling slippry */

.sy-box.sy-loading {
    background: url("/images/sy-loader.gif") 50% 50% no-repeat;
    -webkit-background-size: 32px 32px;
    background-size: 32px;
    min-height: 40px;
}

.sy-box.sy-loading .sy-slides-wrap,
.sy-box.sy-loading .sy-pager {
    visibility: hidden;
}


/* element that wraps the slides */

.sy-slides-wrap {
    position: relative;
    height: 100%;
    width: 100%;
}

.sy-slides-wrap:hover .sy-controls {
    display: block;
}


/* element that crops the visible area to the slides */

.sy-slides-crop {
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
}


/* list containing the slides */

.sy-list {
    width: 100%;
    height: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
}

.sy-list.horizontal {
    -webkit-transition: left ease;
    -o-transition: left ease;
    transition: left ease;
}

.sy-list.vertical {
    -webkit-transition: top ease;
    -o-transition: top ease;
    transition: top ease;
}


/* single slide */

.sy-slide {
    position: absolute;
    width: 100%;
    z-index: 2;
}

.sy-slide.kenburns {
    width: 140%;
    left: -20%;
}

.sy-slide.kenburns.useCSS {
    -webkit-transition-property: opacity;
    -o-transition-property: opacity;
    transition-property: opacity;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(1n) {
    -webkit-animation-name: left-right;
    -o-animation-name: left-right;
    animation-name: left-right;
    -webkit-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.sy-slide.kenburns.useCSS.sy-ken:nth-child(2n) {
    -webkit-animation-name: right-left;
    -o-animation-name: right-left;
    animation-name: right-left;
    -webkit-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}

.sy-slide.sy-active {
    z-index: 3;
}

.sy-slide>img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    border: 0;
}

.sy-slide>a {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
}

.sy-slide>a>img {
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    border: 0;
}


/* next/ prev buttons, with arrows and clickable area a lot larger than the visible buttons */

.sy-controls {
    display: none;
    list-style: none;
    height: 100%;
    width: 100%;
    position: absolute;
    padding: 0;
    margin: 0;
}

.sy-controls li {
    position: absolute;
    width: 10%;
    min-width: 4.2em;
    height: 100%;
    z-index: 33;
}

.sy-controls li.sy-prev {
    left: 0;
    top: 0;
}

.sy-controls li.sy-prev a:after {
    background-position: -5% 0;
}

.sy-controls li.sy-next {
    right: 0;
    top: 0;
}

.sy-controls li.sy-next a:after {
    background-position: 105% 0;
}

.sy-controls li a {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    text-indent: -9999px;
}

.sy-controls li a:link,
.sy-controls li a:visited {
    opacity: 0.4;
}

.sy-controls li a:hover,
.sy-controls li a:focus {
    opacity: 0.8;
    outline: none;
}

.sy-controls li a:after {
    content: "";
    background-image: url("../images/arrows.svg");
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    text-align: center;
    text-indent: 0;
    line-height: 2.8em;
    color: #111;
    font-weight: 800;
    position: absolute;
    background-color: #fff;
    width: 2.8em;
    height: 2.8em;
    left: 50%;
    top: 50%;
    margin-top: -1.4em;
    margin-left: -1.4em;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .sy-controls {
        display: block;
    }
    .sy-controls li {
        min-width: 2.1em;
    }
    .sy-controls li a:after {
        width: 1.4em;
        height: 1.4em;
        margin-top: -0.7em;
        margin-left: -0.7em;
    }
}


/* captions, styled fo the overlay variant */

.sy-caption-wrap {
    position: absolute;
    z-index: 999;
    right: 0%;
    top: 3%;
    width: auto;
    max-width: 510px;
    display: table;
    direction: rtl;
    text-align: right;
}

.sy-caption-wrap .sy-caption {
    position: relative;
    /*left: 10%;*/
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 40px;
    padding: 0px 30px 65px 50px !important;
}

.sy-caption-wrap .sy-caption p {
    width: 100% !important;
    color: #ffffff;
    font-size: 0.35em;
    margin-top: 10px;
}

.slogan3_div {
    width: 16px;
    height: 65px;
    float: left;
    background-image: url('../images/slogan_3.png');
    background-repeat: no-repeat;
    background-position: top;
    margin-right: 20px;
}

.sy-caption-wrap .sy-caption .innerpage1 {
    color: #ffffff;
    font-size: 0.9em;
    font-weight: 300;
    text-transform: uppercase;
    width: 100%;
    /*border: 1px solid #ff0000;*/
    padding: 0px 0px 0px 0px !important;
    display: table;
}

.sy-caption-wrap .sy-caption .arrowsym {
    color: #ffffff;
    font-size: 0.8em;
}

.sy-caption-wrap .sy-caption a:link,
.sy-caption-wrap .sy-caption a:visited {
    background-color: #0f75bc;
    padding: 10px 20px;
    font-size: 0.8em !important;
    text-transform: uppercase;
    text-decoration: none;
    color: #FFFFFF;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    font-weight: 500;
}

.buttons_slippry_span {
    width: auto;
    height: auto;
    float: right;
    margin-left: 15px;
    margin-top: 10px;
}

.sy-caption-wrap .sy-caption a:hover,
.sy-caption-wrap .sy-caption a:focus {
    /*text-decoration: underline; */
    background-color: #ffffff;
    color: #000000;
}

.links2_sliprey {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.links2_sliprey:hover {
    background-color: #0f75bc !important;
    color: #ffffff !important;
}

#sl_img {
    max-width: 100%;
    min-height: 300px
}

@media (max-width: 1450px) {
    .slider_contactus_inner,
    .slider_page_title {
        top: 170px;
    }
}

@media (max-width: 1300px) {
    .slider_contactus_inner,
    .slider_page_title {
        top: 150px;
    }
}

@media (max-width: 1152px) {
    .sp_img_class {
        width: 80%;
    }
    .slider_contactus {
        top: 110px;
    }
    .slider_contactus .sl-inner {
        padding: 0px 20px 45px 20px !important;
    }
    .slider_contactus_inner,
    .slider_page_title {
        top: 110px;
    }
    .slider_contactus_inner .sl-inner {
        padding: 0px 20px 50px 20px !important;
    }
    /************ today new *********/
    .sy-caption-wrap {
        top: 3%;
        width: 550px !important;
        /*border: 1px solid #ff0000;*/
    }
    .buttons_slippry_span {
        margin-bottom: 15px;
    }
}

@media (max-width: 970px) {
    .slider_contactus {
        top: 127px;
    }
    .slider_contactus .sl-inner {
        width: 200px;
        padding: 0px 20px 18px 20px !important;
    }
    .slider_contactus .header_section li::before {
        content: "";
        display: block;
        background: url('../images/slogan_2.png') no-repeat;
        width: 16px;
        height: 55px;
        margin-left: 20px;
    }
    .slider_contactus .header_section p {
        padding: 10px 10px 0px 10px;
        font-size: 0.9em !important;
    }
    .slider_contactus .header_section h1 {
        padding: 0px 10px 10px 10px;
        font-size: 1.5em !important;
    }
    .slider_contactus_inner,
    .slider_page_title {
        top: 127px;
    }
    .slider_page_title .title-inner {
        padding: 0px 10px 0px 20px !important;
        width: 230px;
    }
    .slider_contactus_inner .sl-inner {
        width: 200px;
        padding: 0px 20px 20px 20px !important;
    }
    /* .slider_page_title .title_section li::before {
        content: "";
        display: block;
        background: url('../images/slogan_3.png') no-repeat;
        width: 16px;
        height: 45px !important;
        margin-right: 20px;
    } */
    /* .slider_contactus_inner .header_section li::before {
        content: "";
        display: block;
        background: url('../images/slogan_2.png') no-repeat;
        width: 16px;
        height: 45px !important;
        margin-left: 20px;
    } */
    .slider_contactus_inner .header_section p {
        padding: 10px 0px 0px 10px;
        font-size: 0.9em !important;
    }
    .slider_contactus_inner .header_section h1 {
        padding: 0px 0px 10px 10px;
        font-size: 1.5em !important;
    }
    .slider_page_title .title_section h1 {
        padding: 14px 0px 0px 0px;
        font-size: 1.3em !important;
    }
}

@media (max-width: 815px) {
    .sy-caption-wrap {
        top: 3%;
        width: 430px !important;
    }
    .sp_img_class {
        width: 60%;
    }
    .sy-caption-wrap .sy-caption p {
        font-size: 0.28em !important;
    }
    .sy-caption-wrap .sy-caption {
        padding: 0px 30px 50px 30px !important;
    }
    /*.slider_contactus {
        top: 170px;
    }*/
    .slider_contactus .sl-inner {
        width: 200px;
        padding: 0px 40px 33px 20px !important;
        height: 200px !important;
    }
    .slider_contactus .form_section {
        width: 100%;
        height: auto;
        float: left;
    }
    .slider_contactus .form_section li {
        width: 100%;
        height: auto;
        float: left;
        margin-bottom: 3px !important;
    }
    .slider_contactus .form_section input[type=text],
    .slider_contactus .form_section select {
        padding: 5px 10px !important;
    }
    .slider_contactus .form_section input[type=submit] {
        padding: 5px 10px !important;
    }
    .sy-pager {
        margin: 1em 0 0;
    }
    .slider_contactus_inner,
    .slider_page_title {
        top: 170px;
    }
    .slider_contactus_inner .sl-inner {
        width: 200px;
        padding: 0px 20px 35px 20px !important;
        height: 200px !important;
    }
    .slider_contactus_inner .form_section {
        width: 100%;
        height: auto;
        float: left;
    }
    .slider_contactus_inner .form_section li {
        width: 100%;
        height: auto;
        float: left;
        margin-bottom: 3px !important;
    }
    .slider_contactus_inner .form_section input[type=text],
    .slider_contactus_inner .form_section select {
        padding: 5px 10px !important;
    }
    .slider_contactus_inner .form_section input[type=submit] {
        padding: 5px 10px !important;
    }
}

.pollSlider {
    display: none;
}

@media (max-width: 700px) {
    .slider_contactus .sl-inner {
        display: none;
    }
    .slider_contactus .form_btn {
        display: block;
        direction: rtl;
        text-align: right;
    }
    .slider_contactus_inner .sl-inner {
        display: none;
    }
    .slider_contactus_inner .form_btn {
        display: block;
    }
    .slider_contactus {
        top: 133px;
    }
    .sy-slide>img {
        height: 250px !important;
    }
    .sy-slide {
        height: 250px !important;
    }
    .pollSlider {
        position: absolute;
        height: 200px;
        width: 200px;
        left: 0px;
        top: -35px;
        margin-right: 107px;
        margin-left: -200px;
        display: none;
    }
    /********new *****/
    .sy-pager {
        display: none !important;
        margin: 0.5em 0 25px 0 !important;
    }
    .slider_page_title {
        top: 160px;
    }
    .slider_page_title .title-inner {
        padding: 0px 15px 0px 30px !important;
        width: 200px;
    }
    .slider_page_title .title_section h1 {
        padding: 12px 0px 0px 0px;
        font-size: 1.1em !important;
    }
}

@media (max-width: 675px) {
    .slider_contactus {
        top: 118px;
    }
    .sy-caption-wrap {
        top: 10px;
    }
    .slider_contactus .form_btn {
        padding: 0px 0 0 0 !important;
    }
    .slider_contactus_inner .form_btn {
        padding: 0px 0 0 0 !important;
    }
    .sy-slide>img {
        height: 350px !important;
    }
    .sy-slide {
        height: 350px !important;
    }
}

@media (max-width: 544px) {
    .sy-caption-wrap {
        /*top: 4%;*/
        width: 350px !important;
    }
    .sy-caption-wrap .sy-caption {
        padding: 0px 20px 80px 20px !important;
    }
}

@media (max-width: 470px) {
    .sy-caption-wrap {
        /*top: 4%;*/
        width: 300px !important;
    }
    .buttons_slippry_span {
        margin-left: 20px;
        margin-top: 0px;
        margin-bottom: 30px;
    }
    .sp_img_class {
        width: 80%;
    }
}

@media (max-width: 420px) {
    .sy-caption-wrap {
        /*top: 8%;*/
        width: 250px !important;
    }
    .sy-caption-wrap .sy-caption {
        padding: 0px 20px 100px 20px !important;
    }
    .sy-caption-wrap .sy-caption p {
        font-size: 0.30em !important;
    }
    #sl_img {
        max-width: 100%;
        min-height: 400px
    }
}

@media (max-width: 400px) {
    .sy-caption-wrap {
        top: 30px;
    }
    .slider_contactus {
        top: 140px;
    }
}


/* pager bubbles */

.sy-pager {
    clear: both;
    display: block;
    width: 100%;
    margin: 1.5em 0 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.sy-pager li {
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    margin: 0 1em 0 0;
    border-radius: 50%;
}

.sy-pager li.sy-active a {
    background-color: #0f75bc;
}

.sy-pager li a {
    width: 70%;
    height: 70%;
    display: block;
    background-color: #ccc;
    text-indent: -9999px;
    -webkit-background-size: 2em 2em;
    background-size: 1em;
    /*border-radius: 50%;*/
}

.sy-pager li a:link,
.sy-pager li a:visited {
    opacity: 1.0;
}

.sy-pager li a:hover,
.sy-pager li a:focus {
    opacity: 0.6;
}


/* element to "keep/ fill" the space of the content, gets intrinsic height via js */

.sy-filler {
    width: 100%;
}

.sy-filler.ready {
    -webkit-transition: padding 600ms ease;
    -o-transition: padding 600ms ease;
    transition: padding 600ms ease;
}