html, body {height: 100%;}

body {
    font-family: sans-serif;
	text-align: center;	
	padding: 0px;
	overflow: hidden;
	background-color: white;
}

#header {
    background-color: gainsboro;
    position: fixed;
    top: 0;
    height: 100px;
    left: 0; right: 0;
    background-image: url('P2P.png');
    background-size: auto 90%;
    background-position: 20px 50%;
    background-repeat: no-repeat;
    line-height: 100px;
    overflow: hidden;
}
#header span.title {
    vertical-align: middle;
    line-height: normal;
    display: inline-block;
    font-size: 150%;
    padding: 0px 200px; 
}
#body {
    position: fixed;
    top: 130px;
    left: 0px; right: 0px;
    padding: 8px;
    bottom: 0px;
    overflow: auto;
}
#menu {
    position: fixed;
    top: 100px;
    height: 30px;
    left: 0; right: 0;
    background-color: silver;
    overflow: hidden;
    z-index: 100;
}    

#menu div {
    float: left;
    margin: 0px 8px;
    padding-top: 4px;
}


div#login {
    position: relative;
    top: 12%;
    float: right;    
    font-size: 80%;
}
div#login img {
    position: relative;
    top: -5px;
    width: 9em; 
    border: 0px; 
}

a {
    color :rgb(35, 60, 90);
    text-decoration: none;
    transition: color .2s, text-decoration .2s;
}
a:hover {
    color: white;
}
#body a:hover {
    color: blue;
    text-decoration: underline;
}
div.g-recaptcha div {
    margin: 1em auto 0 auto;
}
.response{
	width:90%;
	border:2px solid black;
	margin:auto;
	z-index:10;
	background-color: gainsboro;
	padding: 8px;
}

#share {
    cursor: pointer;
}
.green{
	color:green;
}
.red{
	color:red;
}
#tableDiv {
    text-align: left;
    position: absolute;
    top: 2.5em; bottom: .5em;
    left: .5em; right: .5em;
    border: 1px solid black;
    overflow: auto;
}
#table {
    width: 100%;
    border-collapse: collapse;
}
#table .sticky {
    position: sticky;
    background-color: gainsboro;
    top: 0px;
    width: 100%;
    padding-bottom: 2px;
}
#table tr:nth-child(even) {
  background-color: #f2f2f2;
}
#table th {
    color: black;
    cursor: pointer;
}
#table th:hover {
    color: white;
}
#table td, #table th {
    padding: 0 8px;
}
#table span {
    cursor: pointer;
}
#table span:hover {
    color: red;
}
#actionDiv {
    position: absolute;
    text-align: left;
    bottom: 0;
    height: 42px;
    left: 0; right: 0;
    overflow: hidden;
    padding-left: 8px;
}
input, textarea, select {
    font-size: inherit;
}

#editLink {
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    z-index: 200;
    background-color: rgba(0, 0, 0, .5);
    display: none;
}
#editLink div {
    position: absolute;
    top: 10vh; bottom: 10vh;
    left: 10vw; right: 10vw;
    text-align: center;
    background-color: white;
    border: 2px solid black;
    padding: 1em;
}

@media only screen and (max-width: 500px) {
    #header {
        font-size: 80%;
    }
    #menu {
        font-size: 150%;
        text-align: left;
        height: 1.5em;
    }
    #menu:hover {
        height: auto;
        width: auto;
    }
    #menu::before {
        content: "☰";
    }
    #menu div {
        float: none;
    }
    div#login {
        position: fixed;
        top: 100px;
        right: 4px;
        font-size: 50%;
    }
    #body {
        font-size: 150%;
    }
    input {
        max-width: 90%;
    }
    #tableDiv {
        margin-top: 1em;
    }
}