:root{
    --babyblue: #BFD7EA;
    --darkblue: #263A4F;
    --babydark: #83A6C1;
    --brown: #EBEAE2;
    --darkbrown: #A3A399;
    --blue: #556C82;
}
body {
    padding: 0;
    overflow-x: hidden;
    margin:0;
    height:100vh;
    width:100%;
    background: linear-gradient(to top, #616F7F, #EBEAE2 70%);
    background-attachment: fixed;
    font-family: 'Times New Roman';
    color: var(--darkblue);
    line-height: 1.2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: var(--darkblue);
    text-decoration: none;
}
a:hover {
    color: var(--babydark);
    text-decoration: none;
}
a.underline { /* do I need this? */
    color: var(--darkblue);
    border-bottom: 2px solid var(--babyblue);
    text-decoration: none;
}
a.underline:hover { /* do I need this? */
    color: var(--babydark);
    text-decoration: none;
}
/* ~~~ TOP MENU ~~~ */
#ooir_top {
    background: linear-gradient(to bottom, #616F7F, transparent 100%);
    height: 130px;
    text-align: center;
}
.menulogo {
    width: 20%;
    margin: 0 auto;
}
#ooir_top div.menu a {
    color: var(--darkblue);
    text-decoration: none;
}
#ooir_top div.menu a:hover {
    color: var(--babydark);
    text-decoration: none;
}
#ooir_top div.menu a.active_menu {
    color: var(--babydark);
    text-decoration: none;
}
#ooir_top div.menu a.active_menu:hover {
    color: var(--darkblue);
    text-decoration: none;
}
#ooir_top ul {
    text-align: center;
    font-size: 1.4em;
    color: var(--darkblue);
    padding-top: 140px;
    padding-left: 0;
    margin: 0;
    line-height: 1.8;
}
#ooir_top li {
    display: inline-block;
    font-weight: bold;
    margin-right: 28px;
}

/* ~~~ OOIR MAIN ~~~*/
#ooir_main {
    margin-left: 3%;
    margin-right: 3%;
    padding-top: 60px;
}
/*.clicker {
cursor:pointer;
}*/
.hiddendiv{
    display:none;
    text-align: left;
    border-radius: 20px;
    padding: 0.3em 0.5em;
    margin: auto;
    box-sizing: border-box;
    text-decoration: none;
    background-color: #BFD7EA; 
    font-size: 0.9em;
    column-width: 200px;
    width: 60%;

    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    position: absolute;
}
.hiddendiv2{
    display:none;
    text-align: left;
    border-radius: 20px;
    padding: 0.3em 0.5em;
    margin: auto;
    box-sizing: border-box;
    text-decoration: none;
    background-color: #BFD7EA; /* #83A6C1 */
    font-size: 0.9em;
    column-width: 200px;
    width: 60%;

    left: 0; 
    right: 0; 
    margin-left: auto; 
    margin-right: auto; 
    position: absolute;
}
.visible {
    display: block;
}
.catmenu {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.2em;
}
ul.multicolumnmenu {
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.3em 0.5em;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-align: left;
    transition: all 0.2s;
    background-color: #BFD7EA; /* #83A6C1 */
    font-size: 0.8em;
    white-space: pre;

    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}
div.title {
    box-sizing: border-box;
    text-align: center;
    border: none;
    font-size: 1.4em;
    color: var(--darkbrown);
    margin-bottom: 30px;
    background: var(--brown);
}
div.title a {
    color: var(--darkbrown);
}
hr.menuhr {
    border: 2px solid var(--darkblue);
    width: 150px;
    border-radius: 3px;
    margin-top: 20px;
    margin-bottom: 20px;
}
/* +++FORMS+++ */

select, input, textarea, button {
    background: var(--babyblue);
    color: var(--darkblue);
    padding: 9px;
    font-size: 1em;
    font-family: 'Times New Roman';
    border: 1px solid var(--darkblue);
    border-radius: 3em;
}
.pagination {
    cursor: pointer;
}
input:hover, textarea:hover, select:hover, button:hover {
    background: var(--babydark);
    color: var(--babyblue);
}
input:focus, select:focus, textarea:focus {
    background: var(--babyblue);
    color: var(--darkblue);
}
/* ~~~ BLOG ~~~ */
div.newswrap {
    margin-bottom: 20px;
    margin-top: 20px;
}
img.newsimg {
    float: right;
    overflow: auto;
    padding-left: 10px;
    padding-bottom: 10px;
}
.newsinfo {
    color: var(--darkbrown);
    margin-bottom: 12px;
}
.newsinfo a {
    color: var(--darkbrown);
    text-decoration: none;
}
.newstitle {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 20px;
}
/* ~~~~ MISC ~~~~ */
h2 { color: var(--darkbrown); font-size: 28px; font-weight: 400; line-height: 32px; margin: 36px 0 18px 30px; }
div.center {
    text-align: center;
}
div.left {
    text-align: left;
}
div.right {
    text-align: right;
}
h3 {
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 1em;
}
.smallcontent {
    width: 90%; margin: 0 auto;
}
.smallercontent {
    width: 50%; margin: 0 auto;
}
.largefont {
    font-size: 1.1em;
    line-height: 1.7;
}
/* show papers */
.paperbox {
    padding: 15px;
    box-sizing: border-box;
    border: 1px solid var(--darkbrown);
    margin-top: 10px;
    margin-bottom: 10px;
    background: var(--brown);
    min-width: 0;
    box-shadow: 2px 5px 9px #888888;
}
.statwrap {
    box-sizing: border-box;
    margin-top: 0;
    margin-bottom: 10px;
    min-width: 0;    
}
.explanation {
    font-size: 0.8em;
    margin-bottom: 20px;
    color: var(--darkbrown);
}
.seemore {
    font-size: 0.8em;
    font-style: italic;
    margin-top: 25px;
}
.paper {
    border-bottom: 2px solid var(--babyblue);
}
.datepaperwrap {
    margin-bottom: 20px;
}
.dateright {
    margin-top: 5px;
    font-style: italic; 
    float: right;
    font-size: 0.8em;
}
.journalline {
    margin-top: 6px;
    margin-bottom: 6px;
    margin-left: 2em;
    padding: 0;
    font-style: italic;
    font-size: 0.8em;
}
.catline {
    margin: 0;
    margin-top: 3px;
    padding: 0;
    margin-left: 1.6em;
    margin-bottom: 15px;
}
.altbox {
    margin: 0 auto;
    overflow: hidden;
    margin-top: 15px;
}
.altleft {
    width: 73px;
    vertical-align: top;
    margin: 0 auto;
    float: left;
    height: 73px;
    margin-right: 3px;
}
.rankleft {
    width: 40px;
    margin: 0 auto;
    float: left;
    height: 73px;
    font-size: 1.4em;
    color: #A3A399;
    display: flex;
    align-items: center;
    text-align: center;
}
.altright {
    overflow: hidden;
}
.label {
    font-size: 0.6em;
    font-weight: bold;
    background-color: var(--babyblue);
    text-align: center;
    width: 100px;
    padding: 4px;
    text-transform: uppercase;
    border-radius: 5px;
    font-style: normal;
    white-space: nowrap;
    cursor: pointer;
}
.dateleft {
    width: 45px;
    float: left;
    height: 73px;
    color: var(--brown);
    display: flex;
    flex-direction: column;
    margin-left: -10px;
    margin-right: 7px;
}
.dateleftday {
    text-align: center;
    font-size: 1.2em;
    color: var(--darkbrown);
}
.dateleftmonth {
    text-align: center;
    font-size: 0.8em;
    color: var(--darkbrown);
}
.dateleftyear {
    text-align: center;
    font-size: 0.5em;
    color: var(--darkbrown);
}
.paperwrapright {
    position: relative;
}
.flex-container {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
    align-content: stretch;
}
.flexsmall {
    flex-basis: 43%;
    max-width: 43%;
}
.flexsmallest {
    flex-basis: 30%;
    max-width: 30%;
}
.flexbiggest {
    flex-basis: 65%;
    max-width: 65%;
}
.flexhalf {
    flex-basis: 50%;
    max-width: 50%;
}
.flexhuge {
    flex-basis: 93%;
    max-width: 93%;
}
/* ~~~~ CATEGORIES ~~~~ */
.clicksmall {
    margin: 4px 2px;
    border-radius: 20px;
    padding: 0.3em 0.5em;
    margin: 0;
    cursor: pointer;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    background-color: #BFD7EA; /* #83A6C1 */
    font-size: 0.9em;
    white-space: pre;
}
.clicksmall:hover {
    background-color: #83A6C1;
    color: #EBEAE2;
}
.clicksmallactive {
    margin: 4px 2px;
    border-radius: 20px;
    padding: 0.3em 0.5em;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    background-color: #556C82; /* #83A6C1 */
    color: #EBEAE2;
    font-size: 0.9em;
    white-space: pre;
}
a.clicksmallactive:hover {
    background-color: #83A6C1;
    color: #EBEAE2;
}
.click {
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.6em 1.0em;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    /*background-color: #83A6C1;*/
    background-color: #BFD7EA;
    /*color: #EBEAE2;*/
    white-space: pre;
}
.click:hover {
    background-color: #83A6C1;
    color: #EBEAE2;
}
.clickactive {
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 20px;
    padding: 0.6em 1.0em;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    background: #556C82;
    color: #EBEAE2;
    white-space: pre;
}
.clickactive:hover {
    background-color: #83A6C1;
    color: #EBEAE2;
}
/* ~~~ RIGHT DIV ~~~  */
#ooir_footer {
    border: 0;
    /*background: linear-gradient(to bottom, transparent, #3C5F80 75%);*/
    background: linear-gradient(to top, #616F7F, transparent 60%);
    clear: both;
    position: relative;
    height: 200px;
    width: 100%;
    padding: 40px 0 20px 20px;
    box-sizing: border-box;
    margin-top: 50px;
    font-variant: small-caps;
}
#ooir_footer a {
    color: var(--brown);
}
#ooir_footer a:hover {
    color: var(--babyblue);
}
aside {
    display: contents;
}
main {
    display: contents;
}
/* --------- floating OOIR --------- */
div.ooir {
    font-size: 7.5em;
    width: 25%;
    margin: 0 auto;
}
div.ooir a:hover {
    color: var(--babyblue);
    transition:color linear 3s;
}
.float-o1, .float-o2, .float-i, .float-r {
    overflow: hidden;
    top: 1%;
    display: -moz-inline-stack;
    display: inline;
    *display: inline;
    position: absolute;      
    -webkit-animation-timing-function:ease-in-out;
    -webkit-animation-play-state:active;
    -webkit-animation-direction:alternate;
    -webkit-animation-iteration-count:infinite;
    margin-top: -23px;
}
.float-o1 {
    margin-left: -6%;
    z-index: 4;
    -webkit-animation-name:O1;
    -webkit-animation-duration:10s;
    -webkit-animation-delay:8s;
}
@keyframes O1 {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(20%);
    }
}         
/* O2 */
.float-o2 {
    margin-left: -4%;
    z-index:3;
    -webkit-animation-name:O2;
    -webkit-animation-duration:6s;
    -webkit-animation-delay:4s;
    color: #83A6C1;
}
@keyframes O2 {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(20%);
    }
}         
/* I */
.float-i {
    z-index:2;
    -webkit-animation-name:I;
    -webkit-animation-duration:7s;
    -webkit-animation-delay:1s;
}
@keyframes I {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(27%);
    }
}              
/* R */
.float-r {
    margin-left: 2%;
    z-index: 1;
    -webkit-animation-name:R1;
    -webkit-animation-duration:10s;
    -webkit-animation-delay:-4s;
}
@keyframes R1 {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(27%);
    }
}
@media only screen and (max-width: 500px) {
    div.ooir { font-size: 5.3em; }
}
@media only screen and (max-width: 900px) {
    body {
        font-size: 1em;
    }
    .float-o1, .float-o2, .float-i, .float-r {
        top: 2%;
    }
    #ooir_top ul {
        font-size: 1.1em;
        padding-top: 110px;
    }
    #ooir_top li {
        margin-right: 10px;
    }
    #ooir_main {
        margin-top: 30px;
    }
    .flexsmall {
        flex-basis: 99%;
        max-width: 99%;
    }
    .flexsmallest {
        flex-basis: 99%;
        max-width: 99%;
    }
    .flexbiggest {
        flex-basis: 99%;
        max-width: 99%;
    }
    .flexhalf {
        flex-basis: 99%;
        max-width: 99%;
    }
    .rankleft {
        width: 20px;
    }
    .newsinfo {
        display: inline-block;
    }
    img.newsimg {
        display: block;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
    .smallcontent {
        width: 99%;
    }
    .largefont {
        font-size: 1.1em;
    }
    .float-o1 { margin-left: -20%; }
    .float-o2 { margin-left: -14%; }
    .float-i { margin-left: -5%; }
    .float-r { margin-left: 0; }
}
.mobilehidden {
    text-align: center;
}



.responsive {
    position:fixed;
    position: -webkit-fixed;
    margin: 0 auto;
    left: 0;
    border: 1px dotted #556C82;
    background: linear-gradient(to bottom, #263A4F, #616F7F 100%);
    width: 100%;
    height: 52px;
    max-height: 52px;
    z-index: 100;
    text-align: center;
    top: 0; 
}
.responsive .responsiveleft .responsivecenter { display: inline-block; }
.responsive ul.activeul { display:none; }
.responsive ul {
    position:absolute;
    top:120%;
    left:0;
    padding:10px 18px;
    border-radius:3px;
    background-color: #4D5D6F;
    text-align: left;
}
.responsive ul:after {
    width:0;
    height:0;
    position:absolute;
    top:0;
    left:22px;
    content:'';
    transform:translate(0%, -100%);
    border-left:7px solid transparent;
    border-right:7px solid transparent;
    border-bottom:7px solid #263A4F;
}
.responsive li {
    margin:5px 0px 5px 0px;
    padding: 10px;
    float:none;
    display:block;
}
.responsive ul a {
    display:block;
    text-decoration: none;
    color: #EBEAE2;
}
/* --- Left part of menu --- */
.responsiveleft {
    float: left;
    height: 52px;
    max-height: 52px;
    overflow: hidden;
}
/*----- Menu-Text "floating OOIR" ----*/
.responsivecenter {
    float: left;
    margin-left: 57px;
    display: inline-block;
    font-size: 52px;
    text-align: center;
    padding: 0px;
    overflow: hidden;
}
.toggle-nav {
    padding:13px;
    float:left;
    display: inline-block;
    border-radius: 3px;
    background-color: #556C82;
    color: #EBEAE2;
    font-size: 20px;
    position: absolute;
    top: 0; left: 0;
    margin-bottom: 0;
    max-height: 52px;
}
a.toggle-nav a.toggle-nav:hover, a.toggle-nav:visited, a.toggle-nav:link, a.toggle-nav:active {
    text-decoration: none;
    border-bottom: none;
    color: #EBEAE2;
}
.toggle-nav:hover, .toggle-nav:active {
    text-decoration:none;
    color:#7B7A73;
    transition:color linear 0.15s;
}
.quotation {
    color: var(--babydark);
    font-size: 1.3em;
}
/* TABLESORTER */
.filter {
    color: var(--darkbrown);
    border-bottom: 0;
}
a.filter:hover {
    color: #7B7A73;
}
code {
    padding: 2px 4px;
    color: black;
    background-color: #D3D3D3;
    border-radius: 3px;
}
thead th {
    background-color: #C3C2BC;
    text-align: left;
    font-size: 0.8em;
}
table {
    margin: auto;
}
tr.hover:hover {
    background-color: #BFD7EA;
}
.pagebtn {
    background: var(--brown);
    color: var(--darkbrown);
}

.newsbar {
  background-color: var(--brown);
  color: var(--darkblue);
  border: 1px solid var(--darkbrown);
  box-shadow: 1px 3px 5px #bbb;
  padding: 9px;
  border-radius: 2em;
  font-size: 0.9em;
  width: 40%;
  margin: auto;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 475px;
}