
* {
    margin: 0;
}

html, body {
    font-family: PT Sans;
/*    min-width: 900px; */
    height: 100%;
/*    margin: 0; */
}

/*
div {
	border: 1px solid #0000ff;
}
*/

.btn {
    white-space: normal;
}

.button {
    text-align: center;
    font-style: normal;
    font-size: 10pt;
    width: 110px;
    min-height: 60px;
/*    height: 53px; */
/*    line-height: 53px; */
/*    background-color: cornflowerblue; */
    background-image: url("images/Button_Normal.png");
    background-size: cover;
    vertical-align: middle;
    border-radius: 5px;
/*    position: relative; */
/*    background-color: transparent; */
}

.button-tool {
    width: 110px;
/*    height: 60px;
    line-height: 60px; */
    background-size: 100% 100%;
    font-size: 9pt;
    white-space: normal;
    word-wrap: break-word;
/*    min-height: 100%;
    float: left;
    display: inline;
    word-wrap: break-word;
    vertical-align: 50%;
    position: relative; */
}
/*
.innerTool {
    position: absolute;
    left: 10px;
    width: 100px;
    height: 60px;
    display: table;
}
*/
.innerTool p {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.button-category {
/*    background-image: url('Button_Normal.png'); */
    width: 110px;
    height: 53px;
}

/* override default padding to be 0 */
.ui-layout-pane { /* all 'panes' */
    padding: 0px;
}

/* override jQuery dialog header color */
.description .ui-dialog-titlebar {
    background-color: #6092b5;
    background-image: none;
    color: #000;
}
.description .ui-widget-header {
    border-color: #1c94c4;
}
.safety .ui-dialog-titlebar {
    background-color: #e4de4b;
    background-image: none;
    color: #000;
}

#buttonDescription ~ .popover > .popover-title,
.safety ~ .popover > .popover-title {
    background-color: #ffff99;
}

.wrapper {
    position: relative;
    min-height: 100%;
    vertical-align: bottom;
    margin: 0 auto;
    height: 100%;
}

.header {
    padding-left: 5px;
	text-align: left;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 17pt;
    color: #ffffff;
	height: 42px;
    background-image: url('images/TopBar.png');
    background-size: contain;
}

.footer {
	text-align: center;
    color: #ffffff;
    font-size: 14pt;
    background-image: url('images/footer_bg.png');
    line-height: 32px;
    clear: both;
}

#footer-left {
    float: left;
    vertical-align: middle;
}

#footer-center {
    display: inline-block;
    line-height: 32px;
}

#footer-right {
    float: right;
    vertical-align: middle;
}

.content-spacer-top {
    height: 42px;
}

.content-spacer-bottom {
    height: 32px;
}

ul {
    list-style-type: none;
    padding-left: 20px;
}

li {
    margin-bottom: 1em;
    margin-top: 1em;
}

.content {
    height: 100%;
    margin: 0 auto 32px;
}

.heading {
    font-weight: bold;
    font-size: 20pt;
    text-align: center;
    color: #1c0081;
    background-color: #e4e4e4;
    border-bottom: solid 2px;
}

.instruction {
	width: 100%;
    height: 100%;
    background-color: #e4e4e4;
/*    float: left; */
	/*display: inline-block;*/
    overflow-x:hidden;
}

.ui-layout-west {
    background-color: #e4e4e4;
/*    overflow: hidden !important; */
}

.ui-layout-north {
    overflow: hidden !important;
    background-color: #e4e4e4;
}

#categories {
    width: 150px;
    float: left;
}

#tools {
    width: 150px;
    float: left;
    overflow: auto;
}

#tools-buttons {
    max-height: 720px;
    overflow-y: scroll;
}

.presentation {
    float: left;
    right: 0;
    bottom: 0;
    background-color: #6092b5;
    width: 640px;
    height: 640px;
}

#idCanvas {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    z-index: 50;

    display: none;

    -webkit-animation-name: showViewer;
    -webkit-animation-duration: 0.6s;
    animation-name: showViewer;
    animation-duration: 0.6s
}
@-webkit-keyframes showViewer {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

@keyframes showViewer {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

#buttonDescription {
/*    background: #1122ff; */
/*    height: 20px; */
    position: absolute;
    left: 30%;
    bottom: 10px;
    width: 140px;
    z-index: 100;
    text-align: center;
}

#buttonSafetyInfo {
/*    background: #1122ff; */
/*    height: 20px; */
    position: absolute;
    left: 60%;
    bottom: 10px;
    width: 140px;
    z-index: 100;
    text-align: center;
}

#progressBar {
    height: 40px;
    position: absolute;
    left: 40%;
    top: 40%;
    width: 320px;
    z-index: 100;
    text-align: center;
}

/************************************/


/** Preloading Spinner                **/


/************************************/

#preloader,
#preloader:after {
    border-radius: 60%;
    width: 20em;
    height: 20em;
}

#preloader {
    margin: 30% auto 0 auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    z-index: 999;
    display: none;
    border-top: 1.1em solid rgba(200, 200, 200, 0.2);
    border-right: 1.1em solid rgba(200, 200, 200, 0.2);
    border-bottom: 1.1em solid rgba(200, 200, 200, 0.2);
    border-left: 1.1em solid #999;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#toolName {
    background-color: #6092B5;
    padding: 10px;
/*    color: #28a4c9;
*/
    color: #FFF;
    font-size: large;
    height: auto;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
}
#toolButtons {
    background-color: #6092B5;
    padding: 10px;
    height: 60px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
    text-align: center;
}

div a {
    text-decoration: none;
    color: #ffffff;
}

a img, a span {
    display: block;
    clear: both;
    vertical-align: middle;
}

a img {
    width: 64px;
    height: 64px;
    margin-right: auto;
    margin-left: auto;
}

li p {
/*    width: 100%; */
    text-align: center;
}

#iframeViewer {
    position: absolute;
    width: 100%;
    height: calc(100% - 160px);
    margin-top: 100px;
    overflow: auto;
    border: 0;
    z-index: 50;
}

/* Prevent jiggy shake at bottom of screen*/
.ui-layout-center {
    overflow: hidden !important;
}


/* Accordian Menu */
.menu-heading{
   background-image: -webkit-linear-gradient(top,#003366 0,#777 100%) !important;
    background-image: -o-linear-gradient(top,#003366 0,#777 100%) !important;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#003366),to(#777)) !important;
    background-image: linear-gradient(to bottom,#003366 0,#777 100%) !important;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
    background-repeat: repeat-x;
    margin-bottom: 0;
    border: 0;
}
.menu-heading h4 {
    margin: 0;
    color: #FFF;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
}
.panel-group .panel+.panel {
    margin-top: 0;
}
.panel {
    border-bottom: #666 solid 2px;
    border-radius: 0;
}
.panel-heading {
    width: 100%;
    height: auto !important;
    display: block;
    border-radius: 0;
}
.panel-heading:hover {
    background-image: none;
    background-color: #FFF;
}
.panel-title, .panel-title a {
    display: block;
    text-decoration: none;
}
.panel-title:hover, .panel-title a:hover {
    text-decoration: none;
}
.panel-title a::before {
    content: "\25BC\2002";
}
.panel-title a.collapsed::before {
    content: "\25BA\2002";
}
.panel-body {
    padding: 0;
}
.panel-button {
    display: block;
    border-top: #666 solid 2px;
    border-right: #8C0000 solid 12px;
}
.panel-button a {
    padding: 10px 10px 10px 40px;
    color: #666;
    display: block;
    cursor: pointer;
    text-decoration: none;
}
.panel-button a:hover::after {
    margin-right: -24px;
    color: #FFF;
    float: right;
    font-size: 1.2em;
    text-decoration: none;
    content: "\25BA";
}

.popover-content a {
    color: blue;
    text-decoration: underline;
}