html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}

header {
	font-size: 2em;
	padding: 1rem;
}

div#form_cont {
	padding: .5em 0.1em;
	display: flex;
	justify-content: space-between;
}

.form_item {
	padding: .5em;
	display: flex;
	align-items: baseline;
}

.form_item button {
	margin: 0 .5em;
	font-size: 1em;
}

.form_item label {
	margin-right: .5em;
}

.form_group {
	display: flex;
	flex-wrap: wrap;
}

.form_group input, .form_group  select {
	font-size: 1em;
}

#map {
	/* width: 100vw; */
	height: 100%;
}

div#main {
	display: flex;
	flex-direction: column;
	height: 100%;
}

div#lista {
	/* border: solid 1px; */
	padding: 1em;
	/* margin-bottom: 1em; */
	overflow: auto;
	transition: height 1s ease-in-out;
	/* position: relative; */
	box-sizing: border-box;
	height: 100%;
	min-width: 400px !important;
	max-width: 420px !important;
	/* width: 380px; */
}

.gasolinera {
	border-bottom: solid 1px lightgray;
	padding: 1em 0;
	display: flex;
	cursor: pointer;
}

.gasolinera:hover{
	background: #eee;
}

.direccion {
	text-transform: capitalize;
}

.gasolinera ul {
	list-style: none;
	font-size: 1em;
	font-family: monospace;
	/* columns: 2; */
	padding: 0;
	margin: 0;
	margin-top: 0.5em;
	display: flex;
	flex-direction: column;
	/*flex-flow: column wrap;*/
	/*height: 5em;*/
	width: 100%;
}

.gasolinera ul li {
	display: flex;
	justify-content: space-between;
	margin-right: 1em;
}

.datos {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.cabecera {
	display: flex;
}

.cabecera > * {
	flex: 0 auto;
}

span.precio {
	margin-left: 1em;
}

.gasolinera ul li.buscado {
	color: mediumseagreen;
}

.btn_gps input {
	display: none;
}

.btn_gps label {
	border: solid 1px black;
	padding: .5em;
	border-radius: 7px;
	background: indianred;
	cursor: pointer;
}

.btn_gps.on label {
	background: lawngreen;
	box-shadow: 0 0 14px -4px #4bff00;
}

.distancia {
	background: dodgerblue;
	display: inline-block;
	color: white;
	border-radius: 50%;
	width: 3em;
	height: 3em;
	text-align: center;
	line-height: 3em;
}

.gasolinera div.precio {
	margin-top: 1em;
	padding: .5em;
	/*background: khaki;*/
	border-radius: 7px;
}

.precio.verde {
	background-color: lightgreen !important;
}

.precio.amarillo {
	background-color: yellow !important;
}

.precio.rojo {
	background-color: orangered !important;
}

body {
	font-family: sans-serif;
}

input#radio, #deposito, #consumo {
	width: 2em;
}

.hidden{
	/* display: none !important; */
}

div#btn_lista {
	position: relative;
	top: 2.6em;
	text-align: center;
	font-family: monospace;
	color: lightslategray;
	width: 2em;
	height: 2em;
	line-height: 2em;
	border: solid 1px lightgrey;
	border-radius: 50%;
	transform: rotate(270deg);
	/* margin: 2.6em auto; */
	background: white;
	box-shadow: -2px 2px 5px -4px black;
	cursor: pointer;
	display: none;
}

div#btn_lista.desplegada{
	transform: rotate(90deg);
}

#elementos span.nombre_precio {
	/* max-width: 10rem; */
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.detalle {
	margin-left: .5em;
	padding-right: .5em;
	display: flex;
	flex-direction: column;
	/*max-height: 6em;*/
	width: calc(100% - 0.5em);
	overflow: hidden;
}

.detalle ul li {
	display: grid;
	grid-template-columns: 55% auto auto;
	width: 100%;
}

.detalle ul li:first-child {
	font-weight: bold;
	border-bottom: solid 1px;
}

div#info {
	width: max-content;
	font-family: monospace;
	font-size: 0.8em;
	border: solid 1px;
	border-top: none;
	border-left: none;
	border-bottom-right-radius: 5px;
	padding: 0.2em;
	box-shadow: 0 0 14px -4px;
	position: fixed;
	background-color: #ffffff57;
	backdrop-filter: blur(10px);
}

.titulo_marcador {
	font-weight: bold;
}

div#cont_btn_lista {
	height: 2em;
	display: flex;
	justify-content: center;
}

div#resultados {
	display: flex;
	flex-wrap: wrap;
	/* height: calc(100vh - 125px); */
	height: 100%;
	overflow: hidden;
	border-top: solid 1px;
}

#resultados>div {
	flex: 1 0;
	max-width: 100vw;
	min-width: 49vw;
}

@media (max-width: 950px){
	div#resultados{
		flex-direction: column;
	}

	div#lista{
		min-width: 100vw !important;
		max-height: 40%;
	}

	#map{
		height: 60%;
	}
}