/* --------------------------------------------------------
CP Promoted trips
Styles for the promoted and add new pages and filter
--------------------------------------------------------- */

/* Promoting challenges page
--------------------------------------------------------- */

.cp-promoted__lead {
  margin: 10px 0;
}

.cp-promoted__well {
  background-color: #eee;
  padding: 15px;
  margin-bottom: 20px;
  overflow: hidden;
}
.cp-promoted__well {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cp-promoted-list {
  margin-bottom: 20px;
}

.cp-promoted-list__item {
  border-bottom: 1px solid #ccc;
  padding: 3px 0;
  overflow: hidden;
}
.cp-promoted-list__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
  
.cp-promoted-list__trip-name {
  display: inline-block;
  flex: 2;
}
.cp-promoted-list__booking-link {
  text-transform: uppercase;
  display: inline-block;
  margin-right: 20px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  color: #EE4C9B;
  position: relative;
}
.cp-promoted-list__booking-link:hover {
  color: #1CACBA;
}
.cp-promoted-list__booking-link:active,
.cp-promoted-list__booking-link:focus {
  background-color: #D2FAD2;
}


/* Older browsers */
.cp-promoted-list__remove {
  float: right;
}


/* Promoted trips - add new
--------------------------------------------------------- */

.cp-promoted-new__back {
  font-size: 20px;
  letter-spacing: 0;
  color: #EE4C9B;
}

/* Promoted trips - filter
--------------------------------------------------------- */

/* filter search field*/
.cp-filter__input {
  width: 100%;
  background-image: url('../images/icon_search.svg');
  background-position: center right 10px;
  background-repeat: no-repeat;
  border: 1px solid #aaa;
  border-radius: 2px;
  padding: 10px 15px;
  margin-bottom: 10px;
}

input.cp-filter__input::-webkit-input-placeholder {
  color: #bbb;
  font-style: italic;
}
input.cp-filter__input:-ms-input-placeholder {
  color: #bbb;
  font-style: italic;
}
input.cp-filter__input:-moz-placeholder {
  color: #bbb;
  font-style: italic;
}
/* results list */
.cp-filter__results {
  font-size: 14px;
}
.cp-filter__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px;
}
.cp-filter__title {
  font-size: 18px;
  margin: 0;
}

.cp-filter__listings {
  margin-bottom: 15px;
}

.cp-filter__label {
  font-weight: normal;
  display: block;
}


/* Modern browsers */
.cp-filter__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cp-filter__item {
  overflow: auto;
}
.cp-filter__item .cp-filter__label {
  cursor: pointer;
  flex: 2;
  padding: 3px;
}
.cp-filter__item .cp-filter__checkbox {
  margin: 3px;
  vertical-align: middle;
}

.cp-filter__item {
  border-bottom: 1px solid #ddd;
}
.cp-filter__item:hover {
  background-color: #f1f1f1;
}
