/** Custom CSS **/

@media (max-width: 992px) {
  .portfolio img{
    display: block;
    text-align: center;
    max-width: 90%;
    height: auto;
  }
}

/** All pages **/

.inner-page{
    text-align: justify;
}


/**  Seguros autos web page **/

.img-autos{
    max-width: 350px;
    height: auto;
}

.autos-content p{
    display: flex;
    float: right;
    margin-left: 35%;
    margin-top: -15%;
    text-align: justify !important;
}

.type-content h4{
    display: block;
    margin-top: 50px;
    text-align: center;
}

.type-content p{
   display: block;
   text-align: center;
}

.content-ensure{
   display: block;
   width: 350px;
   margin-left: 20px !important;
   margin-right: 5px;
}

.content-ensure .card-header{
    text-align: center;
    font-size: auto;
    font-weight: bolder;
}

.autos-info p{
    margin-top: 20px;
    margin-bottom: -60px;
    text-align: center !important;
}

@media (max-width: 992px) {
  .img-autos{
    display: block;
    text-align: center;
    max-width: 100%;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .autos-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}

/** Gastos medicos Content **/

.img-medicos{
    max-width: 400px;
    height: auto;
}

.medico-content p{
    display: flex;
    float: right;
    margin-left: 45%;
    margin-top: -22%;
}

.content-detail h4{
    display: block;
    margin-top: 35px;
    text-align: center;
    font-weight: bold;
}

.content-detail .card{
    display: block;
    width: 400px;
    margin-left: 100px;
}

.imagen{
  margin-top: -310px;
  margin-left: 550px;
  margin-bottom: 100px;
  max-width: 460px;
}

.content-info-med{
  text-align: center;
}

.content-info-med h4{
  font-weight: bold;
}

.medico-info p{
    margin-top: 10px !important;
    margin-bottom: -40px;
    text-align: center !important;
}


@media (max-width: 992px) {
  .img-medicos{
    display: block;
    text-align: center;
    max-width: 100%;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .medico-content p{
    margin-left: 0px;
    margin-top: 20px;
  }

  .imagen{
    display: none;
  }

  .content-detail .card{
    max-width: 100%;
    margin-left: 0px;
  }

  .content-info-med p{
      margin-top: 50px !important;
  }
}


/** Vida Content **/

.img-vida{
    max-width: 400px !important;
    height: auto;
}

.vida-content p{
  display: inherit;
  float: right;
  margin-left: 40%;
  margin-top: -250px;
  text-align: justify !important;
}

.vida-info p{
  margin-top: 80px !important;
  margin-bottom: -60px;
  text-align: center !important;
}


@media (max-width: 992px) {
  .img-vida{
    display: block;
    text-align: center;
    max-width: 100%;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .vida-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}

/** Hogar Cotent **/

.img-hogar{
    max-width: 400px !important;
    height: auto;
}

.hogar-content p{
  display: flex;
  float: right;
  margin-left: 40%;
  margin-top: -350px;
  text-align: justify !important;
}

.hogar-info p{
  margin-top: 80px !important;
  margin-bottom: -60px;
  text-align: center !important;
}

@media (max-width: 992px) {
  .img-hogar{
    display: block;
    text-align: center;
    max-width: 100% !important;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .hogar-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}

/** Accidentes Content **/

.img-senales{
    max-width: 400px !important;
    height: auto;
}

.accidente-content p{
  display: flex;
  float: right;
  margin-left: 40%;
  margin-top: -250px;
  text-align: justify !important;
}

.accidente-info p{
  margin-top: 80px !important;
  margin-bottom: -60px;
  text-align: center !important;
}

@media (max-width: 992px) {
  .img-senales{
    display: block;
    text-align: center;
    max-width: 100% !important;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .accidente-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}

/** Negocios Especiales Content **/

.img-especial{
    max-width: 400px !important;
    height: auto;
}

.especial-content p{
  display: flex;
  float: left;
  margin-left: 450px;
  margin-top: -250px;
  text-align: justify !important;
}

.especial-info p{
  margin-top: 80px !important;
  margin-bottom: -60px;
  text-align: center !important;
}

@media (max-width: 992px) {
  .img-especial{
    display: block;
    text-align: center;
    max-width: 100% !important;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .especial-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}

/** Nosotros Content **/

.nosotros-content h4{
  color: #202060;
}

.nosotros-content p{
  display: flex;
  float: left;
  margin-top: -20px;
  text-align: justify !important;
}

.img-nosotros{
    max-width: 100% !important;
    height: auto;
}

.titulo h5{
  text-align: center;
}

.nosotros-info p{
  margin-top: 80px !important;
  margin-bottom: -60px;
  text-align: center !important;
}

.cajas{
  margin-left: 250px;
}

@media (max-width: 992px) {
  .img-nosotros{
    display: block;
    text-align: center;
    max-width: 100% !important;
    height: auto;
  }

  .inner-page p{
    font-size: 15px;
  }

  .nosotros-content p{
    margin-left: 0px;
    margin-top: 20px;
  }
}