

div#pos {
    display: flex;
    max-width: 1134px;
    margin: 0;
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    color: #6f6f6f;
    height: 960px;
}

@media screen and (min-width: 971px) {
.pos-search {
    width: 450px;
}
}


.posform-container {
    background-color: #00A362;
    padding: 3em;
    color: #fff;
    height: 488px;
}

.search-mode .posform-container {
    height: 377px;
}

.posform-container p {
    margin: 0 0 1em;
}
.posform-container h2 {
    line-height: 1.2;
    margin: 0 0 0.5em;
}

.posfields {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.posfields p {
    margin: 0;
}

.posfields label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.posfields select, .posfields input {
    width: 100%;
    padding: 0.7em 1em;
    background-color: #fff;
    border-radius: 12px;
}

form.pos-search {
    display: flex;
    width: 100%;
    height: auto;
}

form.pos-search button {
    width: 4em;
    margin: 0;
    background-color: #83C626;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    padding: 0;
    border: none;

}

form.pos-search button img {
    width: 1.5em;
    height: 1.5em;
}

form.pos-search input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}



p.ver-todos-link {
    margin: 1em 0;
}

p.ver-todos-link a {
    color: #fff;
    text-decoration: underline;
}

.search-mode .hidden-on-search {
    display: none;
}

.visible-on-search {
    display: none;
}

.search-mode .visible-on-search {
    display: block;
}


p.listapos-count {
    width: 100%;
    text-align: right;
    margin: 0 0 1em;
    color: #003217;
    font-size: 0.85em;
    font-weight: 700;
}

#listapos:empty {
    display: none;
}

.listapos-container {
    height: 472px;
    background-color: #F4F5F4;
    padding: 24px 2.8em 32px;
}

.search-mode .listapos-container {
    height: 583px;
}

#listapos {
    display: flex;
    flex-direction: column;
    gap: 1em;
    overflow-y: scroll;
    height: 396px;
    padding-right: 8px;
}

#listapos::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	border-radius: 8px;
	background-color: #F5F5F5;
}

#listapos::-webkit-scrollbar {
	width: 8px;
	background-color: #F5F5F5;
}

#listapos::-webkit-scrollbar-thumb {
	border-radius: 8px;
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
	background-color: #003217;
}

.search-mode #listapos {
    height: 507px;
}

.punto {
    background-color: #fff;
    padding: 1.3em 1.5em;
    border-radius: 12px;
}

.punto > * {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.p-tipo span {
    color: #003217;
    font-weight: 500;
}

.p-nombre {
    font-size: 1.25em;
    color: #003217;
    font-weight: 700;
    margin: 0.3em 0;
}


.p-tipo img {
    width: 18px;
    height: auto;
    margin: 0;
}

.p-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1em;
}

.p-telefono {
    margin: 0;
    display: flex;
    gap: 5px;
}

.p-telefono img {
    width: 18px;
    height: 18px;
    margin: 0;
}

a.p-comollegar {
    color: #fff;
    background-color: #003217;
    font-size: 0.85em;
    font-weight: 800;
    padding: 0.53em 1.1em;
    border-radius: 0.8em;
    border-top-right-radius: 0.1em;
}


@media screen and (min-width: 971px) {
.pos-result {
    width: calc(100% - 450px);
}
}


@media screen and (max-width: 971px) {
#pos {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    height: auto !important;
}
.posform-container, .search-mode .posform-container {
    height: auto;
}
.listapos-container {
    height: auto;
}
#mapa {
    width: 100% !important;
    height: 500px !important;
    max-width: 100%;
}
}




