.green {color:#60B000;}
.b_green, .b_more_than_50pc {background:#d9ebd2}
.orange {color:#FFA500;}
.b_orange, .b_less_than_50pc {background:#F0B000 !important;}
.yellow {color:#F0B000;}
.b_yellow {background: #fcf3cc;}
.red {color:#FF0000;}
.b_red, .b_less_than_25pc {background:#ff3333 !important;}
.loading {background-image: url("/static/img/ajax-loader.gif"); background-repeat:no-repeat;}
.loading2 {display: none;}

body {background: #fff; margin:5px;}
a, a:active, a:focus,
button, button:focus, button:active,
.btn, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn.focus:active, .btn.active.focus {
    outline: none;
    outline: 0;
}

.mtop25 {margin-top:25px;}
footer { position: fixed;
         left: 0;
         bottom: 0;
         background: red;
         color: white;
         width:100%;
         text-align: center;
}

#deconnect, #password_change {float:right; margin-left: 5px;}
 /* The Overlay (background) */

.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */
    height: 100%;
    width: 0;
    position: fixed; /* Stay in place */
    z-index: 10000000; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.9); /* Black w/opacity */
    overflow-x: hidden; /* Disable horizontal scroll */
    transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}

/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 15%; /* 15% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}
.overlay-content .mconfirm {
    width:50%;
    background: #fff;
    color: #000;
    margin: auto;
    padding:15px;
}
.overlay-content .mconfirm button {margin:5px;}
.overlay-content > em {
    color: #fff;
}
/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

/* Position the close button (top right corner) */
.overlay .closebtn  {
    position: absolute;
    top: 10px;
    right: 45px;
    font-size: 60px;
}
.infocircle {display:none;width:950px;background: #bbdeee;padding:5px;}
.infocircle .close {position:relative;top:0;line-height:0;float:right; font-size:20px;cursor:default;}
#box_load {display:none; position:relative;top:100px;text-align:center;}
#msg_box {display:none;}
#msg_box a.closebtn {float:right;text-decoration: none;color: #818181;}
#msg_box .closebtn {top:0px;font-size: 30px;}
#msg_box .success { background:#d9ebd2; padding:15px;}

#admin_menu {display:none;}
#admin_menu ul {list-style-type: none;}

#admin_menu button {min-width: 100px; margin-bottom:2px;}
#conn_butt {text-decoration:none;}

/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/* Tooltips */

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

/* Tooltip text */
.tooltip .tooltiptext {
 visibility: hidden;
 width: 130px;
 background-color: #555;
 color: #fff;
 text-align: center;
 padding: 5px 0;
 border-radius: 6px;

 /* Position the tooltip text */
 position: absolute;
 z-index: 1;
 top: -5px;
 left: 115%;

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

.tooltip .tt_twolines {
  top: -15px !important;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
 content: "";
 position: absolute;
 top: 50%;
 right: 100%; /* To the left of the tooltip */
 margin-top: -5px;
 border-width: 5px;
 border-style: solid;
 border-color: transparent #555 transparent transparent;
}

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

.mac-msg {background: red; color: #fff; padding: 3px;}