.wrapper.small {
  max-width: 100%;
}

.bg-primary {
  background-color: #fcd703 !important;
  border: none;
}

.bg-primary-faded {
  background-color: rgba(252, 215, 3, 0.25);
}

.btn-primary,
.btn-primary:hover {
  color: #6c757d;
}

.text-primary {
  color: #6c757d !important;
}

.breadcrumb a,
.breadcrumb a:hover {
  color: #0c3b5e;
}

nav .site a:hover {
  color: white;
}

#menu {
  padding-right: 0;
}

#results {
  display: flex;
  flex-wrap: wrap;
}

.progress {
  margin: 15px 5%;
  height: 30px;
}

.a-body.a-body--formsservice {
  background-image: url('https://modgovtemplate.sholland.gov.uk/summer-fun-2018/dance-break.png'), url('https://modgovtemplate.sholland.gov.uk/summer-fun-2018/dance2.png'), url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/dance-free.png");
  background-position: 15% bottom, center bottom, right bottom;
  background-repeat: no-repeat;
}

.btn-primary.focus,
.btn-primary:focus {
  box-shadow: none;
}

a.bg-primary:focus,
button.bg-primary:focus {
  background-color: #fcd703 !important;
}

a.bg-primary:hover,
button.bg-primary:hover {
  background-color: #fcf592 !important;
}

.bg-week-one {
  background-color: #4f7abd;
  color: white;
}

.bg-week-two, .bg-week-eight {
  background-color: #b099c8;
  color: white;
}

.bg-week-three {
  background-color: #93ccb3;
  color: white;
}

.bg-week-four {
  background-color: #c96cab;
  color: white;
}

.bg-week-five {
  background-color: #0060af;
  color: white;
}

.bg-week-six {
  background-color: #00b6bd;
  color: white;
}

.faded {
  opacity: 0.25;
}

.btn-secondary:focus {
  color: #fff !important;
  background-color: #5a6268 !important;
  border-color: #545b62 !important;
}

label.form-check-label {
  margin: 0;
}

#yearFilter label.form-check-label {
  color: white;
}

input.form-check-input {
  margin: .4rem 0 0 -1.2rem !important;
}

#topmenu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

#topmenu button {
  margin-top: 0;
}

fieldset {
  border: solid 3px #fcd703;
  border-radius: 5px;
  padding: 0;
  width: 100%;
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

legend {
  margin-bottom: 0;
  border: solid 3px #fcd703;
  border-radius: 5px;
  background: white;
  padding: 0 10px;
}

.card:nth-of-type(6n+1) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/dance.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.card:nth-of-type(6n+2) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/gym.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.card:nth-of-type(6n+3) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/hoolahoop.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.card:nth-of-type(6n+4) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/hurrah.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.card:nth-of-type(6n+5) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/rollerskating.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.card:nth-of-type(6n+6) {
  background-image: url("https://modgovtemplate.sholland.gov.uk/summer-fun-2018/running.png");
  background-repeat: no-repeat;
  background-position: bottom right;
}

.search fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

.btn-collapse {
  border-radius: 100%;
  position: absolute;
  right: 45%;
}

.btn-select {
  float: right;
  padding: 0;
}

h5.card-header {
  height: 76px;
  cursor: pointer;
}

#goTop {
  display: none;
  position: fixed;
  bottom: 25px;
  right: 25px;
  height: 48px;
  width: 48px;
  padding-top: 12px;
}

#goTop i {
  position: relative;
  bottom: 0;
  transition: all 0.25s ease-in-out;
}

#goTop:hover i {
  bottom: 4px;
}

.card {
  width: 30%;
  margin: 19px;
}

span.event-title {
  font-size: 12pt;
}

#count {
  font-size: 1.2em;
  padding: 0;
  font-weight: bold;
}

#CardsPerPage {
  width: 65px;
}

.card-subtitle {
  padding: 0;
  font-size: 10pt;
}

.card-text {
  font-size: 10pt;
}

.card-text.contact-info span {
  display: block;
}

.card-text a {
  color: #01573e;
  text-decoration: underline;
}

.card-text a:hover {
  text-decoration: none;
}

.tags {
  font-size: 8pt;
  font-weight: bold;
}

.page-item {
  font-size: 10pt;
}

.modal-dialog {
  margin: 100px auto;
}

.modal-body p {
  font-size: 0.8em;
}

.modal-body ul {
  padding-left: 0;
}

.modal-body ul li {
  list-style: none;
  border-bottom: solid 1px #ccc;
  padding-bottom: 10px;
}

.modal-body ul li:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.page-link.active {
  background-color: #e9ecef;
}

.form-check--activity {
  width: 200px;
  padding: 5px 5px 5px 30px;
  margin-top: 3px;
}

.form-check--week {
  width: 270px;
  padding: 5px 5px 5px 30px;
  margin: 2px;
}

@media screen and (max-width: 500px) {
  .form-check--week {
    width: 100%;
  } 
}

.breadcrumb {
  display: inherit;
  background-color: white;
}

h6 {
  font-size: 12pt;
}

main {
  margin: 3rem 0;
  width: 100%;
}

.selection-target p span {
  display: block;
}

.modal-body p,
.modal-body span {
  font-size: 10pt;
}

.dropdown-toggle::after {
  height: 2px;
  width: 16px;
  border: none;
}

.disabled {
  text-decoration: line-through;
  font-style: italic;
}

#catFilter {
  background: white;
  background: linear-gradient(90deg, rgba(79, 122, 189, 0.5) 0%, rgba(176, 153, 200, 0.5) 20%, rgba(147, 204, 179, 0.5) 40%, rgba(201, 108, 171, 0.5) 60%, rgba(0, 96, 175, 0.5) 80%, rgba(0, 182, 189, 0.5) 100%);
  padding: 1rem;
}

#yearFilter {
  padding: 1rem;
}

@media screen {
  #SUMMERFUNBROCHURE_PRINT_OUTER {
    display: none;
  }
}

@media print {
  #SUMMERFUNBROCHURE_CONTROLS_OUTER,
  #SUMMERFUNBROCHURE_EVENTS_OUTER,
  #SUMMERFUNBROCHURE_BASKET_OUTER,
  div.modal {
    display: none !important;
  }

  #SUMMERFUNBROCHURE_PRINT_OUTER {
    display: block;
  }

  .icmform {
    border: none;
  }

  #printList li {
    padding-bottom: 2rem;
  }

  .modal-backdrop {
    display: none;
  }

  .close {
    display: none;
  }

  main a:not(.item__link) {
    text-decoration: none;
    color: #6c757d!important;
  }
  
  span:last-child a::after {
    content: "- https:" attr(href);
    margin-left: 5px;
    font-weight: bold;
  }
}

@media only screen and (max-width: 767px) {
  #results {
    padding: 0;
  }

  #menu {
    padding: 0;
    text-align: center !important;
    order: 1;
  }

  #count {
    order: 2;
    text-align: center;
  }

  span.event-title {
    font-size: 11pt;
  }

  .card {
    width: 100%;
    margin: 1em 0;
  }

  .form-check {
    width: 49%;
    margin: 5px 0;
  }

  .a-body.a-body--formsservice {
    background-position: left bottom, center bottom, right bottom;
  }

  .form-check-label {
    margin-left: 10px;
    padding-top: 4px;
  }
}

ion-icon {
  position: relative;
  top: 2px;
}

i {
  display: none;
}

.icmform .icmhideborder legend {
  margin-bottom: 0;
  padding: .25rem .5rem;
  border: solid 3px #fcd703;
}