/*main i elementi*/
#main-map main {
    padding: 0px;
}
#home-div {
    display: block;
}


.footer-izrada{
    display: none;
}

#obrasci-li {
    display: block;
}

.contact-div-information, .contacts-a {
    color: #B8B8B8;
}

/*logo u contributorima*/
#logo-list img {
    height: 11px;
    vertical-align: text-top;
}
/*zoom*/
.leaflet-control-zoom-in, .leaflet-control-zoom-out {
    background-color: #325682!important;
    color: white!important;
}

.leaflet-control-zoom-in:hover, .leaflet-control-zoom-out:hover {
    background-color: #DAC342!important;
}

#a-home, #span-obrasci {
    display: block;
}

#a-prijava-neispravnosti.index, #a-objekti-plovidbe.index {
    display: none;
}

#loader {
    position:absolute;
    display:none;
    z-index: 9999;
    height: 100%;
    width: 100%;
    top: 0px;
    background-color: #000000ab;
}
#gif {
    height: 100%;
    width: 100%;
    line-height: 45;
    text-align: center;
}

#gif img {
    width: 150px;
    filter: drop-shadow(0px 7px 7px rgba(255,255,255, 0.6))
}

/*Modal kontakt i informacije*/

#lokacija-kontakt:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -4px;
}

#lokacija-kontakt {
   text-align: center;
}

#lokacija-kontakt .modal-dialog {
    display: inline-block;
    text-align: initial;
    vertical-align: text-bottom;
    width: 85%;
}

#lokacija-kontakt .modal-content {
    color: #325682!important;
    border-color: #325682;

}
#lokacija-kontakt a {
    color: #325682!important;
}
#modal-logo-plovput {
    width: 60px;
}
#lokacija-kontakt .modal-header, #lokacija-kontakt .modal-footer {
    background: #fffffff2;
}

/*Popup*/

.main-popup-div {
    text-align: center;
}
.popup-p {
    color: #325682;
    font-weight: 600;
    font-size: 16px; 
    padding: 0px!important;
    margin: 0px!important;
    margin-bottom: 5px!important;
}

.popup-div-foto {
    width: 250px;
    margin-top: 15px;
    margin: auto;
}

.popup-foto {
    max-width: 220px;
    max-height: 220px;
    display: block;
    box-shadow: 0px 0px 5px 0px #000000bd;
    margin: auto;
}
.leaflet-popup-content {
    width: 250px;
}

.leaflet-popup-content-wrapper {
    border: 1.5px solid #325682!important;
    font-family: 'Raleway', sans-serif!important;
}
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: #fffffff3!important;
}

.leaflet-popup-close-button {
    color: #325682!important;
    font-size: 15px!important;
}

.leaflet-popup-close-button:hover {
    color: #DAC342!important;
}

.popup-buttton {
    padding: 12px;
    color: white;
    background-color: #325682;
    margin-top: 10px;
    border: none;
    font-size: 13px;
    box-shadow: 0px 0px 5px 0px #000000de;
    cursor: pointer;
    margin-right: 2%;
}

.popup-buttton:hover {
    background-color: #DAC342;
}

.leaflet-popup-content {
    margin: 5px 20px!important;
}
#btn {
    position:absolute;
    top:70px;
    right:10px;
    background-color: #325682;
    background-image: url(../img/layers-fill.svg);
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    z-index:400;
    border: none;
    box-shadow: 0 1px 5px rgb(0 0 0 / 65%);
}
#btn:hover {
    background-color: #284569;
}

#btn.layerlistexpanded {
    background-color: #DAC342;
    background-image: url(../img/arrow-right-short.svg);
    background-size: contain;
}

#btn.layerlistexpanded:hover {
    background-color: #c9b024;
}

#btn-search {
    /* position: absolute; */
    top: 70px;
    right: 10px;
    background-color: #325682;
    background-image: url(../img/search.svg);
    width: 40px;
    height: 40px;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 400;
    border: none;
    box-shadow: 0 1px 5px rgb(0 0 0 / 65%);
    border-radius: 0rem 0.25rem 0.25rem 0rem;
    border: 1px solid #325682;
    border-left-width:0px;
}

#autocomplete .form-control {
    height:calc(1.5em + .75rem + 6px);
    border-right-width:0px;
    border-color:#325682;
    z-index: 400;
    min-width:max-content;
    font-size:15px;
}

#match-list {
    height:600px;
    overflow:scroll;
    overflow-x:hidden;
    z-index:400;
    scrollbar-width:none;
}
#match-list::-webkit-scrollbar {
    width:0;
    background:transparent;
}
.container-fluid {
    width:70%;
}

#map {
    z-index:1;
}

#autocomplete {
    position:absolute;
    top:70px;
    left:10px;
    border: none;
    user-select: none;
}

.col-md-4 .input-group {
    z-index:400;
    user-select: none;
}

.leaflet-control-layers-expanded {
    background: rgb(239 239 239 / 89%)!important;
    box-shadow: -2px 0px 6px rgba(0, 0, 0, 0.25), 2px 5px 6px rgba(0, 0, 0, 0.25)!important;
    border-radius: 0px!important;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
    margin: 0px 25px!important;
    font-family: 'Raleway', sans-serif!important;
    color: #325682!important;
    font-size: 14px!important;
}

.leaflet-control-layers-overlays input:hover, .leaflet-control-layers-overlays span:hover {
    cursor: pointer!important;
}

.leaflet-control-layers-selector {
    margin-right: 10px!important;
}

/*MODAL POPUP-A*/
#popupModal .modal-content {
    background-color: #ffffffeb;
}

#popupModal .modal-header {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
}

#popupModal .modal-body {
    padding-top: 0px;
}

#popupModalHeader, #popupModalHeaderNav {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
    background: #325682;
}

#modalOfObject, #modalOfObjectNav {
    text-align: center;
    font-size: 14px;
}

#modalOfObject p, #modalOfObjectNav p{
    color: #325682;
    margin-bottom: 5px;
    border-bottom: 1px solid #00000030;
    font-weight: 600;
    font-size: 14px;
  /*  text-transform: uppercase;*/
    margin-left: 30px;
    margin-right: 30px;
}

#modalOfObject span, #modalOfObjectNav span {
    display: block;
    color: black;
    text-transform: initial;
    font-size: 15px;
    font-weight: 500;
}

.popupModalButton {
    background-color: #325682;
    cursor: pointer;
    box-shadow: 0px 0px 5px 0px #000000de;
    padding: 5px;
    border: none;
}
.popupModalButton:hover {
    background-color: #DAC342;
}
#popupModalButtonNext span{
    background-image: url(../img/chevron-double-right.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

#popupModalButtonPrevious {
    margin-right: 20px;
}

#popupModalButtonPrevious span{
    background-image: url(../img/chevron-double-left.svg);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: center;
}

#button_edit {
    color:white !important;
    padding: 14px;
    background-color: #325682;
    margin-top: 10px;
    border: none;
    font-size: 13px;
    box-shadow: 0px 0px 5px 0px #000000de;
    cursor: pointer;
    margin-right: 2%;
}

#button_edit:hover {
    background-color: #DAC342;
}
@media only screen and (max-width:1601px) {
    #match-list {
        height:520px;
    }
    .container-fluid {
        width:90%;
    }
}

@media only screen and (max-width: 1201px) {
    .container-fluid {
        width: 110%;
    }
}

@media only screen and (max-width:1025px) {
    .container-fluid {
        width:130%;
    }
}

@media only screen and (max-width:993px) {
    .container-fluid {
        width:160%;
    }
}

@media only screen and (max-width: 769px) {
    .div-navbar {
        padding-left: 0px;
    }
    .obrasci-div {
        padding-left: 0px;
        width: 195px!important;
    }
    .obrasci_admin {
        padding-left: 5px;
    }
    .input-group {
        width:80%;
    }
    .col-md-4 {
        padding-left:0px;
    }
    .container-fluid {
        width:160%;
    }
}

@media only screen and (max-width: 541px) {
    .container-fluid {
        width: 100%;
    }
}
/* CSS rules - Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 426px) {
    #main-map footer {
        display: none;
    }

    #main-map main {
        height: calc(100% - 60px);
    }
    #navbar-kontakt {
        display: block;
    }
    #gif {
        line-height: 40;
    }
    .container-fluid {
        width:110%;
    }
    #autocomplete .form-control {
        height:calc(1.5em + .75rem + 10px);
        font-size: 12px;
    }
}

@media only screen and (max-width: 394px) {
    #autocomplete .form-control {
        height:calc(1.5em + .75rem + 11px);
        font-size: 11px;
    }
}

@media only screen and (max-width: 376px) {
    #autocomplete .form-control {
        height:calc(1.5em + .75rem + 12px);
        font-size: 10px;
    }
}

@media only screen and (max-width: 321px) {
    #autocomplete .form-control {
        height:calc(1.5em + .75rem + 13px);
        font-size: 9px;
    }
}