.gridder {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-align: center;
}

.gridder-list {
  display: inline-block;
  vertical-align: top;
}

.gridder-show {
  display: block;
  float: left;
  width: 100%;
  position: relative;
  background: #100040 url("https://www.tviosolutions.com/wp-content/themes/benten/css/images/loading-spin.svg") no-repeat center;
  color: white;
  text-align: justify;
}

.gridder-show.loading {
  background: #EEE url("https://www.tviosolutions.com/wp-content/themes/benten/css/images/loading-spin.svg") no-repeat center;
}

.gridder-show .h3 {
  color: white;
}

.hasSelectedItem .gridder-list.selectedItem::after {
  display: block;
  position: absolute;
  margin-left: 18px;
  width: 0;
  height: 0;
  content: '';
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
  border-bottom-color: #100040;
  border-bottom-width: 25px;
  margin-top: 20px;
}

.gridder-content {
  display: none;
}

.gridder-list {
  width: 21%;
}

.gridder-list:nth-child(n) {
  margin-bottom: 0;
  margin-right: 4%;
}

.gridder-list:nth-of-type(4n) {
  margin-right: 0;
  margin-bottom: 0;
}

/* */
.gridder-show {
  padding: 20px 40px;
  background: #100040;
  margin-bottom: 1%;
}

.gridder-navigation .gridder-nav.disabled {
  opacity: .5;
}

.gridder-list {
  cursor: pointer;
}

.gridder-list:hover {
  opacity: .9;
}

.hasSelectedItem .gridder-list {
  opacity: .5;
}

.hasSelectedItem .gridder-list.selectedItem {
  opacity: 1;
}

.gallery-contents {
  position: relative;
}

.gallery-contents:after {
  display: block;
  position: absolute;
  bottom: -30px;
  left: 20%;
  margin-left: -30px;
  width: 0;
  height: 0;
  content: '';
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom-style: solid;
  border-bottom-width: 0px;
  -webkit-transition: border-bottom-width 500ms ease;
  -o-transition: border-bottom-width 500ms ease;
  transition: border-bottom-width 500ms ease;
}

.gallery-item:hover .gallery-contents:after {
  border-bottom-width: 30px;
}

.gallery-item:hover .title, .gallery-item.selectedItem .title {
  color: #fff;
  background: #100040;
  transition: all ease 1s;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
}

.gallery-item:hover .position, .gallery-item.selectedItem .position {
  color: #fff;
  transition: all ease 1s;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
}

.gallery-item {
  text-align: left;
  font-size: 25px;
  padding: 25px 0;
  padding-bottom: 38px;
}

.gallery-item .thumbnail__ {
  position: relative;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.gallery-item .thumbnail__ > img {
  position: relative;
  margin-top: 0px;
  max-width: 100%;
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
}

.gallery-item.selectedItem .thumbnail__ > img, .gallery-item:hover .thumbnail__ > img {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
  -moz-filter: grayscale(0%);
  transition: all ease 1s;
  -webkit-transition: all ease 0.5s;
  -moz-transition: all ease 0.5s;
}

.gallery-item .title {
  text-align: left;
  margin-top: 0px;
  padding: 20px;
  position: absolute;
  bottom: -20px;
  background: rgba(255, 255, 255, 0.91);
  right: -20px;
  width: 100%;
  color: #a6044c;
  font-size: 25px;
  text-transform: uppercase;
  line-height: 24px;
}

.gridder-navigation {
  height: 26px;
}

.gridder-close {
  background: url(https://www.tviosolutions.com/wp-content/themes/benten/css/images/close__.png) no-repeat;
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
  right: 0px;
  float: right;
  cursor: pointer;
  margin: 0px 15px;
}

.gridder-nav.prev {
  background: url(https://www.tviosolutions.com/wp-content/themes/benten/css/images/left.png) no-repeat;
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
  right: 0px;
  float: right;
  cursor: pointer;
}

.gridder-nav.next {
  background: url(https://www.tviosolutions.com/wp-content/themes/benten/css/images/right.png) no-repeat;
  background-size: 24px 24px;
  width: 24px;
  height: 24px;
  right: 0px;
  float: right;
  cursor: pointer;
}

.gallery-item .title span {
  color: #a6044c;
  font-size: 12px;
  display: block;
  font-weight: 400;
}

.gallery-contents:after {
  border-bottom-color: #100040;
}

@media (max-width: 991px) {
  .gridder-list {
    width: 29.33333%;
  }
  .gridder-list:nth-child(n) {
    margin-bottom: 0;
    margin-right: 4%;
  }
  .gridder-list:nth-of-type(3n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .gridder-list {
    width: 27.33333%;
  }
  .gridder-list:nth-child(n) {
    margin-bottom: 0;
    margin-right: 6%;
  }
  .gridder-list:nth-of-type(3n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 670px) {
  .gridder-list {
    width: 42%;
  }
  .gridder-list:nth-child(n) {
    margin-bottom: 0;
    margin-right: 8%;
  }
  .gridder-list:nth-of-type(2n) {
    margin-right: 0;
    margin-bottom: 0;
  }
}

@media screen and (max-width: 742px) and (min-width: 671px) {
  .gallery-item .title span {
    font-size: 13px;
  }
}

@media (max-width: 492px) {
  .gallery-item .title span {
    font-size: 13px;
  }
}

@media (max-width: 445px) {
  .gridder-list {
    width: 92%;
  }
  .gridder-list:nth-child(n) {
    margin-bottom: 0;
    margin-right: 8%;
  }
  .gridder-list:nth-of-type(1n) {
    margin-right: 0;
    margin-bottom: 0;
  }
  .gridder-list {
    width: 200px;
    margin: 0 auto !important;
    display: block;
  }
  .gridder-content p {
    font-size: 18px !important;
  }
  .gridder-show {
    text-align: left;
  }
  .gridder-navigation {
    height: 30px;
  }
  .gallery-item .title span {
    font-size: 16px;
  }
  .gridder-list {
    margin-top: 45px !important;
    padding-top: 0px;
  }
}