
/* ФОРМА ПОИСКА */

.search-form {
  width: 100%;
  position: relative;
  margin-top: 20px;
  white-space: nowrap;
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
          box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1);
}

@media screen and (max-width: 320px) {
    .search-form {
        margin-bottom: 0px;
    }
}




/* ПОЛЕ ПОИСКА */

.search-form .form-control {
    height: 42px;
    width: 100%;
    box-shadow: none;
    background-image: none;
    background: rgb(255, 255, 255) none repeat scroll 0%;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #ccc;
    padding: 0 15px 1px 12px;
    line-height: 1.42857143;
    font-size: 16px;
    color: #555;
    vertical-align: top;
    display: inline-block;
  }

.search-form .form-control:focus {
    color: #333;
    border-color: #66afe9;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

@media screen and (max-width: 320px) {
    .search-form .form-control {
        border-radius: 0px;
        padding: 0 20px 1px 9px;
    }
}



/* КНОПКА ПОИСКА */

.frm_button {
    top: 8px;
    right: 10px;
    width: 26px;
    height: 26px;
    position: absolute;
    background: #fff;
    cursor: pointer;
    color: #4285f4;
    font-size: 18px;
    border: none;
    outline: none;
}

.frm_button:focus {
  text-decoration: none;
  outline: none;
}




/* ПОПУЛЯРНЫЕ ЗАПРОСЫ */

#index_search_links_list {
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

@media screen and (max-width: 714px) {
    #index_search_links_list {
        display: none;
    }
}

.slct {
    margin-bottom: 10px;
    padding: 5px 13px;
    line-height: 24px;
    color: #337ab7;
    display: inline-block;
}

.slct:hover {
    cursor: pointer;
    color: #fff;
    background-color: #0097cf;
    border-radius: 4px 4px 4px 4px;
}

.slct:hover a {
    color: #fff;
}

.slct a:hover {
    text-decoration: none;
    color:#fff;
}

@media screen and (max-width: 1199px) {
    .slct {
        font-size: 12px;
    }
}

@media screen and (max-width: 714px) {
    .slct {
        font-size: 10px;
        padding: 5px 5px 0px 5px;
    }
}



/* ПОПУЛЯРНЫЕ ЗАПРОСЫ ДРУГИЕ */

#index_search_links_list2 {
    display: none;
}

@media screen and (max-width: 360px) {
    #index_search_links_list2 {
        display: inline-block;
        margin-left: 15px;
        margin-top: 15px;
    }
}

@media screen and (max-width: 714px) {
    .slct2 {
        width: 320px;
        padding: 5px 0px;
        font-size: 18px;
        line-height: 24px;
        color: #337ab7;
        display: block;
    }
}




/* КНОПКА НАПИСАТЬ СООБЩЕНИЕ */

.fast_srch_mes {

/* Старые стили */
/*    float: right;
    position: relative;
    color: #000!important;
    line-height: 1.42857143;
    background-color: #fff!important;
    border-color: #fff!important;
    font-size: 12px!Important;
    bottom: 12px;
    right: 20px;
*/

/* Старые новые стили */    
/*    right: 20px;
    bottom: -19px;
    position: absolute;
    color: #000!important;
    border-radius: .25rem;
    padding: .375rem .75rem;
    border: 1px solid transparent;
    font-size: 12px!Important;
    cursor: pointer;
*/    
    
/* Новые стили */
    right: 20px;
    bottom: 3px;
    position: absolute;
    border-radius: .25rem;
    padding: .375rem .75rem;
    border: 1px solid transparent;
    font-size: 12px!Important;
    cursor: pointer;

}

.fast_srch_mes:hover {
    color: #fff!important;
    background-color: #5cb85c!important;
    border-color: #4cae4c!important;
    text-decoration: none;
    
    transition: color .15s 
        ease-in-out,background-color .15s 
        ease-in-out,border-color .15s 
        ease-in-out,box-shadow .15s 
        ease-in-out;
    
}

@media screen and (max-width: 714px) {
    .fast_srch_mes {
        right: 0px;
    }
}


/* ИСЧЕЗАНИЕ / ПОЯВЛЕНИЕ КНОПКИ */

/*
.fastsmall {
    bottom: 8px;
    display: none;
    color: #343a40!important;
    border-color: #343a40!important;
    border: 1px solid transparent;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
*/

.fastsmall {
    bottom: 8px;
    display: none;
    color: #fff!important;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    background-color: #28a745!important;
    font-size: 18px!Important;
    line-height: 1.2;
/*    height: 60px;*/
}

@media screen and (max-width: 714px) {
    .fastsmall {
        display: block;
    }
    .fastbig {
        display: none;
    }
}



/* КНОПКА НАПИСАТЬ СООБЩЕНИЕ В INDEX */

.fast_indx_mes {
    right: 20px;
    bottom: 3px;
    position: absolute;

    border: none;
    color: #fff;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 8px; /* Скругленные углы */
    background-color: #4CAF50; /* Зеленый */
    cursor: pointer;
}

/* При наведении курсора мыши */
.fast_indx_mes:hover {
    background-color: #45a049;
    color: #fff;
}

.fast_indx_mes:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(4px); /* При нажатии опускается вниз */
}


@media screen and (max-width: 714px) {
    .fast_indx_mes {
        right: 0px;
    }
}


.fastinbig {
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: 0 9px #999; /* Тень для 3D эффекта */
    padding: 15px 32px;
    font-size: 16px;
    margin: 4px 2px;
}

.fastinsmall {
    bottom: 14px;
    display: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: 0 8px #999; /* Тень для 3D эффекта */
    padding: 12px 26px;
    font-size: 16px;
    margin: 4px 2px;
}

@media screen and (max-width: 714px) {
    .fastinsmall {
        display: block!important;
    }
    .fastinbig {
        display: none!important;
    }
}

