/*
$tag-bgcolor-a: #ed7b39;
$tag-bgcolor-b: #df5e14;
*/
/*--------------------
App
--------------------*/
.search-container {
  background-color: #DEDEDE;
  margin: 0;
  width: 100%;
  height: 100px;
  color: #5a6674;
  font-size: 13px;
  overflow: hidden;
  border-radius: 7px; }

.search-form {
  position: relative;
  top: 50px;
  left: 50%;
  width: 90%;
  height: 40px;
  border-radius: 40px;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%);
  background: #fff;
  transition: all 0.3s ease; }
  .search-form.focus {
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.15); }

.search-input {
  position: absolute;
  top: 10px;
  left: 38px;
  font-size: 14px;
  background: none;
  color: #5a6674;
  width: 85%;
  height: 20px;
  border: none;
  appearance: none;
  outline: none; }
  .search-input::-webkit-search-cancel-button {
    appearance: none; }

.search-button {
  position: absolute;
  text-align: right;
  top: 10px;
  left: 15px;
  height: 20px;
  width: 20px;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  outline: none !important;
  cursor: pointer; }
  .search-button svg {
    width: 20px;
    height: 20px;
    fill: #5a6674; }

.search-option {
  position: absolute;
  text-align: right;
  top: 10px;
  right: 15px; }
  .search-option div {
    position: relative;
    display: inline-block;
    margin: 0 1px;
    cursor: pointer; }
    .search-option div input {
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0.01;
      cursor: pointer; }
    .search-option div span {
      position: absolute;
      display: block;
      text-align: center;
      left: 50%;
      transform: translateX(-50%);
      opacity: 0;
      background: #929AA3;
      color: #fff;
      font-size: 9px;
      letter-spacing: 1px;
      line-height: 1;
      text-transform: uppercase;
      padding: 4px 7px;
      border-radius: 12px;
      top: -18px;
      transition: all .2s ease-in-out; }
      .search-option div span::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 50%;
        transform: translateX(-50%);
        border-top: 4px solid #929AA3;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        transition: all .2s ease-in-out; }
    .search-option div:hover span {
      opacity: 1;
      top: -21px; }
    .search-option div label {
      display: block;
      cursor: pointer; }
    .search-option div svg {
      height: 20px;
      width: 20px;
      fill: #5a6674;
      opacity: 0.6;
      transition: all .2s ease-in-out;
      pointer-events: none; }
    .search-option div:hover svg {
      opacity: 1; }
    .search-option div input:checked + label svg {
      fill: #e24040;
      opacity: .9; }
    .search-option div input:checked + label span {
      background: #e24040; }
      .search-option div input:checked + label span::after {
        border-top-color: #e24040; }

/* ---------------- RESULTS ------------------------- */
.result-container {
  font-family: arial,sans-serif;
  font-size: 14px;
  color: #222; }

/* Header */
header {
  border-bottom: 1px solid #ebebeb; }

/* Search */
#search-area {
  grid-area: search; }

/* Navigation */
#nav {
  grid-area: nav;
  display: flex; }

.search-modes {
  display: flex;
  margin-left: 10px;
  font-size: 13px;
  color: #5f6368; }

.nav-mode {
  display: inline-flex;
  justify-content: center;
  margin-top: 10px;
  padding: 16px 12px 12px 9px; }

.nav-mode:hover svg,
.nav-mode:hover {
  color: #1A73E8; }

.selected-mode {
  border-bottom: 3px solid #1A73E8;
  color: #1A73E8; }

.mode-icon {
  margin: 0 5px 3px 2px;
  height: 16px;
  width: 16px;
  fill: currentColor;
  color: #5f6368; }

.mode-text {
  margin-top: 1px; }

.mode-more {
  margin-right: 0px;
  margin-left: -1px; }

.search-settings {
  margin-left: 57px;
  font-size: 13px;
  color: #5f6368; }

.nav-tools {
  margin: 21px 0 7px -3px;
  padding: 6px 11px;
  border: 1px solid transparent; }

.nav-tools:hover {
  background-color: #f8f8f8;
  background-image: linear-gradient(to bottom, #f8f8f8, #f1f1f1);
  border: 1px solid #c6c6c6;
  border-radius: 2px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  transition: all 0.0s; }

/* Main Content */
main {
  display: grid;
  grid-template-columns: 146px 640px auto;
  grid-template-rows: auto;
  grid-template-areas: ". main ."; }

#main {
  /*grid-area: main;*/
  padding: 0 20px; }

/* Search Results */
.results-stats {
  line-height: 43px;
  color: #70757a; }

.search-results-block {
  padding-top: 8px;
  width: 650px; }

.search-result {
  font-family: arial , sans-serif;
  margin-bottom: 30px !important;
  width: 100%; }

.search-result a {
  /*display: inline-block;*/
  color: #1a0dab;
  width: 100%; }

.search-result > a:hover h3 {
  text-decoration: underline; }

.search-result a:visited {
  color: #609; }

.cite {
  line-height: 1.3;
  color: #3C4043; }

.caret {
  font-size: 10px;
  padding-left: 3px; }

.search-result h3 {
  font-family: arial , sans-serif;
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.3;
  color: blue;
  text-align: left; }

.result-date {
  color: #70757a; }

.result-text {
  width: 100%;
  margin-top: 3px;
  line-height: 1.57;
  color: #3C4043; }

b {
  color: #52565A; }

/* Related Search */
.related-search-box {
  /*margin: 28px -20px 0 -20px;*/
  margin-bottom: 30px !important;
  padding: 16px;
  border: 1px solid #dfe1e5;
  border-radius: 8px; }

.item a:visited > .item-name {
  color: #609; }

.related-search {
  margin: 0 0 3px 16px;
  color: #70757a; }

/* ------------------ TAGS -------------------------- */
.tags-container {
  font: 13px/20px "Lucida Grande", Tahoma, Verdana, sans-serif;
  list-style-type: none; }
  .tags-container ul {
    margin-left: -12px; }
    .tags-container ul li {
      display: inline !important; }

.tags {
  zoom: 1; }

.tags:before, .tags:after {
  content: '';
  display: table; }

.tags:after {
  clear: both; }

.tags li {
  position: relative;
  float: left;
  margin: 0 0 8px 12px; }

.tags li:active {
  margin-top: 1px;
  margin-bottom: 7px; }

.tags li:after {
  content: '';
  z-index: 2;
  position: absolute;
  top: 8.5px;
  right: -2px;
  width: 5px;
  height: 6px;
  opacity: .95;
  background: #ce0048;
  border-radius: 3px 0 0 3px;
  -webkit-box-shadow: inset 1px 0 #ce0048;
  box-shadow: inset 1px 0 #ce0048; }

.tags a, .tags span {
  display: block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.tags a {
  height: 22px;
  line-height: 19px;
  padding: 0 9px 0 8px;
  font-size: 12px;
  color: #555 !important;
  text-decoration: none;
  text-shadow: 0 1px white;
  background: #fafafa;
  border-width: 1px 0 1px 1px;
  border-style: solid;
  border-color: #dadada #d2d2d2 #c5c5c5;
  border-radius: 3px 0 0 3px;
  background-image: -webkit-linear-gradient(top, #fcfcfc, #f0f0f0);
  background-image: -moz-linear-gradient(top, #fcfcfc, #f0f0f0);
  background-image: -o-linear-gradient(top, #fcfcfc, #f0f0f0);
  background-image: linear-gradient(to bottom, #fcfcfc, #f0f0f0);
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.05); }

.tags a:hover span {
  padding: 0 7px 0 6px;
  max-width: 40px;
  -webkit-box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 1px 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15), 1px 1px 2px rgba(0, 0, 0, 0.2); }

.tags span {
  position: absolute;
  top: 0px;
  left: 100%;
  z-index: 2;
  overflow: hidden;
  max-width: 0;
  height: 22px;
  line-height: 18px;
  padding: 0 0 0 2px;
  color: white;
  text-shadow: 0 -1px rgba(0, 0, 0, 0.3);
  background: #eb6b22;
  border: 1px solid;
  border-color: #d15813 #c85412 #bf5011;
  border-radius: 0 2px 2px 0;
  opacity: .95;
  background-image: -webkit-linear-gradient(top, #ce0048, #ce0048);
  background-image: -moz-linear-gradient(top, #ce0048, #ce0048);
  background-image: -o-linear-gradient(top, #ce0048, #ce0048);
  background-image: linear-gradient(to bottom, #ce0048, #ce0048);
  -webkit-transition: 0.3s ease-out;
  -moz-transition: 0.3s ease-out;
  -o-transition: 0.3s ease-out;
  transition: 0.3s ease-out;
  -webkit-transition-property: padding, max-width;
  -moz-transition-property: padding, max-width;
  -o-transition-property: padding, max-width;
  transition-property: padding, max-width; }

.vdm-search-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-bottom: 1px solid lightgray;
  margin-top: 20px;
  margin-bottom: 20px; }
  .vdm-search-container #search-field {
    border: 1px solid lightgray;
    height: 22px;
    padding: 5px;
    border-radius: 14px;
    margin: 10px; }
  .vdm-search-container #search-button {
    align-self: flex-end;
    margin: 10px;
    padding: 5px 10px;
    border-radius: 6px;
    background-color: lightgray;
    border: none; }
