/*body {*/
    /*margin: 0;*/
    /*height: calc(100% - 75px);*/
/*}*/

#top-map-esplora {
    height: 100%;
    overflow: hidden;
}

.esplora .mb-70 {
    margin-bottom: 0;
}

.esplora form {display: inline-block; }
.esplora button{display: inline-block;}
.esplora .header-search {text-align: right; margin-top: 0;}

.esplora .header-mid-area {
    background: #e3e3e3;
    padding-top: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #000;
}

.header-search form input {
    background: #fff none repeat scroll 0 0;
    border: 0 none;
    color: #333;
    font-size: 14px;
    line-height: 40px;
}

@media screen and (max-width: 768px){
    .esplora .header-search form input#search {
        width:100%;
    }

    .header-search form {
        width: 80%;
    }
}

.esplora .back-container {
    text-align: center;
    position: absolute;
    bottom: 0;
    right:1%;
    z-index: 10000;
    padding: 0;
}

/*.esplora .line {*/
    /*padding-top: 10px;*/
    /*padding-bottom: 10px;*/
    /*border-top: 1px dotted #ccc;*/
    /*line-height: 0.1em;*/
/*}*/

.esplora .back-container em {
    display: block;
    font-size: large;
    padding:10px;
}

.esplora .back-container em, .back-container .button {
    background: #343a40;
    color:#fff;
    float: left;
    position: relative;
    top: -14px;
    border-radius: 4px;
}

.esplora .back-container .button {
    padding: 9px;
    display: inline-block;
    margin-left: 10px;
}


.logo-area a p, .logo-area a p:hover, .logo-area a p:visited {
    margin:5px 0 0;
}

.esplora .logo-area a span, .logo-area a span:hover, .logo-area a span:visited {
    /*color:#00abe0;*/
    color: #d02123;
}
.header-search form a {
    background: #00abe0 none repeat scroll 0 0;
}

img {
    object-fit: cover;
    margin-bottom: 7px;
}

.navbar-brand small {
    display: block;
    font-size: 13px;
    color: #ffc107;
    margin-right: 2rem;
}

.leaflet-sidebar-header {
    background-color: #343a40;
}

.leaflet-sidebar-tabs > li > a, .leaflet-sidebar-tabs > ul > li > a {
    background-color: #343a40;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

#search {
    width: 500px;
}


.esplora-div-icon{
	padding: 6px;
	border: 3px solid #343a40;
	width: 60px;
	height: 60px;
	overflow: hidden;
	border-radius: 8%;
	background: #fff;
	display: flex;
	align-items: center;
    justify-content: center;
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
}

.esplora-div-icon img {
    width: 300%;
}

.esplora-div-icon img.wiki {
    width: 50px;
    height: 50px;
    margin-top:5px;
}

.marker-label {
    position: absolute;
    font-size: 13px;
}

.marker-label-longer {
    position: absolute;
    font-size: 13px;
    white-space: normal;
    width: 260px;
}

.marker-label-argument{
    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;
    /*border: 2px solid #343a40;*/
    min-width: 200px;
    border-radius: 4px;


}

.marker-label-argument .leaflet-popup-content-wrapper {
    border-radius: 0;
     padding: 16px;
    text-align: center;
}

.marker-label-argument .leaflet-popup-content-wrapper img {
    border-radius: 2px;
     border: 1px solid #efefef;
    width: 150px;
    max-height: 100px;
    object-fit: scale-down;
    /*display: block;*/
    /*margin: 0 auto;*/
}

.marker-label-argument .leaflet-popup-content-wrapper .argument-search img {
    float: left;
    width: 30px;
    margin-top: -1px;
    padding-left: 10px;
}

.marker-label-argument .leaflet-popup-content-wrapper h5 {
    word-wrap: break-word;
    max-width: 200px;
}

.marker-label-argument .leaflet-popup-content-wrapper .abstract-container {
    border-top: 1px dotted #999;
    border-bottom: 1px dotted #999;
    padding-top: 0px;
    padding-bottom: 0px;
}


.marker-label-argument .leaflet-popup-content-wrapper p {
    text-align: left;
    max-height: 96px;
    overflow: auto;
    margin-top: 2px;
    margin-bottom: 2px;
    /*-webkit-mask-image: -webkit-gradient(linear,left 2%,left bottom,from(black),to(rgba(0,0,0,0)))*/
}

.argument-search {
    display: block;
    margin-top: 15px;
    font-size: 118%;
}

.argument-search img {
    width: 20px;
    height: 20px;
    margin-top: 4px;
}

.argument-spinner {
    margin: 0 auto;
    border: 0;
    border: 1px inset #f8f8f8;
}

.scrollable {
    overflow: auto;
}

.landmark {
    width: 250px;
    border-radius: 12px;
    /*font-family: Helvetica, Arial, sans-serif;*/
    font-family: "Libre Franklin", sans-serif;
    -webkit-transform-origin: 0 10px;
    transform-origin: 0 10px;
}

.landmark h1 {
    margin-top: 0;
    padding: 10px 15px 5px;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: bold;
    -webkit-box-shadow: 0 6px 4px -4px #ccc;
    -moz-box-shadow: 0 6px 4px -4px #ccc;
    box-shadow: 0 6px 4px -4px #ccc;
}



.landmark section {
    max-height: 200px;
    padding: 0 17px 5px 12px;
    font-size: 12px;
}

.landmark p.abstract {
    font-size: 12px;
}

.hoverable {
    margin-top: 10px;
    margin-bottom: 0;
    word-wrap: break-word;
    position: relative;
    padding: 2px;
    border-radius: 5px;
    width:90%;
}

.hoverable:hover {
    background-color: #e6e6e6;
}

.hoverable.is-active {
    background-color: #e6e6e6;
}

.coords {
    border-radius: 5px;
    background: #212529eb;
    color: white;
    text-align: center;
    padding: 2px 7px;
    font-size: 12px;
}

.landmark section p:last-child {
    margin-bottom: 0px;
}

.landmark section p:first-child {
    margin-top: 0;
}

.wikipedia-link {
    font-size: 9px;
    font-weight: bolder;
    letter-spacing: 1px;
    padding-bottom: 7px;
}

.leaflet-popup-content {
    margin: 0;
}

.leaflet-popup-content-wrapper, .leaflet-popup-tip {
    background: rgba(247, 247, 247, 0.95);
    padding-left: 0;
    padding-right: 0;
}

.gap {
    height: 10px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #bfbfbfad;
}

div.gap:last-child {
    border-bottom: none;
}

i.right-arrow {
    border: solid #6c757d;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    position: absolute;
    top: calc(50% - 5px);
    left: 94%;
}

.right-arrow {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.record-title {
    padding-right: 19px;
    cursor: pointer;
}

.record-smaller {
    color: gray;
    font-size: 12px;
}

.leaflet-popup-content p {
    margin: 8px 0;
    padding: 2px 4px 0px 2px;
}

.leaflet-sidebar-tabs {
    background-color: #343a40;
}

/* Legend specific */
.legend {
    padding: 6px 10px;
    font: 14px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    line-height: 24px;
    color: #555;
}

@media screen and (max-width: 768px){
    .legend {display: none;}
}

.legend h4 {
    text-align: center;
    font-size: 16px;
    margin: 2px 12px 8px;
    color: #777;
}

.legend span {
    position: relative;
    bottom: 3px;
}

.legend i {
    width: 18px;
    height: 18px;
    float: left;
    margin: 0 5px 0 3px;
    opacity: 0.7;
}

.legend i.icon {
    background-size: 11px;
    background-color: rgba(255, 255, 255, 0);
}

.legend i.icon.bigger {
    margin-top: 2px;
    background-size: 13px;
    background-color: rgba(255, 255, 255, 0);
}

/* Sidebar specific */

#sidebar {margin-top: 100px;
    right: 1%; max-height: 90%;}

@media screen and (max-width: 768px){
    #sidebar {
        margin-top:150px;
        margin-left: 20px;
    }

}

#sidebar h4 {
    font-size: 18px;
    margin-top: 18px;
}

#sidebar p {
    font-size: 15px;
    margin-bottom: 5px;
}

#sidebar li {
    font-size: 14px;
    margin-bottom: 2px;
}

ul {
    padding-left: 15px;
}

.leaflet-sidebar.collapsed {
    width: 40px;
}

.leaflet-sidebar-pane.active {
    padding: 15px;
    padding-right: 25px;
}

.leaflet-sidebar-content {
    max-height:90%;
    margin-right: 10px;
}

.leaflet-sidebar-content img {
    max-width: 20px;
}

.leaflet-sidebar-tabs {
    height: 40px;
}


/*.leaflet-sidebar-right .leaflet-sidebar-header {*/
/*position: sticky;*/
/*top: 0;*/
/*}*/

/* Toggle expansion */

#toggle-expansion-button:before {
    content: "";
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    vertical-align: text-top;
    background-color: transparent;
    background-position: center center;
    background-repeat: no-repeat;
    background-size:contain;
    background-origin: content-box;

}

#toggle-expansion-button {
    padding: 0;
    cursor: default;
    background-color: #00abe0;
    position: relative;
    /*margin-top: -3px;*/
    border-color: transparent;
}

#toggle-expansion-button:focus, #toggle-expansion-button:active, #toggle-expansion-button:active:focus {
    outline: none !important;
    box-shadow: none;
    background-color: #00abe0;
    border-color: transparent;
}

#toggle-expansion-button:before {
    background-image: url('../img/graph.png');
}

#toggle-expansion-button.disabled {
    background-color: #ffffff;
}

/* Autocomplete */

.autocomplete-suggestions {
    overflow: auto;
    border: 1px solid #CBD3DD;
    background: #FFF;
    border-radius: 5px;
}

.autocomplete-suggestion {
    overflow: hidden;
    padding: 5px 15px;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
}

.autocomplete-selected {
    background: #F0F0F0;
    cursor: pointer;
}

.autocomplete-suggestions strong {
    color: #029cca;
    font-weight: normal;
}

.autocomplete-group {
    padding: 2px 10px 2px;
    display: block;
    font-weight: bolder;
    border-left: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    border-top: 1px solid #e2e2e2;
    background-color: #f7f7f7;
}

/* Stuff */



#sidebar li {
    margin-bottom: 0;
}

form label {
    margin-bottom: 0.8rem;
}

.leaflet-sidebar-pane.active > form {
    margin-top: 15px;
}

.hoverable.res {
    position: inherit;
}

.record-title.res {
    padding-right: 0;
}

/* New */

.marker-numbered-icon {
    width: 24px !important;
    height: 24px !important;
    margin-left: 0;
    margin-top: -42px;
    border-radius: 18px;
    border: 2px solid #dc3545;
    text-align: center;
    color: #dc3545;
    background-color: rgb(249, 249, 249);
    font-size: 13px;
}

.marker-numbered-icon-smaller {
    width: 24px !important;
    height: 24px !important;
    margin-left: 0;
    margin-top: -42px;
    border-radius: 18px;
    border: 2px solid #dc3545;
    text-align: center;
    color: #dc3545;
    background-color: rgb(249, 249, 249);
    font-size: 10px;
}

.numbered-text {
    position: relative;
    top: 1px;
}

.numbered-text-smaller {
    position: relative;
    top: 3px;
}

.fa-tab-icon-number-small {
    margin-left: 2px;
    font: 8px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
    font-weight: bold;
}

.curve-tooltip {
    text-align: center;
    font-size: 10px;
    white-space: normal;
}

.leaflet-sidebar.hidden {
    opacity: 0;
}

.leaflet-sidebar-tabs > li:hover, .leaflet-sidebar-tabs > ul > li:hover {
    color: #343a40;
    background-color: transparent;
}

.leaflet-sidebar-tabs > li.active, .leaflet-sidebar-tabs > ul > li.active {
    background-color: transparent;
}

.leaflet-sidebar-right .leaflet-sidebar-content {
    border-bottom-right-radius: 6px;
}

.logo-area small {
    display: block;
    font-size: 13px;
    color: #333333;
    margin-top: -5px;
}

.search-info {
    top:22px;
    width:190px;
}

.logo-area .logo-esplora img {

    float: left;
    margin-top: 20px;
    margin-right: 15px;
}

.logo-area h1 {
    padding-top: 8px;
    padding-bottom: 0;
    margin-bottom: 0;
}




/*i.fa-info-circle {*/
/*    color: #6c757d;*/
/*    display: inline-block;*/
/*    position: absolute;*/
/*    top: calc(100% - 18px);*/
/*    right: 2%;*/
/*}*/

.openCatalogue {
    position: absolute;
    top:calc(50% - 8px);
    right: -30px;
}

.leaflet-popup-content-wrapper {
    border-radius: 3px !important;
}

.leaflet-popup-content small{
    line-height: 10px;
    font-size: 10px;
    text-align: center;
    display: block;
    margin-top:-5px;
    margin-bottom: 10px;
}
.leaflet-popup-content small a, .leaflet-popup-content small a:link, .leaflet-popup-content small a:hover, .leaflet-popup-content small a:visited {
    color: #f07c29;
        line-height: 10px;
    font-size: 10px;
    text-align: left;
}



/*.leaflet-popup-content-wrapper, .leaflet-popup-tip {*/
/*    box-shadow: 0 10px 16px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19) !important;*/
/*}*/


