/* front page slides */
.slides {
  background: #000;
  border: #fff solid;
  border-width: 1px 0;
}

.slides>li.bg-film {
  background: url('../images/bg-film.png') repeat-x;
  display: block;
  height: 18px;
  clear: both;
}

.slides>li>a>div.title {
  text-align: center;
}

.slides>li>a>div.title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 0 10px;
}

.slides>li.sticky>a>div.title:before {
  font-family: "FontAwesome";
  display: inline-block;
  content: "\f08d";
  margin-right: 5px;
}

.flexslider {
  top: 0;
  opacity: 1;
  overflow: hidden;
  position: relative;
  -webkit-transition: all 1s ease-out .5s;
}

.slides, .slides>li, .flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}
.slides>li img {
  margin: 0 4px;
  border: #fff 1px solid;
  border-radius: 3px;
  width: 256px;
  height: 144px;
}
.slides>li:last-child:after {
  clear: both;
}

.flex-direction-nav .flex-prev {
  left: -50px;
}
.flex-direction-nav .flex-next {
    right: -50px;
    text-align: right;
}
.flex-direction-nav a {
    background: #fff;
    padding: 8px 13px;
    text-decoration: none;
    display: block;
    width: 40px;
    height: 40px;
    margin: -35px 0 0;
    position: absolute;
    top: 50%;
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
    color: #555;
    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:before {
    font-family: "FontAwesome";
    font-size: 40px;
    display: inline-block;
    content: '\f104';
    text-shadow: 1px 1px 0 rgba(255,255,255,0.3);
}
.flex-direction-nav a.flex-next:before {
    content: '\f105';
}
.flexslider:hover .flex-direction-nav .flex-prev {
    opacity: 0.7;
    filter: alpha(opacity=70);
    color: #222;
    left: 0;
}
.flexslider:hover .flex-direction-nav .flex-next {
    opacity: 0.7;
    filter: alpha(opacity=70);
    color: #222;
    right: 0;
}

small a.btn {
  margin-left: 20px;
  padding: 2px 6px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  color: #333;
  background-color: #fff;
  border: #ccc 1px solid;
}

small a.btn:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
  text-decoration: none;
}

/* front page services */
.bordered-box {
  padding: 20px 0;
  text-align: center;
  /*-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);*/
}
.dark .bordered-box {
  -webkit-box-shadow: 0px 1px 3px rgba(255,255,255,0.2);
}

.bordered-box:hover{
  background: rgba(128,128,128,0.1);
}

.bordered-box .title {
  margin-top: 18px;
  font-size: 20px;
}