main div#tituloSecc {
  font-size: 0.75em;
}
main #sedes {
  display: grid;
  padding-top: 80px;
}

main#main {
  grid-template-columns: 1fr;
}
main div.sede {
  justify-self: center;
  width: 90%;
  margin: 20px;
  max-width: 350px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px #000;
}
main div.sede .tituloSede {
  background: #48887b;
  padding: 10px;
  text-align: center;
  position: relative;
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-family: "futuraMedium";
}
/*---ocultar profesionales---*/
main div.sede .contenedorProf {
  display: none;
}
/*---- al activar boton ver profesionales---*/
/*ocultamos boton*/
main div.sede a.ocultar {
  display: none;
}
/*mostramos los profesionales*/
/*cerrar*/
main div.sede .mostrar > div:first-child {
  cursor: pointer;
  display: inline-block;
  position: relative;
  left: 80%;
  top: -16px;
  font-size: 1.2em;
  font-family: "futuraBold";
  padding: 5px 10px;
  color: #fff;
}
/*listado profesionales*/
main div.sede .mostrar {
  padding: 0px 10%;
  margin-top: -20px;
  display: block;
  text-align: left;
  color: #4b4b4d;
}
main div.sede .mostrar .asociados {
  text-align: center;
  font-family: "futuraExtraBold";
  position: relative;
}
main div.sede .mostrar .asociados h3 {
  font-family: "futuraMedium";
  font-size: 0.9em;
  margin-top: 15px;
}
main div.sede .mostrar .asociados .socios > p {
  color: #48887b;
  font-size: 0.9em;
  margin-top: 2px;
  margin-bottom: 4px;
  text-align: left;
}

/*flecha de especialidades*/
main div.sede .mostrar .asociados p::before {
  content: "";
  top: -0px;
  right: 5px;
  width: 10px;
  height: 10px;
  position: relative;
  display: inline-block;
  background-image: url(../imagenes/flecha.gif);
  background-repeat: no-repeat;
  background-size: 8px 8px;
}

/*----configuracion botones----*/
/*boton +info*/
main div.sede .mostrar .asociados .socios {
  padding-bottom: 25px;
}
main .sede .contenedorProf .asociados a {
  text-decoration: none;
  padding: 5px;
  font-size: 0.7em;
  font-family: "futuraBold";
  position: absolute;
  right: 0;
  border-radius: 5px;
  color: #48887b;
  border: 1px solid #48887b;
}

main .sede .contenedorProf .asociados a:hover {
  color: #fff;
  background: #48887b;
  border: 1px solid #48887b;
}

/*resto de botones*/
main .sede a.boton {
  display: block;
  position: relative;
  padding: 10px 5px;
  margin: 10px;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  font-size: 0.7em;
}
main .sede a.profesionales {
  background: #fff;
  color: #48887b;
  border: 1px solid #48887b;
  cursor: pointer;
}
main .sede a.profesionales:hover {
  background: #808080;
  color: #fff;
  border: 1px solid #fff;
}

main .sede a.autogestion {
  background: #a8518a;
  border: 1px solid #a8518a;
}
main .sede a.autogestion:hover {
  background: #fff;
  color: #a8518a;
  border: 1px solid #a8518a;
}
main .sede a.turnos {
  background: #48887b;
  margin-bottom: 20px;
}
main .sede a.turnos:hover {
  background: #fff;
  color: #48887b;
  border: 1px solid #48887b;
}

@media only screen and (min-width: 270px) {
  main div.sede .mostrar .asociados h3 {
    font-size: 1.1em;
  }
  main div.sede .mostrar .asociados > p {
    font-size: 0.9em;
  }
}

@media only screen and (min-width: 320px) {
  main div#tituloSecc {
    font-size: 1em;
    padding-left: 15%;
  }
}

@media only screen and (min-width: 320px) {
  body {
    background: #eaeaec;
  }
}
@media only screen and (min-width: 600px) {
  main#main #sedes {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: auto;
    align-items: start;
  }
  main#main div#tituloSecc {
    grid-row-start: 1;
    grid-row-end: 2;
  }
  main#main .sede {
    grid-row-start: 1;
    grid-row-end: 3;
    align-self: start;
  }
}
