/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 24 Apr 2022, 15:00:39
    Author     : Matthew Foreman
*/


/* ====================================================================== *
* MAIN BODY *
* ====================================================================== */

* {
    box-sizing: border-box;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif; 
    word-wrap: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
  --topbarheight: 110px;
  --footerheight: 50px;
  --lightcolor: #5793D9;
  --darkcolor: #1661B8;
  --darkbg:#272727;
  --lightbg:#e0e0e0;
  --mediumbg:#CECECE;
  --mediumdarkbg: #555;
  --mediumdarkbg2: #333;
  --darktext:#656565;
  --lighttext:#fff;
  --lightmediumtext: #e0e0e0;
  --mediumtext:#999;
  --darklinktext:#000;
  --padtop: 40px;
  --titlewidth: 470px;
  --minpagewidth:900px;
  --menuiconwidth: 100px;
  --navitemwidth: 100px;
  --navitemwidthmenu: 200px;
  --menuswitchwidth: 1000px; /*  #calc(var(--titlewidth) + 5 * var(--navitemwidth)); */ 
                            /*This should manually be change in the @media command below*/
  
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #999;
  font-style: italic;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #999;
  font-style: italic;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #999;
  font-style: italic;
}

html, body {
    min-width: var(--minpagewidth);
    width: 100%
}

body {
    margin: 0;
    margin-bottom: var(--footerheight);
    padding: 0;
    color: var(--darktext);
    line-height: 1.5em;
    font-size: 16px;
    background-color: var(--lightbg);
    background-repeat: repeat-x;
    background-position: top;
    text-align:justify;
}

#main_wrapper {
	clear: both;
	width: 70%;
        margin: auto;
        padding-top: var(--padtop);
        min-height: 70%;
        margin-top: var(--topbarheight); /* allows for top bar */
        
}

a, a:link, a:visited { color: var(--darklinktext) ; font-weight: normal; text-decoration: none }
a:hover { color: var(--darkcolor);}

.col_head { width: 100%; margin-bottom: 40px;margin-top: 0px; padding-bottom: 20px; padding-top: 0px; 
            border-bottom: 1px solid var(--lighttext);text-align: justify;   }



/* Text Headers */ 
h1, h2, h3, h4, h5, h6 { color: var(--darktext); 
                         font-weight: normal; 	
                         font-family: Tahoma, Geneva, sans-serif }
h1 { font-size: 48px; margin: 0 0 30px; padding: 5px 0 }
h2 { font-size: 38px; margin: 0 0 25px; padding: 5px 0; }
h3 { font-size: 30px; margin: 0 0 20px; padding: 0; }
h4 { font-size: 24px; margin: 0 0 15px; padding: 0; }
h5 { font-size: 20px; margin: 0 0 10px; padding: 0;  }
h6 { font-size: 14px; margin: 0 0 5px; padding: 0; }


p {
    margin-top:0px;
    /*padding-top:0px;*/
}


/* ====================================================================== *
* TOP BAR / HEADER *
* ====================================================================== */

#site_title { float: left; margin-top: 24px; 
              width: var(--titlewidth); 
            }
#site_title h1 a { margin-left: 30px; 
                 font-size: 42px;
                 padding: 15px; 
                 
                 background:linear-gradient(to right,var(--lighttext),var(--mediumtext),var(--lightcolor));
                 -webkit-background-clip: text; 
                 -webkit-text-fill-color: transparent; 
                 display: block;
}
#site_menuicon {
    width: var(--menuiconwidth);
    display: none;
}

.navcontainer {
    width:calc(5 * var(--navitemwidth));
}

.nav-link ul {
   list-style-type: none;
   vertical-align: middle;
   padding:0px;
   margin:0px;
}


.nav-link li {
    width:var(--navitemwidth);
    vertical-align: middle;
}

.nav-link li:hover {
    transition: background-color 0.2s;
    background: var(--lightcolor);
}

.nav-link li:hover .nav-head {
    color: var(--lighttext);
}

.nav-link a {  
    display:block;
    width:var(--navitemwidth);
    padding: calc(var(--topbarheight) - 50px) 0 10px;
    margin: 0 0px 0 0;
    font-size: 14px;
    color: var(--mediumtext);
    text-align: center;
    border-bottom: 4px solid var(--darkbg);
}


.nav-link a:hover  {
    color: var(--lighttext);
    transition: background-color 0.2s;
    background: var(--lightcolor);
    border-bottom: 4px solid var(--darkcolor);
}

.nav-link ul li:hover ul {
  visibility: visible;
  opacity: 1;
  display: block;
}


.nav-sub{
    display:none;
    visibility: hidden;
    opacity:0;
    transition-delay: 200ms;
    -webkit-transition: opacity 300ms, visibility 300ms;
    transition: opacity 300ms, visibility 300ms ;
    margin-top:0px;
}

.nav-sub a {
    padding: 3px;
    background: var(--mediumdarkbg2);
    border-bottom: 2px solid var(--darkbg);   
}

.nav-sub a:hover {
    border-bottom: 2px solid var(--darkcolor);
}



@media(max-width: 1000px ){ 
    #site_menuicon {
        width: var(--menuiconwidth);
        display: block;
        font-size: 42px;
        height:var(--topbarheight);
        padding-top: calc(var(--topbarheight)/2 - 21px);
        text-align: center;
        float: right;
        cursor: pointer;
        margin-left: auto;
        color: var(--mediumtext);
    }
    
    .navcontainer {
        width:calc(var(--navitemwidthmenu));
    }

    .nav-link {
        width:var(--navitemwidthmenu);
        display: none;
    }
    
    .navcontainer:hover nav {
        visibility: visible;
        opacity: 1;
        display: block;
        transition-delay: 200ms;
        -webkit-transition: opacity 300ms, visibility 300ms;
        transition: opacity 300ms, visibility 300ms ;
        margin-top:0px;
    }
    
    .nav-link li:hover  {
       transition: background-color 0.2s;
        background: var(--lightcolor);
    }

    .nav-link a {  
        display:block;
        width:var(--navitemwidthmenu);
        padding: 8px 0 7px;
        margin: 0 0px 0 0;
        font-size: 14px;
        color: var(--mediumtext);
        text-align: center;
        background: var(--darkbg);
        border-bottom: 4px solid var(--darkbg);
    }
    
    .nav-link li {
        width:var(--navitemwidthmenu);
    }

    .nav-sub, .nav-sub li {
        display:block;
        visibility: visible;
        opacity:1;
    }
    
    .nav-sub a {
        padding: 3px;
        background: var(--mediumdarkbg2);
        border-bottom: 2px solid var(--darkbg);   
    }

    .nav-sub a:hover {
        border-bottom: 2px solid var(--darkcolor);
    }

    
}

#topbar_wrapper {
    z-index: 2000;
    margin: auto;
    padding: 0 0px;
    width: 100% ;
}

#topbar {
	width: 100%;
        min-width: calc(var(--titlewidth) + var(--navitemwidthmenu));
	height: var(--topbarheight);
        position: fixed;
        top: 0;
        z-index: 2000;
	background-color: var(--darkbg);
        overflow:hide
;}

#faketopbar {
	width: 100%;
        min-width: calc(var(--titlewidth) + var(--navitemwidthmenu));
	height: var(--topbarheight);
        top: 0;
        z-index: 0;
	background-color: var(--darkbg);
;}




/* ====================================================================== *
* FOOTER *
* ====================================================================== */

#footer_wrapper {
	clear: both;
	width: 100%;
	background: var(--mediumbg) ;
/*        margin-top: 20px;
        margin-bottom: 20px; */
        position: fixed;
        height: var(--footerheight);
        bottom: 0px;
        left: 0px;
        right: 0px;
        margin-bottom: 0px;
    z-index: 900;
}
    
#footer {
    clear: both;
    width: 100%;
    height: var(--footerheight);
    padding: 0px 120px 20px 80px;	
    color: var(--mediumtext);
    text-align: left;
}

.adminlock {
    padding-top: 20px;
}

.profilelinks {
    padding-top:4px;
}



/* ====================================================================== *
* TOOLTIPS *
* ====================================================================== */
/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  font-size: 15px;
  background-color: var(--mediumdarkbg);
  border: 2px solid var(--lightbg);
  color: var(--lightmediumtext);
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 2001;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  /* Fade in */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--mediumdarkbg) transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


/* ====================================================================== *
* TABBED NAVIGATION *
* ====================================================================== */
.tabs {
    color: var(--darktext);	
    display:flex;   
}

.tab-content {
    overflow:auto;
    margin-bottom: 20px;
    margin-left:25px;
    justify-content: center;
    padding: 0px;
    flex:1;
}

.tab-whitebox {
    padding: 20px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.3);
}

.tab-content h2 {
    text-align: left;
    color: var(--darktext);
    font-size: 28px;
    width: 100%;
}

.tab {
    display:none;
    padding-top:5px;
}

.tab.active {
    display:block;
    opacity:1;
}


.tab-links{
    position:sticky;
    position: -webkit-sticky;
    top:calc(var(--topbarheight) + var(--padtop));
    width:180px;
    font-size: 14px;
    color: var(--mediumtext);	
    margin: 0px 0px 0px 0px;
    padding-top: 1px;
    padding-bottom: 1px;
    background: var(--darkbg);
    box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.3);
}


.tab-divider {
  border: 0;
  background-color: var(--mediumbg);
  height: 1px;
}

.tab-links li {
    margin-bottom: 0px;
    margin-left:-40px;
    margin-top:0px;
    list-style:none;
    border-top: 1px solid var(--darkbg);
    border-bottom: 4px solid var(--darkbg);
}

.tab-links a {  
    width:100%;
    color: var(--mediumtext);
    padding:9px 15px;
    display:inline-block;
    border-bottom: 4px solid var(--darkbg);
}

.tab-links a:hover {
    color: var(--lighttext);
    transition: background-color 0.2s;
    background: var(--lightcolor);
    border-bottom: 4px solid var(--darkcolor);
}


li.active a.nav-head {
    color: var(--lighttext);
    background: var(--lightcolor);
    border-bottom: 4px solid var(--darkcolor);
}

li.active a.nav-head:hover {
    color: var(--lighttext);
    transition: background-color 0.2s;
    background: var(--darkcolor);
}

ul.tab-links li.active a {
    color: var(--lighttext);
    background: var(--lightcolor);
    border-bottom: 4px solid var(--darkcolor);
}

ul.tab-links li.active a:hover {
    color: var(--lighttext);
    transition: background-color 0.2s;
    background: var(--darkcolor);
}


.col1, .col2, .col3, .col4, .col5, .col6, .col7, .col8, .col9, .col10, .col11, .col12 {
    min-height:1px;
    padding-left:15px;
    padding-right:15px;
    float:left}

.col1 {width:8.3333333% ;}
.col2 {width:16.6666666%;}
.col3 {width:25%;}
.col4 {width:33.3333333%;}
.col5 {width:41.6666666%;}
.col6 {width:50%;}
.col7 {width:58.3333333%;}
.col8 {width:66.6666666%;}
.col9 {width:75%;}
.col10 {width:83.333333%;}
.col11 {width:91.666666%;}
.col12 {width:100%;}

/* ====================================================================== *
* RESEARCH PAGE *
* ====================================================================== */

.research-wrapper {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
    margin-top:0px; 
    padding-bottom: 25px;
}


.research-block{
    display: block;
    /* flex-wrap:wrap; */
    justify-content: center;
    /* border-style: solid; */
    width: 250px;
    padding: 00px;
    background-color: var(--mediumbg);
    margin-left:10px;
    margin-right:10px;
    /* margin: 10px; */
}

.research-block:hover{ 
    color: var(--lighttext);
    background-color: var(--lightcolor);
    /* transform: scale(1.05);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    -webkit-transition: transform .35s ease-in-out;
    -moz-transition:transform .35s ease-in-out;
    -ms-transition:transform .35s ease-in-out; */
}

.research-block:hover .research-image{
    opacity: 0.8;
}
.research-block:hover .research-header{
    background-color: var(--darkcolor);
    color: var(--lighttext);
}


.research-image{
    display: block;
    width: 250px;
    height: 250px;
    justify-content: center; 
}

.research-header{
    width: 100%;
    text-align: center;
    padding: 10px;  
    padding-bottom: 1px;  
    /* padding-bottom: 12px;   */
    background-color: var(--mediumdarkbg);
    color: var(--lightmediumtext)
}

.research-outline-text{
    width: 100%;
    text-align: center;
    padding-top: 5px;  
    padding-left: 15px;  
    padding-right: 15px;  
    padding-bottom: 10px;  
    
}

.themedescription {
    height: 70px; 
    resize: none;
}

/* ====================================================================== *
* STATS PAGE *
* ====================================================================== */
.statstable {
    text-align: left;
}
/* ====================================================================== *
* FORMS *
* ====================================================================== */
.formwrapper 
{
    background-color: #ffffff;
    box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.3);
    margin: 20px auto;
}

form {
    display: block;
    padding-top:15px;
    /*padding-bottom:15px;*/
}

.form-group {
    display: block;
    overflow:hidden;
    margin-bottom:10px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 3px 12px;  
    border: 1px solid #dee0e4;
}

form label {
    display: inline-block;
    margin-bottom: 5px;
    font-weight: 700;
    justify-content: left;
    color:var(--mediumtext);
}

form input:read-only {
  background-color: #DCDCDC;
  color: #808080;
}

form select {
    /*margin-bottom: 5px;*/
    padding: 0 15px;
}

form input[type="text"], form select {
    height: 24.4px;
}

form input[type="submit"] {
    width: 100%;
    padding: 15px;
    margin-top:15px;
    background-color: var(--lightcolor);
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: var(--lighttext);
    transition: background-color 0.2s;
}

form input[type="submit"]:hover {
    background-color: var(--darkcolor);
    transition: background-color 0.2s;
    width: 100%;
}

form input:optional {
  border-color: gray;
}
form input:required:valid {
  border-color: green;
}
form input:invalid {
  border-color: red;
}

.flex { 
    display : flex;
}

form .fill-width {
    flex: 1;
}


input[type="file"] {
  display: none;
}


/* ====================================================================== *
* CUSTOM DISPLAY ELEMENTS *
* ====================================================================== */
.newsimg {
    width: 80px;
}

.newsbody {
    width: calc(100% - 80px);
    padding-left:20px;
}

.viewoptioniconcheck {
    height: 52px;
    width: 52px;
    margin-left:3px;
}

.viewoptionicon {
    height: 55px;
    /*width: 55px;*/
    margin-left:3px;
    margin-right:10px;
    /*margin-bottom:10px;*/
}


#jsonpreview {
    background-color: #272727;
    color: #e0e0e0;
    width: 100%;
    height: 350px;
    padding: 25px;
    margin: 0px;
}




/* zoom icon links */
.zoomicon{
    transition: transform .2s; 
    height: 42px;
}

.zoomicon:hover{ 
    transform: scale(1.15);
}

.profileicon{
    transition: transform .2s; 
    color: var(--darktext);
}

.profileicon:hover{ 
    transform: scale(1.15);
    
}
    

.smallsizebox{
	width:18px;
	height:18px;
        background:var(--darkbg);
        margin: 12px  10px 0px 5px;
}
.largesizebox{
	width:30px;
	height:30px;
        background:var(--darkbg);
}
 
.smallsizebox:hover {
    background:var(--darkcolor);
}

.largesizebox:hover {
    background:var(--darkcolor);
}

.year_header { margin-bottom: 40px;
              margin-top: 20px; 
              padding-bottom: 0px; 
              padding-top: 15px; 
              border-bottom: 1px solid #a3a3a3;
              text-align: justify;  
              border-top: 1px solid #a3a3a3;  }


.homepagesectiondivider {
    margin-bottom: 40px;
    height:30px;
    border-bottom: 1px solid #a3a3a3;
}

.poster_wrapper {
    display:flex ;
    flex-wrap:wrap;
    margin-top: 30px;
}
.poster {
    margin-right:35px;
    margin-left:35px;
    margin-bottom:50px;
    width:200px;
}

p.poster_text{
    text-align: center;
    margin-top:10px;
    margin-bottom: 0px;
}

.posterpreview{
    /* transition: transform .2s;  */
    width:95%;
}

.posterpreview:hover{ 
    transform: scale(1.05);
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -o-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05);

    -webkit-transition: transform .35s ease-in-out;
    -moz-transition:transform .35s ease-in-out;
    -ms-transition:transform .35s ease-in-out;
}
      
.memberlist {
    display:flex ;
    flex-wrap:wrap;
    /*justify-content: center;*/
    margin-top: 30px;
    
}


.member_text{
    text-align: center;
    width: 100%;
    padding: 5px;  
    padding-bottom: 1px;  
    /* padding-bottom: 12px;   */
    background-color: var(--mediumdarkbg);
    color: var(--lightmediumtext)

}
             

.member_icons-text {
    width: 100%;
    text-align: center;
    justify-content: center;
    flex-wrap:wrap;
}

.member_icons {
    width: 100%;
    z-index: 3;
    min-height:22.5px; 
    text-align: center;
    justify-content: center;
    padding-top: 5px;  
    padding-left: 15px;  
    padding-right: 15px;  
    padding-bottom: 10px;  
}

.member_icons a {
    min-height:22.5px; 
    width: 20px;
}


.member{
    display: block;
    /* display: flex;
    flex-wrap:wrap; */
    justify-content: center;
    width: 175px;
    padding: 00px;
    background-color: var(--mediumbg);
    margin-left:10px;
    margin-right:10px;
}
.memberphoto{
    padding-left: 00px;
    width: 100%;
    display: flex;
    justify-content: center; 
}

.funderlist {
    display:flex ;
    flex-wrap:wrap;
    margin-top: 30px;
    justify-content: center; 
}


.funderimage {
    display: flex;
    flex-wrap:wrap;
    justify-content: center; 
    margin: 10px; 
}

/* ====================================================================== *
* CUSTOM CHECKBOXES/BUTTONS *
* ====================================================================== */


.adminupload {
    padding-top:5px;
    padding-bottom:5px;
    background-color: var(--lightbg);
    border: 1px solid var(--lightbg);
}

.color-checkbox input[type="checkbox"], 
    .color-checkbox .checked, .danger-checkbox input[type="checkbox"], 
    .danger-checkbox .checked {
    display: none;
}
.color-checkbox input[type="checkbox"], 
    .color-checkbox .unchecked {
    padding:5px;
    background-color: var(--lightbg);
    border: 1px solid var(--lightbg);
}

.color-checkbox input[type="checkbox"]:checked ~ .checked 
{
    display: inline-block;
    padding:5px;
    background-color: #dff0d8;
    border: 1px solid #044D29;
}

.color-checkbox input[type="checkbox"]:checked ~ .unchecked
{
    display: none;
}


.danger-checkbox input[type="checkbox"], 
    .danger-checkbox .unchecked {
    padding:5px;
    border: 1px solid var(--lightbg);
}

.danger-checkbox input[type="checkbox"]:checked ~ .checked 
{
    display: inline-block;
    padding:5px;
    background-color: #f2dede;
    border: 1px solid #d50000;
}



.danger-checkbox input[type="checkbox"]:checked ~ .unchecked
{
    display: none;
}


/*
.color-checkbox input[type="checkbox"]:checked ~ .unchecked
{
    display: none;
}*/


.bigbutton {margin-top:0px;margin-bottom:0px}
.bigbutton div {
    width: 100%;
    padding: 15px;
    font-size:15px;
    background-color: var(--lightcolor);
    border: 0;
    cursor: pointer;
    font-weight: bold;
    color: var(--lighttext);
    transition: background-color 0.2s;
}
.add-field {padding:0px;margin:0px;width:100%}
    
.bigbutton a:hover {
    background-color: var(--darkcolor);
    transition: background-color 0.2s;
    width: 100%;
}



/* ====================================================================== *
* CUSTOM FORM STYLING *
* ====================================================================== */

.login {width: 390px;} 
.login form {
    display: flex;
    flex-wrap: wrap;
    font-size:15px;
    justify-content: center;
    padding-top: 20px;
}
.login form input[type="password"], .login  form input[type="text"] {
    width: 310px;
    height: 40px;
    border: 1px solid #dee0e4;
    margin-bottom: 20px;
    padding: 0 15px;    
}
.login h2 {
  	text-align: center;
  	color: var(--darktext);
  	font-size: 24px;
  	padding: 20px 0 20px 0;
  	border-bottom: 1px solid #dee0e4;
        
}
.login label {
    display:flex;
    width: 40px; 
    height: 40px;
    background-color: var(--lightcolor);
    color: var(--lighttext);
    padding-left: 10px;
    padding-right: 10px;
    margin-left:10px;
    justify-content: center;
    align-items: center;
}

/* Publication form custom elements */
.pubabstract {
    height: 150px; 
    resize: none;
}

.newsdescription {
    width: 99%;
    height: 90px; 
    resize: none;
}

.projectdescription {
    width: 99%;
    height: 200px; 
    resize: none;
}

.form-group-check
{
    text-align:center; 
    display:block;
}

.form-group-pub-options
{
    margin-top:5px;
}


.togvis {
    border-bottom: 1px solid var(--darkbg);
    margin-bottom: 3px;
    margin-top: 3px;
}

.togvis:hover{
    background-color: var(--lightcolor);
    color: var(--lighttext);
    transition: background-color 0.2s;
    /*vertical-align: center;*/
}    

#pubimage {
    width:150px;
    height:150px;
    display:block;
}

#newsimage {
    width:150px;
    height:150px;
    display:block;
}



/* ====================================================================== *
* HOME PAGE STYLING *
* ====================================================================== */

.frontpagehead {
    width:300px
}

.aboutusbody {
    width:calc(100% - 300px);
}

.fundinghead {
    width:150px
}
.fundingbody {
    width:calc(100% - 150px);
}

/* ====================================================================== *
* MESSAGING ALERTS *
* ====================================================================== */
.alert {
    clear: both;
    padding: 8px 35px 8px 14px;
    margin-bottom: 20px;
    border-radius: 4px;
    color: #c09853;
}

.alert-success{
    background-color:#dff0d8;
    border-color:#d6e9c6;
    color:#468847;
}
.alert-danger,.alert-error{
    background-color:#f2dede;
    border-color:#eed3d7;
    color:#b94a48;
}

.alert-info{
    background-color:#d9edf7;
    border-color:#bce8f1;
    color:#3a87ad;
}




/* ====================================================================== *
       TO TOP
 * ====================================================================== */
	
.fixed{
    position: fixed;
    right: 24px;
    bottom: 0px;
    display: none;
    z-index: 999;
}


.to-top{
    height: 36px;
    line-height: 36px;
    width: 42px;
    background-color: rgba(0,0,0,.8);
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 12px;

    -webkit-border-radius: 3px 3px 0 0;
       -moz-border-radius: 3px 3px 0 0;
         -o-border-radius: 3px 3px 0 0;
            border-radius: 3px 3px 0 0;

    -webkit-transition: all 0.2s;
       -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
         -o-transition: all 0.2s;
            transition: all 0.2s;        
}

.to-top i{
    margin-top: 10px;
}

.to-top:hover
{
    transition: background-color 0.2s;
    background-color: var(--darkcolor) !important;
}


.to-bottom{
    height: 36px;
    line-height: 36px;
    width: 42px;
    background-color: rgba(0,0,0,.8);
    color: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 12px;

    -webkit-border-radius: 3px 3px 0 0;
       -moz-border-radius: 3px 3px 0 0;
         -o-border-radius: 3px 3px 0 0;
            border-radius: 3px 3px 0 0;

    -webkit-transition: all 0.2s;
       -moz-transition: all 0.2s;
        -ms-transition: all 0.2s;
         -o-transition: all 0.2s;
            transition: all 0.2s;        
}

.to-bottom i{
    margin-top: 10px;
}

.to-bottom:hover{
    background-color: var(--darkcolor) !important;
    transition: background-color 0.2s;
}

/* Helper elements */
.col_w50  { width: 50px }
.col_w80  { width: 80px }
.col_w150 { width: 150px } 
.col_w300 { width: 300px }

.cleaner { clear: both }
.float_l { float: left }
.float_r { float: right }
.hide    { display: none ;}
.fullwidth {width: 100%} 
.padbottom { padding-bottom: 20px;}
.padtop { padding-top: 20px;}
.padleft { padding-left: 20px;}
.padright { padding-right: 20px;}
.marginbottom { margin-bottom: 20px;}
.shadow  { margin-bottom:8px;
           margin-right:8px;
            box-shadow: 5px 5px 3px 0 rgba(0, 0, 0, 0.3); }
.selected {color: var(--lighttext);
    background-color: var(--lightcolor);
}
.selected:hover {
    color: var(--lighttext);
    transition: background-color 0.2s;
    background-color: var(--darkcolor);
}

.rule {
    margin-top:20px;
    margin-bottom:0px;
    border-bottom: 1px solid #a3a3a3; 
}


.image_fl { float: left; margin: 5px 20px 10px 0 }
.image_fr { float: right; margin: 5px 7px 10px 20px }


.fa, .fa-solid {
    /*width:30px;*/
    text-align: center;
}

.fa-file-arrow-up {
    width:30px;
}

.centered {
    display:flex;
    justify-content: center;
    text-align: center;
}

.bannercaption{
    margin-top:-40px;
    color: var(--lighttext);
    /*background-color: var(--darkbg);*/
}