#search-mobile{
    display: none;
}
/*.form-search-ajax-posts form#searchform {*/
/*    min-width: 285px;*/
/*}*/
.form-search-ajax-posts input#keywordnew {
    border: none;
}
.form-search-ajax-posts .btn {
    border-radius: 0;
}
.form-search-ajax-posts .btn:hover {
    background-color: #81d742;
    border-color: #81d742;
}
.form-search-ajax-posts .form-control:focus {
    border-color: #fde300;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(245, 220, 0);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgb(253, 227, 2);
}
.now-list-restaurant-row #datafetch{
    z-index: 9999;
    max-height: 450px; 
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: -1px 1px 3px rgba(0,0,0,.1);
}
.now-idea-searching {
    padding-top: 1px;
    color: #000;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: auto;
    max-width: 550px;
    z-index: 999999;  
}
.now-list-restaurant-row {
    background-color: transparent; 
    padding-bottom: 10px;
}
.now-list-restaurant-row .item-content:hover {
    background-color: #f36c2124; 
    text-decoration: none;
}
.item-restaurant {
    border-left: 1px solid #f1f1f1;
    border-right: 1px solid #f1f1f1;
    clear: left;
    background: #fff;
    height: 71px;
}
.now-list-restaurant-row .item-content {
    position: relative;
    padding: 5px;
    border-bottom: 1px solid #ebebeb;
    cursor: pointer;
    display: block;
    text-decoration: none;
    background: #e4556e1a;
}
.now-list-restaurant-row .img-restaurant {
    width: 60px;
    height: auto;
    border-radius: 4px;
    float: left;
    overflow: hidden;
    margin-top: 5px;  
}
.now-list-restaurant-row .img-restaurant img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    border-style: none;
}
.now-list-restaurant-row .info-restaurant {
    color: #252525;
    position: relative;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 2px;
}
.now-list-restaurant-row .info-restaurant .name-res {
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Arial, serif;
    text-transform: initial;
}
.now-list-restaurant-row .info-restaurant .address-res {
    font-size: 12px;
    color: #959595;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: Arial, serif;
    text-transform: initial;
    height: 30px;
}
.now-idea-searching .opentime-status {
    top: 50%;
    right: 3px;
    left: auto;
    transform: translateY(-50%);
    display: none;
}
.opentime-status {
    position: absolute;
    top: -2px;
    left: -2px;
    z-index: 1;
}
.now-idea-searching .opentime-status .offline {
    color: #6d6f71;
}
.now-idea-searching .opentime-status .stt {
    width: 8px;
    height: 8px;
}
.opentime-status .offline {
    background-color: #6d6f71;
    color: #6d6f71;
}
.opentime-status .stt {
    border-radius: 50%;
    cursor: pointer;
    width: 15px;
    height: 15px;
    display: block;
    position: relative;
    z-index: 2;
}
.now-idea-searching .opentime-status .stt:before {
    content: attr(title);
    display: inline-block;
    color: inherit;
    white-space: nowrap;
    font-size: 12px;
    position: absolute;
    right: 0;
    margin-right: 13px;
    top: -6px;
}
*, :after, :before {
    box-sizing: border-box;
}
.opentime-status:after {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background-color: #fff;
    border-radius: 50%;
    z-index: 1;
}
.now-idea-searching .now-idea-searching-footer .content {
    color: #252525;
    cursor: pointer;
    background-color: #ebebeb;
    padding: 10px 15px;
    position: relative;
}
.now-idea-searching .now-idea-searching-footer .icon {
    text-align: center;
    vertical-align: middle;
    line-height: 30px;
    background-color: #cf2127;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}
.now-idea-searching .now-idea-searching-footer .key-word {
    font-weight: 700;
    color: #cf2127;
}
.no-post-search{
    background: #0000007a;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px; 
    width: auto;
    color: #fff000;
}
.search-page-ajax-post-all{ 
    padding: 0;
    max-width: 470px;
    margin: 0 auto 15px auto; 
}
.kq-search strong{
    color: #5dc6ce;
    font-weight: bold;
}
.list-result-data-ajax-post{
   padding-left: 0;
   margin: 0 -15px;
}
#search-ajax-post-item .line-ajax-post {
    height: 2px;
    margin-bottom: 0;
    border-bottom: 1px dashed #333;
    position: relative;
}
#search-ajax-post-item .line-ajax-post:before {
    content: "";
    position: absolute;
    left: 0;
    height: 8px;
    width: 68px;
    background: #0e6b76;
    top: -3px;
}
.h2.kq-search {
    padding: 10px 0;
    font-size: 18px;
}
.search-page-event-all {
    padding: 0;
    max-width: 470px;
    margin: 0 auto 15px auto;
}
.container-hot-topic {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px 5px;
}
.col-hot-topic {
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    padding-left: 10px;
}
.box-hot-topic {
    border: 1px solid #fff;
    box-shadow: 4px 5px 8px #a7a7a7;
    padding: 0;
    margin-bottom: 30px;
    position: relative;
    height: 100%;
}
.title-hot-topic {
    margin-bottom: 0;
    padding: 10px 0 10px 0;
    line-height: 1.5;
    overflow: hidden;
    z-index: 2;
}
.title-hot-topic a {
    font-size: 16px;
    color: #333;
    font-weight: normal;
    text-decoration: none;
    text-transform: capitalize;
}
.title-hot-topic a:hover{
    color: #007bff;
}
.readmore-hot-topic {
    padding: 0;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: -15px;
    z-index: 3;
    margin-bottom: 0;
}
.readmore-hot-topic a {
    background-color: #5dc6ce;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    cursor: pointer;
}
.readmore-hot-topic a:hover{
    background-color: #f492a3;
}
.ajax-post-image{
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 235px;
    overflow: hidden;
    position: relative;
}
.ajax-post-image img {
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
    width: 100%;
    height: 100%;
}
.ajax-post-image:hover img {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
.result-count b {
    color: #e91e63;
    font-size: 20px;
    border: 1px solid #e91e63;
    padding: 3px 10px;
    border-radius: 50%;
    font-weight: bold;
    background-color: #81d74224;
}
@media (max-width: 1024px){ 
    .form-search-ajax-posts form#searchform {
        min-width: auto;
        width: auto;
    }
}
@media (max-width: 990px){
    .form-search-ajax-posts {
        display: none;
    }
    #search-mobile {
        display: inline-block;
        position: absolute;
        left: 10px;
        width: auto;
        top: 5px;
        height: 40px;
    }
    #search-mobile input[type=search] {
        display: block;
        margin: 0 auto 0 0;
        width: 0;
        box-sizing: border-box;
        border: none;
        border-radius: 2px;
        outline: none;
        color: white;
        font-size: 16px;
        background-image: url(https://huongnghiepaau.marketing/wp-content/themes/digital-marketing/images/icon-search.svg);
        background-position: 10px 10px;
        background-repeat: no-repeat;
        padding: 10px 2px 5px 40px;
        -webkit-transition: width .6s ease-in-out;
        transition: width .6s ease-in-out;
        background-color: transparent;
    }
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 355px;
        background-color: #f26522;
    }
    .search-result-mobile.now-idea-searching {
        display: block;
    }
    .result-box-search {
        left: 0;
    }
    .result-box-search .now-list-restaurant-row {
        width: 710px;
    }
    .result-box-search .now-list-restaurant-row {
        overflow: scroll;
        height: 300px;
    }
}
@media (max-width: 768px){
    .result-box-search .now-list-restaurant-row {
        height: 600px;
    }
    .ajax-post-image {
        max-height: 140px;
    }
    .readmore-hot-topic {
        bottom: -13px;
    }
    .readmore-hot-topic a{
        font-size: 14px;
    }
    .result-box-search .now-list-restaurant-row {
        width: 540px;
    }
}
@media (max-width: 768px){
    .readmore-hot-topic{
        display: none;
    }
}
@media (max-width: 480px){
    #search-mobile{
        display: block; 
    }
    .form-search-ajax-posts{
        display: none;
    }
    #search-mobile {
        display: inline-block;
        position: absolute;
        left: 10px;
        width: auto; 
        top: 5px;
        height: 40px;
    }
    #search-mobile input::placeholder { 
        color: white;
        opacity: 1; 
    }
    #search-mobile input:-ms-input-placeholder { 
        color: white;
    }
    #search-mobile input::-ms-input-placeholder {
        color: white; 
    }
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 372px;
        background-color: #f26522; 
    }
    .now-idea-searching {
        width: 95%;
        top: 44px;  
        left: 10px;
    } 
    .now-list-restaurant-row #datafetch { 
        max-height: 350px;
    }
    .no-post-search {
        width: 90%;
    }
    #datafetch-mobile {  
        z-index: 9999;
        max-height: 450px;
        overflow: hidden; 
        overflow-y: auto;
        box-sizing: border-box;
        box-shadow: -1px 1px 3px rgba(0,0,0,.1);
    }
    .search-page-ajax-post-all {
        max-width: 100%;
    }
    .search-page-ajax-post-all .form-control {
        background-clip: inherit; 
        border-radius: 20px;
        border: none; 
    }
    .result-box-search .now-list-restaurant-row {
        width: 372px;
    }
}
@media (max-width: 390px){
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 348px;
        background-color: #f26522;
    }
    .result-box-search .now-list-restaurant-row {
        width: 348px;
    }
}
@media (max-width: 375px){
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 333px;
        background-color: #f26522; 
    }
    .result-box-search .now-list-restaurant-row {
        width: 333px;
    }
}
@media (max-width: 360px){
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 318px;
    }
    .result-box-search .now-list-restaurant-row {
        width: 318px;
    }
}
@media (max-width: 320px){
    #search-mobile {
        left: -14px;
    }
    .now-idea-searching {
        left: -14px;
    }
    #search-mobile input[type=search]:focus, #search-mobile input[type=search]:hover {
        width: 312px;
    }
    .result-box-search .now-list-restaurant-row {
        width: 310px;
    }
}