.flex-direction-nav a,
.flex-direction-nav a:before {
    color: rgba(0, 0, 0, .8);
    text-shadow: 1px 1px 0 rgba(255, 255, 255, .3)
}

@font-face {
    font-family: flexslider-icon;
    src: url(fonts/flexslider-icon.eot);
    src: url(fonts/flexslider-icon.eot?#iefix) format('embedded-opentype'), url(fonts/flexslider-icon.woff) format('woff'), url(fonts/flexslider-icon.ttf) format('truetype'), url(fonts/flexslider-icon.svg#flexslider-icon) format('svg');
    font-weight: 400;
    font-style: normal
}

.flex-container a:hover,
.flex-slider a:hover {
    outline: 0
}

.flex-control-nav,
.flex-direction-nav,
.slides,
.slides>li {
    margin: 0;
    padding: 0;
    list-style: none !important;
}

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

.flexslider {
    padding: 0;
    margin: 0px 0 0 0;
    background: 0 0;
    
    position: relative;
	width: 100%;
    zoom: 1;
	 
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0
}

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

.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
}

.flexslider .slides {
    zoom: 1
}

.flexslider .slides img {
   max-width: 100%;
    display: block;
    height: auto;
    -moz-user-select: none
}

.flex-viewport {
    max-height: 2000px;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -ms-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease
}

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

.carousel li {
    margin-right: 5px
}

.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 65px;
    height: 65px;
    margin: 0;
    position: absolute;
    top: 45%;
    z-index: 10;
    overflow: hidden;
    opacity: 1;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    outline: 0;
    text-indent: -9999px;
    border: 0 solid #000
}

.flex-direction-nav a:before {
    display: inline-block; 
    background: url("../../img/gallery/prev.png") no-repeat;
	background-size: 100%;
}

.flex-direction-nav .flex-prev {
    left: -80px;
    background: url("../../img/gallery/prev.png") no-repeat;
	background-size: 100%;
}

.flex-direction-nav .flex-next {
    right: -80px;
    background: url("../../img/gallery/next.png") no-repeat;
	background-size: 100%;
}

 
#homeplan  .flex-direction-nav .flex-prev {
    left: 10px; 
}

#homeplan  .flex-direction-nav .flex-next {
   right: 10px;
    
	background-size: 100%;
}


 

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

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

.flexslider:hover .flex-direction-nav .flex-next {
    opacity: .7;
}

.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: 10px;
    opacity: .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%; z-index: 20;
    border: 0 solid #000;
    position: absolute;
    bottom: 80px;
    text-align: center; 
}

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

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

.flex-control-paging li a:hover {
   opacity: 0.6;
}

.flex-control-paging li a.flex-active {
    background: #DCB05D;
    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%;
    height: auto;
    display: block;
    opacity: .7;
    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
}

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

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

.slider {
    margin: 0 0 10px
}

#carousel li {
    margin-right: 5px
}

#carousel img {
    display: block;
     
    cursor: pointer;
    border: 0px solid #fff;
	max-width: 90%;
}

#carousel img:hover {
    opacity: 1
}

#carousel .flex-active-slide img {
    opacity: 1;
    cursor: default;
    border: 0px solid #ccc
}

#carousel .flex-direction-nav a {
	width: 32px;
    height: 32px;
	top: 45%;
}

/*#carousel .flex-direction-nav a:before {
    display: inline-block;
    background: url("../../img/home/gallery-back.png") no-repeat
}

#carousel .flex-direction-nav .flex-prev {
    left: -40px;
     background: url(../../img/home/gallery-back.png) no-repeat
}

#carousel .flex-direction-nav .flex-next {
    right: -40px;
    background: url("../../img/home/gallery-next.png") no-repeat
}
 */

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


@media screen and (max-width:50em) {

.flexslider {
   
}


.flex-control-nav {
    width: 100%; z-index: 20;
    border: 0 solid #000;
    position: absolute;
    bottom: 20px;
    text-align: center; 
}
	
	
.flex-direction-nav a {
    text-decoration: none;
    display: block;
    width: 44px;
    height: 44px;
    margin: 0;
    position: absolute;
    top: 50%;
    z-index: 10;
	border: 0px #000 solid;
}

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

.flex-direction-nav .flex-prev {
    left: 30px; background-size: 44px;
     
}

.flex-direction-nav .flex-next {
    right:30px; background-size: 44px;
}

 

#carousel .flex-direction-nav .flex-prev {
    left: -40px; z-index: 99;
     background: url("../../img/gallery/prev.png") no-repeat;
    background-size: 100%; 
}

#carousel .flex-direction-nav .flex-next {
    right: -40px; z-index: 99;
    background: url("../../img/gallery/next.png") no-repeat;
    background-size: 100%; 
}
	

}
