﻿/* FONT SIZE */
body,
.btn,
ul>li,
input.form-control,
.form-control,
.k-input[type=text],
.k-panel>.k-item>.k-link {
    font-size: 16px;
    font-weight: bold;
}

input.form-control[type='checkbox'] {
    height: 16px;
    width: 16px;
}

.bootstrap-tagsinput {
    line-height: 2.2;
    width: 100%;
}

.bootstrap-tagsinput .tag {
    font-size: 100%;
}

/* END FONT SIZE */
body {
    padding-top: 80px;
    background-color: #DDD9C4;
}

.clone {
    background-color: #EDB4C7;
}

table.table,
table.table>tbody>tr>td,
.table>thead>tr>th {
    border-color: grey;
}

.field-validation-error {
    color: #ff0039;
}

.famfamfam-flags {
    display: inline-block;
}

textarea {
    resize: none !important;
}

input[type='checkbox'] {
    width: 15px;
    height: 15px;
}

.k-calendar-container .k-state-selected>.k-link {
    color: black;
}

.k-dropdown,
.k-combobox,
.k-numerictextbox,
.k-datetimepicker,
.k-datepicker,
.k-timepicker,
.k-autocomplete,
.k-colorpicker,
.form-control.k-input {
    width: 100%;
    height: 100%;
}

.k-picker-wrap>.k-selected-color {
    width: calc(100% + 9px) !important;
    margin-left: -9px;
    margin-top: -4px !important;
    margin-bottom: -3px !important;
    height: 42px !important;
    border-radius: 0 !important;
}

.k-numeric-wrap,
.k-dropdown-wrap,
.k-picker-wrap,
.k-autocomplete,
.form-control.k-input {
    border-radius: 0;
}

.k-dropdown-wrap,
.k-colorpicker .k-picker-wrap {
    padding-left: 9px;
    padding-top: 4px !important;
    padding-bottom: 3px !important;
}

.k-combobox>.k-dropdown-wrap {
    padding-left: 0px;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.k-dropdown-wrap.k-state-border-down {
    padding-bottom: 6px !important;
}

.k-dropdown-wrap .k-select>.k-icon,
.k-picker-wrap .k-select>.k-icon {
    transform: translateY(25%);
}

.form-control.k-input {
    padding: 10.5px 18px;
    box-sizing: border-box;
    text-indent: 0;
}

.k-picker-wrap .form-control.k-input {
    padding: 10.5px 18px;
}

.m-b-15 {
    margin-bottom: 15px !important;
}

.k-grid .btn {
    padding: 5px 8px;
    font-size: 0.9em;
}

.k-today,
.k-nonwork-hour {
    background-color: white !important;
}

.k-tooltip {
    background-color: gray !important;
    border-color: gray !important;
    font-size: 90%;
    max-height: 600px;
    overflow: auto;
}

.k-callout {
    border-top-color: gray;
}

.k-callout.k-callout-n {
    border-top-color: transparent;
}

.dropdown.active .dropdown-menu {
    display: block;
}

td .k-widget.k-dropdown {
    display: block;
}

td .k-widget.k-numerictextbox {
    display: inline-table;
}

.btn-small {
    padding: 5px 9px;
}

.btn-round {
    border-radius: 100%;
}

.btn:focus {
    outline: none !important;
}

.modal.fade {
    -ms-opacity: 1 !important;
    opacity: 1 !important;
}

.modal.fade>.modal-dialog {
    margin-top: 75px !important;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.2);
}

#loader .fa {
    position: absolute;
    left: calc(50% - 23px);
    top: calc(50% - 23px);
}

label.horizontal-label {
    line-height: 45px;
}

.form-control[readonly='readonly'] {
    background-color: white;
}

.add-contractor,
.add-employee,
.add-stuff,
.add-material,
.add-task {
    font-size: 120%;
}

.add-contractor .fa,
.add-employee .fa,
.add-stuff .fa,
.add-material .fa,
.add-task .fa {
    vertical-align: middle;
}

h4>img {
    width: 52px;
}

.k-dropdown .k-dropdown-wrap.k-state-border-down {
    padding-bottom: 4px !important;
}

.k-combobox .k-dropdown-wrap.k-state-border-down {
    padding-bottom: 0 !important;
}

.form-control {
    height: 45px;
}

@keyframes pulse {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.1, 1.1);
    }

    100% {
        transform: scale(1, 1);
    }
}

.pulsate {
    animation: pulse 1s linear infinite;
}

.col-xl-6 {
    position: relative;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 1860px) {
    .col-xl-6 {
        width: 50%;
        float: left;
    }
}

.m-t-5 {
    margin-top: 5px;
}

.quotation-item-choice {
    padding: 8px 6px;
    cursor: pointer;
    width: 500px;
    margin: 4px 0;
    border: 1px solid #cccccc;
}

.quotation-item-choice:hover {
    background: #000000;
    background: rgba(0, 0, 0, .1);
    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px #000000, 0 0 8px #66afe9;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08), 0 0 8px rgba(102, 175, 233, .6);
}

.quotation-item-choices {
    max-height: 600px;
    overflow: auto;
    margin: 4px 0;
    padding: 0 4px
}

table.k-editor {
    height: 285px
}

.nowrap {
    white-space: nowrap;
}

@media (min-width: 1366px) {
    .container {
        width: 1280px;
        max-width: 100%;
    }
}

#quotation-attachments {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    padding-top: 28px;
    padding-bottom: 28px;
    min-height: 800px;
    border: 1px dashed transparent;
    position: relative;
    border-radius: 8px;
    align-content: flex-start;
}

    #quotation-attachments.is-dragover:not(.is-quotation-folder)::after,
    #quotation-attachments.is-empty:not(.is-quotation-folder)::after {
        font-size: 20px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        width: 100%;
        background: rgba(255, 255, 255, .9);
        display: flex;
        justify-content: center;
        align-items: center;
    }

#quotation-attachments.is-empty:not(.is-quotation-folder)::after {
        content: 'Trascina qui uno o più files per caricarli';
        z-index: -1;
    }

#quotation-attachments.is-dragover:not(.is-quotation-folder)::after {
        content: 'Rilascia qui i files per caricarli';
    }

.quotation-attachment {
    display: flex;
    flex-flow: column;
    gap: .5rem;
    flex: 0 1 150px;
    overflow-wrap: anywhere;
    align-items: center;
    padding: 8px;
    box-sizing: content-box;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.quotation-attachment.is-drag-hint {
        height: auto;
        width: 150px;
        background: #c6c3b0 !important;
        opacity: .8;
        transform: scale(.5);
    }

    .quotation-attachment.is-dragging .attachment-actions,
    .quotation-attachment.is-drag-hint .attachment-actions,
    .quotation-attachment.is-drop-area .attachment-actions {
        display: none !important;
    }

.quotation-attachment-name {
    text-align: center;
    margin-bottom: 0;
}

.quotation-attachment:hover,
.quotation-attachment.is-drop-area {
    background: rgba(0, 0, 0, .1);
}

.attachment-actions {
    position: absolute;
    right: 6px;
    top: 6px;
    display: none;
}

.quotation-attachment:hover .attachment-actions {
    display: block;
}

#search-attachments {
    width: 300px;
    display: inline-block;
    margin-left: auto;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.gap-2 {
    gap: .5rem;
}

.attachment-image-preview {
    max-width: 100%;
    max-height: 70px;
}

.k-tool-group .k-dropdown,
.k-tool-group .k-colorpicker {
    width: auto !important;
    margin-right: 0 !important;
}

.k-tool-group .k-dropdown .k-dropdown-wrap,
.k-tool-group .k-colorpicker .k-picker-wrap {
    border-radius: 4px;
}

.k-tool-group .k-dropdown .k-dropdown-wrap .k-input {
    height: 20px;
    line-height: 20px;
}

.k-tool-group .k-colorpicker .k-picker-wrap{
    height: 25px;
    line-height: 25px;
}

.k-tool-group .k-dropdown .k-dropdown-wrap .k-select,
.k-tool-group .k-colorpicker .k-picker-wrap .k-select {
    line-height: 22px;
}

#selectable-attachments #quotation-attachments {
    min-height: 0;
}


#selectable-attachments .attachment-selected {
    background: rgba(0, 109, 219,.5);
    color: white;
}

.mr-15 {
    margin-right: 15px
}

.mr-15 {
    margin-right: 15px
}

.mt-0 {
    margin-top: 0 !important;
}

.m-0 {
    margin: 0 !important;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.text-nowrap {
    white-space: nowrap;
}

.w-content {
    width: fit-content;
}