@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; /*f6f6f6*/
  color: #000;
}

#body a {
  color: #000;
}

#body {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  display: block;
  font-weight: 500;
  font-family: Poppins;
  height: 1000px;
}

#side {
  max-width: 190px;
  width: 100%;
  margin: 0 auto;
  display: inline-block;
  vertical-align: top;
  font-family: Calibri, Arial, Helvetica, sans-serif;
  float: right;
}

#body .green-circle {
  font-family: arial;
  font-size: 15px;
  font-weight: bold;
  line-height: 100%;
  margin: 15px 0;
  padding-left: 10px;
}

#body .green-circle a span {
  cursor: pointer;
  text-decoration: underline;
}

#mainBody {
  /* max-width: 800px; */
  width: 100%;
  margin: 0 auto;
  display: inline-block;
  vertical-align: top;
  font-size: 13px;
  /* font-family: Calibri, Arial, Helvetica, sans-serif */
}

.box {
  margin: 10px;
  padding: 10px;
  clear: both;
}

.mediaHolder > .congrats {
  color: #000;
  padding: 0;
  line-height: 27px;
  font-size: 19px;
  font-family: sans-serif;
}

.imgDiv img {
  width: auto;
  height: auto;
}

.col-1-3 {
  padding: 0;
}

.smallPhotoHolder > .winnersPhoto {
  padding: 10px;
  float: none;
  display: inline-block;
}

.smallPhotoHolder > .winnersPhoto > a {
  text-decoration: none;
  font-weight: bold;
}

.smallPhotoHolder > .winnersPhoto > a > .winnersName {
  color: #333;
}

.smallPhotoHolder > .winnersPhoto > a:visited > .winnersName {
  color: #92278f;
}

.smallPhotoHolder {
  padding: 0;
}

.smallPhotoBox {
  position: relative;
  display: inline-block;
}

.smallPhotoBox img {
  max-width: 100%;
  max-height: 200px;
}

.smallPhoto:hover {
  display: block;
}

.contestDate {
  background: #fb5327;
  vertical-align: top;
  color: #fff;
  line-height: 30px;
  font-size: 24px;
  text-align: center;
}

.contestVotings {
  vertical-align: top;
  line-height: 30px;
  font-size: 24px;
}

.contestVoting {
  background: #c3e829;
  text-align: center;
}

.contestVoting span {
  vertical-align: middle;
  display: inline-block;
}

.ribbonLinks a {
  color: #fff;
  border-left: 3px solid #fff;
  text-decoration: none;
  display: inline-block;
}

.ribbonLinks a:hover {
  text-decoration: underline;
}

.ribbonLinks a:first-child {
  border-left: none;
}

.fbLikeBtn {
  display: inline-block;
  cursor: pointer;
  opacity: 0.9;
  vertical-align: sub;
}

.fbLikeBtn:hover {
  opacity: 1;
}

.col-1-4.smallPhoto {
  display: inline-block;
  float: none;
  padding: 0;
  vertical-align: middle;
  width: 24%;
}

.imgDiv {
  margin-top: 4em;
}

.row {
  display: block;
}

.row > label > span {
  display: inline-block;
  width: 128px;
}

.fbCount {
  background: #fff;
  border: 2px solid #898f9c;
  border-radius: 3px;
  padding: 0 5px;
  color: #6a7180;
  text-align: center;
  white-space: nowrap;
  font-size: 22px;
  vertical-align: top;
  height: 30px;
  min-width: 30px;
  line-height: 25px !important;
}

.fbLikeBtn > img {
  vertical-align: middle;
}

.arrow,
.arrow1 {
  border-color: rgba(0, 0, 0, 0) #898f9c;
  border-style: solid;
  border-width: 7px 11px 6px 0;
  display: block;
  left: 1px;
  position: relative;
  top: -1px;
}

.arrow {
  text-decoration: line-through;
}

.arrow1 {
  border-right-color: #fff;
  left: 5px;
  top: -14px;
}

.arrowBox {
  display: inline-block;
  height: 10px;
  left: 4px;
  position: relative;
  vertical-align: middle;
  width: 10px;
  z-index: 2;
}

.contestVoting .arrowBoxHolder {
  line-height: 30px;
  height: 30px;
  display: inline-block;
  vertical-align: top;
  margin-left: -12px;
}

.fbLikeBtnAftLogin {
  height: 30px;
}

.fbLikeBtnAftLogin iframe {
  transform: scale(1.5);
  -ms-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  -o-transform: scale(1.5);
  -moz-transform: scale(1.5);
  transform-origin: top left;
  -ms-transform-origin: top left;
  -webkit-transform-origin: top left;
  -moz-transform-origin: top left;
  -webkit-transform-origin: top left;
}

.winnersName,
.winnersCategory {
  font-size: 18px;
  padding: 12px 0px 2px 0px;
}

.winnersCategory {
  color: #f89c8f;
  padding-bottom: 14px;
}

.ad {
  margin: 10px;
  text-align: center;
}

.currentContest > a {
  display: block;
  margin: 0 auto;
  position: absolute;
  text-align: center;
  top: 23px;
  width: 100%;
}

.currentContest > a > div {
  color: #000;
  font-weight: bold;
  margin: 0 auto;
  width: 80%;
  line-height: 16px;
  text-decoration: none;
}

.currentContest > a.current-standing-btn {
  top: auto;
  bottom: 5px;
  background-image: url("/contests/babyphotocontest/assets/current-standings.png");
  background-repeat: no-repeat;
  background-size: 95% auto;
  min-height: 40px;
  opacity: 1;
  background-position: center;
}

.currentContest > a.current-standing-btn:hover {
  background-size: 100% auto;
}

.currentContest > a {
  text-decoration: none;
}

.currentContest > a:hover {
  text-decoration: underline;
  text-decoration-color: #000;
}

.currentContest {
  position: relative;
}

.mediaHolderUpper > .smallPhotoHolder {
  border: 1px solid #e3e3e3;
}

#mainBody > div {
  margin-left: 0;
  margin-right: 0;
}

.ad > div {
  display: inline-block;
  max-width: 100% !important;
  height: auto !important;
}

.contestLinks .col-1-2 {
  padding: 0;
}

.contestLinks .col-1-2:first-child > div {
  border-right: 2px solid #ccc;
}

.contestLinks .ribbon {
  margin: 0 auto !important;
}

.contestLink:first-child * {
  text-align: left;
}

.contestLink:last-child * {
  text-align: right;
}

.contestLink a {
  display: inline-block;
  width: 95%;
  text-decoration: none;
  position: relative;
}

.contestLink a img {
  display: block;
  width: 100%;
}

.contestLink a:hover img {
  opacity: 0.8;
}

@media (min-width: 767px) {
  .bottomLinks {
    display: inline-block;
    float: none;
    vertical-align: middle;
    width: 19%;
  }
}

@media (max-width: 767px) {
  .contestLinks .col-1-2:first-child > div {
    border-right: none;
  }
  .col-1-2.contestLink a div {
    font-size: 20px;
  }
}

.voteBubble {
  position: relative;
  display: block;
  cursor: pointer;
}

.voteBubble .voteBubbleHolder {
  display: none;
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  background: #fff;
  padding: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  color: #000;
  box-shadow: 1px 1px 10px #000000;
  font-weight: bold;
}

#body .voteBubble .voteBubbleHolder a {
  color: #000;
  padding: 6px;
  font-size: 18px;
  text-decoration: none;
  display: block;
}

#body .voteBubble .voteBubbleHolder a:hover {
  text-decoration: underline;
}

.voteBubble .voteBubbleHolder:after {
  border-bottom: 12px solid #ffffff;
  border-left: 8px solid rgba(0, 0, 0, 0);
  border-right: 8px solid rgba(0, 0, 0, 0);
  content: "";
  display: inline-block;
  left: 45.5%;
  position: absolute;
  top: -12px;
  z-index: 1;
}

.voteBubble .voteBubbleHolder:before {
  border-bottom: 15px solid rgba(0, 0, 0, 0.2);
  border-left: 11px solid rgba(0, 0, 0, 0);
  border-right: 11px solid rgba(0, 0, 0, 0);
  content: "";
  display: inline-block;
  left: 44%;
  position: absolute;
  top: -15px;
  z-index: 1;
}

.voteBubble:hover .voteBubbleHolder {
  display: block;
}

.voteBubbleHolder > a:first-child {
  border-bottom: 2px solid #0c9e71;
}

.ads {
  background: #fff;
  text-align: center;
}

.col-1-2 .mediaHolder .smallPhoto:hover {
  opacity: 0.8;
}

.smallPhoto.mob-priority-top {
  display: none;
}

.smallPhoto.mob-priority-low {
  display: block;
}

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

.smallPhotoHolder > .row > .winnersPhoto {
  /* float: inherit; */
  border-radius: 30px;
  padding: 0px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .smallPhoto.mob-priority-top {
    display: block;
  }
  .smallPhoto.mob-priority-low {
    display: none;
  }
  .row {
    margin-left: 15px !important;
    margin-right: 15px !important;
    margin-top: 0px;
  }
  #body {
    height: unset;
  }
}

@media (min-width: 767px) {
  .smallPhotoHolder > .row > .winnersPhoto {
    width: 46.82%;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 10px;
  }
}

/***************************************************************/
.mediaHolder a img {
  height: 150px;
  margin: 8px 0px;
}
.mediaHolder a .text,
.mediaHolder a .title {
  text-transform: uppercase;
  position: absolute;
  font-weight: bold;
  padding-left: 10px;
  padding-top: 10px;
  text-align: center;
}
.mediaHolder a .viewall {
  position: absolute;
  padding-left: 10px;
  padding-top: 10px;
  text-align: center;
  top: 68%;
  font-size: 16px;
  color: grey;
  left: 57%;
}
.mediaHolder a .title {
  top: 11%;
  left: 41%;
  font-size: 19px;
  color: #f78e80;
}
.mediaHolder a .text {
  top: 33%;
  width: 52%;
  left: 41%;
}

#new-footer a {
  color: #fff;
}

.nbs-flexisel-container {
  position: relative;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.nbs-flexisel-item {
  margin: 0px 1px;
  padding: 0px;
  display: block;
  cursor: pointer;
  position: relative;
  line-height: 0px;
}
.nbs-flexisel-item img {
  max-height: 150px;
}

.nbs-flexisel-ul {
  position: relative;
  width: 9999px;
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-align: center;
  height: 205px;
}

.nbs-flexisel-inner {
  overflow: hidden;
  float: left;
  width: 100%;
  background: #fff;
  border: 0px;
  border-radius: 33px;
  -moz-border-radius: 33px;
  -webkit-border-radius: 33px;
}

.nbs-flexisel-item > a > iframe {
  width: 98%;
  height: 186px;
}

.mediaHolder,
.fbCommentHolder {
  background: #fff;
  border-radius: 33px;
}

.smallPhoto {
  position: relative;
  border-radius: 33px;
  height: 169px;
  background: white;
  margin: 40px 0px;
}

.smallPhoto > a > img {
  position: absolute;
  height: 169px;
  /* top: -22px; */
  /* left: 35%; */
  width: max-content;
  border-radius: 33px;
}

.smallPhoto > a > img:hover {
  opacity: 0.8;
}
.smallPhoto > a > .img2 {
  /* width: auto; */
  /* left: 82.56px; */
}
.cardtext {
  left: 8%;
  position: absolute;
  width: 107px;
  height: 35px;
  padding-top: 35px;
}
.smallPhoto > a > div > p {
  margin: 0px;
  color: white;
  font-size: 18px;
}
.img {
  position: relative;
  text-align: center;
  background: white;
  border-radius: 33px;
}
.img img {
  width: 92%;
  margin: 30px 0px;
}
.img > p {
  position: absolute;
  top: 22.5%;
  left: 30%;
  font-size: 16px;
  color: #f78e80;
}

.congrats {
  top: 36.3%;
  width: 198px;
  left: 24%;
  line-height: 18px;
  position: absolute;
  font-size: 13px;
}

.winnersPhoto iframe {
  width: 100%;
  height: 190px;
  border-radius: 30px 30px 0px 0px;
  border-width: 0px;
}

iframe {
  width: 100%;
  height: 230px;
  border-width: 0px;
  border-radius: 33px;
}

.halloffame {
  font-size: 26px;
  margin: 20px;
  color: #f78e80;
}
.col-sm-6 {
  padding-left: 0px;
  padding-right: 0px;
}
.contestdivs {
  position: relative;
}

@media (min-width: 992px) {
  #main-menu > li > a {
    padding: 0 6px;
  }
}
@media (max-width: 1199px) and (min-width: 992px) {
  #main-menu > li > a {
    padding: 0 5px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1200) {
  .col-sm-6 {
    width: 48.94%;
  }
}

@media (min-width: 768px) {
  .bpcpic {
    position: relative;
    padding: 0;
  }
  .col-sm-6 {
    background: #fff;
    border-radius: 33px;
    margin-left: 10px;
    margin-right: 10px;
    width: 48.4%;
  }
  .col-sm-6:first-of-type {
    margin-left: 0px;
  }
  .col-sm-6:last-of-type {
    margin-right: 0px;
  }
  .col-sm-offset-3 {
    margin-left: 25% !important;
  }
  .col-sm-4 {
    width: 31.33% !important;
    margin: 10px 20px 10px 0px;
  }
  .container .row .col-sm-4:last-child {
    margin-right: 0px;
  }
  .smallPhoto > a > img,
  .smallPhoto > a > .img2 {
    /* left: 38%; */
    /* width: 255px; */
  }
  .cardtext {
    left: 5%;
  }
  .img img {
    width: 85%;
  }
  .img > p {
    top: 27%;
    left: 36%;
    font-size: 28px;
  }
  .congrats {
    top: 39%;
    width: 335px;
    left: 33%;
    line-height: 25px;
    font-size: 20px;
  }
  .winnersPhoto iframe {
    height: 169px;
  }
  .winnersName,
  .winnersCategory {
    padding: 8px 0px 2px 0px;
  }
  .winnersCategory {
    padding-bottom: 10px;
  }
  .mediaHolder a .title {
    top: 4%;
    left: 38%;
    font-size: 19px;
  }
  .mediaHolder a .text {
    top: 26%;
    width: 44%;
    left: 37%;
    font-size: 13px;
    line-height: 18px;
  }
  .mediaHolder a .viewall {
    top: 58%;
    width: 52%;
    left: 33%;
  }
  .contestdivs {
    width: 49%;
  }
  .mediaHolder a img {
    margin: 8px 30px;
  }
  .imageholder1 {
    margin: 0px 5px 0px 0px;
  }
  .imageholder2 {
    margin: 0px 0px 0px 5px;
  }
}

@media (max-width:425px){
  .col-sm-offset-3{
    margin-top:0px
  }
}
@media (max-width: 375px) {
  .smallPhoto > a > img,
  .smallPhoto > a > .img2 {
    /* left: 30%; */
    /* width: 226px; */
  }
  .cardtext {
    left: 2%;
  }
  .img img {
    width: 96%;
  }
  .img > p {
    font-size: 13px;
    top: 21.5%;
    left: 31%;
    width: 130px;
  }
  .congrats {
    top: 38%;
    width: 171px;
    line-height: 16px;
  }
  .winnersPhoto iframe {
    height: 162px;
  }
  .winnersName,
  .winnersCategory {
    padding: 8px 0px 2px 0px;
  }
  .winnersCategory {
    padding-bottom: 10px;
  }
  .halloffame {
    font-size: 24px;
  }
  .mediaHolder a .title {
    top: 4%;
    left: 37%;
    font-size: 18px;
    width: 61%;
  }
  .mediaHolder a .text {
    top: 32%;
    width: 44%;
    left: 48%;
    font-size: 12px;
    line-height: 17px;
  }
  .mediaHolder a .viewall {
    top: 69%;
    width: 52%;
    left: 44%;
  }
}

@media (max-width: 320px) {
  .smallPhoto > a > img,
  .smallPhoto > a > .img2 {
    /* left: 26%; */
    /* width: 209px; */
  }
  .cardtext {
    left: 1%;
  }
  .img img {
    width: 98%;
    margin: 15px 0px;
  }
  .img > p {
    top: 19%;
    left: 26%;
    font-size: 13px;
    width: 130px;
  }
  .congrats {
    top: 37.7%;
    width: 149px;
    left: 25%;
    line-height: 14px;
    font-size: 12px;
  }
  .winnersPhoto iframe {
    height: 134px;
  }
  .winnersName,
  .winnersCategory {
    font-size: 15px;
    padding: 7px 0px 1px 0px;
  }
  .winnersCategory {
    padding-bottom: 8px;
  }
  .halloffame {
    font-size: 22px;
  }
  .mediaHolder a .title {
    top: 2%;
    left: 50%;
    font-size: 18px;
    width: 45%;
  }
  .mediaHolder a .text {
    top: 30%;
    width: 45%;
    left: 50%;
    font-size: 11px;
    line-height: 15px;
  }
  .mediaHolder a .viewall {
    top: 66%;
    width: 52%;
    left: 47%;
  }
}
