.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
 * ====================================================================================================================*/

/* .loading {position:fixed;top:0;left:0;width:100%;height:100%; background:#000;z-index:9999;}*/

.sliderWrap {
    position: relative;
    width: 100%;
    text-align: center;
}

.slider {
    position: relative;
    width: 100%;
}

.slides {
    position: relative;
    text-align: center;
    height: 100%;
}

.slides li {
    background-position: 50% 0;
}
.slides li img {
    position: relative;
    background-size: cover;
    width: 100%;
}
/*
.slides li img {
    height: 100%;
    max-height: 100%;
    background-position: 50% 0;
    background-size: cover;
}
*/

.flexslider .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
    height: 100%;
}

.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 {
    position: relative;
    height: 100%;
    overflow: hidden;


}

.flexslider .slides {
    zoom: 1;
}

.flexslider .slides img {
    height: 100%;
    text-align: center;
    -moz-user-select: none;
}

.flex-viewport {
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}


.flex-direction-nav {
    *height: 0;
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 50px;
    height: 100px;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.8);
    -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 {
    display: inline-block;
    color: rgba(0, 0, 0, 0.8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.flex-direction-nav a.flex-next:before {}

.flex-direction-nav .flex-prev {
    left: -50px;
    width: 50px;
    height: 100px;
    background: url(/js/profile/profile_prev.png);
    top: 50%;
    margin-top: -50px;
    /*
    background:#f66;
    background:#fff;
    background:rgba(255,255,255,0.6);
    */
}

.flex-direction-nav .flex-next {
    right: -50px;
    text-align: right;
    width: 50px;
    height: 100px;
    top: 50%;
    margin-top: -50px;
    background: url(/js/profile/profile_next.png);

    /*
    background:#fff;
    background:rgba(255,255,255,0.6);
    */
}

.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    left: 0;
}

.flexslider:hover .flex-direction-nav .flex-prev:hover {
    opacity: 1;
}

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    right: 0;
}

.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: 0;
    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%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-nav li {
    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 {
    position: absolute;
    text-align: center;
    width: 830px;
    left: 50%;
    margin-left: -410px;
    height: 98px;

}

.flex-control-thumbs li {
    width: 10%;
    height: 50px;
    overflow: hidden;
    background-position: 50%;
    text-align: center;
    margin: 2px;
    display: inline-block;
    border: 1px solid #ccc;

}

.flex-control-thumbs img {
    width: 100%;
    opacity: .5;
    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;
    background-position: 50%;
    text-align: center;

}

.flex-control-thumbs img:hover {
    opacity: 1;
}

.flex-control-thumbs .flex-active {
    opacity: 1;
    cursor: default;

}
