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

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

h3 {
    text-align: center;
    margin: 0;
    padding: 10px 0 0;
}


/* OPEN / CLOSE BTNS */

.menu-btn {
    position: absolute;
    top: 27px;
    right: 20px;
    z-index: 999;
    display: inline;
    font-size: 32px;
}

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

.btn-open:after {
    color: #333;
    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: #000;
}

.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: #CCC;
}


/* OVERLAY */

.overlay {
    position: fixed;
    top: 0;
    text-align: center;
    z-index: 99;
    display: none;
    overflow: auto;
    width: 100%;
    height: 100%;
    background: #333;
    font-size: 2.0rem;
    font-weight: normal;
   
}
.overlay ul{
    margin-top: 150px; 
    display: block; 
}
.overlay ul li {
    margin: 50px auto;
}

.overlay ul li a {
    color: #FFF;
    font-weight: normal;
    letter-spacing: 0.2rem;
}

.overlay ul:last-child {
    position: relative;
    left: 50%;
    float: left;
    margin-top: -50px;
}

.overlay ul:last-child li {
    font-size: 1.6rem;
    float: left;
    position: relative;
    left: -50%;
}

.overlay ul:last-child li:first-child:after {
    content: "|";
    color: #FFF;
    font-weight: normal;
    margin: auto 20px;
}





/* RESPONSIVE */

@media screen and (max-width: 1024px) {
    .menu-btn {
        right: 25px;
    }
}
