/*********** popups *****************/
.popup {
  background: rgba(0, 0, 0, 0.7);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999999;
  -webkit-transition: all 0.4s ease-out;
  transition: all 0.4s ease-out;
  display: none; }
  .popup.show {
    visibility: visible;
    opacity: 1; }
  .popup.dark {
    background: rgba(0, 0, 0, 0.8); }
  .popup .popup-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1; }
  .popup .lil-x {
    z-index: 2222;
    color: white;
    top: 20px;
    z-index: 999;
    position: absolute;
    font-size: 20px;
    right: 20px;
    cursor: pointer;
    -webkit-transition: all 0.26s ease-out;
    transition: all 0.26s ease-out; }
    .popup .close-search-popup:hover {
      color: #E60005; }
    .popup .close-search-popup i.fa-times-circle {
      height: inherit;
      line-height: 20px;
      position: static;
      visibility: visible;
      display: block;
      opacity: 1; }
  .popup .inner {
    position: absolute;
    width: 100%;
    max-width: 1050px;
    height: 562.5px;
    left: 50%;
    margin-left: -525px;
    top: 50%;
    margin-top: -281.25px;
    box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
    padding: 10px;
    background: white;
    color: black;
    z-index: 2; }
    .popup .inner.search {
      position: absolute;
      width: 100%;
      max-width: 600px;
      height: 50px;
      left: 50%;
      margin-left: -300px;
      top: 50%;
      margin-top: -25px;
      background: transparent;
      padding: 0;
      background: transparent;
      box-shadow: 0 0 0 rgba(0, 0, 0, 0), 0 0 0 rgba(0, 0, 0, 0);
      -webkit-transition: all 0.4s ease-out;
      transition: all 0.4s ease-out; }
      .popup .inner.search.opened {
        position: absolute;
        width: 100%;
        max-width: 600px;
        height: 370px;
        left: 50%;
        margin-left: -300px;
        top: 50%;
        margin-top: -185px; }
        .popup .inner.search.opened .search-results-wrapper {
          opacity: 1;
          transform: translateY(0);
          -webkit-transform: translateY(0); }
      .popup .inner.search .search-wrapper {
        position: relative;
        height: 50px;
        box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22); }
        .popup .inner.search .search-wrapper form {
          position: absolute;
          width: 100%;
          max-width: 600px;
          height: 50px;
          left: 50%;
          margin-left: -300px;
          top: 50%;
          margin-top: -25px; }
          .popup .inner.search .search-wrapper form input {
            background: white;
            border: 0;
            width: 100%;
            height: 100%;
            outline: 0;
            font-family: inherit;
            font-size: 16px;
            color: black;
            padding-right: 50px;
            text-align: right; }
        .popup .inner.search .search-wrapper .fa-search {
          position: absolute;
          right: 20px;
          top: 0;
          height: 50px;
          line-height: 50px;
          vertical-align: middle;
          color: black;
          font-size: 15px; }
        .popup .inner.search .search-wrapper .fa-circle-o-notch {
          position: absolute;
          left: 20px;
          top: 0;
          height: 50px;
          line-height: 50px;
          vertical-align: middle;
          color: black;
          font-size: 18px;
          opacity: 0;
          visibility: hidden;
          -webkit-transition: all 0.4s ease-out;
          transition: all 0.4s ease-out; }
          .popup .inner.search .search-wrapper .fa-circle-o-notch.show {
            opacity: 1;
            visibility: visible; }
        .popup .inner.search .search-wrapper .fa-times-circle {
          cursor: pointer;
          position: absolute;
          font-size: 15px;
          left: 20px;
          top: 0;
          height: 50px;
          line-height: 50px;
          vertical-align: middle;
          color: black;
          opacity: 0;
          visibility: hidden;
          -webkit-transition: all 0.4s ease-out;
          transition: all 0.4s ease-out; }
          .popup .inner.search .search-wrapper .fa-times-circle:hover {
            color: #E60005; }
          .popup .inner.search .search-wrapper .fa-times-circle.show {
            opacity: 1;
            visibility: visible; }
      .popup .inner.search .search-results-wrapper {
        opacity: 0;
        overflow: auto;
        position: absolute;
        height: 300px;
        background: white;
        bottom: 0;
        left: 50%;
        margin-left: -300px;
        width: 600px;
        transform: translateY(100%);
        -webkit-transform: translateY(100%);
        box-shadow: 0 19px 38px rgba(0, 0, 0, 0.3), 0 15px 12px rgba(0, 0, 0, 0.22);
        -webkit-transition: all 0.4s ease-out;
        transition: all 0.4s ease-out; }
      .popup .inner.search #main-search-results {
        position: relative;
        padding: 30px; }
        .popup .inner.search #main-search-results li {
          position: relative;
          height: auto;
          line-height: 1;
          padding: 0 0 15px 0;
          margin-bottom: 15px;
          border-bottom: 1px solid rgba(0, 0, 0, 0.15);
          list-style: none; }
          .popup .inner.search #main-search-results li:hover a .desc p strong {
            color: rgba(0,0,0,0.54); }
          .popup .inner.search #main-search-results li .details {
            position: relative;
            margin-top: 10px; }
          .popup .inner.search #main-search-results li p.grey {
            max-width: 350px;
            margin-top: 2px;
            line-height: 1.2; }
          .popup .inner.search #main-search-results li p.small {
            line-height: 1.2; }
            .popup .inner.search #main-search-results li p.small.m-t-5 {
              margin-top: 2px; }
          .popup .inner.search #main-search-results li p strong {
            -webkit-transition: all 0.26s ease-out;
            transition: all 0.26s ease-out; }
          .popup .inner.search #main-search-results li .fa-external-link-square {
            width: auto;
            font-size: 14px;
            background: transparent; }
          .popup .inner.search #main-search-results li a:hover {
            cursor: pointer !important; }
    .popup .inner.relative {
      position: relative;
      width: 100%;
      max-width: 600px;
      height: auto;
      padding: 10px;
      left: 0;
      top: 0;
      margin: 0 auto !important; }
    .popup .inner .popup-content {
      height: 100%;
      position: relative; }
      .popup .inner .popup-content .center-wrapper {
        width: 100%;
        max-width: 600px;
        left: 50%;
        margin-left: -300px; }

/******* search *******/
.search-results-wrapper {
  position: relative; }
  .search-results-wrapper ul {
    position: relative; }
  .search-results-wrapper li {
    position: relative;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 17px; }
    .search-results-wrapper li:last-of-type {
      margin-bottom: 100px; }
    .search-results-wrapper li .fa {
      cursor: pointer !important;
      margin-left: 6px;
      height: 20px;
      width: 20px;
      border-radius: 50%;
      text-align: center;
      line-height: 20px;
      vertical-align: middle;
      font-size: 12px;
      -webkit-transition: all 0.4s ease-out;
      transition: all 0.4s ease-out; }
    .search-results-wrapper li a {
      -webkit-transition: all 0.4s ease-out;
      transition: all 0.4s ease-out; }

input {
  font-family: inherit !important; }

.popup .inner.search #main-search-results li .tag {
  font-family: neue-haas-grotesk-display,sans-serif;
  background: black;
  color: white;
  font-size: 13px;
  display: inline-block;
  padding: 2px 6px;
  text-transform: capitalize;
  margin-top: 6px;
}

@media only screen and (min-width: 0px) and (max-width: 1024px) {
  .popup .inner.search {
    margin-left: 0;
    left: 20px;
    width: calc( 100% - 40px ); }

  .popup .inner.search.opened {
    margin-left: 0;
    left: 20px;
    width: calc( 100% - 40px ); }

  .popup .inner.search .search-wrapper form {
    left: 0;
    margin: 0;
    top: 0; }

  .popup .lil-x {
    top: 14px;
    right: 14px; }

  .popup .inner.search .search-results-wrapper {
    width: 100%;
    left: 0;
    margin-left: 0; } }

/*# sourceMappingURL=thetwo-ajax-search-public.css.map */
