/* Reset */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


a{
    text-decoration: none;
}
ul{
    list-style: none;
}

/* Header */
.header{
    background-color:  black;
    box-shadow: 1px 1px 5px 0px gray;
    position: sticky;
    top: 0;
    width: 100%;
}
/* Logo */
.logo{
    display: inline-block;
    color:  white;
    font-size: 40px;
  /*  margin-left: 10px;*/
}

/* Nav menu */
.mynav{
    width: 100%;
    height: 50%;
    position: fixed;
    background-color: #036;
    overflow: hidden;

}

/* my menu */

.mymenu{
font: bold 30px Verdana;
/* background: #036; /*background of menu bar (default state)*/ 
width: 100%;
}

.mymenu ul{
/**/z-index:99999;
margin: 0;
padding: 0;
list-style-type: none;
}

/*Top level list items*/
.mymenu ul li{
position: relative;
display: block;
left: 0px;/**/

}

/*Top level menu link items style*/
.mymenu ul li a{
display: block;
background: #036; /*background of menu items (default state)*/
color: white;
padding: 8px 10px;
border-bottom: 1px solid #778;
color: #2d2b2b;
text-decoration: none;

}

* html .mymenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}

.mymenu ul li a:link, .mymenu ul li a:visited{
color: white;
}

.mymenu ul li a.selected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background: orange; 
color: white;
}

.mymenu ul li a:hover{
background: brown; /*background of menu items during onmouseover (hover state)*/
color: white;
}
	
/*1st sub level menu*/
.mymenu ul li ul{
position: absolute;
margin-left: 20%;
/*float:center;*/
display: none; /*collapse all sub menus to begin with*/
visibility: hidden;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.mymenu ul li ul li{
display: list-item;
float: none;
}

/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.mymenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.mymenu ul li ul li a{
font: normal 30px Verdana;
width: 100%; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
background: black;
}



/* Holly Hack for IE \*/
* html .mymenu{height: 1%;} /*Holly Hack for IE7 and below*/


/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}

/* ######### CSS for shadow added to sub menus  ######### */

.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: silver;
}

.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}

.mymenu a{
    display: block;
    padding: 30px;
    color: white;
}
.mymenu a:hover{
    background-color:  gray;
}

/* my nav */
.mynav{
    max-height: 0;
    transition: max-height .5s ease-out;
}
/* Menu Icon */
.hamb{
    cursor: pointer;
   /* float: right;*/
    padding-left: 20px;
}/* Style label tag */

.hamb-line {
    background:  white;
    display: block;
    height: 2px;
    position: relative;
    width: 24px;

} /* Style span tag */

.hamb-line::before,
.hamb-line::after{
    background: white;
    content: '';
    display: block;
    height: 100%;
    position: absolute;
    transition: all .2s ease-out;
    width: 100%;
}
.hamb-line::before{
    top: 5px;
}
.hamb-line::after{
    top: -5px;
}

.side-menu {
    display: none;
} /* Hide checkbox */

/* Toggle menu icon */
.side-menu:checked ~ nav{
    max-height: 100%;
}
.side-menu:checked ~ .hamb .hamb-line {
    background: transparent;
}
.side-menu:checked ~ .hamb .hamb-line::before {
    transform: rotate(-45deg);
    top:0;
}
.side-menu:checked ~ .hamb .hamb-line::after {
    transform: rotate(45deg);
    top:0;
}
