    html {
    box-sizing: border-box;
    z-index: 2}

    *,
    *:before,
    *:after {
    box-sizing: inherit;
    z-index: 1;}


    body {
    background-color: rgb(50,50,50);
    position: relative;
    margin: 0;
    font-family: avenir;
    }

    .allContainer{
    background-color: white;
    max-width: 1500px;
    max-height: 100%;
    min-height: 100vh;
    margin: auto;
    transform: translateX(0px);
    }


    .head {
	position: -webkit-sticky;
    position: sticky;
    top: 0;
    width:100%;
    overflow:hidden;
    background-color: white;
    background-image: url("./media/graphics/headMF.svg");
    height:90px;
    background-position: right;
    background-repeat: no-repeat;
    background-size: auto 100%;
    z-index:100;
    }


    /* Style the top navigation bar */
    .topnav {
	position: -webkit-sticky;
    position: sticky;
    float:left;
    top:90px;
    height: calc(100% - 120px);
    min-height: calc(100vh - 115px);
    min-width: 33px;
    max-width: 190px;
    padding-top: 10px;
    font-size: 16px;
    background-color: white;
    z-index: 10;
    border-right: 2px solid black;
    }

    /* Style the topnav links */
    .topnav a {
    text-align: center;
    display: inherit;
    padding: 5px 16px;
    margin-left: 1px;
    margin-right: 1px;
    margin-bottom: 7px;
	text-decoration: none;
    }

    /*#gap{
    width:100%;
    height: 10px;
    background-color: white;
    margin-bottom: 10px;
    }*/

    #sub{
    display:none;
    white-space: nowrap;
    background-color: rgb(50,50,50);
    color: white;
    margin-left: 20px;
    font-size: 12px;
    }

    #menu{
	background-image: url("./media/burger.svg");
	background-size: auto 100%;
    height: 30px;
    text-align: center;
    font-size: 20px;
    padding: 5px;
	padding-top:0px;
    margin-left: 1px;
    margin-right: 1px;
    text-decoration: none;
    cursor: none;
    display: none;
    /*border-top: 1px solid black;
    border-bottom: 1px solid black;*/
    }

    .topnav a:link {color: black; background-color: rgb(240,240,240);}
    .topnav a:visited {color: black; background-color: rgb(220,220,220);}
    /*.topnav #link:hover {background-color: #79d219ff; font-style: italic}
    .topnav:hover #sub {display: block;}*/
    .topnav a:active {color: rgb(240,240,240); background-color: rgb(20,20,20);}

    /* Style the content */
    .content {
    position: relative;
    width:100%;
    height: calc(100% - 25px); /*orig. not in un..gallery & grid*/
    padding:10px;
    z-index:4;
    }
    /* Style the footer */
    footer {
    background-color: #efefef;
    position:sticky;
    height: 25px;
    bottom:0;
    color: white;
    text-align:center;
    z-index: 100;
    white-space: nowrap;
    }

    footer > *{
    font-size: 12px;
    text-align: center;
    padding: 5px 16px;
    padding-bottom: 5px;
    text-decoration: none;
    color: black;
    }

    footer > text{
    float:left;
    }

    @media only screen and (max-width: 680px){
    /*#link:hover, #sub:hover{
    font-size: 16px;
    min-width:150px;
    max-width: 190px;
    height: 30px;}*/

    .topnav #sub{
    font-size: 0;
    }
    /*.topnav #sub:hover{
    font-size: 12px;
    }*/

    .content{
    width:100%;
    }

    @media only screen and (max-width: 500px){
    .topnav{
    width: 30px;
    z-index: 90;
	border-right:none;
	padding:3px;
	
    }

    .topnav a {
    height: 10px;
    width:inherit;
    padding-left: 1px;
    display: none;
    text-decoration: none;
    font-size:0;
    /*transition: font-size 0.5s, width 1.5s;*/
    }

		
    #sub{
    display:none;
    background-color: rgb(50,50,50);
    color: white;
    margin-left: 20px;
    font-size: 0;
    }
    #menu{
    display:block;
    color:rgb(30,30,30);
    }

   	/*#link:hover, #sub:hover{
    height: 100px;
    font-size: 16px;
    min-width:150px;
    width: auto;
    height: 30px;
    }*/


    }
    @media only screen and (max-width: 415px){
    body {
    }

    .head{
    background-position: left;
    }


    .contentwrapper {
      width: auto;
    }

    footer text {
    display: none;
    }
    }
    @media only screen and (max-height: 500px){

    .head {
      display:none;
    }

    .topnav {
    top: 0px;
    height:100%;
    min-height: 100vh;
    }
    }
