.awards_shortcode_with_filters {
  padding-right: 15px;
  padding-left: 15px;
}
.awards_shortcode_with_filters .awards-filters {
  padding-top: 16px;
  display: flex;
  flex-wrap: nowrap;
}
.awards_shortcode_with_filters .awards-filter {
    padding: 10px 15px;
    border: 1px solid #dedede;
    color: #888888;
    margin-right: 20px;
    font-size: 16px;
}
.awards_shortcode_with_filters .award-search{
  width: 100%;
  margin-right: 10px;
}
.awards_shortcode_with_filters .award-search input{
  padding: 10px 15px;
    border: 1px solid #dedede;
    color: #888888;
    font-size: 16px;
    width: 100%;
}
.awards_shortcode_with_filters .awards-items-list {
  margin: 35px 0px;
  position: relative;
  min-height: 300px;
}
.awards_shortcode_with_filters .awards-items-list .awards-items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.awards_shortcode_with_filters .awards-items-list .awards-items .awards-item {
  width: 31%;
  box-sizing: border-box;
  padding-left: 15px;
  padding-right: 15px;
  border: 1px solid #dedede;
  padding: 20px 40px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin-left: 1%;
  margin-right: 1%;
}
.awards_shortcode_with_filters .awards-items-list .awards-items .awards-item:hover {
    background: #fafafa;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  grid-gap: 8px;
  justify-content: center;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.dots {
  display: none;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers:not(.dots) {
    width: 30px;
    height: 30px;
    font-size: 14px;
    font-weight: 400;
    line-height: 30px;
    text-align: center;
    letter-spacing: 1px;
    font-family: inherit;
    color: #888888;
    background-color: #f5f5f5;
    cursor: pointer;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
    text-decoration: none;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers:not(.dots):hover {
    background-color: #d4451d;
    color: #ffffff;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.current {
    color: #ffffff;
    background-color: #dedede;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.current:hover {
    background-color: #cccccc;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.next, 
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.prev,
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.next:hover,
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.prev:hover {
    background-color: transparent;
}
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.next:hover,
.awards_shortcode_with_filters .awards-items-list .sw-pagination .page-numbers.prev:hover {
    color: #888888;
}
.awards_shortcode_with_filters .awards-items-list .awards-items .awards-item .image-logo {
  max-width: 60%;
  margin-bottom: 15px;
  margin-top: 15px;
}
.awards_shortcode_with_filters .awards-items-list .awards-items .awards-item .title {
  color: #d4451d;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}
.awards_shortcode_with_filters .awards-items-list .awards-items .awards-item  .year {
  margin-top: 5px;
  color: #999;
  font-weight: 700;
  line-height: 1;
  font-size: 14px;
}

/* The Modal (background) */
.awards_shortcode_with_filters .cs_modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.awards_shortcode_with_filters .cs_modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 60%; /* Could be more or less, depending on screen size */
  min-height: 60vh;
}
.awards_shortcode_with_filters .cs_modal-content .content {
  overflow-y: auto;
  margin-top: 30px;
  max-height: 60vh;
}
.awards_shortcode_with_filters .cs_modal-content .detail-title p {
    text-align: left;
    font-size: 16px;
    margin-bottom: 5px;
}
.awards_shortcode_with_filters .cs_modal-content .detail-title h3 {
    font-size: 2.2em;
}
.awards_shortcode_with_filters .awards_shortcode_detail .detail-items {
    padding-top: 0;
}
.awards_shortcode_with_filters .awards_shortcode_detail .detail-items .detail_item {
    padding-top: 15px;
    padding-bottom: 15px;
}

.awards_shortcode_with_filters .cs_modal-content .content::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.awards_shortcode_with_filters .cs_modal-content .content::-webkit-scrollbar-track {
  background: #fff; 
}
 
/* Handle */
.awards_shortcode_with_filters .cs_modal-content .content::-webkit-scrollbar-thumb {
  background: #d4451d;; 
}

/* Handle on hover */
.awards_shortcode_with_filters .cs_modal-content .content::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* The Close Button */
.awards_shortcode_with_filters .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.awards_shortcode_with_filters .close:hover,
.awards_shortcode_with_filters .close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.awards_shortcode_with_filters .cs_modal.show {
  display: flex;
  align-items: center;
  overflow-y: hidden;
}
.awards_shortcode_with_filters .cs_modal .loader {
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.awards_shortcode_with_filters .cs_modal .loader {
  display: none;
}
.awards_shortcode_with_filters .cs_modal.loading .loader {
  display: flex;
}
.awards_shortcode_with_filters .cs_modal .loader div {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #d4451d;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.awards_shortcode_with_filters .awards-items-list .load-div {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  top: 0px;
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  z-index: 998;
}
.awards_shortcode_with_filters .awards-items-list .load {
  border: 2px solid #f3f3f3;
  border-top: 2px solid #d4451d;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 2s linear infinite;
}

.awards_shortcode_detail .detail-items {
  display: flex;
  flex-direction: column;
  padding: 25px;
}

.awards_shortcode_detail .detail-items .detail_item {
  display: flex;
  flex-direction: column;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  margin-top: 30px;
  border: 1px solid #dedede;
  padding-top: 30px;
  padding-bottom: 30px;
}

.awards_shortcode_detail .detail-items .detail_item .image {
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.awards_shortcode_detail .detail-title{
  padding-left: 25px;
}
.awards_shortcode_detail .detail-items .detail_item img {
  max-width: 150px;
  max-height: 150px;
}
.awards_shortcode_detail .detail-items .detail_item .info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.awards_shortcode_detail .detail-items .detail_item .product-field {
  color: #000;
  text-decoration: none;
  font-size: 1.5em;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.awards_shortcode_detail .detail-items .detail_item .brand-field {
  color: #999;
  font-weight: 700;
  line-height: 1;
  font-size: 14px;
}

.awards_shortcode_detail .detail-items .detail_item.gold {
  border-left: 4px solid #f5b800;
}

.awards_shortcode_detail .detail-items .detail_item.silver {
  border-left: 4px solid #999999;
}

.awards_shortcode_detail .detail-items .detail_item.bronze {
  border-left: 4px solid #9a7353;
}

.awards_shortcode_detail .award-field.gold,
.awards_shortcode_detail .award-field.silver,
.awards_shortcode_detail .award-field.bronze {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 14px;
  text-transform: uppercase;
}
.awards_shortcode_detail .award-field.gold {
  color: #f5b800;
}
.awards_shortcode_detail .award-field.silver {
  color: #999999;
}
.awards_shortcode_detail .award-field.bronze {
  color: #9a7353;
}

@media only screen and (max-width: 992px) {
  .awards_shortcode_with_filters .awards-items-list .awards-items .awards-item {
    width: 47%;
  }
  .awards_shortcode_with_filters .awards-items-list .awards-items .awards-item .image-logo {
    max-width: 75%;
  }
  .awards_shortcode_with_filters .cs_modal-content {
    width: 80%;
  }
  .awards_shortcode_with_filters .awards-filters {
    flex-direction: column;
    align-items: center;
  }
  .awards_shortcode_with_filters .award-search{
    margin-top: 15px;
    width: 90%;
    margin-right: 20px;
  }
  .awards_shortcode_with_filters .award-search input{
    margin-left: 0px;
  }
  .awards_shortcode_with_filters select{
    margin-top: 15px;
    width: 90%;
    margin-left: 0px;
  }
}

@media only screen and (max-width: 678px) {
  .awards_shortcode_with_filters .awards-items-list .awards-items .awards-item {
    width: 98%;
  }
  .awards_shortcode_with_filters .awards-items-list .awards-items .awards-item .image-logo {
    max-width: 75%;
  }
  .awards_shortcode_with_filters .cs_modal-content {
    width: 95%;
  }
}
