
/* 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.125rem; 
		color : #fff; 
		background : dodgerblue;
		padding: .125rem .75rem
	}

	#openModal {
		position: fixed;
		top:.25rem;
		left: 0;
		border: solid 1px;
		box-shadow: 1px 2px 8px #000 ;

	}

	#openModal:hover { 
		color: #ddd;
		background: #0066CC;
		box-shadow: none
	}
    /* Close button styling */
    .close {
      position: absolute;
      top: 20px;
      right: 15px;
      color:#fff;
		background : dodgerblue;
      font-size: 28px;
      font-weight: 400;
		padding: 1px 4px;
		box-shadow: 1px 2px 4px #000;
      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 */

/* Define Top Button */
p a.top-button{
	display :flex;
	justify-content :center;
	align-items:center;
	position:fixed;
	bottom:2rem;
	left:1.5rem;
	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 ;
	font-size:1rem;
	font-weight:normal;
	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
}

#theme-toggle {
		position: fixed;
		top: .125rem;
		right: 1rem;
      font-family :wingdings;
      font-size: 1.5rem;
      border: none;
      cursor: pointer;
      background:transparent;
      transition: background-color 0.3s;
        }
#theme-toggle:hover {
      background:transparent;
		text-shadow: 1px 2px 20px #ffff00}


/* Exit*/
div a.button1 {
position: fixed;
top:.125rem;
left: 0;
border: solid 1px;
box-shadow: 1px 2px 8px #000 ;
z-index: 10;
}

div a.button1 {
font-family : arial;
font-size: 1.125rem; 
color : #fff !important;
font-weight: bold; 
text-shadow: 1px 1px 1px #000;
background : #ff931e;
padding : .125rem .75rem;
text-indent: 0;
/*box-shadow: -2px -2px 8px #000 inset;*/

}

div a:hover.button1 {
background : #B36715;
color:#ddd !important;
text-decoration: none;
box-shadow: none;
text-shadow:none;
border: solid 1px
}



/* Define drop down */

ul.hnavbar1 {
	display :flex;
	justify-content : flex-start;
	align-items : flex-start;
   background : dodgerblue;
	list-style:none;
	margin-bottom:0;
	float: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:.25rem;
	font-family : arial, serif;
	font-size:clamp( 1.125rem ,1.125rem + .125dvw ,1.25rem);
	font-weight: normal;
	color:#fff !important;
	border:solid 1px;
	text-decoration:none
}
ul.hnavbar1 a:hover{
	text-decoration:none;
	border:solid 1px
}
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:#80c0ff;
	text-shadow:1px 1px 1px #000;
	text-decoration:none;
	box-shadow:4px 2px 4px #000
}
ul.hnavbar1 li:hover ul a{
	text-decoration:none
}
ul.hnavbar1 li:hover ul li a:hover{
	color:#fff;
	background:dodgerblue;
	box-shadow:4px 4px 8px #000
}
ul.hnavbar1 li ul,
ul.hnavbar1 li:hover ul li ul,
ul.hnavbar1 li:hover ul li ul li ul,
ul.right {
	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 :700px){
	nav ,ul.hnavbar1{
		display:none
}
	div.modal-display{
		display:block
}
div a.button1 {
position: fixed;
top:.25rem;
left: 71px;
margin-left: 1rem
}


}

@media (max-width: 450px) {
#openModal {
position: fixed;
		top:.25rem;
		left: 0rem;}

p a.button1 {
position: fixed;
top:.25rem;
left:71px;}

#theme-toggle {
		position: fixed;
		top:0rem;
		right: 1rem;}


}







