.topmenu-left{
    float:left !important;
    padding: 10px;
}

.nomargin{
    margin: 0;
}

select:not([multiple]){
    -webkit-appearance:none;
    -moz-appearance:none;
    background-position:right 50%;
    background-repeat:no-repeat;
    background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
    padding: .5em;
    padding-right:1.5em;
}
div.dataTables_wrapper div.dataTables_filter{
    text-align: left;
}
table.borderless td,table.borderless th{
    border: none !important;
}
.btn-square{
    width: 220px !important;
    height: 80px !important;
    white-space: normal;
    margin: 5px;
    border-radius:5px !important;
}
.codearea{
    font-family: "Courier New", Courier, "Lucida Sans Typewriter", "Lucida Typewriter", monospace;
    font-size: 14px;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    line-height: 20px;
}
.modal-dialog-full {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.modal-content-full {
    height: 100%;
    min-height: 100%;
    height: auto;
    border-radius: 0;
}
select.input-sm {
    line-height: 16px;
}
.modal.modal-wide .modal-dialog {
    width: 80%;
}
.modal-wide .modal-body {
    overflow-y: auto;
}
.modal{
    z-index: 1071;
}
.btn-app{
    min-width: 60px;
}
.ui-autocomplete {
    z-index: 99999;
}
.statusdiv {
    margin-left: 10px;
    border: 1px solid #000;
    font-size: 20px;
    width: 95%;
    padding: 15px;
    text-align: center;
}

/* Style The Dropdown Button */
.statusdropbtn {
    width: 200px;
    padding: 18px;
    font-size: 16px;
    border: none;
}

/* The container <div> - needed to position the dropdown content */
.statusdropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.statusdropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.statusdropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.statusdropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.statusdropdown:hover .statusdropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.statusdropdown:hover .statusdropbtn {
    background-color: #3e8e41;
}

/* app button with danger colors */
.btn-app-danger {
    background-color: #dd4b39;
    color: #FFFFFF;
    border: 1px solid #d73925;
}
.btn-app-danger:hover{
    background-color: #d73925;
    color: #FFFFFF;
}
.overlayed{
    background: #e9e9e9;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
}
.invoice{
    margin: 0;
}
.filemanager-item{
    overflow: hidden;
    float: left;
    color: #0B80A6;
    border: 1px solid #999999;
    border-radius: 4px;
    margin: 5px;
    padding: 20px 10px;
    width: 170px;
    height: 150px;
    text-align: center;
}
.filemanager-item .icon{
    display: table;
    margin: 0 auto;
    padding-bottom:15px;
}
.filemanager-dir{
    background-color: lightgrey;
}
#chooserinfodiv{
    position: fixed;
    top: 70px;
    width:20%;
    z-index: 1;
}
@media (max-width: 991px) {
    #chooserinfodiv {
        position: static;
        width: auto;
        z-index: auto;
    }
}
label small{
    color: darkgray;
}

/* Flex helper utilities (tailwind-like) */
.flex{display:flex!important;}
.inline-flex{display:inline-flex!important;}
.flex-row{flex-direction:row!important;}
.flex-col{flex-direction:column!important;}
.flex-wrap{flex-wrap:wrap!important;}
.flex-nowrap{flex-wrap:nowrap!important;}
.items-start{align-items:flex-start!important;}
.items-center{align-items:center!important;}
.items-end{align-items:flex-end!important;}
.items-stretch{align-items:stretch!important;}
.justify-start{justify-content:flex-start!important;}
.justify-center{justify-content:center!important;}
.justify-end{justify-content:flex-end!important;}
.justify-between{justify-content:space-between!important;}
.justify-around{justify-content:space-around!important;}
.justify-evenly{justify-content:space-evenly!important;}
.gap-0{gap:0!important;}
.gap-1{gap:0.25rem!important;}
.gap-2{gap:0.5rem!important;}
.gap-3{gap:0.75rem!important;}
.gap-4{gap:1rem!important;}
.gap-6{gap:1.5rem!important;}
.gap-8{gap:2rem!important;}
.flex-1{flex:1 1 0%!important;}
.flex-auto{flex:1 1 auto!important;}
.flex-initial{flex:0 1 auto!important;}
.flex-none{flex:none!important;}
.grow{flex-grow:1!important;}
.grow-0{flex-grow:0!important;}
.shrink{flex-shrink:1!important;}
.shrink-0{flex-shrink:0!important;}
.self-start{align-self:flex-start!important;}
.self-center{align-self:center!important;}
.self-end{align-self:flex-end!important;}
.self-stretch{align-self:stretch!important;}

/* Responsive flex helpers */
@media (min-width: 576px){
    .sm\:flex{display:flex!important;}
    .sm\:inline-flex{display:inline-flex!important;}
    .sm\:flex-row{flex-direction:row!important;}
    .sm\:flex-col{flex-direction:column!important;}
    .sm\:flex-wrap{flex-wrap:wrap!important;}
    .sm\:flex-nowrap{flex-wrap:nowrap!important;}
    .sm\:items-start{align-items:flex-start!important;}
    .sm\:items-center{align-items:center!important;}
    .sm\:items-end{align-items:flex-end!important;}
    .sm\:items-stretch{align-items:stretch!important;}
    .sm\:justify-start{justify-content:flex-start!important;}
    .sm\:justify-center{justify-content:center!important;}
    .sm\:justify-end{justify-content:flex-end!important;}
    .sm\:justify-between{justify-content:space-between!important;}
    .sm\:justify-around{justify-content:space-around!important;}
    .sm\:justify-evenly{justify-content:space-evenly!important;}
    .sm\:gap-0{gap:0!important;}
    .sm\:gap-1{gap:0.25rem!important;}
    .sm\:gap-2{gap:0.5rem!important;}
    .sm\:gap-3{gap:0.75rem!important;}
    .sm\:gap-4{gap:1rem!important;}
    .sm\:gap-6{gap:1.5rem!important;}
    .sm\:gap-8{gap:2rem!important;}
    .sm\:flex-1{flex:1 1 0%!important;}
    .sm\:flex-auto{flex:1 1 auto!important;}
    .sm\:flex-initial{flex:0 1 auto!important;}
    .sm\:flex-none{flex:none!important;}
    .sm\:grow{flex-grow:1!important;}
    .sm\:grow-0{flex-grow:0!important;}
    .sm\:shrink{flex-shrink:1!important;}
    .sm\:shrink-0{flex-shrink:0!important;}
    .sm\:self-start{align-self:flex-start!important;}
    .sm\:self-center{align-self:center!important;}
    .sm\:self-end{align-self:flex-end!important;}
    .sm\:self-stretch{align-self:stretch!important;}
}

@media (min-width: 768px){
    .md\:flex{display:flex!important;}
    .md\:inline-flex{display:inline-flex!important;}
    .md\:flex-row{flex-direction:row!important;}
    .md\:flex-col{flex-direction:column!important;}
    .md\:flex-wrap{flex-wrap:wrap!important;}
    .md\:flex-nowrap{flex-wrap:nowrap!important;}
    .md\:items-start{align-items:flex-start!important;}
    .md\:items-center{align-items:center!important;}
    .md\:items-end{align-items:flex-end!important;}
    .md\:items-stretch{align-items:stretch!important;}
    .md\:justify-start{justify-content:flex-start!important;}
    .md\:justify-center{justify-content:center!important;}
    .md\:justify-end{justify-content:flex-end!important;}
    .md\:justify-between{justify-content:space-between!important;}
    .md\:justify-around{justify-content:space-around!important;}
    .md\:justify-evenly{justify-content:space-evenly!important;}
    .md\:gap-0{gap:0!important;}
    .md\:gap-1{gap:0.25rem!important;}
    .md\:gap-2{gap:0.5rem!important;}
    .md\:gap-3{gap:0.75rem!important;}
    .md\:gap-4{gap:1rem!important;}
    .md\:gap-6{gap:1.5rem!important;}
    .md\:gap-8{gap:2rem!important;}
    .md\:flex-1{flex:1 1 0%!important;}
    .md\:flex-auto{flex:1 1 auto!important;}
    .md\:flex-initial{flex:0 1 auto!important;}
    .md\:flex-none{flex:none!important;}
    .md\:grow{flex-grow:1!important;}
    .md\:grow-0{flex-grow:0!important;}
    .md\:shrink{flex-shrink:1!important;}
    .md\:shrink-0{flex-shrink:0!important;}
    .md\:self-start{align-self:flex-start!important;}
    .md\:self-center{align-self:center!important;}
    .md\:self-end{align-self:flex-end!important;}
    .md\:self-stretch{align-self:stretch!important;}
}

@media (min-width: 992px){
    .lg\:flex{display:flex!important;}
    .lg\:inline-flex{display:inline-flex!important;}
    .lg\:flex-row{flex-direction:row!important;}
    .lg\:flex-col{flex-direction:column!important;}
    .lg\:flex-wrap{flex-wrap:wrap!important;}
    .lg\:flex-nowrap{flex-wrap:nowrap!important;}
    .lg\:items-start{align-items:flex-start!important;}
    .lg\:items-center{align-items:center!important;}
    .lg\:items-end{align-items:flex-end!important;}
    .lg\:items-stretch{align-items:stretch!important;}
    .lg\:justify-start{justify-content:flex-start!important;}
    .lg\:justify-center{justify-content:center!important;}
    .lg\:justify-end{justify-content:flex-end!important;}
    .lg\:justify-between{justify-content:space-between!important;}
    .lg\:justify-around{justify-content:space-around!important;}
    .lg\:justify-evenly{justify-content:space-evenly!important;}
    .lg\:gap-0{gap:0!important;}
    .lg\:gap-1{gap:0.25rem!important;}
    .lg\:gap-2{gap:0.5rem!important;}
    .lg\:gap-3{gap:0.75rem!important;}
    .lg\:gap-4{gap:1rem!important;}
    .lg\:gap-6{gap:1.5rem!important;}
    .lg\:gap-8{gap:2rem!important;}
    .lg\:flex-1{flex:1 1 0%!important;}
    .lg\:flex-auto{flex:1 1 auto!important;}
    .lg\:flex-initial{flex:0 1 auto!important;}
    .lg\:flex-none{flex:none!important;}
    .lg\:grow{flex-grow:1!important;}
    .lg\:grow-0{flex-grow:0!important;}
    .lg\:shrink{flex-shrink:1!important;}
    .lg\:shrink-0{flex-shrink:0!important;}
    .lg\:self-start{align-self:flex-start!important;}
    .lg\:self-center{align-self:center!important;}
    .lg\:self-end{align-self:flex-end!important;}
    .lg\:self-stretch{align-self:stretch!important;}
}

@media (min-width: 1200px){
    .xl\:flex{display:flex!important;}
    .xl\:inline-flex{display:inline-flex!important;}
    .xl\:flex-row{flex-direction:row!important;}
    .xl\:flex-col{flex-direction:column!important;}
    .xl\:flex-wrap{flex-wrap:wrap!important;}
    .xl\:flex-nowrap{flex-wrap:nowrap!important;}
    .xl\:items-start{align-items:flex-start!important;}
    .xl\:items-center{align-items:center!important;}
    .xl\:items-end{align-items:flex-end!important;}
    .xl\:items-stretch{align-items:stretch!important;}
    .xl\:justify-start{justify-content:flex-start!important;}
    .xl\:justify-center{justify-content:center!important;}
    .xl\:justify-end{justify-content:flex-end!important;}
    .xl\:justify-between{justify-content:space-between!important;}
    .xl\:justify-around{justify-content:space-around!important;}
    .xl\:justify-evenly{justify-content:space-evenly!important;}
    .xl\:gap-0{gap:0!important;}
    .xl\:gap-1{gap:0.25rem!important;}
    .xl\:gap-2{gap:0.5rem!important;}
    .xl\:gap-3{gap:0.75rem!important;}
    .xl\:gap-4{gap:1rem!important;}
    .xl\:gap-6{gap:1.5rem!important;}
    .xl\:gap-8{gap:2rem!important;}
    .xl\:flex-1{flex:1 1 0%!important;}
    .xl\:flex-auto{flex:1 1 auto!important;}
    .xl\:flex-initial{flex:0 1 auto!important;}
    .xl\:flex-none{flex:none!important;}
    .xl\:grow{flex-grow:1!important;}
    .xl\:grow-0{flex-grow:0!important;}
    .xl\:shrink{flex-shrink:1!important;}
    .xl\:shrink-0{flex-shrink:0!important;}
    .xl\:self-start{align-self:flex-start!important;}
    .xl\:self-center{align-self:center!important;}
    .xl\:self-end{align-self:flex-end!important;}
    .xl\:self-stretch{align-self:stretch!important;}
}

.md-stepper-horizontal {
    display:table;
    width:100%;
    margin:0 auto;
    background-color:#FFFFFF;
    box-shadow: 0 3px 8px -6px rgba(0,0,0,.50);
}
.md-stepper-horizontal .md-step {
    display:table-cell;
    position:relative;
    padding:24px;
}
.md-stepper-horizontal .md-step:hover,
.md-stepper-horizontal .md-step:active {
    background-color:rgba(0,0,0,0.04);
}
.md-stepper-horizontal .md-step:first-child:active {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.md-stepper-horizontal .md-step:last-child:active {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.md-stepper-horizontal .md-step:hover .md-step-circle {
    background-color:#757575;
}
.md-stepper-horizontal .md-step:first-child .md-step-bar-left,
.md-stepper-horizontal .md-step:last-child .md-step-bar-right {
    display:none;
}
.md-stepper-horizontal .md-step .md-step-circle {
    width:30px;
    height:30px;
    margin:0 auto;
    background-color:#999999;
    border-radius: 50%;
    text-align: center;
    line-height:30px;
    font-size: 16px;
    font-weight: 600;
    color:#FFFFFF;
}
.md-stepper-horizontal.green .md-step.active .md-step-circle {
    background-color:#00AE4D;
}
.md-stepper-horizontal.orange .md-step.active .md-step-circle {
    background-color:#F96302;
}
.md-stepper-horizontal .md-step.active .md-step-circle {
    background-color: rgb(33,150,243);
}
.md-stepper-horizontal .md-step.done .md-step-circle:before {
    font-family:'FontAwesome';
    font-weight:100;
    content: "\f00c";
}
.md-stepper-horizontal .md-step.done .md-step-circle *,
.md-stepper-horizontal .md-step.editable .md-step-circle * {
    display:none;
}
.md-stepper-horizontal .md-step.editable .md-step-circle {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}
.md-stepper-horizontal .md-step.editable .md-step-circle:before {
    font-family:'FontAwesome';
    font-weight:100;
    content: "\f040";
}
.md-stepper-horizontal .md-step .md-step-title {
    margin-top:16px;
    font-size:16px;
    font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-title,
.md-stepper-horizontal .md-step .md-step-optional {
    text-align: center;
    color:rgba(0,0,0,.26);
}
.md-stepper-horizontal .md-step.active .md-step-title {
    font-weight: 600;
    color:rgba(0,0,0,.87);
}
.md-stepper-horizontal .md-step.active.done .md-step-title,
.md-stepper-horizontal .md-step.active.editable .md-step-title {
    font-weight:600;
}
.md-stepper-horizontal .md-step .md-step-optional {
    font-size:12px;
}
.md-stepper-horizontal .md-step.active .md-step-optional {
    color:rgba(0,0,0,.54);
}
.md-stepper-horizontal .md-step .md-step-bar-left,
.md-stepper-horizontal .md-step .md-step-bar-right {
    position:absolute;
    top:36px;
    height:1px;
    border-top:1px solid #DDDDDD;
}
.md-stepper-horizontal .md-step .md-step-bar-right {
    right:0;
    left:50%;
    margin-left:20px;
}
.md-stepper-horizontal .md-step .md-step-bar-left {
    left:0;
    right:50%;
    margin-right:20px;
}
.ui-datepicker-current-day .ui-state-active {
    background: #e5007e;
    color: #ffffff;
    font-weight: bold;
}
.ui-datepicker{
    width: 100%;
}
.btn-app-smaller{
    min-width: 60px;
    height: 50px;
    padding: 6px 6px;
    font-size: 10px;
}
.dropdown-menu>.disabled>a, .dropdown-menu>.disabled>a:hover, .dropdown-menu>.disabled>a:focus {
    color: #d2d2d2;
}

.table>tbody>tr.invoiced>td {
    color: lightgrey
}

.rowoverexpirationdate{
    color: red;
}

.rowcredited{
    color: lightgrey;
    background-color: white;
}

.rownormal{
    background-color: white;
}

.pointerrow{
    cursor: pointer;
}

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.searchbox{
    float: right;
    margin-right: 6px;
    margin-top: -25px;
    position: relative;
    z-index: 2;
}

.readonly{
    background-color: #EEEEEE;
    pointer-events: none;
}
.orderlistonhold td{
    color: lightgrey;
}

.rotated{
    height: 100px;
    vertical-align: middle;
    text-align: center;
    display: table-cell;
    -webkit-transform: rotate(65deg);
    -moz-transform: rotate(65deg);
    -o-transform: rotate(65deg);
    writing-mode: lr-tb;
}

.signature-wrapper {
    position: relative;
    width: 400px;
    height: 200px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.signature-pad {
    position: absolute;
    left: 0;
    top: 0;
    width:400px;
    height:200px;
    border: 1px solid #D1D6DE;
    background-color: white;
}
.commentuser {
    display: block;
    font-weight: bold;
}
.commentdate {
    color: grey;
    font-size: small;
}
.task_executed{
    color: grey;
    text-decoration: line-through;
}
.plantask{
    border: 1px solid #3A87AD;
    background-color: #F3F3F3;
    color: #3A87AD;
    font-size: small;
    padding: 10px;
    overflow: hidden;
    margin: 5px;
}
.plantaskCustomer{
    float: left;
}
.plantaskOrder{
    width: 100%;
    text-align: right;
}
.plantaskDescription{
    font-size: larger;
    font-weight: bold;
}
.plantaskDuration{
    font-weight: bold;
    color: red;
}

.item:hover{
    background-color: #E8E8E8;
}
.strike-through{
    text-decoration: line-through;
}
.fc-license-message{
    display: none;
}
.height400{
    height: 400px;
}
#timer{
    font-size: 24px;
    float: left;
}
.modaloverlay{position: absolute;left: 0; top: 0; right: 0; bottom: 0;z-index: 2;background-color: rgba(255,255,255,0.8);}
.modaloverlay-content {
    position: absolute;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #555;
}

#error{
    max-width: 700px;
}

#error ul{
    list-style-type: none;
    padding: 10px;
    border: 2px solid #ff4040;
}

#error ul li{
    color: #ff4040;
    margin: 0;
}

.box-header .button{
    float: right;
}

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width:1200px;
    }
}
.alertify-logs {z-index: 9999;}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    color: #000;
}
.mt-5{margin-top: 5px;}
.filter-frm-wrap{display: flex; gap: 10px;padding: 10px;align-items: center;}
.filter-frm-wrap .mt-filter-item.col-6 {width: 50%;}
.pp-user-tc > li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 150px;
}
.my-tasks-list .product-img {
    width: 50px;
    min-height: 50px;
    background-color: #eee;
    background-size: cover;
}
.my-tasks-list > .item {
    border-left: 5px solid transparent;
}
.my-tasks-list >.task_unread{
    border-left-color: #52C0EF;
}
div.DTS .table-fixed tbody th, div.DTS .table-fixed tbody td {word-wrap: break-word;white-space: break-spaces;}
.label > a {color: #fff;}
.label > a:hover {text-decoration: underline;}

.planning-page .planning-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.planning-page .box-footer .planning-actions, .planning-page .box-body > :last-child { margin-bottom: 0; }
.planning-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; }
.planning-title { font-size: 20px; margin: 0 0 6px; overflow-wrap: anywhere; }
.planning-subtitle { margin: 0 0 10px; }
.planning-status { display: inline-block; white-space: normal; line-height: 1.5; }
.planning-form-section + .planning-form-section { margin-top: 24px; }
.planning-form-section h3 { font-size: 16px; font-weight: 600; margin: 0 0 12px; }
.planning-form-section h3 small { display: inline-block; margin-left: 4px; }
.planning-form-section .help-block { margin-top: 0; }
.resource-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.resource-option { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 0; font-weight: normal; cursor: pointer; }
.resource-option > div, .resource-option > input { flex-shrink: 0; }
.resource-option small { display: block; }
.planning-summary { margin-bottom: 0; }
.planning-summary dt { margin-bottom: 3px; }
.planning-summary dd { margin-bottom: 15px; overflow-wrap: anywhere; }
.planning-summary dd:last-child { margin-bottom: 0; }
.planning-note { white-space: pre-wrap; overflow-wrap: anywhere; }
.planning-conflicts { margin-bottom: 0; padding-left: 20px; }
.planning-conflicts li + li { margin-top: 6px; }
.planning-page table td { vertical-align: middle; }
.planning-page .form-control { max-width: 100%; }
.planning-page input[type="datetime-local"] { min-width: 0; }
.planning-page .table .planning-note { max-width: 340px; }
@media (max-width: 767px) {
    .planning-title-row { flex-direction: column; gap: 5px; margin-bottom: 12px; }
    .planning-page .planning-actions .btn { flex: 1 1 auto; }
    .planning-page .planning-submit .btn { flex-basis: 100%; }
}
.resource-editor + .resource-editor { border-top: 1px solid #ddd; margin-top: 15px; padding-top: 15px; }
.planning-page details > summary { cursor: pointer; }
.planning-page details[open] > summary { margin-bottom: 12px; }
.planning-page .permissions-list { padding-left: 20px; margin: 10px 0 0; }
.planning-page .permissions-list li { break-inside: avoid; }
.permissions-report td { min-width: 150px; max-width: 300px; overflow-wrap: anywhere; }
.staff-actions { min-width: 150px; }
.staff-actions > form, .staff-actions > button, .staff-actions > details { display: inline-block; margin: 2px; }
.staff-actions details form { display: grid; gap: 6px; margin-top: 8px; }
#staffMembers table { min-width: 650px; }
#staffCalendar { min-height: 400px; }
.planning-page .fc-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.planning-page .fc-toolbar::before, .planning-page .fc-toolbar::after { display: none; }
.planning-page .fc-toolbar .fc-left, .planning-page .fc-toolbar .fc-center, .planning-page .fc-toolbar .fc-right { float: none; }
.planning-page .fc-toolbar .fc-center { order: -1; flex-basis: 100%; text-align: center; }
.planning-page .fc-toolbar h2 { font-size: 20px; float: none; }
.assembly-task + .assembly-task { border-top: 1px solid #ddd; margin-top: 15px; padding-top: 15px; }
.assembly-task > p { margin: 8px 0; }
.permission-matrix th { min-width: 85px; }
.permission-matrix th:first-child, .permission-matrix td:first-child { min-width: 280px; }
.permission-matrix td:not(:first-child) { text-align: center; vertical-align: middle; }

.assembly-task-list { max-height: 650px; overflow-y: auto; }
@media (max-width: 991px) { .assembly-task-list { max-height: 360px; } }
