﻿.search-box {
    /*position: absolute;*/
    top: 50%;
    transform: translate(-50%,-50%);
    background: #000000;
    height: 32px;
    padding: 7px 3px;
    border-radius: 50px;
}

.col-10 {
    max-width: 100% !important;
}

.search-box:hover .search-txt {
    width: 230px;
    padding: 0 6px;
    color: #fff;
}

#searchInput:focus {
    width: 230px !important;
}

.search-box:hover .search-btn {
    background: #fff;
}

.search-btn {
    color: #e84118;
    float: right;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #487eb0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-txt {
    border: none;
    outline: none;
    background: none;
    float: left;
    padding: 0;
    color: #fff;
    font-size: 16px;
    /* line-height: 40px; */
    width: 0;
    transition: width 400ms;
}

    .search-txt::-webkit-input-placeholder {
        color: #fff;
    }

    .search-txt::-moz-placeholder {
        color: #fff;
    }

    .search-txt:-ms-input-placeholder {
        color: #fff;
    }

    .search-txt:-moz-placeholder {
        color: #fff;
    }

@media (max-width: 324px) {
    .mr-auto {
        margin-left: -150px;
    }

    .search-txt {
        font-size: 10px;
    }
    /*.search-box{
        display:flex;
        align-items:center;
    }*/
    .search-box:hover .search-txt {
        width: 90px !important;
    }

    #searchInput:focus {
        width: 90px !important;
    }

    .search-box {
        width: 400px !important;
    }


    .heading {
        font-size: 12px;
    }

    .content {
        font-size: 10px;
    }

    #autocompleteResults {
        width: 100px !important;
    }

    .btn-student-portal {
        height: 30px;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 325px) and (max-width: 375px) {
    .mr-auto {
        margin-left: -150px;
        margin-right: 10px !important;
        margin-top: 8px !important;
    }

    .search-txt {
        font-size: 10px;
    }
    /* .search-box {
        display: flex;
        align-items: center;
    }*/
    .search-box:hover .search-txt {
        width: 90px !important;
    }

    #searchInput:focus {
        width: 90px !important;
    }

    .search-box {
        width: 400px !important;
    }


    .heading {
        font-size: 12px;
    }

    .content {
        font-size: 10px;
    }

    #autocompleteResults {
        width: 100px !important;
    }

    .btn-student-portal {
        height: 30px;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 376px) and (max-width: 425px) {
    .mr-auto {
        margin-right: 10px !important;
        margin-top: 8px !important;
    }

    .search-txt {
        font-size: 12px;
    }

    .search-box:hover .search-txt {
        width: 80px !important;
    }

    #searchInput:focus {
        width: 80px !important;
    }
    /*.search-box {
        width: 400px !important;*/
    /*        height:25px;
*/ /*}*/
    .search-box {
        /*display: flex;
        align-items: center;*/
    }

    .btn-student-portal {
        height: 30px !important;
        display: flex;
        align-items: center;
    }


    .heading {
        font-size: 12px;
    }

    .content {
        font-size: 10px;
    }

    #autocompleteResults {
        width: 100px !important;
    }
}

@media (min-width: 426px) and (max-width: 534px) {
    .mr-auto {
        margin-top: 4px !important;
    }

    .search-txt {
        font-size: 10px;
    }
    /* .search-box {
        display: flex;
        align-items: center;
    }*/

    .btn-student-portal {
        height: 30px !important;
    }

    .search-box:hover .search-txt {
        width: 90px !important;
    }

    #searchInput:focus {
        width: 90px !important;
    }
}

@media (min-width: 535px) and (max-width: 767px) {
    .mr-auto {
        margin-top: 6px !important;
        margin-right: 10px !important;
    }

    .search-txt {
        font-size: 10px;
    }

    .search-box {
        width: 200px !important;
    }

        .search-box:hover .search-txt {
            width: 110px !important;
        }

    #searchInput:focus {
        width: 110px !important;
    }

    .btn-student-portal {
        height: 30px !important;
        display: flex;
        align-items: center;
    }
}

@media (min-width: 768px) and (max-width: 800px) {
    .mr-auto {
        margin-top: 6px !important;
    }

    .search-txt {
        font-size: 10px;
    }

    .search-box:hover .search-txt {
        width: 130px !important;
    }

    #searchInput:focus {
        width: 130px !important;
    }
}

@media (min-width: 801px) and (max-width: 991px) {
    .mr-auto {
        margin-top: 6px !important;
    }

    .search-box:hover .search-txt {
        width: 130px !important;
    }

    #searchInput:focus {
        width: 130px !important;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {

    .search-txt {
        font-size: 12px;
    }

    .search-box:hover .search-txt {
        width: 160px !important;
    }

    #searchInput:focus {
        width: 160px !important;
    }
}

@media (min-width: 1024px) and (max-width: 1040px) {
    .search-txt {
        font-size: 12px;
    }

    .search-box:hover .search-txt {
        width: 190px !important;
    }

    #searchInput:focus {
        width: 190px !important;
    }
}

@media (min-width: 1041px) and (max-width: 1240px) {
    .search-txt {
        font-size: 12px;
    }

    .search-box:hover .search-txt {
        width: 190px !important;
    }

    #searchInput:focus {
        width: 190px !important;
    }
}
