body {
    --main-color: #03a9f3;
    --main-color-darker: #0298da;
    --main-color-light: #b3e5fb;
    --main-color-lighter: #e5f6fd;
    --main-white: #fafafa;
    --validation-bg: #F8D6D9;
    --validation-color: #dc3545;
    --validation-color_bg: #f2b7bd;
    --white: #fff;
    --black: #000;
    --red: #dc3545;
    --purple: #563d7c;
    --blue: #2F28FF;
    --red-bg: rgba(220, 53, 69, 0.4);
    --orange: #FFA500;
    --orange-bg: rgba(255, 165, 0, 0.4);
    --background: #edf1f5;
    --button-border-color: #dee2e6;
    --button-hover-color: #e9ecef;

    --datatable-row-odd: #f1f1f1; /*rgba(179, 229, 251, 0.1);*/
    --datatable-row-even: #fafafa; /*rgba(179, 229, 251, 0.2);*/
    --datatable-row-hover: rgba(179, 229, 251, 0.5);
    --datatable-row-selected: rgba(179, 229, 251, 1);

    --font-weight-regular: 400;
    --font-weight-semibold: 500;

    background: var(--background);

    font-family: 'Poppins', sans-serif;
    font-weight: var(--font-weight-regular);
    overflow-x: hidden;

    font-size: 0.95em;
}

input[type="search"] {
    -webkit-appearance: searchfield;
}

input[type="search"]::-webkit-search-cancel-button {
    /* Remove default */
    -webkit-appearance: none;

    /* Now your own custom styles */
    height: 14px;
    width: 14px;
    display: block;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAn0lEQVR42u3UMQrDMBBEUZ9WfQqDmm22EaTyjRMHAlM5K+Y7lb0wnUZPIKHlnutOa+25Z4D++MRBX98MD1V/trSppLKHqj9TTBWKcoUqffbUcbBBEhTjBOV4ja4l4OIAZThEOV6jHO8ARXD+gPPvKMABinGOrnu6gTNUawrcQKNCAQ7QeTxORzle3+sDfjJpPCqhJh7GixZq4rHcc9l5A9qZ+WeBhgEuAAAAAElFTkSuQmCC);
    /* setup all the background tweaks for our custom icon */
    background-repeat: no-repeat;

    /* icon size */
    background-size: 14px;
}

button{
    cursor: pointer;
}

.bootstrap-tagsinput .badge [data-role="remove"]:after {
    content: "x";
    padding: 4px 10px;
}

a:hover {
    color: var(--main-color);
}

:focus {
    outline: none;
}

#preloader {
    width: 100%;
    height: 100%;
    top: 0px;
    position: fixed;
    z-index: 99999;
    background:rgba(255, 255, 255, 0.8);
    text-align: center;
}

#preloader .cssload-speeding-wheel {
    position: absolute;
    top: calc(50% - 3.5px);
    left: calc(50% - 3.5px);
}

#preloader .cssload-speeding-wheel {
    width: 31px;
    height: 31px;
    margin: 0 auto;
    border: 2px solid var(--main-color);
    border-radius: 50%;
    border-left-color: transparent;
    border-right-color: transparent;
    animation: cssload-spin 425ms infinite linear;
      -o-animation: cssload-spin 425ms infinite linear;
      -ms-animation: cssload-spin 425ms infinite linear;
      -webkit-animation: cssload-spin 425ms infinite linear;
      -moz-animation: cssload-spin 425ms infinite linear;
  }
  
  @keyframes cssload-spin {
    100%{ transform: rotate(360deg); transform: rotate(360deg); }
  }
  
  @-o-keyframes cssload-spin {
    100%{ -o-transform: rotate(360deg); transform: rotate(360deg); }
  }
  
  @-ms-keyframes cssload-spin {
    100%{ -ms-transform: rotate(360deg); transform: rotate(360deg); }
  }
  
  @-webkit-keyframes cssload-spin {
    100%{ -webkit-transform: rotate(360deg); transform: rotate(360deg); }
  }
  
  @-moz-keyframes cssload-spin {
    100%{ -moz-transform: rotate(360deg); transform: rotate(360deg); }
  }

.table td, .table th {
    padding: 3px 5px;
}

th{
    font-weight: var(--font-weight-semibold);
}

#navbarDropdown{
    color: var(--white);
}

.credits{
    color: #000;
}

.form-control:focus {
    box-shadow: none;
}

#form input[type="submit"],
.DTE .btn-primary {
    font-family: "Font Awesome 5 Free", 'Poppins', sans-serif;
}

p {
    font-size: 1.1em;
    line-height: 1.7em;
    margin-bottom: 0;
}

a, a:hover, a:focus {
    /*color: inherit;*/
    text-decoration: none;
    transition: all 0.3s;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

#sidebar-inner i.fas {
    text-align: center;
}

a[data-toggle="collapse"] {
    position: relative;
}

.badge-primary{
    background-color: var(--main-color);
}

.btn-primary {
    color: var(--white);
    background-color: var(--main-color);
    border-color: var(--main-color);
}

.btn-primary-purple {
    color: var(--white);
    background-color: var(--purple);
    border-color: var(--purple);
}

.navbar{
    background-color: var(--main-color);
    color: var(--main-white);
}

.navbar-toggler {
    color: var(--main-white);
}

.header-logout{
    color: #fff;
}

.header-logout:hover{
    font-weight: 600;
    color: #fff;
}

#sidebar {
    display: flex;
    flex-direction: column;
    min-width: 280px;
    max-width: 280px;
    min-height: 100vh;
    color: #000;
    background: var(--white);
    transition: all 0.3s;
}

#sidebar.active {
    margin-left: -280px;
}

.navbar,
#sidebar .sidebar-header{
    min-height: 50px;
}

#sidebar .sidebar-header {
    background: var(--main-color-darker);
}

#sidebar .sidebar-header a{
    display: block;
    padding: 10px;
}

#sidebar .sidebar-header a img{
    display: block;
    height: 34px;
}

#sidebar .sidebar-inner{
    padding-right: 2px;
    flex-grow: 1;
}

#sidebar .sidebar-bottom{
    margin-bottom: 10px;
}

#sidebar ul.components {
    padding: 0;
}

#sidebar ul p {
    color: #000;
    padding: 10px;
}

#sidebar ul li a {
    color: #000;
    padding: 8px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a i.fas{
    width: 25px;
    height: 25px;
    text-align: center;
}

#sidebar ul li.active > div,
#sidebar ul li.active > a,
#sidebar ul li > a:hover {
    color: var(--main-color);
    border-left: 3px solid var(--main-color);
}


#sidebar ul li.active > div > a{
    color: var(--main-color);
}

#sidebar .credits{
    padding: 10px;
}

#sidebar .dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

#content{
    width: calc(100% - 250px);
}

#content.content-full{
    width: 100%;
}

#content.sidebar-toggle{
    width: 100%;
}

.btn-icon,
.select_client{
    min-width: 48px;
    height: 40px;
    line-height: 40px;
    padding: 0px 15px;
    border: 0;
}

.btn-info{
    background-color: var(--main-color);
    border-color: var(--main-white);
}

.btn-info:hover {
    color: var(--main-color);
    background-color: var(--main-white);
    border-color: var(--main-color);
}

.btn-info.focus, .btn-info:focus {
    box-shadow: initial;
}

table form{
    display: inline;
}

table.dataTable{
    width: 100% !important;
}

table.dataTable>tbody>tr.child span.dtr-title {
    width: 30%;
    font-weight: 500;
}

table.dataTable>tbody>tr.child ul.dtr-details>li {
    overflow: hidden;
}

table.dataTable>tbody>tr.child span.dtr-data {
    width: 67%;
    float: right;
    text-align: right;
    word-break: break-word;
}

table.dataTable tbody>tr.selected, 
table.dataTable tbody>tr>.selected {
    background-color: var(--datatable-row-selected);
}

table.dataTable tbody>tr.selected-print, 
table.dataTable tbody>tr>.selected-print {
    background-color: var(--datatable-row-selected);
}

table.dataTable tbody>tr.selected-offer, 
table.dataTable tbody>tr>.selected-offer {
    background-color: var(--datatable-row-selected);
}

.table-striped thead th{
    vertical-align: middle;
    white-space: nowrap;
    border: 1px solid var(--main-color-light) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--datatable-row-odd);
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: var(--datatable-row-even);
}

.table-hover tbody tr:hover {
    background-color: var(--datatable-row-hover);
}

table.dataTable thead th, table.dataTable thead td {
    padding: 5px 8px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    color: #000 !important;
    border: 1px solid var(--main-color);
    background-color: white;
    background: inherit !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    border: 1px solid var(--main-color) !important;
    background: var(--main-color) !important;
}

.table-bordered {
    border: 1px solid #f4f4f4;
}

.table-bordered>thead>tr>th, .table-bordered>thead>tr>td {
    border-bottom-width: 2px;
}

.table-bordered>thead>tr>th, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>tbody>tr>td, .table-bordered>tfoot>tr>td {
    border: 1px solid #f4f4f4;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_desc:after, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_asc_disabled:after, table.dataTable thead .sorting_desc_disabled:before, table.dataTable thead .sorting_desc_disabled:after {
    top: 50%;
    bottom: initial;
    transform: translate(0, -50%);
}

table.dataTable.table td, table.dataTable.table th {
    vertical-align: middle;
    text-align: center;
    border: 1px solid transparent;
}

table.dataTable.table td.child{
    text-align: left;
}

.dataTables_wrapper .dt-buttons.btn-group{
    display: none;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    border: 0!important;
    background: none!important;
}

table.dataTable tbody td.select-checkbox:before, table.dataTable tbody th.select-checkbox:before{
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: initial;
    margin-left: initial;
    background-color: #eee;
    border: 1px solid rgb(206, 212, 218);
}

table.dataTable tr.selected td.select-checkbox:after, table.dataTable tr.selected th.select-checkbox:after {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: initial;
    margin-left: initial;
    text-shadow: none;
}

table.dataTable tbody tr.selected td.select-checkbox:after, table.dataTable tbody tr.selected th.select-checkbox:after,
table.dataTable tbody tr.selected.print td.select-checkbox.print:after, table.dataTable tbody tr.selected.print th.select-checkbox.print:after,
table.dataTable tbody tr.selected.offer td.select-checkbox.offer:after, table.dataTable tbody tr.selected.offer th.select-checkbox.offer:after{
    background-color: #2196F3;
}

table.dataTable tr td.select-checkbox.print:after, table.dataTable tr th.select-checkbox.print:after,
table.dataTable tr td.select-checkbox.offer:after, table.dataTable tr th.select-checkbox.offer:after{
    background-color: #eee;
    display: none !important;
}
table.dataTable tr.selected.print td.select-checkbox.print:after, table.dataTable tr.selected.print th.select-checkbox.print:after,
table.dataTable tr.selected.offer td.select-checkbox.offer:after, table.dataTable tr.selected.offer th.select-checkbox.offer:after {
    display: block !important;
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: initial;
    margin-left: initial;
    text-shadow: none;
}

.custom-select-sm {
    font-size: 100%;
    padding-top: .2rem;
}

.button-plus{
    width: 100%;
}

.update-entity,
.view-entity{
    margin-right: 10px;
}

.page-link:focus {
    box-shadow: none;
}

#filters .form-row {
    align-items: center;
}

ul.validation-error{
    width: 100%;
    background: var(--validation-bg);
    color: var(--validation-color);
}


div[data-acc-content] {
    display: none;
}


.autocomplete-suggestions{
    background: var(--main-white);
    overflow-y: scroll;
    border: 1px solid black;
}

.autocomplete-suggestions .autocomplete-suggestion{
    padding: 10px 10px;
}

.select-wrapper{
    background: var(--white) url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg…2M4.33%208.5L0%201L8.66%201z%22%20fill%3D%22%2300AEA9%22%2F%3E%3C%2Fsvg%3E) right 13px center no-repeat;
}

.select-wrapper select {
    border: 1px solid var(--main-color);
    border-radius: 2px;
    padding: 8px 20px 8px 20px;
    font-size: 18px;
    line-height: 18px;
    width: 100%;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: ellipsis;
}

.datepicker.dropdown-menu{
    z-index: 99999 !important;
}

.modal {
    background: rgba(0,0,0,0.7);
}

.modal-dialog.modal-xl,
.DTED .modal-dialog{
    max-width: 90%;
    margin: 1rem auto;
}

.modal-dialog.modal-xl .modal-content,
.DTED .modal-dialog .modal-content{
    max-height: 93vh;
    overflow-y: scroll;
}

.DTE .DTE_Field .col-form-label,
.DTE .DTE_Field .col-lg-8,
.DTE .DTE_Field .DTE_Processing_Indicator{
    flex: 100%;
    max-width: 100%;
}

.acc-step-number{
    margin-right: 0.5rem!important;
    min-width: 26px;
}

.btn.focus, 
.btn:focus {
    box-shadow: none!important;
}

.fa {
    min-width: 15px;
}

.widget_select{
    display: flex;
    align-items: center;
}

.widget_select .mr5{
    margin-right: 5px;
}

.mb5{
    margin-bottom: 5px;
}

.modal-content #client-list tbody tr{
    cursor: pointer;
}


.container-checkbox {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 0;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.container-checkbox-form{
    margin-bottom: .5rem;
}

.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    display: block;
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border: 1px solid rgb(206, 212, 218);
    margin-right: 10px;
}

.checkmark.checkmark-dt{
    margin: 3px !important;
}

.container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.container-checkbox input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.container-checkbox .checkmark:after {
    left: 7px;
    top: 0;
    width: 7px;
    height: 13px;
    border: solid white;
    border-width: 0 3px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

input.error,
textarea.init_summernote.error + .note-editor .note-editable.card-block{
    border: 1px solid var(--validation-color);
    background-color: var(--validation-color_bg);
}

.bootstrap-tagsinput{
    position: relative;
}

.bootstrap-tagsinput .twitter-typeahead{
    position: initial !important;
}

.bootstrap-tagsinput .twitter-typeahead .tt-hint{
    display: none !important;
}

.bootstrap-tagsinput .twitter-typeahead .tt-menu{
    width: calc(100% + 4px);
    left: -2px !important;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}

.bootstrap-tagsinput .twitter-typeahead .tt-menu .tt-dataset{
    border: 1px solid var(--main-color-light);
    border-radius: 4px;
}

.bootstrap-tagsinput .twitter-typeahead .tt-menu .tt-dataset .tt-selectable{
    border-bottom: 1px solid var(--main-color-light);
}

.product-prices li.product-price-past{
    color: var(--validation-color);
    text-decoration: line-through;
}

.product-price-current{
    color: var(--green);
    font-weight: var(--font-weight-semibold);
}

.product-prices li.product-price-future{
    color: var(--main-color);
}

.btn-square{
    width: 50px;
    height: 50px;
}

.modal-footer .DTE_Form_Buttons >:not(:last-child) {
    margin-right: 0.25rem;
}

table.dataTable td.editable {
    cursor: pointer;
}

#offer-list .status_2,
select[name="offer_status"].status_2{
    color: #dc3545;
}

#offer-list .status_3,
select[name="offer_status"].status_3{
    color: var(--green);
}


.fa.fa-offer-green{
    color: var(--green);
    font-size: 24px;
}

.fa.fa-offer-red{
    color: #dc3545;
    font-size: 24px;
}


table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child {
    padding-left: 45px;
}

table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>td:first-child:before, table.dataTable.dtr-inline.collapsed>tbody>tr[role="row"]>th:first-child:before {
    height: 25px;
    width: 25px;
    line-height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

table.dataTable>tbody>tr.child ul.dtr-details{
    width: 100%;
}

table.dataTable>tbody>tr.child ul.dtr-details button{
    height: 40px;
    width: 40px;
}

table.dataTable>tbody>tr.child ul.dtr-details span.dtr-data div{
    display: inline-block !important;
}

div.dataTables_wrapper div.dataTables_processing{
    display: none !important;
}

div.dataTables_wrapper div.dataTables_info {
    font-size: 0.9rem;
}

.fc-toolbar.fc-header-toolbar{
    margin-bottom: 1rem;
}

.fc-slats tr{
    font-size: 14px;
    height: 20px;
}
.fc-slats tr.fc-minor,
.fc-slats tr.fc-minor td{
    height: 20px;
}

.fc-event{
    font-size: 1em;
}

.fc-content{
    color: #000;
}

.box-white {
    display: flex;
    align-items: center;
    min-height: 90px;
    background: var(--main-white);
    width: 100%;
    border-radius: 2px;
    margin-bottom: 15px;
}

.info-box-icon {
    border-top-left-radius: 2px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 2px;
    display: block;
    height: 90px;
    width: 90px;
    text-align: center;
    font-size: 45px;
    line-height: 90px;
    color: var(--main-white);
    background: var(--main-color);
}

.box-white h4 {
    color: var(--main-color);
    padding: 5px 10px;
}

.cont-login {
    padding-top: 10%;
}

.fc-button-primary {
    color: #fff;
    background-color: var(--main-color);
    border-color: var(--button-border-color);
}

.fc-button-primary:hover,
.fc-button-primary:not(:disabled).fc-button-active, 
.fc-button-primary:not(:disabled):active {
    color: var(--main-color);
    background-color: var(--button-hover-color);
    border-color: var(--button-border-color);
}

.fc-button-primary:focus,
.fc-button-primary:not(:disabled).fc-button-active:focus, 
.fc-button-primary:not(:disabled):active:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.fc-today-button:disabled{
    display: none;
}

.fc-event, 
.fc-event-dot {
    background-color: var(--main-color-light);
}

.fc-event {
    border: 1px solid var(--button-border-color);
}

.fc-unthemed td.fc-today {
    background: var(--background);
}

.datepicker .table-sm td, 
.datepicker .table-sm th {
    padding: .3rem;
}

.init-datepicker label,
.init-datetimepicker label,
.init-datetimepicker-meeting label{
    width: 100%;
}

.list-group-item:hover {
    z-index: unset;
}

.bootstrap-datetimepicker-widget.dropdown-menu{
    top: 80px!important;
}

.page-link {
    color: var(--main-color);
    border: 1px solid var(--button-border-color);
}

.page-link:hover {
    color: var(--main-color);
}

.page-item.active .page-link {
    background-color: var(--main-color);
    border-color: var(--button-border-color);
}






#offer-products-list .status_1,
select[name="offer_status"].status_1{
    color: var(--black);
}

#offer-products-list .status_2,
select[name="offer_status"].status_2{
    color: var(--red);
}

#offer-products-list .status_todo,
#offer-products-list .status_3,
select[name="offer_status"].status_3{
    color: var(--orange);
}

#offer-products-list .status_warning{
    color: var(--red);
}

#offerProductForm select[name="status"].status_1{
    color: var(--black);
}

#offerProductForm select[name="status"].status_2{
    color: var(--red);
    background: var(--red-bg);
}

#offerProductForm select[name="status"].status_3{
    color: var(--orange);
    background: var(--orange-bg);
}

#preorder-list_length span#selected-number,
#offer-products-list_length span#selected-number,
#relation_template_client_suggestion-list_length span#selected-number{
    display: block;
    font-weight: 500;
}

#preorder-products-list tr.status_warning,
#order-list tr.status_warning,
#order-products-list tr.status_warning,
#preorder-list tr.status_warning,
#inbound-list tr.status_warning {
    color: var(--orange);
}

.status-warning{
    color: var(--orange);
}
.status-warning .checkmark{
    background-color: var(--orange-bg);
    border: 1px solid var(--orange);
}

.status-warning.container-checkbox:hover input ~ .checkmark{
    background-color: var(--orange);
}

.border-generic{
    border: 1px solid var(--main-color-light) !important;
}

.relation-suspended{
    color: var(--red);
}

.relation-todo,
.standby-preorder{
    color: var(--orange);
}

.from_client-preorder{
    color: var(--green);
}

#preorder-products-list.has-precursor tr.status_precursor ,
.urgent-preorder,
.urgent-product-solicit{
    color: var(--red);
}

#preorder-products-list.has-machine tr.status_machine{
    color: var(--blue);
}

.send-shipping-status-recap{
    margin-left: 10px;
}

#shippingStatusRecapModal .modal-dialog,
#shippingStatusRecapModal .modal-dialog .modal-content{
    height: 90vh;
}

.historical_client_sales{
    width: 100%;
}

.historical_client_sales thead, .historical_client_sales thead th, .historical_client_sales tbody tr, .historical_client_sales tbody td{
    border: 1px solid black !important;
}

.historical_client_sales th:nth-child(1){
    width: 20%;
}

.historical_client_sales th:nth-child(2){
    width: 20%;
}

.historical_client_sales th:nth-child(3){
    width: 20%;
}

.historical_client_sales th:nth-child(4){
    width: 20%;
}

.historical_client_sales th:nth-child(5){
    width: 20%;
}

.historical_client_sales tr.even {
    background-color: var(--datatable-row-even);
}

.historical_client_sales tr.odd {
    background-color: var(--datatable-row-odd);
}

.historical_client_sales tr.total {
    background-color: var(--main-color-light);
}

.historical_client_sales th, .historical_client_sales td{
    padding: 5px 10px;
}

#external-events .fc-event{
    padding: 5px 10px;
    color: #000;
}

#external-events .fc-event.priority-1{
    background-color: #ffd7b5;
}

#external-events .fc-event.priority-2{
    background-color: #c65459;
}

#external-events .fc-event.priority-3{
    background-color: #d37a7e;
}

#external-events .fc-event.priority-4{
    background-color: #FFE4B5;
}

#external-events .fc-event.priority-5{
    background-color: #FFFACD;
}


#external-events .buttons{
    margin-bottom: 5px;
}

#external-events .buttons .delete-proposal{
    float: right;
}

#external-events span{
    width: 100%;
    display: block;
}

/*
#external-events .delete-proposal{
    position: absolute;
    min-width: 40px;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 10px;
    padding: 0;
}

#external-events .move-proposal{
    position: absolute;
    min-width: 40px;
    width: 40px;
    height: 40px;
    top: 10px;
    right: 60px;
    padding: 0;
}
*/

@media (max-width: 1280px) {
  
    #sidebar {
        margin-left: -280px;
    }
    #sidebar.active {
        margin-left: 0;
    }
    #content {
        width: 100%;
    }
    #content.sidebar-toggle {
        width: calc(100% - 250px);
    }
    
}

@media (max-width: 768px) {
    
    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        white-space: normal;
    }

    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        margin-top: 1rem;
    }

    div.dataTables_wrapper li.paginate_button.previous,
    div.dataTables_wrapper li.paginate_button.next {
        display: inline-block;
        width: 50%;
    }
 
    div.dataTables_wrapper li.paginate_button {
        display: none;
    }

}

@media (min-width: 1200px) and (max-width: 1600px) {
    .cont-buttons .col-xl-2 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .cont-buttons .offset-xl-10 {
        margin-left: 75%;
    }

    .cont-buttons .offset-xl-8 {
        margin-left: 50%;
    }

    .cont-buttons .offset-xl-6 {
        margin-left: 25%;
    }

    .cont-buttons .offset-xl-4,
    .cont-buttons .offset-xl-2 {
        margin-left: 0;
    }
}


.cont-buttons div.hide-in-normal-bar{
    display: none;
}

.cont-buttons.fixed-cont-buttons div.hide-in-fixed-bar{
    display: none;
}

.cont-buttons.fixed-cont-buttons div.hide-in-normal-bar{
    display: block;
}

.cont-buttons.fixed-cont-buttons{
    background-color: var(--main-color-darker);
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 15px 0px 15px;
}

.cont-buttons-fixed-placeholder{
    height: 50px;
}

.list-group-item h5.align-items-center{
    cursor: pointer;
}



.bg-wineyard,
.bg-harvest,
.bg-ripeness,
.bg-sparkling,
.bg-bottling,
.bg-oil,
.bg-all,
.bg-detergents{
    padding: 10px;
}

.bg-wineyard{
    background-color: #fafafa;
}

.bg-harvest{
    background-color: #90EE90;
}

.bg-ripeness{
    background-color: #F08080;
}

.bg-sparkling{
    background-color: #FFA500;
}

.bg-bottling{
    background-color: #87CEFA;
}

.bg-oil{
    background-color: #9a9a00;
}

.bg-all{
    background-color: #fafafa;
}

.bg-detergents{
    background-color: #dda0dd;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

.spinner-border {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    text-indent: -999em;
    vertical-align: text-bottom;
    border: .25em solid;
    border-color: currentColor transparent currentColor currentColor;
    border-radius: 50%;
    animation-name: spinner-border;
    animation-duration: .75s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.spinner-border-reverse {
    border-color: transparent currentColor transparent transparent;
}

.spinner-border-reverse::after {
    position: absolute;
    top: -.25em;
    right: -.25em;
    bottom: -.25em;
    left: -.25em;
    display: inline-block;
    content: "";
    border: .25em solid rgba(0, 0, 0, .1);
    border-radius: 50%;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: .2em;
}
  
.spinner-border-sm.spinner-border-reverse::after {
    border-width: .2em;
}
  
@keyframes spinner-grow {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}
  
.spinner-grow {
    position: relative;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    overflow: hidden;
    text-indent: -999em;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    animation-name: spinner-grow;
    animation-duration: .75s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}
  
.spinner-grow-sm {
    width: 1rem;
    height: 1rem;
}









@media (max-width: 1400px) {

    .fc-toolbar h2{
        font-size: 1.25em;
    }

    .fc-button{
        padding: 5px;
    }

    .fc-left,
    .fc-center,
    .fc-right{
        text-align: center;
    }

    .fc-left{
        width: 20%;
    }

    .fc-center{
        width: 40%;
    }

    .fc-right{
        width: 40%;
        display: flex;
        justify-content: center;
    }   
}


@media (max-width: 767px) {

    #sidebar {
        margin-left: -80%;
        min-width: 80%;
        max-width: 80%;
    }

    #content{
        position: absolute;
        left: 0%;
        transition: all 0.3s;
    }

    #content.sidebar-toggle {
        position: absolute;
        width: 100% !important;
        overflow-x: hidden;
        left: 80%;
    }

    .fc-toolbar{
        flex-direction: column;
    }

    .fc-left,
    .fc-center,
    .fc-right{
        width: 100%;
    }
    
    .fc-center{
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .modal-footer{
        padding-bottom: 50px;
    }

    .cont-buttons{
        padding: 10px;
    }

}


.bg-sidebar-grey{
    background-color: #ebebeb;
}

.bg-sidebar-blue{
    background-color: #cfebf7;
}

.bg-sidebar-green{
    background-color: #d2f8d2;
}

.bg-sidebar-orange{
    background-color: #ffdb99;
}

[data-toggle="collapse"]:after {
    font-family: "Font Awesome 5 Free";
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    content: "\f078";
    font-weight: 900;
    transform: rotate(180deg) ;
    transition: all linear 0.25s;
    float: right;
    margin-top: 5px;
}   
[data-toggle="collapse"].collapsed:after {
    transform: rotate(0deg);
}

.frequency-selector{
    width: 100%;
}

.frequency-selector select{
    width: 70%;
    margin-right: 10%;
    display: inline-block;
}

.frequency-selector span{
    width: 10%;
}

td span.warning,
tr.warning{
    color: var(--orange);
}

td span.alarm,
tr.alarm{
    color: var(--red);
}

strong.warning,
li.warning{
    color: var(--red);
    font-weight: 900;
}

.copy-btn{
    cursor: pointer;
}

@media (max-width: 767px) {
    
    .full-btn-mobile{
        flex-direction: column;
    }
    .full-btn-mobile button{
        width: 100% !important;
        margin: 5px 0 !important;
    }
}

#clients.disabled{
    background: #ccc !important;
    opacity: 0.3;
    pointer-events: none;
    cursor: default;
}

#clients.disabled .bootstrap-tagsinput{
    background: #ccc !important;
}

.create_phonecall {
    border: none;
    background-color: #32CD32;
}

.create_phonecall:hover{
    background-color: #228B22;
}

.badge-big{
    font-size: 14px;
}

table.dataTable tbody tr.selected, table.dataTable tbody th.selected, table.dataTable tbody td.selected {
    color: #000;
}

table.dataTable tbody tr.selected a, table.dataTable tbody th.selected a, table.dataTable tbody td.selected a {
    color: #000;
}