 /* Modal container styling */
    .modal {
      display: none; /* Hidden by default */
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 20rem;
      height: 25rem;
      overflow: auto;
		scrollbar-width: none;
      background-color: whitesmoke */
    }


    /* Modal content styling */
    .modal-content {
      position: relative;
      margin: 2dvw 0;
      padding: 0;
      width: 17rem; /* Adjust width here if changed on lmenu.html */
      max-width: 22rem;
      height: 20rem;
      background-color: whitesmoke;
		box-shadow: 2px 2px 4px dodgerblue;
      border-radius: .5rem;
      overflow: hidden;
    }
/* Define modal button */
	button {
		font-family : Helvetica;
		font-size: 1.375rem;
		color : #fff;
		background : dodgerblue;
		padding: .5rem .75rem
	}

	#openModal {
		position: fixed;
		top:1rem;
		left: 10dvw;
		border: none;
		border-radius : .75rem;
		box-shadow: -2px -2px 8px #000 inset
	}

	#openModal:hover {
		color: #000;
		background: whitesmoke;
		box-shadow: 2px 2px 8px #000 inset
	}
    /* Close button styling */
    .close {
      position: absolute;
      top: 15px;
      right: 15px;
      color:#000;
		background : whitesmoke;
      font-size: 28px;
      font-weight: 300;
      cursor: pointer;
    }

    .close:hover,
    .close:focus {
      color: black;
      text-decoration: none;
    }

    /* Iframe styling */
    iframe {
      width:22rem;
		height:20rem;
      border: none;
    }



.modal-display { display: none} /* hide modal button */

#theme-toggle {
		position: fixed;
		top:1rem;
		right: 10dvw;
      font-family :wingdings;
      font-size: 1.5rem;
      border: none;
      /*border-radius: 5px;*/
      cursor: pointer;
      background:transparent;
      /*color: white;
		border: solid 1px #fff !important;
		box-shadow: 1px 1px 4px #000 !important;*/
      transition: background-color 0.3s;
        }
#theme-toggle:hover {
      background:transparent;
		text-shadow: 1px 1px 4px #ffff00}

/* Define top button */
p a.top-button{
	display :flex;
	justify-content :center;
	align-items:center;
	position:fixed;
	bottom:2rem;
	left:10dvw;
	width:3rem;
	height:3rem;
	background:dodgerblue;
	border:solid 4px #ffff00;
	border-radius:50%;
	box-shadow:1px 1px 4px #000;
	font-family: Helvetica , arial,serif;
	color:#fff !important;
	font-size:1rem;
	font-weight:bold;
	text-decoration:none;
	text-indent:0;
	text-shadow :1px 1px 2px #000
}
p a:hover.top-button{
	color:#000 !important;
	background-color:#fff;
	box-shadow:1px 1px 4px #000 inset !important;
	text-shadow:none;
	border:solid 1px #000
}

/* Define navbar menu */

ul.hnavbar1 {
	display :flex;
	justify-content :flex-start;
	align-items : flex-start;
	list-style:none; 
   /*padding: 0 clamp(1.5rem, 1.5rem + 9dvw , 10dvw);*/
	margin-bottom:0;
	float:none;
    background: black;
    box-shadow : none;
	position:relative;
	z-index:5
}
ul.hnavbar1 li{
	float:none;
	margin-right:.625rem;
	margin-bottom:.125rem;
	position:relative
}
ul.hnavbar1 a {
	display:block;
	padding:.3125rem;
	font-family :Hevetica,arial;
	font-size:clamp( 1rem ,1rem + .25dvw ,1.25rem);
	font-weight:600;
	color:#fff !important;
	border:solid 1px #fff;
	text-decoration:none
}
ul.hnavbar1 a:hover {
   font-weight: 600;
	text-decoration:none;
	}
ul.hnavbar1 ul{
	list-style:none;
	position:absolute;
	left:-9999px
}
ul.hnavbar1 ul li{
	padding-top:0px;
	float:none;
	width:100%
}
ul.hnavbar1 ul a{
	white-space:nowrap
}
ul.hnavbar1 li:hover ul{
	left:0;
}
ul.hnavbar1 li:hover a {
	background-color: #303030; /* hover color */
	text-shadow:none;
	text-decoration:none;
	border: solid 1px #fff;
	box-shadow:4px 2px 4px #000
}
ul.hnavbar1 li:hover ul a{
	text-decoration:none;
}


ul.hnavbar1 li:hover ul li a:hover{
	color:#eee !important;
	background-color: #696969; /* hover color*/
	box-shadow:4px 4px 8px #000;
   border : solid 1px #fff
}
ul.hnavbar1 li ul,
ul.hnavbar1 li:hover ul li ul,
ul.hnavbar1 li:hover ul li ul li ul {
	position:absolute;
	display:none
}
ul.hnavbar1 li:hover ul {
	position:absolute;
	display:block;
	left:0;
	min-width:12rem;
	white-space:nowrap;
	z-index:5
}
ul.hnavbar1 li ul li:hover ul {
	display:block;
	position:absolute;
	top:0;
	left:100%;
	min-width:12rem;
	z-index:5
}
ul.hnavbar1 li ul li ul li:hover ul{
	display:block;
	position:absolute;
	top:0;
	left:100%;
	min-width:12rem;
	z-index:5
}


@media (max-width :1000px){
	nav , nav ul.hnavbar1 {
		display:none
}
	div.modal-display {
		display:block
}
}