*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* para que no tenga margen de espacio en los costados y sea entero*/
}

body{
  
  font-family: 'open sans';
  padding-top: 147px; /*147*/
    /*transition: padding-top 0.6s ease-in;*/
  transition: all 0.5s ease-in;
  
  /* fallback for old browsers */
  background: -webkit-linear-gradient(to right, rgba(60, 78, 62, 0.554), rgba(60, 78, 62, 0.554)), url(../img/car-insurance-2.jpg);  
  /* Chrome 10-25, Safari 5.1-6 */
  background: linear-gradient(to right, rgba(60, 78, 62, 0.554), rgba(60, 78, 62, 0.554)), url(../img/car-insurance-2.jpg);
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */

  background-size: cover;  /*posiciona la imagen completa al tamanio de la fondo coloreado*/
  background-attachment: fixed; /*posiciona la imagen completa al tamanio de la fondo coloreado*/
  position: relative;
}

@font-face{
    font-family: "Sigvar-Light";
    src: url("../fonts/Sigvar-Light.ttf");
  }

@font-face{
    font-family: "BaskervilleMTStd-Regular";
    src: url("../fonts/BaskervilleMTStd-Regular.otf");
}


header{
  width: 100%;
  height: 110px;/*60px*/
  /* Chrome 10-25, Safari 5.1-6 */
  /*background: linear-gradient(to right, rgba(143, 79%, 64%, 0.178), rgba(96, 120, 98, 0.93));
  background-image: url(../img/ESwdkp3XYAEsTPu4.jpg);*/
  background: linear-gradient(to right, rgba(96, 120, 98, 1), rgba(96, 120, 98, 1));
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  text-align: center;
  position: fixed;
  top: 0;
  overflow: hidden;
  transition: all 0.3s ease-in;
  z-index: 1000;
}

/*//////////////////INICIO CABECERA 3////////////////////*/


/*////*/
.socialfooter1{
  font-size: 1.3rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 25px 0;
}

.socialfooter1 .icon1{
  color: white;
  text-decoration: none;
  padding: .9rem;
  display: flex;
  transition: all .5s;
  border-radius: 10px;
  margin: 0 5px 0 5px;
  -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(0,0,0,0.4));
}

.socialfooter1 .icon-facebook{
  background: #809381;
}

.socialfooter1 .icon-whatsapp{
  background: #809381;
}

.socialfooter1 .icon-youtube{
  background: #809381;
}


.socialfooter1 .icon1:hover{
  -webkit-transform:scale(1.3);transform:scale(1.3);
  border-radius: 1rem;
  box-shadow: 0 0 5rem rgba(0, 0, 0 ,0.42);
}
/*////*/
header .aparece{
  display: flex;
  justify-content: space-around;
  margin: 0;
  padding: 0;
  
}

header .imgcolor {
  
  transition: all 0.3s ease;
}

header .imgcolor:hover {
  -webkit-transform:scale(.8);transform:scale(.8);

}

header .socialfooter1 a{
  transition: all 0.2s ease;
}

.menu_bar{
  display: none;
}

header nav{
  background: #EFF1EE;/*690317c5*//*#690318da*/
  z-index: 1001;
  position: fixed;/*fixet*/
  /*max-width: 1200px;*/
  width: 100%;
  height: 55px;
  /*margin: auto;*/
  
  
  transition: all .3s ease-in;
  display: flex;
  justify-content: center;
}


header nav ul{
  list-style: none;
  
}

header nav ul li{
  display: inline-block;
  position: relative;
  transition:all .5s ease-in-out;
}

header nav ul li:hover{
  background: #99A99A; /*#*/
  z-index: 1000;
}

header nav ul li a{
  font-size: 17px;
  color: #333333;
  display:block;/*block*/
  line-height: 1;
  text-decoration: none;
  font-weight: 600;
  padding: 20px;
}

header nav ul li a:hover{
  color: #dadada;
}


header nav ul li a span{
  margin-right: 10px;
  color: #707070;
}

header nav ul li:hover .hijos{
  display: block;
}

header nav ul li .hijos{
  display: none;
  background: #99A99A;/*#011826df*/
  position: absolute;
  width: 120%;
  z-index: 1000;
}

header nav ul li .hijos li{
  display: block;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.5);
  width: 100%;/*esto aumentamos para que ocupe todo el width cada palabra*/
}

header nav ul li .hijos li a{
  display: block;
  padding: 6px;
  font-size: 12px;
}

header nav ul li .hijos li a span{
  float: right;
  position: relative;
  top: 5px;
  margin-right: 0;
  margin-left: 10px;
}


header nav ul li .caret{
  font-weight: bold;
  position: relative;
  top: 2px;
  margin-left: 10px;
  margin-right: 0px;
}

body.sticky-header{
  padding-top: 100px; /*100px*/
  /*transition: all 0.5s ease-in-out;*/
  transition: all 0.6s ease-out;
}

body.sticky-header header{
  height: 50px;/*50*/
  transition: all 0.6s ease-out;
}

body.sticky-header nav{
  transition: all 0.6s ease-out;
  transform: translateY(-100px);
  /*top: 0;*/
}

body.sticky-header header .imgcolor{
  transform: scale(0, 0);
}

body.sticky-header header h6{
  transform: scale(0, 0);
}

body.sticky-header header .aparece .socialfooter1 a{
  transform:scale(0, 0);
}

@media screen and (max-width: 860px) {
  body{
    padding-top: 65px;
  }

  header{
    width: 100%;
    height: 65px;
  }

  body.sticky-header header{
    height: 65px;/*50*/
  }

  header .aparece{
    display: none;
  }


  .menu_bar{
    display: block;
    width: 100%;
    position: fixed;
    top: 0;
    background: #607862d5; /*690317c5*//*#497a4d*/
    z-index: 1000;
  }

  .menu_bar .bt-menu{
    display: block;
    padding: 15px 5px 10px 0px;
    color: #FFF;
    overflow: hidden;
    font-size: 23px;
    font-weight: bold;
    text-decoration: none;
  }

  .menu_bar span{
    float: right;
    font-size: 35px;
  }

  header nav{
    width: 70%;
    height: calc(100% - 65px);
    position: fixed;
    right: 100%;
    margin: 65px 0 0 0;
    overflow: scroll;
    text-align: left;
  }

  body.sticky-header header nav{
    transform: translateY(0px);
    top: 0;
  }


  header nav ul li{
    display: block;
    border-bottom: 1px solid rgba(255,255,255,.5);
    width: 100%; /*se aumento esto para que ocupe todo el ancho*/
  }

  header nav ul li:hover{
    background: #99A99A; /*#*/
    top: 65;
  }
  

  header nav ul li a{
    display: block;
  }

  header nav ul li:hover .hijos{
    display: none;
  }

  header nav ul li .hijos{
    width: 100%;
    position: relative;
  }

  header nav ul li .hijos li a{
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 14px;
  }

  header nav ul li .caret{
    float: right;
  }

}

/*///////////////////CIERRE CABECERA 3//////////////////////*/

/**/


.titulo{
    backface-visibility: #f2f2f2;
    /*background: #343a40!important;*/
    color: #116099;
    font-size: 40px;
    text-align: center;
    /*margin-bottom: 40px; /* para distinguir lo del contenido de cada seccion*/
    font-style: oblique;
    /*text-shadow: .1rem .1rem .1rem #333;*/
    /*box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.6); */
}


/**  TITULO CENTRAL  **/
/*acomoda las palabras y centrea las palabras del comienzo de la imagen degradada*/

.textos-header{
  padding-top: 40px;
}

.containersp {
  width: 100%; /*mientras mas porcentaje, se ira mas a la derecha*/
  max-height: 150px; /*130px*/
  background: #58252655;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.containersp .box {
  width: 610px; /*  espacio de ancho de la barra verde  */
  height: 210px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.containersp .box .title {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  height: 75px; /*50px*/
}
.containersp .box .title .block {
  width: 0%;
  height: inherit;
  background: #5825269d; 
  position: absolute;
  animation: mainBlock 2s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
  display: flex;
  border-radius: 10px;
}
.containersp .box .title h1 {
  font-family: "Sigvar-Light";
  color: #fff;
  font-size: 85px;/*65px tamanio de la palabra saavedra pacheco*/
  -webkit-animation: mainFadeIn 2s forwards;
  -o-animation: mainFadeIn 2s forwards;
  animation: mainFadeIn 2s forwards;
  animation-delay: 1.6s;
  opacity: 0;
  display: flex;
  align-items: baseline;
  position: relative;
}

.containersp .box .role {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;/*50px*/
  margin-top: -5px;/*-5px*/
}
.containersp .box .role .block {
  width: 0%;
  height: inherit;
  background: #607862ab;
  position: absolute;
  animation: secBlock 2s cubic-bezier(0.74, 0.06, 0.4, 0.92) forwards;
  animation-delay: 2s;
  border-radius: 10px;
  display: flex;
}
.containersp .box .role p {
  animation: secFadeIn 2s forwards;
  animation-delay: 3.2s;
  opacity: 0;
  font-weight: 450;
  font-family: "BaskervilleMTStd-Regular";
  color: #fff;
  font-size: 21px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 10.5px;
}

.containersp .box .role .p2{
  animation: secFadeIn 2s forwards;
  animation-delay: 3.2s;
  opacity: 0;
  font-weight: 450;
  font-family: "BaskervilleMTStd-Regular";
  color: #fff;
  font-size: 21px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 1.8px;
}
.containersp .box .role .p3{
  animation: secFadeIn 2s forwards;
  animation-delay: 3.2s;
  opacity: 0;
  font-weight: 450;
  font-family: "BaskervilleMTStd-Regular";
  color: rgba(255, 255, 255, 0);
  font-size: 21px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 0px;
}

@keyframes mainBlock {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes secBlock {
  0% {
    width: 0%;
    left: 0;
  }
  50% {
    width: 100%;
    left: 0;
  }
  100% {
    width: 0;
    left: 100%;
  }
}
@keyframes mainFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes secFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.8;
  }
}

@media only screen and (max-width: 767px){
  
header{
  height: 55px; 
}

  .containersp {
  width: 100%; /*mientras mas porcentaje, se ira mas a la derecha*/
  max-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.containersp .box {
  width: 468px; /*  espacio de ancho de la barra verde  */
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
  
  .containersp .box .title {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  height: 75px; /*50px*/
}
  
  .containersp .box .role {
  height: 23px;/*50px*/
  margin-top: -7px;/*-5px*/
}
  
  .containersp .box .title h1 {
  font-size: 65px;/*65px tamanio de la palabra saavedra pacheco*/
  }
  
  .containersp .box .role p {
  font-size: 15px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 8.6px;
}

.containersp .box .role .p2{
  font-size: 15px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 2px;
}
.containersp .box .role .p3{
  animation: secFadeIn 2s forwards;
  animation-delay: 3.2s;
  opacity: 0;
  font-weight: 450;
  font-family: "BaskervilleMTStd-Regular";
  
  font-size: 15px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 0px;
}
}

@media only screen and (max-width: 567px){

header{
  height: 50px; 
}
  
.containersp {
  width: 100%; /*mientras mas porcentaje, se ira mas a la derecha*/
  max-height: 80px;
  
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.containersp .box {
  width: 254px; /*  espacio de ancho de la barra verde  */
  height: 150px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
  
  .containersp .box .title {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  height: 75px; /*50px*/
  
}
  
  .containersp .box .role {
  height: 23px;/*50px*/
  margin-top: -17px;/*-5px*/
}
  
  .containersp .box .title h1 {
  font-size: 35px;/*65px tamanio de la palabra saavedra pacheco*/
  }
  
  .containersp .box .role p {
  font-size: 9px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 4px;
}

.containersp .box .role .p2{
  font-size: 9px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 1.6px;
}
.containersp .box .role .p3{
  animation: secFadeIn 2s forwards;
  animation-delay: 3.2s;
  opacity: 0;
  font-weight: 450;
  font-family: "BaskervilleMTStd-Regular";
  color: rgba(255, 255, 255, 0);
  font-size: 9px;/*   24px tamanio de la letra "corredores de seguros SRL"  */
  text-transform: uppercase;
  letter-spacing: 0px;
}
}
/*  CIERRE DEL TITULO  CENTRAL  */



/*     PARA ENVIAR CORREO      */

main{
  background-image: url(5aaa.jpg);
  background-size: 100vw 100vh; /*el primer 100vw el ancho de la ventana y 100vh el alto de la ventana*/
  background-attachment: fixed;/*para que la imagem se quede fija por mas que cambie la pantalla se acomoda*/
  margin: 0;
  font-family: monospace;
}

form{
  width: 450px;
  margin: auto; /*para que este centrado horizontalmente*/
  background: rgba(0,0,0,0.4);/*red,green,blue,transparencia*/
  padding: 10px 20px;
  box-sizing: border-box; /*relleno interno de 20px a dentro*/
  margin-top: 20px;
  margin-bottom: 20px;
  border-radius: 7px;
}

form h2{
  color: #fff;
  text-align: center;
  margin: 0;
  font-size: 30PX;
  margin-bottom: 10PX;
}

input, textarea {
  /*se les da estilo a los dos input y textarea*/
  width: 100%;
  margin-bottom: 20px;
  padding: 7px;
  box-sizing: border-box;
  font-size: 17px;
  border: none;
}

textarea{
  min-height: 100px;/*que tenga un alto minimo de 100px*/
  max-height: 200px;/*que tenga un alto minimo de 200px*/
  max-width: 100%;/*para que tenga su limite de crecimiento*/
}

#boton{
  /*conctado por el id="boton" de su html*/
  background: #31384a;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 20px;
}
#boton:hover{
  cursor: pointer;/*cuando pase el cursor por el boton*/
}

@media (max-width:480px){

  form{
      width: 100%;
  }
}

form h1{
  text-align: center;
  color: #fff;
  font-size: 40px;
  background: rgba(0,0,0,0.4);
  margin-top: 20px;
}

/*     /PARA ENVIAR CORREO */


/*///////////// ABRIR MAPA /////////////////*/
.mapgrande{
  background: linear-gradient(to right, rgba(255, 255, 255, 0.726), rgba(255, 255, 255, 0.554)), url(../img/GPS_MAP26.jpg);
  /*background: #323232;*/
  width: 100%;
  background-size: cover;  /*posiciona la imagen completa al tamanio de la fondo coloreado*/
  background-attachment: fixed; /*posiciona la imagen completa al tamanio de la fondo coloreado*/
  position: relative;
  padding: 20px 0 20px 0;
}

.mapgrande2{
  /*width: 50%;*/
  /*display: block;*/
  display: flex;
  margin: auto;
  align-items: center;
  justify-content: center;
  padding: 20px 0px 30px 0px;
}

.map{
    outline: 20px solid #5825266c;
    width: 800px;
    height: 650px;
    display: flex;
    align-items: center;
    /*margin-bottom: 50px;*/
}

.map img{
  width: 800px;
  height: 650px;
  transition:all .5s ease-in-out;
}

.map img:hover{
  -webkit-transform:scale(1.1);transform:scale(1.1);
}

.letramapa{
  font-weight: 800;
  /*font-weight: 200;*/
  font-family: 'Roboto', sans-serif;
  color: #fff;
  font-size: 35px;
  text-align: center;
  /*padding: 20px 0px 40px 0px;*/

  margin-left: 10%;
  margin-right: 10%;
  background: #607862bb;
  border: 2px solid #FFF;
  border-radius: 10px;
  text-shadow: 1.6px 1.6px #5d5d5d;
  box-shadow: 0 2px 0px 2px rgba(88, 37, 38, 0.335);
  padding: 12px 25px;

}

@media screen and (max-width: 827px){

  .map{
    width: 600px;
    height: 450px;
  }

  .map img{
  width: 600px;
  height: 450px;

  }
  
  .letramapa{
    font-size: 25px;
  }
    
}

@media screen and (max-width: 640px){

  .map{
    width: 450px;
    height: 330px;
  }

  .map img{
  width: 450px;
  height: 330px;

  }
  
  .letramapa{
    font-size: 25px;
  }
    
}

@media screen and (max-width: 443px){

  .map{
    width: 340px;
    height: 255px;
  }

  .map img{
  width: 340px;
  height: 255px;

  }
  
  .letramapa{
    font-size: 25px;
  }
    
}

@media screen and (max-width: 340px){

  .map{
    width: 350px;
    height: 270px;
  }

  .map img{
  width: 350px;
  height: 270px;

  }
  
  .letramapa{
    font-size: 22px;
  }
    
}

/*///////////// CERRAR MAPA /////////////////*/

/*/////////////////////////INICIO APS///////////////////////////////*/

.aps{
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  background: #FFF;
}

.aps2{
  width: 100%;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.aps2 img{
  width: 100%;
  /*height: 55px;*/
  display: block;
  margin: auto;
  padding: 0;
  /*background-size: cover;
    background-attachment: fixed;*/
}

/*/////////////////////////CIERRE APS //////////////////////////////*/

/*/////////////////// footer - pie de pagina ///////////////////////////////////*/
footer{
  background: linear-gradient(to right, rgba(3, 5, 4, 0.883), rgba(3, 5, 4, 0.883)), url(../img/fondo-lluvia-pixeles-diseno-abstracto_23-2148370795.jpg);
  /*background:#303030;*/
  width: 100%;
  padding: 60px 0px 10px 0px; /* 60 pixeles arriba, 0 pixeles a la derecha,  30 pixeles abajo y 0 pixeles a la isquerda */
  margin: auto;/*para centrar todo*/
  overflow: hidden;
}

/*////*/
.socialfooter{
  font-size: 1rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 45px 0;
}

.socialfooter .icon{
  font-size: 25px;
  color: white;
  text-decoration: none;
  padding: .9rem;
  display: flex;
  transition: all .5s;
  border-radius: 10px;
  margin: 0 5px 0 5px;
  -webkit-box-reflect: below 2px linear-gradient(transparent, transparent, rgba(0,0,0,0.4));
}

.socialfooter .icon-facebook{
  background: #809381;
}

.socialfooter .icon-whatsapp{
  background: #809381;
  width: 50px;
  height: 50px;
}

.socialfooter .icon-youtube{
  background: #809381;
}

.socialfooter .linea{
  border-top: 2px solid #99A99A;/*#11998e*/
  width: 20%; 
  margin-bottom: 20px;
}

.socialfooter .icon:hover{
  -webkit-transform:scale(1.3);transform:scale(1.3);
  border-radius: 1rem;
  box-shadow: 0 0 5rem rgba(0, 0, 0 ,0.42);
}
/*////*/

.contenedor-footer{
  display: flex;
  width: 90%;
  /*justify-content: space-evenly; /*para que se reparta los elementos equitativamente*/
  margin: auto;
  padding-bottom: 50px;
  border-bottom: 1px solid #ccc;
}


.content-foo{
  text-align: center; /*para que este todo centreado*/
}

.content-foo h4{
  font-size: 18px;
  color: #fff;
  border-bottom: 4px solid #99A99A;/*11998e*/
  margin-left: 15%;
  margin-right: 15%;

  padding-bottom: 5px;
  margin-bottom: 10px;   
}

.content-foo p{
  color: #ccc;
  font-size: 18px;
}

.titulo-final{
  text-align: center;
  font-size: 15px;
  margin: 20px 0 0 0;
  color: #9e9797;
  }

  .titulo-final2{
    text-align: center;
    font-size: 10px;
    font-weight: 100;
    margin: 10px 0 0 0;
    margin: 0;
    color: #9e9797;
    }


@media screen and (max-width: 1920px){

  .lado1{
      width: 50%;
      display: flex;
      justify-content: space-evenly;
  }
  
  .lado2{
      width: 50%;
      display: flex;
      justify-content: space-evenly;
  }
    
}
  
@media screen and (max-width: 1280px){
  .contenedor-footer{
  display: flex;
  width: 90%;
  justify-content: space-evenly; /*para que se reparta los elementos equitativamente*/
  margin: auto;
  padding-bottom: 50px;
  border-bottom: 1px solid #ccc;
  }
  .content-foo p{
      margin-bottom: 15px;
  }
  
  .lado1{
      width: 50%;
      display: block;
      justify-content: space-evenly;
      margin: 0px 20px 0px 20px;
  }
  
  .lado2{
      width: 50%;
      display: block;
      justify-content: space-evenly;
      margin: 0px 20px 0px 20px;
  }
}
  
@media screen and (max-width: 1050px){
.contenedor-footer{
  display: flex;
  width: 90%;
  justify-content: space-evenly; /*para que se reparta los elementos equitativamente*/
  margin: auto;
  padding-bottom: 50px;
  border-bottom: 1px solid #ccc;
  }
  
  .content-foo p{
      margin-bottom: 15px;
  }
}
  
@media screen and (max-width: 565px){
.contenedor-footer{
  display: block;
  flex-direction: column;
  width: 90%;
  justify-content: center; /*para que se reparta los elementos equitativamente*/
  margin: auto;
  padding-bottom: 50px;
  border-bottom: 1px solid #ccc;
  }

  .lado1{
      width: 100%;
      padding: 0px 20% 0px 20%;
  }

  .lado2{
      width: 100%;
      padding: 0px 20% 0px 20%;
  }

  .content-foo p{
      font-size: 14px;
      margin-bottom: 28px;
  }

  .contenedor-footer{
  width: 100%;
  } 
}