@font-face {
  font-family: "Optima_Bold";
  src: url("optima_demi_bold-webfont.eot");
  src: url("optima_demi_bold-webfont.eot?#iefix") format("embedded-opentype"),
    url("optima_demi_bold-webfont.woff2") format("woff2"),
    url("optima_demi_bold-webfont.woff") format("woff"),
    url("optima_demi_bold-webfont.ttf") format("truetype"),
    url("optima_demi_bold-webfont.svg#optimademi_bold") format("svg");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "Optima";
  src: url("optima_medium-webfont.eot");
  src: url("optima_medium-webfont.eot?#iefix") format("embedded-opentype"),
    url("optima_medium-webfont.woff2") format("woff2"),
    url("optima_medium-webfont.woff") format("woff"),
    url("optima_medium-webfont.ttf") format("truetype"),
    url("optima_medium-webfont.svg#optimamedium") format("svg");
  font-weight: normal;
  font-style: normal;
}
::placeholder {
  color: lightslategrey;
  opacity: 1; /* Firefox */
  font-size: 14px;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: lightslategrey;
  font-size: 14px;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: lightslategrey;
  font-size: 14px;
}
body {
  --def: #ffffff;
  /* --inv: #fff; */
  --inv: rgb(75, 117, 100);
  margin: 0;
  padding: 5;
  /*color: #333;*/
  background-color: rgb(255, 255, 255);
}
.header_top {
  margin: 0;
  padding: 0;
  height: 20px;
  list-style: none;
  background: #174046;
}
.header {
  color: #fff;
  color: #174046;
  background: #fff;
  padding: 1em 1.25em;
}
.nav-bar {
  margin: 0;
  padding: 10px;
  height: 100%;
  list-style: none;
  background: #ffffff;
}
.footer {
  float: inherit;
  color: #fff;
  background: #43686e;
  padding: 1em 1.25em;
}

.header-heading {
  margin: 0;
}

.container {
  max-width: 70em;
  margin: 0 auto;
  height: 100%;
}
.contenidoPrincipal:after {
  content: "";
  display: table;
  clear: both;
}
.pie-pagina {
  /* float: inherit;*/
  float: none;
}
.content {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 350px;
  list-style: none;
  background: #ffffff;
}
.main {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 450px;
  list-style: none;
  background: #ffffff;
}
/* CONTENIDOS */
.div-calendario {
  float: left;
  width: 350px;

  margin-right: 20px;
  /*width: 30%;
  min-width: 400px;*/
  margin-bottom: 1em;
  height: 100%;
}
.div-calendario-citas {
  float: left;
  width: 40%;
  min-width: 300px;
  /*margin-right: 5px;*/
  margin-bottom: 1em;
  height: 100%;
}
.columna55p {
  float: left;
  display: block;
  width: 50%;
  margin-right: 5%;
  margin-bottom: 1em;
  height: 100%;
  /*border: 1px solid rgb(165, 164, 164); */
}
.vista-citas {
  float: left;
  display: block;
  width: 65%;
  /*margin-right: 5%;*/
  margin-bottom: 1em;
  height: 100%;
  /*border: 1px solid rgb(165, 164, 164); */
}
.listaCitasA {
  text-align: center;
  width: 350px;
  margin-left: 15%;
}
.listaCitasB {
  width: 300px;
  margin: 0 auto;
}
.columna30p {
  float: left;
  display: block;
  width: 30%;
  margin-right: 5%;
  margin-bottom: 1em;
  height: 100%;
}
.columna75p {
  float: left;
  display: block;
  width: 75%;
  margin-right: 5%;
  margin-bottom: 1em;
  height: 100%;
}

/* TEXTOS */
h1 {
  font-size: 26px;
  font-family: "Optima";
}
h2 {
  font-size: 20px;
  font-family: "Optima";
}
h3 {
  font-size: 18px;
  font-family: "Optima";
}
h4 {
  font-size: 16px;
  font-family: "Optima";
}
h5 {
  font-size: 14px;
  font-family: "Optima";
}
h6 {
  font-size: 12px;
  font-family: "Optima";
}
hr {
  border: none;
  height: 20px;
  width: 100%;
  height: 50px;
  margin-top: 0;
  border-bottom: 1px solid #555454;
  box-shadow: 0 20px 20px -20px rgb(131, 131, 131);
  margin: -50px auto 10px;
}

.contenido-texto {
  text-align: center;
  padding-top: 15px;
  font-family: "Optima";
  font-size: 16px;
  color: #174046;
  font-weight: bold;
  min-width: 350px;
}
/* CAJA INICIO */
.div-caja-inicio-padre {
  width: 100%;
  height: 100%;
  margin-top: 10px;
}
.div-caja-inicio {
  margin: 0 auto;
  background: white;
  border: 1px solid rgb(165, 164, 164);
  height: 100%;
  max-height: 380px;
  width: 100%;
  max-width: 380px;
  border-radius: 6px 6px 0px 0px;
}
.div-a {
  border-radius: 5px 5px 0px 0px;
  text-align: center;
  padding-top: 10px;
  height: 45px;
  width: 100%;
  background: #318f9d;
}
.div-b {
  height: 300px;
  width: 100%;
  background: rgb(231, 228, 228);
  padding: 30px;
}
.div-c {
  height: 45px;
  width: 100%;
  background: #318f9d;
  text-align: center;
}
/* CAJA LISTADO DE CITAS*/
.div-caja-lista-inicio-padre {
  width: 100%;
  height: 100%;
}
.div-caja-lista-inicio {
  margin: 0 auto;
  background: white;
  border: 1px solid rgb(165, 164, 164);
  height: 100%;
  max-height: 1150px;
  width: 90%;
  max-width: 850px;
  border-radius: 6px 6px 0px 0px;
}
/* CAJA FORMULARIO PACIENTE*/
.div-cajap-inicio-padre {
  width: 100%;
  height: 100%;
}
.div-cajap-inicio {
  margin: 0 auto;
  background: white;
  border: 1px solid rgb(165, 164, 164);
  height: 100%;
  max-height: 1150px;
  width: 90%;
  max-width: 650px;
  border-radius: 6px 6px 0px 0px;
}
.div-ap {
  border-radius: 5px 5px 0px 0px;
  text-align: center;
  padding-top: 10px;
  height: 45px;
  width: 100%;
  background: #318f9d;
}
.div-bp {
  height: 100%;
  width: 100%;
  background: rgb(231, 228, 228);
  padding: 10px;
}

/* CAJA LOGIN */
.div-cajal-inicio-padre {
  width: 100%;
  height: 100%;
}
.div-cajal-inicio {
  margin: 0 auto;
  background: white;
  border: 1px solid rgb(165, 164, 164);
  height: 100%;
  max-height: 350px;
  width: 100%;
  max-width: 450px;
  border-radius: 6px 6px 0px 0px;
}
.div-al {
  border-radius: 5px 5px 0px 0px;
  text-align: center;
  padding-top: 10px;
  height: 45px;
  width: 100%;
  background: #318f9d;
}
.div-bl {
  height: 260px;
  width: 100%;
  background: rgb(231, 228, 228);
  padding: 10px;
}
.div-cl {
  height: 45px;
  width: 100%;
  background: #318f9d;
}
/* TEXTOS */
.t20-blanco-b {
  color: #fff;
  font-family: "Optima";
  font-size: 20px;
  font-weight: bold;
}
.optima16bold {
  color: #174046;
  font-family: "Optima";
  font-size: 16px;
}
.optima20bold {
  color: #174046;
  font-family: "Optima";
  font-size: 20px;
}
.t20-blanco-b-s {
  color: #fff;
  font-family: "Optima";
  font-size: 20px;
  font-weight: bold;
  text-shadow: rgb(26, 26, 27) 1px 1px 1px;
}
.CabeceraTabla {
  color: #174046;
  font-family: "Optima";
  font-size: 16px;
  font-weight: bold;
}

.CabeceraTabla-Datos {
  color: #ffffff;
  font-family: "Optima";
  font-size: 16px;
  font-weight: bold;
  background-color: rgb(92, 92, 92);
}
.TextoTabla-Datos {
  color: #174046;
  font-family: "Optima";
  font-size: 16px;
  background-color: rgb(255, 255, 255);
}

/* TEXBOX */
.textbox-a {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: "Optima";
  font-size: 15px;
}
.text-a {
  width: 100%;
  padding: 12px 20px;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
input[type="submit"] {
  width: 100%;
  /* background-color: #4caf50; */
  background-color: #318f9d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  border-color: #5c8f98;
  cursor: pointer;
}
input[type="submit"]:hover {
  background-color: #43686e;
}
input[type="button"] {
  width: 100%;
  /* background-color: #4caf50; */
  background-color: #318f9d;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  border-color: #5c8f98;
  cursor: pointer;
}
input[type="button"]:hover {
  background-color: #43686e;
}
#link-href {
  font-family: "Optima";
  font-size: 16px;
  color: #ffffff;
}
.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  transition: 0.4s;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
  padding: 0 18px;
  display: none;
  background-color: white;
  overflow: hidden;
}
/* -----------------------
GRILLA
------------------------*/

/*
.nav {
  margin: 0;
  padding: 5;
  list-style: none;
}

.nav li {
  display: inline;
  margin: 0;
  width: 30px;
}

.nav li active {
  color: white;
  background-color: #43686e;
}
.nav a {
  display: block;
  padding: 0.7em 0.25em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid gray;
}
.nav a:link {
  color: white;
}
.nav a:visited {
  color: white;
}

.nav a:focus {
  color: black;
  background-color: white;
}

.nav a:hover {
  color: white;
  background-color: #43686e;
  text-decoration: none;
}

.nav a:active {
  color: white;
  background-color: #43686e;
}
*/
@media only screen and (max-width: 1200px) {
  .vista-citas {
    width: 50%;
  }
}
@media only screen and (max-width: 900px) {
  .vista-citas {
    width: 40%;
  }
}
@media (min-width: 55em) {
  .colum-75 {
    float: left;
    width: 75%;
    margin-right: 5%;
    margin-bottom: 1em;
    height: 500px;
  }
  .colum-38 {
    float: left;
    width: 38%;
    margin-right: 5%;
    margin-bottom: 1em;
    height: 500px;
  }
  .colum2-20 {
    float: left;
    width: 20%;
    margin-bottom: 1em;
  }
  .colum2-50 {
    float: left;
    width: 50%;
    margin-bottom: 1em;
  }
}

/* OTROS BOTONES*/

.parent {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  text-align: center;
  font-weight: 600;
}

.div1 {
  grid-area: 1 / 1 / 2 / 2;
}
.div2 {
  grid-area: 1 / 2 / 2 / 3;
}
.div3 {
  grid-area: 1 / 3 / 2 / 4;
}
.div4 {
  grid-area: 1 / 4 / 2 / 5;
}
.div5 {
  grid-area: 1 / 5 / 2 / 6;
}

/*.nav {
  font-family: 'Titillium Web';
  text-transform: uppercase;
  text-align: center;
  font-weight: 600;
}*/
/*
.parent * {
  box-sizing: border-box;
  transition: all 0.35s ease;
}

.parent li {
  display: inline-block;
  list-style: outside none none;
  margin: 0.5em 1em;
  padding: 0;
}

.parent a {
  padding: 0.5em 0.8em;
  color: #43686e;
  position: relative;
  text-decoration: none;
  font-size: 20px;
}

.parent a::before,
.parent a::after {
  content: "";
  height: 14px;
  width: 14px;
  position: absolute;
  transition: all 0.35s ease;
  opacity: 0;
}

.parent a::before {
  content: "";
  right: 0;
  top: 0;
  border-top: 3px solid #3e8914;
  border-right: 3px solid #2e640f;
  transform: translate(-100%, 50%);
}

.parent a:after {
  content: "";
  left: 0;
  bottom: 0;
  border-bottom: 3px solid #2e640f;
  border-left: 3px solid #3e8914;
  transform: translate(100%, -50%);
}

.parent a:hover:before,
.parent a:hover:after {
  transform: translate(0, 0);
  opacity: 1;
}

.parent a:hover {
  color: #3da35d;
}
*/

/*------------*/
/*------------*/
/*------------*/
/*------------*/
/*------------*/
/*------------*/

.btnFecha {
  position: relative;
  padding: 0.5rem 0.5rem;
  padding-right: 1rem;
  font-size: 1.1rem;
  color: var(--inv);
  /*letter-spacing: 1.1rem;*/
  /*text-transform: uppercase;*/
  transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
  cursor: pointer;
  user-select: none;
}

.btnFecha:before,
.btnFecha:after {
  content: "";
  position: absolute;
  transition: inherit;
  z-index: -1;
}

.btnFecha:hover {
  color: var(--def);
  transition-delay: 0.5s;
}

.btnFecha:hover:before {
  transition-delay: 0s;
}

.btnFecha:hover:after {
  background: var(--inv);
  transition-delay: 0.35s;
}

/* From Top */

.from-top:before,
.from-top:after {
  left: 0;
  height: 0;
  width: 100%;
}

.from-top:before {
  bottom: 0;
  border: 1px solid var(--inv);
  border-top: 0;
  border-bottom: 0;
}

.from-top:after {
  top: 0;
  height: 0;
}

.from-top:hover:before,
.from-top:hover:after {
  height: 100%;
}

/* From Left */

.from-left:before,
.from-left:after {
  top: 0;
  width: 0;
  height: 100%;
}

.from-left:before {
  right: 0;
  border: 1px solid var(--inv);
  border-left: 0;
  border-right: 0;
}

.from-left:after {
  left: 0;
}

.from-left:hover:before,
.from-left:hover:after {
  width: 100%;
}

/* From Right */

.from-right:before,
.from-right:after {
  top: 0;
  width: 0;
  height: 100%;
}

.from-right:before {
  left: 0;
  border: 1px solid var(--inv);
  border-left: 0;
  border-right: 0;
}

.from-right:after {
  right: 0;
}

.from-right:hover:before,
.from-right:hover:after {
  width: 100%;
}

/* From center */

.from-center:before {
  top: 0;
  left: 50%;
  height: 100%;
  width: 0;
  border: 1px solid var(--inv);
  border-left: 0;
  border-right: 0;
}

.from-center:after {
  bottom: 0;
  left: 0;
  height: 0;
  width: 100%;
  background: var(--inv);
}

.from-center:hover:before {
  left: 0;
  width: 100%;
}

.from-center:hover:after {
  top: 0;
  height: 100%;
}

/* From Bottom */

.from-bottom:before,
.from-bottom:after {
  left: 0;
  height: 0;
  width: 100%;
}

.from-bottom:before {
  top: 0;
  border: 1px solid var(--inv);
  border-top: 0;
  border-bottom: 0;
}

.from-bottom:after {
  bottom: 0;
  height: 0;
}

.from-bottom:hover:before,
.from-bottom:hover:after {
  height: 100%;
}
.tabla_a {
  font-family: "Optima";
}
.tabla_a td {
  padding: 5px 5px 5px 5px;
}
/* TABLA CALENDARIO */
.calen {
  font-family: "Optima";
  margin-top: 20px;
}
.calen th {
  width: 80px;
  text-align: center;
  padding: 5px 5px 5px 5px;
  color: rgb(255, 255, 255);
  background: rgb(12, 129, 149);
  border: 1px solid rgb(255, 255, 255);
}
.calen .dia {
  background: rgb(240, 248, 255);
  color: lightslategray;
  padding: 5px 5px 5px 5px;
  text-align: center;
  cursor: default;
  border: 1px solid rgb(255, 255, 255);
}
.calen .nada {
  background: rgb(235, 235, 235);
  padding: 5px 5px 5px 5px;
  text-align: center;
  cursor: default;
}
.calen .diactual {
  background: rgb(240, 248, 255);
  color: lightslategray;
  padding: 5px 5px 5px 5px;
  text-align: center;
  cursor: default;
  font-weight: bold;
  border: 1px solid rgb(255, 255, 255);
}
.calen .disponible {
  /*background: rgb(49, 143, 157);*/

  background: rgb(153, 247, 168);
  color: #146e7c;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 5px 5px 5px;
  text-align: center;
  border: 1px solid rgb(255, 255, 255);
}

.disponible:hover {
  background: rgb(144, 231, 243);
}
.calen .nodisponible {
  background: #b8b5b5;
  padding: 5px 5px 5px 5px;
  text-align: center;
  cursor: default;
  border: 1px solid rgb(165, 164, 164);
}

/*.calen .disponible td:hover {
  background: #f00;
}



.tablas td:hover {
  background: #f00;
}

.tablas tr:hover {
  background: #00f;
}
*/
