@import url("/css/material-icons/material-icons.css");
@import url("/css/bootstrap-icons/bootstrap-icons.css");
@import url('/css/layout.css');

pre {
    font-size: inherit;
    font-family: inherit;
    color: inherit;
    word-wrap: break-word;
}

select {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='currentColor' class='bi bi-caret-down-fill' viewBox='0 0 16 16'><path d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>")  no-repeat calc(100% - 5px) calc(50% + 1px);
	padding-right: 20px !important;
    -moz-appearance: none; 
	-webkit-appearance: none; 
	appearance: none;
}

input:disabled {
    background-color: rgb(233, 236, 239) !important;
    color: #495057 !important;
}

.cursor-pointer {
    cursor:pointer;
}

.cover {
    margin: 0px;
    padding: 0px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: url(/Img/Bg/bg_pict_home08.jpg);*/
}

.display-5 {
    font-size: 2.3rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-6 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}

.small-90 {
    font-size: 90%;
}

.font-weight-600 {
    font-weight:600;
}

/* #region btn-circle-add */
.btn-circle-add {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    border-radius: 50%;
    padding: 1rem;
}

@media (min-width: 1200px) {
    .btn-circle-add {
        padding: 1.5rem;
    }
}

/* #endregion */

/* #region form validation message */

.valid.modified:not([type=checkbox]) {
    /*border-color: #26b050;*/
}

.invalid {
    border-color: red;
    background-color: #fff3f3 !important;
}

.validation-message {
    width: 100%;
    margin-top: .25rem;
    color: #dc3545;
}

/* #endregion */

/* #region blazor error */

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 10000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* #endregion */

/* #region bootstrap card */
.card {
    box-shadow: 0px 0.12rem 0.25rem rgba(0,0,0,0.075);
}

.card-md {
    width: 100%;
    max-width: 500px;
}

@media (max-width: 575.98px) {
    .card-md {
        min-width: 0px;
        padding: 0px !important;
        margin: 0px !important;
        border: none !important;
        border-radius: 0px !important;
        box-shadow: none !important;
        background-color: transparent !important;
    }

        .card-md .card-body {
            padding: 0px;
        }
}
/* #endregion */

/* #region bootstrap collapse */

[data-toggle="collapse"].collapsed .if-not-collapsed {
    display: none;
}

[data-toggle="collapse"]:not(.collapsed) .if-collapsed {
    display: none;
}

/* #endregion */

/* #region bootstrap modal */
body.modal-open {
    padding-right: 0px !important;
}

.modal-dialog {
    outline: none;
}

.modal-header {
    background-color: #f8f9fa;
}

.modal-footer {
    border-top: none;
}

/* #endregion */

/* #region bootstrap placeholder */
.form-control::-webkit-input-placeholder {
    color: #c5cace;
    opacity: 1;
}

.form-control::-moz-placeholder {
    color: #c5cace;
    opacity: 1;
}

.form-control:-ms-input-placeholder {
    color: #c5cace;
    opacity: 1;
}

.form-control::-ms-input-placeholder {
    color: #c5cace;
    opacity: 1;
}

.form-control::placeholder {
    color: #c5cace;
    opacity: 1;
}
/* #endregion */

/* #region Telerik ContextMenu */
.k-popup .k-header, 
.k-popup .k-group-header {
    font-weight:400 !important;
    font-size:100% !important;
}
.k-popup .k-context-menu {
    padding:0px !important;
}
.k-popup .k-item:focus {
    box-shadow:none !important;
}
/* #endregion */

/* #region WebViewer */

#viewer iframe {
    border:none;
}

/* #endregion */

/* #region list */

.list-group-item.selected {
    background-color: #fff3cd;
}

/* #endregion */

/* #region Bill */

.btn-group-bill .selected {
    color: #fff !important;
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

.btn-group-offer .selected {
    color: #fff !important;
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

/* #endregion */

/* #region Sortable */

.sortable {
    z-index: 10;
    box-shadow: 0 0 8px 3px #ffbb00;
    border-radius: 4px;
}

/* #endregion */

/* #region Drop Area */

.dropArea {
    border: 2px dashed steelblue;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: lightblue;
    font-size: 1rem;
    cursor: pointer;
    position: relative;
    min-height: 120px;
}

    .dropArea.disabled {
        background-color: #dfdfdf;
        color: #818181;
        border-color: #c5c5c5;
        cursor: default;
    }

    .dropArea:hover {
        background-color: lightskyblue;
        color: #333;
    }

    .dropArea.disabled:hover {
        background-color: #dfdfdf;
        color: #818181;
        border-color: #c5c5c5;
    }

    .dropArea input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

    .dropArea.disabled input[type=file] {
        cursor: default;
    }

.dropAreaDrug {
    background-color: #ffc107;
}

    .dropAreaDrug.disabled {
        background-color: #dfdfdf;
    }

/* #endregion */

/* #region Drop Area File */

.dropAreaFile {
    border: 1px dashed steelblue;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(218, 234, 239, 0.90);
    font-size: 1rem;
    cursor: pointer;
    position: relative;
}
    .dropAreaFile input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

/* #endregion */

/* #region TreeList -Share */

.share .k-grid-header {
    padding-right:0px !important;
}
.share .k-grid-header-wrap {
    border-width:0px !important;
}
.share .k-grid-content {
    overflow-y:hidden;
}

.share .k-grid .k-alt {
    background-color:rgba(242, 242, 242, 0.0);
}

.share .k-grid .k-state-selected > td {
    background-color:#fff3cd;
}

.share .k-grid .k-master-row:hover {
    background-color:rgba(242, 242, 242, 0.8) !important;
}

.share .k-grid .k-master-row td[data-col-index='0'] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.share .k-grid .k-master-row .k-icon {
    width:26px;
}
/* #endregion */