html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

.hidden {
    visibility: none;
    height: 0;
    overflow: hidden
}

.small {
    font-size: .8em
}

.text-muted {
    color: gray
}

html,
body,
#map {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-style: normal;
    font-weight: 400;
    background: #ccc;
    background-size: 30px 30px;
    background-image: linear-gradient(to right, #c4c4c4 1px, transparent 1px), linear-gradient(to bottom, #c4c4c4 1px, transparent 1px)
}

body {
    /*padding-top: 20px;
padding-top: env(safe-area-inset-top);*/
    border-top: solid 0 #000;
    border-top-width: env(safe-area-inset-top);
}


/* UI */

.flex {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
}

.flex-grow {
    flex-grow: 1
}

.shadow {
    -webkit-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}

.rounded {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px
}

a {
    color: #0275d8;
    text-decoration: none
}

.credits {
    text-align: center;
    color: gray;
    font-size: .9em;
    margin-top: 10px
}

.credits span {
    font-size: .9em;
    color: #b3b3b3
}

.ol-control button:focus,
.ol-control button:hover {
    background: #eee
}

.s-loader {
    text-align: center;
    font-size: .8em;
    padding: 20px 0
}

.s-loader>i {
    color: #eee;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
}

.s-loader>i:nth-child(1) {}

.s-loader>i:nth-child(2) {
    -webkit-animation-delay: .5s;
    animation-delay: .5s;
}

.s-loader>i:nth-child(3) {
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        color: #eee
    }
    50% {
        color: #ccc
    }
    100% {
        color: #eee
    }
}


/* BUTTONS */

.btn {
    border: solid 1px #f2f2f2;
    display: inline-block;
    padding: 1px 5px;
    color: #666;
    text-align: center;
    min-width: 24px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
}

.btn:hover {
    border-color: #999;
    border-bottom-color: #000;
    -webkit-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 1px 1px 0px rgba(0, 0, 0, 0.2);
    color: #000;
    background-color: #f2f2f2
}

.btn:active {
    background-color: #ccc
}


/* MAIN */

.c {
    background-color: #fff;
    height: 100%;
}

.c-map-header,
.c-map-footer {
    position: absolute;
    z-index: 90;
    width: 100%
}

.c-map-header-bg {
    background: #fff;
    margin: 7px;
}


/* - search */

.c-map-header-s {
    z-index: 290;
    top: 10px;
    left: 50px;
    color: white;
    height: 50px;
    text-align: center;
    line-height: 50px;
    text-align: left;
}

.c-map-header-s input {
    border: none;
    font-size: 1em
}

.c-map-header-s a {
    width: 50px;
    text-align: center;
}

#searchform .fa-search {
    line-height: 50px;
    width: 50px;
    text-align: center;
    color: #777;
}

#searchresultslist {
    background: #fff;
    width: 96%;
    position: absolute;
    top: 58px;
    left: 7px;
    border-radius: 4px;
}

#searchresultslist ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

#searchresultslist ul li {
    color: #333;
    padding: 0 20px;
    line-height: 35px;
    border-bottom: 1px solid #ddd;
}

#searchresultslist ul li a.s-r {
    width: 100%;
    text-align: left;
    padding: 0;
}


/* - sidebar */

.c-t {
    background-color: rgb(245, 245, 245);
    width: 20%;
    min-width: 300px;
    z-index: 100;
    overflow-y: scroll;
    position: absolute;
    height: 90vh;
}

.c-t-h {
    background: #fff;
    border-bottom: solid 1px #ccc
}

.c-t-h>div,
.c-t-h>a {
    line-height: 50px;
    height: 50px;
    width: 40px;
}

.c-t-h-collapse {
    width: 20px;
    text-align: center;
}


/* .c-t-h-logo {
    background: url('/css/images/logo.png') 4px 50% no-repeat;
    background-size: auto 30px;
    width: 100%;
} */

.c-map {
    width: 100%;
}

.sidebar>a.label {
    text-transform: uppercase;
    font-weight: 500;
    font-size: .8em;
    display: block;
    margin: 10px;
    margin-bottom: 5px;
    color: gray;
}

.sidebar>a.label i {
    float: right
}

.sidebar .sbtn {
    display: block;
    background: #fff;
    text-decoration: none;
    font-weight: 400;
    font-size: 1em;
    padding: 10px 15px;
    margin-bottom: 1px;
    color: #000;
    position: relative;
}

.sidebar .sbtn .onlyactive {
    visibility: hidden;
    position: absolute;
    top: 12px;
    right: 10px
}

.sidebar .sbtn.active {
    background: #f6f8f9;
    color: #2c98ac;
    font-weight: 500
}

.sidebar .sbtn.active .onlyactive {
    visibility: visible;
}

.c-t-menu {
    z-index: 300;
    top: 0;
    left: 0;
    color: gray;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
}

.ol-zoom {
    top: 70px;
}

.ol-control button.zoomtobtn {
    background-image: url('/img/zoomto.svg');
}

.ol-rotate {
    top: 108px
}

.ol-setmarkertoextent {
    top: 140px;
    left: 8px
}

.ol-control {
    padding: 0
}


/* sidebar collapsed */

.c-t.collapsed {
    display: none;
    width: 0;
}

.c-t.collapsed a.sbtn {
    text-align: center;
    line-height: 20px;
}

.c-t.collapsed a.sbtn span {
    display: none
}

[data-simplebar] {
    z-index: 1000 !important
}


/* ol theme */

.ol-control {
    background-color: rgba(0, 0, 0, .1)
}

.ol-control button {
    background: #fff;
    color: #000
}


/* modal */

.mm {
    padding-bottom: 35px
}

.m-c {
    visibility: hidden;
    height: 0;
    pointer-events: none;
    overflow: hidden
}

.m-cw {
    border-bottom: solid 1px #eee
}

.m-c.s {
    visibility: visible;
    pointer-events: initial;
    height: initial;
    overflow: visible;
}

.m-c-l {
    flex: 0 0 50px;
    min-height: 50px;
    line-height: 50px;
    width: 50px;
    font-size: 40px;
    text-align: center;
    color: #208fa3
}

.m-c-attr,
.m-c-maps-container {
    width: 50%;
    font-size: .9rem
}

.m-c-maps-container {
    padding: 5px;
    margin-top: 5px;
}

.m-c-maps-container .l {
    font-weight: 700;
    font-size: .75em;
    text-transform: uppercase;
}

.mc-btns {
    margin: 10px;
    text-align: center;
}

.mc-btns a {
    margin-bottom: 4px
}

.m-c.fw .m-c-attr {
    width: 100%;
}

.m-c-attr {
    padding: 5px
}

.m-c-t {
    text-align: center;
    padding: 5px;
}

.m-c-t1 {
    font-weight: 600;
    line-height: 1rem;
    margin-bottom: 5px;
}

.m-c-t2 {
    font-size: .9em;
}

.m-c-t2>span {
    color: gray
}

.m-c-attr div>span.l,
.m-c-attr div span.l {
    font-weight: 700;
    font-size: .75em;
    text-transform: uppercase;
}

.m-c-attr div>span.v {
    display: block
}


/* search */

.s {
    margin: 10px
}

.s-r {
    border-bottom: solid 1px #eee;
    padding: 10px;
    color: #333;
    font-size: .9em;
}

.modal__container {
    min-width: 100px !important;
    margin-top: calc( env(safe-area-inset-top) + 10px) !important;
    max-height: 90vh !important
}

.m-c-maps {
    /* margin-top: 10px; */
    background: #bfcacc;
    padding: 10px;
    -webkit-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: inset 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
}

.m-c-maps .ppinfo a {
    width: 100%;
    display: block;
    color: black;
    margin: 3px 0;
    text-align: left;
    background: #fff;
    border: solid 1px #fff;
}

#c_praster_lbl {
    color: gray;
}

#c_praster_lbl>span {
    color: green
}

.m-c-attr-btn>a {
    border: solid 1px #085f7b;
    display: inline-block;
    height: 46px;
    width: 46px;
    text-align: center;
    line-height: 41px;
    font-size: 20px;
    color: #085f7b;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
    margin-bottom: 4px;
}

.rendered_attrs_before {
    margin-top: 5px;
}

.rendered_attrs_after {
    margin-top: 10px
}


/* attrs */

.r_vrstaodluke {
    font-size: .9em;
    display: block
}

.r_vrstaodluke_5ad2e {
    color: green;
    font-weight: 600;
}

.r_vrstaodluke_3b4a7 {
    color: #d58a00;
    font-weight: 600;
}

.r_status {
    text-align: center;
    background: gray;
    color: #fff;
    display: inline-block;
    padding: 2px 6px;
    font-weight: 600;
    font-size: .9em
}

.r_gradopcina {
    text-align: center;
    background: gray;
    color: #fff;
    display: inline-block;
    padding: 2px 6px;
    font-weight: 600;
    font-size: .9em
}

.r_status_d9ed2 {
    background: green
}

.r_status_3b4a7 {
    background: orange
}

.backtobeginning {
    bottom: 25px;
    right: 7px;
}

.pgzinfo {
    bottom: 7px;
    left: 7px;
    width: 60px;
    height: 50px
}

.pgzinfo button {
    width: 58px;
    /* font-size: 18px !important; */
    font-size: 20px !important;
    line-height: 18px;
    height: 48px;
}

.pgzinfo.ol-control button {
    color: #0084ca;
}


/** Upute */

.modal__content.upute,
.modal__content.pristupacnost,
.modal__content.opodacima,
.modal__content.uvjetikoristenja {
    padding: 10px 20px;
}

.modal__content.upute span.icon,
.modal__content.pristupacnost span.icon,
.modal__content.opodacima span.icon,
.modal__content.uvjetikoristenja span.icon {
    height: 30px;
    width: 30px;
    float: left;
    margin-right: 10px;
    /* border: 1px solid #333; */
    border-radius: 3px;
    text-align: center;
    /* margin-top: 10px; */
}

.modal__content.upute span.icon.text,
.modal__content.pristupacnost span.icon.text,
.modal__content.opodacima span.icon.text,
.modal__content.uvjetikoristenja span.icon.text {
    font-size: 11px;
    line-height: 13px;
}

.modal__content.upute ol li,
.modal__content.pristupacnost ol li,
.modal__content.opodacima ol li,
.modal__content.uvjetikoristenja ol li {
    font-size: 14px;
    line-height: 20px;
    ;
}

.modal__content.upute ol li span.icon_in_text,
.modal__content.pristupacnost ol li span.icon_in_text,
.modal__content.opodacima ol li span.icon_in_text,
.modal__content.uvjetikoristenja ol li span.icon_in_text {
    width: 20px;
    height: 25px;
    display: inline-block;
}

.modal__content.upute ol li span.icon_in_text img,
.modal__content.pristupacnost ol li span.icon_in_text img,
.modal__content.opodacima ol li span.icon_in_text img,
.modal__content.uvjetikoristenja ol li span.icon_in_text img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.modal__content.upute ol li span.icon_in_text.text,
.modal__content.pristupacnost ol li span.icon_in_text.text,
.modal__content.opodacima ol li span.icon_in_text.text,
.modal__content.uvjetikoristenja ol li span.icon_in_text.text {
    font-size: 10px;
    line-height: 12px;
    border: 1px solid #333;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    width: 30px;
    height: 30px;
    text-align: center;
}

.modal__content.upute img.sc_img,
.modal__content.pristupacnost img.sc_img,
.modal__content.opodacima img.sc_img,
.modal__content.uvjetikoristenja img.sc_img {
    width: 100%;
    height: auto;
}

.opacityslidercontrol {
    position: absolute;
    padding-top: 18px;
    padding-left: 35px;
    padding-right: 35px;
    top: 70px;
    left: 60px;
    z-index: 91;
    width: 200px;
    background-color: rgba(242, 242, 242, .75);
    border-radius: 3px;
    height: 40px;
    height: 34px;
}

.opacityslidercontrol #opacitysliderlabel {
    left: 20%;
    /* top: -24px; */
    top: -27px;
    position: relative;
    font-size: 12px;
    z-index: -1;
    color: #000;
}

.opacityslidercontrol .active_map {
    position: absolute;
    top: -10px;
    left: 200px;
    /* height: 40px; */
    height: 34px;
}

.opacityslidercontrol .c-map-header-bg {
    background: #fff;
    margin: 9px;
    margin-top: 9px;
    margin-top: 11px;
    /* width: 41px; */
    width: 34px;
    text-align: center;
}

.opacityslidercontrol .c-t-menu {
    color: #000;
    /* width: 41px; */
    /* height: 40px; */
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 40px;
    line-height: 34px;
    display: block;
    font-size: 18px;
}

.opacityslidercontrol .range-handle {
    height: 20px;
    width: 20px;
    top: -9px;
}

.opacityslidercontrol .range-min,
.opacityslidercontrol .range-max,
.opacityslidercontrol #opacitysliderlabel {
    line-height: initial;
}

.opacityslidercontrol.hidden {
    visibility: none;
    height: 0;
    overflow: hidden;
    display: none;
}

.margin-bottom-zero {
    margin-bottom: 0px !important;
}

.margin-top-zero {
    margin-top: 0px !important;
}

.c-map-header {
    width: calc(100% - 80px);
}

.c-map .ol-control button.searchbtn {
    background-image: url('/img/search.svg');
    background-size: 40%;
    background-position: center;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
}

.ol-search {
    top: 10px;
    right: 8px;
}

.c-map-header-no-bg {
    margin: 7px;
}

#right_sidebar.collapsed {
    right: 0;
}

#right_sidebar {
    margin-top: 38px;
    background-color: #fff;
    z-index: 100;
    overflow-y: auto;
    position: absolute;
    right: -520px;
    top: 65px;
    height: calc( 100vh - 130px);
    width: 100%;
    max-width: 500px;
    -webkit-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.75);
    -webkit-border-radius: 4px;
    -moz-border-radius-bottom: 4px;
    border-radius: 4px;
}

.hidden {
    display: none;
}

#right_sidebar .rightsidebar-container {
    padding: 0 15px;
}

#right_sidebar.sidebar .sidebar_label {
    text-transform: uppercase;
    font-weight: 500;
    font-size: .8em;
    display: block;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    background: #eee;
    padding: 5px 10px;
    color: #777;
}

#right_sidebar .rightsidebar-container {
    padding: 0 15px;
}

#right_sidebar .sidebar_label i.fa-times {
    float: right;
    padding: 3px 5px;
}

#right_sidebar .mc-tabs .tab.active {
    border-bottom: solid 3px #005197;
}

#right_sidebar .mc-tabs .tab {
    text-align: center;
    padding: 10px;
    color: #000;
    text-transform: uppercase;
    margin-bottom: -1px;
    border-bottom: solid 3px transparent;
}

#right_sidebar .search_content {
    padding-top: 20px;
}

#right_sidebar .form-group {
    margin-bottom: 1rem;
}

#right_sidebar .form-label {
    display: inline-block;
    margin-bottom: .5rem;
}

#right_sidebar .form-button {
    flex: 0 auto;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    margin-right: 10px;
}

.form-select {
    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    -moz-padding-start: calc(0.75rem - 3px);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.advanced-search-result {
    background: white;
    padding: 10px;
    border: solid 1px #eee;
    line-height: 1.1em;
}

#ulica_result_text {
    padding: 4px;
}

#ulica_result_button {
    background-color: green;
    color: #fff;
    padding: 4px;
    font-size: .9em;
}

.hiddeni {
    visibility: none !important;
    height: 0;
    overflow: hidden;
    display: none !important;
}

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    border-color: #66afe9;
}

.select2-container--bootstrap .select2-selection--single {
    height: 34px !important;
    line-height: 1.42857143;
    padding: 6px 24px 6px 12px;
}

.select2-container--bootstrap .select2-selection {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    background-color: #fff;
    border: 1px solid #ccc;
    border-top-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    border-radius: 4px;
    color: #555;
    font-size: 14px;
    outline: 0;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    color: #555;
    padding: 0 !important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
    position: absolute;
    bottom: 0;
    right: 12px;
    top: 0;
    width: 4px;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    border-color: #999 transparent transparent;
    border-style: solid;
    border-width: 4px 4px 0;
    height: 0;
    left: 0;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 50%;
    width: 0;
}

.c-t-h>div {
    line-height: 23px;
    height: 50px;
    width: 40px;
}

.c-t-h-logo {
    background: url('/css/images/vidiplan.png') 4px 50% no-repeat;
    background-size: auto;
    background-size: auto 30px;
    width: 100%;
    padding-left: 40px;
    /* white-space: nowrap;
    overflow: hidden; */
    text-overflow: ellipsis;
    font-weight: bold;
    color: #4c8495;
}

.ol-scale-line.ol-unselectable {
    left: 25%;
    bottom: 23px;
}