@-webkit-keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* breakpoints */
.search-results {
  /* breakpoints */
  position: relative;
}

@keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes scale-display {
  0% {
    opacity: 0;
    transform: scale(0.5);
    -webkit-transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.search-results label {
  background: transparent;
  color: #002266;
}

.search-results input {
  display: inline-block;
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #d2d2d2;
  color: #002266;
  font-weight: normal;
  padding: 8px 2%;
  clear: both;
  height: auto;
  font-size: 16px;
}

.search-results input:focus {
  border: 1px solid #d2d2d2;
}

.search-results input[type="reset"] {
  border: 1px solid #ccc;
  padding: 5px 20px;
}

.search-results input[type="reset"]:hover {
  background: #f7f7f7 !important;
}

.search-results input::-moz-focus-inner, .search-results button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.search-results input[type="text"], .search-results input[type="email"], .search-results input[type="password"], .search-results textarea, .search-results select {
  color: #002266;
  width: 100%;
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  height: 44px;
  font-size: 1rem;
}

.search-results textarea {
  padding: 8px 2%;
  min-height: 90px;
}

.search-results select {
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  padding: 5px;
}

.search-results input[type="button"],
.search-results input[type="submit"] {
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 2px solid transparent;
  padding: 13px 32px;
  font-size: 1rem;
  border-radius: 0.2rem;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  text-decoration: none !important;
  color: #fff;
  background-color: #0077cc;
  border-color: #0077cc;
}

.search-results input[type="button"]:focus, .search-results input[type="button"]:hover,
.search-results input[type="submit"]:focus,
.search-results input[type="submit"]:hover {
  color: #fff;
  background-color: #00538f;
  border-color: #00538f;
}

.search-results .search-result-list {
  padding: 5px 0 0 0;
  list-style: none;
  margin: 0;
}

.search-results.vertical .search-result-list > li, .search-results.component-details .search-result-list > li, .search-results.standard-fields .search-result-list > li {
  border-top: 1px solid #c1c1c1;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
  position: relative;
  width: 100%;
  padding: 20px 0 0 0;
  margin: 40px 0 0 0;
}

.search-results.vertical .search-result-list > li:first-child, .search-results.component-details .search-result-list > li:first-child, .search-results.standard-fields .search-result-list > li:first-child {
  margin-top: 0;
}

.search-results.vertical .search-result-list > li a img, .search-results.component-details .search-result-list > li a img, .search-results.standard-fields .search-result-list > li a img {
  max-width: 100%;
  height: auto;
}

.search-results.vertical .search-result-list > li:hover, .search-results.component-details .search-result-list > li:hover, .search-results.standard-fields .search-result-list > li:hover {
  border-bottom-width: 1px 1px 2px 1px;
  border-bottom-style: solid;
  border-bottom-color: #15909c;
}

.search-results.vertical .search-result-list > li .field-headline, .search-results.component-details .search-result-list > li .field-headline, .search-results.standard-fields .search-result-list > li .field-headline {
  font-size: 1.75rem;
  line-height: normal;
  color: #0077cc;
  font-weight: bold;
  margin-bottom: 10px;
}

.search-results.vertical .search-result-list > li .field-headline a, .search-results.component-details .search-result-list > li .field-headline a, .search-results.standard-fields .search-result-list > li .field-headline a {
  color: #0077cc;
  text-decoration: none;
}

.search-results.vertical .search-result-list > li .field-headline a:hover, .search-results.component-details .search-result-list > li .field-headline a:hover, .search-results.standard-fields .search-result-list > li .field-headline a:hover {
  color: #00538f;
}

.search-results.vertical .search-results-box, .search-results.component-details .search-results-box, .search-results.standard-fields .search-results-box {
  display: flex;
}

@media (max-width: 991px) {
  .search-results.vertical .search-results-box, .search-results.component-details .search-results-box, .search-results.standard-fields .search-results-box {
    flex-direction: column;
    text-align: center;
  }
}

.search-results.vertical .search-results-box .field-image, .search-results.component-details .search-results-box .field-image, .search-results.standard-fields .search-results-box .field-image {
  width: 200px;
  flex-shrink: 0;
  margin-right: 20px;
}

@media (max-width: 991px) {
  .search-results.vertical .search-results-box .field-image, .search-results.component-details .search-results-box .field-image, .search-results.standard-fields .search-results-box .field-image {
    width: auto;
    max-width: 500px;
    margin: 0 auto 20px auto;
  }
}

.search-results.vertical .search-results-box .field-image img, .search-results.component-details .search-results-box .field-image img, .search-results.standard-fields .search-results-box .field-image img {
  border-radius: 8px;
}

.search-results.horizontal .search-result-list, .search-results.components .search-result-list, .search-results.example-fields .search-result-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
  min-width: 100%;
}

.search-results.horizontal .search-result-list:after, .search-results.components .search-result-list:after, .search-results.example-fields .search-result-list:after {
  content: "";
  display: table;
  clear: both;
}

.search-results.horizontal .search-result-list > li, .search-results.components .search-result-list > li, .search-results.example-fields .search-result-list > li {
  box-sizing: border-box;
  position: relative;
  min-height: 120px;
  min-height: 175px;
  width: 25%;
  padding: 0 15px;
  margin: 0 0 20px 0;
}

@media (max-width: 1199px) {
  .search-results.horizontal .search-result-list > li, .search-results.components .search-result-list > li, .search-results.example-fields .search-result-list > li {
    width: 33.33%;
  }
}

@media (max-width: 991px) {
  .search-results.horizontal .search-result-list > li, .search-results.components .search-result-list > li, .search-results.example-fields .search-result-list > li {
    width: 50%;
  }
}

@media (max-width: 575px) {
  .search-results.horizontal .search-result-list > li, .search-results.components .search-result-list > li, .search-results.example-fields .search-result-list > li {
    width: 100%;
  }
}

.search-results.horizontal .search-result-list > li a img, .search-results.components .search-result-list > li a img, .search-results.example-fields .search-result-list > li a img {
  max-width: 100%;
  height: auto;
}

.search-results.horizontal .search-result-list > li:hover, .search-results.components .search-result-list > li:hover, .search-results.example-fields .search-result-list > li:hover {
  border-bottom-width: 1px 1px 2px 1px;
  border-bottom-style: solid;
  border-bottom-color: #15909c;
}

.search-results .search-results-overlay {
  display: none;
}

.search-results.loading-in-progress {
  min-height: 200px;
}

.search-results.loading-in-progress .search-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
}

.search-results.loading-in-progress .search-result-overlay:after {
  content: "";
  background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJibGFjayI+CiAgPHBhdGggIG9wYWNpdHk9Ii4yNSIgZD0iTTE2IDAgQTE2IDE2IDAgMCAwIDE2IDMyIEExNiAxNiAwIDAgMCAxNiAwIE0xNiA0IEExMiAxMiAwIDAgMSAxNiAyOCBBMTIgMTIgMCAwIDEgMTYgNCIvPgogIDxwYXRoIGZpbGw9JyNkZGRkZGQnIGQ9Ik0xNiAwIEExNiAxNiAwIDAgMSAzMiAxNiBMMjggMTYgQTEyIDEyIDAgMCAwIDE2IDR6Ij4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDE2IDE2IiB0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPgogIDwvcGF0aD4KPC9zdmc+);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: absolute;
  width: 50px;
  height: 50px;
  top: 50%;
  left: 0;
  right: 0;
  margin: -30px auto 0;
}

.search-results.loading-more-in-progress:after {
  content: "";
  display: block;
  background-image: url(data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAzMiAzMiIgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiBmaWxsPSJibGFjayI+DQogIDxwYXRoICBvcGFjaXR5PSIuMjUiIGQ9Ik0xNiAwIEExNiAxNiAwIDAgMCAxNiAzMiBBMTYgMTYgMCAwIDAgMTYgMCBNMTYgNCBBMTIgMTIgMCAwIDEgMTYgMjggQTEyIDEyIDAgMCAxIDE2IDQiLz4NCiAgPHBhdGggZmlsbD0nIzFhODBiNicgZD0iTTE2IDAgQTE2IDE2IDAgMCAxIDMyIDE2IEwyOCAxNiBBMTIgMTIgMCAwIDAgMTYgNHoiPg0KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0icm90YXRlIiBmcm9tPSIwIDE2IDE2IiB0bz0iMzYwIDE2IDE2IiBkdXI9IjAuOHMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPg0KICA8L3BhdGg+DQo8L3N2Zz4NCg==);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 50% 50%;
  height: 100px;
}

.search-results .no-results {
  padding: 5px;
}
