.page-header.navbar .page-logo {
    background: orange;
}
.btn-link.green{
    cursor: pointer;
    color: #36c6d3;
}
span.logo-text {
    color: navy;
}

html {
    font-size: 100%;
}

body {
    font-weight: bold;
}

.page-sidebar .page-sidebar-menu>li>a, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu>li>a,
.page-sidebar .page-sidebar-menu .sub-menu li>a, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu .sub-menu li>a,
.btn
{
    font-weight: inherit;
}

.w-100 {
    width: 100%;
}

/* select2 clearing selection (X) fix */
.select2-container--bootstrap .select2-selection__clear {
    position: relative;
    z-index: 1000;
}
/* end select2 clearing selection (X) fix */

table.table-100 {
    width: 100%;
}

table.table-100 tr.tr-50 {
    min-height: 50px;
    margin: 0;
    border-bottom: 1px solid #f7f8f9;
    display: table-row!important;
}

.client-column {
    /*/width: 28%;*/
}

/*table.table-100 div.order-column > div.mt-action-info {
    width: 18%;
}*/

table.table-100 img.product-image {
    width: 100%;
    min-width: 100px;
}

table.table-100 img.user-image {
    border-radius: 50% !important;
}

table.table-100 td.mt-action-info {
    vertical-align: middle!important;
    padding: 25px 10px;
}

table.table-100 td.td-user-image {
    width: 70px;
}

table.table-100 td.mt-action-info span.mt-action-author {
    font-weight: 600;
}

table.table-100 p.mt-action-desc {
    margin-top: 3px !important;
    margin-bottom: 0;
}

table.table-100 td.mt-action-buttons {
    vertical-align: middle!important;
    position: relative;
    top: 5px;
    text-align: right;
}

table.table-100 td.mt-image {
    max-width: 150px;
}

/*.order-list {
min-height: 42px;
}*/

div.page-content {
    overflow: auto;
}

@media screen and (max-width: 1024px) {
    .client-column { width: 25%; }
}

@media screen and (max-width: 767px) {

    .client-column { width: 50%; }

    td.mt-action-info {
        padding: 10px 10px;
        display: block;
    }

    td.mt-action-buttons {
        padding: 10px;
        display: block;
        margin-bottom: 20px;
        width: auto!important;
        float: none!important; }

}

.input.text.required span.help-block.text-danger {
    margin-top: 0;
    font-weight: 400;
    color: #e02222;
    font-size: 12px;
    font-family: "Roboto Bold","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.control-label .required, .form-group .required {
    padding-left: 0;
}

.dd3-content {
    padding-top: 3px;
}

.dd-item>button {
    margin-top: 5px;
}


/*  flex customs    */

span.logo-text {
    font-size: 30px;
    color: white;
    margin: 14px;
    display: inline-block;
}

@media (min-width: 992px){
    .page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo .logo-text {
        display: none;
    }
}

/*  flex customs  end  */


/* json editor fix */

div.jsoneditor-contextmenu ul li button.jsoneditor-expand {
    width: 30px;
}

.datatablesDefaultSearchClass {
    width: 100%;
    height: 34px;
    border: 1px solid #c2cad8;
}

/* datatables buttons */
.portlet.light .dataTables_wrapper .dt-buttons {
    margin-left: 5px;
    margin-top: auto;
}

.dt-buttons > .btn, .dt-buttons > .btn:not(.btn-sm):not(.btn-lg) {
    line-height: 1.2;
}

.dataTable tfoot {
    display: table-header-group;
}

.noteBlock {
    padding: 10px 10px 0 0;
    /*border: 1px solid #c2cad8;*/
    margin-bottom: 0px;
    /*background-color: #eef1f5;*/
}


/* datatables   - $("table.dataTable th.select-checkbox:empty:first")*/
table.dataTable th.select-all-checkbox {
    position: relative;
}

table.dataTable th.select-all-checkbox:before {
    content: ' ';
    margin-top: -6px;
    margin-left: -6px;
    border: 1px solid black;
    border-radius: 3px;
}
table.dataTable th.select-all-checkbox:before, table.dataTable th.select-all-checkbox:after{
    display: block;
    position: absolute;
    top: 1.2em;
    left: 50%;
    width: 12px;
    height: 12px;
    box-sizing: border-box;
}

table.dataTable th.select-all-checkbox-selected:after {
    content: '\2714';
    margin-top: -11px;
    margin-left: -4px;
    text-align: center;
    text-shadow: 1px 1px white, -1px -1px white, 1px -1px white, -1px 1px white;
    font-weight: normal;
}

.note-add-panel{
    padding: 10px 20px!important;
    border-radius: 8px!important;
    margin-bottom:10px;
}

/* kolory notatek */
.note-style-buttons, .note-style-newbuttons {
    /*float: right;*/
    /*padding: 5px;*/
    /*font-size: small;*/
    /*margin: 5px;*/
    width: 20px;
    height: 20px;
    display: inline-block;
    margin: 4px;
}

.note-style-box {
    transition: background-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.todo-tasklist-item.pinned {
	border-left-width: 12px;
}

.note-style1 {
    /*color: #002a80;*/
    background-color: #edf7f9 !important;
    border-left: #3faba4 2px solid;
}

.note-style2 {
    /*color: black;*/
    background-color: rgba(0, 255, 0, 0.25) !important;
    border-left: green 2px solid;
}

.note-style3 {
    /*color: black;*/
    background-color: rgba(255, 255, 0, 0.25) !important;
    border-left: yellow 2px solid;
}

.note-style4 {
    /*color: white;*/
    background-color: rgba(255, 165, 0, 0.25) !important;
    border-left: orange 2px solid;
}
.note-style5 {
    /*color: white;*/
    background-color: rgba(255, 0, 0, 0.25) !important;
    border-left: red 2px solid;
}
/* end kolory notatek */


/* checkbox w lini */
.form-margin-top {
    margin-top: 32px;
}
/* end checkbox w lini*/

/* guziki akcji pływające na górnej belce*/
.fixedactions {
    position: fixed;
    top: 18px;
    z-index: 9999;
    right: 20px;
    /* A right-anchored row of inline-blocks used to grow left without limit and slide
       under the page title. Flex + wrap keeps it inside the viewport and lets an
       overloaded toolbar (sprawa TimeTax has 6-7 buttons) break onto a second line
       instead of overlapping anything. DEV-14390. */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    /* Fallback cap; fixed_actions.js narrows it to the real space left of the
       "Sprawa nr … / ▶ timer" page title, which depends on the client's name. */
    max-width: calc(100vw - 240px);
}

/* Questionnaire save. Carries over the primary-action styling the SkyTax 3.0 redesign
   gave Form.io's own save button before DEV-14390 hid it and moved saving here — the
   rule it lived in (formio_custom.css) is gone, so without this the redesign's choice
   would be silently lost. ID selector on purpose: skytax3.css loads after this file and
   would otherwise render this as a plain navy `.fixedactions .btn.blue`. */
#formio-save-action {
    background-color: #E7511E;
    border-color: transparent;
    color: #fff;
    box-shadow: 0 2px 8px rgba(231, 81, 30, .28);
}

#formio-save-action:hover,
#formio-save-action:focus,
#formio-save-action:active {
    background-color: #cf4413;
    border-color: transparent;
    color: #fff;
}

/* Bootstrap's `.btn { display: inline-block }` outranks the user-agent rule for
   [hidden], so a toolbar button rendered hidden would show anyway. Buttons that only
   apply to one tab (#formio-save-action) rely on this to stay hidden until
   fixed_actions.js decides otherwise — without it they flash on page load. */
.fixedactions [hidden] {
    display: none !important;
}

/* bardziej wąski guzik np. do koloru dla notatek */
.btn-narrow{
    padding-top: 2px;
    padding-bottom: 2px;
}

/* brzydkie checkboxy */
.checkbox input[type='checkbox'] {
    opacity: 0;
}

/* wygląd checkboxów prawa jazdy */
.prawo_jazdy_div  label {
    margin: 10px; text-align:center;
}
.prawo_jazdy_div label > * {
    margin-left: 0px !important;
}

/* calculator results */
.result.result--padding {
    padding: 5px 10px;
}

.result.refund {
    background-color: #54bd54;;
    /* border-color: #33cc33; */
    color: #ffffff;
}

.result.surcharge {
    background-color: #bb5940;
    /* border-color: #ff3300; */
    color: #ffffff;
}

/* online tickets */
.online_ticket:after {
    content: "";
    background-color: #a2d39b;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
    vertical-align: top;
    margin-left: 8px;
}
/* DEV-14639 — sprawa z zaznaczoną „Auto weryfikacją" (przeszła przez Weryfikatora AI
   albo objęta automatem). Ten sam kształt i to samo miejsce, co kropka spraw online —
   stąd osobny, ZAGNIEŻDŻONY span w elemencie: jeden element nie ma dwóch ::after,
   a sprawa online zweryfikowana przez AI ma pokazać OBIE kropki (to dwie różne
   informacje, nie warianty jednej). Odcień dobrany na parze z zielenią #a2d39b:
   ta sama jasność, więc żadna z kropek nie przykrywa drugiej wagą. */
.auto_verification_ticket:after {
    content: "";
    background-color: #9bbfe0;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    display: inline-block;
    vertical-align: top;
    margin-left: 8px;
}
.note-content{
    margin-top: 5px;
}
.noteBlock.wrap-note.wrap-active .note-content{
    overflow: hidden;
}
.noteBlock.wrap-note:not(.wrap-active) .note-content{
    height: 20px;
    overflow: hidden;
}

.noteBlock .readmore{
    text-align: left;
    padding: 5px 0;
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #a0a0a0;
}
.noteBlock .readmore:hover{
    color: #333;
}
.noteBlock .readmore:before{
    font-family: FontAwesome;
    content: "";
    margin-right: 8px;
    font-size: 12px;
}
.noteBlock .readmore.wrap-active:before{
    content: "";
}
.noteBlock .readmore.wrap-active{
    font-size: 0;
}
.noteBlock .readmore.wrap-active:after{
    content: attr(data-active);
    font-size: 14px;
}
.flex-note{
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}
.white-no-wrap{
    white-space: nowrap;
    min-width: 275px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.white-no-wrap>button{
    margin-left: 4px;
}
.file-sortable-handle{
    width: 30px;
    height: 34px;
    float: left;
    line-height: 21px;
    margin-right: 4px;
    border:none;
    color: #333;
}
.color-select{
    display: flex;
    float: right;
    margin-bottom: 4px;
    margin-top: 4px;
}
.color-group{
    padding: 5px;
}
.color-group[data-color="1"]{
    background: rgba(54, 198, 211, 0.20);
    border-left: 2px solid rgb(54, 198, 211);
}
.color-select-1{
    background: #36c6d3;
    border:1px solid #a0a0a0;
}
.color-group[data-color="2"]{
    background: rgba(255, 0, 0, 0.15);
    border-left: 2px solid rgb(255, 0, 0);
}
.color-select-2{
    background: #e02222;
    border:1px solid #a0a0a0;
}
.color-select-0{
    background: #fff;
    border:1px solid #a0a0a0;
    margin-right: 1px !important;
}
.color-group[data-color="3"] {
    background: rgba(255, 255, 0, 0.15);
    border-left: 2px solid rgb(192, 192, 0);
}
.color-group[data-color="4"] {
    background: rgba(255, 165, 0, 0.15);
    border-left: 2px solid rgb(255, 165, 0);
}
.color-group[data-color="5"] {
    background: rgba(0, 255, 0, 0.15);
    border-left: 2px solid rgb(0, 255, 0);
}

.color-select-3 {
    background: #ffd900;
    border: 1px solid #a0a0a0;
}
.color-select-4 {
    background: #ff9900;
    border: 1px solid #a0a0a0;
}

.color-select-5 {
    background: rgba(0, 255, 0, 0.25);
    border: 1px solid #a0a0a0;
}

.color-select>span {
    width: 20px;
    display: block;
    cursor: pointer;
    height: 20px;
    margin-right: 4.6px;
}
.color-select>span:hover{
    opacity: 0.8;
}
