/**
 * Styles for customizations related to the Competitions section of the site.
 */
/*
 * Responsive font size mixins.
 */
/*
 * Text styling.
 * Also see heading.scss.
 */
.text-bold {
  font-weight: 700;
}

.text-label {
  font-weight: 700;
  margin-right: 5px;
}

.text-centered {
  text-align: center;
}

.text-small-3 {
  font-size: 0.5rem;
}

.text-small-2 {
  font-size: 0.8rem;
}

.text-small-1 {
  font-size: 0.9rem;
}

.text-normal {
  font-size: 1rem;
}

.text-large-1 {
  font-size: 1.1rem;
}

.text-large-2 {
  font-size: 1.3rem;
}

.text-large-3 {
  font-size: 1.5rem;
}

.text-large-4 {
  font-size: 2rem;
}

.text-large-5 {
  font-size: 3rem;
}

@-webkit-keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
/*
 * Competition listing page.
 */
.page--competition-listing {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
}
@media screen and (min-width: 1540px) {
  .page--competition-listing {
    max-width: 1250px;
  }
}

.competition-listing__form {
  display: flex;
  justify-content: space-between;
  max-width: 280px;
}

/*
 * Competition gallery.
 */
.block--competition_gallery {
  margin-top: 20px;
}

/*
 * Competition category listing page.
 */
.page--competition-categories-listing {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  margin-bottom: 50px;
}
@media screen and (min-width: 1540px) {
  .page--competition-categories-listing {
    max-width: 1250px;
  }
}
.page--competition-categories-listing h2 {
  margin: 10px 0 0;
  padding: 5px 5px 5px 10px;
  background-color: #d3e0d3;
}
.page--competition-categories-listing .competition_listing__section_description {
  margin: 0 0 10px;
  padding: 5px 5px 5px 10px;
  background-color: #e5e5e5;
}
.page--competition-categories-listing .term-name {
  font-weight: 700;
  font-size: 1.3rem;
}
.page--competition-categories-listing li {
  margin: 0 1rem 0 3rem;
}
.page--competition-categories-listing p {
  font-size: 1.2rem;
}

/*
 * Competition entry management page.
 */
.page--competition-entry-management {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  margin-bottom: 50px;
}
@media screen and (min-width: 1540px) {
  .page--competition-entry-management {
    max-width: 1250px;
  }
}
.page--competition-entry-management h2 {
  margin: 25px 0;
  text-align: center;
}
.page--competition-entry-management table {
  width: 100%;
}
.page--competition-entry-management .views-field-operations {
  min-width: 70px;
  max-width: 100px;
}

.competition-entry-management__published .views-field-thumbnail__target-id {
  width: 18%;
}
.competition-entry-management__published .views-field-name {
  width: 20%;
}
.competition-entry-management__published .views-field-created {
  width: 12%;
}
.competition-entry-management__published .views-field-field-competition-section {
  width: 25%;
}

/*
 * Competition & Competition section full page.
 */
.competition-page__main_content {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  font-size: 1.2rem;
  margin-top: 30px;
  display: flex;
  flex-direction: column-reverse;
}
@media screen and (min-width: 1540px) {
  .competition-page__main_content {
    max-width: 1250px;
  }
}
@media screen and (min-width: 768px) {
  .competition-page__main_content {
    flex-direction: row;
  }
}
.competition-page__main_content label {
  font-weight: 700;
}

.competition-page__main_content--left {
  flex: 2;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin-right: 25px;
}

.competition-page__main_content--right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.competition-page__info-block {
  margin-bottom: 25px;
}

/*
 * Competition entry full page.
 */
.competition-entry--full {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
}
@media screen and (min-width: 1540px) {
  .competition-entry--full {
    max-width: 1250px;
  }
}
.competition-entry--full div {
  margin-top: 10px;
}
.competition-entry--full li {
  margin: 0 1rem 0 3rem;
}
.competition-entry--full label {
  font-weight: 700;
}
.competition-entry--full .entry__competition-results {
  margin-top: 20px;
}

/*
 * Competition entry popup page.
 */
.competition-entry-popup {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 810px;
  margin: 0 auto;
}

.competition-entry-popup__info {
  margin: 10px auto;
  max-width: 800px;
}
.competition-entry-popup__info div {
  margin-bottom: 10px;
}

.competition-entry-popup__name {
  text-align: center;
  font-size: 1.5rem;
}

.competition-entry-popup__section {
  text-align: center;
  font-size: 1rem;
}

.competition-entry-popup__score {
  font-size: 1rem;
  text-align: center;
}

.competition-entry-popup__monthly {
  font-size: 1.1rem;
}

.competition-entry-popup__judge-comments {
  margin-top: 15px;
}

/*
 * Recent competitions.
 */
.view--recent-competitions {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  margin-top: 10px;
  text-align: center;
}
@media screen and (min-width: 1540px) {
  .view--recent-competitions {
    max-width: 1250px;
  }
}
.view--recent-competitions .heading {
  margin-bottom: 15px;
}
.view--recent-competitions ul {
  display: inline-flex;
}
.view--recent-competitions ul li {
  display: inline-block;
  font-size: 1rem;
  margin: 0 15px 0 0;
}

.view--eoy-gallery .group-header {
  background-color: #105610;
  color: #fff;
  margin: 30px auto;
  padding: 15px;
  text-align: center;
  font-size: 2rem;
}

.view--eoy-list {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  margin-top: 10px;
}
@media screen and (min-width: 1540px) {
  .view--eoy-list {
    max-width: 1250px;
  }
}
.view--eoy-list caption {
  background-color: #105610;
  color: #fff;
  margin: 30px auto;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
}
.view--eoy-list table {
  width: 90%;
}

.competition-main-gallery--filters {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
  margin-top: 25px;
  margin-bottom: 100px;
  padding: 10px 30px;
  border: 1px solid #e5e5e5;
}
@media screen and (min-width: 1540px) {
  .competition-main-gallery--filters {
    max-width: 1250px;
  }
}

.competition-main-gallery--filters__form {
  display: flex;
  flex-direction: column;
  text-align: center;
}
@media screen and (min-width: 1024px) {
  .competition-main-gallery--filters__form {
    flex-direction: row;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__dates {
    flex: 1;
    display: flex;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__dates div {
    max-width: 130px;
    margin-right: 5px;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__place {
    flex: 3;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__place legend {
    text-align: center;
    font-weight: bold;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__place .form-checkboxes {
    display: inline-flex;
  }
  .competition-main-gallery--filters__form .competition-main-gallery--filters__place .form-checkboxes .form-item {
    min-width: 75px;
    margin: 0 5px;
  }
}

/*
 * Competition admin block.
 */
.block__competition-admin {
  width: 100%;
  margin-bottom: 21px;
  font-size: 1.2rem;
}
.block__competition-admin li {
  margin: 0 1rem 0 3rem;
}

/*
 * Competition admin view.
 */
.competition-admin-view {
  max-width: 95%;
  width: auto;
  margin: 0 auto;
}
@media screen and (min-width: 1540px) {
  .competition-admin-view {
    max-width: 1250px;
  }
}

/*
 * Competition category block.
 */
.block--competition_category {
  margin: 10px 25px;
}

.competition-category__challenge-date-message {
  margin: 15px 0;
  padding: 10px;
  background-color: #fdf8ed;
  border-color: #e09600;
  color: #734c00;
}

.competition-category__link {
  margin-top: 20px;
}

/**
 * Info block - Competition.
 */
div.info-block__title.status--closed {
  background-color: #802922;
}

div.info-block__title.status--visible {
  background-color: #105610;
}

.competition-info__competition-dates {
  margin: 5px 0 10px;
  padding: 15px;
  background-color: #d3e0d3;
}
.competition-info__competition-dates label {
  font-weight: 700;
  margin-right: 5px;
}

.competition-info__competition-dates.status-closed {
  background-color: #e39c97;
}

.competition-info__competition-dates.status-visible {
  background-color: #999;
}

.competition-info__existing-entries {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.competition-info__existing-entries img {
  max-width: 50px;
}

.competition-info__entry-text {
  margin: 10px 0;
}
.competition-info__entry-text li {
  margin: 0 1rem 0 3rem;
}

/**
 * Info block - Competition entry.
 */
.info-block--competition-entry .info-block__inner div {
  margin: 10px 0;
}

.competition-entry__entry-text {
  margin: 10px 0;
}
.competition-entry__entry-text li {
  margin: 0 0.5rem 0 1.5rem;
}

.competition-entry__entry-link {
  text-align: center;
  padding: 10px;
  font-weight: bold;
  border: 2px solid #105610;
}
.competition-entry__entry-link a {
  color: #105610;
}

/**
 * Block - Competition Section List.
 * Container around Strip - Competition Section.
 */
.block-content--competition-section-list {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}

/**
 * Competition strip.
 */
.strip-panel--info--competition .strip-panel--info__footer {
  background-color: #fff;
}