.con-main-nav {
    width: 70.27%;
    height: 50px;
    margin: 0px auto;
}

.con-main-nav ul {
    height: 50px;
    list-style: none !important;
}

.con-main-nav ul li {
    height: 50px;
    text-align: center;
    float: left;
}

.con-main-nav ul li a {
    display: block;
    color: #fff;
    height: 50px;
    line-height: 50px;
    text-decoration: none;
    padding: 0 20px 0 20px;
}

.con-main-nav ul #myactive a {
    background: #f4f4f4;
    border-radius: 10px 10px 0 0;
    color: #000 !important;
}


/*----------------------------------------------------------*/

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: left;
    padding: 0 16px;
    margin-top: 30px;
}

.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.res-menu-item {
    background: #1e9c5c;
    border-bottom: 1px solid #000;
}

.res-menu-item:hover {
    background: #0e6137;
}

.res-drop {
    list-style: none;
    margin-bottom: 0px;
    padding-left: 0px;
    border-left: 4px solid #0e6137;
}

.res-drop .res-drop-list {
    width: 100%;
    padding: 0px;
}

.overlay a:hover,
.overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 15px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {
        font-size: 20px
    }
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}


/* (1920x1080) Full HD Display */

@media screen and (max-width: 1920px) {
    .con-main-nav {
        width: 50%;
        height: 50px;
        margin: 0px auto;
    }
}


/* (1366x768) WXGA Display */

@media screen and (max-width: 1366px) {
    .con-main-nav {
        width: 70.27%;
        height: 50px;
        margin: 0px auto;
    }
    .con-main-nav ul {
        height: 50px;
        list-style: none !important;
    }
    .con-main-nav ul li {
        height: 50px;
        text-align: center;
        float: left;
    }
    .con-main-nav ul li a {
        display: block;
        color: #fff;
        height: 50px;
        line-height: 50px;
        text-decoration: none;
        padding: 0 20px 0 20px;
    }
    .con-main-nav ul #myactive a {
        background: #f4f4f4;
        border-radius: 10px 10px 0 0;
        color: #000 !important;
    }
}
