@import url('https://fonts.googleapis.com/css?family=Roboto:400,500&display=swap');

html, body { 
    margin: 0; 
    padding: 0; 
    height: 100%; 
    min-height: 100%;
    scroll-behavior: smooth; 
}

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  border: none;
  color: #414344;
  font-size: 22px;
  -webkit-appearance: none;
}


h2{
  font-size: 45px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  border-bottom: 1px solid #414344;
  width: 100%;
  margin-bottom: 0px;
  padding-bottom: 40px;
}

header{
  width: 100%;
  margin: 0 auto;
  height: 85px;
  border-bottom: solid 2px #fff;
  position: fixed;
  z-index: 2;
}

.bg-header {
  background: -webkit-linear-gradient(rgba(154, 206, 193, 1), rgba(154, 206, 193, 0));
  background: linear-gradient(rgba(154, 206, 193, 1), rgba(154, 206, 193, 0));
  border-bottom: 0px; 
}

.logo {
  padding-left: 70px;
  padding-top: 28px;
  width: 238px;
  float: left;
}

.nav-toggle {
  display: none;
  cursor: pointer;
  position: absolute;
  right: 70px;
  top: 32px;
  transition: all 0.3s;
  z-index: 2;
  background-image: url(../images/menu.svg);
  height: 20px;
  width: 38px;
}

.mobile-nav.active-nav + .nav-toggle{
  background-image: url(../images/close.svg);
  background-repeat: no-repeat;
  height: 20px;
  width: 20px;
}

.mobile-nav{
  padding-top: 60px;
  display: none;
  background-color: #9acec1;
  text-align: center;
  font-size: 30px;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
 }

.mobile-nav.active-nav {
  display: block;
  position: absolute;
  -webkit-animation: fadeIn 1s;
  animation: fadeIn 1s;
  overflow: scroll;
}

.mobile-nav a{
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 60px;
} 

.desktop-nav {
  float: right;
  color: #fff;
  padding-right: 70px;
  padding-top: 30px;
  font-size: 20px;
  display: block;
}

.desktop-nav a {
  text-decoration: none;
  color: #fff;
  margin-left: 25px;
  transition: 0.5s;
}


.desktop-nav a:hover {
  border-bottom: 1px solid #fff;
  transition: 0.5s;
}

.item {
  width: 100vw;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.slide-content{
  margin: 0 auto;
  max-width: 90%;
  text-align: center;
  position: relative;
  top: 50%;
  -ms-transform: translateY(calc(-50% + 60px));
  transform: translateY(calc(-50% + 60px));
  width: 100%;
}

.slide-content h2{
  font-size: 90px;
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  padding-bottom: 40px; 
  border-bottom: 0px; 
}

.slide-content p{
  max-width: 468px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.boton, .forma input.boton{
  font-size: 15px;
  font-family: 'Roboto', sans-serif; 
  font-weight: 500;
  background-color: #9acec1;
  padding: 16px 50px;
  border: 0;
  border-radius: 25px;
  color: #fff;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: 0.5s;
}

.boton:focus, .forma input.boton:focus{
  outline: none;
  padding-bottom: 16px;
}


.boton:hover, .forma input.boton:hover{
  background-color: #414344;
  transition: 0.5s;
}



.slide-1 {
  height: 100vh;
  background-size: cover;
  background: -webkit-linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/slide01.jpg);
  background: linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/slide01.jpg); 
  background-size: cover;
}

.slide-2 {
  height: 100vh;
  background-size: cover;
  background: -webkit-linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/slide02.jpg);
  background: linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/slide02.jpg); 
  background-size: cover;
}

.slide-3 {
  height: 100vh;
  background-size: cover;
  background: -webkit-linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/hernias.jpg);
  background: linear-gradient(rgba(56, 56, 57, 0.1), rgba(56, 56, 57, 0.1)), url(../images/hernias.jpg); 
  background-size: cover;
}

.slide-4 {
  height: 100vh;
  background-size: cover;
  background: -webkit-linear-gradient(rgba(158, 207, 195, 1), rgba(241, 236, 228, 1));
  background: linear-gradient(rgba(158, 207, 195, 1), rgba(241, 236, 228, 1)); 
  background-size: cover;
}

.promoban {
  padding-top:90px;
  background: -webkit-linear-gradient(rgba(158, 207, 195, 1), rgba(241, 236, 228, 1));
  background: linear-gradient(rgba(158, 207, 195, 1), rgba(241, 236, 228, 1)); 
  max-width: 100%;
  background-size: cover;
}

.intro, .testimonials, .hernias, .doctor{
  background-color: #f1ece4;
  color: #414344;
  padding-top: 54px;
  padding-bottom: 124px;
}

.intro-content{
  max-width: 760px;
  padding: 0px 30px;
  margin: 0 auto;
  text-align: center;
}

.intro span, .testimonials span{
  text-transform: uppercase;
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 15px;
}

.intro h1, .hernias h1{
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 48px;
  padding-top: 100px;
  padding-bottom: 75px;
  margin: 0;
}


.banner {
  background-color: #fff;
  background-image: url(../images/banner01.jpg);
  height: 550px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 15% bottom;
}

.banner-content{
    margin: 0;
    width: 50%;
    right: -45%;
    position: relative;
    top: 50%;
    -ms-transform: translateY(calc(-50% + 60px));
    transform: translateY(-50%);
}

.banner-content p{
  font-size: 48px;
  margin: 0;
  padding-bottom: 50px;
}

.testimonials-content {
  margin: 0 auto;
  text-align: center;
}


.testimonial-content {
  color: #414344;
  max-width: 760px;
  padding: 0px 30px 16px 30px;
  margin: 0 auto;
}


.testimonials-content blockquote{
  font-size: 48px;
}

.testimonial-content span{
  text-transform: none;
  display: block;
  padding-bottom: 56px;
}

.owl-carousel2.owl-loaded {
    padding-top: 70px;
}

.hernias{
  padding-top: 84px;
}

.hernias-content, .doctor-content{
  max-width: 1120px;
  padding: 0px 30px;
  margin: 0 auto;
  text-align: left;
}

.columns{
  display: flex;
  flex-wrap: wrap;
  max-width: 1120px;
  padding: 0px 30px;
  margin: 0 auto ;
}

.columns h1{
  padding-top: 0px;
}

.doctor q{
  font-size: 45px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  padding: 45px 0px;
  margin: 0;
}

.grados, .contacto-info{
  padding-top: 30px;
  padding-bottom: 50px;
}

.grado-item {
   width: 33.33%; 
   float: left;
    -webkit-appearance: none;
}

.grado-item a{
  color: #414344;
  text-decoration: none;
}

.grado-item span{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.contacto-info {
  padding-bottom: 60px;
  overflow: auto;
}

.contacto-info a{
  color: #414344;
  text-decoration: none;
}

.contacto-info a:hover{
  text-decoration: underline;
}


.contacto-item {
   width: 22.33%; 
   float: left;
}

.contacto-item img{
  height: 22px;
  padding-right: 8px;
  padding-left: 16px;
}

.contacto-item span{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.contacto-item:nth-child(1) {
   width: 33%; 
   float: left;
}
.contacto-item:nth-child(4) {
  text-align: right;
}

.column {
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;  
  float: left;
  width: 50%;
}

.column img{
  width: 100%;
}

.column:nth-child(1){
  padding-right: 25px;
}

.column:nth-child(2){
  padding-left: 25px;
}

.doctor .column:nth-child(2){
  padding-left: 25px;
  width: 42%;
}

.doctor .column:nth-child(1){
  padding-left: 25px;
  width: 58%;
}

.grid{
  max-width: 1120px;
  padding: 0px 30px;
  margin: 0 auto;
  text-align: center;
  display: grid;
    grid-template: repeat(2, 1fr) / repeat(2, 1fr);
    grid-auto-rows: 1fr;
}

.grid-item {
  padding: 48px 70px;
  border-bottom: 1px solid #414344;
}

.grid-item:nth-child(odd) {
  border-right: 1px solid #414344;
}


.grid-item span{
  font-size: 48px;
  padding-bottom: 35px;
}


.mapa {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
    width: 100%;
    margin-bottom: 60px;
}

.mapa iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.forma {
  width: 100%;
}

.forma input, .forma textarea {
  padding-bottom: 25px;
  color: #4d4d4f;
  border: 0;
  border-bottom: 1px solid #414344;
  background: none;
  font-size: 22px;
  width: 100%;
}

.forma input:focus, .forma textarea:focus {
  color: #4d4d4f;
  outline: none;
  border-bottom: 2px solid #414344;
  padding-bottom: 24px;
}


.field{
  padding-bottom: 25px;
  -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box;    /* Firefox, other Gecko */
  box-sizing: border-box;  
 width:  50%;
 float: left; 
}

.field:nth-child(odd){
  padding-right: 25px;
}

.field:nth-child(even){
  padding-left: 25px;
}

.forma input:focus.boton{
  color: #FFF;
  outline: none;
  border-bottom: 0;
}

.forma input.boton{
  cursor: pointer;
  margin-top: 50px;
  width: 250px;
}

.owl-next, .owl-prev {
  margin: 0;
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.owl-prev span, .owl-next span{
  font-size: 70px;
  background-image: url(../images/arrow.svg);
  height: 30px;
  width: 16px;
  display: block;
}

button.owl-prev:focus, button.owl-next:focus{
  outline: none;
}

.owl-next span{
  -ms-transform: rotate(180deg); /* IE 9 */
  transform: rotate(180deg);
}

.owl-prev {
  left: 70px;
}

.owl-next {
  right: 70px;
}

button.accordion {
    font-size: 22px; 
    cursor: pointer;
    padding: 30px 0px 30px 0px;
    width: 100%;
    border: none;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border-bottom: 1px solid #414344;
    text-align: left;
    outline: none;
    transition: 0.4s;
    background-color: #f1ece4;
}

button.accordion p{
    padding: 0px;
    margin: 0px;
    float: left;
    width: calc(100% - 25px);
}

button.accordion.active{
  padding-bottom: 15px;
    border-bottom: 1px solid #f1ece4;
}

button.accordion:after {
    content: '';
    float: right;
    background-image: url(../images/close-dark.svg);
    background-repeat: no-repeat;
    transform: rotate(45deg);
    height: 16px;
    width: 16px;
    margin-top: 5px;
    margin-left: 5px;
}

button.accordion.active:after {
    content: '';
    background-image: url(../images/close-dark.svg);
    transform: rotate(0deg);
}

div.panel {
    padding: 0;
    background-color: #f1ece4;
    max-height: 0;
    overflow: hidden;
    transition: 0.6s ease-in-out;
    opacity: 0;
    border-bottom: 1px solid #414344;
}


div.panel p{
    margin: 0;
    padding-bottom: 30px;
}

div.panel.show {
    opacity: 1;
    max-height: 500px;  
}

footer {
  color: #fff;
  font-size: 16px;
  background-color: #9acec1;
  padding: 56px 70px 72px 70px;
  overflow: auto;
}

footer a{
  color: #fff;
  text-decoration: none;
}

footer a:hover{
  text-decoration: underline;
}


footer p{
  margin: 0;
  padding-bottom: 25px;
}

.left-info{
  float: left;
}

.dudas {
  padding-bottom: 130px;
  font-size: 24px;
}

.dudas span{
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
}

.dudas a{
  color: #fff;
  text-decoration: none;
}

.dudas a:hover{
  text-decoration: underline;
}

.social{
  text-align: right;
}

.social img{
  height: 18px;
}

.social a{
  padding-left: 15px;
}

.right-info{
  float: right;
}

.footer-item {
   float: left;
   padding-right: 60px;
}

.footer-item:nth-child(1) {

}

.copyright {
  text-align: right;
  padding-top: 262px;
}

@media only screen and (max-width: 940px) {
  .right-info {
    float: left;
}
.social {
    text-align: left;
}

.copyright {
    text-align: left;
    padding-top: 25px;
}

 .desktop-nav{
  display: none;
 }

.nav-toggle{
  display: block;
  right: 40px;
}

.logo{
  padding-left: 40px;
}

}


@media only screen and (max-width: 768px) {


.owl-prev {
  left: 30px;
}

.owl-next {
  right: 30px;
}

.testimonial-content {
    max-width: 670px;
}

.slide-1 {
    background-position: 70%;
}

.slide-3 {
    background-position: right;
}

.dudas {
    padding-bottom: 40px;
}

.left-info, .right-info, .footer-item {
    float: none;
}

.banner {
  height: 400px;
  background-size: cover;
  background-position: 46% bottom;
}

.banner-content {
  transform: translateY(-58%);
}

.banner-content p {
    font-size: 30px;
    padding-bottom: 20px;
}

.hernias .column:nth-child(1){
  order: 2;
  padding-bottom: 40px;
}

.hernias .column:nth-child(2){
  order: 1;
  padding-bottom: 40px;
}

.hernias .columns h2{
  order: 3;
}

.column:nth-child(1), .doctor .column:nth-child(1) {
    padding-right: 0px;
    padding-bottom: 60px;
}

.column:nth-child(2), .doctor .column:nth-child(2) {
    padding-left: 0px;
}
.column, .doctor .column:nth-child(2), .doctor .column:nth-child(1) {
    width: 100%;
}

.grado-item {
    width: 100%;
    padding-bottom: 20px;
}

.grid {
    grid-template: initial;
}

.grid-item {
      display: flex;
    justify-content: center;
    align-items: center;
}

.grid-item:nth-child(odd) {
    border-right: 0px;
}

.contacto-item, .contacto-item:nth-child(1) {
    width: 50%;
}

.contacto-item:nth-child(4) {
    text-align: left;
}

.field {
    width: 100%;
}

.field:nth-child(odd) {
    padding-right: 0px;
}

.field:nth-child(even) {
    padding-left: 0px;
}
}

@media only screen and (max-width: 520px) {

  body {
    font-size: 18px;
}

h2 {
    font-size: 30px;
}

.logo {
    padding-left: 30px;
}

.logo {
    width: 190px;
}

.nav-toggle {
    right: 30px;
}

.nav-toggle {
    height: 15px;
    width: 32px;
}

.slide-2 {
    background-position: 45%;
}

.slide-content{
-ms-transform: translateY(calc(-50% + 60px));
    transform: translateY(-55%);
}

.slide-content h2 {
    font-size: 50px;
}

.banner {
    background-position: 30% bottom;
}

.boton, .forma input.boton {
    padding: 16px 30px;
      -webkit-appearance: none;
}

.intro h1, .hernias h1, .testimonials-content blockquote, .doctor q  {
    font-size: 30px;
    padding-bottom: 40px;
}

footer {
    padding: 56px 30px 72px 30px;
}

button.accordion {
    font-size: 18px;
}

.contacto-item, .contacto-item:nth-child(1) {
    width: 100%;
}

.mapa {
    padding-top: 120%;
}


}

