﻿/*           */
/* ---- Hamburger Navigation through the oblomki pamiati --- */
/*                                                          */
.menuToggle {
    display: none;
    position: fixed;
    top: 0.5rem;
    right: 0.5rem;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 10px 10px 5px 10px;
    z-index: 1;
}
.menuActive{
	display:block;
}
.menuToggle input {
    display: block;
    width: 46px;
    height: 36px;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: pointer;
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    -webkit-touch-callout: none;
}
/*
 * Just a quick hamburger
 */
.menuToggle span.hmb {
    display: block;
    width: 6px;
    height: 6px;
    margin-bottom: 5px;
    position: relative;
    background: #fefefe; /* Hamburgerlines color */
    border-radius: 3px;
    z-index: 1;
    transform-origin: 4px 0px;
    transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.5s ease;
}
.menuToggle input:checked ~ span {
    opacity: 1;
    background: #003333; /* Hamburgerlines color */
   /* transform: rotate(45deg) translate(-2px, -1px);*/
}
#menu {
    position: fixed;
    top: 0;
    right: 0;
    margin: 0 -100px 0 0;
    padding: 1rem;
    padding-top: 2rem;
    background: #ededed;
    -webkit-font-smoothing: antialiased;
    -webkit-transition: -webkit-transform 0.5s;
    -moz-transition: -moz-transform 0.5s;
    -ms-transition: -ms-transform 0.5s;
    -o-transition: -o-transform 0.5s;
    transition: transform 0.5s;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
#menuul {
    list-style-type:upper-roman;
}


@media screen  and (max-width: 959px) {
#menu {
    width: 320px;
    -webkit-transform: translateX(320px);
    -moz-transform: translateX(320px);
    -ms-transform: translateX(320px);
    -o-transform: translateX(320px);
    transform: translateX(320px);
}
}

@media screen and (min-width: 960px) {
#menu {
    width: 480px;
    -webkit-transform: translateX(480px);
    -moz-transform: translateX(480px);
    -ms-transform: translateX(480px);
    -o-transform: translateX(480px);
    transform: translateX(480px);
}
}
#menu li {
    padding: 0.1rem 0;
}
/*
 * And let's slide it in from the left
 */
.menuToggle input:checked ~ #menu {
    -webkit-transform: translateX(1px);
    -moz-transform: translateX(1px);
    -ms-transform: translateX(1px);
    -o-transform: translateX(1px);
    transform: translateX(1px);
}
.gmb-link span{
    font-size:1rem;
}
.gmb-link span.hmb-content{
    font-size:0.8rem;
    padding:0 0 0 0.2rem;
}
.gmb-link:link{
    text-decoration: none;
    color:rgb(0,0.2,0.2);
}
.gmb-link:active{
    text-decoration: none;
    color:rgb(0,0.2,0.2);
}
.gmb-link:visited{
    text-decoration: none;
    color:rgb(0,0.2,0.2);
}
.gmb-link:hover{
    text-decoration: none;
    color:navy;
}
/* ---- End of Hamburger Navigation through the oblomki pamiati --- */

