﻿
/*---------------20220704 New Search Bar Control-----------------*/

.CircleBtn {
    width: 30px;
    height: 30px;
    border-radius: 100%;
    box-sizing: border-box;
    background: #FE9900;
    outline: 0;
    position: relative;
    transform-origin: 50%;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

    .CircleBtn .fa-search, .CircleBtn .fa-magnifying-glass {
        position: absolute;
        top: 6px;
        left: 8px;
        color: #FFF;
        font-size: 16px;
        transition: opacity 0.1s ease-in-out;
    }

.openBtn {
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
}

    .openBtn:hover {
        background: #e88c00;
    }

.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
}

.overlay-content {
    position: relative;
    top: 46%;
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: white;
}

@media (max-width:1024px) {
    .btnPosition {
        position: absolute;
        top: 8px;
        right: 60px;
    }

    .overlay-content {
        top: 15%;
    }
}

@media (max-width: 576px) {

    .overlay .closebtn {
        font-size: 40px;
    }
}

.overlay .closebtn:hover {
    color: #ccc;
}

.overlay input[type=text] {
    padding: 15px;
    font-size: 17px;
    border: none;
    float: left;
    width: 80%;
    background: white;
}

    .overlay input[type=text]:hover {
        background: #f1f1f1;
    }

.overlay button {
    float: left;
    width: 40px;
    padding: 15px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

    .overlay button:hover {
        background: #bbb;
    }
