.winners_category .pin .thumb img {
  width: 600px;
  height: 300px;
}

#winners .winners_category .winners_board_top_level .pin .thumb {
  float: none;
  margin-right: 0;
  height: auto;
}

.winners_category .pin {
  border-width: 0;
}

.entrants_link {
  display: none;
}

/* gallery-wrapper */

.gallery-wrapper .filter-wrapper{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 800px;
  margin-bottom: 50px;
}

.gallery-wrapper .filter-wrapper .select-box{
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.gallery-wrapper .filter-header {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-right: 40px;
  display: block;
  text-align: center; 
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
  text-transform: uppercase;
  margin-bottom: .25em;
}
.gallery-wrapper .filter-wrapper label {
  margin-right: 2em;
  font-weight: bold;
  font-size: 1.25em;
  text-transform: uppercase;
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
}


.gallery-wrapper .filter-wrapper input[type=button] {
  background: transparent linear-gradient(152deg, #FFF200 0%, #C9A303 31%, #FDEA97 64%, #836A00 100%) 0% 0% no-repeat padding-box;
  text-decoration: none;
  padding: 6px 15px;
  color: #000;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 800;
  margin-left: 2em;
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
  cursor: pointer;
}



.gallery-intro {
  font-weight: bold;
  font-size: 1.25em;
  margin-bottom: 1em;
}

@media(max-width: 767px){

  .gallery-wrapper .filter-wrapper{
    margin-bottom: 40px;
  }
  .gallery-wrapper .filter-wrapper span{
    font-size: 22px;
    margin-right: 20px;
  }

  .gallery-wrapper h2{
    font-size: 30px;
    margin-bottom: 30px;
  }
}

/* gallery-list */
.gallery-list{
  list-style: none;
  padding-left: 0px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  justify-content: left;
}
.gallery-list li{
  -webkit-flex: 0 0 300px;
  -ms-flex: 0 0 300px;
  flex: 0 0 300px;
  max-width: 300px;
  padding: 0px 12px;
  margin-bottom: 65px;
}
.gallery-list .box {
  background: #F0F0F0;
  border: 1px solid #CCCCCC;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.gallery-list .box:hover {
  border-color: #00BDF2;
}

.gallery-list .box figure img {
  /*height: 300px;*/
  width: 100%;
  /*object-fit: cover;*/
  object-position: center center;
}
.gallery-list a.box {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}
.gallery-list .box .content-wrapper {
  padding: 16px 20px;
  word-break: break-word;
}
.gallery-list .box .content-wrapper h4 {
  color: #00BDF2;
  font-size: 22px;
  margin-bottom: 8px;
}
.gallery-list .box .content-wrapper h5 {
  font-size: 16px;
  background: #FFF200;
  padding: 2px;
  margin-bottom: 8px;
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
  text-transform: uppercase;
  display: inline;
}
.gallery-list .box .content-wrapper .clear {
  display: block;
  clear: both;
  margin-bottom: .5em;
}
.gallery-list .box .content-wrapper h6 {
  margin-bottom: 10px;
  font-size: 16px;
}
.gallery-list .box .content-wrapper p {
  font-size: 14px;
  font-weight: 300;
  margin-bottom: 1em;
}

.gallery-list .box .content-wrapper .entry-description {
  max-height: 800px;
  overflow-y: auto;
}
@media(max-width: 1300px){
/*  .gallery-list li{
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }*/
}
@media(max-width: 767px){
  .gallery-list li{
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
  }
  
  .gallery-list a.box {
    display: block;
  }
}

/* select-box */
.select-box {
  position: relative;
}
.select-box select {
  height: 40px;
  border-radius: 0px;
  border: 1px solid #66686A;
  color: #000;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0px 15px;
}
.select-box::after {
  content: '';
  border-color: #66686A transparent #66686A transparent;
  border-style: solid;
  border-width: 18px 12px 0px 12px;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 15px;
  pointer-events: none;
}
@media (max-width: 767px) {
  .select-box::after {
    border-width: 15px 10px 0px 10px;
  }
}

.company-logo {
  max-width: 200px;
  margin: 1em 0 0 0;
}

.winner-badge {
  background-color: #EC008C;
  color: #fff;
  border-radius: 25px;
  padding: .5em 1em;
  display: inline-block;
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
  font-size: .75em;
  margin-bottom: 1em;
}

.gallery-wrapper .pagination {
  display: block;
  clear: both;
  margin-bottom: 1.8em;
  text-align: left;
  position: relative;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border-top: none;
}
.gallery-wrapper .pagination span, .gallery-wrapper .pagination a {
  display: inline-block; }
.gallery-wrapper .pagination span {
  color: #adadad; }
.gallery-wrapper .pagination .spread {
  display: inline-block;
  position: relative;
  text-align: center;
}

.gallery-wrapper .pagination .spread span, .gallery-wrapper .pagination .spread .num, .gallery-wrapper .pagination .spread .page-numbers {
  margin: 0 0 .8em 1px; }


.gallery-wrapper .pagination .page-numbers.prev, .gallery-wrapper .pagination .page-numbers.next,
.gallery-wrapper .pagination .spread .num, .gallery-wrapper .pagination .spread .page-numbers {
  min-width: 34px;
  height: 34px;
  line-height: 34px;
  color: black;
  text-align: center;
  font-weight: 700;
  background: #e5e5e5;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
  text-decoration: none;
}
.gallery-wrapper .pagination .spread .num.current, .gallery-wrapper .pagination .spread .page-numbers.current {
  background: #2397db;
  color: white; }
.gallery-wrapper .pagination .spread .num:hover {
  background: #2397db;
  text-decoration: none;
  color: white; }
.gallery-wrapper .pagination .prev-page, .gallery-wrapper .pagination .next-page {
  width: 14px;
  height: 20px;
  position: absolute;
  top: 50%;
  margin-top: -10px; }

.gallery-wrapper .pagination .results-count {
  display: block;
  clear: both;
  color: #333;
  font-size: 0.875em;
  text-align: right;
  font-weight: 700;
  margin-top: 5px;
  text-transform: uppercase;
}

.post-body .gallery-wrapper .pagination {
  margin-top: 1em;
}

.more-from {
  font-weight: 700;
  border: 1px solid #ccc;
  float: left;
  clear: both;
  padding: 8px 12px;
  font-family: 'Napco_1';
  font-size: 1.5em;
}
.gallery-wrapper .pagination span.page-numbers.dots {
  color:#ADADAD;
  background: none !important;
}
.gallery-wrapper .pagination .page-numbers {
  padding: 2px;
  min-width: 36px;
}

.screen-reader-text {
  display: none;
}

.winners-browser {
  float: right;
}

.recipient-modal {
  height: 347px;
}

.recipient-modal .company-logo {
  width: 260px;
}

.recipient-modal-footer {
  margin-top: .5em;
}

.recipient-modal-footer a {
  text-decoration: none;
  background-color: #000;
  color: #fff;
  line-height: 1;
  padding: .25em .5em;
}

.recipient-modal-footer span {
  line-height: 1;
  padding: .25em .5em;
  color: #999;
}

.recipient-modal-footer a:hover {
  background-color: #00BDF2;
}

.recipient-modal h5 {
  font-size: 16px;
  padding: 2px;
  margin-bottom: 8px;
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
}

.modal-flex {
  display: flex;
}

.modal-right {
  margin-left: 1em;
  max-height: 330px;
  overflow: auto;
}

.modal-right h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

.modal-right h4 {
  font-size: 1.5em;
  margin-top: 0.5em;
  line-height: 1.25;
}

.modal-right h6 {
  margin-bottom: .5em;
}

.modal-right .winner-badge {
  margin-bottom: .5em;
}

.recipient-modal-product-image {
  width: 200px;
  height: 200px;
}
  
.details-list ul {
  margin-left: 1.5em;
}

.details-list ul li {
  margin-bottom: .25em;
  list-style-type: square;
}

.details-list ul strong {
  font-family: "Proxima Nova W01 Medium", helvetica, arial, sans-serif;
}

body.winners-gallery .content-right,
body.page-template-winners-gallery-2021-php .content-right {
  max-width: none;
}

.gallery-wrapper {
  width: 96%;
  margin-top: 2em
}

#winners_years_nav_select {
  font-size: 1.5em;
}

@media (max-width: 650px) {
  #TB_window {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 100%;
    max-width: 90%;
    margin: 0 !important;
  }
  #TB_ajaxContent {
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  .recipient-modal {
    height: 400px;
  }

  .modal-flex {
    display: block;
  }

  .modal-right {
    margin-left: 0;
    max-height: 240px;
    overflow: auto;
  }

  .recipient-modal-product-image {
    width: 100px;
    height: 100px;
  }
}