@font-face {
  font-family: contestFont;
  src: local(contestFont),
    url("/contests/babyphotocontest/assets/css/AlwaysInMyHeart.ttf")
      format("opentype");
}
body,
html {
  margin: 0;
  padding: 0;
  background: #f6f6f6 !important;
  color: #000;
}
#body a {
  color: #000;
}
#body {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: block;
  font-family: Poppins;
  font-size: 13px;
}
#side {
  max-width: 190px;
  width: 100%;
  margin: 0 auto;
  display: inline-block;
  vertical-align: top;
  float: right;
}
#mainBody {
  /* max-width: 800px; */
  width: 100%;
  margin: 0 auto;
  display: inline-block;
  vertical-align: top;
}
.box {
  margin: 10px;
  padding: 20px;
  clear: both;
}

.imgDiv img {
  width: auto;
  height: auto;
}
.col-1-3 {
  padding: 0;
}
.contestDate {
  background: #fb5327;
  vertical-align: top;
  color: #fff;
  line-height: 30px;
  text-align: center;
}

.ad > div {
  display: inline-block;
  height: auto !important;
  max-width: 100% !important;
}
.imgDiv {
  margin-top: 4em;
}
.sortBy {
  border-bottom: 1px solid #d5d4d4;
  padding-bottom: 10px;
  text-align: center;
}
#body .sortBy > a {
  text-decoration: underline;
  font-weight: bold;
  color: #b70e8d;
}
#body .sortBy > a.clickableView:hover {
  text-decoration: underline;
}
#body .sortBy > a.clickableView {
  color: #000;
  font-weight: normal;
  text-decoration: none;
}
.row > label > span {
  display: inline-block;
  width: 128px;
}

.winnersCategory {
  position: absolute;
  top: 20px;
  right: -14px;
  width: 100px;
}
.winners-name > span > span {
  color: #f78e80;
  margin-left: 5px;
}
.winners-name > span {
  margin-bottom: 5px;
  display: flex;
}

.winners-info {
  line-height: 18px;
  text-align: left;
  padding: 10px;
}
.winnersCategoryText {
  color: #b70e8d;
  text-decoration: underline;
  padding: 10px;
}
.ad {
  margin: 10px;
  text-align: center;
}

.action-btn {
  height: 46px;
  background: #f78e80;
  border-radius: 24px;
  color: #fff;
  display: inline-block;
  margin: 5px auto;
  padding: 10px 12px;
  font-size: 18px;
  width: 81%;
  text-transform: uppercase;
}
.action-btn:hover {
  text-decoration: underline;
}

#mainBody > div {
  margin-left: 0;
  margin-right: 0;
}
#paginator {
  text-align: center;
}
#paginator a {
  margin: 3px;
  padding: 5px;
  border: 1px solid #333;
  display: inline-block;
  vertical-align: middle;
}
#paginator a.currentPage,
#paginator a:hover {
  background: #ccc;
}
.contestDrop-holder > div {
  padding: 0;
}
#contestDrop {
  width: 100%;
  color: #333;
  display: block;
  font-weight: bold;
  height: 32px;
  padding: 2px;
  cursor: pointer;
  border: 1px solid #ccc;
}
#contestDrop,
#contestDrop option {
  height: 40px;
  padding: 5px;
}
.contestDropGo {
  color: #fff;
  background: #f78e80;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  text-align: center;
  border-radius: 24px;
  text-transform: uppercase;
}
.smallPhotoHolder {
  margin: 0;
  padding: 0 1px;
}
.smallPhotoHolder:first-child {
  padding-top: 1px;
}
.smallPhotoHolder:last-child {
  padding-bottom: 1px;
}
.contestLink a {
  display: inline-block;
  position: relative;
  text-decoration: none;
  width: 95%;
}

.col-1-2.contestLink a div {
  color: #fff;
  font-weight: bold;
  padding-left: 10px;
  padding-top: 10px;
  position: absolute;
  text-align: left;
  text-transform: uppercase;
  top: 0;
  width: 65%;
}

/************************************************************************************/

.smallPhotoHolder.col-1-1 {
  background: #fff;
}

.text-box {
  margin: 20px;
  text-align: center;
}

#body .text-box a {
  text-decoration: none;
  color: #00f;
  font-weight: bold;
}

#body .text-box a:hover {
  text-decoration: underline;
}
select {
  margin: 0px 0px 10px 0px;
  border-radius: 33px;
  padding: 14px 60px;
}
.contestLink {
  position: relative;
  padding: 0px;
}
.contestLink > a > img {
  height: 175px;
  padding: 0px 20px;
}
.contestLink a .vote {
  position: absolute;
  left: 42%;
  top: 4%;
  font-size: 23px;
  line-height: 24px;
}
.contestLink a .text {
  position: absolute;
  left: 44%;
  top: 45%;
}
.mediaHolder {
  background: #fff;
  border-radius: 33px;
  position: relative;
}
.banner {
  height: 368px;
  padding: 0px 30px;
  border-radius: 33px;
  width: 100%;
}
.year {
  padding: 10px 30px;
  margin: 10px 3px;
  width: 49.1%;
}
.year a > span {
  font-size: 20px;
  color: #f78e80;
}
.year a > span:hover {
  text-decoration: underline;
  color: #f78e80;
}
@media (min-width: 992px) {
  #main-menu > li > a {
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  .year {
    width: 100%;
  }
}

.row {
  margin-left: 15px !important;
  margin-right: 15px !important;
  margin-top: 10px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }
}
.title {
  position: absolute;
  color: #f78e80;
  /* text-align: center; */
  font-size: 33px;
  margin: 0px;
  top: 0%;
  left: 25%;
}
.title2 {
  color: #f78e80;
  text-align: center;
  font-size: 33px;
}
iframe {
  width: 100%;
  height: 196px;
  border-radius: 15px 15px 0px 0px;
  border-width: 0px;
}
.contestantvideo {
  position: relative;
  border-radius: 15px;
  padding: 0px;
  margin-bottom: 20px;
  background-color: #f6f6f6;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
}
@media (min-width: 1024px) {
  .contestantvideo {
    width: 31.1%;
  }
}
@media (min-width: 768px) {
  .contestantvideo {
    width: 30.54%;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .row {
    margin-left: 3px !important;
    margin-right: 3px !important;
    margin-top: 3px !important;
    margin-bottom: 3px;
  }
}
.contestantdetails {
  margin: 0px;
  padding: 12px 15px;
}
.name {
  font-size: 15px;
  color: #f78e80;
  text-transform: capitalize;
}
@media (max-width: 320px) {
  iframe {
    height: 157px;
  }
}
#body .green-circle {
  font-family: arial;
  font-size: 15px;
  font-weight: bold;
  left: -20px;
  line-height: 100%;
  margin-bottom: 15px;
  padding-left: 10px;
  margin-top: 5px;
}
#body .green-circle a span {
  cursor: pointer;
  text-decoration: underline;
  line-height: normal;
}

@media (min-width: 768px) {
  .banner {
    height: 475px;
    padding: 0px 120px;
  }
  .title {
    left: 33%;
  }
  .contestLink > a > img {
    height: 175px;
    padding: 0px 80px;
  }
  .contestLink a .vote {
    top: 8%;
    font-size: 28px;
    line-height: 22px;
  }
  .contestLink a .text {
    left: 44.5%;
    font-size: 17px;
    top: 45%;
  }
}
@media (max-width: 375px) {
  .banner {
    height: 310px;
  }
  .title {
    left: 27%;
  }
  select {
    margin: 0px 0px 5px 0px;
  }
  .contestLink a .vote {
    font-size: 19px;
    line-height: 22px;
  }
  .contestLink a .text {
    left: 44%;
    top: 45%;
  }
}

@media (max-width: 320px) {
  .banner {
    height: 297px;
  }
  .title {
    font-size: 24px;
    left: 25%;
  }
  select {
    margin: 0px 0px 5px 0px;
  }
  .contestLink > a > img {
    padding: 0px 0px;
  }
  .contestLink a .vote {
    font-size: 19px;
    line-height: 22px;
  }
  .contestLink a .text {
    left: 44%;
    top: 45%;
  }
}
