﻿
html {
    font-size: 12pt;
}

strong {
    font-weight: 600;
}

.well {
    padding: 12px;
    border: 1px solid rgb(222, 215, 215);
    margin-top: 10px;
    margin-bottom: 10px;
    background-color: #f8f8f8; /*#eeeeee;*/
    border-radius: 4px;
}

/* buttons */

.btn {
    margin: 1px;
    padding: 0.6rem 1.2rem;
}

.btn-secondary {
    background-color: #3c6899 !important;
}

    .btn-secondary:hover {
        background-color: #477b9f;
    }

    .btn-secondary:focus, .btn-secondary:active, .btn-secondary.active {
        background-color: #093566;
    }

    .btn-secondary.dropdown-toggle {
        background-color: #3c6899 !important;
    }

        .btn-secondary.dropdown-toggle:hover, .btn-secondary.dropdown-toggle:focus {
            background-color: #477b9f !important;
        }

    .btn-secondary:not([disabled]):not(.disabled):active, .btn-secondary:not([disabled]):not(.disabled).active,
    .show > .btn-secondary.dropdown-toggle {
        background-color: #093566 !important;
    }


.linkbtn, table.table .linkbtn {
    margin-left: 2px;
    margin-right: 2px;
    color: #555;
}

/* forms */

.col-form-label {
    font-weight: 500;
}

.input-group-append .btn-secondary {
    padding: 0.6rem 0.75rem;
}

.select-group .input-group-append {
    margin-left: -2.1em;
    margin-bottom: -1px;
    z-index: 5;
    pointer-events: none;
}

.input-group .form-control {
    margin-bottom: 0 !important;
}

.required:after {
    content: "*";
    font-weight: bold;
    color: red;
}

/* material design forms and elements */
.md-form {
    margin-top: 0.6rem;
    margin-bottom: 1rem;
}

    .md-form select,
    .md-form textarea {
        border-top: none;
        border-left: none;
        border-right: none;
    }

    .md-form .select2-container--default .select2-selection--multiple,
    .md-form .select2-container--default.select2-container--focus .select2-selection--multiple {
        border-top: none;
        border-left: none;
        border-right: none;
        background-color: transparent;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-bottom-color: rgb(206, 212, 218);
        margin-bottom: 8px;
    }

    .md-form .input-group {
        margin-bottom: 6px;
    }

    .md-form input:read-only {
        background-color: rgba(220, 220, 220, 0.1) !important;
    }

.custom-control.custom-checkbox {
    margin-bottom: 0.25rem;
}

.well .md-form {
    margin-bottom: 5px;
    margin-top: 10px;
}

    .well .md-form label {
        z-index: 5;
        color: #656565;
    }


/* index tables */

table.table a {
    color: #007bff;
}

    table.table a .fas,
    table.table a .fa {
        color: #555;
    }

    a .fa-edit,
    table.table a .fa-edit {
        color: #3c71ac;
    }

    a .fa-trash-alt, a .fa-trash, a .fa-times,
    table.table a .fa-trash-alt, table.table a .fa-trash, table.table a .fa-times {
        color: #f30303;
    }

table.table th {
    background-color: white;
}

/* detail lists */

dl.fancy dt {
    white-space: normal;
    text-align: left;
}

dl.fancy dd {
    white-space: normal;
    text-align: left;
    margin-left: 10px;
}

@media (min-width: 768px) {
    dl.fancy dt {
        display: inline-block;
        width: 50% !important;
        border-bottom: 1px solid #eee;
        margin-bottom: 1px;
    }

    dl.fancy dd {
        display: inline-block;
    }
}


.prop .dt {
    font-weight: 400;
    max-width: 320px;
    /*margin-left: 10px;*/
}

.prop .dd {
}

.row.prop {
    /*border-bottom: 1px solid #eee;*/
    margin-bottom: 2px;
    margin-left: 0;
}

.form-panel div.md-form,
.form-panel div.custom-control.custom-checkbox {
    width: 380px;
    max-width: 100%;
}

.md-form.html-field label {
    top: -8px;
}

.md-form.html-field {
    margin-top: calc(0.6rem + 8px);
}

.form-panel {
    max-width: 100%;
}

@media (min-width: 500px) {
    .form-panel {
        width: 400px;
    }
}

@media (min-width: 900px) {
    .form-panel {
        width: 800px;
    }
}

@media (min-width: 1300px) {
    .form-panel {
        width: 1200px;
    }
}

@media (min-width: 1700px) {
    .form-panel {
        width: 1600px;
    }
}

@media (min-width: 2100px) {
    .form-panel {
        width: 2000px;
    }
}

.submit-panel .md-form {
    padding-right: 20px;
}

.form-group.compact {
    margin-bottom: 0px;
}

@media print {
    .noprint, .ck.ck-sticky-panel {
        display: none;
    }
}