/*
 * jQuery FlexSlider v2.3.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Ville Ristimäki (@villeristi)
 * 
 */


/* ====================================================================================================================
 * RESETS
 * ====================================================================================================================*/
.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
        outline: none;
}
.slides,
.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;
}
.flexslider .slides > li {
        display: none;
        -webkit-backface-visibility: hidden;
}
.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 {
        margin: 0;
        position: relative;
        zoom: 1;
}
.flexslider .slides {
        zoom: 1;
}

.flex-viewport {
        opacity: 1;
        max-height: 2000px;   
}

@media screen and (min-width: 861px) {

 .loading .flex-viewport {
        opacity: 0.1;
        min-height: 100px;
        max-height: 101px;
 }
 .flex-viewport, .flex-control-nav{
        -webkit-transition: all 300ms ease;
        -moz-transition: all 300ms ease;
        -ms-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
 }
 
}

@media screen and (max-width: 860px) {

 .flex-viewport {
        min-height: 1px;
        max-height: 2000px;
 }
 .loading .flex-viewport {
        min-height: 100px;
        max-height: 101px;
 }
 .flex-viewport{
        -webkit-transition: all 300ms ease;
        -moz-transition: all 300ms ease;
        -ms-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
 }
 
}



.carousel li {
        margin-right: 5px;
}
.flex-direction-nav {
        *height: 0;
}
.flex-direction-nav a {
        text-decoration: none;
        display: block;
        width: 30px;
        height: 60px;
        margin: -30px 0 0;
        position: absolute;
        top: 50%;
        z-index: 10;
        background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzBweCIgaGVpZ2h0PSI2MHB4IiB2aWV3Qm94PSIwIDAgMzAgNjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMwIDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBwb2ludHM9IjI4LjY5Nyw1OC4zNDcgMC42OTUsMjkuMzQ3IDI4LjY5NywwLjM0NyAiLz48L3N2Zz4=") center center no-repeat;
        overflow: hidden;
        opacity: 0.2;
        cursor: pointer;
        color: rgba(0, 0, 0, 0.8);
        -webkit-transition: all 100ms ease-in-out;
        -moz-transition: all 100ms ease-in-out;
        -ms-transition: all 100ms ease-in-out;
        -o-transition: all 100ms ease-in-out;
        transition: all 100ms ease-in-out;
}
.flex-direction-nav a:focus, .flex-direction-nav a:hover{
        outline: 0;
        opacity: 1;
}
.flex-direction-nav a.flex-next {
        background: transparent url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMzBweCIgaGVpZ2h0PSI2MHB4IiB2aWV3Qm94PSIwIDAgMzAgNjAiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDMwIDYwIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBwb2ludHM9IjAuMzYsNTguMzQ3IDI4LjM2MiwyOS4zNDcgMC4zNiwwLjM0NyAiLz48L3N2Zz4=") center center no-repeat;
}
.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
  right: -50px;
  text-align: right;
}
.flex-direction-nav .flex-disabled {
  opacity: 0!important;
  filter: alpha(opacity=0);
  cursor: default;
}

/* ====================================================================================================================
 * RESPONSIVE
 * ====================================================================================================================*/
 
@media screen and (max-width: 1660px) {

 .flex-direction-nav a {
        opacity: 1;
 }
 .flex-direction-nav .flex-prev {
  left: 20px;
 }
 .flex-direction-nav .flex-next {
  right: 20px;
 }

}
 
@media screen and (max-width: 1028px) {
 
 .flex-control-nav{
        display: none;
 }
 .flex-direction-nav{
        display: none;
 }
 
}

.flexslider ul.slides li figure{
        position: relative;
}
 .flexslider ul.slides li figure figcaption{
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: transparent url(../images/carousel-curve-overlay.png) left bottom no-repeat;
 }
  .flexslider ul.slides li figure figcaption .figinner{
        position: absolute;
        right: 260px;
        bottom: 10px;
        display: table;
        width: 222px;
        height: 222px;
        background: #1191d0;
        color: #FFF;
        -webkit-border-radius: 150px;
        border-radius: 150px;    
        overflow: hidden;
        text-decoration: none;
        outline: 0;
  }
  .flexslider ul.slides li figure figcaption .figinner h2{
        font-size: 240%;
        font-weight: normal;
        text-transform: uppercase;
  }
  body.home .flexslider ul.slides li figure figcaption .figinner{
        width: 300px;
        height: 300px;
  }
  body.home .flexslider ul.slides li figure figcaption .figinner h2{
        font-size: 271.37%;
  }
  .flexslider ul.slides li figure figcaption .figinner .figintheinner{
        display: table-cell;
        padding: 25px 25px 30px 25px;
        height: 100%;
        text-align: center;
        vertical-align: middle;
  }
 .flexslider ul.slides li figure figcaption .arrow-button-green{
        margin-top: 12px;
 }
  .flexslider ul.slides li figure figcaption .arrow-button-green span{
        display: inline-block;
        text-align: center;
  }
   .flexslider ul.slides li figure figcaption .arrow-button-green a{
        position: relative;
        display: block;
        padding: 2px 8px;
        margin-right: 22px;
        background: #009549;
        color: #FFF;
   }
    .flexslider ul.slides li figure figcaption .arrow-button-green a:after{
        position: absolute;
        top: 0;
        right: -23px;
        display: block;
        content: "\003e";
        padding: 2px 0;
        width: 22px;
        background: #009549;
        color: #FFF;
    }
    
 
@media screen and (max-width: 911px) {
 
 .flexslider ul.slides li figure figcaption{
        left: 15px;
        bottom: 17px;
		display:none;
}
 .flexslider ul.slides li figure figcaption b{
        font-size: 115%;
        line-height: initial;
 }
 .flexslider ul.slides li figure figcaption .figinner .figintheinner{
		display:none;
 }

 
}