/* ==========================
    Signup form
============================= */
.event-signup-form {
  display: none;
  background-color: #f1f6ff;
  padding: 2em;
}

.event-signup-form.show-form {
  display: block;
}

.event-signup-form p {
  font-size: 16px;
  margin-bottom: 1em;
  font-weight: 400;
}

.event-signup-form label {
  font-family: Viga, sans-serif;
  color: #10069F;
}

@media (max-width: 768px) {
  .eventRow .event-signup-form {
    padding: 0;
  }
}

/* ==========================
    Breadcrumb
============================= */
.breadcrumb {
	background: transparent;
  	padding: 0;
  	color: #10069F;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\2192';
    padding: 0 1rem 0 1rem;
    display: inline-block;
    vertical-align: middle;
    font-weight: bold;
}

.breadcrumb a  {
  	text-decoration: none;
  	vertical-align: text-top;
}

.breadcrumb li.breadcrumb-item {
  	padding: 0
}

.breadcrumb .active {
  	font-weight: bold;
}

/* ==========================
    Dropdown toggle component
============================= */
.dropdownToggle {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  border-top: 0.75em solid #232387;
  border-right: 0.5em solid transparent;
  border-bottom: 0;
  border-left: 0.5em solid transparent;
}

/* ==========================
    Event row component
============================= */
.eventRow {
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid #232387;
}

.eventRow ul {
  list-style: none;
  padding: 0;
}

.eventRow ul li {
  padding: 0 0 0.75rem;
  vertical-align: top;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: bold;
  font-size: 15px;
}

.eventRow ul li .eventTimeBox {
  margin-left: auto;
}

.eventRow ul li h4 {
  margin-bottom: 0;
  color: #232387;
  font-weight: bold;
  font-size: 16px;
  margin-right: 2em;
}

.eventRow ul li p {
  color: black;
  margin-bottom: 0;
  font-weight: 500;
}

.eventRow ul li.cancelled {
  background-color: lightgrey;
  color: darkgray;
}

.eventRow .card-header {
  padding: 0;
  border: none;
  background-color: white;
}

.eventRow .card-body {
  padding: 0;
}

@media (max-width: 768px) {
  .eventRow {
    border: none;
  }
  
  .eventRow:nth-of-type(even) .card-header {
    background-color: #f1f6ff;
  }
  
  .eventRow .card-body {
    background-color: #f1f6ff;
    padding-bottom: 40px;
  }
  
  .eventRow .card-header,
  .eventRow .collapse {
    width: 100%;
  }
  
  .eventRow ul {
    margin-bottom: 0;
  }
  
  .eventRow ul li {
    border: none;
    padding: 0 15px 15px;
    background-color: #f1f6ff;
  }
  
  .eventRow ul li:first-of-type {
    padding-top: 15px;
  }
  
  .eventRow ul li h4 {
    font-size: 13px;
  }
  
  .eventRow ul li p {
    font-size: 12px;
  }
}

/* =================================
    eventRowListToggle component
=================================== */
.btn.eventRowListToggle:not(.collapsed) .dropdownToggle {
  border-bottom: 0.75em solid #232387;
  border-top: 0;
}

.eventRowListToggle {
  padding: 0;
  width: 100%;
  border: none;
  text-align: left;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn.eventRowListToggle {
  white-space: normal;
}

.eventRowListToggle:hover,
.eventRowListToggle:focus,
.eventRowListToggle:visited {
  text-decoration: none;
  outline: none;
}

.eventRowListToggle span:first-of-type {
  margin-left: auto;
}

.eventRowListToggle span:first-of-type:not(:last-of-type) {
  margin-right: 2em;
}

@media (max-width: 768px) {
  .eventRowListToggle {
    font-size: 15px;
    padding: 0 15px;
  }
  
  .eventRowListToggle:focus {
    text-decoration: none;
  }
  
  .eventRowListToggle:not(.btn) {
    padding: 0 0 0 15px;
  }
  
  .eventRowListToggle.btn:not(.collapsed) {
    background-color: #232387;
  }
  
  .eventRowListToggle > div {
    width: 50%;
  }
  
  .eventList .eventRowListToggle h3 {
    font-weight: bold;
    font-size: 14px;
  }
  
  .eventRowListToggle p {
    font-size: 12px;
  }
  
  .eventRowListToggle .eventTimeBox {
    background-color: transparent;
  }
  
  .eventRowListToggle.btn:not(.collapsed) h3,
  .eventRowListToggle.btn:not(.collapsed) span,
  .eventRowListToggle.btn:not(.collapsed) p {
    color: white;
  }

  .eventRowListToggle span.dropdownToggle:first-of-type:not(:last-of-type) {
    margin-right: 0;
    order: 2;
  }
  
  .btn.eventRowListToggle:not(.collapsed) .dropdownToggle {
    border-bottom: 0.75em solid white;
    border-top: none;
  }
}

/* ==========================
    Event time box component
============================= */
.eventTimeBox {
  background-color: #f1f6ff;
  padding: 0.5em 1em;
  text-align: center;
  min-width: 150px;
  font-size: 16px;
  color: #232387;
  font-weight: 600;
}

.eventTimeBox.cancelled {
  background-color: lightgrey;
  color: darkgray;
}

.eventTimeBox.diverse {
  text-align: left;
}

@media (max-width: 768px) {
  .eventTimeBox {
  	min-width: 135px;
  }
  
  .eventTimeBox.diverse {
    text-align: center;
  }
}
