@import url('https://fonts.googleapis.com/css?family=Righteous&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Serif+Pro&display=swap');
.container-portada{
  width: 100%;
  height: 626px;
  background-image: url("../img/fondo1.png") ;
  background-size: 100%;
  animation: movimiento 10s infinite linear alternate;
  background-repeat: no-repeat;
  background-position: center;
  padding: 140px 0 40px 0;
  position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.71), rgba(0, 0, 0, 0.36)), url(../img/Erp/ERP.jpg) fixed center center;
}

@keyframes movimiento {
  from{
    background-position: bottom left;
  }to{
    background-position: top right;
  }
}

#header #logoERP img {
    padding: 0;
    margin: 0;
    margin-top: -42px;
    margin-left: 14px;
}

#header #logoERP h1 a,
#header #logoERP h1 a:hover { /*color de la rayita a lado del logo*/
  color: #fff;
  padding-left: 10px;
  border-left: 4px solid #18d26e;
}


.img-logo-ERP{
  width: 180px;
  margin-left: -1%;
}

/*estilos de las letras del banner*/
#inicio h1 {
  font-size: 56px;
  line-height: 68px;
  color: #ffffff;
  font-family: 'Righteous', cursive;
  margin: 13px 37px 31px 140px;
}

#inicio #letras{
  font-size: 20px;
  line-height: 30px;
  color: #ffffff;
  font-family: 'Source Serif Pro', serif;
  margin: 4px 691px 27px 145px;
  text-align:  justify;
}







/*--------------------------------------------------------------
Inicio Descripcion ERP
--------------------------------------------------------------*/
 #Des{
  display: block;
  position: relative;
  padding: 67px 0 0 0;
  width: 100%;
}

.expe{/*Imagen principal*/
  display: block;
  width: 85%;
  height: auto;
  margin-left: 67px;
  margin-top: -36px;
}

/**
 *  Boton CSS
 */
.btn {
  background-color: #4f6ae6;
  border-radius: 0;
  color: #fff;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  line-height: 0.8;
  text-transform: uppercase;
  min-width: 170px;
  padding: 20px 15px;
  border-radius: 30px;
}

/*posicion de la imagen*/
img {
  display: block;
  width: 100%;
  height: auto;
}

/*--------------------------------------------------------------
#Parte de los grids
--------------------------------------------------------------*/
.appointment .v2 {
  padding-bottom: 0;
  border-bottom: 1px solid #fdd5d5;
}

.appointment .appointment-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.appointment .appointment-wrap figure {
  -ms-flex-preferred-size: 40%;
  flex-basis: 40%;
}

@media screen and (max-width: 1300px) {
  .appointment .appointment-wrap figure {
    display: none;
  }
}

.appointment .appointment-wrap .appointment-form {
  -ms-flex-preferred-size: 60%;
  flex-basis: 60%;
  /*padding-left: 100px;*/
}

@media screen and (max-width: 1300px) {
  .appointment .appointment-wrap .appointment-form {
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
    padding: 30px 15px;
  }

}

.appointment .appointment-wrap .appointment-form form {
  max-width: 650px;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

@media screen and (max-width: 1300px) {
  .appointment .appointment-wrap .appointment-form form {
    margin: 0 auto;
  }
}


.appointment-form h2{ /*letra titulo*/
  font-size: 35px;
  font-weight: 700;
  color: #1c4692;
  position: relative;
}
.appointment-form h2:before { /*rayita debajo del titulo*/
  content: '';
  left: 0;
  width: 64px;
  display: block;
  height: 8px;
  border-radius: 30px;
  background: #3ff3f3;
  bottom: -10px;
  position: absolute;
}

.appointment-form p{ /*texo*/
  font-size: 18px;
  font-weight: 400;
  color: #000000;
  line-height: 2;
  display: block;
  margin-top: 30px;
}


/*grids*/
#Fun{
 display: block;
 position: relative;
 padding: 50px 0;
 width: 100%;
}

.ERP h2{ /*letra titulo*/
  font-size: 50px;
  font-weight: 700;
  color: #2d2d38;
  position: relative;
}
.ERP h2:before { /*rayita azul debajo del titulo*/
  content: '';
  left: 0;
  width: 64px;
  display: block;
  height: 8px;
  border-radius: 30px;
  background: #ace8f9;
  bottom: -10px;
  position: absolute;
}

.procedures {
  position: relative;
}

.blog {
  padding-bottom: 20px;
}

/*articulos*/
.fun2{ /*espacion entre el titulo y clos cuadros*/
  margin-top: 60px;
}

article.post {
  min-height: 395px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.v2 article.post {
  min-height: 200px;
}
.post {
  border: 1px solid #e3e6ea;
  text-align: center;
  -webkit-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
  padding: 20px;
  margin-bottom: 30px;
  -webkit-box-shadow:0 20px 40px #8d9bdf7d;
  box-shadow: 0 20px 40px #bbc1c1c4;
}

.post img {
  margin-bottom: 35px;
  max-height: 150px;
  width: auto;
  margin: 0 auto;
  display: inline-block;
}

.v2 .post img {
  margin-bottom: 35px;
  max-height: 72px;
  width: auto;
  margin: 0 auto;
  display: inline-block;
}

.post h4 {
  margin-bottom: 22px;
  margin-top: 15px;
}

.post h4, .post h4 a {
  color: #263a41;
  font-size: 22px;
}

.post p {
  margin-bottom: 39px;
  color: #adadb7;
  font-size: 20px;
}

.post .btn {
  background-color: #30383b;
  margin-bottom: 30px;
  padding: 15px;
}

.post:hover {
  -webkit-box-shadow: 0 5px 20px #f0f0f0;
  box-shadow: 0 5px 20px #f0f0f0;
}

.post:hover .btn {
  background-color: #4f6ae6;
  color: #fff;
}


/* Funciones Secccion
--------------------------------*/
#Funciones {
  padding: 30px 0 0 0;
}

#Funciones .box {
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;
}

#Funciones .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#Funciones .box .icon {
  float: left;
}

#Funciones .box .icon i {
  color: #444;
  font-size: 64px;
  transition: 0.5s;
  line-height: 0;
  margin-top: 34px;
}

#Funciones .box .icon i:before {
  background: #0c2e8a;
  background: linear-gradient(45deg, #50d8af 0%, #a3ebd5 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#Funciones .box h4 {
  margin-left: 100px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
}

#Funciones .box h4 a {
  color: #444;
}

#Funciones .box p {
  font-size: 14px;
  margin-left: 100px;
  margin-bottom: 0;
  line-height: 24px;
}
#Funciones .ion-ios-checkmark{
    color: #000000b5;
}

#FuncionesErp{ /*Iconos*/
  width: 80px;
  margin-top: 18px;
}


/*--------------------------------------------------------------
# Responsive Media Queries
--------------------------------------------------------------*/
@media (max-width: 768px) {

  .container-portada{
    width: 100%;
    height: 430px;
    background-image: url("../img/fondo1.png") ;
    background-size: 100%;
    animation: movimiento 10s infinite linear alternate;
    background-repeat: no-repeat;
    background-position: center;
    padding: 140px 0 40px 0;
    position: relative;
      background: linear-gradient(rgba(0, 0, 0, 0.71), rgba(0, 0, 0, 0.36)), url(../img/Erp/ERP.jpg) fixed center center;
  }

  /*estilos de las letras del banner*/
  #inicio h1 {
        font-size: 25px;
    line-height: 36px;
    color: #ffffff;
    font-family: 'Righteous', cursive;
    margin: -46px 0px -10px 8px;
  }

  #inicio #letras {
    font-size: 19px;
    line-height: 28px;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    margin: 25px 12px 0 10px;
    text-align: justify;

}

    .dos{
    display: none;
    
}


  .expe {
    display: block;
    width: 67%;
    height: auto;
    /*margin-left: 100px;*/
    margin-top: -61px;
  }

  .appointment-form p {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    line-height: 2;
    display: block;
    margin-top: 30px;
    /*padding: 0 50px;*/
    text-align: justify;
  }

  .appointment-form h2 {
      font-size: 25px;
      font-weight: 700;
      color: #1c4692;
      position: relative;
      /*margin-left: 47px;*/
   }

  article.post {
    min-height: 370px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    margin-left: 30px;
  }

}


@media  (min-width: 768px) {

  /*estilos de las letras del banner*/
  #inicio h1 {
    font-size: 29px;
      line-height: 101px;
      color: #ffffff;
      font-family: 'Righteous', cursive;
      margin: -74px 30px -14px 30px;
      margin-top: 57px;
  }

  #inicio #letras {
    font-size: 19px;
    line-height: 28px;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    margin: 5px 281px 0 46px;
    text-align: justify;
}



  /*imagen de la doctora*/
  .expe {
    display: block;
    width: 100%;
    height: auto;
    margin-left: 2px;
    margin-top: 96px;
  }

  .appointment-form h2 {
      font-size: 25px;
      font-weight: 700;
      color: #1c4692;
      position: relative;
      margin-left: 2px;
      width: max-content;
   }

   .appointment-form p {
     font-size: 16px;
     font-weight: 400;
     color: #000000;
     line-height: 2;
     display: block;
     margin-top: 30px;
     padding: 0 2px;
     text-align: justify;
   }


}

@media (min-width: 1024px) {

  /*estilos de las letras del banner*/
  #inicio h1 {
    font-size: 36px;
    line-height: 68px;
    color: #ffffff;
    font-family: 'Righteous', cursive;
    margin: 37px 35px 27px 104px;
  }

  #inicio #letras{
    font-size: 20px;
    line-height: 30px;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    margin: -28px 178px 24px 155px;
    text-align: justify;
  }



  .appointment-form h2 {
      font-size: 25px;
      font-weight: 700;
      color: #1c4692;
      position: relative;
      margin-left: 47px;
      width: auto;
   }

   .appointment-form p {
     font-size: 16px;
     font-weight: 400;
     color: #000000;
     line-height: 2;
     display: block;
     margin-top: 30px;
     padding: 0 50px;
     text-align: justify;
   }
   /*imagen de la doctora*/
   .expe {
     display: block;
     width: 81%;
     height: auto;
     margin-left: 20px;
     margin-top: 26px;
     padding: 53px 4px 44px 8px;
   }


}

@media (min-width: 1317px) {

  /*estilos de las letras del banner*/
  #inicio h1 {
    font-size: 35px;
    line-height: 100px;
    color: #ffffff;
    font-family: 'Righteous', cursive;
    margin: -74px 30px -14px 90px;
    margin-top: 67px !important;
  }

  #inicio #letras{
    font-size: 22px;
    line-height: 31px;
    color: #ffffff;
    font-family: 'Source Serif Pro', serif;
    margin: -5px 515px 0 134px;
    text-align: justify;
  }

}
