/* Header */
.header{
    background-color: var(--white);
    box-shadow: 1px 1px 5px 0px var(--gray);
    position: fixed;
    top: 0;
    padding: 15px 0px 0px 15px;
    width: 100%;
    height: 150px;
    z-index: 20;
}
/* Logo */
.logo{
    display: inline-block;
    color: var(--white);
    font-size: 40px;
    margin-left: 10px;
    text-decoration: none;
}

.logo a:focus, a:hover {
    color: var(--white);
}

@media (min-width: 1024px) {

.has-submenu:after {
  //content: " <i class='bi bi-chevron-down'></i>";
  //content: url('../../store/webimages/chevron_down.svg');
  display: block;
  content: "";
  width: 15px;
  height: 8px;
  position: relative;
  background: url('../../store/webimages/chevron_down_mini.svg') right center no-repeat;
  top: -18px;
  float: right; 
  //transform: rotate(130deg);
  margin-left: 5px;
  //float: right;
}

#navi {
  list-style: none inside;
  margin: 0;
  padding: 0;
  text-align: center;
}

#navi li {
  display: block;
  position: relative;
  float: left;
  background: var(--white);
  /* menu background color */
}

#navi li a {
  display: block;
  padding: 0;
  text-decoration: none;
  width: 150px;
  /* this is the width of the menu items */
  line-height: 30px;
  /* this is the hieght of the menu items */
  color: var(--green);
  /* list item font color */
}

#navi li li a {
  font-size: 80%;
}


/* smaller font size for sub menu items */

#navi li:hover {
  background: var(--lightgray);
}


/* highlights current hovered list item and the parent list items when hovering over sub menues */

#navi ul {
  position: absolute;
  //padding: 0;
  left: 0;
  display: none;
  /* hides sublists */
}

#navi li:hover ul ul {
  display: none;
}


/* hides sub-sublists */

#navi li:hover ul {
  display: block;
}


/* shows sublist on hover */

#navi li li:hover ul {
  display: block;
  /* shows sub-sublist on hover */
  margin-left: 200px;
  /* this should be the same width as the parent list item */
  margin-top: -30px;
  /* aligns top of sub menu with top of list item */
}


    .topside-menu {
    	display: none;
    } /* Hide checkbox */

    .subnav {
    	height: auto;
    	padding: 20px;
    	background-color: var(--white);
	border-radius: 0px 0px 5px 5px;
    }
}

@media (min-width: 2048px) {
       /* Sub nav */
    .subnav-content {
        padding: 20px 0 ;
        display: none;
        background-color:  var(--black);
    }
    .subnav-content a {
        color: white;
    }
    .topnav{
        background-color: var(--white);
        transition: max-height .5s ease-out;
        width: 100%;
        float: left;
        border-radius: 0px 0px 20px 20px;
        z-index: 20;
    }
    .topmenu {
	position: relative;
        width: 100%;
        list-style-type: none;
        //float: left;
    }
    .topmenu li {
        float: left;
	border: solid 1px red;
    }
    //.topmenu li > a:hover {
    //    float: left;
    //	color: var(--black);
    //}
    .topmenu a{
        display: block;
        padding: 10px 50px 10px 0px;
        color: var(--green);
        text-decoration: none;
    }
    .topmenu a:hover{
        background-color: var(--lightgray);
        color: var(--green)
    }
    .topmenu a:hover ~ .subnav {
	display: inline-block;
	height: 80px;
    }
    .topmenu ul > li {
        margin-left: 30px;
        list-style-image: url(../../store/webimages/arrow-return-right.svg);
        list-style-type: none;
    }
    .topside-menu {
    	display: none;
    } /* Hide checkbox */
    /* Sub nav */
    .subnav {
	position: absolute;
	background-color: var(--lightgray);
	margin: 0px;
	bottom: 0px;
	overflow: auto;
	height: 200px;
        list-style-type: none;
        display: none;
	border: solid 1px red;
	border-radius: 0px 0px 5px 5px;
	z-index: 20;
    }
    /*
    .subnav-content {
	position: absolute;
	top: 0px;
	height: 300px;
	margin: 0;
    	background-color:  var(--green);
    	width: 200px;
    	z-index: 1;
    	padding: 20px;
    	//display: none;
    }
    .subnav-content li > a {
	    margin: 0;
    }
    .subnav-content a {
    	color: var(--black);
    	text-decoration: none;
    	padding: 0;
    	//margin: 10px 0;
    	text-align: center;
    }
    .subnav:hover .subnav-content {
    	display: block;
    }
    */
}


@media (max-width: 1024px) {
    .topnav{
	position: fixed;
	width: 100%;
	height: 100%;
        background-color: var(--white);
	top: 150px;
        left: 0px;
    	z-index: 20;
        max-height: 0;
    	transition: max-height .5s ease-out;
	display: none;
    }
    .topmenu {
        width: 100%;
	height: 100%;
        list-style-type: none;
        //float: left;
    }
    .topmenu a{
        display: block;
        padding: 10px 50px 10px 0px;
        color: var(--green);
        text-decoration: none;
    }
    .topmenu a:hover{
        background-color: var(--lightgray);
        color: var(--green)
    }
    .topmenu ul > li {
  	margin-left: 30px;
  	list-style-image: url(../../store/webimages/arrow-return-right.svg);
  	list-style-type: none;
    }

    /* Menu Icon */
    .tophamb{
    	cursor: pointer;
    	float: right;
    	padding: 40px 20px;
     }/* Style label tag */

    .tophamb-line {
    	background: var(--green);
    	display: block;
    	height: 2px;
    	position: relative;
    	width: 24px;

    } /* Style span tag */

    .tophamb-line::before,
    .tophamb-line::after{
    	background: var(--green);
    	content: '';
    	display: block;
    	height: 100%;
    	position: absolute;
    	transition: all .2s ease-out;
    	width: 100%;
    }
    .tophamb-line::before{
    	top: 10px;
    }
    .tophamb-line::after{
    	top: -10px;
    }

    .topside-menu {
    	display: none;
    } /* Hide checkbox */

    /* Toggle menu icon */
    .topside-menu:checked ~ nav{
    	max-height: 100%;
	display: inline-block;
    }
    .topside-menu:checked ~ .tophamb .tophamb-line {
    	background: transparent;
    }
    .topside-menu:checked ~ .tophamb .tophamb-line::before {
    	transform: rotate(-45deg);
    	top:0;
    }
    .topside-menu:checked ~ .tophamb .tophamb-line::after {
    	transform: rotate(45deg);
    	top:0;
    }
    .subnav {
    	display: none;
    }

}
