*,
*::before,
*::after {
  padding: 0;
  box-sizing: border-box;
  margin: 0;
}

:root {
  --nav-item-offset: 4vw;
  --nav-item-hover-offset: 2%;
  --easing: cubic-bezier(0.8, 0, 0.2, 1);
  --duration: 0.6s;
}

.overflow-hidden,
.overflow-hidden-x {
  overflow-x: hidden
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-family: 'DepotNew', sans-serif;
  --color1: #FFF;
  --color2: #000;
  --color3: #2c2c2c;
  --color4: #8b9291;
  --color5: #e1e2e1;
  --color6: #264a5a;
  --color7: #98bbd7;
  --color8: #798c59;
  --color9: #be6358;
}

.container {
  width: 100%;
}

.row {
  width: 100%;
}

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

a {
  text-decoration: none !important;
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
  font-weight: 200;
}

/* MENU */

.tex-menu {
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  font-family: 'Montserrat', sans-serif;
}

/* PORTADA PRINCIPAL */

.portada {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.portada ul {
  display: flex;
  padding: 0;
  width: 400%;
  animation: slide 15s infinite alternate ease-in-out;
}

.portada li {
  width: 100%;
  list-style: none;
}

.portada img {
  width: 100%;
}

@keyframes slide {
  0% {
    margin-left: 0;
  }

  20% {
    margin-left: 0;
  }

  25% {
    margin-left: -100%;
  }

  45% {
    margin-left: -100%;
  }

  50% {
    margin-left: -200%;
  }

  70% {
    margin-left: -200%;
  }

  75% {
    margin-left: -300%;
  }

  100% {
    margin-left: -300%;
  }
}


/* FRASE */
.texto-frase {
  width: 100%;
  background-color: black;
}

.triangulo {
  margin-left: 1100px;
  width: 0;
  height: 0;
  border-left: 70px solid transparent;
  border-right: 70px solid transparent;
  border-top: 30px solid #000;
  z-index: 2;
  position: relative;
}

.frase {
  display: flex;
  gap: 10px;
}

.fra1 {
  width: 15%;
  text-align: right;
}

.fra1 img {
  width: 30px;
  padding-top: 16px;
}

.fra2 {
  width: 85%;
}

.texto-frase h5 {
  width: 80%;
  font-weight: lighter;
  font-size: 23px;
  text-align: center;
  padding-top: 13px;
  color: #fff;
  text-align: justify;
  font-family: 'DepotNew', sans-serif;
}

.fra2 span {
  font-weight: 400;
}

/* QUIENES SOMOS*/
#team {
  padding-top: 80px;
  height: 660px;
}

.teams {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 10px;
  grid-auto-rows: 100px 100px;
}

.section-heading {
  text-align: left;
}

.section-heading h2 {
  font-size: 50px;
  font-weight: 300;
  font-family: 'DepotNew', sans-serif;
  color: var(--color4);
}

.section-heading p {
  text-align: justify;
  font-size: 14px;
  color: var(--color3);
  font-family: 'Montserrat', sans-serif;
}

.section-heading h3 {
  font-size: 30px;
  font-weight: 300;
  font-family: 'DepotNew', sans-serif;
  color: var(--color4);
}

.section-foto {
  text-align: center;
}

.section-foto img {
  width: 352px;
  height: auto;
}

/* FRASE */
.bg-frase {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../img/img-frase.jpg);
  background-size: cover;
  position: relative;
  background-repeat: no-repeat;
  padding: 50px 0 50px;
}

.tex-frase {
  width: 80%;
  text-align: center;
  position: relative;
  padding: 0 50px;
  margin-left: 7%;
}

.tex-frase p {
  font-family: 'DepotNew', sans-serif;
  font-weight: lighter;
  font-size: 33px;
  color: var(--color1);
  line-height: 35px;
}

.tex-frase span {
  font-weight: 400;
}

/* SECCIONES */
#secc {
  padding-top: 60px;
}

.tex-secc {
  padding-top: 30px;
  padding-bottom: 30px;
}

.tex-secc p {
  text-align: justify;
  font-size: 14px;
  color: var(--color3);
  font-family: 'Montserrat', sans-serif;
}

.col-secc {
  float: left;
  width: 33.33%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.cua-secc {
  background-color: var(--color5);
  border-top: var(--color3) 5px solid;
  text-align: center;
  width: 80%;
  height: auto;
}

.cua-secc img {
  padding-top: 20px;
  padding-bottom: 20px;
  width: 80px;
  text-align: center;
}

.cua-secc h2 {
  font-family: 'DepotNew', sans-serif;
  font-weight: bold;
  font-size: 20px;
  color: var(--color3);
}

.lin-secc {
  border: none;
  height: 2px;
  background-color: var(--color3);
  width: 70%;
  margin: 20px auto;
}

.cua-secc p {
  text-align: center;
  font-size: 16px;
  color: var(--color3);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  padding: 10px 10px;
}

.cont-secc {
  display: flex;
  height: 50px;
}

.inf-secc {
  float: left;
  background-color: var(--color3);
  width: 80%;
  padding: 5px;
}

.inf-secc p {
  font-family: 'DepotNew', sans-serif;
  font-size: 18px;
  color: var(--color1);
  line-height: 20px;
}

.btn-secc {
  background-color: var(--color4);
  float: left;
  width: 20%;
  padding: 10px;
}

.btn-secc img {
  width: 25px;
  margin-top: -20px;
}

.btn-secc:hover {
  background-color: var(--color7);
}

/* SLOGAN */
.bg-slogan {
  width: 100%;
  padding-top: 60px;
}

/* GALERIA */
#bg_photos {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 30px;
}

.list-wrapper {
  position: relative;
  background-color: var(--color5);
  height: 400px;
  padding-top: 10px;
  margin-top: 30px;
}

.list {
  display: flex;
  gap: 8px;
  padding: 16px;
  list-style: none;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
}

.item {
  flex-shrink: 0;
  background-color: #FFF;
  scroll-snap-align: center;
}

.item img {
  width: 365px;
  height: 273px;
}

.cua-btn {
  height: 50px;
  text-align: center;
  padding-top: 5px;
  display: flex;
  justify-content: center;
}

.button--previous i {
  width: 50px;
  height: auto;
  font-size: 80px;
  color: var(--color3);
  background: none;
  border: none;
}

.button--next i {
  width: 50px;
  height: auto;
  font-size: 80px;
  color: var(--color3);
}

.button--previous i:hover {
  color: var(--color4);
}

.button--next i:hover {
  color: var(--color4);
}

/* FOOTER */
footer {
  text-align: center;
  
  margin-bottom: -80px;
  background-color: #000000;
  padding-top: 10px;
}

.menu-list {
  float: left;
  width: 33.33%;
  padding: 10px;
  height: 100px;
}

.menu-list img {
  width: 170px;
  height: auto;
  text-align: center;
}

.menu-list h2 {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  text-align: left;
  padding-left: 40px;
  font-weight: lighter;
}

.menu-list p {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  text-align: right;
  padding-right: 80px;
  font-weight: lighter;
}

.menu-list p:hover {
  color: var(--color4);
}

.sub-footer {
  background-color: var(--color4);
  height: 40px;
  padding-top: 8px;
  padding-bottom: 3px;
}

.sub-footer p {
  font-size: 14px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  letter-spacing: 0.5px;
}

/* SECCIONES CONVENIOS */
#tab-secc {
  padding-top: 10px;
  height: 1600px;
}

.tab-col {
  float: left;
  width: 50%;
  padding: 10px 0;
  height: 365px;
  border-left: #FFF 5px solid;
  margin-top: 5px;
}

.tex-col {
  width: 100%;
  background-color: var(--color1);
  margin-top: 211px;
  height: 94px;
  border-right: #000 1px solid;
  border-left: #000 1px solid;
}

.tex-col h2 {
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color3);
  font-weight: lighter;
  text-align: center;
  padding-top: 10px;
}

.tex-col p {
  font-size: 18px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color3);
  text-align: center;
}

.cont-col {
  display: flex;
  height: 50px;
}

.inf-col{
  float: left;
  width: 90%;
  padding: 15px;
}

.inf-col p {
  text-align: right;
  font-family: 'DepotNew', sans-serif;
  font-size: 18px;
  color: var(--color1);
  line-height: 20px;
}

.btn-col1 {
  background-color: var(--color9);
  float: left;
  width: 10%;
  padding: 10px;
  text-align: center;
}

.btn-col1 img {
  width: 25px;
}

.btn-col1:hover {
  background-color: var(--color4);
}

/* LIGHTBOX */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1000px;
}

.close {
  color: white;
  position: absolute;
  top: 22px;
  right: 120px;
  font-size: 60px;
  font-weight: lighter;
}

.close p{
  color: white;
  position: absolute;
  top: 13px;
  right: 40px;
  font-size: 30px;
  font-weight: lighter;
}

.close:hover,
.close:focus {
  color: #FFF;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: block;
}

.cursor {
  cursor: pointer;
}

img {
  margin-bottom: -4px;
}

.caption-container {
  text-align: center;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

.fot-col {
  float: left;
  width: 25%;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: var(--color1);
  font-weight: bold;
  font-size: 50px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.prev,
.next a {
  color: #FFF;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: var(--color6);
  color: #FFF;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 16px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}



/* SECCIONES SERVICIOS */
#tab-secc1 {
  padding-top: 60px;
  height: 1000px;
}

.btn-col2 {
  background-color: var(--color8);
  float: left;
  width: 10%;
  padding: 10px;
  text-align: center;
}

.btn-col2 img {
  width: 25px;
}

.btn-col2:hover {
  background-color: var(--color4);
}

/* DIRECTORIO MEDICO */
#tab-secc2 {
  padding-top: 60px;
  height: 1600px;
}

.bg-direc img{
  width: 100%;
  z-index: 1;
  position: relative;
  bottom: 30px;
}

.tit-direc {
  width: 60%;
  float: left;
}

.tab-direc {
  float: left;
  width: 50%;
  padding: 10px 0;
  height: 150px;
  border-left: #FFF 5px solid;
  margin-top: 5px;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto auto;
height: 119px;
  border: 1px solid var(--color3);
}


.item1 {
  grid-row: 1 / span 2;
  width: 117px;
}

.item1 img {
  width: 117px;
  height: auto;
}

.item2 {
  grid-column: 2 / span 2;
  width: 430px;
  height: 60px;
  background-color: var(--color1);
   font-size: 30px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color3);
  padding-left: 8px;
  padding-top: 6px;
}

.item3 {
  width:380px;
  background-color: var(--color3);
  height: 57px;
  font-size: 24px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  padding-right: 15px;
  padding-top: 6px;
  text-align: right;
}

.btn-col2 {
  background-color: var(--color7);
  padding-left: 14px;
  min-width: 51px;
}

.btn-col2 img {
  margin: 0;
  width: 25px;
}

.btn-col2:hover {
  background-color: var(--color4);
}

#tab-conex{
  padding-top: 40px;
}

.bg-direc1 {
  width: 100%;
}

.tex-direc {
  width: 90%;
  font-weight: lighter;
  font-size: 32px;
  text-align: center;
  padding-top: 16px;
  color: var(--color3);
  text-align: center;
  font-family: 'DepotNew', sans-serif;
  padding-left: 90px;
  line-height: 40px;
}

.tex-direc  span {
  font-weight: 400;
}

.cua-direc{
  background-color: var(--color7);
  width: 100%;
  height: 380px;
  margin-top: 50px;
  padding-top: 30px;
}

.cua-direc h2{
  font-size: 44px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  text-align: center;
  font-weight: lighter;
}

.lin-secc1 {
  border: none;
  height: 2px;
  background-color: var(--color1);
  width: 65%;
  margin: 20px auto;
}

.cua-direc li{
  font-size: 32px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color1);
  text-align: left;
  font-weight: lighter;
}

.col-direc {
  float: left;
  width: 50%;
  padding: 20px 80px;
  height: 235px; /* Should be removed. Only for demonstration */
}

.two {
  list-style: square inside;
}

/* EVENTOS */

#tab-secc3 {
  padding-top: 60px;
  height: 600px;
}

.btn-col3 {
  background-color: var(--color6);
  float: left;
  width: 10%;
  padding: 10px;
  text-align: center;
}

.btn-col3 img {
  width: 25px;
}

.btn-col3:hover {
  background-color: var(--color4);
}

.tex-eve {
  width: 100%;
  margin-top: 68px;
  border-right: #000 1px solid;
  border-left: #000 1px solid;
}

.tit-eve {
  width: 100%;
  height: 42px;
  background-color: var(--color1);
  padding-left: 20px;
}

.tit-eve p {
  font-size: 25px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color3);
  text-align: left;
}

.tex-eve li {
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
  color: var(--color3);
  text-align: center;
  padding-top: 12px;
}

.tex-eve ul {
  line-height: 25px;
  width: 100%;
  background-color: var(--color1);
  height: 195px;
}

/* COMIDAS */

#tab-secc4 {
  padding-top: 60px;
  height: 600px;
}

.btn-col4 {
  background-color: var(--color4);
  float: left;
  width: 10%;
  padding: 10px;
  text-align: center;
}

.btn-col4 img {
  width: 25px;
}

.btn-col4:hover {
  background-color: var(--color3);
}