body{
    color: #113;
}
.table-font{
    font-size: small;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
/*    background: #dee2e6;*/
    color: black;
    text-align: center;
}

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(23, 63, 116, 0.5);
    z-index: 2;
    cursor: pointer;
}

#overlayText{
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 50px;
    color: white;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
}

/* tooltip */


.tool-tip{
    color: #fff;
    background-color: rgba( 0, 0, 0, .7);
    text-shadow: none;
    font-size: .8em;
    visibility: hidden;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    text-align: center;
    opacity: 0;
    z-index: 999;
    padding: 3px 8px;
    position: absolute;
    cursor: default;
    -webkit-transition: all 240ms ease-in-out;
    -moz-transition: all 240ms ease-in-out;
    -ms-transition: all 240ms ease-in-out;
    -o-transition: all 240ms ease-in-out;
    transition: all 240ms ease-in-out;
}

.tool-tip,
.tool-tip.top{
    top: auto;
    bottom: 114%;
    left: 50%;
}

.tool-tip.top:after,
.tool-tip:after{
    position: absolute;
    bottom: -12px;
    left: 50%;
    margin-left: -7px;
    content: ' ';
    height: 0px;
    width: 0px;
    border: 6px solid transparent;
    border-top-color: rgba( 0, 0, 0, .7);
}

/* default heights, width and margin w/o Javscript */

.tool-tip,
.tool-tip.top{
    width: 200px;
    height: 22px;
    margin-left: -43px;
}

/* tool tip position right */

.tool-tip.right{
    top: 60%;
    right: auto;
    left: 106%;
    margin-top: 25px;
    margin-right: auto;
    margin-left: auto;
}

.tool-tip.right:after{
    left: -5px;
    top: 50%;
    margin-top: -6px;
    bottom: auto;
    border-top-color: transparent;
    border-right-color: rgba( 0, 0, 0, .7);
}

/* tool tip position left */

.tool-tip.left{
    top: 50%;
    left: auto;
    right: 105%;
    margin-top: -15px;
    margin-left: auto;
}

.tool-tip.left:after{
    left: auto;
    right: -12px;
    top: 50%;
    margin-top: -6px;
    bottom: auto;
    border-top-color: transparent;
    border-left-color: rgba( 0, 0, 0, .7);
}

/* tool tip position bottom */

.tool-tip.bottom{
    top: 115%;
    bottom: auto;
    left: 50%;
    margin-bottom: auto;
}

.tool-tip.bottom:after{
    position: absolute;
    top: -12px;
    left: 50%;
    margin-left: -7px;
    content: ' ';
    height: 0px;
    width: 0px;
    border: 6px solid transparent;
    border-top-color: transparent;
    border-bottom-color: rgba( 0, 0, 0, .6);
}

/* tooltip on focus left and right */

.on-focus .tool-tip.left,
.on-focus .tool-tip.right{
    margin-top: -19px;
}

/* on hover of element containing tooltip default*/

*:not(.on-focus):hover > .tool-tip,
.on-focus input:focus + .tool-tip{
    visibility: visible;
    opacity: 1;
    -webkit-transition: all 240ms ease-in-out;
    -moz-transition: all 240ms ease-in-out;
    -ms-transition: all 240ms ease-in-out;
    -o-transition: all 240ms ease-in-out;
    transition: all 240ms ease-in-out;
}


/* tool tip slide out */

*:not(.on-focus) > .tool-tip.slideIn,
.on-focus > .tool-tip{
    display: block;
}

.on-focus > .tool-tip.slideIn{
    z-index: -1;
}

.on-focus > input:focus + .tool-tip.slideIn{
    z-index: 1;
}

/* bottom slideIn */

*:not(.on-focus) > .tool-tip.slideIn.bottom,
.on-focus > .tool-tip.slideIn.bottom{
    top: 50%;
}

*:not(.on-focus):hover > .tool-tip.slideIn.bottom,
.on-focus > input:focus + .tool-tip.slideIn.bottom{
    top: 115%;
}

.on-focus > input:focus + .tool-tip.slideIn.bottom{
    top: 100%;
}

/* top slideIn */

*:not(.on-focus) > .tool-tip.slideIn,
*:not(.on-focus) > .tool-tip.slideIn.top,
.on-focus > .tool-tip.slideIn,
.on-focus > .tool-tip.slideIn.top{
    bottom: 50%;
}

*:not(.on-focus):hover > .tool-tip.slideIn,
*:not(.on-focus):hover > .tool-tip.slideIn.top,
.on-focus > input:focus + .tool-tip.slideIn,
.on-focus > input:focus + .tool-tip.slideIn.top{
    bottom: 110%;
}

/* left slideIn */

*:not(.on-focus) > .tool-tip.slideIn.left,
.on-focus > .tool-tip.slideIn.left{
    right: 50%;
}

*:not(.on-focus):hover > .tool-tip.slideIn.left,
.on-focus > input:focus + .tool-tip.slideIn.left{
    right: 105%;
}

/* right slideIn */

*:not(.on-focus) > .tool-tip.slideIn.right,
.on-focus > .tool-tip.slideIn.right{
    left: 50%;
}

*:not(.on-focus):hover > .tool-tip.slideIn.right,
.on-focus > input:focus + .tool-tip.slideIn.right{
    left: 105%;
}
