@keyframes rotate { 0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);} }
.map-spinner { width: 2em; height: 2em; border: 0.2em #286090 solid; border-radius: 50%; border-left-color: white; animation: rotate 2s linear infinite;}

#map-container, #map, .map-body {width:100%; height:100%;}
/*#map-container {position:fixed; top:0; left:0; right:0; padding-top:56px; padding-right:320px; background:#fff; z-index:9000;}*/
#map-container {position:fixed; top:0; left:0; right:0; padding-top:56px; padding-right:395px; background:#fff; z-index:9000;}

@media (max-width: 465px){
#map-container {
    padding-right: 0;
}
}
#map-container .logo-main {margin:-2px 0 0 !important; float:left;}
#map-container .logo-main img {height:60px;}
#map {border-top:10px solid #B6CD2D; border-bottom:10px solid #B6CD2D;   border-right:1px solid #777;}
.map-header {position:absolute; top:0; left:0; right:0; width:100%; z-index:9200;}
.map-close.navbar-toggle {display:block !important;}
.map-body {position:relative; z-index:9100;}

.map-search {float:left; width:250px; margin:12px 0 0px 0; padding-bottom:0px;}
.map-search > input {float:left; width:200px;}
.map-search > span {}
.map-search h2 {border-bottom-color:#5B7826; margin:0; padding:10px 0px 0px; font-size:1.5em;}
.map-search h3 {font:normal 2.1em/1.5em 'suedtirol',Arial, Helvetica, sans-serif; border-bottom-color:#5B7826; margin:0; padding:10px 0px 0px; font-size:1.5em;}
.ui-autocomplete-loading {background:white url(../../images/ui-anim_basic_16x16.gif) right center no-repeat;}
.ui-autocomplete {background: #f4f4f4;width:250px;max-height:250px;overflow-y:auto;overflow-x:hidden;padding-right:5px;z-index:9200;}
.ui-autocomplete li {font-size:1.0em;border-bottom: 1px solid #ccc;padding: 5px; }

.map-body .infoWindow {max-width:370px;}
.map-body .infoWindow figure {width:350px; height:150px; background-position: center; background-repeat:no-repeat; background-size:cover; margin:0 0 10px;}
.map-body .infoWindow em {font-style:normal; font-size:14px;}
.map-body .infoWindow address {font-style:italic; margin-bottom: 0 !important}
.map-body .infoWindow .star {display:block;}
.map-body .infoWindow-footer>div {float:left;}
.map-body .infoWindow-footer>span {display:block; float:left;}
.map-body .infoWindow-footer>br {clear:both;}
.map-body .infoWindow-footer ul {display: inline-block; list-style-type: none;};
.map-body .infoWindow-footer li {width: auto !important; height: auto !important; top: 9px;};
.map-body .gm-style-iw {top:22px !important; left:26px !important;}
.map-elevation {display:none; position:fixed; bottom:0; left:0; right:0; height:200px; z-index:9100;}
.map-elevation > div {height:100%; background-color:#fff;}
.btn-elevation {display:none;}

.map-menu {position:absolute; bottom:0; right:0; height:100%; padding-top:56px; z-index:9101;}
.map-menu-body {position:relative; height:100%;}
.map-category {position:relative; margin:auto 0; top:50%; z-index:9102; -webkit-transform:translateY(-50%); -ms-transform:translateY(-50%); transform:translateY(-50%); border-bottom-left-radius:4px; border-top-left-radius:4px;}
.map-category .toggle .max {display:none;}
/*.map-category .title {margin-left:8px; margin-right:20px;}*/
.map-category .title {margin-left:8px; margin-right:20px; position:relative; top:-10px; left:0;}
.map-category .list-group-item:first-child {border-top-right-radius:0 !important;}
.map-category .list-group-item:last-child {border-bottom-right-radius:0 !important;}
.map-category .list-group-item {background-color:#333; color:#ccc; border-color:#222;}
.map-category .list-group-item.toggle, .map-category .list-group-item:hover, .map-category .list-group-item:focus {background-color:#222; color:#e7e7e7;}
.map-category .list-group-item .btn-bg .big-icon {font-size:32px !important;}
.map-category .list-group-item.view .btn-bg {background-color:green; color:#fff; margin:-10px -15px; padding:10px 15px;}


/*.map-category .list-group-item.check, .map-category .list-group-item.check:hover,.map-category .list-group-item.check:focus {background-color:#fff; color:#fff; border-right-color:#fff;}*/
.map-category .list-group-item.check, .map-category .list-group-item.check:hover,.map-category .list-group-item.check:focus {background-color:green; color:#fff; border-right-color:green;}
.map-category .list-group-item.interest, .map-category .list-group-item.interest:hover,.map-category .list-group-item.interest:focus {background-color:#fff; color:#fff; border-right-color:#fff;}
.map-category .list-group-item.check .btn-bg {background-color:green; margin:-6px -11px; padding:6px 11px; border-radius:4px;}
.map-category .list-group-item.interest .btn-bg {background-color:green; margin:-6px -11px; padding:6px 11px; border-radius:4px;}
/*.map-detail {position:absolute; right:0; width:320px; height:100%; background-color:#fff; border-top:1px solid #777777; z-index:9103;}*/
.map-detail {position:absolute; right:0; width:395px; height:100%; background-color:#fff; border-top:10px solid #B6CD2D; z-index:9103;}
.map-detail-filter {/*height:100px;*/ padding:10px;}
.map-detail-filter .btn {margin-bottom:4px;}
.map-detail-filter .btn.check {background-color:green; color:#fff;}
.map-detail-category, .map-detail-category ul {width:100%; min-width:auto;}
.map-detail-category .btn-block {text-align:right; color:#fff; background-color:green;}
.map-detail-subcategory .panel-heading {padding-left:12px; padding-right:0; background-color:transparent;}
.map-detail-subcategory .panel-heading .panel-title a {padding:10px 12px;}
.map-detail-subcategory .panel-body .media {cursor:pointer; margin:0; border-bottom:1px solid #ddd;}
.map-detail-subcategory .panel-body .media:hover {background-color:#eee;}
.map-detail-subcategory .panel-body .media figure {width:110px; height:50px; background-position: center center; background-repeat:no-repeat; background-size:cover; margin:10px 0 5px 10px;}
.map-detail-subcategory .panel-body .media-body {padding:5px 8px 5px 0;}
.map-detail-subcategory .panel-body .media-body strong {font-size:14px !important; font-weight:normal !important;}
.map-detail-subcategory .panel-body .media-body address {font-style:italic; margin-top: 10px !important; margin-bottom: 0 !important}
.map-detail-subcategory .panel-body .media-body .star {display:block;}
.map-detail-subcategory .panel-body .media-footer {margin-top:5px;}
.map-detail-body {height:calc(100% - (215px)); padding:0 10px 10px; overflow-y:auto;}
.map-detail-body .panel-title {font-size:12px;}
.map-detail-body .panel-title label>span:nth-of-type(2) {position:relative; top:-6px; left:0;}
.map-detail-body .panel-title label {padding-left:0;}
.map-detail-body .panel-title input[type=checkbox] {display:none;}
.map-detail-body .panel-title input+span {padding:2px;}
.map-detail-body .panel-title input+span.check {color:#fff; background-color:green; padding:2px; border-radius:4px;}
.map-menu.over .map-category .title {display:none;}
#map-container.full {padding-right:0;}
#map-container.full .map-detail, #map-container.full .map-category .toggle .min {display:none;}
#map-container.full .map-category .toggle .max {display:inline-block;}
#map-container.full .map-category .list-group-item.check, #map-container.full .map-category .list-group-item.check:hover, #map-container.full .map-category .list-group-item.check:focus {background-color:#333; color:#e7e7e7; border-color:#222;}
#map-container.full .map-category .list-group-item.check .btn-bg {background-color:transparent !important;}
#map-container.full .map-menu.over .map-category:hover .title, #map-container.full .map-menu.over .map-category:focus .title {display:inline-block;}
.btn-location-bg {margin:0 12px; width:28px; height:28px; background-color:#fff; border:2px solid #fff; text-align:center; box-shadow:0 2px 6px rgba(0,0,0,.3); border-radius:3px;}
.btn-location-bg span {color:rgb(25,25,25); font-size:16px; line-height:24px;}
#map-container [class^="menuicons-"], #map-container [class*=" menuicons-"] {font-family: 'menuicons'; font-size: 24px; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}

.bg-124 {background-color:#e6b50d !important;}
.bg-125 {background-color:#9a3256 !important;}
.bg-126 {background-color:#934b04 !important;}
.bg-127 {background-color:#9fd3f2 !important;}
.bg-128 {background-color:#4c762c !important;}
.bg-129 {background-color:#ff8000 !important;}
.bg-130 {background-color:#3f9a8e !important;}
.bg-131 {background-color:#0059b2 !important;}
.bg-132 {background-color:/*#0059b2*/#7448A8 !important;}
.bg-133 {background-color:#c0cb00 !important;}
.bg-134 {background-color:#a4a2a2 !important;}

@media (max-width:767px) {
	.map-detail {width:100%;}
	.map-detail-filter {/*height:145px;*/}
	.map-detail-filter .toggle .title {margin-left:8px;}
	.map-detail-body {height:calc(100% - (56px + 145px));}
}

@media (max-width:465px) {
	.map-search {display:none;}
}

@media (min-width:768px) {
	.map-detail-filter .toggle {display:none;}
}

@media (min-width:992px) {
	.btn-elevation {display:inline-block;}
	#map-container.elevation {padding-right:0;}
	#map-container.elevation .map-body {padding-bottom:inherit;} /*Modifica richiesta da Gunther, originale 200px*/
	#map-container.elevation .map-elevation {display:none;} /*Modifica richiesta da Gunther, originale block*/
	#map-container.elevation .map-menu, #map-container.elevation .map-detail {display:none !important;}
	#map-container.elevation #map {border-bottom:1px solid #777777;}
}

@media (min-height:620px) and (max-height:778px) {
	.map-menu {padding-top:10px;}
  .map-category .title {top:-4px;}
	.map-category .list-group-item {padding:8px 10px !important;}
	.map-category .list-group-item .btn-bg .big-icon {font-size:28px !important;}
	.map-category .list-group-item.view .btn-bg {margin:-8px -10px; padding:8px 10px;}
}

@media (max-height:620px) {
	.map-menu {padding-top:10px;}
  .map-category .title {top:-2px;}
	.map-category .list-group-item {padding:5px 7px !important;}
	.map-category .list-group-item .btn-bg .big-icon {font-size:20px !important;}
	.map-category .list-group-item.view .btn-bg {margin:-5px -7px; padding:5px 7px;}
}
