.ui-autocomplete-category {
  font-weight: bold;
  padding: .2em .4em;
  margin: .8em 0 .2em;
  line-height: 1.5;
  font-size: 14px;
}

.page{
  padding-top: 0;
  width: 100%;
  max-width: 1800px;
  margin: 25px auto;
}

.sorting_menu {
  position: absolute;
  font-size: 1.4em;
  display: none;
  color: #FFF;
  line-height: 1.87;
  background: none repeat scroll 0% 0% #C0392B;
  font-weight: 700;
  padding: 0px 15px;
  border-bottom: 3px solid #000;
  border-right: 2px solid #000;
  border-radius: 6px;
  top: 30px;
  right: 10px;
  z-index: 999;
  width: 90px;
  text-align: left;
}
 

.sortimg_block {
  float: right;
}

.pagination{
  margin-top: 70px;
  margin-bottom: 80px;
  font-size: 1.5em;
  text-align: center;
  line-height: 2.5;
}

.pagination a{
  color: black;
  text-decoration: none;
}

.pagination a:hover{
  text-decoration: underline;
}
.pagination .previous{
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -196px -55px;
  width: 26px;
  height: 30px;
  display: inline-block;
}

.pagination .next{
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -220px -55px;
  width: 26px;
  height: 30px;
  display: inline-block;
}

.movies li{
    float: left;
    margin: 0px 0px 25px 1.7%;
    width: 14.9%;
}

.scenes-container .li-dvd  .li-dvd-div-item{
  position: relative;
  height: 370px;
}

.movies a{
    border: 2px solid #3E3E3E;
    display: block;
}

.movies a:hover{
    border: 2px solid #FF0E00
}

.movies li a img{
  width: 100%;
  height: 100%;
}

.scenes-container .li-scene  .li-dvd-div-item{
  position: relative;
  height: 120px;
}

.scenes li a img{
  vertical-align: middle;
  width: 100%;
  height: 100%;
}

.studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 18.3%;
    max-height: 361px;
}

.studios a{
    border: 2px solid #3E3E3E;
    display: block;
}

.studios a:hover 
{
	border: 2px solid #FF0E00	
}

.studios li img {
  max-height: 125px;
  min-height: 125px;
}

.scenes li .scene_title {
  padding-top: 5px;
  font-weight: bold;
  color: #000000;
  font-size: 1.5em;
  width: 100%;
  height: 19px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap
}  

.sorting_menu li a {
  color: #fff;
}
.sorting_menu li:hover a {
  color: #262523;
}

.sorting_menu li:active a {
  color: #000000;
}

/*
 * CATEGORIES FILTER STYLES
 */
#header_scenes #category_filters{
  display: none;
}
#category_filters_mobile{
  display: block;
}
  

.header-categories-nav-mobile{
  display: none;  
}


@media only screen and (min-width: 1101px) and (max-width: 1500px) {
  /*
   * CATEGORIES FILTER STYLES
   */
  #header_scenes #category_filters{
    display: none;
  }
  #category_filters_mobile{
    display: block;
  }

  .header-categories-nav-mobile{
    display: none;  
  }
  
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 18.3%;
    max-height: 361px;
  }

}

@media only screen and (min-width: 1024px) and (max-width: 1100px) {
  /*
   * CATEGORIES FILTER STYLES
   */
  #header_scenes #category_filters{
    display: none;
  }
  #category_filters_mobile{
    display: block;
  }

  .add_category_filter .check_filter{
    display: none;
  }
  
  .add_category_filter .check_filter_mobile{
    display: inline-block;
    margin-left: 0px;
    font-size: 12px;
  }
  
  .add_category_filter .check_filter_mobile input[type='checkbox']{
    width: auto;
    height: auto;
  }  

  .header-categories-nav-mobile{
    display: none;  
  }
  
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 18.3%;
    max-height: 361px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  /*
   * CATEGORIES FILTER STYLES
   */
  #header_scenes #category_filters{
    display: none;
  }
  #category_filters_mobile{
    display: block;
  }
  
  .add_category_filter {
    float: left;
    padding-right: 1%;
    margin-top: 7px;
    width: 60%;
    text-align: left;
  }  
  
  .add_category_filter .check_filter{
    display: none;
  }
  
  .add_category_filter .check_filter_mobile{
    display: inline-block;
    margin-left: 0px;
    font-size: 12px;
  }
  
  .add_category_filter .check_filter_mobile input[type='checkbox']{
    width: auto;
    height: auto;
  }  
  
  .header-categories-nav-mobile{
    display: none;  
  }
  
  .by-name {display: none;}

  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 18.3%;
    max-height: 361px;
  }
}

@media only screen and (min-width: 601px) and (max-width: 768px) {
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 47.3%;
    max-height: 361px;
  }

}



@media only screen and (min-width: 1500px) and (max-width: 1800px) {
  /*
   * MOVIES
   */
  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 119px;
  }  
}

@media only screen and (min-width: 1200px) and (max-width: 1500px) {
  /*
   * MOVIES
   */
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 18.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 18.3%;
    height: 176px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 122px;
  }  
}

@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 300px;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 18.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 23.3%;
    height: 176px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 132px;
  }  
}  

@media only screen and (min-width: 969px) and (max-width: 1024px) {
  /*
   * MOVIES
   */
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 23.3%;
  }
  
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 300px;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 23.3%;
    height: 155px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 121px;
  }  
}

@media only screen and (min-width: 869px) and (max-width: 968px) {
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 300px;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 23.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 23.3%;
    height: 150px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 100%;
  }  
}

@media only screen and (min-width: 769px) and (max-width: 868px) {
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 270px;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 23.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 31.3%;
    height: 175px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 128px;
  } 
  
  /*
   * STUDIOS
   */
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 23.3%;
    max-height: 361px;
  }

}

@media only screen and (min-width: 701px) and (max-width: 768px) {
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 300px;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 31.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 31.3%;
    height: 155px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 100%;
  }  
  
  /*
   * STUDIOS
   */
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 23.3%;
    max-height: 361px;
  }
    
}
@media only screen and (min-width: 602px) and (max-width: 700px) {
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: 300px;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 31.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 1.7%;
    width: 31.3%;
    height: 140px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 100%;
  }  
  
  /*
   * STUDIOS
   */
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 31.3%;
    max-height: 361px;
  }
  
}

@media only screen and (min-width: 451px) and (max-width: 601px){
    
  /*
   * MOVIES
   */
  .movies li{
    float: left;
    margin: 0px 0px 30px 1.7%;
    width: 48.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
  }
  
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 5.7%;
    width: 43.3%;
    height: 178px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 150px;
  }
  
  /*
   * STUDIOS
   */
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 31.3%;
    max-height: 361px;
  }
  
  .studios li img {
    max-height: 125px;
    min-height: 125px;
  }
}

@media only screen and (min-width: 220px) and (max-width: 450px){
  /*
   * MOVIES
   */
  .scenes-container .li-dvd  .li-dvd-div-item{
    position: relative;
    height: auto;
  }
  
  .movies li{
    float: left;
    margin: 0px 0px 40px 1.7%;
    width: 99.3%;
  }

  .movies li a img{
    width: 100%;
    min-height: 30px;
    max-height: 484px;
  }
  
  /*
   * STUDIOS
   */
  .studios li{
    float: left;
    margin: 0px 0px 15px 1.7%;
    width: 47.3%;
    max-height: 361px;
  }
  
  .studios li img {
    max-height: 125px;
    min-height: 125px;
  }
}

@media only screen and (min-width: 361px) and (max-width: 450px){
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 5.7%;
    width: 43.3%;
    height: 140px
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    width: 100%;
    min-height: 30px;
    max-height: 150px;
  }
}

@media only screen and (min-width: 220px) and (max-width: 360px){
  /*
   * SCENES
   */
  .scenes li{
    float: left;
    margin: 0px 0px 20px 19.7%;
    width: 65.3%;
    height: 180px;
  }
  .scenes li .scene_title {
    padding-top: 5px;
    font-weight: bold;
    color: #000000;
    font-size: 1.5em;
  }
  .scenes li a img{
    min-height: 30px;
    max-height: 150px;
    max-width: 225px;
  }

}

/*
 * CATEGORIES MENU RESPONSIVES
 */
@media only screen and (min-width: 632px) and (max-width: 768px) {
  .scenes-header .access-all.btn {
    margin: 10px 0;
  }
  
  .scenes-header .add_category_filter {
    float: left;
    width: auto;
    text-align: left;
    margin-top: 0px;
    width: 60%;
    padding-left: 10px;
  }
  
  .scenes-header .btn {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    margin: 0 auto;
  }
  
  .scenes-header .add_category_filter .btn label{
    display: none;
  }
  .add_category_filter .check_filter{
    display: none;
  }
  .add_category_filter .check_filter_mobile{
    display: inline-block;
    width: 120px;
    margin-left: 0px;
  }

  .header-categories-nav-mobile li.included {
    color: #5bb311;
  }
  .header-categories-nav-mobile li.excluded {
    color: #f12510;
  }
  .scenes-header .add_category_filter .btn{
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: 20px;
    height: 25px;
    margin: auto;
  }
  
  .scenes-header .btn.sortby {
    float: right;
    display: block;
    text-align: left;
    padding: 5px 10px;
    margin: 0 auto;  
  }
  
  .scenes-header .btn.bg-filter-button {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: auto;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #header_scenes #category_filters{
    display: none;
  }
  #category_filters_mobile{
    display: block;
  }
  
  .header-categories-nav-mobile{
    display: block;  
  }
  
  .header-categories {
    background: black;
    color: white;
  }
  
  .header-categories-nav{
    display: none;  
  }
  
  .header-categories-nav-mobile ul {
    float: left;
    text-align: left;
    padding: 0 10px;
  }

  .header-categories-nav-mobile li {
    font-size: 1.8em;
    padding: 5px 10px;
  }
  
  .header-categories-nav-mobile li input[type='checkbox'] {
    width:20px;
    height:20px;
    background:white;
    border-radius:5px;
    border:2px solid #555;
  }    

  .by-name {display: none;}
}


@media only screen and (min-width: 391px) and (max-width: 631px) {
  /*
   * MENU CATEGORIES STYKES
   */
  .scenes-header .access-all.btn {
    margin: 10px 0;
  }
  .scenes-header .btn {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    margin: 0 auto;
  }

  .scenes-header .add_category_filter {
    float: left;
    margin: 0 auto;
    text-align: left;
    padding-left: 2px;
    width: 45%;
  }

  .scenes-header .add_category_filter .btn{
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: 20px;
    height: 25px;
    margin: auto;
  }

  .scenes-header .add_category_filter .btn label{
    display: none;
  }
  
  .add_category_filter .check_filter{
    display: none;
  }
  .add_category_filter .check_filter_mobile{
    display: inline-block;
    margin-left: 0px;
  }
  

  .scenes-header .btn.sortby {
    float: right;
    display: block;
    text-align: left;
    padding: 5px 10px;
    margin: 0 auto;  
  }

  .scenes-header .btn.bg-filter-button {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: auto;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #header_scenes #category_filters{
    display: none;
  }
  #category_filters_mobile{
    display: block;
  }
  
  .header-categories-nav-mobile{
    display: block;  
  }
  
  .header-categories {
    background: black;
    color: white;
  }
  
  .header-categories-nav{
    display: none;  
  }
  
  .header-categories-nav-mobile ul {
    float: left;
    text-align: left;
    padding: 0 10px;
  }

  .header-categories-nav-mobile li {
    font-size: 1.8em;
    padding: 5px 10px;
  }
  .header-categories-nav-mobile li.included {
    color: #5bb311;
  }
  .header-categories-nav-mobile li.excluded {
    color: #f12510;
  }  
  
  .header-categories-nav-mobile li input[type='checkbox'] {
    width:20px;
    height:20px;
    background:white;
    border-radius:5px;
    border:2px solid #555;
  }  
    
  .by-name {display: none;}
}

@media only screen and (min-width: 220px) and (max-width: 540px) {
  .scenes-header .access-all.btn {
    margin: 10px 0;
  }
  .scenes-header .btn {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: 20px;
    height: 25px;
    margin: 0 auto;
  }

  .scenes-header .add_category_filter {
    float: left;
    padding-left: 5px;
    width: 60%;
    margin: 0 auto;
    text-align: left;
  }

  .add_category_filter .check_filter_mobile{
    display: inline-block;
    margin-left: 0px;
  }

  .scenes-header .add_category_filter .btn{
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: 20px;
    height: 25px;
    margin: auto;
  }
  
  .scenes-header .add_category_filter .btn label{
    display: none;
  }

  .add_category_filter .check_filter{
    display: none;
  }
  .add_category_filter .check_filter_mobile{
    display: inline-block;
    margin-left: 0px;
  }

  .scenes-header .btn.sortby {
    float: right;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: 20px;
    height: 25px;
    margin: 0 auto;  
  }

  .scenes-header .btn.bg-filter-button {
    float: left;
    display: block;
    text-align: left;
    padding: 5px 10px;
    width: auto;
    height: 25px;
    margin-left: auto;
    margin-right: auto;
  }
  
  #category_filters{
    display: block;
  }
  #category_filters_mobile{
    display: block;
  }
  
  .header-categories-nav-mobile{
    display: block;  
  }
  
  .scenes-header .btn label, .scenes-header .btn.sortby label{
    display: none;
  }
  
  .header-categories {
    background: black;
    color: white;
  }
  
  .header-categories-nav{
    display: none;  
  }
  
  .header-categories-nav-mobile ul {
    float: left;
    text-align: left;
    padding: 0 10px;
  }

  .header-categories-nav-mobile li {
    font-size: 1.8em;
    padding: 5px 10px;
  }
  .header-categories-nav-mobile li.included {
    color: #5bb311;
  }
  .header-categories-nav-mobile li.excluded {
    color: #f12510;
  }  
  .header-categories-nav-mobile li input[type='checkbox'] {
    width:20px;
    height:20px;
    background:white;
    border-radius:5px;
    border:2px solid #555;
  }  
}

@media only screen and (min-width: 431px) and (max-width: 540px) {
  .scenes-header .add_category_filter {
    width: 75%;
  }
}

@media only screen and (min-width: 220px) and (max-width: 430px) {
  .scenes-header .add_category_filter {
    width: 60%;
  }
}
