html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: "Glyphicons Halflings";
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.container {
    width: 100%;
}

.panel-heading-lower {
    padding: 3px 5px;
    height: 30px;
}
.btn-sm2 {
    padding: 1px 5px;
}

.col-xs-125 {
    width: 12.5%;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    float: left;
}

.floated {
    /*    position: fixed;
    top:150px;
    margin-top:50px;
    top:50px;
    z-index: 999999999999;*/
}

#logobg {
    background: url(/AP_logo_oneline_grey2Z.png?ver=2) no-repeat center center;
    height: 119px;
    background-size: cover;
    /*width:100%;*/
}

.img-logo {
    max-width: 300px;
    margin: 0 auto;
}

/* bootstrap styles redone a little bit */
.navbar-nav > li > a {
    font-size: 13px;
}

.btn {
    border-radius: 0px;
}

a {
    color: #656c74;
}

.btn-success {
    background-color: #656c74;
    border-color: #656c74;
    color: #fff;
}

.btn-success:focus,
.btn-success.focus {
    background-color: #555a5f;
    border-color: #656c74;
    color: #fff;
}
.btn-success:hover {
    background-color: #555a5f;
    border-color: #656c74;
    color: #fff;
}

.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
    background-color: #555a5f;
    border-color: #656c74;
    color: #fff;
}

.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success.focus:active,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
    background-color: #555a5f;
    border-color: #656c74;
    color: #fff;
}

.btn-info {
    background-color: #edcebf;
    border-color: #eabaa2;
    color: #656c74;
}

.btn-info:focus,
.btn-info.focus {
    background-color: #eabaa2;
    border-color: #edcebf;
    color: #656c74;
}
.btn-info:hover {
    background-color: #eabaa2;
    border-color: #edcebf;
    color: #656c74;
}

.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
    background-color: #eabaa2;
    border-color: #edcebf;
    color: #656c74;
}

.btn-danger {
    background-color: #eb6965;
    border-color: #d43f3a;
    color: #fff;
}

.btn-danger:focus,
.btn-danger.focus {
    background-color: #d43f3a;
    border-color: #d43f3a;
    color: #fff;
}
.btn-danger:hover {
    background-color: #d43f3a;
    border-color: #d43f3a;
    color: #fff;
}

.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
    background-color: #d43f3a;
    border-color: #d43f3a;
    color: #fff;
}

.hdanger {
    color: #d43f3a;
}

.btn-primary {
    background-color: #bfd7b1;
    border-color: #bfd7b1;
    color: #656c74;
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: #a7d78b;
    border-color: #a7d78b;
    color: #656c74;
}
.btn-primary:hover {
    background-color: #a7d78b;
    border-color: #a7d78b;
    color: #656c74;
}

.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: #a7d78b;
    border-color: #a7d78b;
    color: #656c74;
}

.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary.focus:active,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    background-color: #a7d78b;
    border-color: #a7d78b;
    color: #656c74;
}

.btn-warning {
    background-color: #f8e7b2;
    border-color: #f8e7b2;
    color: #656c74;
}

.btn-warning:focus,
.btn-warning.focus {
    background-color: #f8d873;
    border-color: #f8d873;
    color: #656c74;
}
.btn-warning:hover {
    background-color: #f8d873;
    border-color: #f8d873;
    color: #656c74;
}

.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
    background-color: #f8d873;
    border-color: #f8d873;
    color: #656c74;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #656c74;
    border-color: #656c74;
    color: #fff;
    cursor: default;
    z-index: 2;
}

.pagination > li > a,
.pagination > li > span {
    background-color: #fff;
    border: 1px solid #ddd;
    color: #656c74;
    float: left;
    line-height: 1.42857;
    margin-left: -1px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #555a5f;
    text-decoration: underline;
}

.navbar-inverse {
    background-color: #656c74;
    border-color: #656c74;
    color: #fff;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #555a5f;
    color: #fff;
}
.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

.table-striped > tbody > tr:nth-of-type(2n + 1) {
    background-color: #f5f5f5;
}

@font-face {
    font-family: "avenirs"; /*a name to be used later*/
    src: url("/AvenirNext-Regular.ttf"); /*URL to font*/
}

@font-face {
    font-family: "avenirsbold"; /*a name to be used later*/
    src: url("/AvenirNext-DemiBold.ttf"); /*URL to font*/
}

body {
    font-family: "avenirs";
}

h1,
h2,
h3,
h4,
h5,
th {
    font-family: "avenirsbold";
}

th {
    letter-spacing: 1px;
}

.centerbirks {
    text-align: center;
    vertical-align: middle !important;
}

.birkasskaits {
    width: 60px !important;
    text-align: center;
}

.parosanasinfo > thead > tr > th,
.parosanasinfo > tbody > tr > td {
    text-align: center;
    vertical-align: middle;
}

.iepirksanas-btni > button,
.iepirksanas-btni > span > button {
    width: 220px;
    margin-top: 10px;
}

.iepirksanas-btni {
    text-align: left;
}

.iepirksanas-fieldlauki > label,
.iepirksanas-fieldlauki > span > label {
    padding: 10px;
    font-size: 15px;
    min-width: 280px;
}

.iepirksanas-fieldlauki > select,
.iepirksanas-fieldlauki > span > select {
    width: 300px !important;
}

.iepirksanas-fieldlauki > input,
.iepirksanas-fieldlauki > span > input {
    width: 300px !important;
}

.iepirksanas-fieldlauki > input,
.iepirksanas-fieldlauki > span > input {
    width: 300px !important;
}

.iepirksanas-fieldlauki > input[type="checkbox"],
.iepirksanas-fieldlauki > span > input[type="checkbox"] {
    width: auto !important;
}

#citilietas > label,
#citilietas > .papaspan > label,
.labelers {
    min-width: 160px;
    text-align: right;
    margin-right: 10px;
    margin-top: 8px;
}

.label_small {
    min-width: 60px !important;
}

.label_md {
    min-width: 115px !important;
}

#citilietas > input,
#citilietas > .papaspan > input {
    min-width: 320px;
}

.papaspan2 > input {
    min-width: 220px !important;
}

#citilietas > input[type="number"],
#citilietas > .papaspan > input[type="number"] {
    width: 75px;
    min-width: 55px !important;
}

#citilietas > input.ceniks,
#citilietas > .papaspan > input.ceniks {
    width: 75px;
    min-width: 55px !important;
}

.no-daudzums-value {
    /*background-color: rgb(175, 175, 175);*/
}

.required_dokumenti_field_danger {
    border-color: red;
}

.success_clr {
    background-color: #dff0d8;
    padding: 5px;
}

.warning_clr {
    background-color: #fcf8e3;
    padding: 5px;
}

.danger_clr {
    background-color: #f2dede;
    padding: 5px;
}

.remaining_clr {
    background-color: #e1c6ff;
    padding: 5px;
}

.dangervesture,
.dangervesture:focus {
    border: 2px solid red;
}

.successvesture,
.successvesture:focus {
    border: 2px solid green;
}

.table-kolekcijas-aprekins > tbody > tr > td > div > .help-block {
    display: none !important;
}

.table-kolekcijas-aprekins > tbody > tr > td > div.form-group {
    margin-bottom: 0px !important;
}

.hidden-notif {
    display: none;
}

.table-stickhead > thead > tr > th {
    background-color: white;
}

.table-stickhead-new > thead > tr > th {
    position: sticky;
    top: 50px;
    background-color: white; /* Ensure the header is not transparent */
    z-index: 100; /* Ensure the header is above other content */
}

.table-stickhead-new-thead > thead {
    position: sticky;
    top: 50px;
    background-color: white; /* Ensure the header is not transparent */
    z-index: 100; /* Ensure the header is above other content */
}

.apgreen {
    background-color: #bfd7b1 !important;
}

.apred {
    background-color: #e6b8af !important;
}

.apblue {
    background-color: #cfe2f3 !important;
}

.apgray {
    background-color: #c0c0c0 !important;
}

.table-rel2 > thead > tr > th,
.table-rel2 > tbody > tr > td {
    border: 2px solid black;
}

.dati_kopa > td,
.dati_kopa > th {
    font-weight: bold;
    font-size: 18px;
    background-color: #e0e0e0 !important;
}

.dati_kopa2 > td,
.dati_kopa2 > th {
    font-weight: bold;
    font-size: 16px;
    background-color: #e6b8af !important;
    border-top: 5px solid black !important;
}

[data-menesa-dati],
.precu_skaita_atlikums {
    cursor: pointer;
}

@media (min-width: 1000px) {
    .modal-big > .modal-dialog,
    .modal-big > .modal-dialog > .modal-content {
        width: 1000px;
    }
    .modal-extra-big > .modal-dialog,
    .modal-extra-big > .modal-dialog > .modal-content {
        width: 1000px;
    }
}

@media (min-width: 1300px) {
    .modal-extra-big > .modal-dialog,
    .modal-extra-big > .modal-dialog > .modal-content {
        width: 1300px;
    }
}


.kopa_msingle > td {
    font-size: 18px;
    font-weight: bold;
}

.not_this_year {
    display: none;
}

.not_this_year_maks {
    display: none;
}

.kv-grid-table > thead > tr > th,
.kv-grid-table > thead > tr > td {
    background-color: white;
}

.nomargins {
    margin-left: 0px !important;
    margin-right: 0px !important;
    padding-left: 3px !important;
    padding-right: 3px !important;
}

.edit_btns_for_checked {
    display: none;
}

.pardosana-apgerbs-meklesanas-rezultats,
.pardosana-klients-meklesanas-rezultats {
    cursor: pointer;
}

.pardosana-apgerbs-meklesanas-rezultats:hover,
.pardosana-klients-meklesanas-rezultats:hover {
    background-color: #c1c1c1 !important;
}

.table-newstyle > tbody > tr > th,
.table-newstyle > thead > tr > th {
    background-color: #f5f5f5;
    vertical-align: middle;
    font-weight: bold;
}

.slide-up-alert {
    position: fixed;
    top: 40%;
    left: 43%;
    z-index: 2;
    display: none;
    padding: 30px;
    opacity: 85%;
    font-size: 20px;
}

.invis {
    display: none;
}

.waitingstuffs {
    z-index: 99999;
    position: absolute;
    top: 10%;
    left: 40%;
}

.table-newstyle > tbody > tr > th {
    background-color: #f5f5f5;
    width: 200px;
}

.medium-width {
    max-width: 250px !important;
}

.med-width {
    min-width: 100px !important;
}

.table-notstriped > tbody > tr > th {
    background-color: white;
}

.table-notstriped > tbody > tr > td {
    background-color: #f5f5f5;
}

.table-apstyle > tbody > tr > th {
    background-color: #f0f0f0;
    width: 70px;
}

.table-apstyle-wide > tbody > tr > th {
    width: 150px;
}

.apizm {
    width: 75px !important;
    text-align: center;
}

.table-apstyle2 > tbody > tr > th {
    background-color: #e0e0e0 !important;
    font-weight: bold;
    width: 200px;
    vertical-align: middle;
}

.table-apstyle2 > tbody > tr {
    border: 2px solid #c0c0c0 !important;
}

.tuksa_dk {
    /*background-color: #f0f0 !important;*/
    opacity: 0.5 !important;
}

.th-sm-wd {
    width: 80px !important;
}

.kv-grid-table > thead > tr > th {
    background-color: #f2dede !important;
}

.table-bordered > thead > tr > th {
    background-color: #f2dede !important;
}

.superartikuls {
    cursor: pointer;
}

#w0-container {
    overflow-x: visible;
}

.kategorijas-th {
    display: none;
}

.extra_counteris_davanu-kartes {
    display: none;
}

.pardosana_izm_label {
    display: none;
}

.table-uzsk-plusminus > tbody > tr > th {
    vertical-align: middle;
}

.uzsk-meklesanas-rezultats {
    cursor: pointer;
}

.btn-back-to-top-ap {
    position: fixed;
    bottom: 0;
    /*left: 0;*/
}
.btn-back-to-bottom-ap {
    position: fixed;
    bottom: 0;
    left: 33px;
    /*left: 0;*/
}

.nu-i-suud {
    color: white;
    background-color: red;
    border-color: red;
}

.text-left {
    text-align: left;
}

/* questionaire */
div.edt-question {
    padding: 10px;
}

.answerInput {
    max-width: 500px;
    display: inline-block;
}

/* 767px */
@media (min-width: 767px) {
    .kv-table-header {
        top: 50px;
    }
}

.q_increase_order,
.q_decrease_order,
.crmFill_increase_order,
.crmFill_decrease_order {
    cursor: pointer;
}

.v-mid {
    vertical-align: middle;
}

.neredzams {
    display: none;
}

.loader {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.notifikacija-izdarita {
    font-size: 12px;
}
.notifikacija-izdarita td {
    /* font-size: 12px; */
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

[data-edt-answer] {
    cursor: pointer;
}

.text-right {
    text-align: right;
}

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

.custom-action-buttons {
    text-wrap: nowrap;
    width: 92px;
}

.notifikacija-izdarits {
    background-color: #f5f5f5;
}

.kl-view-tbl > tbody > tr > td:first-child {
    width: 180px;
}

.no-wrap {
    white-space: nowrap;
}

.table-nobold > tbody > tr > th {
    font-weight: normal !important;
    font-family: "avenirs";
}

@media (min-width: 479px) {
    .custom-serial-column {
        max-width: 30px;
    }
}

.sticky-table {
    width: 100%;
    border-collapse: collapse;
}

.sticky-table .sticky-column {
    position: -webkit-sticky; /* for Safari */
    position: sticky;
    background-color: white; /* To ensure the sticky column and header have a background */
    z-index: 1; /* To ensure it is above other cells */
}

.sticky-table .sticky-column {
    left: 0;
}

.img-laundry-ikonas {
    width: auto;
    height: 50px;
    padding: 2px;
}

.img-laundry-ikonas-pick {
    cursor: pointer;
}

.img-laundry-ikonas-pick:hover {
    background-color: #e1e1e1;
    border-radius: 5px;
}

.img-laundry-ikonas-pick.selected {
    background-color: #c1c1c1;
    border-radius: 5px;
}

.laundry-smaller > img {
    height: 40px !important;
}

[data-audums_id] {
    cursor: pointer;
    color: #337ab7;
    text-decoration: underline;
}

.equal-height-row {
    display: table;
    width: 100%;
    table-layout: fixed;
}
.equal-height-col {
    display: table-cell;
    float: none;
    vertical-align: top;
}
.content-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.content-item {
    flex-grow: 1;
    margin-bottom: 5px;
}

.fileinput-remove-button {
    background-color: #eb6965 !important;
    border-color: #d43f3a !important;
}

.btn-file {
    background-color: #007bff !important;
    border-color: rgb(86, 89, 185) !important;
    color: white !important;
}

.aprekins_atlikums {
    font-size: 12px;
}

.table-aprekins-2 > tbody > tr > th {
    vertical-align: middle;
}

.table-aprekins-2 > tbody > tr > td > .form-control {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    padding:2px !important;
    margin: 0px !important;
    height: auto !important;
    text-align: center !important;
}

.toggler-target {
    display: none;
}

.crm_toggler_client {
    display: none;
}

.text-sm {
    font-size: 12px;
}

.atelier-rekins-data {
    width: 30px;
    display: none;
}

.hover-pointer {
    cursor: pointer;
}

.hover-pointer:hover {
    text-decoration: underline;
    color: #656c74;
}

.vertical-text {
    writing-mode: sideways-lr;
    /* transform: rotate(-90deg);
    transform-origin: left top; */
}


