html, body, #map {
    height: 100%;
    font: 10pt "Helvetica Neue", Arial, Helvetica, sans-serif;
}

body {
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#map {
    height: calc(100% - 3.6rem);
}

/* control */
.rotate-north {
    top: 20rem;
    left: .5em;
}

.ol-touch .rotate-north {
    top: 80px;
}

.ol-toolbar-left {
    position : absolute;
    top: 2em;
	left : .42em;
}

#adresSearchBtnId {
	top: 12rem;
	left: .6rem;
}

/* wymuszenie przeźroczystego tła pod kontrolkami OL (konkretnie chodzi o zoom) */
.ol-control, .ol-control:hover {
    background-color: rgba(0, 0, 0, 0);
}

.ol-scale-line {
    bottom: 3em;
}

/*
.ol-zoom:hover {
    background-color: rgba(0, 0, 0, 0);
} */

.ol-custom-overviewmap, .ol-custom-overviewmap.ol-uncollapsible {
	bottom: 65px;
	left: 65px;
}

/* .ol-custom-overviewmap:not(.ol-collapsed) button{
	bottom: 65px;
	left: 5px;
}*/

.ol-custom-overviewmap button{
	display: none;
} 
 
/* .ol-custom-overviewmap .ol-overviewmap-map {
	border: none;
	width: 200px;
} */

.ol-custom-overviewmap:not(.ol-collapsed)  {
	border: 1px solid black;
}

.ol-custom-overviewmap .ol-overviewmap-box {
	border: 2px solid red;
}

/* przycisk przejścia do pełnego ekranu */
.ol-full-screen {
    top: 50px;
    right: 10px;
}

/* floating button */
a {
    text-decoration: none;
}

.btn .fa .btn-floating {
    vertical-align: middle;
}

.btn-floating, .btn-floating.btn-flat.active, .btn:active, .btn:focus,
    .btn.hover {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, .18), 0 4px 15px 0
        rgba(0, 0, 0, .15);
}

.waves-effect {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    z-index: 1;
}

.btn-floating, .card .card-reveal .card-title, .card-wrapper .back .card-title
    {
    cursor: pointer;
}

.btn-flat, .btn-floating {
    position: relative;
    margin: 10px;
}

.btn-floating {
    z-index: 1;
    overflow: hidden;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    /*background-color: #a6c;*/
    -webkit-transition: .3s;
    transition: .3s;
    color: #fff;
    display: inline-block;
    vertical-align: middle;
}

/*
.btn-social-all {
    background-color: #436281;
}*/
.btn-zoom {
    /*background-color: red;*/
    
}

a.waves-effect, a.waves-light {
    display: inline-block;
}

a.btn-floating::before {
    border-radius: 0;
}

.btn-large i {
    font-size: 1.6rem;
}

.btn-floating.btn-primary i {
    font-size: 1rem;
}

.btn-floating.btn-secondary i {
    font-size: 1rem;
    line-height: 42px;
}

.btn-floating.btn-default i {
    font-size: 1rem;
    line-height: 42px;
}

.btn-floating.btn-info i {
    font-size: 1rem;
    line-height: 42px;
}

.btn-floating.btn-large i {
    font-size: 1rem;
    line-height: 45px;
}

.btn-floating i {
  width: inherit;
  display: inline-block;
  text-align: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 40px;
}

.fixed-action-btn.horizontal {
    padding: 0 0 0 15px;
}

.fixed-action-btn.horizontal ul {
    text-align: right;
    right: 64px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 100%;
    left: auto;
    width: 500px;
}

.fixed-action-btn.horizontal ul li {
	display: inline-block;
    margin: 15px 15px 0 0;
}

.fixed-action-btn ul li {
    margin-bottom: 15px;
}

ul:not(.browser-default) > li {
    list-style-type: none;
}

ul:not(.browser-default) {
    padding-left: 0;
    list-style-type: none;
}

.fixed-action-btn ul {
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
    bottom: 64px;
    margin: 0;
    visibility: hidden;
}

.fixed-action-btn {
    position: fixed;
    right: 23px;
    bottom: 23px;
    padding-top: 15px;
    margin-bottom: 0;
    z-index: 997;
}

/* Materialize */
/* .z-depth-0 {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.z-depth-1, nav, .card-panel, .card, .toast, .btn, .btn-large,
    .btn-floating, .dropdown-content, .collapsible, .side-nav {
    -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0
        rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0
        rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.z-depth-1-half, .btn:hover, .btn-large:hover, .btn-floating:hover {
    -webkit-box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0
        rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0
        rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.z-depth-2 {
    -webkit-box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0
        rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0
        rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
}

.z-depth-3 {
    -webkit-box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0
        rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0
        rgba(0, 0, 0, 0.12), 0 3px 5px -1px rgba(0, 0, 0, 0.3);
}

.z-depth-4, .modal {
    -webkit-box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px
        rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px
        rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3);
}

.z-depth-5 {
    -webkit-box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px
        rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px
        rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.3);
} */

/* Footer */
/* Sticky footer styles
-------------------------------------------------- */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* Set the fixed height of the footer here */
    height: 30px;
    line-height: 30px; /* Vertically center the text there */
    background-color: rgba(245, 245, 245, 0.9); /*#f5f5f5;*/
}

/* Custom page CSS
-------------------------------------------------- */
/* Not required for template or sticky footer method. */
body>.container {
    padding: 60px 15px 0;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

code {
    font-size: 80%;
}

/* poprawka stylu po dodaniu bootstrapu */
.fa {
    line-height: inherit;
}

.sidebar {
    box-sizing: content-box;
    -webkit-box-sizing: content-box;
    top: 4em;
    height: calc(100% - 3em - 4em);
}

/* korekta sidebara */
@media ( max-width : 991px) and (min-width: 768px) {
    .sidebar {
        width: 405px;
    }
}

/* layer tree*/
#tree {
    width: 100%;
}

.list-group.list-group-root {
    padding: 0;
    overflow: hidden;
}

.list-group.list-group-root .list-group {
    margin-bottom: 0;
}

.list-group.list-group-root .list-group-item {
    border-radius: 0;
    border-width: 1px 0 0 0;
}

.list-group.list-group-root>.list-group-item:first-child {
    border-top-width: 0;
}
/* 
.list-group.list-group-root>.list-group>.list-group-item {
    padding-left: 30px;
} */
.list-group.list-group-root>.list-group>.list-group>.list-group-item {
    padding-left: 45px;
}

.list-group-item .fa {
    margin-right: 5px;
}
/* ./layer tree*/
.navbarJarc3 {
    position: fixed;
}

.menuBackGroundJarc3 {
    background-color: rgba(0, 60, 136, .5) !important;
    /* rgba(161, 204, 201, 0.5) !important; */
}

.navbar-jarc3 { @extend .navbar;
    min-height: 3.7rem;
}

.pui-dialog, ::after, ::before {
    box-sizing: content-box;
}
 
.pui-dialog *, ::after, ::before {
    box-sizing: content-box;
}

.pui-dialog table td {
    font-size: 11px;
}

.pui-dialog .pui-fieldset-legend {
    font-size: 1em;
}

.pui-dialog table td input{
    height: 13px;
}

div.slick-header-column, ::after, ::before {
     box-sizing: content-box;
}

/* div.slick-header *, ::after, ::before {
    box-sizing: content-box;
}

div.slick-viewport *, ::after, ::before {
    box-sizing: content-box;
}*/

div.ui-widget-content, ::after, ::before {
    box-sizing: content-box;
}

div.olButton, ::after, ::before {
    box-sizing: content-box;
}

td.edit-form-fieldLabel {
    font-size: 11px;
}

td.edit-form-fieldEditor {
    font-size: 11px;
}

@media ( max-width : 576px) {
    .dropdown-menu-jarc3 {
        position: static !important;
        transform: translate3d(0, 0, 0) !important;
    }
}

@media ( min-width : 576px) {
    .navbar-jarc3 { @extend .navbar;
        display: flex;
        /* background-color: rgba(0, 60, 136, .5) !important; */
    }
}

/* .row-jarc3 { @extend .row;
    flex-wrap: nowrap !important;
}
 */

/* left sidebar */
/* .wrapper_left_sidebar {
    display: block;
}

#left_sidebar {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    / * top layer * /
    z-index: 9999;
}

.overlay_left_sidebar {
    / * full screen * /
    width: 100vw;
    height: 100vh;
    / * transparent black * /
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    / * middle layer, i.e. appears below the sidebar * /
    z-index: 9998;
}

#dismiss_left_sidebar {
    width: 35px;
    height: 35px;
    position: absolute;
    / * top right corner of the sidebar * /
    top: 10px;
    right: 10px;
} */

/* TOC nowa wersja */

/*
.no-padding{
  padding:0px;
}
.glyphicon-icon-rpad .glyphicon,.glyphicon-icon-rpad .glyphicon.m8,.fa-icon-rpad .fa,.fa-icon-rpad .fa.m8{ padding-right:8px; }
.glyphicon-icon-lpad .glyphicon,.glyphicon-icon-lpad .glyphicon.m8,.fa-icon-lpad .fa,.fa-icon-lpad .fa.m8{ padding-left:8px; }
.glyphicon-icon-rpad .glyphicon.m5,.fa-icon-rpad .fa.m5{ padding-right:5px; }
.glyphicon-icon-lpad .glyphicon.m5,.fa-icon-lpad .fa.m5{ padding-left:5px; }
.glyphicon-icon-rpad .glyphicon.m12,.fa-icon-rpad .fa.m12{ padding-right:12px; }
.glyphicon-icon-lpad .glyphicon.m12,.fa-icon-lpad .fa.m12{ padding-left:12px; }
.glyphicon-icon-rpad .glyphicon.m15,.fa-icon-rpad .fa.m15{ padding-right:15px; }
.glyphicon-icon-lpad .glyphicon.m15,.fa-icon-lpad .fa.m15{ padding-left:15px; }



ul.nav-menu-list-style .nav-header .menu-collapsible-icon{position:absolute; right:3px; top:16px; font-size:9px; }



ul.nav-menu-list-style{
  margin:0;
}
ul.nav-menu-list-style .nav-header{
  border-top:1px solid #FFFFFF;
  border-bottom:1px solid #e8e8e8;
  display:block;
  margin:0;
  line-height:42px;
  padding:0 8px;
  font-weight:600;
}
ul.nav-menu-list-style> li{
  position:relative; }
ul.nav-menu-list-style> li a{
  border-top:1px solid #FFFFFF;
  border-bottom:1px solid #e8e8e8;
  padding:0 10px;
  line-height:32px;
}
ul.nav-menu-list-style> li:first-child a{
}


ul.nav-menu-list-style{list-style:none; padding:0px; margin:0px;}
ul.nav-menu-list-style li .badge,ul.nav-menu-list-style li .pull-right,ul.nav-menu-list-style li span.badge,ul.nav-menu-list-style li label.badge{float:right; margin-top:7px;}
ul.bullets{list-style:inside disc}
ul.numerics{list-style:inside decimal}
.ul.kas-icon-aero{}
ul.kas-icon-aero li a:before{font-family: 'Glyphicons Halflings'; font-size:9px; content: "\e258"; padding-right:8px; }
*/
/* ./TOC nowa wersja */

/* ---- */
/*
.tree {
    min-height:20px;
    padding:19px;
    margin-bottom:20px;
    background-color:#fbfbfb;
    border:1px solid #999;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    border-radius:4px;
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.05)
}
.tree li {
    list-style-type:none;
    margin:0;
    padding:10px 5px 0 5px;
    position:relative
}
.tree li::before, .tree li::after {
    content:'';
    left:-20px;
    position:absolute;
    right:auto
}
.tree li::before {
    border-left:1px solid #999;
    bottom:50px;
    height:100%;
    top:0;
    width:1px
}
.tree li::after {
    border-top:1px solid #999;
    height:20px;
    top:25px;
    width:25px
}
.tree li span {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    border:1px solid #999;
    border-radius:5px;
    display:inline-block;
    padding:3px 8px;
    text-decoration:none
}
.tree li.parent_li>span {
    cursor:pointer
}
.tree>ul>li::before, .tree>ul>li::after {
    border:0
}
.tree li:last-child::before {
    height:30px
}
.tree li.parent_li>span:hover, .tree li.parent_li>span:hover+ul li span {
    background:#eee;
    border:1px solid #94a0b4;
    color:#000
}
*/
/* ---- */

/* korekta koloru menu */
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 1);
}
/* ./korekta koloru menu */

/* dla TOCTree*/

.jarcTocService {
	display: inline-block;
	padding-left: 0px;
	padding-bottom: 0px;
	cursor: pointer;
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: bottom;
    width: 250px;
}

.jarcTOC [type="checkbox"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 270px;
}

.jarcTOC [type="radio"]+label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 270px;
}

.jarcGroupTOC {
	display: inline-block;
	padding-left: 0px;
	padding-bottom: 0px;
	cursor: pointer;
	vertical-align: bottom;
    user-select: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: 1rem;
    width: 245px;
    font-weight: bold;
}


/* Extra large devices (large desktops, 1200px and up) */
@media ( max-width : 1200px) {
    .jarcTOC [type="checkbox"]+label {
        font-size: 1rem;
        width: 200px;
    }
    
    .jarcTOC [type="radio"]+label {
        font-size: 1rem;
        width: 200px;
    }
    
    .jarcGroupTOC {
        font-size: 1rem;
        width: 210px;
    }
    
    .jarcTocService {
	    width: 210px;
	}
}

/* Large devices (desktops, 992px and up) */
@media ( max-width : 992px) {
    .jarcTOC [type="checkbox"]+label {
        font-size: 0.8rem;
        width: 200px;
    }
    
    .jarcTOC [type="radio"]+label {
        font-size: 0.8rem;
        width: 200px;
    }
    
    .jarcGroupTOC {
        font-size: 0.8rem;
        width: 210px;
    }
    
    .jarcTocService {
	    width: 210px;
	}
}

/* Medium devices (tablets, 768px and up) */
@media ( max-width : 768px) {
    .jarcTOC [type="checkbox"]+label {
        font-size: 0.8rem;
        width: 300px;
    }
    
    .jarcTOC [type="radio"]+label {
        font-size: 0.8rem;
        width: 300px;
    }
    
    .jarcGroupTOC {
        font-size: 0.8rem;
        width: 230px;
    }
    
	.jarcTocService {
	    width: 230px;
	}
}

/* Small devices (landscape phones, 576px and up) */
@media ( max-width : 576px) {
    .jarcTOC [type="checkbox"]+label {
        font-size: 0.8rem;
        width: 180px;
    }
    
    .jarcTOC [type="radio"]+label {
        font-size: 0.8rem;
        width: 180px;
    }
    
    .jarcGroupTOC {
        font-size: 0.8rem;
        width: 140px;
    }
    
    .jarcTocService {
	    width: 140px;
	}
}

/* dodatkowy poziom dla drzewka TOC */
/* @media ( max-width : 320px) {
    .jarcTOC [type="checkbox"]+label {
        font-size: 0.8rem;
        max-width: 180px;
    }
    
    .jarcGroupTOC {
        font-size: 0.8rem;
        max-width: 140px;
    }
    
    .jarcTocService {
        max-width: 140px;
    }
} */

.jarcTOC [type="checkbox"] + label::before, .jarcTOC [type="checkbox"]:not(.filled-in) + label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 1px;
    margin-top: 2px;
    -webkit-transition: .2s;
    transition: .2s;
}

.jarcTOC [type="radio"] + label::before, .jarcTOC [type="radio"]:not(.filled-in) + label::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    z-index: 0;
    border: 2px solid #5a5a5a;
    border-radius: 12px;
    margin-top: 2px;
    -webkit-transition: .2s;
    transition: .2s;
}

/* .jarcTOC [type="checkbox"]:not(.filled-in) + label::after {
    border: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
} */

/* ./dlaTOCTree */

/* kręciołek */
#throbber {
    display: none;
    z-index: 100;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

/* .loader {
  z-index: 100;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 45%;
    top: 50%;
    transform: translate(-50%, -50%);
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 100px;
  height: 100px;
  -webkit-animation: spin 2s linear infinite; / * Safari  /
  animation: spin 2s linear infinite;
} 

/ * Safari * /
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}*/
/* ./kręciołek */

/* ALL LOADERS */
.loader {
    width: 100px;
    height: 100px;
    border-radius: 100%;
    position: relative;
    margin: 0 auto;
}

/* LOADER 4 */
#loader-4 span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: #3498db;
    margin: 35px 5px;
    opacity: 0;
}

#loader-4 span:nth-child(1) {
    animation: opacitychange 1s ease-in-out infinite;
}

#loader-4 span:nth-child(2) {
    animation: opacitychange 1s ease-in-out 0.33s infinite;
}

#loader-4 span:nth-child(3) {
    animation: opacitychange 1s ease-in-out 0.66s infinite;
}

@keyframes opacitychange { 
    0%, 100% {
       opacity: 0;
    }

    60%{
        opacity: 1;
    }
}
/* ./LOADER 4 */
.srv-overlay {
    bottom: auto;
}

/* checkbox switch */
.material-switch>input[type="checkbox"] {
    display: none;
}

.material-switch>label {
    cursor: pointer;
    height: 0px;
    position: relative;
    top: 2px;
    width: 40px;
}

.material-switch>label::before {
    background: rgb(0, 0, 0);
    box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    content: '';
    height: 16px;
    margin-top: -8px;
    position: absolute;
    opacity: 0.3;
    transition: all 0.4s ease-in-out;
    width: 40px;
}

.material-switch>label::after {
    background: rgb(255, 255, 255);
    border-radius: 16px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
    content: '';
    height: 24px;
    left: -4px;
    margin-top: -8px;
    position: absolute;
    top: -4px;
    transition: all 0.3s ease-in-out;
    width: 24px;
}

.material-switch>input[type="checkbox"]:checked+label::before {
    background: inherit;
    opacity: 0.5;
}

.material-switch>input[type="checkbox"]:checked+label::after {
    background: inherit;
    left: 20px;
}
/* ./checkbox switch */

/* Przycisk na mapie (rozwijany) */
/* .fixed-action-btn.horizontal {
	padding: 0 0 0 15px;
}

.fixed-action-btn.horizontal ul li {
	display: inline-block;
    margin: 15px 15px 0 0;
}

.fixed-action-btn.horizontal ul {
	text-align: right;
}

.fixed-action-btn ul {
	text-align: center;
    visibility: hidden;
} */

/* ./Przycisk na mapie (rozwijany) */

/* Przyciski pływające */

.eq-ui-btn-fab-action {
  position: fixed;
  right: 24px;
  bottom: 24px;
  padding-top: 16px;
  margin-bottom: 0;
  z-index: 60;
}

.eq-ui-btn-fab {
	border-radius: 50%;
	width: 56px;
	min-width: 56px;
	height: 56px;
	padding: 0;
}

.eq-ui-btn-fab-action a {
    z-index: 1;
}

/* ./Przyciski pływające */

.mapTips {
	background-color: yellow !important;
}


/* fab-zoom */
.zoom {
  position: fixed;
  bottom: 45px;
  right: 54px;
  height: 70px;
}

.zoom-fab {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
  background-color: #009688;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  transition: 0.2s ease-out;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  color: #FFF;
}

.zoom-fab:hover {
  background-color: #4db6ac;
  box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14), 0 1px 7px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -1px rgba(0, 0, 0, 0.2);
}

.zoom-btn-large {
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.zoom-menu {
  position: absolute;
  right: 70px;
  left: auto;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: 500px;
  list-style: none;
  text-align: right;
}

.zoom-menu li {
  display: inline-block;
  margin-right: 10px;
}

.zoom-card {
  position: absolute;
  right: 150px;
  bottom: 70px;
  transition: box-shadow 0.25s;
  padding: 24px;
  border-radius: 2px;
  background-color: #009688;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
  color: #FFF;
}

.zoom-card ul {
  -webkit-padding-start: 0;
  list-style: none;
  text-align: left;
}

.zoom-btn-person { background-color: #F44336; }

.zoom-btn-person:hover { background-color: #e57373; }

.zoom-btn-doc { background-color: #ffeb3b; }

.zoom-btn-doc:hover { background-color: #fff176; }

.zoom-btn-tangram { background-color: #4CAF50; }

.zoom-btn-tangram:hover { background-color: #81c784; }

.zoom-btn-report { background-color: #2196F3; }

.zoom-btn-report:hover { background-color: #64b5f6; }

.zoom-btn-feedback { background-color: #9c27b0; }

.zoom-btn-feedback:hover { background-color: #ba68c8; }

.scale-transition { transition: transform 0.3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important; }

.scale-transition.scale-out {
  transform: scale(0);
  transition: transform 0.2s !important;
}

.scale-transition.scale-in { transform: scale(1); }

.tooltip {
        position: relative;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        color: white;
        padding: 4px 8px;
        opacity: 0.7;
        white-space: nowrap;
      }
      .tooltip-measure {
        opacity: 1;
        font-weight: bold;
      }
      .tooltip-static {
        background-color: #ffcc33;
        color: black;
        border: 1px solid white;
      }
      .tooltip-measure:before,
      .tooltip-static:before {
        border-top: 6px solid rgba(0, 0, 0, 0.5);
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
        content: "";
        position: absolute;
        bottom: -6px;
        margin-left: -7px;
        left: 50%;
      }
      .tooltip-static:before {
        border-top-color: #ffcc33;
      } 

/*./fab-zoom*/

/* Switch */
/* https://www.abeautifulsite.net/bootstrap-4-switches */
.switch {
  font-size: 1rem;
  position: relative;
}
.switch input {
  position: absolute;
  height: 1px;
  width: 1px;
  background: none;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  padding: 0;
}
.switch input + label {
  position: relative;
  min-width: calc(calc(2.375rem * .8) * 2);
  border-radius: calc(2.375rem * .8);
  height: calc(2.375rem * .8);
  line-height: calc(2.375rem * .8);
  display: inline-block;
  cursor: pointer;
  outline: none;
  user-select: none;
  vertical-align: middle;
  text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
}
.switch input + label::before,
.switch input + label::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: calc(calc(2.375rem * .8) * 2);
  bottom: 0;
  display: block;
}
.switch input + label::before {
  right: 0;
  background-color: #dee2e6;
  border-radius: calc(2.375rem * .8);
  transition: 0.2s all;
}
.switch input + label::after {
  top: 2px;
  left: 2px;
  width: calc(calc(2.375rem * .8) - calc(2px * 2));
  height: calc(calc(2.375rem * .8) - calc(2px * 2));
  border-radius: 50%;
  background-color: white;
  transition: 0.2s all;
}
.switch input:checked + label::before {
  background-color: #08d;
}
.switch input:checked + label::after {
  margin-left: calc(2.375rem * .8);
}
.switch input:focus + label::before {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
}
.witch input:disabled + label {
  color: #868e96;
  cursor: not-allowed;
}
.switch input:disabled + label::before {
  background-color: #e9ecef;
}
.switch.switch-sm {
  font-size: 0.875rem;
}
.switch.switch-sm input + label {
  min-width: calc(calc(1.9375rem * .8) * 2);
  height: calc(1.9375rem * .8);
  line-height: calc(1.9375rem * .8);
  text-indent: calc(calc(calc(1.9375rem * .8) * 2) + .5rem);
}
.switch.switch-sm input + label::before {
  width: calc(calc(1.9375rem * .8) * 2);
}
.switch.switch-sm input + label::after {
  width: calc(calc(1.9375rem * .8) - calc(2px * 2));
  height: calc(calc(1.9375rem * .8) - calc(2px * 2));
}
.switch.switch-sm input:checked + label::after {
  margin-left: calc(1.9375rem * .8);
}
.switch.switch-lg {
  font-size: 1.25rem;
}
.switch.switch-lg input + label {
  min-width: calc(calc(3rem * .8) * 2);
  height: calc(3rem * .8);
  line-height: calc(3rem * .8);
  text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
}
.switch.switch-lg input + label::before {
  width: calc(calc(3rem * .8) * 2);
}
.switch.switch-lg input + label::after {
  width: calc(calc(3rem * .8) - calc(2px * 2));
  height: calc(calc(3rem * .8) - calc(2px * 2));
}
.switch.switch-lg input:checked + label::after {
  margin-left: calc(3rem * .8);
}
.switch + .switch {
  margin-left: 1rem;
}

#action-toolbar {
	width: 45px;
	height: 45px;
	line-height: 45px;
}

#fixed-action-toolbar {
	z-index: 10;
}

#fixed-action-toolbar ul li a {
	width: 45px;
    height: 45px;
}

#fixed-action-toolbar ul li i {
    line-height: 45px;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* .ol-zoom {
        top: 12em;
    } */
    
    .btn-floating {
        width: 40px;
        height: 40px;
    }
    
    .btn-floating.btn-primary i {
        font-size: 1.2rem;
        line-height: 40px;
    }
    
    .btn-floating.btn-info i {
        font-size: 1.2rem;
        line-height: 40px;
    }
    
    .btn-floating.btn-default i {
        font-size: 1rem;
        line-height: 40px;
    }
    
    #action-toolbar {
	    width: 50px;
	    height: 50px;
	    line-height: 50px;
	}
	
	#fixed-action-toolbar ul li a {
	    width: 40px;
	    height: 40px;
	}
	
	#fixed-action-toolbar ul li i {
        line-height: 40px;
    }
    
    #adresSearchBtnId {
	    top: 14rem;
	    left: .5rem;
	}
	
	.fixed-action-btn ul {
	    bottom: 74px;
	}
}

/* snackbar */
#snackbar {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
    font-size: 17px;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

/* poprawa pozycji ikon w sidebarze, bo fontawesome 5.1 nadpisuje to swoim stylem */
.sidebar-tabs>ul>li>a>i, .sidebar-close>i {
    line-height: 40px !important; 	
}
/* zmiejszamy odstęp aby więcej zmieścić, namałym okranie*/
.sidebar-tabs>li, .sidebar-tabs>ul>li {
    height: 38px;
}
/* zachowanie kompatybilności ze starą wersją fontawesome, bo w wersji 5 nie ma fa-close */
.fa-close:before {
  content: '\f00d';
}

.fa-refresh:before {
	content: '\f021';
}

.fa-files-o:before {
	content: '\f0c5';
}

.fa-floppy-o:before {
	content: '\f0c7';
}

.fa-arrows:before {
    content: '\f0b2';
}

.fa-circle-o:before {
	content: '\f111';
}

.fa-scale-redline-sm {
	transform: scale(0.3, 0.3);
	-webkit-transform: scale(0.3, 0.3);
	-moz-transform: scale(0.3, 0.3);
	-ms-transform: scale(0.3, 0.3);
	-o-transform: scale(0.3, 0.3);
}

.fa-layers [data-fa-transform*='left-dot'] {
    left: -65%;
}

/* style typeahead dla autocomplete */
.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
  margin-bottom: 0;
}

.twitter-typeahead .tt-hint {
    display: none;
}

.tt-dropdown-menu, .tt-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  /* font-size: 14px; */
  font-size: .88rem;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
.tt-suggestion, .tt-suggestion > p {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.428571429;
  color: #333333;
  white-space: nowrap;
}
.tt-suggestion:hover,
.tt-suggestion:focus,
.tt-suggestion > p:hover,
.tt-suggestion > p:focus,
.tt-suggestion.tt-cursor p {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #428bca;
}

.tt-menu {
    position: initial;
}

span.twitter-typeahead .active.tt-suggestion,
span.twitter-typeahead .tt-suggestion.tt-cursor,
span.twitter-typeahead .active.tt-suggestion:focus,
span.twitter-typeahead .tt-suggestion.tt-cursor:focus,
span.twitter-typeahead .active.tt-suggestion:hover,
span.twitter-typeahead .tt-suggestion.tt-cursor:hover {
    background-color: #EEEEEE;
}
/* ./style typeahead dla autocomplete */


.gj-draggable {
    cursor: move;
}
.gj-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
    z-index: 1203;
}
.gj-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}
.gj-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}

input.input-scale {
	width: 120px;
}

/* reset styli MDB dla przycisków dla pól na formatce, np. kalendarzyka */
.jrc-frm-inp-form-btn-control {
	padding: 0.375rem 0.75rem 0.375rem 0.75rem !important;
	font-size: 1rem !important;
	margin: 0 0 0 0 !important;
	box-shadow: none !important;
	border-top-right-radius: 0.25rem !important;
	border-bottom-right-radius: 0.25rem !important;
	border-bottom-width: 1px !important;
	border-top-width: 1px !important;
	border-right-width: 1px !important;
	border-left-width: 1px !important;
}
.jrc-frm-inp-form-control {
	padding: 0.375rem 0.75rem 0.375rem 0.75rem !important;
}

.custom-file-label::after {
    height: initial;
}

.table-fixed tbody {
	height: 200px;
	overflow-y: auto;
	/* width: 100%; */
}
.table-fixed thead,
.table-fixed tbody,
.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 {
	float: left;
}

.tableFixHead { 
	overflow: auto;
}
.tableFixHead th { 
	position: sticky;
	top: 0;
	z-index: 4;
}

th.tableResizer,
td.tableResizer {
	width: 3px;
	padding: 0px;
	background: #dee2e6;
}

table tbody tr.selected {
  background-color: #a2d4ed!important;
}

ul li.selected {
  background-color: #a2d4ed!important;
}

@media ( max-width : 576px) {
    #loc-xy-disp{
        display: none;
    }
}

/* po zmianie FA z v5.2 na 5.5 uległa zmianie wartość width z 2em na 2.5em. Psuje to wygląd. Poprawiamy to. */
.fa-stack {
	width: 2em;
}

/* zachowanie paska z narzędziami i nawigacji */
.sticky_bottom {
    position: -webkit-sticky;
    position: sticky;
    bottom: 0;
    background-color: white;
}
.sticky_top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
}

.ol-timelapse-but {
	position: fixed;
	bottom: 4.5rem;
	left: 4.5rem;
}

.ol-timelapse-slider {
    position: absolute;
    bottom: 120px;
    left: 80px;
    display: none;
}

.slider.slider-vertical {
    height: 350px;
    width: 20px;
}

.slider.slider-vertical .slider-tick-label-container .slider-tick-label {
    text-shadow: 0 0 2.2em #8ac1ef, 0 0 2.2em #8ac1ef, 0 0 2.2em #8ac1ef;
    font-weight: bold;
}

.treeview span.icon {
	width: 12px;
	margin-right: 15px;
}

/* selekcja */
.olControlEnvSelectorButtonItemActive {
   background-color: #007bff !important;
}

.olControlLineSelectorButtonItemActive {
	background-color: #007bff !important;
}

.olControlPolygonSelectorButtonItemActive {
	background-color: #007bff !important;
}

.olControlPointSelectorButtonItemActive {
	background-color: #007bff !important;
}

.olControlRemoveSelectionsButtonItemActive {
	background-color: #007bff !important;
}


/* szkicownik */
/* .redLineDivPanel .olControlDrawFeaturePathItemInactive {       
    background: none;
} */
.redLineDivPanel .olControlDrawFeaturePathItemActive { 
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeaturePointItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/spriteTransp.png.xhtml) -112px -16px no-repeat;
} */
.redLineDivPanel .olControlDrawFeaturePointItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeaturePolygonItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/spriteTransp.png.xhtml) -144px -16px no-repeat;
} */
.redLineDivPanel .olControlDrawFeaturePolygonItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeatureBoxItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/redline_env_off.png.xhtml) no-repeat;
} */
.redLineDivPanel .olControlDrawFeatureBoxItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeatureCircleItemInactive {
    background-image: none;
} */
.redLineDivPanel .olControlDrawFeatureCircleItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeatureElipseItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/redline_elipse_off.png.xhtml) no-repeat;
} */
.redLineDivPanel .olControlDrawFeatureElipseItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeatureLabItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/redline_text_off.png.xhtml) no-repeat;
} */
.redLineDivPanel .olControlDrawFeatureLabItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlDrawFeatureArrowItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/redline_arrow_off.png.xhtml) no-repeat;
} */
.redLineDivPanel .olControlDrawFeatureArrowItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlTransformItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/redline_modify_off.png.xhtml) no-repeat;
} */
.redLineDivPanel .olControlTransformItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlSelectItemInactive {
    background:url(/jarc-gui/javax.faces.resource/images/spriteTransp.png.xhtml) -64px 0 no-repeat;
} */
.redLineDivPanel .olControlSelectItemActive {
    background-color: #007bff !important;
}

/* .redLineDivPanel .olControlModifyFeatureItemInactive { 
    background:url(/jarc-gui/javax.faces.resource/images/spriteTransp.png.xhtml) -16px -16px no-repeat;
} */
.redLineDivPanel .olControlModifyFeatureItemActive { 
    background-color: #007bff !important;
}

[jarc-separator="true"][aria-expanded="false"] .fa-chevron-circle-up, 
[jarc-separator="true"][aria-expanded="true"] .fa-chevron-circle-down {
    display:none;
}