/*!
 * Admission Nepal - v1.0.0
 * @author Admission Nepal - http://admissionnepal.com/
 * Copyright (c) 2020
 */
/* The overlay effect with black background */
/* width */
.showsuggestorBox::-webkit-scrollbar {
    width: 10px;
}
.showsuggestorBox::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px grey;
    border-radius: 1px;
}
.showsuggestorBox::-webkit-scrollbar-thumb {
    background: #005e63;
    border-radius: 10px;

}
.showsuggestorBox::-webkit-scrollbar-thumb:hover {
    background: #0b8aef;
}
div#myOverlay{
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    background-color: #fff!important;
    background-color: #fff; /* Black with a little bit see-through */
}
div#myOverlay::before{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: #fbfcfe;
    content: "";
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}

/* The content */
.overlay-content {
    position: relative;
    top: 26%;
    width: 60%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
}

/* Close button */
.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 40px;
    cursor: pointer;
    color: #0b8aef;
}

.overlay .closebtn:hover {
    color: #ccc;
}

/* Style the search field */
.overlay input[type=text] {
    padding: 15px;
    font-size: 17px;
    border: none;
    float: left;
    width: 80%;
    background: white;
}

.overlay input[type=text]:hover {
    background: #f1f1f1;
}

/* Style the submit button */
.overlay button {
    float: left;
    width: 20%;
    padding: 15px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.overlay button:hover {
    background: #bbb;
}
#myInput {
    background-image: url('/css/searchicon.png'); /* Add a search icon to input */
    background-position: 10px 12px; /* Position the search icon */
    background-repeat: no-repeat; /* Do not repeat the icon image */
    width: 100%; /* Full-width */
    font-size: 16px; /* Increase font-size */
    padding: 12px 20px 12px 20px; /* Add some padding */
    border: 1px solid #ddd; /* Add a grey border */
    /*margin-bottom: 12px;*/
    /* Add some space below the input */
}

#myTable {
    border-collapse: collapse; /* Collapse borders */
    width: 100%; /* Full-width */
    border: 1px solid #ddd; /* Add a grey border */
    font-size: 18px; /* Increase font-size */
}
.showsuggestorBox {
    display: block;
    position: absolute;
    top: 50px;
    width: 95.6%;
    max-height: 300px;
    overflow: auto;
    z-index: 9;
    background: #FFF;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.20), 0 0 1px 0 #000;
    border-radius: 0 0 2px 2px;
    left: 4px;
    right: 34px;
    margin: 0 auto;
}
button#tabIndex2 {
    border-radius: 0 4px 4px 0;
    color: #fff;
    margin-right: -100px;
    background: #0b8aef;
    margin-top: -52px;
    float: right;
    width: 132px;
    border: none;
    outline: none;
}

#myTable th, #myTable td {
    text-align: left;
    padding: 8px;
}

#myTable tr {
    border-bottom: 1px solid #ddd;
}

#myTable tr.header, #myTable tr:hover {
    /* Add a grey background color to the table header and on hover */
    background-color: #f1f1f1;
}

.TrendingSearch {
    display: block;
    position: absolute;
    top: 70px;
    width: 95.6%;
    /*max-height: 300px;*/
    /*overflow: auto;*/
    z-index: 9;
    background: #FFF;
    /*box-shadow: 0 2px 5px 0 rgba(0,0,0,0.20), 0 0 1px 0 #000;*/
    border-radius: 0 0 2px 2px;
    left: 4px;
    right: 34px;
    margin: 0 auto;
}
#TrendingSearchTable{
    border-collapse: collapse;
    width: 100%;
}
#TrendingSearchTable tr {
    cursor: pointer;
    border-bottom: 1px solid #ddd;
}
#TrendingSearchTable th, #TrendingSearchTable td {
    text-align: left;
    padding: 12px;
}
@media screen and (max-width: 578px) {
    .overlay-content {
        position: relative;
        top: 15%;
        width: 87% !important;
        text-align: center;
        margin-top: 27px;
        margin: auto;
    }
    #myTable th, #myTable td{
        padding: 6px;
    }
    #myTable{
        font-size: 14px;
    }
    button#tabIndex2{
        margin-right: 0;
        width: 24%;
        margin-top: -36px;
    }
    .overlay button{
        padding: 6px;
    }
    #myInput {
        background-position: 10px 12px;
        background-repeat: no-repeat;
        width: 100%;
        font-size: 16px;
        padding: 5px 5px 5px 10px;
        border: 1px solid #ddd;
        /* margin-bottom: 12px; */
    }
}