/*! HubSpot COS Site Search
Created by Stefen Phelps - https://stefenphelps.com/
---------------------------------------------- */
.search-results-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(30, 36, 63, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0s 0.5s;
    z-index: 99999999;
    overflow-x: hidden;
    overflow-y: auto;
}

.search-activated .search-results-overlay {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s;
}

.search-results-overlay .overlay-close {
    position: fixed;
    right: 1em;
    top: 44px;
    overflow: hidden;
    border: 0;
    color: #212121 !important;
    z-index: 100;
    background: none;
    font-size: 2em;
    text-transform: uppercase;
    cursor: pointer;
}

.search-results-wrapper .search::-webkit-input-placeholder {
    color: #fff;
}

.search-results-wrapper .search:-moz-placeholder {
    color: #fff;
}

.search-results-wrapper .search::-moz-placeholder {
    color: #fff;
}

.search-results-wrapper .search:-ms-input-placeholder {
    color: #fff;
}

.search-results-wrapper {
    max-width: 100%;
    margin: 0 auto;
    /* padding: 0 3em; */
    position: fixed;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2;
    background: #fff;
    height: 140px;
    /* opacity: 0.9; */
    box-shadow: 0 0 64px #212121;
}

.search-results-wrapper .search {
    max-width: 690px;
    width: 64%;
    padding: 0;
    background: #fff;
    border: 0 none;
    border-bottom: 1px solid #dbdbdb!important;
    color: #212121;
    outline: 0;
    font-size: 1.5em;
    position: relative;
    z-index: 2;
    margin: 41px 0 0 -9px;
    left: 50%;
    top: 4px;
    transform: translateX(-50%);
}

.search-results-wrapper .search:valid:not(:placeholder-shown) {
    border: 0 none !important;
    border-bottom: 1px solid #212121 !important;
}

.search-results {
    margin: 140px auto;
    padding: 0;
    /* height: calc(100% - 4.4em); */
    height: 400px;
    position: relative;
    overflow-y: auto;
    max-width: 690px;
    width: 64%;
    z-index: 1;
}

.search-results li {
    list-style: none;
    margin-bottom: 24px;
    font-size: 2em;
    padding: 1em;
    background: #fff;
    line-height: 1;
}

.search-results span {
    font-size: 1rem;
    display: block;
    margin-top: 0.75em;
}

.search-activated {
    overflow: hidden;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color:    #a6a6a6 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #a6a6a6 !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #a6a6a6 !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
   color:    #a6a6a6 !important;
}
::-ms-input-placeholder { /* Microsoft Edge */
   color:    #a6a6a6 !important;
}

.search-exit {
  height: 41px;
  width: 41px;
  position: relative;
  box-sizing: border-box;
  line-height: 50px;
  display: inline-block;
}
.search-exit:before,
.search-exit:after {
  transform: rotate(45deg);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -0.5px;
  margin-left: -20.5px;
  display: block;
  height: 1px;
  width: 41px;
  background-color: #212121;
  transition: all 0.2s ease-out;
}
.search-exit:after {
  transform: rotate(-45deg);
}

.search-exit:hover {
    opacity: 0.41;
}

@media only screen and (max-width: 690px) {
    .search-results li {
        margin-bottom: 14px;
        font-size: 1.24em;
    }
    
    .search-results {
        margin: 90px auto 140px 12px;
        width: 90%;    
    }
    
    .search-results-overlay .overlay-close {
        top: 30px;
    }
    
    .search-results-wrapper {
        height: 104px;
    }
    
    .search-results-wrapper .search {
        margin: 30px 0 0 0;
        left: 21px;
        transform: translateX(0);
        font-size: 21px;
    }
}    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

