/*
Button Shortcode
-----------------------------------------------------------------------------*/
.button-small,
.button.small {
    padding: 0 20px;
    height: 32px;
    line-height: 32px;
    font-size: 12px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #wrapper #slidingbar-area,
    .admin-bar p.demo_store,
    body.admin-bar #header.sticky-header {
        top: 46px;
    }
    body.body_blank.admin-bar {
        top: 45px;
    }
}

.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus {
    outline: none;
}

.flexslider .slides,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000;
}

.flexslider {
    margin: 0;
    padding: 0;
}

.flexslider .slides {
    overflow: hidden;
}

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

.flexslider .slides img {
    width: 100%;
    max-width: 100%;
    display: block;
}

.flexslider .slides .video-shortcode {
    margin-bottom: 0;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

.flexslider .slides:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .flexslider .slides {
    display: block;
}

* html .flexslider .slides {
    height: 1%;
}

.flexslider .slides,
.flex-control-nav,
.flex-direction-nav {
    z-index: 2;
}

.flexslider {
    margin: 0 0 60px;
    background-color: transparent;
    position: relative;
}
.tab-content .flexslider{
    margin-bottom: 0;
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    transition: all 1s ease;
    margin-bottom: 7px;
}

.loading .flex-viewport {
    max-height: 300px;
}

.carousel li {
    margin-right: 5px;
}

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

.flex-direction-nav a {
    z-index: 100;
    width: 40px;
    line-height: 45px;
    text-align: center;
    font-size: 23px;
    font-weight: bold;
    -webkit-font-smoothing: none;
    color: #fff;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
    font-family: IcoMoon;
    -webkit-border-radius: 3px 0 0 3px;
    -moz-border-radius: 3px 0 0 3px;
    -border-radius: 3px 0 0 3px;
    border-radius: 3px 0 0 3px;
    height: 45px;
    margin: -20px 0 0;
    position: absolute;
    top: 50%;
    cursor: pointer;
    opacity: 0;
    -webkit-transition: all .3s ease;
    overflow: hidden;
}

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

.no-opacity .flexslider:hover .flex-direction-nav a {
    display: block;
}

.flex-direction-nav .flex-next {
    right: 0;
    text-indent: 2px;
}

.flex-direction-nav .flex-prev {
    left: 0;
    text-indent: -2px;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    -border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
}

.no-rgba .flex-direction-nav .flex-next,
.no-rgba .flex-direction-nav .flex-prev {
    background-color: #000;
}

.flexslider:hover .flex-next {
    opacity: 0.8;
    right: 0px;
}

.flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 0px;
}

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

.t4press-flexslider:hover .flex-next {
    opacity: 0.8;
    right: 0px;
}

.t4press-flexslider:hover .flex-prev {
    opacity: 0.8;
    left: 0px;
}

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

.flex-direction-nav .flex-disabled {
    opacity: 0;
    cursor: default;
    display: none;
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: 0px;
    text-align: center;
}

.flexslider ul li {
    margin: 0;
}

.flex-control-nav li {
    margin: 0 3px;
    display: inline-block;
}

.flex-control-paging li a {
    width: 11px;
    height: 11px;
    display: block;
    background: #666;
    background: rgba(0, 0, 0, 0.05);
    cursor: pointer;
    text-indent: -9999px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.3);
}

.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.4);
    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%;
    display: block;
    opacity: .7;
    cursor: pointer;
}

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

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

.flex-caption {
    position: absolute;
    background: rgba(0, 0, 0, 0.6);
    width: 96%;
    padding: 2%;
    color: #fff;
    left: 0;
    bottom: 0;
    margin: 0;
}

.no-rgba .flex-caption {
    background-color: #000;
}

.main-flex {
    margin-bottom: 0;
}

@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        opacity: 1;
        left: 0;
    }
    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 0;
    }
}