html {
    height: 100%;
    width: 100%;
}
body {
    min-height: 100%;
    width: 100%;
    background-color:#dfeaf4;
    font-family:Arial,sans-serif;
    font-size: 120%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}
@media (min-width:1200px) {
    body {
        font-size: 88%;
    }
}
#logo {
    position:fixed;
    left:-30px;
    top:-30px;
    height:280px;
    width:280px;
    overflow:auto;
    z-index: 2;
}
#sidebar {
    background-color:#dfeaf4;
    width: 250px;
    height: 100%;
    flex-shrink: 0;
    flex-grow: 0;
}
#content {
    flex-shrink: 1;
    flex-grow: 1;
    margin: 1rem;
    margin-bottom: 3rem;
}
#header {
    height: 8rem;
    justify-content: space-between;
    flex-wrap: nowrap;
    background-image: url("/imgs/icgemlogo-web.png");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: contain;
}
#header.samdat {
    background-image: url("/imgs/samdat.png");
}
#header img {
    height: 4rem;
    width: auto;
}
#footer {
    background-color:#dfeaf4;
    position: fixed;
    left: 260px;
    right: 1rem;
    height: 2rem;
    bottom: 0px;
    font-size: smaller;
    text-align: center;
    border-top: 1px solid #888;
}
#menu {
    position:fixed;
    left:0;
    top:0;
    bottom:0;
    width:250px;
    padding-top:220px;
    padding-bottom:20px;
    overflow-y:auto;
    z-index: 3;
}
#menu a, #menu h4 {
    display:block;
    padding:5px;
    margin-right:12px;
    margin-left:12px;
    margin-bottom:3px;
    text-align:center;
    font-size:1.2em;
    font-weight:bold;
}
#menu a.sub {
    margin-left:34px;
    margin-right:34px;
    font-size:1.0em;
}
#menu a:visited, #menu a:active, #menu a:link {
    background: rgba(163, 197, 225, 0.5);
    color:#0062a3;
    text-decoration:none;
    border-radius:100px;
}
#menu a:hover, #menu a.self {
    background: rgba(46, 127, 184, 0.8);
    color:#dfeaf4;
    text-decoration:none;
    border-radius:100px;
}
#menu .new::after {
    display: inline-block;
    margin: .5em;
    -webkit-transform: rotate(-10deg);
    color: #ff0000;
    content: "new";
}
#popup {
    background: rgba(163, 197, 225, 0.9);
    /*border: 2px dashed rgba(46, 127, 184, 0.8);*/
    padding: 1rem;
    margin-right: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0 .5rem .25rem rgba(46,127,184,0.5);
    border-radius: 1rem;
    /*margin:2em;*/
    position: fixed;
    right:0;
    bottom:0;
    width:20rem;
    height:7rem;;
    text-align:center;
    font-weight:bold;
}
#popup h4 {
    margin-top:1rem;
}
#popup .x {
    float:right;
}
h1 {
    color:#0062a3;
}
h1.textshadow {
    text-shadow:#2e7fb8 2px 2px 2px;
}
a:link {
    color:#0062a3;
    text-decoration:none;
}
a:visited {
    color:#0062a3;
    text-decoration:none;
}
a:hover {
    color:#0062a3;
    text-decoration:underline;
}
a:active {
    color:#ff6600;
    text-decoration:underline;
}
.progress {
    background-color: rgba(46, 127, 184, 0.5);
    border-radius: unset;
}
.progress .progress-bar {
    background-color: #0062a3;
    overflow: visible;
}
.nav-tabs .nav-link.active {
    color: #fff;
    background-color: #0062a3;
    border: none;
}
