/* SEARCH FORM */
.title-with-search {
  display: flex;
}

.search-form {
  position: relative;
  flex-grow: 1;
  margin-left: 50px;
}

@media only screen and (max-width: 798px) {
  .title-with-search {
    flex-flow: column;
  }

  .search-form {
    margin-left: 0px;
    margin-bottom: 30px;
  }
}

.search-form ::placeholder {
  color: #333333;
  opacity: 1;
}

.search-form :-ms-input-placeholder {
  color: #333333;
}

.search-form ::-ms-input-placeholder {
  color: #333333;
}

.search-one-line {
  display: flex;
}

.search-form input[type="search"] {
  flex-grow: 1;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.search-form input[type="text"],
.search-form input[type="search"],
.search-form input[type="date"],
.search-form button,
.search-form select {
  background-color: #fff;
  height: 40px;
  border: 1px solid #ccc;
  margin: 0;
  transition: all 0.5s;
  font-size: 14px;
}

.search-form input[type="date"],
.search-form input[type="search"] {
  padding: 10px;
  color: #333333 !important;
}

.search-form select {
  color: #333333 !important;
}

.search-icon-wrapper {
  padding: 0 20px;
  cursor: pointer;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #333c4e !important;
  border: 1px solid #333c4e !important;
  color: #fff !important;
  border-left: 1px solid #fff !important;
}

.search-icon-wrapper span {
  font-size: 15px;
}

.search-more-options {
  background-color: #333c4e !important;
  border: 1px solid #333c4e !important;
  color: #fff;
  cursor: pointer;
}

.advanced-search-link {
  text-align: right;
  height: 52px;
}
.advanced-search-link a {
  color: #333c4e !important;
  position: relative;
  margin: 0;
  text-transform: none;
  font-size: 14px;
}

.search-clear {
  background-color: #333c4e !important;
  border: 1px solid #333c4e !important;
  color: #fff;
  cursor: pointer;
  float: right;
  border-radius: 5px;
  width: 100%;
}

.search-more-options-wrapper {
  display: none;
  margin-top: 15px;
}

.search-more-options-wrapper input,
.search-more-options-wrapper select {
  width: 100% !important;
  border-radius: 5px !important;
  margin-bottom: 15px !important;
}

.search-courses-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.search-courses-pagination > * {
  margin: 5px;
  padding: 5px 15px;
}

.search-courses-pagination > span {
  background-color: #333c4e;
  color: #fff;
  border-radius: 5px;
  padding: 5px 15px;
}

.search-courses-pagination a {
  border: 1px solid #333c4e;
  color: #333c4e !important;
  border-radius: 5px;
  padding: 5px 15px;
}

.container_cb {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #333333 !important;
  padding-top: 2px;
  text-transform: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 20px;
}

.container_cb input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #fff;
  border: 1px solid #ccc;
}

.container_cb:hover input ~ .checkmark {
  background-color: #fff;
}

.container_cb input:checked ~ .checkmark {
  background-color: #333c4e;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.container_cb input:checked ~ .checkmark:after {
  display: block;
}

.container_cb .checkmark:after {
  left: 9px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.search-result-count {
  position: relative;
  top: -40px;
}
