@import url(https://fonts.googleapis.com/css?family=Raleway:200,400&subset=latin-ext);

html {
    zoom: 1;
}

body {
    font-family: Raleway, sans-serif;
    color: #000;
}

textarea {
    resize: none;
}

label.full-width {
    width: 100% !important;;
}

p.agreement,
div.agreement {
    line-height: 25px;
}

p.agreement-small,
div.agreement-small,
li.agreement-small {
    line-height: 13px;
    font-size: 10px;
}

ul.agreement li {
    font-size: 14px;
    line-height: 25px;
}

.h1, h1 {
    font-size: 20px;
}

.alert-container {
    position: fixed;
    z-index: 1000;
    width: 30%;
    margin: 10px 0 0 30px;
}

@media (min-width: 768px) {
    .h1, h1 {
        font-size: 26px;
    }
}

.w-5 {
    width: 5% !important;
}

.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-25 {
    width: 25% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}
.w-65 {
    width: 65% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-85 {
    width: 85% !important;
}

.w-90 {
    width: 90% !important;
}

table th {
    text-align: center;
}

table.table-striped th {
    text-align: left !important;
}

table td {
    word-wrap: normal;
    word-break: normal;
}

table td.no-break {
    word-break: normal;
}

table td.no-wrap {
    white-space: nowrap;
}

table td.sub {
    padding-left: 20px !important;
}

table td.sub:before {
    content: '\25b8 ';
}

label.required:after {
    content: '*';
}

ul.options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-filler {
    width: 100%;
    height: 50px;
}

span.glyphicon,
.btn .fa {
    padding: 0 5px;
}

.btn-sm .fa {
    padding: 0 !important;
}

.dashboard {
    margin-bottom: 30px;
}

.dashboard div {
    border: none;
    display: block;
    margin: 5px 0;
    position: relative;
}

.dashboard div a {
    border-radius: 5px;
    border: 1px solid #aaaaaa;
    padding: 5px 15px;
    font-size: 12px;
    display: block;
    width: 100%;
    height: 100%;
    -webkit-align-items: flex-start;
    -ms-flex-align: center;
    align-items: flex-start;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all .3s ease-in-out;
    color: #aaaaaa;
    z-index: 50;
}

.dashboard div.dashboard-orders a {
    background: #dedede;
    border-color: #777777;
    color: #777777;
}

.dashboard div.nd a {
    text-decoration: line-through;
}

.dashboard div:hover a {
    background: rgba(200, 200, 200, 0.5);
    color: #333333;
    text-decoration: none;
}

.dashboard div a span {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 25px;
    color: #dedede;
    z-index: 0;
}

@media (min-width: 768px) {
    .dashboard div a {
        font-size: 17px;
    }

    .dashboard div a span {
        font-size: 35px;
    }
}

.dashboard div:hover a span {
    color: #555555
}

.logged {
    float: right;
    padding: 15px 0;
}

.action-buttons a,
.action-buttons button {
    width: 100%;
    margin-bottom: 10px;
}

.bottom-spacer {
    margin-bottom: 30px;
}

button .fa {
    padding: 0 5px;
}

.jumbo-scheduler {
    max-width: 97vw;
    margin: 0 auto;
    padding: 0;
    background: none;
}

.scheduler th,
.scheduler td {
    font-size: 11px;
    padding: 5px 2px !important;
}
@media (min-width: 1200px) {
    .scheduler th,
    .scheduler td {
        font-size: 12px;
        padding: 6px 3px !important;
    }
}
.scheduler td {
    text-align: center;
    vertical-align: middle !important;
    word-wrap: normal;
    word-break: keep-all;
}

.scheduler td.name {
    text-align: left;
    word-wrap: normal;
    word-break: normal;
}

.scheduler td.holidays {
    background: #99ff99;
}

.scheduler td.leave {
    background: #dfdfdf;
}

.scheduler td.sickleave {
    background: #fff81c;
}

.scheduler .sat {
    background: #efefef;
}

.scheduler .sun {
    background: #ff9999;
}

.add-note-form {
    display: none;
}

.notes {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
}

.notes li {
    padding: 3px 0;
}

.form-group a.btn {
    margin-bottom: 3px;
    width: 100%;
}

@media (min-width: 768px) {
    .form-group a.btn {
        margin-bottom: 3px;
        width: auto;
    }
}

.warehouse {
    display: none;
}

.warehouse.in {
    display: table-row;
}

.warehouse td {
    font-size: 13px;
    background: #f3f3f3;
}

.wh-expand {
    cursor: pointer;
}

.wh-expand .wh-col {
    display: none;
}

.warehouse td.w.wh-name {
    padding-left: 25px;
}

.tab-pane {
    padding-top: 20px;
}

p.loading {
    text-align: center;
    font-size: 20px;
    color: #dddddd;
}

input.input-35 {
    width: 35px !important;
    text-align: center;
}

input.input-50 {
    width: 50px !important;
    text-align: center;
}

input.input-100p {
    width: 100%;
}

div.fab {
    display: none;
}

@media (min-width: 900px) {
    div.fab {
        display: block;
        position: fixed;
        bottom: 90px;
        right: 60px;
        z-index: 1000;
    }

    div.fab a {
        background: #337ab7;
        color: #ffffff;
        font-size: 40px;
        border-radius: 9999px;
        width: 55px;
        height: 55px;
        display: block;
        text-align: center;
        vertical-align: middle;
        box-shadow: 3px 3px 15px 0px #999;
    }
}

.panel-default {
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.panel-default .panel-heading {
    background: none;
    border-top: 1px solid #cccccc;
    border-radius: 0;
}

.panel-default .wh-act {
    font-weight: bold;
    background: #337ab7;
    color: #ffffff;
}

.panel-default .wh-act a {
    color: #ffffff;
}

td.option-icons a {
    font-size: 26px;
    padding: 2px 4px;
    display: inline-block;
    text-decoration: none;
}

table td.option-icons a {
    font-size: 22px;
}

table td.option-icons.small a {
    font-size: 18px
}

input.acpt-y {
    border-color: rgba(0, 200, 0, 0.5);
    background: rgba(0, 200, 0, 0.1);
}

input.acpt-n {
    border-color: rgba(200, 0, 0, 0.5);
    background: rgba(200, 0, 0, 0.1);
}

tr.new-task td {
    font-weight: bold;
}

.top-spacer-25 {
    margin-top: 25px;
}

.summary-box {
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 10px 20px;
    margin: 5px 0 15px 0;
}

.summary-box div {
    font-size: 14px;
}

.summary-box div span {
    font-weight: bold;
    font-size: 20px;
    margin-left: 10px;
}
@media (min-width: 1200px) {
    .summary-box div span {
        font-size: 25px;
        margin-left: 20px;
    }
}

.summary-box div.discount-accepted span {
    color: #008200
}

.summary-box div.discount-notaccepted span {
    color: #a82222;
}

.nav-tabs li a .tab-refresh {
    visibility: hidden;
    float: right;
    background: none;
    border: none;
    margin: 0;
}

.nav-tabs li.active a .tab-refresh {
    visibility: visible;
}
.nav-tabs>li>a {
    padding: 10px !important;
}

.element-relative {
    position: relative;
}

@media (min-width: 1000px) {
    .commission-fixed-headers {
        position: fixed;
        height: 150px;
        width: inherit;
        background: #fff;
        z-index: 100;
    }

    .commission-fixed-headers ul {
        background: #fff;
    }

    .commission-fixed-headers .row {
        width: inherit;
        background: #fff;
    }

    .tab-content.with-margin {
        margin-top: 190px;
    }

    .tab-content.with-margin.with-margin-approval {
        margin-top: 295px !important;
    }

    .tab-content.with-margin-monuments {
        margin-top: 140px;
    }
}

/* responsive tabs */

.tab-pane {
    padding: 15px 5px;
}

.responsive-tabs.nav-tabs {
    position: relative;
    z-index: 10;
    overflow: visible;
    border-bottom: none;
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs {
        border-bottom: 1px solid #ddd;
    }
}

.responsive-tabs.nav-tabs span.glyphicon {
    position: absolute;
    top: 14px;
    right: 22px;
}

.responsive-tabs.nav-tabs span.glyphicon.glyphicon-triangle-top {
    display: none;
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs span.glyphicon {
        display: none;
    }
}

.responsive-tabs.nav-tabs > li {
    display: none;
    float: none;
    text-align: center;
}

.responsive-tabs.nav-tabs > li:last-of-type > a {
    margin-right: 0;
}

.responsive-tabs.nav-tabs > li > a {
    margin-right: 0;
    background: #fff;
    border: 1px solid #DDDDDD;
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs > li > a {
        margin-right: 4px;
    }
}

.responsive-tabs.nav-tabs > li.active {
    display: block;
}

.responsive-tabs.nav-tabs > li.active a {
    border: 1px solid #DDDDDD;
    border-radius: 2px;
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs > li.active a {
        border-bottom-color: transparent;
    }
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs > li {
        display: block;
        float: left;
    }
}

.responsive-tabs.nav-tabs.open span.glyphicon.glyphicon-triangle-top {
    display: block;
}

@media (min-width: 1000px) {
    .responsive-tabs.nav-tabs.open span.glyphicon.glyphicon-triangle-top {
        display: none;
    }
}

.responsive-tabs.nav-tabs.open span.glyphicon.glyphicon-triangle-bottom {
    display: none;
}

.responsive-tabs.nav-tabs.open > li {
    display: block;
}

.responsive-tabs.nav-tabs.open > li a {
    border-radius: 0;
}

.responsive-tabs.nav-tabs.open > li:first-of-type a {
    border-radius: 2px 2px 0 0;
}

.responsive-tabs.nav-tabs.open > li:last-of-type a {
    border-radius: 0 0 2px 2px;
}

@media (min-width: 768px) {
    .table-fixed thead {
        width: 650px;
    }
}

@media (min-width: 992px) {
    .table-fixed thead {
        width: 870px;
    }
}

@media (min-width: 1200px) {
    .table-fixed thead {
        width: 1070px;
    }
}

/* table fixed */
@media (min-width: 1000px) {
    .table-fixed {
        margin-top: -27px;
    }

    .table-fixed.approval {
        margin-top: -35px;
    }

    .table-fixed tbody {
        /*max-height: 55vh;*/
        overflow-y: auto;
        width: 100%;
        margin-top: 40px;
    }

    .table-fixed thead {
        position: fixed;
        width: 1070px;
        background: #ffffff;
    }

    .table-fixed tbody,
    .table-fixed tfoot,
    .table-fixed tr,
    .table-fixed td,
    .table-fixed th {
        display: block;
    }

    .table-fixed tr:after {
        content: "";
        display: block;
        visibility: hidden;
        clear: both;
    }

    .table-fixed tbody td,
    .table-fixed thead > tr > th,
    .table-fixed tfoot > tr > th {
        float: left;
    }
}

.editor {
    border: 1px solid transparent;
    outline: none;
}

.template-editor {
    border: 1px solid #bbbbbb;
    padding: 20px;
}

.edit-in-progress {
    border: 1px dashed #aaaaaa;
}

.editor-save {
    margin: 10px auto;
}

.editor-save.activated {
    display: block;
}


/* template editory styles */
.template-editor .w-50 {
    width: 50% !important;
    float: left;
}

/*ol {*/
/*list-style:none;*/
/*display: table;*/
/*}*/
/*ol > li:first-child {counter-reset: item;} !* reset counter *!*/
/*ol > li {*/
/*counter-increment: item;*/
/*display: table-row;*/
/*} !* increment counter *!*/
/*ol > li:before {*/
/*content:counters(item, ".") ".   ";*/
/*padding-right: 15px;*/
/*display: table-cell; !* aha! *!*/
/*text-align: right;*/
/*}*/

.commission-status-open {
    color: #2b669a;
    font-weight: bold;
}

.commission-status-inprogress {
    color: #ac2925;
    font-weight: bold;
}

.commission-status-nodata {
    font-weight: bold;
    background: #ac2925;
    color: #ffffff;
}

.commission-status-planned {
    color: #ffcc00;
    font-weight: bold;
}

.commission-status-closed {
    color: #000;
    font-weight: bold;
}

#statusFilter form {
    float: none;
    width: 80%;
    margin: 10px auto;
}

#statusFilter form input {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #statusFilter form {
        float: right;
        width: auto;
        margin: 0;
    }

    #statusFilter form input {
        margin-bottom: 0;
    }
}

#statusFilter .filter-but {
    margin-bottom: 5px;
}

#stuffModal .available-stuff-list {
    width: 100%;
    max-height: 50vh;
    overflow-x: hidden;
    overflow-y: visible;
    list-style: none;
}

.current-assignments ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.current-assignments ul li {
    padding: 5px 20px;
}

.current-assignments ul li a {
    padding: 5px;
    margin-right: 10px;
    color: #555555;
    font-size: larger;
}

.uploaded-documents {
    margin: 0;
    padding: 0;
    list-style: none;
}

.uploaded-documents li {
    padding: 10px 20px;
    border: 1px solid #dedede;
    border-left: 3px solid #dedede;
    margin: 0 0 3px 0;
}

.uploaded-documents li span {
    font-size: 11px;
}

.uploaded-documents li a {
    color: #dddddd;
    padding: 3px 5px;
    cursor: pointer;
}

.uploaded-documents li:hover {
    border-left-color: #aaaaaa;
}

.uploaded-documents li:hover a {
    color: #333333
}

.dead-name {
    background: #efefef;
    font-weight: bold;
}

.btn-group-spaceleft {
    margin-left: 10px;
}

.assign-user-button {
    float: right;
    margin-top: 7px;
    margin-right: 7px;
    width: 30px;
    height: 30px;
    text-align: center;
    padding: 6px 0;
    font-size: 12px;
    line-height: 1.42;
    border-radius: 15px;
}

#productTable a i.fa {
    margin-right: 5px;
}

.form-block-data {
    background: #f2f2f2;
    border-radius: 3px;
    padding: 10px;
    margin: 10px 0;
}

.form-control.error {
    border: 1px solid red;
}

.send-for-acceptance-button {
    display: none;
}

th.col-custom-5 {
    width: 5%;
}

th.col-custom-8 {
    width: 8%;
}

th.col-custom-9 {
    width: 9%
}

th.col-custom-11 {
    width: 11%;
}

th.col-custom-12 {
    width: 12%;
}

th.col-custom-15 {
    width: 15%;
}

th.col-custom-20 {
    width: 20%;
}
th.col-custom-35 {
    width: 35%;
}

.form-100-px {
    width: 100px !important;
}

.recipient {
    display: none;
}

.takeaway-collapse {
    display: none;
}

.takeaway-collapse.active {
    display: block;
}

.show-organization legend {
    cursor: pointer;
}

.show-organization label {
    font-weight: normal;
}

.description {
    font-size: 11px;
}

@media (max-width: 1250px) {
    .navbar-header {
        float: none;
    }

    .navbar-left, .navbar-right {
        float: none !important;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin-top: 7.5px;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-nav > li > a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .collapse.in {
        display: block !important;
    }
}

.tab-full {
    display: inline-block;
}

.tab-cut {
    display: none;
}

@media (min-width: 950px) and (max-width: 1200px) {
    .tab-full {
        display: none;
    }

    .tab-cut {
        display: inline-block;
    }
}

.alert.approval {
    margin-bottom: 0 !important;
}

.agreement-time-block {
    width: 150px;
    display: inline-block;
    font-weight: bold;
}

.agreement-time-block-label {
    width: 150px;
    display: inline-block;
    font-weight: normal;
}

.agreement-time-block-other {
    display: inline-block;
    font-weight: bold;
}

@media (min-width: 1000px) {
    .modal-lg {
        width: 1050px;
    }
}

.no-padding {
    padding: 8px 0 !important;
}

.no-padding input {
    padding: 6px !important;
}

select.full-width {
    width: 100% !important;
}
.no-border,
.no-border td,
.no-border th {
    border: none !important;
}

.body-takeaway {
    overflow: hidden;
    border-bottom: 2px solid #ddd;
    padding-bottom: 20px;
}

.invoice-filtering {
    border: 1px solid #ddd;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.invoice-filtering button,
.invoice-filtering button:focus {
    outline: 0 !important;
}
div.dataTables_processing {
    border: 1px solid #999999 !important;
    background: #efefef !important;
    font-weight: bold !important;
}
tr.querySelection {
    background: #e3e3e3;
}