:root {
    --bookkeeping-color: 250, 192, 190;
    --payroll-color: 191, 247, 247;
    --annualaccount-color: 198, 223, 178;
    --auditing-color: 255, 232, 140;
    --consultation-color: 188, 204, 235;
}

.hide__show_edit_no_submit, .hide__faulty_autoinfo, .hide__faulty_minreceiptplan {
    display: none !important;
    visibility: hidden !important;
}

header.home {
    background-color: #11235C;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}
header.home a {
    color: #fff;
}
header.home h1 {
    margin: 0;
    font-size: 2.5em;
}
header.home span.greet, span.title  span.greet {
    font-size: 80%;
}
header.home p {
    margin: 5px 0 0;
    font-size: 1.2em;
}

input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control {
    line-height: 22px;
    -webkit-appearance: none;
}

input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button {
    display: none;
    -webkit-appearance: none;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    position: absolute;
    right: 10%;
}

.modal-title input#edit {
    border: none;
    outline: none;
    margin-left: 20px;
    box-shadow: -1px -1px 2px rgba(0, 0, 0, 0.2) !important;
    color: #999999;
    font-size: 12px;

    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><text x="4" y="15" font-size="12" font-family="Source Sans Pro, Helvetica Neue, Helvetica, Arial, sans-serif" fill="%23999999">ID:</text></svg>');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
}

details summary {
    display: list-item;
    cursor: pointer;
    padding-bottom: 5px;
}

@media screen and (min-width: 800px) {
    .navbar > .container .navbar-brand {
        margin-left: -30px;
    }
}

.navbar > .container .navbar-brand {
	position: absolute;
	left: 0;
	margin-left: 0;
}

.navbar {
    margin-bottom: 0;
    border: none;

	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);

}

.navbar-brand {
    padding-top: 11px;
}

.navbar-brand .title {
    margin-right: 1px;
    color: #214a80;
    font-size: 26px;
}

#myConfirmOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 99998;
}

#myConfirm {
    z-index: 99999;
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -30%);
    background: #fff;
    padding: 1rem;
    max-width: 600px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#myConfirm .btn-group, #confirmMessage {
    padding: 10px;
}
#myConfirm .btn {
    padding: 1em 2em;
    width: 80px;
}

#dash-header .nav > li > a {
    padding: 2px 15px;
}

#dash-header .nav-tabs > li.active > a {
    padding-bottom: 8px;
}

#dash-header .nav-tabs > li > a:hover {
    padding-bottom: 8px
}

#dash-header > .col-md-8 {
    padding-right: 0;
}

#dash-header > .col-md-4 {
    padding-left: 0;
}

#dash-header .bottom-row {
    margin-top: 1px;
}

#dash-header .bottom-row-empty {
    margin-top: 41px;
}

@media (min-width: 992px) {
    .col-md-3_5 {
        width: 28%
    }

    .col-md-4_5 {
        width: 37.5%;
    }

    .hero .get-it {
        text-align: right;
        margin-top: 80px;
        padding-right: 30px;
    }
}

@media (max-width: 992px) {
    .hero .get-it {
        text-align: center;
    }

    #dash-header > .col-md-8 {
        padding-left: 0;
    }

    .hero .phone-preview {
        text-align: center;
    }

    .features-clean .item .name {
        margin-bottom: 1px;
    }
}

.hero .get-it h1, .hero .get-it p {
    color: #fff;
    text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
}

.hero .get-it .btn {
    margin-left: 10px;
    margin-bottom: 10px;
    text-shadow: none;
}

.btn-wrap {
    white-space: normal;
}

.btn-slim {
    padding-left: 10px;
    padding-right: 10px;
}

.icon-feature {
    text-align: center;
}

.icon-feature .glyphicon {
    font-size: 60px;
    font-weight: normal;
}

small.glyphicon {
    font-size: 10px;
}

section.features {
    background-color: #369;
    padding: 40px 0;
    color: #fff;
}

.features h2 {
    color: #fff;
}

.features .icon-features {
    margin-top: 15px;
}

.testimonials blockquote {
    text-align: center;
}

section.testimonials {
    margin: 50px 0;
}

.site-footer {
    padding: 20px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .site-footer h5 {
        text-align: left;
    }
}

.site-footer h5 {
    color: inherit;
    font-size: 20px;
}

header .glyphicon.icon {
    color: #214a80;
    font-size: 28px;
    margin-right: 7px;
}

button.with_text .glyphicon, a.with_text .glyphicon {
    margin-right: 5px;
}
button.no-padding-up-down, a.no-padding-up-down {
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    border-bottom-width: 0 !important;
}

.table-responsive td:nth-child(1) {
    text-align: left;
}

@media (min-width: 767px) {
    .table-responsive th:nth-child(1), .table-responsive td:nth-child(1) {
        max-width: 250px;
        min-width: 160px;
    }

    .table-responsive table.width1 th:nth-child(1), .table-responsive table.width1 td:nth-child(1) {
        max-width: 350px;
        min-width: 220px;
    }

    .table-responsive table.fixedwidth1 th.fix1, .table-responsive table.fixedwidth1 td.fix1 {
        min-width: 140px
    }

    .table-responsive table.fixedwidth1 td.fix1 .btn-group {
        margin-bottom: 5px;
    }
}

@media (max-width: 767px) {
    .table-responsive th:nth-child(1), .table-responsive td:nth-child(1) {
        max-width: 120px;
        min-width: 80px;
    }
}

.table-responsive tr.endrow th, .table-responsive tr.endrow td {
    border-bottom-width: 4px;
}

table.table form {
    display: inline;
}

table.table th.sortable a, table.table th.tablesorter-header:not(.sorter-false) .tablesorter-header-inner {
    text-decoration: none;
    color: #158cba;
    cursor: pointer;
}

table tr.selected {
    background-color: rgba(217, 237, 247, 0.5) !important;
}

/*table.table th.sortable a:after, table.table th.tablesorter-header:not(.sorter-false) .tablesorter-header-inner:after {
    content: "Sortieren";
    padding: 3px 5px;
    display: none;
    position: absolute;
    text-align: center;
    font-size: 0.7em;
    color: #000000;
    background-color: #fef4c5;
}

table.table th.sortable a:hover:after, table.table th.tablesorter-header:not(.sorter-false) .tablesorter-header-inner:hover:after {
    display: block;
    animation: 0.8s ease 0s normal 1 fadein;
    opacity: 1;
}*/

span.width150 {
    max-width: 150px;
    word-break: break-word;
}
span.width200 {
    max-width: 200px;
    word-break: break-word;
}

.day_detail_info {
    display: inline-block;
    width: 40px;
    text-align: right;
}

#month_schedule .modal-body {
    min-height: 670px;
}

#month_schedule .day_detail_info {
    float: right;
}

#month_schedule .yp_sched_day {
    font-weight: 700;
}

#month_schedule .table-cal th, #month_schedule .table-cal td {
    max-width: 200px;
    min-width: 80px;
}

#month_schedule .table-cal td div.highlight {
    background-color: rgba(255, 150, 150, 0.3);
    display: block;
    margin: -8px;
    padding: 8px;
}
#month_schedule .table-cal td div.highlight .yp_sched_day {
    background-color: rgba(255,150,150,0.7);
    border-radius: 10px;
    padding: 2px 4px;
    margin-left: -2px;
}

#month_schedule .yp_sched_week td:nth-child(6), #month_schedule .yp_sched_week td:nth-child(7) {
    background-color: rgba(235, 235, 240, 0.5);
}

@keyframes fadein {
    0% {
        opacity: 0
    }
    50% {
        opacity: 0
    }
    80% {
        opacity: 0.8
    }
    100% {
        opacity: 1
    }
}

table.table th.sortinfo, span.sortinfo {
    text-align: left;
    vertical-align: top;
    font-size: 6px;
    opacity: 0.4;
}

form .row {
    margin-bottom: 7px;
}

form .row.nosep {
    margin-bottom: 0px;
}

.row label {
    margin-top: 7px;
}

form:not(#filter) input:required {
    box-shadow: inset -6px 0px 0px 0px rgba(40, 182, 44, 0.85);
}

select:required {
    -webkit-box-shadow: 6px 0px 0px 0px rgba(40, 182, 44, 0.85);
    box-shadow: 6px 0px 0px 0px rgba(40, 182, 44, 0.85);
}

.bootstrap-select > select:required + button {
    -webkit-box-shadow: 6px 0px 1px 0px rgba(40, 182, 44, 0.85) !important;
    box-shadow: 6px 0px 1px 0px rgba(40, 182, 44, 0.85) !important;
}

input.val-error {
    box-shadow: inset -6px 0px 0px 0px rgba(182, 40, 44, 0.85) !important;
}

input.val-ok {
    box-shadow: inset -6px 0px 0px 0px rgba(41, 209, 45, 0.85) !important;
}

tr.inactive td, tr.inactive a, td.inactive, div.inactive, div.inactive h4 {
    text-decoration: line-through;
    -webkit-text-decoration-style: dashed;
    -webkit-text-decoration-color: #ff0000;
    text-decoration-style: dashed;
    text-decoration-color: #ff0000;
    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
}

.bg-warning-lgt {
    background-color: #fcf8e3;
}

.bg-danger-lgt {
    background-color: #f2dede;
}

.bg-info-lgt {
    background-color: #d9edf7;
}

.bg-info-tra {
    background-color: rgba(189, 225, 248, 0.25);
}

.alert-danger-small {
    color: #d94442;
    background-color: #f2dede;
    border: 1px solid #eb6666;
    border-radius: 4px;
    padding: 1px 5px;
    margin: 1px;
}

.alert-info {
    color: #317090;
    background-color: #82cfed;
    border-color: #6cc6ea;
}
.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

.floatThead-wrapper thead {
    background-color: #ffffff;
}

.table > tbody > tr > td.info-lgt {
    background-color: #d9edf7;
    color: #31708f;
}

.table > tbody > tr > td.warning-lgt {
    background-color: #fcf8e3;
    color: #8a6d3b;
}

.table > tbody > tr > td.alert-lgt {
    background-color: #f2dede;
    color: #a94442;
}

.divoverlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left top, transparent 49.6%, currentColor 49.9%, currentColor 50.1%, transparent 50.4%);
    z-index: 1000;
    top: 0;
}
.divinfo_with_existing {
    padding: 4px 10px;
    width: 500px;
    margin: 0 auto 10px auto;
}

/*
    For plan
*/

.row-datesgroup .date-header {
    min-height: 60px;
    padding-left: 2px;
}

.row-datesgroup h4 {
    float: left;
    border-radius: 10px;
    padding-left: 2px;
    padding-right: 4px;

    margin-top: 7px;
    margin-bottom: 5px;
}

.row-datesgroup h4 .itooltip_cl {
    padding-left: 0;
    padding-bottom: 0;
}

.row-datesgroup button .onhov {
    display: none;
}

.row-datesgroup button:hover .onhov {
    display: inline;
}

.row-datesgroup hr {
    margin: 0;
    padding: 4px;
    border-top: 8px solid #FFFFFF;
    border-bottom: 1px solid #e0e0e0;
    background-color: rgba(255, 255, 255, 0.75);
}

.row-datesgroup .glyphicon-refresh {
    animation-name: spin;
    animation-duration: 4000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.row-datesgroup .connectedDate_drop .glyphicon-refresh {
    animation-duration: 1000ms;
}

.tooltip_templates {
    display: none;
}

.row-datesgroup .sticky-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: white;
    padding-top: 10px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1px;
    margin-left: -15px;
    margin-right: -15px;
}

.row-datesgroup .sticky-header .row {
    margin-left: 0;
    margin-right: 0;
    padding-left: 3px;
    padding-right: 3px;
}

.row-datesgroup .header-buttons {
    position: absolute; right: 10px;
}

.sticky-tfoot {
    position: -webkit-sticky;
    position: sticky;
    bottom: 1px;
    outline: 1px solid #eeeeee;
    background: white;
    z-index: 10;
}



@media (min-width: 768px) {
    .row-datesgroup {
        margin-left: 0;
        margin-right: 0;
    }

    .row-datesgroup .col-sm-2 {
        width: 20%;
        min-height: 70vh;
    }

    .row-datesgroup .connectedDate_drop {
        min-height: 65vh;
    }

    .row-datesgroup .ui-state-highlight {
        padding: 5px;
    }

    .row-datesgroup .row-striped > div:nth-of-type(2n) {
        background-color: #ffffff;
    }

    .row-datesgroup .drag-handle {
        cursor: grab;
    }

    .row-datesgroup .ui-sortable-helper .drag-handle {
        cursor: grabbing;
    }

    .row-datesgroup .scrollable-div {
        box-shadow: -1px 0px 0px 0px #e0e0e0;
    }
    .row-datesgroup .scrollable-div>* {
        padding-left: 1px;
        padding-right: 2px;
    }
}

@media (max-width: 768px) {
    .row-datesgroup {
        margin-left: -5px;
        margin-right: 0;
    }
}

.row-striped > div:nth-of-type(2n+1) {
    background-color: #f9f9f9;
}

.icon-info {
    margin-right: 5px;
    vertical-align: -7%;
}

fieldset {
    margin-bottom: 2em;
    margin-left: 2px;
}

fieldset legend {
    color: #333333;
    font-size: 16px;
    margin-left: -5px;
}

.radio, .checkbox {
    margin-top: 8px;
}

.radio label, .checkbox label {
    margin-top: 0;
}

/* Bigger Checkboxes */
.radio label, .checkbox label {
    padding-left: 24px;
}

.radio input[type="radio"], .checkbox input[type="checkbox"] {
    margin-left: -22px;
}

input[type=checkbox], input[type=radio] {
    transform: scale(1.2);
}

hr.half-r {
    margin: 3px auto;
    text-align: left;
    width: 70%;
}

/*
    Extra smaller Checkboxes
*/
.small .radio label, .small .checkbox label {
    padding-left: 20px;
}

.small .radio input[type="radio"], .small .checkbox input[type="checkbox"] {
    margin-left: -20px;
}

.small input[type=checkbox], .small input[type=radio] {
    transform: scale(0.9);
}

.small .radio, .small .checkbox {
    margin-top: 5px;
}

.radioBtns .active {
    background-color: rgba(70, 102, 255, 0.2);
}

.nav-tabs-responsive {
    overflow: auto;
}

.nav-tabs-responsive .nav-tabs {
    min-width: 500px;
    margin-top: 4px;
}

.features-clean .item .name {
    margin-bottom: 10px;
}

a, a p, a h3 {
    text-decoration-skip-ink: auto;
}

small.input-group-addon {
    padding-left: 8px;
    padding-right: 8px;
}

.clear-input > span.glyphicon-remove-circle {
    position: absolute;
    right: 15px;
    top: 10px;
    height: 14px;
    margin: auto;
    font-size: 14px;
    cursor: pointer;
    color: #666666;
    z-index: 1000;
}

.yearplan-filtername .clear-input > span.glyphicon-remove-circle {
    right: 160px;
}

.bootstrap-select > .dropdown-toggle {
    background-color: #FCFCFC;
    line-height: 21px;
    border-top-width: 1px;
    border-bottom-width: 1px;
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.075);
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
}

.bootstrap-select.input-sm > .dropdown-toggle {
    font-size: 12px;
    line-height: 11px;
}

.small-staff-select1 .bootstrap-select > .dropdown-toggle {
    max-width: 195px;
}

.small-staff-select2 .bootstrap-select > .dropdown-toggle {
    max-width: 225px;
}

.input-group .bootstrap-select {
    z-index: 3;
}

.input-group-btn > .btn {
    line-height: 1.55;
}

.btn-sm i.glyphicon-remove-circle {
    font-size: 15px;
    line-height: 12px;
    vertical-align: -2px;
}

.jGrowl-notification {
    width: 300px;
    min-width: 10vw;
}

.jGrowl-notification.alert-warning {
    width: 360px;
    min-width: 20vw;
}

#modal-period-msg .alert {
    margin-bottom: 0;
}

@media screen and (min-width: 1200px) {
    .input-group-e1 {
        float: left;
    }

    .input-group-e2 {
        float: right;
    }
}

@media screen and (min-width: 992px) {
    .row-sm-no-padding-right {
        padding-right: 0;
        margin-right: -2px;
    }

    .row-sm-no-padding-left {
        padding-left: 0;
        margin-left: -2px;
    }
}

@media screen and (max-width: 1199px) and (min-width: 992px) {
    .row-sm-only-no-padding-right {
        padding-right: 0;
        margin-right: -2px;
    }

    .row-sm-only-no-padding-left {
        padding-left: 0;
        margin-left: -2px;
    }
}

@media screen and (max-width: 1199px) {
    .input-group-e1 {
        display: inline-block;
    }

    .input-group-e2 {
        display: inline-block;
        padding-left: 15px;
    }
}

/*
    Modal dialogs draggable
*/
.ui-draggable .modal-header {
    cursor: grab;
}

.ui-draggable.ui-draggable-dragging .modal-header {
    cursor: grabbing;
}

.modal-sm {
    width: 450px
}

@media only screen and (min-width: 768px) {
    #navcol-1 .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

#navcol-1 .glyp-border {
    display: inline-block;
    padding-top: 11px;
    color: rgba(153, 153, 153, 0.4);
}

@media (min-width: 992px) {
    #navcol-1 .glyp-btn {
        position: relative;
        padding-top: 24px;
        padding-bottom: 8px;
    }

    #navcol-1 .glyp-top {
        position: absolute;
        top: 9px;
        margin-left: 25px;
    }

    #navcol-1 .glyp-top0 {
        margin-left: 10px;
    }

    #navcol-1 .glyp-top1 {
        margin-left: 30px;
    }

    #navcol-1 .glyp-top2 {
        margin-left: 55px;
    }

    #navcol-1 .glyp-top3 {
        margin-left: 20px;
    }

    #navcol-1 .glyp-top4 {
        margin-left: 8px;
    }

    #navcol-1 .glyp-top5 {
        margin-left: 24px;
    }

	#navcol-1 .glyp-top6 {
		margin-left: 40px;
	}
}

.dropdown-menu > li > button {
    width: 100%;
    text-align: left;
    padding: 7px 20px 5px 20px;
}

.my-pagination {
    margin-top: 8px;
    margin-bottom: 8px;
    clear: both;
}

#modal-auto-info1, #modal-auto-info2 {
    font-size: 14px;
}

#modal-auto-info1 kbd, #modal-auto-info2 kbd {
    font-size: 14px;
    padding-left: 8px;
    padding-right: 8px;
}

.glyphicon.rotl90 {
    transform: rotate(-90deg);
}

.glyphicon.spinning {
    animation: spin 1s infinite linear;
    -webkit-animation: spin2 1s infinite linear;
}

.glyphicon-stopwatch {
    border-top: 4px solid #1485ee;
    padding-top: 1px;
}

header .glyphicon-stopwatch {
    border-top-color: #214a80;
}

#navcol-1 .glyphicon-stopwatch {
    border-top: 2px solid rgb(153, 153, 153);
    padding-top: 0px;
}

@keyframes spin {
    from {
        transform: scale(1) rotate(0deg);
    }
    to {
        transform: scale(1) rotate(360deg);
    }
}

@-webkit-keyframes spin2 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

#wait_spin {
    position: fixed;
    bottom: 1em;
    z-index: 10000;
    text-align: center;
    width: 100%;
    opacity: 0.5;
}

.radio.disabled label, .radio-inline.disabled label, .checkbox.disabled label, th.disabled, div.disabled {
    text-decoration: line-through;
    opacity: 0.5;
    cursor: not-allowed;
    color: rgb(85, 85, 85);
}

@media (min-width: 800px) {
    .modal-dialog.modal-xlg {
        width: 780px;
    }
}

@media (min-width: 900px) {
    .modal-dialog.modal-xlg {
        width: 880px;
    }
}

@media (min-width: 1000px) {
    .modal-dialog.modal-xlg {
        width: 980px;
    }
}

@media (min-width: 1100px) {
    .modal-dialog.modal-xlg {
        width: 1080px;
    }
}

.navbar-punchclock-iframe {
    border: 0 none;
    width: 180px;
    height: 35px;
    margin-left: 15px;
    margin-top: 8px;
    overflow: hidden;
}

@media screen and (max-width: 1350px) and (min-width: 1300px) {
    .navbar-punchclock-iframe {
        margin-left: 35px;
    }
}

@media screen and (max-width: 1300px) and (min-width: 1250px) {
    .navbar-punchclock-iframe {
        margin-left: 55px;
    }
}

@media screen and (max-width: 1250px) and (min-width: 1200px) {
    .navbar-punchclock-iframe {
        margin-left: 70px;
    }
}

.navbar-punchclock,
.navbar-punchclock-timing {
	display: flex;
	height: 35px;
	margin: 0;
	padding: 9px 9px;
	background-color: rgba(153,153,153,0.15);
	border: 1px solid rgba(153,153,153,0.08);
	border-radius: 5px;
}

.navbar-punchclock-timing {
	cursor: pointer;
	align-items: start;
	justify-content: center;
	width: 35px;
}
.navbar-punchclock {
	width: 110px;
	justify-content: flex-start;
	align-items: center;
}

.navbar-punchclock span.glyphicon-changeto-in {
	border-top-color: #802124;
	color: #802124;
}

.navbar-punchclock span.glyphicon-changeto-out {
	border-top-color: #378021;
	color: #378021;
}

.navbar-punchclock span.navbar-punchclock-txt {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
    line-height: 14px;
}

.navbar-punchclock .glyphicon-stopwatch {
    display: inline-block;
    cursor: pointer;
    padding: 1px;
    line-height: 20px;
    font-size: 20px;
}

/*
    dash accountinglines
*/
table#dash_accountinglines td:not(.left), table#dash_accountinglines th:not(.left) {
    text-align: right;
}

table#dash_accountinglines tr.small td {
    font-weight: 100;
    padding-top: 4px;
    padding-bottom: 4px;
}

table#dash_accountinglines tr.hidden_tr td {
    visibility: hidden;
    font-size: 0;
    padding: 0;
    border: 0 none;
}

/*
    dash receipts
*/
table#dash_receipts small {
    opacity: 0.8;
    font-weight: 100;
}

table#dash_receipts .smaller td {
    padding: 1px;
    opacity: 0.8;
    font-size: 13px;
    font-weight: 200;
    text-align: center;
}

table#dash_receipts td.r {
    color: darkred;
}

table#dash_receipts td.rw {
    color: red;
}

table#dash_receipts td.g {
    color: green;
}

table#dash_receipts td.gw {
    color: #00BB00;
}

/*
    Times
*/
.timestabstyle td.frst, .timestabstyle th.frst {
    width: 140px;
    min-width: 140px;
}
.timestabstyle td.task, .timestabstyle th.task {
    min-width: 170px;
}

/*
    Yearplan
*/
#page-yearplan .filter-row2, #page-yearplan .filter-row3 {
    position: relative;
    top: -45px;
}
#page-yearplan .filter-btn2 {
    position: relative;
    top: 45px;
}

#monthplantab-wrapper {
    overflow-anchor: none;
}

.monthplantabstyle td.frst, .monthplantabstyle th.frst {
    width: 205px;
}

.monthplantabstyle td.sum, .monthplantabstyle th.sum {
    text-align: right;
    width: 60px
}

.monthplantabstyle td, .monthplantabstyle th {
    width: 73px;
    padding: 4px 2px;
    vertical-align: top;
    text-align: center;
}

.monthplantabstyle td canvas {
    vertical-align: top;
}

.monthplantabstyle .clearfix-full {
    display: block;
    min-height: 20px;
    width: 100%;
    padding-bottom: 7px;
}

.monthplantabstyle .icon-right {
    float: right;
}

.monthplantabstyle .icon-right .glyphicon {
    padding-left: 2px;
}

.monthplantabstyle label {
    margin-top: 1px;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 90%;
}

.monthplantabstyle .monthplancan, .monthplantabstyle .monthplandrgcan, .monthplantabstyle .monthplancompcan, .monthplantabstyle .monthplanno {
    width: 55px;
    height: 100px;
    margin: 0;
    padding: 0;
}

.monthplantabstyle .monthplancan, .monthplantabstyle :not(.connectedMonth_drop) .monthplandrgcan {
    cursor: pointer;
}

.monthplantabstyle .connectedMonth_drop .monthplandrgcan {
    cursor: grab;
}

.monthplantabstyle .connectedMonth_drop .ui-wrapper {
    float: left;
}

.monthplantabstyle .inline-block-container {
    float: left;
    width: 22%;
    text-align: center;
}
.monthplantabstyle .inline-block-container:first-child {
    float: left;
    width: 34%;
    text-align: center;
}
.monthplantabstyle .clearfix::after {
    content: "";
    display: table;
    clear: both;
}
.monthplantabstyle .inline-block-container .hours-title,
.monthplantabstyle .inline-block-container .hours-outline,
.monthplantabstyle .inline-block-container .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.monthplantabstyle .hours-title {
    margin: 2px 0 -10px 0;
    font-size: 90%;
}
.monthplantabstyle .hours-outline {
    border-radius: 4px;
    margin: 0 0 -11px 0;
    font-size: 90%;
}
.monthplantabstyle .hours-outline-annualaccount {
    border: 2px solid rgb(var(--annualaccount-color));
}
.monthplantabstyle .hours-outline-auditing {
    border: 2px solid rgb(var(--auditing-color));
}
.monthplantabstyle .hours-outline-consultation {
    border: 2px solid rgb(var(--consultation-color));
}

#monthDetailModal .modal-body {
    min-height: 80vh;
    max-height: calc(95vh - 100px);
    overflow: auto;
}

/*
    Receipts - receiptstab
 */
.receiptstabstyle th.type_staff, .receiptstabstyle td.type_staff {
    width: 20px;
}
.receiptstabstyle th.support, .receiptstabstyle td.support {
    width: 90px;
}
.receiptstabstyle th.client_name, .receiptstabstyle td.client_name {
    word-break: break-word;
    overflow-wrap: anywhere;
}


/*
    Clients - clientstab
*/
.clientstabstyle td.frst, .clientstabstyle th.frst {
    width: 210px;
    min-width: 180px;
}

.clientstabstyle th.bookkeeping, .clientstabstyle td.bookkeeping, .dash_yearstyle tr.bookkeeping {
    cursor: default;
    background-color: rgba(var(--bookkeeping-color), 0.4);
}
.clientstabstyle th.payroll, .clientstabstyle td.payroll, .dash_yearstyle tr.payroll {
    cursor: default;
    background-color: rgba(var(--payroll-color), 0.4);
}
.clientstabstyle th.annualaccount, .clientstabstyle td.annualaccount, .dash_yearstyle tr.annualaccount {
    cursor: default;
    background-color: rgba(var(--annualaccount-color), 0.4);
}
.clientstabstyle th.auditing, .clientstabstyle td.auditing, .dash_yearstyle tr.auditing {
    cursor: default;
    background-color: rgba(var(--auditing-color), 0.4);
}
.clientstabstyle th.consultation, .clientstabstyle td.consultation, .dash_yearstyle tr.consultation {
    cursor: default;
    background-color: rgba(var(--consultation-color), 0.4);
}

.dash_yearstyle tr.bookkeeping:hover {
    background-color: rgba(var(--bookkeeping-color), 0.6);
}
.dash_yearstyle tr.payroll:hover {
    background-color: rgba(var(--payroll-color), 0.6);
}
.dash_yearstyle tr.annualaccount:hover {
    background-color: rgba(var(--annualaccount-color), 0.6);
}
.dash_yearstyle tr.auditing:hover {
    background-color: rgba(var(--auditing-color), 0.6);
}
.dash_yearstyle tr.consultation:hover {
    background-color: rgba(var(--consultation-color), 0.6);
}

.update-nightly-client-iframe {
    border: 1px solid rgb(229, 229, 229);
    border-radius: 10px;
    position: fixed;
    top: 60px;
    margin-left: 300px;
}

/*
    Staff - fulltextsearchtab
*/
#fulltextsearchtab-wrapper {
	position: relative;
	max-height: calc(100vh - 280px);
	overflow-y: auto;
	padding-top: 20px;
	padding-left: 30px;
	padding-right: 30px;
}

/* Let floatThead work with a normal table */
#fulltextsearchtab {
	width: 100%;
	border-collapse: collapse;
	table-layout: auto; /* or fixed, see note below */
}

/* --- Column widths --- */

#fulltextsearchtab td.nam,
#fulltextsearchtab th.nam {
	min-width: 150px;
	max-width: 300px;
}

#fulltextsearchtab td.per,
#fulltextsearchtab th.per {
	min-width: 200px !important;
	max-width: 200px !important;
}

#fulltextsearchtab td.dat,
#fulltextsearchtab th.dat {

	min-width: 100px;
	max-width: 100px;
}

#fulltextsearchtab td.open-link,
#fulltextsearchtab th.open-link {
	min-width: 40px;
	max-width: 40px;
}

/* Let text in nam columns wrap nicely */
#fulltextsearchtab td.nam {
	white-space: normal;
	overflow-wrap: break-word;
}


.btn-in-dropdown-menu {
    width: 220px;
    text-align: left;
    color: #555555;
}
#modal-edit div.radio-inline {
    margin-right: 1em;
}

/* sortable drag and drop */
.sortable-ghost {
    opacity: 0.5;
}
.sortable-chosen {
    background-color: #e0e0e0;
}

/* Slim scrollbar */
.scrollable-div::-webkit-scrollbar {
    width: 6px; /* Slim width by default */
    transition: width 0.3s ease; /* Smooth transition for width */
}

/* Wider scrollbar on hover */
.scrollable-div:hover::-webkit-scrollbar {
    width: 8px; /* Width increases on hover */
}

/* Track styling */
.scrollable-div::-webkit-scrollbar-track {
    background: #f1f1f1; /* Light grey track */
    border-radius: 10px;
    width: 8px; /* Width increases on hover */
}

/* Handle styling */
.scrollable-div::-webkit-scrollbar-thumb {
    background-color: #ccc; /* Grey handle */
    border-radius: 10px;
    border: 1px solid #f1f1f1; /* Padding around the handle */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

/* Hover effects on the scrollbar thumb */
.scrollable-div:hover::-webkit-scrollbar-thumb {
    background-color: #999; /* Darker grey when the scroll area is hovered */
}

/* For Firefox */
.scrollable-div {
    scrollbar-width: thin; /* Default thin scrollbar */
    scrollbar-color: #ccc #f1f1f1; /* Thumb and track colors */
}

/* To increase width on hover for Firefox */
@-moz-document url-prefix() {
    .scrollable-div {
        scrollbar-width: thin; /* Slim scrollbar by default in Firefox */
    }
    .scrollable-div:hover {
        scrollbar-width: auto; /* Wider scrollbar on hover for Firefox */
    }
}

/* A pulsate effect */
@keyframes pulsate {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 0.8;
    }
}

.pulsate {
    animation: pulsate 250ms infinite ease-in-out;
}

.ellipsis-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2; /* Number of lines to show */
    max-height: 3em; /* Adjust based on line height */
    line-height: 1.5em; /* Must match your font's line height */
}

#clients_hours_edit_table {
    min-height: calc(100vh - 290px);
}

.full-width-breakout {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 15px 30px;
}
