﻿.l-layout__filters {
  order: 1;
  flex: 1 1 25%;
  max-width: 27rem;
  padding-right: 3.5vw;
}

@media (max-width: 990px){
  .l-layout__column--reorder {
      order: 1 !important;
      margin-bottom: 1.25rem;
  }
}

.c-simple-cta--gray .c-simple-cta__inner {
  box-shadow: none;
  background: #F5F5F5;
}

.c-simple-cta--gray .c-simple-cta__media {
  border-bottom: 1rem solid white;
}

@media (min-width:990px) {
  .c-simple-cta--gray .c-simple-cta__media {
      flex: 0 0 45%;
      max-width: 45%;
      padding-right: 2rem;
      border-bottom: 0;
      background: #FFF;
  }    
  .c-simple-cta--rev>.l-container:before, 
  .c-simple-cta>.l-container:before {
      width: 25%;
  }
  .c-simple-cta--gray.c-simple-cta--rev .c-simple-cta__media {
      padding-left: 2rem;
  }
  .c-simple-cta--gray .c-simple-cta__content {
      flex: 0 0 55%;
      max-width: 55%;
  }
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-group select {
  appearance: none;
  border: 1px solid #ccc;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  min-height: 3.125rem;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  width: 100%;
  z-index: 1;
  background: url(/assets/_img/clinicaltrial/chevron-down-solid.svg) calc(100% - 15px) 55% no-repeat #FFFFFF;
  background-size: 10px;
}

.event-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
  background: #FFFFFF;
  box-shadow: 0px 0px 20px 3px rgba(0, 0, 0, 0.15);
}

.event-card--info {
  background: #F5F5F5;
  box-shadow: none;
}

.event-card .c-btn {
  margin-top: auto;
}

.event-card__icon-info {
  display: flex;
  align-items: flex-start;
  margin-top: 1.25rem;
}

.event-card__icon-info svg {
  margin-right: 1rem;
  margin-top: 0.125rem;
}

.event-card__row {
  display: flex;
}

.event-card__info-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

@media (min-width:768px) and (max-width:1024px) {
  .event-card__info-row {
    gap: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width:1200px) {
  .event-card__info-row {
    gap: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.event-card__name {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin: 1rem 0;
}

.event-card__name > a {
  color: #000;
  text-decoration: none;
}

.event-card__date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  width: 60px;
  height: 60px;
  padding: .5rem 1rem;
  margin-right: 1rem;
  background: #003764;
  border-radius: 4px;
  color: #FFF;
}

.event-card__date span {
  display: block;
  line-height: 1;
}

.event-card__date span:first-child {
  font-weight: 700;
  font-size: 22px;
}

.event-card__date span:last-child {
  text-transform: uppercase;
  font-weight: 400;
  font-size: 14px;
}

.event-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.event-card__list li {
  display: flex;
  align-items: center;
  margin-bottom: .5rem;
  font-weight: 300;
}

.event-card__list svg {
  margin-right: .5rem;
}

.event-card__list--body {
  margin: 1rem 0;
}

.event-card-result {
  display: flex;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid #BEC0C2;
}

.event-card-result .event-card__name {
  margin-top: 0;
  margin-bottom: .5rem;
}

.event-card__info-icon {
  display: flex;
  align-items: center;
}

.event-card__info-icon svg {
  margin-right: .5rem;
}

.event-card-result__info {
  flex: 1;
}

.event-see-more {
  display: flex;
  justify-content: end;
  margin-top: 1rem;
}

.form-item select {
  appearance: none;
  border: 1px solid #ccc;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  min-height: 3.125rem;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.search-form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width:990px) {
  .search-form-row {
    flex-direction: row;
    align-items: flex-start;
  }

  .search-form-row .form-item {
      flex: 1 1 auto;
  }
}

.l-layout__filters .m-conversion {
  margin-top: 2rem;
}

.c-tabs--events .c-tabs__container ul {
  flex-direction: row;
}

.u-clear-btn {
  appearance: none;
  border: 0;
  background: none;
  color: #1d72af;
  font-weight: 500;
  margin: 1rem 0;
}

.u-clear-btn:before {
  content: "✕";
  margin-right:.5rem;
  font-weight:700;
  font-size:1.125rem;
}

.text-center {
    text-align: center;
}

#massey-events-search-category {
  background: url(/assets/_img/clinicaltrial/chevron-down-solid.svg) calc(100% - 15px) 55% no-repeat;
}

.btn-calendar {
  appearance: none;
  border: 0;
  padding: 0;
  color: #1D72AF;
  min-height: auto;
  background: none;
  font-weight: 700;
  width: auto;
  text-decoration: underline;
  cursor: pointer;
}

.btn-calendar:hover {
  color: #155583;
}

.c-ce-register input,
.c-ce-register textarea {
  border: 1px solid #ccc;
  color: #000;
}

.c-ce-register input[type="radio"] {
  appearance: auto;
}

.c-ce-register input[type="file"] {
  padding: 0.75rem;
}

#class-registration input.next-prev {
  border-radius: 0;
  font-weight: 700;
  color: #000;
  border-color: #1D72AF;
  margin: 20px 0;
}

#class-registration input#step-2-next,
#class-registration input#step-1-next,
#class-registration input#step-5-next {
  box-shadow: 0 0 0 0 rgba(1,52,128,0.15);
  border-color: #FFBA00;
  background: #FFBA00;
  color: #000;
}

.c-ce-register select,
.c-ce-register .registrant-validation-group .ce-registration-row select {
  appearance: none;
  border: 1px solid #ccc;
  box-shadow: none;
  box-sizing: border-box;
  display: inline-block;
  height: 100%;
  min-height: 3.125rem;
  overflow: hidden;
  padding: 6px 12px;
  position: relative;
  width: 100%;
  z-index: 1;
  border-radius: 0;
  background: url(/assets/_img/clinicaltrial/chevron-down-solid.svg) calc(100% - 15px) 55% no-repeat;
}

.ce-registration-row {
  max-width: none;
}

.c-ce-register .option-field {
  margin: 1rem 0;
}

.c-ce-register .option-field .option-value {
  display: flex;
}

.c-ce-register .option-field input[type="file"] {
  flex: 0 0 80%;
}

.c-ce-register .option-field input[type="button"] {
  padding: 0;
  box-shadow: 0 0 0 0 rgba(1,52,128,0.15);
  border-color: #FFBA00;
  background: #FFBA00;
  color: #000;
  font-weight: 700;
}

.c-ce-register .option-field .option-label span {
  display: none !important;
}

.daterangepicker {
  font-family: 'Roboto', sans-serif;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.25);
}

@media(min-width:768px){
  .daterangepicker {
    padding: 0.75rem 2rem 0.5rem;
  }
}

.daterangepicker .calendar-table .next span, .daterangepicker .calendar-table .prev span {
  padding: 4px;
}

.daterangepicker:before,
.daterangepicker:after {
  display: none;
}

.daterangepicker .calendar-table tr:nth-child(even) {
  background: none;
}

.daterangepicker .calendar-table th {
  background: none;
  font-weight: 400;
}

.daterangepicker .calendar-table th, 
.daterangepicker .calendar-table td {
  min-width: 36px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  font-size: 1rem;
  padding: 0;
}

.daterangepicker .calendar-table .month {
  color: #1D72AF;
  font-weight: 700;
}

.daterangepicker .drp-buttons .c-btn {
  min-width: auto;
  padding: 0.5rem 1rem;
  letter-spacing: inherit;
}

.daterangepicker td.in-range {
  background: none;
  color: #003764;
  font-weight: 700;
}

.daterangepicker td.start-date,
.daterangepicker td.end-date {
  border-radius: 40px;
}

.daterangepicker td.active, 
.daterangepicker td.active:hover {
  background-color: #003764;
  color: #FFF;
  border-radius: 40px;
  font-weight: 700;
}

.daterangepicker td.available:hover, 
.daterangepicker th.available:hover,
.daterangepicker td.start-date.end-date {
  border-radius: 40px;
}

.daterangepicker .drp-selected {
  font-size: 14px;
  font-weight: 500;
  display: block;
}

@media (min-width:768px) {
  .daterangepicker .drp-selected {
    display: inline-block;
  }
}

.daterangepicker .drp-buttons {
  text-align: center;
  border-top: 0;
  padding: 1rem 1rem 1.25rem;
}

.daterangepicker .drp-buttons .btn {
  font-size: 14px;
  font-weight: 500;
}

.daterangepicker .cancelBtn {
  appearance: none;
  background: none;
  border: none;
}

@media (min-width:990px) {
  .ce-form-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
  }

  .ce-form--1 {
    flex: 1 1 auto;
  }

  .ce-form--2 {
    flex: 2 1 auto;
  }

  #step-1,
  #step-2 {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
  }

  #step-1 .event-card,
  #step-2 .event-card {
    max-width: 33.333%;
  }
  
  #step-1 .c-ce-info,
  #step-2 .c-ce-info {
    flex: 1 1 auto;
    max-width: 66.666%;
  }
}