#d_ajax_search_results {
    width: 100%;
    margin:0px;
    left: 0;
    color: #fff;
    background-color: rgb(255, 255, 255);
    position: absolute;
    z-index: 16;
    padding: 0;
    margin-top: 30px;
}
#search-autocomplite ~ input {
    position: relative!important;
}
#search .input-lg{
  border-radius: 6px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}
input[name="search"]{
    background-color: transparent;
}
#d_ajax_search_results #d_ajax_search_results_body {
    color: #fff;
    position: relative;
}
.fa-spinner{
    align-self: center;
    color: black;
}
h4{
    margin-bottom: 0px;
}
.all_results:hover{
    cursor: pointer;
}
.all_results{
    padding-left: 20px;
    font-size: 13px;
    display: block;
    padding-top: 7px;
    clear: both;
    padding-bottom: 7px;
}
.block-text{
    width: 100%;
    padding-top: 24px;
    padding-left: 20px;
    color: #000;
    font-size: 20px;
    font-weight: 600;
}
.block-text:first-letter {
    text-transform: uppercase;
}
.where-find{
    background-color: #f5f5f5;
    color: #929292;
    margin-top: 10px;
    float: left;
}
.forkeydon{
   font-size: 16px;
   line-height: 22px;
   color: #000
}
.result_block{
    overflow: hidden;
    padding-bottom: 10px;
}
hr{
    margin-bottom: 0px;
    border-top: 2px solid #eee;
}
.saggestion{
      font-size: 15px;
      padding-left: 19px;
      padding-top: 20px;
      padding-bottom: 20px;
      /* margin-bottom: 24px; */
      color: rgb(131, 131, 131);
      line-height: 1.333;
      background-color: #f5f5f5;
      border-bottom: 1px solid #e0e0e0;
      margin-top: -11px;
}
.saggestion-result{
    color: #000;
    font-weight: 600;
}
#d_ajax_search_results .row {
   display: flex;
   font-family: 'Avenir Next LT Pro', sans-serif;
   width: 100%;
   font-size: 16px;
   line-height: 22px;
   margin: 0;
   padding: 14px 0;
   border-bottom: 1px solid #E0E0E0;
   align-items: center;
}
#d_ajax_search_results .row .photo{
   margin-left: 15px;
   flex: 0 0 20%;
}
#d_ajax_search_results .row .name{
   flex: 0 0 65%;
   padding-left: 5px;
   color: #000;
}

.search_custom{
   display: none;
   position: fixed;
   top: 50px;
   left: 0;
       width: 90%;
    margin: auto;
   z-index: 10;
   height: 100%;
   background: rgba(0, 0, 0, 0.4);
}
.search_custom.active{
   display: block;
}
.search_block{
   position: relative;
   background: #fff;
   padding: 20px 15px 30px;
   box-shadow: 0px 0px 5px rgba(104, 104, 104, 0.3);
}
.search_custom input{
   width: 100%;
}
.search_block > span {
   position: absolute;
   right: 15px;
   top: 15px;
}

@media(min-width: 992px){
   .search_custom{
      top: 116px;
      transition: all 0.3s;
   }
   .header.f-nav .search_custom{
      top: 86px;
   }
   .open_search_input{
      margin: 0;
      padding: 0 40px;
      border: 1px solid #002F6C !important;
      border-bottom: none !important;
      border-top: none !important;
   }
   .logo_flex{
      flex: 0 0 12%;
      padding-right: 30px;
   }
   .info_flex{
      flex: 0 0 50%;
   }
   .button_flex{
      flex: 0 0 10%;
   }
}

@media(min-width: 1200px){
   .logo_flex{
      flex: 0 0 13%;
   }
   .info_flex{
      flex: 0 0 53%;
   }
   .button_flex{
      flex: 0 0 10%;
   }
}

@media(min-width: 1440px){
   .open_search_input{
      display: none;
   }
   .logo_flex{
      flex: 0 0 13%;
      padding: 0;
   }
   .info_flex{
      flex: 0 0 39%;
   }
   .button_flex{
      flex: 0 0 31%;
   }
   #d_ajax_search_results {
      margin-top: 20px;
      box-shadow: 0px 0px 5px rgba(104, 104, 104, 0.3);
   }
   .search_custom{
      display: block;
      position: static;
      background: none;
   }
   .search_block{
      padding: 0;
      box-shadow: none;
   }
   .search_custom input{
      border: 1px solid #002F6C;
      border-radius: 40px;
      padding: 8px 65px 8px 30px;
   }
   .search_block > span {
      position: absolute;
      right: 30px;
      top: 7px;
   }
   .network_flex{
      margin: 0 0 0 auto;
   }
   .desktop_network{
      padding: 0;
      margin: 0;
   }
}

@media(min-width: 1640px){
   .logo_flex{
      flex: 0 0 14%;
   }
   .info_flex{
      flex: 0 0 35%;
   }
   .button_flex{
      flex: 0 0 31%;
   }
}
