﻿body {
    padding: 0;
    margin: 0;
    height: 100%;
}

    body.web {
        padding-top: 50px;
    }

        body.web .calculator {
            margin-top: 20px;
        }

.pagebody {
    /*padding-top: 70px;*/
    padding-bottom: 50px;
    overflow: auto;
}
/* VANCOMYCIN */
.vancomycin .navbar, .vancomycin .calc-header {
    background-color: #236D58;
}

.vancomycin .lbl-value {
    color: #236D58;
}

.vancomycin .btn-primary.active,
.vancomycin .btn-primary:hover {
    background-color: #236D58 !important;
    border-color: #236D58;
    border: 0px solid #236D58;
}

/* GGC gentamicin */
.gentamicin .navbar, .gentamicin .calc-header {
    background-color: #BA4C63;
}

.gentamicin .lbl-value, .red {
    color: #BA4C63;
}

.gentamicin .btn-primary.active, .gentamicin.btn-primary:hover {
    background-color: #BA4C63 !important;
    border-color: #BA4C63;
    border: 0px solid #BA4C63;
}

/* HARTFORD */
.hartford .navbar, .hartford .calc-header {
    background-color: #BA4C63;
}

.hartford .lbl-value {
    color: #BA4C63;
}

.hartford .btn-primary.active,
.hartford .btn-primary:hover {
    background-color: #BA4C63 !important;
    border-color: #BA4C63;
    border: 0px solid #BA4C63;
}

.calculator .panel {
    border-radius: 3px;
}

.calculator .result-panel .row {
    border-top: solid 1px #dcdcdc;
    margin-right: 0px;
    margin-left: 0px;
}

    .calculator .result-panel .row:first-child {
        border-top: 0px solid;
    }

.calculator .btn-primary {
    color: #fff;
    background-color: #a8b6bf;
    border-color: #a8b6bf;
    border: 0px solid #a8b6bf;
}

.calculator .lightgray {
    background-color: #E0E0E0;
}

.calculator .navbar h1 {
    color: #fff;
    font-size: 1.2em;
    margin: 8px 0px 0px 0px;
    line-height: 1.5;
    font-weight:bold;
}

.calculator .navbar {
    padding: 10px;
}

.calculator .navbar-left,
.calculator .navbar-left:hover,
.calculator .navbar-left:visited {
    text-decoration: none;
    color: #fff;
    float: left;
    padding: 7px 10px 0px 5px;
}

    .calculator .navbar-left span {
        color: #fff;
    }

.calculator .lbl {
    text-align: left;
    display: block;
    padding: 5px;
}

.calculator .lbl-value {
    text-align: left;
    display: block;
    padding: 5px;
    font-weight: bold;
}

.calculator .table th, .calculator .table td {
    font-size: 0.7em;
}

.calculator .table tr:first-child {
    border-left: 0px !important;
    border-right: 1px;
}

.calculator .table tr:last-child {
    border-right: 0px !important;
    border-left: 1px;
}

.calculator .result thead th {
}

.calculator .result tbody th {
}

.calculator .result td {
    font-weight: bold;
    color: #286090;
}

.calculator .error {
    background-color: indianred !important;
}

.calculator .warning td {
    background-color: blue;
}

.calculator .form-horizontal .control-label { /* text-align:right; */
    text-align: left;
    font-weight: normal;
}

.calculator .sm-btn-group label {
    font-size: 0.6em;
}

.calculator select option {
    color: black;
}

    .calculator select option:first-child {
        color: grey;
    }

.calculator select.empty {
    color: grey;
}

/* make our pages be full width and full height */
/* positioned absolutely so that the pages can overlap each other as they enter and leave */
.calculator .page {
    bottom: 0;
    position: absolute;
    text-align: center;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
}

.calculator .btn, .calculator .form-control, .modal-content {
    border-radius: 0px;
}

.calculator .modal-content {
    font-size: 1.5em;
}

    .calculator .modal-content .btn {
        font-size: 0.8em;
    }

.calculator .rbutton {
    width: 60px;
}

.calculator .lrgrbutton {
    width: 100%;
}

    .calculator .lrgrbutton .glyphicon {
        margin-left: 5px;
    }

.calculator .btn span {
    display: none;
}

.calculator .btn.active span {
    display: inline-block;
}

.calculator .navbar-fixed-bottom {
    min-height: 37px;
    padding: 0px;
}

.calculator .full-size {
    width: 100%;
    padding: 10px;
}

.calculator .form-control {
    color: black;
}

.calculator .page .subheading {
    text-align: left;
    font-size: 1.4em;
}

.calculator .page .subheading-warning {
    font-size: 1.4em;
}

/* PAGES (specific colors for each page)============================================================================= */
.calculator .page-home {
    background: #fff;
    color: #808080;
}

.calculator .page-interm {
    background: #e9ece5;
    color: #808080;
}

.calculator .page-contin {
    background: #e9ece5;
    color: #808080;
}

/* ANIMATIONS============================================================================= */
/* leaving animations ----------------------------------------- */
/* rotate and fall */
@keyframes rotateFall {
    0% {
        transform: rotateZ(0deg);
    }

    20% {
        transform: rotateZ(10deg);
        animation-timing-function: ease-out;
    }

    40% {
        transform: rotateZ(17deg);
    }

    60% {
        transform: rotateZ(16deg);
    }

    100% {
        transform: translateY(100%) rotateZ(17deg);
    }
}

/* slide in from the bottom */
@keyframes slideOutLeft {
    to {
        transform: translateX(-100%);
    }
}

/* rotate out newspaper */
@keyframes rotateOutNewspaper {
    to {
        transform: translateZ(-3000px) rotateZ(360deg);
        opacity: 0;
    }
}

/* entering animations --------------------------------------- */
/* scale up */
@keyframes scaleUp {
    from {
        opacity: 0.3;
        -webkit-transform: scale(0.8);
    }
}

/* slide in from the right */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

/* slide in from the bottom */
@keyframes slideInUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* my: slide out from the right */
@keyframes slideOutRight {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

/* my: slide in from the left */
@keyframes slideInLeft {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(100%);
    }
}

.ng-enter {
    z-index: 8888;
}

.ng-leave {
    z-index: 9999;
}

/* page specific animations ------------------------ */
.page-home.ng-enter {
    z-index: 8888;
    animation: Stay 0.25s both ease-in;
}

.page-home.ng-leave {
    z-index: 8888;
    animation: Stay 0.25s both ease-in;
}

/*correct*/
.page-contin.ng-enter {
    animation: slideInRight 0.25s both ease-in;
}

.page-contin.ng-leave {
    animation: slideOutRight 0.25s both ease-in;
}

.page-interm.ng-enter {
    animation: slideInRight 0.25s both ease-in;
}

.page-interm.ng-leave {
    animation: slideOutRight 0.25s both ease-in;
}

/* Stay behind modal */
@keyframes Stay {
    from {
        transform: translateX(0%);
    }

    to {
        transform: translateX(0%);
    }
}


.exclamation-icon-wrapper .exclamation-icon {
    position: absolute;
}

.icon-text {
    display: inline-block;
    margin-left: 40px;
    margin-top: 5px;
}

.textalign-left {
    text-align: left;
}

.acc-body {
    font-size: 1.25em;
}

.stopcheck {
    position:relative;
    text-align: left;
}
.stopcheck .glyphicon {
    position: absolute;
    left: 16px;
    top: 16px;
}
.stopcheck p {
    margin-left: 24px;
}

#top {
display:none;
position:absolute;
top:-5000px;
}


