
@media only screen and (max-width:800px) {


    .nav-toggle {
        -webkit-user-select: none;
        -moz-user-select: none;
        user-select: none;
        cursor: pointer;
        height: 30px;
        right: 0;
        position: absolute;
        top: 0;
        width: 30px;
        z-index: 2; 
    }
    
    .nav-toggle:hover {
        opacity: 0.8; 
    }
    
    .nav-toggle .bar,
    .nav-toggle .bar::after,
    .nav-toggle .bar::before {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        background: #333;
        content: '';
        height: 2px;
        width: 100%; 
    }
    
    .nav-toggle .bar {
        margin-top: 0; 
    }
    
    .nav-toggle .bar::after {
        margin-top: 9px; 
    }
    
    .nav-toggle .bar::before {
        margin-top: -9px; 
    }
    
    .nav-toggle.expanded .bar {
        background: transparent; 
    }
    
    .nav-toggle.expanded .bar::after, .nav-toggle.expanded .bar::before {
        background: #333;
        margin-top: 0; 
    }
    
    .nav-toggle.expanded .bar::after {
        -ms-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg); 
    }
    
    .nav-toggle.expanded .bar::before {
        -ms-transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg); 
    }
    
    .nav {
        -webkit-transition: right 0.5s ease;
        -moz-transition: right 0.5s ease;
        -ms-transition: right 0.5s ease;
        -o-transition: right 0.5s ease;
        transition: right 0.5s ease;
        background: #ddd;
        box-shadow: -3px 1px 10px rgba(50,50,50, 0.6);
        cursor: pointer;
        font-size: 2rem;
        height: 100vh;
        right: -350px;
        padding: 0 0 30px 0;
        position: fixed;
        top: 0;
        width: 200px;
        overflow-y:auto; 
        z-index: 1; 
    }
    
    .nav.expanded {
        right: 0; 
     }
    
    .nav ul {
        position: absolute;
        top: 177px;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        list-style: none;
        margin:  0;
        padding: 0; 
        border-top: solid 1px #eee;
        width:100%;
    }
        
    .nav  ul li {
        display : block; 
        border-bottom:solid 1px #eee;		
        width:100%;
    }
        
    .nav ul li.akt {
        background: #eee; 
    }
        
    .nav ul li:hover {
           background:#000;
    }
    
    .nav ul li.akt:hover {
        background: #eee; 
    }
    
    .nav ul li a {
        text-decoration: none;
        font-size: 2rem;
        color: #666;
        padding: 1rem 0 1rem 4rem;
        display:block; 
    }
    
    .nav ul li:hover a:hover {
        color: #fff;
    }
    
    .nav ul li.akt a, 
    .nav  ul li.akt a:hover {
        color: #000;
    }  
   
}

@media only screen and (min-width:801px) {

    .nav ul {
    	list-style: none; 	
     	height: 1.75rem; 
    	padding: 0; 
    	margin: -2.1rem 0 1rem 0; 
    	width:auto;
     	display: -webkit-box;
    	display: -moz-box;
    	display: -ms-flexbox;
    	display: -webkit-flex;
     	display: flex;
        -webkit-flex-justify-content:flex-end;
    	-webkit-justify-content:flex-end;
        -ms-flex-justify-content:flex-end;
        -ms-justify-content:flex-end;
      	justify-content: flex-end;
    	justify-content:flex-end;
    }
    
    .nav ul li {
    	display: inline-block; 
    	margin-left:2rem;
    }
    
    nav ul li a {
        left: inherit;
        border-bottom: none;
        padding: 3px;
        font-size: 1.75rem;
        color: #666;
        outline: 0;
        text-decoration: none;
    }
        
    nav ul li.akt a {
        color: #000;
    }
    
    nav ul li a:hover {
        background: #ddd;
    }
        
    nav ul li.akt a:hover {
        background: transparent;
    }   

} 

   

