* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Roboto Thin', sans-serif;

    background: white url("../images/background.png") repeat fixed 0px 0px;
    background-size: 50px;

}

.row{
    display:flex;
    justify-content:flex-start;
    align-items:stretch;
    flex-wrap:nowrap;
    padding:10px;
}

.cell{
    min-height:75px;
    flex-grow:1;
    flex-basis:100%;

}

#content{
    max-width: 875px;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
}

#maincell{
    max-width:960px;
    margin:0 auto 0 auto;
}

#i7kd{
    padding:0 0 0 0;
    height:100%;
}

#content{
    font-family: Roboto, sans-serif;
    background-color: white;
    padding-top: 80px;
    border:dotted 1px;
}

#headercontainer{
    min-width: 960px;
    position: fixed;
    background-color: white;
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size:40px;
    margin:auto 0 auto 0;
    z-index: 2;
}

#headerrow{
    padding:0 0 0 0;
}

#ihgy{
    padding:0 0 0 0;
    min-width:50px;

    min-height:auto;
    max-width:85px;
    width:100%;
    height:85px;
    display:flex;
    justify-content:flex-start;
}

#body{
    display: flex;
    padding:0 0 0 0;
    height:100%;

    /*min-height:100%;*/
}


#headerlocation{
    margin:auto 0 auto 0;
    min-height:0;
    padding:0 0 0 20px;
    float:left;
}

#headername{min-height:0;
    margin:auto 0 auto 0;
}

#header{
    padding:0 0 0 0;
    height:100%;
    min-height:85px;
    border:dotted 1px;
}

#sidebar{
    min-width: 85px;
    max-width: 85px;
    border:dotted 1px;
    background-color: white;
}

#content{
    max-width: 875px;
}

/* Dropdown Button */
.dropbtn {
    background-color: #98C9EE;

    color: white;
    /*padding: 16px;*/
    font-size: 12px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {

    width: 100%;
    max-width: 85px;
    position: relative;
    display: inline-block;
    float:left;
    transition-duration: 1s;

}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    font-size: 40px;
    visibility: hidden;
    opacity: 0;
    transition-property: opacity, visibility;
    transition-duration: .4s, 0s;
    transition-delay: 0s, .4s;


    position: absolute;
    background-color: #f1f1f1;
    width: 85px;
    min-height: 85px;
    /*box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);*/
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content div {
    color: white;
    /*padding: 12px 16px;*/
    min-height: 85px;
    width:85px;
    /*display: block;*/
    transition-property: width;
    transition-duration: 1s;
    z-index: 1;
}

.dropdown-content div a{
    position: absolute;
    margin: 0;
    padding: 0;
    text-decoration: none;
    z-index: 3;

}

.dropdown-content div:hover span:after {
    opacity: 1;
    /*padding-right: 19px;*/
    right: 10px;
}

.dropdown-content div span {
    cursor: pointer;
    float: right;
    position: relative;
    /*margin: auto 0 auto 0;*/
    padding-top: 25px;
    /*right: 0px;*/
    opacity: 0;
    /*padding-right: 10px;*/
    /*padding-left: 10px;*/
    /*transition-duration: 0.5s;*/
    z-index: 2;
}

.dropdown-content div:hover span {
    opacity: 1;
}



.dropdown-content div span:after {
    position: absolute;
    opacity: 0;
    /*transition-duration: 0.5s;*/
}

#spanhome:after{
    content:"Home";
}

#homediv{
    background-color: #4FA7EB;
}

#homediv:hover{
    width: 210px;
}

#divproject{
    background-color: #3E83B8;
}

#spanproject:after{
    content: "Projects";
}

#divproject:hover{
    width: 240px;
}

#divpaper{
    background-color: #455A6B;
}

#spanpaper:after{
    content: "Publications";
}

#divpaper:hover{
    width: 315px;
}

#divcontact{
    background-color: #244C6B;
}

#spancontact:after{
    content: "Contact";
}

#divcontact:hover{
    width: 240px;
}

.dropdown-content a:hover {

}

/* Change color of dropdown links on hover */
.dropdown-content div:hover {
    /*background-color: #ddd;*/
    width: 200px;
}




/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s, 0s;

}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

@media (max-width: 992px){#headerspace{max-width:0;}}@media (max-width: 768px){.row{flex-wrap:wrap;}}