﻿body {
    padding-top: 60px;
    padding-bottom: 70px;
}

/* remove the damn clear icon from IE of text inputs */
input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.navbar-inverse {
    background: #5bc0de;
    border-bottom: #269abc;
    border-top: #269abc;
}

    .navbar-inverse .navbar-brand {
        color: #067aa7;
        text-shadow: none;
    }

li.active > a {
    border-bottom: 1px solid red;
}

.navbar-inverse .navbar-brand:hover {
    color: #000000;
    text-shadow: none;
}

.navbar-inverse .navbar-nav > li > a {
    color: #000000;
    text-shadow: none;
}

    .navbar-inverse .navbar-nav > li > a:hover {
        color: #000000;
    }

.navbar-inverse .navbar-text {
    color: #000000;
}


/* Bootstrap Dropdown Submenu */
.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #cccccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #ffffff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

.navbar-nav .divider-vertical {
    height: 40px;
    margin: 0 9px;
    border-left: 1px solid #f2f2f2;
    border-right: 1px solid #ffffff;
}

.error {
    color: red;
}

.field-validation-error {
    color: #f00;
}

.validation-summary-errors {
    color: #f00;
    font-weight: bold;
}

.input-validation-error {
    border: 2px solid #f00;
    background-color: #fee;
}

input[type="checkbox"].input-validation-error {
    outline: 2px solid #f00;
}

.clickableRow {
    cursor: pointer;
}

td, th {
    font-size: 10pt;
}

table {
    padding: 0px;
    margin: 0px;
}



.hide-me {
    display: none;
}

@keyframes fadeOut {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

@-webkit-keyframes fadeOut {
    from {
        opacity: 1.0;
    }

    to {
        opacity: 0.0;
    }
}

.fade-out {
    animation: fadeOut 2s infinite;
    -webkit-animation: fadeOut 2s infinite;
}

/* Override font location to correct path */
@font-face {
    font-family: 'Glyphicons Halflings';
    src: url('../Content/fonts/glyphicons-halflings-regular.eot');
    src: url('../Content/fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../Content/fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../Content/fonts/glyphicons-halflings-regular.woff') format('woff'), url('../Content/fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../Content/fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

.fa-ambulance {
    color: #b22222;
}

.fa-level-up {
    color: #337ab7;
}

.breadcrumb > li + li:before {
    color: #CCCCCC;
    content: "/ ";
    padding: 0 5px;
}

.clickableRow > tr.selected {
    background-color: #FFCF8B;
}

tr.collapse > td {
    padding-bottom: 1em;
}


.btn {
    margin-right: 4px;
}

.angular-ui-tree-handle {
    background: #f8faff;
    border: 1px solid #dae2ea;
    color: #7c9eb2;
    padding: 10px 10px;
}

    .angular-ui-tree-handle:hover {
        color: #438eb9;
        background: #f4f6f7;
        border-color: #dce2e8;
    }

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

tr.angular-ui-tree-empty {
    height: 100px;
}

.group-title {
    background-color: #687074 !important;
    color: #FFF !important;
}


/* --- Tree --- */
.tree-node {
    border: 1px solid #dae2ea;
    background: #f8faff;
    color: #7c9eb2;
}

.nodrop {
    background-color: #f2dede;
}

.tree-node-content {
    margin: 5px;
}

.tree-handle {
    padding: 5px;
    background: #428bca;
    color: #FFF;
    margin-right: 10px;
}

.angular-ui-tree-handle:hover {
}

.angular-ui-tree-placeholder {
    background: #f0f9ff;
    border: 2px dashed #bed2db;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    min-height: 10px;
}


input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

.text-vertical-center {
    vertical-align: middle;
}

/**----- special button layout-----*/
.btn-start {
    color: #fff;
    background-color: #0A6C27;
    border-color: #044B19;
    width: 90px;
}

.btn-stop {
    color: #fff;
    background-color: #970A0A;
    border-color: #7A0909;
    width: 90px;
}

.btn-counting {
    color: #fff;
    background-color: #0A6C27;
    border-color: #044B19;
    width: 90px;
}

.btn-add {
    color: #fff;
    background-color: #0A6C27;
    border-color: #044B19;
    width: 120px;
}

.btn-radius-right {
    border-bottom-left-radius: 4px !important;
    border-top-left-radius: 4px !important;
    border-bottom-right-radius: 0px !important;
    border-top-right-radius: 0px !important;
}

.btn-radius-left {
    border-bottom-right-radius: 4px !important;
    border-top-right-radius: 4px !important;
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
}

/**----- special layout-----*/

.header-dayofweek {
    color: black;
    background-color: #E6E6E6;
    border-radius: 4px;
    padding-top: 3px;
    padding-bottom: 3px;
    border: solid 1px #BDBDBD;
    margin-top: 1px;
}

.content-dayofweek {
    border-radius: 4px;
    padding-bottom: 4px;
    border-left: solid 1px #BDBDBD;
    border-right: solid 1px #BDBDBD;
    border-bottom: solid 1px #BDBDBD;
    display: none;
}

.content-dayofweek-visible {
    border-radius: 4px;
    padding-bottom: 4px;
    border-left: solid 1px #BDBDBD;
    border-right: solid 1px #BDBDBD;
    border-bottom: solid 1px #BDBDBD;
}

.sumrow-dayofweek {
    background-color: lightgrey;
}

.nodata-dayofweek {
    padding-left: 16px;
    color: gray;
}

.mark-row-for-edit-dayofweek {
    border: solid 1px #006600 !important;
    background-color: #009900 !important;
    font-weight:bold !important;
}

.margin-subactivity-dayofweek
{
    margin-left: 8px;
    margin-right: 13px;
}

.mark-invalid-timestamp {    
    border: solid 1px  #f00 !important;     
    font-weight:bold !important;  
}

.mark-valid-timestamp {    
    border: 1px solid #ccc !important;  
    font-weight:normal !important;  
}

/* tab definition */

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  background-color: #E6E6E6;
  border: 1px solid #BDBDBD;
  border-bottom-color: transparent;
  font-weight:bold;
}

.nav-tabs > li > a,
.nav-tabs > li > a:hover,
.nav-tabs > li > a:focus {
  color: gray;  
}

/* modal definitions */

.app-modal-window .modal-90-90 {
    width: 90%;
    height: 90%;
    position: fixed;
    top: 25%;
    left: 5%;
    padding: 20px;
}

.app-modal-window .modal-40-40 {
    width: 40%;
    height: 40%;
    position: fixed;
    top: 40%;
    left: 30%;
    padding: 20px;
}

.app-modal-window .modal-40-80 {
    width: 40%;
    height: 80%;
    position: fixed;
    top: 20%;
    left: 30%;
    padding: 20px;
}

.app-modal-window .modal-60-60 {
    width: 60%;
    height: 60%;
    position: fixed;
    top: 30%;
    left: 20%;
    padding: 20px;
}


.modal-dialog {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-top: -200px;
}

.modal-confirm {
    position: absolute;
    left: 40%;
    top: 50%;
    width: 300px;
    margin-top: -200px;
}

.modal .modal-body .modal-content {
    min-height: 50px;
    max-height: 650px;
    overflow-y: auto;
}

.modal-title {
    font-weight: bold;
    font-size: 14px;
}

.modal-content-text {
    padding: 4px;
    vertical-align: middle;
    text-align: center;
}

.error-tooltip-top + .tooltip > .tooltip-inner {
    background-color: #f00;
}

.error-tooltip-top + .tooltip > .tooltip-arrow {
    border-top-color: #f00;
}

.error-tooltip-right + .tooltip > .tooltip-inner {
    background-color: #f00;
    width: 150px;
}

.error-tooltip-right + .tooltip > .tooltip-arrow {
    border-right-color: #f00;
}

.copyright {
    font-size: 12px;
    color: #565b5b;
    text-align: center;
}

.tooltip-fixed-btn {
    position: fixed;
  
    left: 80%;
    top: 88%;
}

.visibility-hidden {
    display: none;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}