.header-categories {
  background: #c1392b;
  width: 100%;
  height: auto;
  display:inline-block;
  padding-top: 5px;
  padding-bottom: 5px;
  z-index: 99;
  overflow: hidden;
}
.categories-nav {
  width: 100%;
  text-align: center;
}
.logout{
  float: right;
}
.header-categories-nav {
  display: inline-block;
  padding: 5px 0 0;
}

.header-categories-nav ul {
  float: left;
  text-align: left;
  padding: 0 10px;
}

.header-categories-nav li {
  font-size: 1.5em;
  padding: 5px 10px;
}
.header-categories-nav li.included {
  color: #5bb311;
}
.header-categories-nav li.excluded {
  color: #f12510;
}
.header-categories-nav li a {
  color: #fff;
}
.header-categories-nav li:hover a {
  color: #262523;
}

.header-categories-nav li a:active {
  color: #000000;
}

.header-categories-nav-active {
  color: #000000;
}
/******************************************** GALLERY ***********************************************************/
#categoriesGallery{
  padding-top: 0px;
  padding-left: 1%;
  padding-right: 1%;
}

.gallery {
  overflow: hidden;
}

.galleryItemCategory {
  color: #797478;
  float: left;
  width: 13%;
  display: block;
  margin: 0px 0px 15px 0.7%;
  position: relative;
  max-height: 352px;
}
.galleryItemCategory a {
  border: 2px solid #333;
  display: block;
}
.galleryItemCategory a:hover {
  border: 2px solid #FF0E00
}

.galleryItemCategory:hover .title{
  display: none;
}

.galleryItemCategory:hover .description{
  display: block;
} 
.galleryItemCategory img {
  max-height: 100%;
  display: block;
}

.galleryItemCategory .title{
  position: absolute;
  color: #FFFFFF;
  font-weight: bold;
  text-align: center;
  bottom: 0;
  background-color: #000000;
  opacity: 0.6;
  width: 100%;
  height: 30px;
  font-size: 1.5em;
  padding: 10px 0 0 0; 
}

.galleryItemCategory .description{
  position: absolute;
  color: #FFFFFF;
  bottom: 0;
  background-color: #000000;
  opacity: 0.6;
  width: 94%;
  height: 30px;
  font-size: 1.1em;
  padding: 3%; 
  font-weight: bold;
  display: none;
}

#categoriesResult{
  width: auto;
  position: relative;
  display: hidden;
  overflow: hidden;
}

.add_category_filter {
  float: left;
  padding-right: 1%;
  margin-top: 7px;
  width: 60%;
  text-align: left;
}
.add_category_filter .btn.include {
  background-color: #5bb311;
}
.add_category_filter .btn.include  label{
  cursor:pointer;
}
.add_category_filter .btn.include:hover {
  background-color: #78c936;
}
.add_category_filter .btn.include i {
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -128px 2px;
  width: 20px;
  display: inline-block;
}
.add_category_filter .btn i {
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -90px -25px;
  width: 20px;
  display: inline-block;
}
.add_category_filter .btn.clear i {
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -116px -24px;
  width: 20px;
  display: inline-block;
}

.add_category_filter .check_filter {
  background-color: #d3d3d3;
  height: 25px;
  display: inline-block;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 10px 2px 5px;
  margin-left: 10px
}

.add_category_filter .check_filter_mobile {
  background-color: #d3d3d3;
  height: 25px;
  display: inline-block;
  font-size: 1.5em;
  font-weight: bold;
  padding: 2px 10px 2px 5px;
  margin-left: 10px;
  display: none;
  width: 140px;
}

.add_category_filter .check_filter_mobile input[type='checkbox']{
  width: 20px;
  height: 15px;
  background: white;
  border-radius: 5px;
  border: 2px solid #555;
}

.menu-categories{
  width: 100%;
  height: 220px;
  overflow: hidden;
  overflow-y: scroll;
  position: relative;
  display: none;
}

.filter_button {
  float: left;
  padding-right: 1px;
  width: auto;
  margin-top: 8px;
  text-align: left;
}

.filter_button .btn.exclude{
  width: auto;
}
.filter_button .btn.include{
  background-color: #5bb311;
  width: auto;

}
.filter_button .btn.include:hover{
  background-color: #78c936;
}
.filter_button .btn.include i {
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -113px -24px;
  display: inline-block;
}

.filter_button .btn i {
  background: url(../res/sprite-v1.png) left top no-repeat;
  background-position: -113px -24px;
  display: inline-block;
}

.categories_result{
  display: none;
}

/*
 * SMALL
 */
@media only screen and (min-width: 800px) and (max-width: 1500px) {
  #categoriesGallery{
    padding-top: 0px;
    padding-left: 1%;
    padding-right: 1%;
  }
  
  .galleryItemCategory {
    color: #797478;
    float: left;
    width: 23%;
    display: block;
    margin: 0px 0px 15px 1.7%;
    position: relative;
    max-height: 352px;
  }
}

@media only screen and (min-width: 360px) and (max-width: 800px) {
  #categoriesGallery{
    padding: 0;
    margin: 0px 10px;
    display: inline-block;
  }
  
  .galleryItemCategory {
    color: #797478;
    float: left;
    width: 31%;
    display: block;
    margin: 0px 0px 15px 1.7%;
    position: relative;
    max-height: 350px;
  }  
}

@media only screen and (min-width: 220px) and (max-width: 360px) {
  #categoriesGallery{
    padding: 0;
    margin: 0px 25px;
    display: inline-block;
  }
  
  .galleryItemCategory {
    color: #797478;
    float: none;
    width: 97%;
    display: block;
    margin: 0px 0px 15px 1.7%;
    position: relative;
    max-height: 350px;
  }
}  
