/* Datatables TR linkable  */
tr.dt-row-link
{
    cursor: pointer;
}

/* Horizontal timeline dashboard */
div#timeline {
    /*background-color: #6ab0de;*/
    background-color: #0a8dd2;
    margin: 56px 0px;
    height: 10px;
    width: 100%;
    position: relative;
}
div#timeline .dot {
    z-index: 99;
    -webkit-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: -15px;
    text-align: center;
    cursor: pointer;
}
div#timeline .dot:nth-child(1) {
    left: 2%;
    background-color: #e74c3c;
}
div#timeline .dot:nth-child(2) {
    left: 15%;
    background-color: #e74c3c;
}
div#timeline .dot:nth-child(3) {
    left: 29%;
    background-color: #28558c;
}
div#timeline .dot:nth-child(4) {
    left: 40%;
    background-color: #2182b8;
}
div#timeline .dot:nth-child(5) {
    left: 51%;
    background-color: #7b3;
}
div#timeline .dot:nth-child(6) {
    left: 62%;
    background-color: #2182b8;
}
div#timeline .dot:nth-child(7) {
    left: 73%;
    background-color: #e18f39;
}
div#timeline .dot:nth-child(8) {
    left: 95%;
    background-color: #7b3;
}
div#timeline .dot:hover {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}
div#timeline .dot date {
    font-family: inherit;
    font-size: 0.9em;
    display: block;
    position: relative;
    top: -62px;
    width:100px;
    text-align: center;
    left: -30px;
}
div#timeline .dot span {
    display: inline-block;
    margin-top: 5px;
    padding-top: 5px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.field-box.caselog {
    margin-bottom:0;
    max-height: 127px;
    overflow-y:scroll;
}

.field-box.caselog > ol.list-group,ul.list-group {
    margin-bottom:0;
}

.caselog ul {
    padding: 0;
    list-style-type: none;
    font-family: Menlo, 'DejaVu LGC Sans Mono', 'DejaVu Sans Mono',
    Consolas, 'Everson Mono', 'Lucida Console', 'Andale Mono',
    'Nimbus Mono L', 'Liberation Mono', FreeMono, 'Osaka Monospaced',
    Courier, 'New Courier', monospace;
    font-size: 0.76em;
}

.well.planning-tooltip {
    background-color: #E8AD79;
}

/* Custom image file upload buttons */

.image-upload > input
{
    display: none;
}
.image-upload .upload-placeholder {
    cursor: pointer;
}

/* Custom case image preview modal */
.modal-dialog.case_image{
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}
/* Modal offset top */
.modal-dialog {
    z-index: 100001;
    padding-top: 9%;
}

/* Custom styling confirmation modal for emails */
td.modal-emphasize {
    font-weight: bold;
    color: #eb4d40;
}
label.emphasize {
    color: #eb4d40;
}

/* Custom styling radio groups without margin top/bottom  */
.radio.planning {
    margin-top:4px;
    margin-bottom:0;
}

#pad-wrapper-border.planning-section {
    padding: 15px 50px;
    background: #f9f9f9;
}

/* Custom styling for case category colors (licht, middel, zwaar) */
.category-licht {
    color: #5cb85c;
}
.category-middel {
    color: #f0ad4e;
}
.category-zwaar {
    color: #d9534f;
}

/* Case.view 'dossier status' label vertical alignment */
.input-group.statuslabel {
    padding-top: 3px;
}
/* Case.view inline radio button alignment */
.checkbox-inline.case-inline {
    margin-left: 10px;
}
/* Case.create/view checkbox under label alignment */
.checkbox.align-label {
    margin-left: 20px;
}

/* Planning.index vertical separator above planning */
.vertical-devider:after{
    background: #efeef3;
    width: 1px;
    content: "";
    display: block;
    position: absolute;
    top: -15px;
    bottom: 1px;
    right: 0;
    height: 62px;
}

/* Case.view: override for readonly fields for group "VM" */
.form-control[readonly], .form-control[disabled] {
    background-color: inherit;
    color: inherit;
}

/* Case.create/view: well for emphasizing specific field-box divs */
.field-box-well {
    padding-top: 5px;
    padding-left: 5px;
    background-color: #f5c9d5;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    min-height: 64px;
}
.well-header {
    font-size: 12px;
}
.form-wrapper-well {
    padding: 6px 6px 26px 0;
    margin-bottom: 0;
    background-color: #f2f2f2;
}

/* Case.create/view: btn-flat addition for checkbox as a button (default grey) */
.btn-flat.btn-flat-unchecked{
    color: #333;
    background: #e6e6e6;
    border: 1px solid #efefef;
}
span.label-checkbox.btn-glow {
    font-size: 12px;
}
.btn.btn.btn-glow {
    font-size: 12px;
}

/* Case.create/view: better implementation of checkbox as a button */
.label-checkbox {
    cursor: pointer;
}
/* Case.create/view: margin-top for logboek vrije tekst field */
.field-box-mt20 {
    margin-top: 17px;
}

/* Datepicker UI z-index fix */
input.datepicker {
    position: relative;
    z-index: 1000;
}
input#datepicker_start {
    position: relative;
    z-index: 1000;
}
input#datepicker_end {
    position: relative;
    z-index: 1000;
}


.well.well-less-margin {
    padding: 5px;
}
hr.less-margin {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Bootstrap DateTimePicker overrides */
/* disabled days */ 
.bootstrap-datetimepicker-widget table td.disabled, .bootstrap-datetimepicker-widget table td.disabled:hover {
    color: #efefef;
}
/* enabled days */
.bootstrap-datetimepicker-widget table td.day {
    font-weight: 700;
}

label.checkbox > span.checkbox-contents {
    font-weight: 400;
}
label.checkbox {
    margin-top: 2px;
}

span.case-label ~ span.case-label {
    margin-left: 20px;
}

ul.nav > li {
    cursor: pointer;
}

/* Customization for Sweet Alerts */
.swal-text {
    text-align: center;
}