// Core variables and mixins
@import "variables.less"; // Custom for this template
@import "../../../media/jui/less/mixins.less";

.mod_caroufredsel{
  margin-top: -55px;
  overflow: hidden;
}

.caroufredsel_wrapper{
  cursor: auto !important;
}

.list_carousel {
  padding-bottom: 30px;
  padding-top: 63px;
  width: auto;
  position: relative;
  margin: 0 0 0 -@gridGutterWidth1200;
  ul {
    margin: 0;
    padding: 0;
    list-style: none;
    li {
      padding: 0 0 0 @gridGutterWidth1200;
      margin: 0;
      display: block;
      float: left;
      .item_img{
        margin-bottom: 0;
      }
      .item_title{
        font-size: 14px;
        font-weight: 600;
        background: #373736;
        color: #f4f2ef;
        padding: 22px 10px 18px 10px;
        text-align: center;
        a{
          color: #fff;

          &:hover{
            color: @globalColor;
          }
        }
      }
    }
  }
} 

@media (max-width: 1200px) {
  .list_carousel {
    margin: 0 0 0 -@gridGutterWidth;
    ul {
      li {
        padding: 0 0 0 @gridGutterWidth;
      }
    }
  }
}

@media (max-width: 979px) {
  .list_carousel {
    margin: 0 0 0 -@gridGutterWidth768;
    ul {
      li {
        padding: 0 0 0 @gridGutterWidth768;
      }
    }
  }
}

.clearfix {
  float: none;
  clear: both;
}

/*Navigation*/

.caroufredsel_prev,
.caroufredsel_next{
  cursor: pointer;
  position: absolute;
  top: 5%;
  display: block;
  text-align: center;
  color: #72523f;
  font-size: 14px;
  .transition(all 0.5s ease);
  opacity: .5;
  &:hover{
    color: @globalColor;
  }
}

.caroufredsel_prev{
  right: 22px;
}

.caroufredsel_next{
  right: 0;
}

/*Pagination*/

.caroufredsel_pagination{
  text-align: center;
  a{
    display: inline-block;
    padding: 0 0.5em;
  }
}
