/**
 * Esta hoja de estilo guarda la definición de los estilos de los mapas de Proxia
 */

/* Estilos genéricos para Google Maps */
.cmMap_Container,
.cmMap_googleMaps {
	position: relative;
	height: 500px;
}

.cmMap_searchBox {
	position: absolute;
	top: 15px;
	left: 30%;
	z-index: 5;
	max-width: 250px;
	right: 30%;
}

.cmMap_searchBox .input-group {
	box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
}

.cmMap_searchBox .btn {
	margin-right: -1px;
}

ul.cmMap_Menu {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	min-height: 46px;
	border: none;
	background: none;
	background-image: url(../imagenes/contents/bg_menuMap.png);
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.cmMap_Menu li.cmMap_MenuItem {
	list-style-type: none;
	float: left;
	margin: 0;
	padding: 0.4em 0 0.4em 0.8em;
	line-height: 3.2em;
	min-width: 10.5em;
	color:#fff;
}

ul.cmMap_Menu li.cmMap_MenuItem span {
	padding-left: 5px;
}

ul.cmMap_Menu li.cmMap_MenuItem img,
ul.cmMap_Menu li.cmMap_MenuItem span {
	vertical-align: middle;
}

/* Ampliar mapa / cómo llegar */
.tkShowMap {
	background-color: #000;
	color: #3A485B;
	overflow: visible;
}

.tkShowMap.tkLeafletMap {
        overflow: hidden;
}

.tkShowMap .cmMap_googleMaps {
	width: 900px;
	height: 500px;
}

.tkShowMap.showForm .cmMap_googleMaps {
	height: 440px;
}

/*botones*/
.showMapFormContainer button.cmTypeSubmit,
.showMapFormContainer button.cmTypeReset{
	font-size:1em;
	font-weight:bold;
	padding:0.1em 0.6em;
	border:none;
	min-width: 74px;
	min-height: 21px;
	position: relative;
	text-align: center;
}

.showMapFormContainer {
	padding: 0 10px 10px 10px;
	font-size: 1.1em;
	color: #fff;
	overflow:hidden;
}

/* Google Maps cuando mostramos el itinerario de la ruta en el panel izquierdo */
.tkShowMap.cmMap_googleMapsRoute .cmMap_googleMaps {
	width: 600px;
	float: left;
}

/* Panel izquierdo con el itinerario para la ruta calculada de Google Maps */
.cmMap_directions {
	margin: 0 6px 0 0;
	color: #3A485B;
	background-color: #fff;
	width: 294px;
	height: 440px;
	overflow: auto;
	float: left;
	display: none;
}

.tkShowMap.showDirections .cmMap_directions {
	height: 500px;
}

.tkShowMap.cmMap_googleMapsRoute ul.cmMap_Menu {
	left: 300px;
}

.tkShowMap li.cmMap_MenuItem {
	font-size: 1.1em;
}

.tkShowMap.showFormOnDemand .cmMap_directions,
.tkShowMap.showFormOnDemand .cmMap_googleMaps{
	height:438px;
}

.cmMap_Component{
	margin-bottom: 15px;
}

.cmMap_Component .panel-body {
	padding: 0;
}

.cmMap_AbstractKml {
	margin-bottom: 15px;
}

/*InfoWindow de Google Maps*/

div.infoWindowOverlayToShow{
	font-size:10px;
	font-family:Verdana, Arial, sans-serif;
	color:#333;
}


div.infoWindowWrapper .contentName,
div.infoWindowOverlayToShow,
div.infoWindowOverlayToShow .infoWindowName{
	font-family: Roboto,Arial,sans-serif;
	font-size: 13px;
}

div.infoWindowWrapper .contentText {
	padding-top:0;
}


div.infoWindowOverlayToShow .infoWindowName {
	font-size: 13px;
	color:#333;
	font-weight:500;
}

div.infoWindowOverlayToShow .infoWindowDescription {
	font-weight:300;
	padding-top: 2px;
}
div.infoWindowOverlayToShow .infoWindowUrl{
	font-size: 13px;
	padding-top: 5px;
	font-weight:400;
}

div.infoWindowOverlayToShow .infoWindowUrl span{
	margin-right:10px;
}

div.infoWindowOverlayToShow a{
	color:#369;
}

div.infoWindowWrapper .contentName {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

div.infoWindowWrapper .cmParagraph{
	margin-top: 0;
	margin-bottom: .5em;
	display: block;
}

div.infoWindowWrapper .infoWindowUrl{
	white-space: nowrap;
}

div.infoWindowWrapper .infoWindowUrl a{
	display: block;
}

div.infoWindowOverlayToShow .infoWindowUrl span{
	margin-right:0;
}

/*Mapa Lateral*/
.sidebar .btn-showlist,
.sidebar .btn-printlist {
	display: none;
}

.sidebar .cmMap_Component div.infoWindowWrapper .contentName {
	white-space: normal;
}

.sidebar .cmMap_Component {
	padding: 0;
	overflow: hidden;
	z-index: 5;
	position: relative;
	margin-bottom:20px;
}

.sidebar .cmMap_Component .infoWindowWrapper {
	max-width: 106px;
}

.sidebar .cmMap_Component .infoWindowUrl {
	white-space: nowrap;
}

.sidebar .cmMap_Component .contentData {
	border: 1px solid #ddd;
}

.sidebar .cmMap_Component .contentData:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.sidebar .cmMap_Component .cmMap_Container, 
.sidebar .cmMap_Component .cmMap_googleMaps {
	position: relative;
	width: auto;
	height: 320px;
}

.sidebar .cmMap_Component .contentData:after {
	content: " ";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.tab-content div[id^=S_GMAP_LOCATION_] {
	margin: -15px;
}

.sidebar .buttons {
	white-space: normal;
}

.cmMap_searchForm fieldset {
	border: 1px solid #666;
	font-size: .9em;
	color: #fff;
	margin: 15px 0 0 0;
	padding: 0;
	clear: both;
}

.cmMap_searchForm legend {
	font-size: 1em;
	color: #ccc;
	padding: 0 5px;
	margin: 0 10px 0 0;
	border: none;
	width: auto;
}

.cmMap_searchForm label {
	margin-bottom: 2px;
	padding-left: 15px;
	float: left;
	vertical-align: middle;
}

.cmMap_searchForm .form2Icon,
.cmMap_searchForm .form3Icon {
	padding: 7px 0;
}

.cmMap_searchForm .form2Icon label.odd {
	width: 48%;
	padding-left: 5px;
}

.cmMap_searchForm .form2Icon label.even {
	width: 52%;
	clear: both;
}

.cmMap_searchForm .form2Icon label.even:last-child {
	width: auto;
}

.cmMap_searchForm .form2Icon label {
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.cmMap_searchForm .form3Icon label {
	width: 33%;
}

.cmMap_searchForm label.first {
	clear: both;
}

.cmMap_searchForm label.fullWidth {
	width: auto;
}

.cmMap_searchForm label input,
.cmMap_searchForm label img {
	vertical-align: middle;
	margin: 0;
}

.cmMap_searchForm .markers {
	padding: 0 10px 13px;
	background: #f6f6f6;
}

.cmMap_searchForm .markers label {
	color: #666;
}

.cmMap_searchForm .buttons .btn {
	margin-top: 10px;
}

/*Mapas en lightbox*/
.cmMap_lightbox{
	padding: 0;
	overflow: hidden;
	z-index: 5;
	position: relative;
	height: 100%;
}

.cmMap_lightbox .cmMap_directions {
	height: auto;
}

.cmMap_lightbox.tkShowMap .cmMap_Container,
.cmMap_lightbox.tkShowMap .cmMap_googleMaps {
	width: auto;
	height: auto;
}

.cmMap_lightbox .cmMap_Container, 
.cmMap_lightbox .cmMap_googleMaps {
	position: relative;
	width: 100%;
	height: 100%;
}

.cmMap_lightbox .cmMap_searchForm {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	margin-top: -35px;
	background: #141414;
}

.cmMap_lightbox .header {
	border-bottom: none;
}

.cmMap_lightbox .header h2 {
	margin: 0;
	font-size: 18px;
}

.cmMap_lightbox .header,
.cmMap_lightbox .header h2,
.cmMap_lightbox .header a {
	color: #fff;
}

.cmMap_lightbox .header a {
	display: block;
	padding: 10px 10px 5px 10px;
}

.cmMap_lightbox .header a:hover,
.cmMap_lightbox .header a:active,
.cmMap_lightbox .header a:focus {
	text-decoration: none;
}

.cmMap_lightbox .header .slider-title {
	display: block;
	float: left;
}

.cmMap_lightbox .header .fa {
	display: block;
	float: right;
	font-size: 20px;
}

.cmMap_lightbox fieldset {
	clear: both;
}

.cmMap_lightbox fieldset.first {
	margin-top: 5px;
}

.cmMap_lightbox .cmMap_searchForm label {
	line-height: 25px;
}

.cmMap_lightbox .showMapFormContainer {
	padding: 5px 0;
	font-size: 1em;
}

.cmMap_lightbox .form-group {
	margin-bottom: 0;
}

.cmMap_lightbox .showMapFormContainer label {
	line-height: 22px;
	margin: 0 10px 0 0;
}

.cmMap_lightbox .showMapFormContainer .cmParagraph {
	margin-top: 0;
	margin-bottom: .5em;
}

.cmMap_lightbox .showMapFormContainer form {
	margin: 0 0 2px 0;
}

.cmMap_lightbox .cmSearchFieldSet .cmSearchLabel {
	line-height: 18px;
	float: left;
	margin: 0 10px 0 0;
}

.cmMap_lightbox div.cmSearchCol,
.cmMap_lightbox div.cmSearchTown,
.cmMap_lightbox .cmSearchFieldSet .cmSearchLabel,
.cmMap_lightbox .cmSearchFieldSet .cmSearchField,
.cmMap_lightbox div.cmSearchRow {
	clear: none;
	float: left;
	margin: 0 20px 0 0;
}

.cmMap_lightbox div.cmSearchRow,
.cmMap_lightbox div.cmSearchRow .proxia_mapTown {
	margin-top: 5px;
}

.cmMap_lightbox fieldset {
	padding: 0 10px 10px 10px;
	margin: 10px 0 0 0;
}

.cmMap_lightbox .cmSearchFieldSet .cmSearchLabel label {
	line-height: 18px;
	margin: 0;
}

.cmMap_lightbox input,
.cmMap_lightbox select {
	color: #000;
}

.cmMap_lightbox div.infoWindowWrapper .infoWindowUrl a{
	display: inline-block;
}

/* Botón ampliar mapa */
.btn-enlargemap {
	color: #ffffff;
	background-color: #428bca;
	border-color: #357ebd;
}
.btn-enlargemap:hover,
.btn-enlargemap:focus,
.btn-enlargemap.focus,
.btn-enlargemap:active,
.btn-enlargemap.active,
.open > .dropdown-toggle.btn-enlargemap {
	color: #ffffff;
	background-color: #3071a9;
	border-color: #285e8e;
}
.btn-enlargemap:active,
.btn-enlargemap.active,
.open > .dropdown-toggle.btn-enlargemap {
	background-image: none;
}
.btn-enlargemap.disabled,
.btn-enlargemap[disabled],
fieldset[disabled] .btn-enlargemap,
.btn-enlargemap.disabled:hover,
.btn-enlargemap[disabled]:hover,
fieldset[disabled] .btn-enlargemap:hover,
.btn-enlargemap.disabled:focus,
.btn-enlargemap[disabled]:focus,
fieldset[disabled] .btn-enlargemap:focus,
.btn-enlargemap.disabled.focus,
.btn-enlargemap[disabled].focus,
fieldset[disabled] .btn-enlargemap.focus,
.btn-enlargemap.disabled:active,
.btn-enlargemap[disabled]:active,
fieldset[disabled] .btn-enlargemap:active,
.btn-enlargemap.disabled.active,
.btn-enlargemap[disabled].active,
fieldset[disabled] .btn-enlargemap.active {
	background-color: #428bca;
	border-color: #357ebd;
}
.btn-enlargemap .badge {
	color: #428bca;
	background-color: #ffffff;
}

/* Botón del mapa cómo llegar */
.btn-howtoarrive {
	color: #ffffff;
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-howtoarrive:hover,
.btn-howtoarrive:focus,
.btn-howtoarrive.focus,
.btn-howtoarrive:active,
.btn-howtoarrive.active,
.open > .dropdown-toggle.btn-howtoarrive {
	color: #ffffff;
	background-color: #31b0d5;
	border-color: #269abc;
}
.btn-howtoarrive:active,
.btn-howtoarrive.active,
.open > .dropdown-toggle.btn-howtoarrive {
	background-image: none;
}
.btn-howtoarrive.disabled,
.btn-howtoarrive[disabled],
fieldset[disabled] .btn-howtoarrive,
.btn-howtoarrive.disabled:hover,
.btn-howtoarrive[disabled]:hover,
fieldset[disabled] .btn-howtoarrive:hover,
.btn-howtoarrive.disabled:focus,
.btn-howtoarrive[disabled]:focus,
fieldset[disabled] .btn-howtoarrive:focus,
.btn-howtoarrive.disabled.focus,
.btn-howtoarrive[disabled].focus,
fieldset[disabled] .btn-howtoarrive.focus,
.btn-howtoarrive.disabled:active,
.btn-howtoarrive[disabled]:active,
fieldset[disabled] .btn-howtoarrive:active,
.btn-howtoarrive.disabled.active,
.btn-howtoarrive[disabled].active,
fieldset[disabled] .btn-howtoarrive.active {
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-howtoarrive .badge {
	color: #5bc0de;
	background-color: #ffffff;
}


/* Botón ver lista */
.btn-showlist {
	color: #ffffff;
	background-color: #f0ad4e;
	border-color: #e9941b;
}
.btn-showlist:hover,
.btn-showlist:focus,
.btn-showlist.focus,
.btn-showlist:active,
.btn-showlist.active,
.open > .dropdown-toggle.btn-showlist {
	color: #ffffff;
	background-color: #eb9316;
	border-color: #d58512;
}
.btn-showlist:active,
.btn-showlist.active,
.open > .dropdown-toggle.btn-showlist {
	background-image: none;
}
.btn-showlist.disabled,
.btn-howtoarrive[disabled],
fieldset[disabled] .btn-showlist,
.btn-showlist.disabled:hover,
.btn-howtoarrive[disabled]:hover,
fieldset[disabled] .btn-showlist:hover,
.btn-showlist.disabled:focus,
.btn-howtoarrive[disabled]:focus,
fieldset[disabled] .btn-showlist:focus,
.btn-showlist.disabled.focus,
.btn-howtoarrive[disabled].focus,
fieldset[disabled] .btn-showlist.focus,
.btn-showlist.disabled:active,
.btn-howtoarrive[disabled]:active,
fieldset[disabled] .btn-showlist:active,
.btn-showlist.disabled.active,
.btn-howtoarrive[disabled].active,
fieldset[disabled] .btn-showlist.active {
	background-color: #f0ad4e;
	border-color: #e38d13;
}
.btn-showlist .badge {
	color: #f0ad4e;
	background-color: #ffffff;
}


/* Botón imprimir */
.btn-printlist {
	color: #ffffff;
	background-color: #f0ad4e;
	border-color: #e9941b;
}
.btn-printlist:hover,
.btn-printlist:focus,
.btn-printlist.focus,
.btn-printlist:active,
.btn-printlist.active,
.open > .dropdown-toggle.btn-printlist {
	color: #ffffff;
	background-color: #eb9316;
	border-color: #d58512;
}
.btn-printlist:active,
.btn-printlist.active,
.open > .dropdown-toggle.btn-printlist {
	background-image: none;
}
.btn-printlist.disabled,
.btn-howtoarrive[disabled],
fieldset[disabled] .btn-printlist,
.btn-printlist.disabled:hover,
.btn-howtoarrive[disabled]:hover,
fieldset[disabled] .btn-printlist:hover,
.btn-printlist.disabled:focus,
.btn-howtoarrive[disabled]:focus,
fieldset[disabled] .btn-printlist:focus,
.btn-printlist.disabled.focus,
.btn-howtoarrive[disabled].focus,
fieldset[disabled] .btn-printlist.focus,
.btn-printlist.disabled:active,
.btn-howtoarrive[disabled]:active,
fieldset[disabled] .btn-printlist:active,
.btn-printlist.disabled.active,
.btn-howtoarrive[disabled].active,
fieldset[disabled] .btn-printlist.active {
	background-color: #f0ad4e;
	border-color: #e38d13;
}
.btn-printlist .badge {
	color: #f0ad4e;
	background-color: #ffffff;
}

.cmMap_searchForm .form3Icon label{
	display:block;
	float:left;
	width: 50%;
}

.cmMap_searchForm fieldset{
	margin-top:15px;
}

.infoWindowContents .spinner {
	text-align: center;
	padding: 0 0 40px;
	color: #888;
	opacity: .6;
}

.cmMap_resultsModalDialog .spinner{
	text-align: center;
}

/*Estilo cluster mapas*/
.cluster-label {
	color: #000;
    font-family: "Lucida Grande","Arial",sans-serif;
	font-size: 11px;
	text-align: center;
	width: 31px;
	height: 54px;
	white-space: nowrap;
    padding-top: 31px;
	padding-left: 1px;
}
.leaflet-tooltip.cluster-label {
    margin-left: 0px;
    padding: 0px;
    background-color: transparent;
    border: 0px;
    box-shadow: none;
}

.leaflet-container .leaflet-map-pane,
.leaflet-container .leaflet-top,
.leaflet-container .leaflet-bottom {
    z-index: 0;
}

/* Resultados de búsqueda del mapa en modo listado */
.mapListPage {
	background: #eee;
}

ul.mapList li.state {
	margin: 0;
	display: block;
	padding: 15px;
	background: url(../imagenes/bullets/bullet_list.png) no-repeat 0 25px;
}

ul.mapList li.state > span {
	font-size: 1.6em;
	color:#000;
	font-weight:normal;
	display: block;
}

ul.mapList li.icon > span {
	padding: 0.3em 0.5em 0.3em 0;
	font-size: 1.3em;
	color: #888;
	font-weight: bold;
	display: block;
}

/* Custom zoom control */
.control-zoom{
	padding-top: 15px;
}

#control-zoom-in, #control-zoom-out{
	display: block;
    height: 32px;
    width: 32px;
    cursor: pointer;
    background-color: #fff;
    box-shadow: rgb(0 0 0 / 30%) 0px 1px 4px -1px;
    font-size: 20px;
    padding: 0px 0 0 8px;
    text-decoration: none;
    color: #000;
    margin: 0 15px 3px 0;
    text-align: left;
}

/* Custom type control */
.control-type{
	margin: 15px 0 0 15px;
}
.control-type #button-type{
	margin-left: 0;
    background-color: #fff;
    border: 0;
    padding: 0 15px;
    height: 32px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
    font-size: 18px;
    color: #000;
    font-weight: 500;
}
.control-type .dropdown-menu{
	margin-top: 0;
	padding: 6px;
	border-radius: 0;
}

.control-type .dropdown-menu button{
	margin-left: 0;
	background: 0;
	border: 0;
	font-size: 16px;
	text-align: left;
	white-space: nowrap;
	outline: none;
}
.control-type .dropdown-menu button .fa{
	border: 2px solid #000;
	margin-right: 6px;
	min-width: 20px;
    min-height: 20px;
    vertical-align: text-bottom;
}
.control-type .dropdown-menu button:not(.active) .fa:before{
	content: '';
}
.control-type .dropdown-menu button:hover .type{
	text-decoration: underline;
}