

/* HEADER  */

.top {
	display: grid;
	grid-template-columns: 20vw 80vw;
	position: fixed;
	z-index: 3;
	background: #fff;
}


.topbar {
	overflow: hidden;
	height: 4vw;
	position: relative;

}

.topbar a.logo {
    display:block;
   height: calc(4vw);
}

.topbar a.logo img.logoimg {
	height: 2.5vw;
	top: calc(50% - 0.5*2.5vw);
	position: relative;
	left: calc(2/100*100vw);
	 background: none;
}

#myLinks {
 display: inline-block;
  position: relative;
  text-align: right;
}

#menu {
  display: inline-block;  
}


a.menu {
	color: #444;
	padding: 0 2vw;
	text-decoration: none;
	
	height: 4vw;
	line-height: 4vw;
}


a.menu:hover {
	background: #f5f5f5;
	transition: 0.5s;
}


a.toggle {
    height: 4w;
    display: none;
}

a.toggle:hover {
background: rgba(255, 255, 255, 0.2);
}

#toggle {
    transform: scaleY(1);
  rotate: 0deg;
}

img.toggleimg {
	height: 4vw;
	position: absolute;
top: 0;
right: 0;
	 background: none;
	 transform: none;
}


/* FOOTER  */


.footer {
	margin: 0 auto;
margin-top: auto;
	color: #444;
	padding: 15px 2vw;
	width: calc(100vw - 4vw);
	position: relative;
	height: 20px;
	border-top: 1px solid #cccccc;
}

.footerlink {
	position: absolute;
	left: 2vw;
}

.footerid {
	position: absolute;
	right: 2vw;
}

 .footer a:link, .footer a:visited {
       	color: #444; text-decoration: none;
   }
   
.footer a:hover {

	text-decoration: underline;
}



/*  ----------------------------------------------------------------------- MOBILE -------------------*/


@media only screen and (max-width: 1000px) {


/* HEADER */

  #top {
      	height: 14vw;
  }
    
.top {
	grid-template-columns: 100vw;

}
 


.topbar {
	height: 14vw;
}

.topbar a.logo {
	display: block;
	height: 14vw;
}


.topbar a.logo img.logoimg {
	height: 8vw;
	top: calc(50% - 0.5*8vw);
	position: relative;
	left: calc(2/100*100vw);
	background: none;
}



a.toggle {

	position: absolute;
	top: 0;
	right: 0;
	display: block;
	height: 14vw;
}


img.toggleimg {
	rotate: 180deg;
	height: 14vw;
	position: absolute;
	top: 0;
	right: 0;
	aspect-ratio: 1/1;
}


/* FOOTER */

  
.footer {
	width: 100vw;
	padding: 15px 0;
	text-align: center;
	margin: 0 auto;
margin-top: auto;
	height: auto;
	
}

.footerlink, .footerid {
    position: relative;
    left: auto;
    right: auto;
}

.footerid {
    margin-top: 10px;
}





#myLinks {
top: calc(-5*14vw);
  position: relative;
  text-align: left;
}

#menu {
  display:block;  
}

a.menu {
	color: #444;
	padding: 0 5vw;
	text-decoration: none;
	display: block;
	height: 14vw;
	line-height: 14vw;
}


#myLinks a.menu:active {
	background: #f5f5f5;
	transition: 0.5s;
}



}