﻿body {
    overflow-y: scroll;
}

/* buttons and links extension to use brackets: [ click me ] */
.btn-bracketed::before {
    display: inline-block;
    content: "[";
    padding-right: 0.5em;
}

.btn-bracketed::after {
    display: inline-block;
    content: "]";
    padding-left: 0.5em;
}

/* Initial */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.modal-header,
.modal-footer {
    background: #f5f5f5;
}

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.img-responsive-center {
    margin: 0 auto;
}

.radio, .checkbox {
    margin-top: 0;
    margin-bottom: 0;
}

.col-small {
    padding-left: 5px !important;
}

hr {
    border-top: 1px solid #fff !important;
}

.required {
    color: #e42d2d;
}

.btn {
    min-width: 90px;
}

.btn-small {
    min-width: 0 !important;
}

.btn-default.disabled,
.btn-default[disabled],
fieldset[disabled] .btn-default,
.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus,
.btn-default.disabled:active,
.btn-default[disabled]:active,
fieldset[disabled] .btn-default:active,
.btn-default.disabled.active,
.btn-default[disabled].active,
fieldset[disabled] .btn-default.active {
    background-color: #fff;
    background-image: none;
}

.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
    margin: 0;
}

.radio-inline,
.checkbox-inline {
    margin-right: 10px !important;
}

.disabled,
.readonly,
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] {
    cursor: not-allowed !important;
}

table {
    background-color: #d7d7d7;
    box-shadow: 2px inset black;
}

.table-hover > tbody > tr:hover {
    background-color: #bdbdbd;
    cursor: pointer;
}

@media (min-width: 1280px) {
    .modal-xl {
        width: 1200px;
    }
}

@media (min-width: 1001px) and (max-width: 1279px) {
    .modal-xl {
        width: 1000px;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    .modal-xl {
        width: 780px;
    }
}

@media (max-width: 1280px) {
    .modal-body {
        padding: 0 30px;
    }
}


.modal-body .container-fluid .row .col-modal-label,
.modal-body .container-fluid .row .col-modal-input,
.modal-body .container-fluid .row .col-modal-description {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

.modal-body .container-fluid .row .col-modal-label {
    width: 100% !important;
    float: none !important;
}

.modal-body .container-fluid .row .col-modal-input {
    width: 50% !important;
    float: left !important;
}

.modal-body .container-fluid .row .col-modal-description {
    width: 50% !important;
    float: right !important;
}

ul.nav-tabs li {
    font-weight: bold;
}

.tab-content > .active {
    background: #fff;
}

.tab-content > .tab-pane {
    padding: 10px 15px;
}

table.table-link tbody tr {
    cursor: pointer;
}

.fa-exclamation-triangle {
    -webkit-animation: blink-animation 2s steps(10, start) infinite; /* Safari 4+ */
    -moz-animation: blink-animation 2s steps(10, start) infinite; /* Fx 5+ */
    -o-animation: blink-animation 2s steps(10, start) infinite; /* Opera 12+ */
    animation: blink-animation 2s steps(10, start) infinite; /* IE 10+, Fx 29+ */
}

@-webkit-keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.1;
    }

    100% {
        opacity: 1;
    }
}

/*Calendar*/
.TimeIndicator {
    vertical-align: top;
    font-weight: bold;
    color: black;
    font-size: large;
    width: 50px !important;
    border-bottom: 1px solid darkgray !important;
}

    .TimeIndicator span {
        font-size: small;
        color: silver;
        vertical-align: text-top;
    }

.TimeIndicatorContent {
    width: 50%;
}

.BusyIndicator {
    padding: 0;
    margin: 0;
    width: 15px;
    vertical-align: top;
}

    .BusyIndicator a {
        color: black;
    }

.Empty {
    width: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.Disabled {
    background-color: #aaa;
    cursor: no-drop;
}

.IsBusy {
    background-color: #eee;
    cursor: no-drop;
}

.table-bt tbody > tr > th,
.table-bt tbody > tr > td {
    height: 20px;
    padding: 0 5px;
    margin: 0;
}

.table-bt > tbody > tr > td:hover {
    background-color: #F07C00 !important;
}

/** ValuePresenter.Separator */
.valueHeading,
.valueHeadingEdit {
    overflow: hidden;
    text-align: left;
}

.valueHeadingEdit {
    line-height: 0;
    margin: 0;
}

/*@media (min-width: 1000px) {
    .valueHeading {
        margin-right: -30px;
    }
}*/

/*@media (min-width: 992px) {
    .valueHeadingEdit:after {
        background-color: #000;
        content: "";
        display: inline-block;
        height: 1px;
        position: relative;
        vertical-align: baseline;
        width: 100%;
    }

    .valueHeadingEdit:after {
        margin-right: -90%;
    }
}*/

.valueHeading:after {
    background-color: #000;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: baseline;
    width: 100%;
}

.valueHeading:after {
    margin-right: -90%;
}

/**https://scotch.io/bar-talk/different-tricks-on-how-to-make-bootstrap-columns-all-the-same-height*/
.row.is-flex {
    display: flex;
    flex-wrap: wrap;
}

    .row.is-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

/*
* And with max cross-browser enabled.
* Nobody should ever write this by hand.
* Use a preprocesser with autoprefixing.
*/
.row.is-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .row.is-flex > [class*='col-'] {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
