/*================================================================================
Item Name: Stagb - Sermantic UI Responsive Admin Template
Version: 1.0
Author: telatkaya_
Author URL: http://www.themeforest.net/user/telatkaya_

[Table of contents]
-------------------
1. Body
2. Clearfix
3. Sidebar,Navbar Change Color List
4. Timeline timeline.html
5. Profile Page profile.html
6. Some Settings (Margins,Paddings e.t.c)
7. Timeline Page Css (Horizontal Timeline)
8. Grid Page grid.html
9. Datatable Page Css datatable.html
10.Mobile Page Settings
11.Typography Settings
================================================================================*/

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
}
html,
body {
    min-height: 100%;
    height: 100%;
    background: #f1f4f5;
}
html.ios {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}
html.ios,
html.ios body {
    height: initial !important;
}
.pusher {
    min-height: 100%;
    height: 100%;
    position: relative;
}
.fullheight {
    height: 100%;
    min-height: 810px;
}
/* =============Clearfix============= */

.no-padding {
    padding: 0!important;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}
.clearfix {
    display: block;
}
* html .clearfix {
    height: 1%;
}
/* =============Clearfix============= */

.ui.menu .dropdown.item .menu {
    min-width: 180px;
}
.tabmenu {
    display: flex !important;
    padding: 0 !important;
}
.error404 {
    /*background: url(../img/404.png) no-repeat top center #6a8733 !important;*/
    background-size: cover;
    width: 100%;
    min-height: 100%;
    overflow: hidden;
}
/* =============Sidebar,Navbar Change Color List============= */

.colorlist,
.sidecolor {
    float: left !important;
    text-align: left !important;
    -webkit-padding-start: 0 !important;
    list-style: none;
    max-width: 180px;
}
.colorlist li,
.sidecolor li {
    float: left;
    cursor: pointer;
    margin: 1px;
}
.colorlist li a,
.sidecolor li a {
    width: 10px;
    height: 10px;
    display: block;
}
.colorwrap .row .column .segment {
    min-height: 268px;
}
.colorwrap .row .column .segment p {
    font-size: 1.6em;
}
/* =============Sidebar,Navbar Change Color List============= */
/* =============Timeline============ */

.timeline {
    border-left: 1px solid #307473;
    margin-left: 15px !important;
    position: relative;
    padding-bottom: 10px;
}
.timeline:after {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    position: absolute;
    left: -8.8px;
    border-radius: 50%;
    background: #307473;
    margin-bottom: 10px;
}
.timeline .event {
    margin-left: -18px !important;
}
/* =============Timeline============ */
/* =============Profile Page============ */

.profileheader {
    /*background: url(../img/profileheader.jpg) no-repeat top center;*/
    background-size: cover;
    width: 100%;
    height: 255px;
    float: right !important;
    text-align: right;
    padding: 2em !important;
}
.profilepage .image i {
    position: absolute;
    right: 0;
    top: 0;
    margin-right: 10px;
    margin-top: 5px;
    font-size: 1.1em;
}
/* =============Profile Page============ */
/* =============Some Settings=========== */

.ui.vertical.divider {
    left: 50% !important;
}
.filtr-item img {
    width: 100px;
}
.marginlefting {
    margin-left: 60px !important;
}
.displaynone {
    display: none !important;
}
.displayblock {
    display: block !important;
}
.sidebar .item i {
    font-size: 20px;
    margin-top: -5px !important;
}
.left.sidebar {
    overflow-y: auto !important;
}
.logo {
    height: 57px;
    background-color: #fff!important;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}
.logo img {
    width: 100% !important;
    height: auto;
}
.title.item {
    padding: .92857143em 1.14285714em !important;
}
.dropdown .menu .header {
    padding-top: 3.9px !important;
    padding-bottom: 3.9px !important;
}
.titleIcon {
    float: left !important;
    margin: 0 10px 0 0 !important;
}
.sidebar::-webkit-scrollbar {
    display: none !important;
}
.ui.sidebar.very.thin.icon {
    overflow: visible !important;
}
.navslide {
    margin-left: 190px;
    -webkit-transition-duration: 0.1s;
    transition-duration: 0.1s;
}
.mainWrap {
    background: #f1f4f5;
    min-height: 100%;
    position: relative;
}
.mainWrap .segment {
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.pusher .navslide.navwrap .menu {
    border-radius: 0;
    border: 0;
}
.title .dropdown.icon {
    margin-top: 0px !important;
}
.flotchart {
    width: 100%;
    height: 100px;
}
.flotvisitor {
    width: 100%;
    height: 300px;
}
.statisticIcon {
    position: absolute;
    right: 0;
    top: 0;
    margin-top: 15px !important;
    margin-right: 5px !important;
    font-size: 4em !important;
}
.column p .wi {
    font-size: 1.5em !important;
    color: #ff6a00;
}
.ass {
    border-radius: 50% !important;
}
.flotTip {
    font-size: 12px !important;
    background-color: #1f364f !important;
    color: #fff;
    padding: 5px 8px !important;
    z-index: 900 !important;
    border-radius: 3px !important;
}
.ui.right.sidebar {
    background: #fff;
}
.ui.right.sidebar .tab {
    padding: 10px;
    min-height: 100%
}
.ui.tabular.menu {
    margin-bottom: 0;
}
.ui.button,
.ui.buttons,
.ui.label,
.ui.labels,
.ui.input {
    margin-bottom: 10px;
}
/* =============Some Settings=========== */
/* =============Timeline Page Css (Horizontal Timeline)============= */

.cd-horizontal-timeline {
    opacity: 0;
    margin: 2em auto;
    -webkit-transition: opacity 0.2s;
    -moz-transition: opacity 0.2s;
    transition: opacity 0.2s;
}
.cd-horizontal-timeline ol,
ul {
    list-style: none;
}
.cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    
    content: 'mobile';
    display: none;
}
.cd-horizontal-timeline.loaded {
    /* show the timeline after events position has been set (using JavaScript) */
    
    opacity: 1;
}
.cd-horizontal-timeline .h-timeline {
    position: relative;
    height: 100px;
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
    position: relative;
    height: 100%;
    margin: 0 40px;
    overflow: hidden;
}
.cd-horizontal-timeline .events-wrapper::after,
.cd-horizontal-timeline .events-wrapper::before {
    /* these are used to create a shadow effect at the sides of the timeline */
    
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    height: 100%;
    width: 20px;
}
.cd-horizontal-timeline .events-wrapper::before {
    left: 0;
    /*background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));*/
}
.cd-horizontal-timeline .events-wrapper::after {
    right: 0;
    /*background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));
  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));*/
}
.cd-horizontal-timeline .events {
    /* this is the grey line/timeline */
    
    position: absolute;
    z-index: 1;
    left: 0;
    top: 49px;
    height: 2px;
    /* width will be set using JavaScript */
    
    background: #dfdfdf;
    -webkit-transition: -webkit-transform 0.4s;
    -moz-transition: -moz-transform 0.4s;
    transition: transform 0.4s;
}
.cd-horizontal-timeline .filling-line {
    /* this is used to create the green line filling the timeline */
    
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #7b9d6f;
    -webkit-transform: scaleX(0);
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -o-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: left center;
    -moz-transform-origin: left center;
    -ms-transform-origin: left center;
    -o-transform-origin: left center;
    transform-origin: left center;
    -webkit-transition: -webkit-transform 0.3s;
    -moz-transition: -moz-transform 0.3s;
    transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
    position: absolute;
    bottom: 0;
    z-index: 2;
    text-align: center;
    font-size: 1.3rem;
    padding-bottom: 15px;
    color: #383838;
    /* fix bug on Safari - text flickering while timeline translates */
    
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}
.cd-horizontal-timeline .events a::after {
    /* this is used to create the event spot */
    
    content: '';
    position: absolute;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: -5px;
    height: 12px;
    width: 12px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    background-color: #f8f8f8;
    -webkit-transition: background-color 0.3s, border-color 0.3s;
    -moz-transition: background-color 0.3s, border-color 0.3s;
    transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
    background-color: #7b9d6f;
    border-color: #7b9d6f;
}
.cd-horizontal-timeline .events a.selected {
    pointer-events: none;
}
.cd-horizontal-timeline .events a.selected::after {
    background-color: #7b9d6f;
    border-color: #7b9d6f;
}
.cd-horizontal-timeline .events a.older-event::after {
    border-color: #7b9d6f;
}
@media only screen and (min-width: 1100px) {
    .cd-horizontal-timeline {
        margin: 6em auto;
    }
    .cd-horizontal-timeline::before {
        /* never visible - this is used in jQuery to check the current MQ */
        
        content: 'desktop';
    }
}
.cd-timeline-navigation a {
    /* these are the left/right arrows to navigate the timeline */
    
    position: absolute;
    z-index: 1;
    top: 50%;
    bottom: auto;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 34px;
    width: 34px;
    border-radius: 50%;
    border: 2px solid #dfdfdf;
    /* replace text with an icon */
    
    overflow: hidden;
    color: transparent;
    text-indent: 100%;
    white-space: nowrap;
    -webkit-transition: border-color 0.3s;
    -moz-transition: border-color 0.3s;
    transition: border-color 0.3s;
}
.cd-timeline-navigation a::after {
    /* arrow icon */
    
    content: '';
    position: absolute;
    height: 16px;
    width: 16px;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    /*background: url(../img/cd-arrow.svg) no-repeat 0 0;*/
}
.cd-timeline-navigation a.prev {
    left: 0;
    -webkit-transform: translateY(-50%) rotate(180deg);
    -moz-transform: translateY(-50%) rotate(180deg);
    -ms-transform: translateY(-50%) rotate(180deg);
    -o-transform: translateY(-50%) rotate(180deg);
    transform: translateY(-50%) rotate(180deg);
}
.cd-timeline-navigation a.next {
    right: 0;
}
.no-touch .cd-timeline-navigation a:hover {
    border-color: #7b9d6f;
}
.cd-timeline-navigation a.inactive {
    cursor: not-allowed;
}
.cd-timeline-navigation a.inactive::after {
    background-position: 0 -16px;
}
.no-touch .cd-timeline-navigation a.inactive:hover {
    border-color: #dfdfdf;
}
.cd-horizontal-timeline .events-content {
    position: relative;
    width: 100%;
    margin: 1em 0 3em 0;
    overflow: hidden;
    -webkit-transition: height 0.4s;
    -moz-transition: height 0.4s;
    transition: height 0.4s;
    min-height: 150px;
}
.cd-horizontal-timeline .events-content li {
    position: absolute;
    z-index: 1;
    width: 100%;
    left: 0;
    top: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
    padding: 0 5%;
    opacity: 0;
    -webkit-animation-duration: 0.4s;
    -moz-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -webkit-animation-timing-function: ease-in-out;
    -moz-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}
.cd-horizontal-timeline .events-content li.selected {
    /* visible event content */
    
    position: relative;
    z-index: 2;
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
.cd-horizontal-timeline .events-content li.enter-right,
.cd-horizontal-timeline .events-content li.leave-right {
    -webkit-animation-name: cd-enter-right;
    -moz-animation-name: cd-enter-right;
    animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left,
.cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-name: cd-enter-left;
    -moz-animation-name: cd-enter-left;
    animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right,
.cd-horizontal-timeline .events-content li.leave-left {
    -webkit-animation-direction: reverse;
    -moz-animation-direction: reverse;
    animation-direction: reverse;
}
.cd-horizontal-timeline .events-content li>* {
    max-width: 100%;
    margin: 0 auto;
}
.cd-horizontal-timeline .events-content h2 {
    font-weight: bold;
    font-size: 1.6rem;
    line-height: 1.2;
}
.cd-horizontal-timeline .events-content em {
    display: block;
    font-style: italic;
    margin: 10px auto;
}
.cd-horizontal-timeline .events-content em::before {
    content: '- ';
}
.cd-horizontal-timeline .events-content p {
    font-size: 1.4rem;
    color: #959595;
}
.cd-horizontal-timeline .events-content em,
.cd-horizontal-timeline .events-content p {
    line-height: 1.6;
}
@media only screen and (min-width: 768px) {
    .cd-horizontal-timeline .events-content h2 {
        font-size: 1rem;
    }
    .cd-horizontal-timeline .events-content em {
        font-size: 1rem;
    }
    .cd-horizontal-timeline .events-content p {
        font-size: 1.1rem;
    }
}
@-webkit-keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
    }
}
@-moz-keyframes cd-enter-right {
    0% {
        opacity: 0;
        -moz-transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0%);
    }
}
@keyframes cd-enter-right {
    0% {
        opacity: 0;
        -webkit-transform: translateX(100%);
        -moz-transform: translateX(100%);
        -ms-transform: translateX(100%);
        -o-transform: translateX(100%);
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}
@-webkit-keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
    }
}
@-moz-keyframes cd-enter-left {
    0% {
        opacity: 0;
        -moz-transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -moz-transform: translateX(0%);
    }
}
@keyframes cd-enter-left {
    0% {
        opacity: 0;
        -webkit-transform: translateX(-100%);
        -moz-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
        -o-transform: translateX(-100%);
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateX(0%);
        -moz-transform: translateX(0%);
        -ms-transform: translateX(0%);
        -o-transform: translateX(0%);
        transform: translateX(0%);
    }
}
/* =============Timeline Page Css (Horizontal Timeline)============= */
/* =============Grid Page Css============= */

#grid {
    font-size: 1.1em;
    color: #fff;
    text-align: center;
    min-height: 30px;
    padding: 0 3em;
}
#grid .row .column:nth-child(n) {
    background: #48A9A6;
    min-height: 30px;
    padding: 10px 0;
}
#grid .row .column:nth-child(2n) {
    background: #4281A4;
    min-height: 30px;
    padding: 10px 0;
}
#grid {} #grid h2 {
    margin: 2em 0 1.5em;
}
#grid .shaded.examples .row {
    position: relative;
}
#grid .shaded.examples .grid>.column {
    position: relative;
    z-index: 11;
}
#grid .divided.examples .grid .column:not(.row):after {
    background-color: #1f364f;
    content: "";
    display: block;
    min-height: 30px;
}
#grid .nested.examples .grid .grid {
    box-shadow: 0 0 0 1px #AAA inset;
}
#grid .simple.examples .grid .column:not(.row):not(.grid):after {
    content: "";
    display: block;
    min-height: 30px;
}
#grid .shaded.examples .grid .column:not(.row):after,
#grid .nested.examples .grid .grid .column:after {
    background-color: #FFF;
    box-shadow: 0 0 0 1px #DDD inset;
    content: "";
    display: block;
    min-height: 30px;
}
/* =============Grid Page Css============= */
/* =============Datatable Page Css============= */

.ui.table.dataTable thead th {
    cursor: pointer;
    white-space: nowrap;
    border-left: 1px solid rgba(34, 36, 38, 0.15);
    color: rgba(0, 0, 0, 0.87);
}
.ui.table.dataTable thead th:first-child {
    border-left: none;
}
.ui.table.dataTable thead .sorting,
.ui.table.dataTable thead .sorting_asc,
.ui.table.dataTable thead .sorting_desc,
.ui.table.dataTable thead .sorting_asc_disabled,
.ui.table.dataTable thead .sorting_desc_disabled,
.ui.table.dataTable thead .sorting:hover,
.ui.table.dataTable thead .sorting_asc:hover,
.ui.table.dataTable thead .sorting_desc:hover,
.ui.table.dataTable thead .sorting_asc_disabled:hover,
.ui.table.dataTable thead .sorting_desc_disabled:hover {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.ui.table.dataTable thead th:after {
    display: none;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    content: '';
    height: 1em;
    width: auto;
    opacity: 0.8;
    margin: 0em 0em 0em 0.5em;
    font-family: 'Icons';
}
.ui.table.dataTable thead th.sorting_asc:after {
    /*content: '\f0d8';*/
    
    content: '\f160';
}
.ui.table.dataTable thead th.sorting_desc:after {
    /*content: '\f0d7';*/
    
    content: '\f161';
}
.ui.table.dataTable thead th.sorting:after {
    content: '\f0dc';
    opacity: 0.2;
}
/* Hover */

.ui.table.dataTable th.disabled:hover {
    cursor: auto;
    color: rgba(40, 40, 40, 0.3);
}
.ui.table.dataTable thead th:hover {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.8);
}
/* Sorted */

.ui.table.dataTable thead .sorting_asc,
.ui.table.dataTable thead .sorting_desc,
.ui.table.dataTable thead .sorting_asc_disabled,
.ui.table.dataTable thead .sorting_desc_disabled {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.95);
}
.ui.table.dataTable thead .sorting:after,
.ui.table.dataTable thead .sorting_asc:after,
.ui.table.dataTable thead .sorting_desc:after,
.ui.table.dataTable thead .sorting_asc_disabled:after,
.ui.table.dataTable thead .sorting_desc_disabled:after {
    display: inline-block;
}
/* Sorted Hover */

.ui.table.dataTable thead .sorting_asc:hover,
.ui.table.dataTable thead .sorting_desc:hover,
.ui.table.dataTable thead .sorting_asc_disabled:hover,
.ui.table.dataTable thead .sorting_desc_disabled:hover {
    background: rgba(0, 0, 0, 0.05);
    color: rgba(0, 0, 0, 0.95);
}
.dataTables_length select {
    background: #fff none repeat scroll 0 0;
    border: 1px solid rgba(34, 36, 38, 0.15);
    border-radius: 0.285714rem;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.87);
    cursor: pointer;
    display: inline-block;
    line-height: 1.2142em;
    min-height: 0.714286em;
    outline: 0 none;
    padding: 0.3em;
    -moz-transform: rotateZ(0deg);
    -ms-transform: rotateZ(0deg);
    -o-transform: rotateZ(0deg);
    -webkit-transform: rotateZ(0deg);
    transform: rotateZ(0deg);
    -moz-transition: box-shadow 0.1s ease 0s, width 0.1s ease 0s;
    -o-transition: box-shadow 0.1s ease 0s, width 0.1s ease 0s;
    -webkit-transition: box-shadow 0.1s ease 0s, width 0.1s ease 0s;
    transition: box-shadow 0.1s ease 0s, width 0.1s ease 0s;
    white-space: normal;
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}
.dataTables_wrapper .dataTables_filter {
    text-align: right;
    color: rgba(0, 0, 0, 0.87);
    display: inline-flex;
    position: relative;
}
.dataTables_wrapper .dataTables_filter input {
    margin-left: 0.5em;
}
.dataTables_wrapper .dataTables_info {
    clear: both;
    padding-top: 0.755em;
}
.dataTables_filter input {
    background: #fff none repeat scroll 0 0;
    border: 1px solid rgba(34, 36, 38, 0.15);
    border-radius: 0.285714rem;
    box-shadow: none;
    color: rgba(0, 0, 0, 0.87);
    -ms-flex: 1 0 auto;
    -webkit-flex: 1 0 auto;
    flex: 1 0 auto;
    height: 1em;
    margin: 0;
    max-width: 100%;
    outline: 0 none;
    padding: .4em;
    text-align: left;
    -moz-transition: background-color 0.1s ease 0s, box-shadow 0.1s ease 0s, border-color 0.1s ease 0s;
    -o-transition: background-color 0.1s ease 0s, box-shadow 0.1s ease 0s, border-color 0.1s ease 0s;
    -webkit-transition: background-color 0.1s ease 0s, box-shadow 0.1s ease 0s, border-color 0.1s ease 0s;
    transition: background-color 0.1s ease 0s, box-shadow 0.1s ease 0s, border-color 0.1s ease 0s;
}
/* =============Datatable Page Css============= */
/* MOBIL PAGE SETTINGS*/
/* Desktops and laptops ----------- */

@media only screen and (min-width: 1224px) {
    .colhidden {
        display: block
    }
    .computer .only {
        display: block;
    }
    #radios {
        width: 100%;
    }
}
@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    
    .row .column {
        margin-bottom: 20px!important;
    }
    .ui .buttons {
        display: inline!important;
    }
    .ui .buttons .button {
        margin-bottom: 10px;
    }
    .hiddenui {
        display: none!important;
    }
    .ui.menu .dropdown.item .menu {
        height: 100%;
        min-height: 15em;
    }
    .ui .breadcrumb .section {
        margin-bottom: 15px;
    }
    .ui .label {
        margin-bottom: 10px!important;
    }
    .ui.compact.selection.dropdown {
        margin-bottom: 10px!important
    }
    .chat-history {
        overflow-y: scroll!important;
    }
    .icon.link {
        margin-bottom: 10px!important
    }
    .ui.toggle.checkbox,
    .ui.slider.checkbox {
        margin-bottom: 10px
    }
    #data_table_filter,
    #data_table_info,
    #data_table_paginate {
        display: none!important
    }
    #data_table thead tr th {
        width: 90%!important;
        min-height: 25px!important
    }
    .colhidden {
        display: none!important
    }
    #radios {
        width: 100%;
    }
}
/* MOBIL PAGE SETTINGS*/
/* Typography Styles*/

dl {
    border: 3px double #ccc;
    padding: 0.5em;
}
dt {
    float: left;
    clear: left;
    width: 100px;
    text-align: right;
    font-weight: bold;
    color: #666;
}
dt::after {
    content: ":";
}
dd {
    margin: 0px 0 0 110px;
    padding: 0 0 0.5em 0;
}
blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
    quotes: "\201C""\201D""\2018""\2019";
}
blockquote:before {
    color: #ccc;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}
blockquote p {
    display: inline;
}
/* Typography Styles*/

.sidemenu {
    background: #333c44;
}
html {
    font-size: 12px!important;
}
a.item.transition {
    margin-left: 30px;
}
.sidemenu .item {
    color: rgba(224, 219, 219, 0.9);
}
.ui.left.sidebar,
.ui.right.sidebar {
    width: 190px;
}
.hiddenCollapse .statistics .label {
    opacity: 0.5;
}

/*
 * ----------------------------
 *  CUSTOM CSS ADD TO TEMPLATE
 * ----------------------------
 */

html, body, .mainWrap {
    background-color: #fff;
    font-size: 16px;
}

table td {
    word-break: break-word;
}

table td.bold {
    font-size: 1.4rem;
}
table th.mini {
    width: 30px;
}
/*table tr :first-child {
    white-space: nowrap;
}*/

span.customgrey,
h1.customgrey,
h2.customgrey,
h3.customgrey,
h4.customgrey,
i.customgrey {
    color: #4f5858!important;
}

.label.customgrey {
    background-color: #4f5858;
    color: #fff!important;
}
.ui.segment.bg-grey-light {
    background-color: #f3f4f5;
}
.list-del {
    text-decoration: line-through;
    color: red;
}
html body .dropdown.button .menu>.item {
    padding: 1rem 1.5em!important;
}
.dropdown.button a {
    text-transform: uppercase;
    color: #4f5858!important;
    font-size: 1.14285714rem;
    font-weight: 700;
}

h3 {
    font-size: 1.4rem;
}
h3.ui.label {
    font-size: 1rem;
}
.no-background {
    background-color: transparent!important;
    padding: 0!important;
}
.no-border {
    border: none!important;
    box-shadow: none!important;
}
.pad-10 {
    padding-top:10%;
}
.pad-left-10 {
    padding-left: 10px;
}
.mrg-bot {
    margin-bottom: 1em;
}
.no-mrg {
    margin: 0!important;
}
.no-top {
    padding-top: 0!important;
}
.txt-disabled {
    color: #999;
}
.link-login {
    font-size: .9em;
    line-height: 150%;
    display: block;
}
.custom-link {
    font-size: 14px;
    padding-left: 20px;
    font-weight: 400;
}
.bold {
    font-weight: bold;
}
.hide {
    display: none!important;
}
.absolute {
    width: 100%;
    position: absolute!important;
    top: 0;
    left: 0;
}
.relative {
    position: relative;
}
.masked {
    position: absolute!important;
    opacity: 0;
    z-index: -999;
}
.masked.no-height {
    height: 0px;
}
.u:hover {
    text-decoration: underline !important;
}
.ui.steps:first-child {
    margin-top: 1em!important;
}
.double-input {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.double-input textarea {
    margin-right: 10px!important;
}
.flex-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/* LAYOUT */

.ui.padded-bottom {
    padding-bottom: 20px;
}
.ui.segment, .ui.segments .segment {
    font-size: 1.05em;
}
.ui.container.spaced-top, .ui.container.spaced {
    margin-top: 5rem;
}
.ui.container.spaced-bottom, .ui.container.spaced {
    margin-bottom: 5rem;
}
.navslide {
    margin-left: 250px;
}
.ui.left.sidebar,
.ui.right.sidebar {
    width: 255px;
}
.ui.header>img.mini-flag {
    width: 1em;
    margin: 0;
}
.ui.header.no-mrg {
    line-height: unset;
}
.ui.card>.content.no-grow,
.ui.cards>.card>.content.no-grow {
    flex-grow: 0;
}
.header-pdf {
    display: flex;
    align-items: center;
    justify-content: center;
}
.header-pdf > div {
    width: 50%;
}
.header-pdf > div:first-child {
    text-align: left;
}
.header-pdf > div:last-child {
    transform: translateX(-50%);
}
.brand-pdf > div {
    line-height: 140%;
}
.brand-pdf > div:first-child {
    font-size: 2rem;
}
.brand-pdf > div:last-child {
    font-size: 1.5rem;
}
.custom-flex {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.full-height {
    height: 100%;
}
.flash-messages {
    top: -4.5em;
    left: 5px;
    position: absolute!important;
    width: calc(100% - 4px);
    height: 60px;
    text-align: center;
    pointer-events: none;
}
.custom-toper-table {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1em;
    padding-bottom: 0.5em;
}
.custom-toper-table > button {
  margin-left: 1em!important;
}
.checkbox-listing {
    top: 95px;
    position: absolute;
    left: 25px;
}
.checkbox-listing .ui.checkbox label {
    font-size: 12.5px;
}
.ui.horizontal.segments .ui.segment.half {
  width: 50%!important;
}
.ui.horizontal.segments .ui.segment.frac {
  width: 75%!important;
}

.position-custom-top {
    position: relative!important;
    margin-top: -45%!important;
    padding: 1em 0.6em!important;
}

/* MENU */

.ui.menu {
    font-size: 1.2rem;
}
.ui.menu {
    font-size: 1.05rem;
}
.ui.inverted.menu .item {
    color: rgba(255,255,255,1);
}
.ui.inverted.menu .item > span {
    font-weight: bold;
}
.ui.vertical.menu .item > i.icon {
    float: none;
    margin: 0 1em 0 .5em;
}
.ui.inverted.customgrey.menu {
    background-color: #4f5858;
}
.ui.dropdown .menu > .item > img.flag {
    transform: scale(0.7);
    display: inline-block;
    margin: auto;
}
.ui.menu .item > img.flag {
    transform: scale(0.7);
}
.ui.menu .dropdown.item .menu {
    min-width: 88.95px;
}
.ui.vertical.sidebar.menu > .item:first-child:before {
    display: none!important;
}
.custom-toolbar {
    padding: 0 8px 0 20px;
}
.custom-toolbar > .floated {
    margin-bottom: 0;
}


/* BUTTONS */

.ui.customgrey.button {
    background-color: #4f5858;
    color: #fff;
}
.remove-line:hover > i.customgrey {
    color: #db2828!important;
    cursor: pointer;
}
.up-line:hover > i.customgrey,
.down-line:hover > i.customgrey {
    color: #2185d0!important;
    cursor: pointer;
}
.button-reset {
    background: none;
    border: none;
    cursor: pointer;
}
.button-reset > i {
    font-size: 16px;
}
.ui.button, .ui.buttons .button, .ui.buttons .or {
    font-size: 1.05rem;
}
.ui.button a, .ui.button[data-way=prev] {
    color: #fff;
}

/* FORMS */

.ui.input.larger {
    width: 500px;
}
/*.ui.form h4, h4.label {
    color: rgba(0,0,0,.87);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: none;
}*/
.ui.form .field > label {
    font-size: 14.5px;
}
.ui.checkbox label {
    font-size: 14.5px;
    margin-top: 10%;
}
.ui.form .field .ui.input input {
    width: 100%;
    font-size: 1.05em;
}
.custom-checkbox-company .ui.checkbox label,
.form-email .ui.checkbox label {
    margin-top: 0;
}
.form-email .ui.checkbox label {
    font-weight: normal;
    font-size: 12px;
}
.ui.card.error, .ui.form input[type=date].error {
    background: #fff6f6;
    border: 1px solid #e0b4b4;
    color: #9f3a38;
    border-radius: '';
    -webkit-box-shadow: none;
    box-shadow: none;
}
.ui.card.error  h4 {
    color: #9f3a38;
}

/* JS-GRID */

.jsgrid-header-row > th {
    text-transform: uppercase;
    font-weight: bold;
}
.jsgrid-table th {
    font-size: 1rem;
}
.jsgrid-table td {
    padding: 20px 15px!important;
    font-size: 1rem;
}
[data-tooltip]:hover:after, [data-tooltip][data-position="bottom center"]:hover:after {
    padding: 5px 8px;
}
.jsgrid-header-sortable {
    cursor: pointer;
}
.jsgrid-header-sortable:after {
    position: relative;
    content: "";
    left: 5px;
    border: solid grey;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg) scale(.6);
}
.jsgrid-header-sort-asc-custom.jsgrid-header-sortable:after {
    position: relative;
    content: "";
    left: 5px;
    border: solid grey;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg) scale(.6);
}
.jsgrid-alt-row td {
    background-color: #f9f9f9;
}
.jsgrid-alt-row:hover td {
    background-color: #cce2ff;
    color: rgba(0,0,0,.87);
}

.jsgrid-header-sort:before {
    content: none!important;
}
.jsgrid-row.deleted:hover > td, .jsgrid-alt-row.deleted:hover > td {
    background-color: rgb(224, 180, 180);
}
.jsgrid .row-detail > td {
    padding: 1.5em!important;
    background-color: rgb(249, 249, 249);
}
.jsgrid .row-detail table {
    border-collapse: collapse;
}
.jsgrid .row-detail table td {
    padding: 2px 10px 2px 0!important;
    height: 30px!important;
    border: none;
}
.jsgrid .row-detail .dyn-field,
.jsgrid .row-detail .dyn-field .field-input,
.jsgrid .row-detail .dyn-field .field-value {
    display: flex;
    justify-content: space-between;
}
.jsgrid .row-detail .dyn-field .ui.input > input {
    font-size: 0.8em;
    padding: 0.5em;
}
.jsgrid .row-detail .dyn-field[mode="static"] .field-input {
    display: none;
}
.jsgrid .row-detail .dyn-field[mode="edit"] .field-value {
    display: none;
}
.jsgrid .row-detail .dyn-field button {
    height: 27px;
}
.jsgrid-pager {
  margin: 1em 1em 0 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


.referentiel-table input {
    padding: 10px;
}


/* DROPZONE */

main{
  max-width:1200px;
  margin: auto;
}

.fileuploader {
    position: relative;
    width: 80%;
    margin: auto;
    height: 200px;
    border: 4px dashed #ddd;
    background: #f6f6f6;
    margin-top: 25px;
    margin-bottom: 25px;
}
.fileuploader #upload-label-quotation-file,
.fileuploader #upload-label-production-file,
.fileuploader #upload-label-test-file,
.fileuploader #upload-label-plotter-file,
.fileuploader #upload-label-template-file {
  background: rgba(23, 97, 92, 0);
  color: #fff;
  position: absolute;
  height: 115px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 20%;
  width: 200px;
  text-align: center;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fileuploader.active{
  background: #fff;
}
.fileuploader.active #upload-label-quotation-file,
.fileuploader.active #upload-label-production-file,
.fileuploader.active #upload-label-test-file,
.fileuploader.active #upload-label-plotter-file,
.fileuploader.active #upload-label-template-file {
  background: #fff;
  color: #e7615c;
}

.fileuploader #upload-label-quotation-file i:hover,
.fileuploader #upload-label-production-file i:hover,
.fileuploader #upload-label-test-file i:hover,
.fileuploader #upload-label-plotter-file i:hover,
.fileuploader #upload-label-template-file i:hover, {
    color: #444;
    font-size: 9.4rem;
    -webkit-transition: width 2s;
}

.fileuploader #upload-label-quotation-file span.title,
.fileuploader #upload-label-production-file span.title,
.fileuploader #upload-label-test-file span.title,
.fileuploader #upload-label-plotter-file span.title,
.fileuploader #upload-label-template-file span.title{
    font-size: 1em;
    font-weight: bold;
    display: block;
}

span.tittle {
    position: relative;
    top: 140px;
    color: #bdbdbd;
    text-align: center;
    display: block;
}

.fileuploader #upload-label-quotation-file i,
.fileuploader #upload-label-production-file i,
.fileuploader #upload-label-test-file i,
.fileuploader #upload-label-plotter-file i,
.fileuploader #upload-label-template-file i {
    color: #acacac;
    font-size: 100px;
}

.gallery-img {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px;
}
.gallery-img img {
    width: auto;
    height: 200px;
    margin: 0 15px 15px 0;
}

/** Preview of collections of uploaded documents **/
/*
.preview-container {
  position: relative;
  bottom: 0px;
  width: 100%;
  margin: auto;
  top: 25px;
  visibility: hidden;
}
.preview-container #previews{
  max-height: 400px;
  overflow: auto;
}
.preview-container #previews .zdrop-info{
  width: 88%;
  margin-right: 2%;
}
.preview-container #previews.collection{
  margin: 0;
  box-shadow: none;
}

.preview-container #previews.collection .collection-item {
    background-color: #e0e0e0;
}

.preview-container #previews.collection .actions a{
  width: 100%;
  height: 1.5em;
  line-height: 1;
}
.preview-container #previews.collection .actions a i{
  font-size: 1em;
  line-height: 1.6;
}
.preview-container #previews.collection .dz-error-message{
  font-size: 0.8em;
  margin-top: -12px;
  color: #F44336;
}
*/

/*media queries*/

@media only screen and (max-width: 601px){
    .fileuploader {
        width: 100%;
    }

    /*.preview-container {
        width: 100%;
    }*/
}

/* END DROPZONE */


/* TABLE */

.ui.table {
   font-size: 1rem!important;
}
.ui.table tr.editable > :last-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ui.table tr.editable td {
    min-height: 55px;
}
.ui.table tr.editable:hover td {
    cursor: pointer;
    background-color: #fafafa;
}
.ui.table tr.editable > :first-child {
    width: 50%;
}
.ui.table tr.editable button {
    display: none;
    margin-bottom: 0px;
    justify-self: end;
}
.ui.table tr.editable .ui.input {
    margin-bottom: 0;
    width: 100%;
}
.ui.table tr.sub-title {
    height: 5px;
    background-color: #f5f5f5;
}
.ui.table .disguised, .ui.table .disguised * {
    border: none!important;
    padding-left: 0!important;
}
.ui.table .disguised i {
    opacity: 0!important;
}
.ui.table .disguised ::placeholder, .ui.table .disguised .default.text {
    color: transparent;
}

.label-planning {
  padding-top: 26px!important;
}

.flash-messages {
    z-index: 999;
}
.flash-messages .ui.message {
    margin: 0;
}
.success.flash-message {
    z-index: 998;
}

.grid-custom-holder {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}
/*.grid-custom-holder:after {
  content: "";
  display: block;
  flex: 1 1 auto;
  width: 200px;
  height: 200px;
  margin: 20px 20px 0 0;
}*/
a.grid-custom-item {
    display: block;
    margin: 20px 20px 0 0;
    border: 1px solid rgba(80,80,79,.3);
    border-radius: 3px;
    box-shadow: 5px 3px 3px rgba(80,80,79,.2);
}

a.grid-custom-item > div {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

a.grid-custom-item:hover  {
    box-shadow: 1px 1px 1px rgba(80,80,79,.2);
    cursor: pointer;
}
a.grid-custom-item .corner {
    position: absolute;
    top: 3px;
    right: 3px;
    font-size: .9rem;
}

/*** Report ***/

.searchBar-report,
.searchBar-report-left,
.searchBar-report-center,
.searchBar-report-right {
    display: flex;
    align-items: center;
}

.searchBar-report {
    justify-content: space-between;
    background-color: #f3f4f5;
    transform: translateY(-15px);
    position: relative;
    z-index: 1;
}
/*.searchBar-report > div {
    color: #fff;
}*/
.searchBar-report-left {
    padding-left: 40px;
    justify-content: flex-start;
}
.searchBar-report-right {
    justify-content: flex-end;
}
.searchBar-report-right button {
    margin: 0 10px 0 0!important;
}

.searchBar-report-center,
.searchBar-report-center .dropdown {
    margin: 5px 10px;
    /*max-width: 500px;*/
}
.searchBar-report-center {
    min-width: 40%;
}
.searchBar-report-center .input,
.searchBar-report-center .dropdown {
    font-size: 12px!important;
}

.searchBar-report .input {
    min-width: 150px;
    margin: 0 10px;
}

#packing_list_quoteRequest_cardboardMarking .ui.card {
    margin-left: 0!important;
    margin-right: 24px!important;
}

/** dragable **/

table#tabDraggablePriceLines tr.sorting-row td {
    background-color: #eee;
}
table#tabDraggablePriceLines.sorting-table {
    cursor: ns-resize;
}
table#tabDraggablePriceLines.sorting-table tbody tr:not(.sorting-row) td {
    opacity: 1; color: #bbb; text-shadow: 0 1px 0 rgba(255, 255, 255, 1);
}
i.sorter {
    font-size: 1.5em;
    cursor: move;
    cursor: grab;
}
/* Surcharges V2 — chargées après app.css. Composants qui n'existaient pas en V1. */

/* Tabulator : overlay de chargement discret, loader Fomantic */
.tabulator .tabulator-alert {
    background: rgba(255, 255, 255, .7);
}
.tabulator .tabulator-alert .tabulator-alert-msg {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-weight: normal;
}
.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg {
    border: 0;
    color: inherit;
}
.tabulator .tabulator-alert .ui.loader {
    display: block;
}
.tabulator .tabulator-tableholder .tabulator-placeholder .tabulator-placeholder-contents {
    color: rgba(0, 0, 0, .5);
    font-weight: normal;
    font-size: 1em;
}

/* En-tête des listes (mise en page V1) : le bouton est un lien, pas un <button> */
.custom-toper-table > .button {
    margin-left: 1em !important;
}
.custom-toper-table .ui.input {
    margin-left: 1em;
}

/* Page liste : marges latérales et pied de table (équivalent jsGrid V1) */
.list-page {
    padding: 0 2em 2em;
}
.list-page .tabulator {
    font-size: 1rem;
}
.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title {
    text-transform: uppercase;
    font-weight: bold;
}
.tabulator .tabulator-row .tabulator-cell {
    padding: 20px 15px;
}
.tabulator .tabulator-footer {
    margin-top: 1em;
    background: transparent;
    border-top: 0;
}
/* Colonne actions : boutons icône V1, sans débordement de ligne */
.tabulator .tabulator-cell .ui.icon.button {
    margin: 0 .25em 0 0;
}

/* Infobulles Fomantic (data-tooltip) : ne pas les rogner par les cellules / le tableau,
   et faire passer la ligne survolée au-dessus des suivantes */
.tabulator,
.tabulator .tabulator-tableholder {
    overflow: visible;
}
.tabulator-row {
    position: relative;
}
.tabulator-row:hover {
    z-index: 2;
}
/* Cellules : textes longs à la ligne, jamais tronqués (comme jsGrid V1 : word-break) */
.tabulator-row .tabulator-cell {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    vertical-align: top;
}
.tabulator-row .tabulator-cell[tabulator-field="actions"] {
    line-height: 1;
}
.tabulator .tabulator-cell .ui.icon.button {
    margin: 0 .25em .25em 0;
}

/* Sous-items de la sidebar : indentation de 30px comme en V1.
   La V1 l'obtenait par la règle `a.item.transition` (classe laissée par l'animation
   de Semantic 2.4 sur les enfants du contenu) ; Fomantic retire cette classe en fin
   d'animation, d'où un décalage vers la gauche à l'ouverture. Indentation fixe. */
.sidemenu .accordion .content > a.item {
    margin-left: 30px;
}

/* Étape produits de la demande : actions des produits sélectionnés en icônes-liens (V1) */
.inline-form {
    display: inline;
}
.icon-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
}

/* Formulaire produit (V1) : titre du produit en ligne avec le champ nom */
.form-quote h1.ui.left.floated.header + .inline.field {
    display: inline-block;
    margin-top: .6em;
}
.form-quote .inline.field .ui.mini.input {
    display: inline-block;
}

/* Barre de progression des productions dans la liste (V1 : jsGrid) */
.tabulator .tabulator-cell .ui.progress {
    margin: 0;
}
.tabulator .tabulator-cell .ui.progress .bar {
    min-width: 0;
}
.tabulator .tabulator-cell .ui.progress .label {
    margin-top: .3em;
    font-weight: normal;
}

/* ---- Sidebar repliable (bouton burger du header, état mémorisé, ouverture au survol) ---- */
.navwrap .openbtn {
    font-size: 1.3em;
    padding-left: 1.2em !important;
    padding-right: 1.2em !important;
    color: #4f5858 !important;
}
.ui.left.sidebar.sidemenu {
    transition: width .2s ease;
}
.navslide {
    transition: margin-left .2s ease;
}
/* Repliée : 60px, icônes seules */
html.sidebar-collapsed .ui.left.sidebar.sidemenu {
    width: 60px;
    overflow: visible !important;
}
html.sidebar-collapsed .navslide {
    margin-left: 60px;
}
html.sidebar-collapsed .sidemenu .item span,
html.sidebar-collapsed .sidemenu .title .dropdown.icon,
html.sidebar-collapsed .sidemenu .accordion .content {
    display: none;
}
html.sidebar-collapsed .sidemenu .item,
html.sidebar-collapsed .sidemenu .title.item {
    text-align: center;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
html.sidebar-collapsed .sidemenu .item > .icon {
    margin: 0 !important;
}
/* Logo : hauteur constante (81px, taille naturelle) dans les deux états — pas de saut vertical */
.sidemenu .ui.image {
    height: 81px;
    display: flex;
    align-items: center;
    justify-content: center;
}
html.sidebar-collapsed .sidemenu .ui.image img {
    max-width: 40px;
}
/* Survol d'une sidebar repliée : elle s'ouvre par-dessus le contenu, sans le décaler */
html.sidebar-collapsed.sidebar-peek .ui.left.sidebar.sidemenu {
    width: 255px;
    box-shadow: 4px 0 12px rgba(0, 0, 0, .25);
    z-index: 1001;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .item span,
html.sidebar-collapsed.sidebar-peek .sidemenu .title .dropdown.icon {
    display: inline;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .accordion .content {
    display: block;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .accordion .content:not(.active) {
    display: none;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .item,
html.sidebar-collapsed.sidebar-peek .sidemenu .title.item {
    text-align: left;
    padding-left: 1.14285714em !important;
    padding-right: 1.14285714em !important;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .item > .icon {
    margin: 0 .35em 0 0 !important;
}
html.sidebar-collapsed.sidebar-peek .sidemenu .ui.image img {
    max-width: none;
}

/* Pages « show » (V1) : barre d'outils + PDF intégré sur toute la hauteur */
.custom-toolbar {
    padding: 1em 2em 0;
    overflow: hidden;
}
.custom-toolbar .ui.right.floated.header .button,
.custom-toolbar .ui.right.floated.header form {
    margin-left: .5em;
}
#cont.show-pdf {
    padding: 0 2em 2em;
}
#cont.show-pdf object {
    width: 100%;
    height: calc(100vh - 150px);
    border: 1px solid #ddd;
}

/* Formulaire facture (V1) */
.form-bill .ui.table td .ui.input,
.form-bill .ui.table td select {
    width: 100%;
}
.form-bill .flex-vertical {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.form-bill .remove-line i {
    cursor: pointer;
}

/* Chiffrage devis / BC (écran V1) */
/* L'écran masqué (V1 : position absolue + opacité 0) ne doit pas allonger la page */
[data-controller="quotation-form"] .form-block.masked {
    display: none;
}
.form-quotation i.sorter {
    cursor: grab;
}
.form-quotation #tabDraggablePriceLines tr.sorting-row td {
    background: #f9fafb;
}
.form-quotation #tabDraggablePriceLines td .ui.input {
    width: 100%;
}
/* Cartes produit en lecture : tableaux des gabarits PDF (pdf/_item_*.html.twig) */
.quotation-item-detail table.tab-product {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    line-height: 1.4;
}
.quotation-item-detail table.tab-product td {
    padding: 0.25em 0.5em;
    vertical-align: top;
    border: none;
}
.quotation-item-detail table.tab-product td.col-role {
    width: 22%;
}
.quotation-item-detail table.tab-product td.col-label {
    width: 34%;
}
.quotation-item-detail table.tab-product td.right {
    text-align: left;
}

/* Productions : détail déplié sous une ligne de liste (V1 : .jsgrid .row-detail) */
.tabulator-row > .row-detail {
    padding: 1.5em;
    background-color: rgb(249, 249, 249);
    white-space: normal;
    text-align: left;
    border-top: 1px solid rgba(34, 36, 38, 0.1);
}
.row-detail table {
    border-collapse: collapse;
}
.row-detail table td {
    padding: 2px 10px 2px 0 !important;
    height: 30px !important;
    border: none !important;
}
.row-detail .dyn-field,
.row-detail .dyn-field .field-input,
.row-detail .dyn-field .field-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.row-detail .dyn-field .ui.input > input {
    font-size: 0.8em;
    padding: 0.5em;
}
.row-detail .dyn-field[mode="static"] .field-input,
.row-detail .dyn-field[mode="edit"] .field-value {
    display: none;
}
.row-detail .dyn-field button {
    height: 27px;
}
.list-page {
    position: relative;
}
/* Tabulator fige la hauteur du conteneur de lignes : la laisser suivre le détail déplié */
.list-page .tabulator .tabulator-tableholder {
    height: auto !important;
}

/* Chiffrage : crayons d'édition des blocs et des cartes produit (remplacent le clic sur une ligne V1) */
.quotation-edit-link.ui.button {
    position: relative;
    z-index: 2;
    margin: 0;
}

/* Production : tableau de planning compact (réunion client du 26/01/2026 : vision d'ensemble) */
.form-production table.production-planning td {
    padding: 0.25em 0.6em !important;
}
.form-production table.production-planning td.label-planning {
    padding-top: 0.8em !important;
}
.form-production table.production-planning input[type="date"] {
    padding: 0.35em 0.6em !important;
    font-size: 0.9em;
}
.row-detail table.compact td {
    height: 24px !important;
    font-size: 0.9em;
}

