.main-header .main-search {
  float: left;
  width: 100%;
  margin-top: 20px;
}

.is-subdomain .main-header .main-search {
  float: right;
  width: 350px;
  margin-top: -35px;
}

.main-header .main-search .form-item-keys,
.main-header .main-search .form-item-string {
  position: relative;
}

.main-header .main-search .form-item-keys::after,
.main-header .main-search .form-item-string::after {
  content: '';
  display: block;
  position: absolute;
  left: 26px;
  top: 10px;
  width: 33px;
  height: 33px;
  background: url(/themes/evidente/images/search.svg);
  background-size: 33px 33px;
  background-position: left center;
  background-repeat: no-repeat;
}

.main-header .main-search .form-item-keys input,
.main-header .main-search .form-item-string input {
  width: 100%;
  display: block;
  padding: 16px 0;
  border-radius: 3px;
  padding-left: 86px;
  box-sizing: border-box;
  border: medium none;
}

.main-header .main-search .form-item-string label {
  display: none;
}

.main-header .main-search .form-actions {
  display: none;
}

.main-header .main-search .sudovi-custom-live-search {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  box-shadow: 0 2px 6px 0 rgba(24, 25, 25, 0.16);
  z-index: 9999;
  max-height: 510px;
  overflow-y: auto;
}

.is-subdomain .main-header .main-search .sudovi-custom-live-search {
  width: 200%;
  left: auto;
  right: 0;
}

.main-header .main-search .sudovi-custom-live-search .type {
  text-align: center;
  background-color: #249ec5;
  color: #FFFFFF;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92em;
  font-weight: 500;
  padding: 4px 0 3px 0;
}

.main-header .main-search .sudovi-custom-live-search .content {
  padding: 16px;
}

.main-header .main-search .sudovi-custom-live-search .content .title a {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92em;
  font-weight: 500;
  color: #252a37;
  margin-bottom: 30px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.main-header .main-search .sudovi-custom-live-search .content .title a:hover {
  text-decoration: underline;
}

.main-header .main-search .sudovi-custom-live-search .content .title:last-child {
  margin-bottom: 0;
}

.main-header .main-search .sudovi-custom-live-search .content .title .highlight {
  color: #ef3e42;
  font-weight: 600;
}

.main-header .main-search .sudovi-custom-live-search .content .title .court {
  color: #888D9A;
  display: inline-block;
  margin-left: 5px;
}

/* Search page */
.sudovi-custom-advance-search-form .first-part {
  margin-bottom: 15px;
}

.sudovi-custom-advance-search-form .first-part .form-item-string,
.sudovi-custom-advance-search-form .first-part .form-actions {
  display: inline-block;
}

.sudovi-custom-advance-search-form .first-part .form-item-string label,
.sudovi-custom-advance-search-form .form-item-courts label,
.sudovi-custom-advance-search-form .form-item-from label,
.sudovi-custom-advance-search-form .form-item-to label {
  display: inline-block;
  width: 80px;
  color: #414b52;
  font-family: 'Poppins', sans-serif;
}

.sudovi-custom-advance-search-form .form-item-courts,
.sudovi-custom-advance-search-form .form-item-from,
.sudovi-custom-advance-search-form .form-item-to {
  margin-bottom: 15px;
}

.sudovi-custom-advance-search-form .first-part .form-item-string input,
.sudovi-custom-advance-search-form .form-item-courts select,
.sudovi-custom-advance-search-form .form-item-from input,
.sudovi-custom-advance-search-form .form-item-to input {
  display: inline-block;
  width: 328px;
  border-radius: 3px;
  border: solid 1px #a9bbca;
  background-color: #ffffff;
  color: #414b52;
  padding: 8px 15px;
}

.sudovi-custom-advance-search-form .first-part .form-actions input.form-submit {
  width: auto;
  border-radius: 5px;
  background-color: #249ec5;
  border: 2px solid #249ec5;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 15px;
  margin-left: 20px;
}

.sudovi-custom-advance-search-form .first-part .form-actions input.form-submit:hover {
  color: #249ec5;
  background-color: #FFFFFF;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

.sudovi-custom-advance-search-form fieldset {
  margin: 15px 0;
  padding: 12px 12px 25px 12px;
  background-color: #f4f7f9;
  border: medium none;
}

.sudovi-custom-advance-search-form fieldset legend,
.sudovi-custom-search-page h2 {
  float: left;
  margin-bottom: 20px;
  font-size: 1.5em;
  font-weight: 600;
  line-height: 1.52;
  color: #252a37;
}

.sudovi-custom-advance-search-form fieldset .form-checkboxes::after {
  content: "";
  clear: both;
  display: table;
}

.sudovi-custom-advance-search-form fieldset .form-checkboxes .form-item {
  width: 50%;
  float: left;
}

.sudovi-custom-advance-search-form fieldset .form-checkboxes .form-item label {
  display: inline-block;
  color: #414b52;
  font-family: 'Poppins', sans-serif;
}

.sudovi-custom-search-page {
  margin-top: 40px;
}

.sudovi-custom-search-page h2 {
  float: none;
}

.sudovi-custom-search-page .wrapper {
  margin-bottom: 50px;
}

.sudovi-custom-search-page .wrapper .type {
  background-color: #249ec5;
  color: #FFFFFF;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
  font-size: 0.92em;
  font-weight: 500;
  padding: 4px 0 3px 20px;
}

.sudovi-custom-search-page .wrapper .content {
  padding: 30px 0 30px;
  border-bottom: 2px solid #e0e5f0;
  margin-bottom: 15px;
}

.sudovi-custom-search-page .wrapper .content .title a {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1em;
  font-weight: 500;
  color: #249ec5;
  text-decoration: underline;
}

.sudovi-custom-search-page .wrapper .content .title a:hover {
  color: #414b52;
}

.sudovi-custom-search-page .wrapper .content .title a .court {
  display: inline-block;
  margin-left: 5px;
  color: #888D9A;
}

.sudovi-custom-search-page .wrapper .content .body {
  color: #414b52;
  margin-top: 20px;
  line-height: 1.6em;
}

.sudovi-custom-search-page .wrapper .content .highlight {
  color: #ef3e42;
  font-weight: 600;
}

@media (max-width: 991px) {
  .is-subdomain .main-header .main-search {
    float: left;
    width: 100%;
    margin-top: 20px;
  }

  .is-subdomain .main-header .main-search .sudovi-custom-live-search {
    width: 100%;
  }
}
