html,
body {
    height: 100%;
}

.container-fluid {
    padding-top: 20px;
}

.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;*/
    display: inline-block;
    line-height: 1;
    padding-left: 5px;
    font-family: "Font Awesome 5 Free";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-weight: 900;
}

/* f0dd - down, f0de - up */
a.asc:after {
    content: "\f0de";
}

a.desc:after {
    content: "\f0dd";
}

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

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

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

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

.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;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.help-block {
    margin-top: 0px;
    margin-bottom: 0px;
}

.table-dd > tbody > tr > th, .table-dd > thead > tr > th {
    background-color: #e9ecef;
    vertical-align: middle;
    width: 170px;
}

.table-neatbilstibas-dd > tbody > tr > td {
    border-bottom: 3px solid gray;
    border-top: 3px solid gray;
}

.add_new {
    width: 50px;
}

.has-error > .help-block {
    color: red;
}

div[class^="form-group field-dadok"] {
    margin-bottom: 0px !important;
}

.tbl-add-new > tbody > tr > th {
    background-color: #e9ecef;
    vertical-align: middle;
}

.dd_megarow {
    border: 3px solid #e9ecef;
    border-radius:10px;
    margin-top: 1em;
}

.modal-big > .modal-dialog{
    max-width: 800px;
}

.choicer-div, .multichoicer-div {
    cursor: pointer;
}

.selected-choicer {
    background-color: #FFF3CD;
}

[data-tips="pamatbloks"].selected-choicer {
    background-color: #d4edda;
}

.dd_megarow > .paparow {
    border: 1px solid #e9ecef;
}
/*
.dzest-ierakstu {
    position: absolute;
    bottom: 5px;
    right: 5px;
}*/

.choicer-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.img-neatbilstibas {
    max-height: 500px;
    max-width: 500px;
}

.img-neatbilstibas-preview {
    max-height: 100px;
    max-width: 100px;
}

.uzsk-prieksmets-preview {
    border: 1px solid #dee2e6;
    display: block;
    padding:5px;
    border-radius:3px;
    min-height: 300px;
}

.uzsk-prieksmets-preview-ss {
    min-height: 100px;
}

.img-uzsk-prieksmets-preview {
    max-height: 250px;
    max-width: 250px;
}
.img-uzsk-prieksmets-preview-ss {
    max-height: 100px;
    max-width: 100px;
}

.sagade-preview {
    border: 1px solid #dee2e6;
    display: block;
    padding:5px;
    border-radius:3px;
    min-height: 150px;
}

.img-sagade-preview {
    max-height: 150px;
    max-width: 150px;
}


.img-piktograma-preview {
    max-height: 70px;
    max-width: 70px;
}

.pb-blokchoice {
    line-height: normal;
    padding-right: 40px;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.noversana_extra_hidden {
    display: none;
}

.successthumbers, .pievienots_parvietojamo_saraksta_alert {
    color: green;
}

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

@media(max-width:800px) {
    .slide-up-alert {
        top: 60px;
        left: 2%;
        font-weight: bold;
        width: 96%;
    }
}

.pb-not-parent {
    display: none;
    margin-left: 15px;
    border: none;
}

.pb-not-parent-initial-selected {
    display: block;
}

.mk-not-span {
    display: inline-block;
    font-size: 12px;
}

.p-choicer {
    margin-bottom: 0px;
}

.selected_placeholder {
    background-color: #d4edda;
    border-radius: 0.25rem;
    cursor: pointer;
    /*display: block;*/
    margin-top: 5px;

    line-height: normal;
    padding-right: 40px;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;

    border-color: #d6d8db;

    min-height: 40px;

    display: none;
}

@media(min-width:800px) {
    .meklet-aiziet-div {
        position: fixed;
        bottom: 10px;
        width: 100%;
        background: rgba(255, 255, 255, 0.9); /* Green background with 30% opacity */
    }
}

@media(min-width:800px) {
    .top-pievienot-btn {
        position: fixed;
        top: 10px;
        z-index:1050;
    }
}

@media(min-width:800px) {
    .top-pievienot-btns {
        position: fixed;
        top: 10px;
        z-index: 1050;
    }

    .top-pievienot-btns > .btn {
        margin-right:5px;
    }
}


tr.tr-but-park >td:first-child  {
    background-color: #FCF8E3;
}

.lomas-izveletajs {
    cursor: pointer;
    margin: 0 auto;
    margin-top: 10px;
    max-width: 400px;
}

.neatb-dd-info > span {
    font-weight: normal;
    font-size: 13px;
}

.tr-buv-noversts {
    background-color: #dff0d8;
}

.invalid-feedback {
    display: block !important;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

.pagination > li {
    display: inline;
}

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

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #337ab7;
    border-color: #337ab7;
}
.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
    color: #777;
    cursor: not-allowed;
    background-color: #fff;
    border-color: #ddd;
}

.vertseperator {
    margin-top: 5px;
    margin-left: 25px;
    color: #ddd;
    display: inline-block;
}

.col-danger {
    color: #dc3545 !important;
}

.col-warning {
    color: #ffc107 !important;
}

.col-success {
    color: #28a745 !important;
}

.btn-ieraksts-end {
    width: 35px;
}

.butisks_parkapums_span, .atkartots_parkapums_span {
    color:red;
    font-size:12px;
}

.neredzams {
    display: none;
}

.highlight {
    background-color: red !important;
}

.table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, .table-condensed > thead > tr > th, .table-condensed > thead > tr > td  {
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 4px;
    padding-right: 4px;
}

.table-dd2 > tbody > tr > th, .table-dd2 > thead > tr > th {
    background-color: #e9ecef;
    vertical-align: middle;
}

.ddgreen {
    color: #d4edda;
}

.ddgreenbg {
    background-color: #d4edda !important;
}

.ddredbg {
    background-color: rgba(225, 83, 97, 0.5) !important;
}

.btn-defaults {
    background-color: #c0c0c0;
}

.btn-defaults:hover {
    background-color: #d9d9d9;
}

.ddorangebg {
    background-color: #fff3cd !important;
}

.ddgraybg {
    background-color: #d6d8d9 !important;
}

.table-sp-bord > tbody> tr > td {
    border: 1px solid #b0b0b0 !important;
}

.table-pp-bord > tbody> tr > td {
    border: 1px solid #b0b0b0 !important;
}

.btn-sagade-tbl-toggle {
    display: none;
}

@media screen and (max-width: 600px) {
    table.mobiletbl thead > tr:first-child{
        display: none;
    }

    table.mobiletbl td {
        display: flex;
    }

    table.mobiletbl td::before {
        content: attr(label);
        font-weight: bold;
        width: 120px;
        min-width: 120px;
    }

    table.sagade-tbl thead {
        display: none;
    }

    .btn-sagade-tbl-toggle {
        display: none;
    }

    .btn-sagade-tbl-toggle {
        display: inline-block;
    }

    .sagade-tbl > thead > tr > th:nth-child(4) {
        display: none;
    }
    .sagade-tbl > thead > tr > td:nth-child(4) {
        display: none;
    }

    .sagade-tbl > thead > tr > th:nth-child(5) {
        display: none;
    }
    .sagade-tbl > thead > tr > td:nth-child(5) {
        display: none;
    }
}



.botbrder {
    border-bottom: 2px solid gray;
}

@media(max-width:600px) {
    .select2-container--krajee-bs4 {
        width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .kv-table-wrap th, .kv-table-wrap td {
        font-size: 1.2em !important;
    }
}

@media (min-width: 676px) {
    .modal-dialog {
        max-width: 670px;
        margin: 1.75rem auto;
    }
}

.mod-fullwidth {
    width: 98%;
    max-width: 98%;
}

.successthumbers_alert, .successthumbers_alert_noversts, .pievienots_parvietojamo_saraksta_alert {
    z-index: 999999999999;
}

.successthumbers_alert_saglabats {
    z-index: 999999999999;
    color: green;
}

.nav-pasutits-td {
    background-color: #dc3545 ;
    padding: 10px;
    color: white;
}

.objekti-izveles {
    margin-left: 0px;
    margin-right: 0px;
}

.objekti-izveles > div {
    border: 2px solid #343a40;
    border-radius: 3px;
    padding-top: 10px;
    cursor: pointer;
    text-align: center;
}

.btn-outline-dark {
  color: #343a40;
  border-color: #343a40;
}

.objekti-izveles > div:hover {
  color: #fff;
  background-color: #343a40;
  border-color: #343a40;
}

.objekti-izveles > div.active {
  color: #fff;
  background-color: #343a40 ;
  border-color: #343a40;
  font-weight: bold;
  letter-spacing: 1px;
}


.objekti-izveles > div > p {
    padding-bottom: 10px;
    margin-bottom: 0px;
}

.objekti-izveles {
    padding-bottom: 5px;
}

.objekti-content-holder {
    display: none;
}

.table-sagades-obj > tbody > tr > td {
    border: 2px solid #f9f9f9;
    vertical-align: middle;
}

.dok-neiesniegts {
    color: #C9A435;
}

.btn-preview-many-files, .btn-preview-many-files-tmp {
    color: #ffc107;
}

.table-sortable-grupas > tbody > tr, .table-sortable-jautajumi > tbody > tr{
    cursor: pointer;
}

.nowrap {
    white-space: nowrap;
}

.old_pp {
    display: none;
}

.file-types-neredzams {
    display: none;
}

.btn-uzsk-samewidth {
    width: 100%;
}

.grupa_row_child {
    display: none;
}

[data-grupas_obj_id] {
    cursor: pointer;
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.meklesanas_rezultati_tr {
    cursor: pointer;
}

.meklesanas_rezultati_tr:hover {
    background-color: #e9ecef;
}

.btn-uzsk-top > div {
    padding-bottom: 3px;
}

@media(max-width:600px) {
    .hide-on-mobile {
       display: none !important;
    }
}

@media(min-width:750px) {
    .btn-mobile-only {
        display: none;
    }
}

.disable-text-selection {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.table-responsive {
    overflow-x:visible !important; /* hmmmmmmmmmmmm */
}

.btn-xs, .btn-group-xs > .btn {
    padding: 0.15rem 0.25rem;
    font-size: 0.675rem;
    line-height: 1;
    border-radius: 0.1rem;
}

.parvietot-atlasitos-index-counter {
    font-weight: bold;
}

.of-arhivets {
    opacity: 0.5;
    background-color: #f0f0f0;
}

.deleted_el {
    background-color: #DC3545 !important;
}

.mailbulkbtn-obdok {
    width:135px;
}

/*.objekti-firmas-dokumentacija-tbody, .objekti-dokumentacija-tbody {
    display: none;
}*/

.dropdown-menu-right {
    right: 0 !important;
    left: auto !important;
}

.nb-papildus-komentars {
    margin-bottom: 1rem;
}

.tr-warning {
    background-color: #fff3cd;
}

.mr-2 {
    margin-right: 0.25rem !important;
}

.ml-2 {
    margin-left: 0.25rem !important;
}

.italic {
    font-style: italic;
}

.clear {
    clear: both;
}

[class*=" field-lietvediba-"] {
    margin-bottom: 0px !important;
}

.alert-danger {
    z-index: 99999999;
}

.alert-success {
    z-index: 99999999;
}

.text-italic {
    font-style: italic;
}

.datepicker-dropdown {
    z-index: 999999999 !important;
}

.form-control-sm {
    display:inline-block;
    width:auto;
}