﻿#name {
    position: relative;
    z-index: 10000;
}

.ui-autocomplete {
    z-index: 101000 !important;
}

#auto-complete-app {
    /*width: 598px;*/
    display: flex;
    justify-content: center;
}

.nav > li > ul {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 1000;
}

    .nav > li > ul > li > ul {
        left: 100%;
        top: 0;
        display: none;
    }

    .nav > li:hover > ul,
    .nav > li > ul > li:hover > ul {
        display: block;
    }

* {
    box-sizing: border-box;
}

.openBtn {
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
}

    .openBtn:hover {
        background: #bbb;
    }

.overlay {
    height: 100%;
    width: 100%;
    display: none;
    position: fixed;
    z-index: 100000;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, 0.5);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.overlay-content {
    position: relative;
    top: 20%;
    width: 80%;
    text-align: center;
    margin-top: 30px;
    margin: auto;
}

.overlay .closebtn {
    position: absolute;
    top: 10px;
    right: 45px;
    font-size: 60px;
    cursor: pointer;
    color: white;
}

    .overlay .closebtn:hover {
        color: #ccc;
    }

.overlay input[type=text] {
    padding: 15px;
    font-size: 17px;
    border: none;
    /*             float: c;
                                                                                                                                                                                                                                                                                                                                         */ width: 100%;
    background: white;
}

    .overlay input[type=text]:hover {
        background: #f1f1f1;
    }

.overlay button {
    float: left;
    width: 20%;
    padding: 15px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

    .overlay button:hover {
        background: #bbb;
    }