.flex-container a:hover,
.flex-slider a:hover,
.flex-container a:focus,
.flex-slider a:focus {
  outline: none;
}
.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}
#main {
    margin: 23px auto;
    width: 55%;
}
ol, ul {
    list-style: outside none none;
}
.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;
}
.flexslider {
   /* margin: 0 0 60px;*/
    margin-bottom: 5px;
    position: relative;
    zoom: 1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    -o-box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
    box-shadow: '' 0 1px 4px rgba(0, 0, 0, 0.2);
}
.flexslider .slides {
    zoom: 1;
}
/*.flexslider ul.slides {
    margin-left: -40px;
}*/
.flexslider .slides img {
     height: auto;
}
.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;
}
/*#carousel li {
    margin-right: 10px;
}*/
#carousel img {
    display: block;
    opacity: .5;
    cursor: pointer;
    height: 68px;
   
}
#carousel img:hover {
    opacity: 1;
}
#carousel .flex-active-slide img {
    opacity: 1;
    cursor: default;
}
/*#carousel li {
    width:82px !important;
}*/
.flex-direction-nav {
    *height: 0;
}
/*.flex-direction-nav a {
  text-decoration: none;
  text-indent:  5000px;
  display: block;
  width: 130px;
  height: 100%;
  margin: 10px 0 0;
  position: absolute;
  top: 0;
  z-index: 10;
  background-color:   red;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.8);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
  -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 {
    color: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    display: block;
    height: 50px;
    margin: -23px 0 0;
    opacity: 1;
    overflow: hidden;
    position: absolute;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
    top: 50%;
    transition: all 0.3s ease-in-out 0s;
    width: 40px;
    z-index: 10;
}
.flex-direction-nav a:before {
    content: "\f053";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    /*--adjust as necessary--*/
    
    color: rgba(0, 0, 0, 0.8);
    font-size: 40px;
    display: inline-block;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}
.flex-direction-nav a.flex-next:before {
    content: '\f054';
}
.flex-direction-nav .flex-prev {
    left: -40px;
}
.flex-direction-nav .flex-next {
    right: -50px;
}
.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
   /* left: 10px;*/
}
.flexslider:hover .flex-direction-nav .flex-prev:hover {
    opacity: 1;
}
.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
 /*   right: 10px;*/
}
.flexslider:hover .flex-direction-nav .flex-next:hover {
    opacity: 1;
}
@media screen and (max-width: 860px) {
    .flex-direction-nav .flex-prev {
        left: 10px;
        opacity: 1;
    }
    .flex-direction-nav .flex-next {
        opacity: 1;
        right: 10px;
    }
}
@media screen and (max-width: 767px) {
    #main {
        margin-top: -17px;
    }
}
