body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size:10pt;
    padding: 0;
    margin: 0; 
    background-color: #eee;
    background-image: linear-gradient(45deg, #ddd 25%, transparent 25%),
     linear-gradient(-45deg, #ddd 25%, transparent 25%), 
     linear-gradient(45deg, transparent 75%, #ddd 75%),
     linear-gradient(-45deg, transparent 75%, #ddd 75%);
    background-size: 10px 10px;
    background-position: 0 0, 0 5px, 5px -5px, -5px 0px;
    background-color: #eee;
    line-height: 2em;

    /*background-image: radial-gradient(closest-side, transparent 98%, #bcc4cf 99%), radial-gradient(closest-side, transparent 98%, #acd4ef 99%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;*/
     
}
body, body * {
    box-sizing:border-box;
}
 a{
    color: #39a;
    text-decoration:none;
 }
 a:hover{
    color: #1ac;
    text-decoration:underline;
    text-decoration-color: #96c;
 }
 
small{
    font-size:0.8em;
}
#main-content{
    background-color:#fff;
    padding:5px;
    margin-top:10px;
    border-radius:6px;
}

footer{ 
    text-align:Center; 
    padding:30px;
    margin-right:auto;
    margin-left:auto;
    background-color:#123;
    color:#fff;
    border-radius:20px;
    opacity:0.6;
}
footer a{
    color:#fff;
}
table{
    border-collapse:collapse;
    min-width:95%;
    font-size:inherit;
}

.table-wrapper{
    overflow-x:scroll; 
}
td, th{
    padding:8px;
    vertical-align:top;
    border:1px solid #ddd;
}
.columnHeader{
    background-color:#e0e0e0;
    font-weight:bold;
}
#main-content{
    min-height:400px;
    border:1px solid #eee;
}


 h1{
    border-bottom:2px solid #3ac;
    margin:5px 0 3px 0;
    padding:3px;
 }

 .page-nav{ 
    font-size:0.8em;
    border-bottom:1px dashed #eee;
 } 
 .article h2, .article h3{
    border-bottom:1px solid #3ac;
    margin:16px 0 8px 0;
    padding:0px;
 }
 h1{
    font-size:1.8em;
 }
 h2{
    font-size:1.4em;
 }
 h3{
    font-size:1.2em;
 }

check{
    font-size:2em;
}

/* ------- HEADER ------ */
#main-header{
    
   margin-left:auto;
   margin-right:auto;
}
#main-header a{
    text-decoration: none !important;
}
#header-upper{
    display:flex;
    justify-content:space-between;
    align-items: center;
    border:1px solid #eee;
    padding:3px 5px 3px 5px;
    background-color:#fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;

   /* background-image: linear-gradient(45deg, #a6c 25%, transparent 25%, transparent 75%, #a6c 75%), linear-gradient(-45deg, #3ac 25%, transparent 25%, transparent 75%, #3ac 75%);
background-size: 10px 10px;
background-position: 0 0;
background-color: transparent;*/
}
#header-lower{
    display:flex;
    justify-content:space-between;
    align-items: center;
    background-color: #335066; 
    border-radius: 8px;
    padding:2px 2px 0 2px;
}
 
header ul{
    list-style-type: none;;
}
header a{
   text-decoration:none;
}
#global-search-form {
    margin:0; 
    padding:2px;
    flex-grow:1;
    text-align:right;
    position:relative;
}
input.search{  
    font-size:1.1em; 
    width:90%;
    background:url(/images/search.png);
    background-repeat:no-repeat;
    background-position: center right;
    background-size:35px 20px;
    background-color:#fff;
    outline:none;
}
.search-page form{
    text-align:center;
}
.search-page form input.search{
    width:70%;
    font-size:1.5em;
}
#global-search-form .results{
    position:absolute;
    z-index:1;
    right:0;
    background-color:#fff;
    border:1px solid #ccc;
    border-radius:5px;
    width:90%;
    text-align:left;
    font-size:0.9em;
    background-color:#888;
    max-height:400px;
    min-height:100px;
    display:none;
    overflow-y:scroll;
}

#global-search-form.expanded .results{
    display:block;
}
#global-search-form .results ul {
    padding:0;
    margin:0;
    
}
#global-search-form .results li, #global-search-form .results > div{
    margin:2px;
    padding:3px;
    background-color:#fff;
    border-radius:5px;

}
#global-search-form p, #global-search-form h4{
    margin:0;
    padding:0;
    color:#39B;
}
#global-search-form .results div{
   font-size:0.8em;
   color:#777;
}
#global-search-form .results li:hover h4{
    color:#d6d;
}
.search-page ol.list-layout > li{
    border:none;

    border-bottom:1px solid #dee;
    padding-top:10px;
}

.search-page ol.list-layout .subtitle{
    color:#776;
    font-size:0.7em;
}
#main-header img.icon {
    background-color:#fff;
    padding:5px;
    margin:5px;
    border-radius:6px;
    width:25px;
    height:25px;
   
}

#site-logos img{
    height:40px;
}
#login-links .pfp-icon{
    border:2px solid #abc;
    background-color:#eee;
    border-radius:10px;
    width:30px;
    height:30px;  
}
#login-links.logged-in .pfp-icon{
    border:2px solid #3bc;
    background-color:#fed;
}

  #login-links{
   position:relative;
   padding:0;
   
  }
#login-links ul{
    position:absolute;
    top:10px;
    right:0;
    background-color:#456;
    min-width:120px; 
    display:none;
    text-align:right;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    min-width:260px;
    padding:0;
    z-index:2;
}


 
#login-links.expanded .pfp-icon{
   border:3px solid #396;
   background-color:#ffc;
   
}
#login-links.expanded ul{
    display:block;
    
}
#login-links li{
    margin:5px;
    padding:5px; 
    color:#fff; 
}
#login-links li a{
    color:inherit;
    background-color:inherit;
    display:block; 
}
#login-links li:not(:first-of-type){
   border-top:2px solid #ccc;
}
#login-links li:hover{
    color:#9f0; 
}
/* - - - MENU ----- */


ul.block{
    list-style-type: none;

}

@media screen and (min-width:700px) {
    #main-header, footer{
        width: 94%;
        max-width: 1300px;
    }
    #global-search-form input, #global-search-form .results{  
        width:300px;
    }
    #main-content{
        max-width: 90%;
        margin-left:auto;
        margin-right:auto;
    } 
    .flex-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 400px));
        column-gap: 10px;
        justify-content: space-between;
       
    }
    table{
        min-width:400px;
    }
    .grid-rs {
        display: grid;
        grid-template-columns: auto minmax(250px, 30%)
    }  
    .grid-rs > *, .grid-2 > *{ 
        margin:5px;
        padding:5px;
    }
   .flex-rs {
        display: flex;
        justify-content:space-between; 
    } 
    .flex-rs > :nth-child(0){
        flex-grow:2;
     
    }
    .row-span-2{
        grid-row:span 2;
    }


}

.error{
    color:#ff0000;
}
 
ul.link-buttons{
    display:flex; 
    justify-content: right;
    list-style-type: none;
    padding:0px;
    margin:0px;
    border-bottom:1px dashed #eee;
}
ul.link-buttons li{ 
    padding:3px; 
}
.link-buttons  a{
    border-radius:10px;
    background-color:#379;
    color:#fff;
    padding:5px 15px;
    border:1px solid #eee;

}
.link-buttons  a:hover{
    background-color:#39c;
}
/*--------- LISTS ---------*/
 