﻿/* The Overlay (background) */
.overlay-menu 
{
    /*display:none;*/
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    /*height: 0;
    width: 100%;*/
    height: 100%;
    width: 0;
    max-width: 400px;
    position: fixed; /* Stay in place */
    z-index: 100000; /* Sit on top */
    /*left: 0;*/
    right: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    /*background-color: rgba(0,0,0, 0.9);*/ /* Black w/opacity */
    /*background-color: rgba(0,108,182,0.9);*/ /*Blue with opacity*/
    background:#707070;
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
    /*padding-left: 40px;*/
    box-shadow: -5px 0 6px #000000;
}

/* Position the content inside the overlay */
.overlay-menu-content {
    position: relative;
    top: 0px; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 50px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

.overlay-menu-content .menu_top{
    list-style:none;
    text-align:left;
    margin-left: 40px;
}

.overlay-menu-content h1{
    font-family: acto-black;
    /*font-size: 50px;
    color: #FFCC33;*/
    font-size: 40px;
    line-height: 40px;
    color: #FFFFFF;
    text-align: left;
    /*margin-bottom:60px;*/
    margin-bottom:40px;
    margin-left: 40px;
}

.overlay-menu-content ul.menu_top li a{
    font-family:acto-light;
    /*font-size:35px;*/
    font-size:22px;
}

/* The navigation links inside the overlay */
.overlay-menu a {
    text-decoration: none;
    font-size: 36px;
    /*line-height: 36px;*/
    line-height: 22px;
    /*margin-bottom: 50px;*/
    margin-bottom: 30px;
    color: #ffffff;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}


/* When you mouse over the navigation links, change their color */
.overlay-menu a:hover, .overlay-menu a:focus, div#overlay_menu_anchor_close:hover, div#overlay_menu_anchor_close:focus {
    color: #FFCC33;
}

/* Position the close button (top right corner) */
.overlay-menu .closebtn {
    position: absolute;
    top: 40px;
    right: 42px;
    font-size: 90px;
    font-family: initial;
    padding:0;
    cursor:pointer;
    color: #ffffff;
    width: 40px;
    height: 40px;
    line-height: 40px;
        z-index: 10;
    /*test*/
    /*text-decoration: none;
    display: block;*/
}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay-menu a {font-size: 20px}
    .overlay-menu .closebtn {
        font-size: 80px;
        top: 30px;
        right: 35px;
    }
}
@media screen and (min-width: 481px) and (max-width: 767px) {
    .overlay-menu .closebtn {/*font-size: 80px;*/ /*top:16px;*/ right:9px;}
    /*.overlay-menu-content ul.menu_top li a{font-size:25px;margin-bottom:20px;}
    .overlay-menu-content h1{font-size:40px;}*/
}
@media screen and (max-width: 480px) {
    .overlay-menu .closebtn {font-size: 80px; top:16px; right:18px;}
    .overlay-menu-content ul.menu_top li a{font-size:25px;margin-bottom:20px;}
    .overlay-menu-content h1{font-size:40px;}
}