img:hover {
  z-index: 100000000;
  transform: scale(1.1);
  transition: transform 1s, visibility 1s ease-in;
}

.float-panel {
  width: 100%;
  background: white;
  z-index: 300;
  padding: 30px 0;
  transform: translateZ(0);
  transition: all 0.5s;
}

.float-panel .content-area {
  margin: 10px auto;
}

.float-panel a {
  font-size: 16px;
  text-decoration: none;
  color: #444;
  display: inline-block;
  padding: 10px 20px;
}

.float-panel .fa-gg {
  color: #f0595c;
  font-size: 30px;
  vertical-align: middle;
  transition: all 1s;
}

/* when class="float-panel fixed" */
.fixed {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  padding: 4px 0;
  animation: slide-down 0.7s;
  opacity: 0.9;
}

.fixed .fa-gg {
  transform: rotate(360deg);
}

@keyframes slide-down {
  0% {
    opacity: 0;
    transform: translateY(-100%);
  }

  100% {
    opacity: 0.9;
    transform: translateY(0);
  }
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/*-------- Generic styles for the page ------------------*/

#rig {
  max-width: 900px;
  margin: 0 auto;
  /*center aligned*/
  padding: 0;
  font-size: 0;
  /* Remember to change it back to normal font size if have captions */
  list-style: none;
  background-color: none;
}

#rig li {
  display: inline-block;
  *display: inline;
  /*for IE6 - IE7*/
  width: 25%;
  vertical-align: middle;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* The wrapper for each item */
.rig-cell {
  margin: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  padding: 16px;
  border: none;
  color: #555;
  background-color: white;
  text-decoration: none;
  text-align: center;
  display: block;
  position: relative;
  overflow: hidden;
}

.rig-cell h3 {
  font-size: 18px;
  font-family: "Oswald", sans-serif;
  font-weight: normal;
}

/* If have the image layer */
.rig-img {
  display: block;
  border: none;

  position: relative;
}

.rig-img:after {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 1px solid #fff;
  content: "+";
  color: white;
  padding-top: 14%;
  font-size: 30px;
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.3s;
  transform: scale(0);
}

#rig div:hover .rig-img:after {
  opacity: 1;
  transform: scale(1);
}

/* If have the overlay layer */
.rig-overlay {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  background: white;
  background-size: 50px 50px;
  opacity: 0;
  filter: alpha(opacity=0);
  /*For older IE*/
  transition: all 0.3s;
}

#rig li:hover .rig-overlay {
  opacity: 0.5;
}

/* BEGIN--modify from js file */

.select2-container .select2-selection--multiple .select2-selection__choice {
  background-color: #991b1b;
  border: none;
  color: #fff;
  border-radius: 3px;
  padding: 0 7px;
  margin-top: 6px;
}

.select2-container .select2-selection--multiple {
  border: 1px solid #991b1b !important;
  border-left: none !important;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #991b1b !important;
  color: white;
}

.round {
  border: 1px solid #991b1b !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
}

.card-header h5 {
  font-weight: 600;
}

h6.text-muted {
  font-weight: 600;
  color: #444 !important;
}

.feather-spinner {
  animation: spin 1s linear infinite;
  width: 48px;
  height: 48px;
  stroke: gray; /* Bootstrap red */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* END--modify from js file */

@media (max-width: 9000px) {
  #rig li {
    width: 25%;
  }
}

@media (max-width: 800px) {
  #rig li {
    width: 33.33%;
  }
}

@media (max-width: 500px) {
  #rig li {
    width: 50%;
  }
}

@media (max-width: 350px) {
  #rig li {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .category-filters {
    display: none;
  }
}
