/* 
- Name: Responsive overlay menu framework
- Version: 1.0
- Latest update: 15.9.2015.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/


/* OPEN / CLOSE BTNS */

.menu-btn {
    position: relative;
    background: #564f66;
    display: block;
    font-size: 32px;
    z-index: 999;
    padding: 0 .25em;
    text-align: center;
    margin-top: .5em;
}

.menu-btn a {
    display: inline-block;
    text-decoration: none;
    /* safari hack */
}

.btn-open:after {
    color: #fff;
    content: "\f394";
    font-family: "Ionicons";
    -webkit-transition: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s;
    transition-property: all .2s linear 0s;
}

.btn-open:hover:after {
    color: #fff;
}

.btn-close:after {
    color: #fff;
    content: "\f2d7";
    font-family: "Ionicons";
    -webkit-transition: all .2s linear 0s;
    -moz-transition: all .2s linear 0s;
    -o-transition: all .2s linear 0s;
    transition-property: all .2s linear 0s;
}

.btn-close:hover:after {
    color: #fff;
}


/* OVERLAY */

.overlay {
    position: fixed;
    z-index: 998;
    display: none;
    overflow: none;
    opacity: 1;
    padding-top: 11em;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .9);
}

/* RESPONSIVE */

@media screen and (min-width: 768px) {
    .overlay {
        display: block;
        position: relative;
        background: none;
        padding-top: 0;
    }
    .menu-btn {
        display: none;
}
}