*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/******************* Estilos Index **************************/
.principal{
    padding: 0 2rem;
    width: 100%;
    display: grid;
    grid-template-columns:1fr 340px;
    grid-template-rows:repeat(4,minmax(2rem,auto));
}
.section1{
    grid-column:1/3;
    grid-row:1/2;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section2_video{
    grid-column:1/2;
    grid-row:2/3;
    background: rgb(217, 218, 219);
    padding: 1rem .5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center; 
}
.section2_social{
    grid-column:2/3;
    grid-row:2/3;
    padding: 1rem .5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.section2_video p{
    font-size: 20px;
    text-align: center;
    padding: 0 5px;
    color: dimgray;
}
.section2_video #respVideo{
    width: 100%;
    max-width: 800px;
/*max-width: 800px;*/
}

.section3{
    grid-column:1/3;
    grid-row:3/4;
    padding: 2rem 0;
}
.section3 h3{
    text-align: center;
}
.section4{
    grid-column:1/3;
    grid-row:4/5;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #E6E7E8;
    padding: 1rem 0;
}
.section4 h3{
    margin-bottom: 1rem;
}
.galery_socios{
/*    padding: 0 2rem;*/
/*        display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;*/
}
/*************************************/
/************************************/
.gallery-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.gallery-container img{
    width: 100%;
    height: auto;
    max-width: 180px;
    display:block;
    
    -webkit-transition:all 0.4s;
    transition:all 0.4s
}
.gallery-item:hover{
    border-color:red;
}

.gallery-item{
    overflow:hidden;
    border:3px solid #ffffff;
    box-shadow: 1px 2px 16px 0px rgba(2,5,56,1);
    position:relative;
    cursor:pointer;
    margin:1em
}

.gallery-item:hover img{
    -webkit-transform:scale(1.1);
    -ms-transform:scale(1.1);
    transform:scale(1.1)
}
.gallery-item:hover:after{
    opacity:1;
    -webkit-transform:scale(1);
    -ms-transform:scale(1);
    transform:scale(1)
}
@media(max-width: 800px){ 
  .principal{
    padding: 0;
    display: grid;
    grid-template-columns:100%;
    grid-template-rows:repeat(5,auto);
}
.section1{
    grid-column:1/2;
    grid-row:1/2;
}
.section2_video{
    grid-column:1/2;
    grid-row:2/3;
    width: 100%;
    max-width: 100vw;
    padding: 0;
}
.section2_social{
    grid-column:1/2;
    grid-row:5/6;
}

.section3{
    grid-column:1/2;
    grid-row:3/4;
}
.section4{
    grid-column:1/2;
    grid-row:4/5;
}
}
/***********************Video Responsive******************************/
.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: auto;
    overflow: hidden;
}		
.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/******************* Slider *************************/
.slider {
  width: 100%;
  height: 500px;
  position: relative;
}
.slider h1 {
    width: 100%;
/*    height: 450PX;*/
  text-align: center;
  margin-top: 40px;
  font-size: 60px;
  color: #fff;
    background: steelblue;
    margin: 0;
    padding-top: 40vh
}
.slider h1 a {
  font-size: 14px;
  color: #ccc;
  /*background: #e5626b;*/
  border-radius: 5px;
  padding: 2px 5px;
  /*border: 7px solid #e5626b;*/
  text-decoration: none
}
.slider h1 a:hover {
  text-decoration: underline
}
.slider ul, .slider ul li {
  width: 100%;
  height: 100%
}
.slider ul {
  position: relative;
  overflow: hidden
}
.slider ul li {
  position: absolute;
  top: 0;
  left: -100%;
  background-size: cover; /* semon #f98686 */
  background-position: center;
  color: #fff;
  font-family: serif;
}
.slider ul li:first-of-type {
  background-image: 
  url("../img/img/imag2.jpg")
}
.slider ul li:nth-of-type(2) {
  background-image: url("../img/img/imag5.jpg")
}
.slider ul li:nth-of-type(3) {
  background-image: url("../img/img/imag1.jpg")
}
.slider ul li:nth-of-type(4) {
  background-image: url("../img/img/imag3.jpg")
}
.slider ul li:last-of-type {
  background-image: url("../img/img/imag4.jpg")
}
.slider .controll {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 44%;
  border-bottom: 3px solid #333;
  border-left: 3px solid #333;
  cursor: pointer;
  color: #333;
    z-index: 3000;
}
.slider .controll:first-of-type {
  transform: rotate(45deg);
  left: 20px
}
.slider .controll:last-of-type {
  transform: rotate(225deg);
  right: 20px
}
.slider .controll:hover, .slider .controll.active {
  border-color: #fff;
  outline-color: #fff;
}
.slider ol {
  text-align: center;
  padding-top: 10px;
    position: absolute;
    bottom: 10px;
    width: 100%;
    z-index: 3000;
}
.slider ol li {
  display: inline-block;
  margin-right: 5px;
}
.slider ol .fa {
  content: "\f111";
  font-size: 15px;
/*  color: rgb(247, 243, 243);*/
color: #fff;
/*background: #fff;*/
  cursor: pointer;
  font-weight: normal;
}
.slider ol li:hover .fa:before, .slider ol li.active .fa:before {
  content: "\f111";
  color: red;
}

/* VIRSION 03 */
.slide {
  width: 100%;
/*  height: 100vh;
  min-height: 550px;*/
height: 500px;
  background-image: 
  linear-gradient(rgba(0, 0, 0,.5),rgba(0, 0, 0,.5));
  background-size: cover;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden
}
.slide .container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1000px;
    margin: auto;
    padding: 0 10px;
}
.slide h2 {
  font-weight: normal;
  font-size: 1rem;
  text-transform: uppercase;
  position: absolute
}

.slide h2{
  top: 25%;
  left: 10%;
  right: 10%;
  line-height: 1;
/*  bottom: 50px;
  right: 15px;*/
}

/*.slide h2:last-of-type {
  bottom: 50px;
  right: 15px;
}*/

.slide .slide-center {
  width: 100%;
  max-width: 550px;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.slide p {
  text-align: center;
  line-height: 1;
  margin-bottom: 15px;
  padding: 15px;
    font-size: 22px
}
.slide .btn1{
    width: 135px;
  height: 35px;
  margin: 0 10px 10px;
  padding: 10px;
  text-transform: uppercase;
  border: 2px solid #A4A8A5;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}
.slide .btn1:hover {
  opacity: 0.9;
  background: rgb(172, 4, 18);
  border: 2px solid rgb(172, 4, 18);
}
.slide .activ{
    opacity: 0.9;
  background: rgb(172, 4, 18);
  border: 2px solid rgb(172, 4, 18);
}
.slide .btn1{
    width: 135px;
  height: 35px;
  margin: 0 10px 10px;
  padding: 10px;
  text-transform: uppercase;
  color: #eee;
  border: 2px solid #A4A8A5;
  outline: none;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
}
.slide .btn1:hover {
  opacity: 0.9;
  background: rgb(172, 4, 18);
  border: 2px solid rgb(172, 4, 18);
}
@media(max-width: 800px) {
    .slider {
        width: 100%;
        height: 300px;
        position: relative;
    }
    .slide h2 {
        font-size: 16px;
        top: 12%;
        left: 10%;
        right: 10%;
        line-height: 1;
    }
    .slide .slide-center {
        width: 100%;
        max-width: 550px;
        text-align: center;
        position: absolute;
        top: 30%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .slide-center p{
        display: none;
        font-size: 20px;
    }
    .slide .btn1 {
        padding: 5px;
        font-size: 16px;
    }
}
@media(max-width: 600px) {
    .slide h2 {
        font-size: 14px;
        top: 5%;
        left: 0;
        right: 0;
        line-height: 1;
    }
    .slide .slide-center {
        width: 100%;
        max-width: 550px;
        text-align: center;
        position: absolute;
        top: 25%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .slide-center p{
        font-size: 18px;
    }
    .slide .btn1 {
        padding: 5px;
        margin: 0 4px 4px;
        font-size: 14px;
    }
}
@media(max-width: 400px) {
    .section2_video{
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100vw;
    }
    .slide h2 {
        font-size: 14px;
        top: 15%;
        left: 0;
        right: 0;
        line-height: 1;
    }
    .slide .slide-center {
        width: 100%;
        max-width: 550px;
        text-align: center;
        position: absolute;
        top: 42%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .slide-center p{
        font-size: 18px;
        margin-bottom: 0;
        margin-top: 0;
    }
    .slide-center .btn1 {
        padding: 5px;
        margin: 0 4px 4px;
        font-size: 14px;
        margin-top: 0;
    }
    .slider ol {
    text-align: center;
    padding-top: 5px;
    position: absolute;
    bottom: 0;
}
}
/***********************************/
/**********************************/
/*.galery_socios img{
    width: 100%;
    height: auto;
    max-width: 200px;
    padding-bottom: 15px;
}*/
footer{
    position: relative;
    background: #4B4B4D;
    color: #fff;
    padding: 2rem;
    padding-bottom: 3rem;
    display: grid;
    grid-template-columns:repeat(4,1fr) 1.4fr;
    grid-template-rows:auto;
}
/*footer h3{
    line-height: 2.5;
    text-decoration: red underline;
}*/
footer h3{
    line-height: 2;
    display: table;
    margin-bottom: 1.5rem;
}
/*footer h3 hr{
    color: red;
    background: yellow;
}*/
.footLinea{
    border: 1px solid red;
    width: 70%;
    padding: 0;
    margin: 0;
}
/*footer h3:after{
    content: "dddd";
    height: 2px;
    width: 70%;
    background: red;
    color: yellow;
}*/
.footer_content{
    padding: 0 10px;
}
/********************************************/
/*footer ul{
  list-style-type: none;
}*/

/*.footer_content li::before {
  content: '';
  background: url(img/logos/double.png);
  background-size: contain;
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-right: .25em;
}*/
/********************************************/
.footLogos{
  grid-column:1/2;
  grid-row:1/2; 
/*    display: grid;
    grid-template-columns:100%;
    grid-template-rows:repeat(2,auto);*/
}
.footNosotros{
   grid-column:2/3;
  grid-row:1/2;  
}
.footInfo{
   grid-column:3/4;
  grid-row:1/2;  
}
footContact{
   grid-column:4/5;
  grid-row:1/2; 
}
.footSiguenos{
  grid-column:5/6;
  grid-row:1/2;   
}
.logosPie{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}
.logosPie img{
    width: 100%;
    height: auto;
    max-width: 100px;
    padding-right: 10px;
}
.logosPie img:last-child{
    padding-right: 0;
}
.footNosotros{
    padding: 0 10px;
}
.footer_content li{
    margin-left: 1rem;
    line-height: 2;
    list-style: none;
}
.footer_content ul li::before {
  content: '';
  background: url(../img/logos/double.png);
  background-size: contain;
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-right: .25em;
}
.footer_content a{
    text-decoration: none;
    color: #fff;
}
.footContact1{
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}
.footContact1 p{
    font-weight: bold;
    line-height: 1;
    padding-bottom: 7px;
}
.footContact1 span{
    padding-left: 1rem;
    display: flex;
    align-items: center;
}
.footContact1 img{
    margin-right: 10px;
}
.pie_sociales{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.pie_sociales img{
    width: 100%;
    height: auto;
    max-width: 40px;
    padding-right: 10px;
}
@media (min-width: 801px) and (max-width: 1100px){
   footer{
    display: grid;
    grid-template-columns:2fr repeat(2,1fr) 2fr;
    grid-template-rows:repeat(2,auto);
    }
    .footLogos{
      grid-column:1/3;
      grid-row:2/3; 
   }
.footNosotros{
   grid-column:1/2;
  grid-row:1/2;  
}
.footInfo{
   grid-column:2/4;
  grid-row:1/2;  
}
footContact{
    grid-column:4/5;
  grid-row:1/2; 
}
.footSiguenos{
   grid-column:3/5;
  grid-row:2/3;   
} 
}
@media(max-width: 800px) {
    footer{
    display: grid;
    grid-template-columns:100%;
    grid-template-rows:repeat(5,auto);
    }
    .footLogos{
      grid-column:1/2;
      grid-row:1/2; 
   }
.footNosotros{
   grid-column:1/2;
  grid-row:2/3;  
}
.footInfo{
   grid-column:1/2;
  grid-row:3/4;  
}
footContact{
    grid-column:1/2;
  grid-row:4/5; 
}
.footSiguenos{
   grid-column:1/2;
  grid-row:5/6;   
}
/*   .footer_content{
    flex-basis: 100%;
} */
}
.pie_mapa{
    padding-top: 10px;
}
.coprigtt{
   
    /*border-top: 2px solid #A90F0F;*/
    position: absolute;
    bottom: 0;
    z-index: 10;
    border-top: 1px solid #A90F0F;
    text-align: center;
    color: #fff;
    padding: .4rem 0;
    width: 100%;
}
.coprigtt a{
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}
.coprigtt span{
    color: #fff;
    font-weight: bold;
}
/************************* Banner************************************/
.banner img{
    width: 100%;
    height: auto;
}
.banner_titulo{
    position: absolute;
    bottom: 2rem;
    left:2rem;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
   background-color: rgba(255,255,255,0.5);
    color: #fff;
}
.banner_titulo img{
    width: 100%;
    height: auto;
    display: block;
    max-width: 150px;
}
/************************* Banner************************************/
.bannerAGMP img{
    width: 100%;
    height: auto;
}
.banner_tituloAGMP{
    position: absolute;
    bottom: 1rem;
    left:1rem;
    padding: 5px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
   background-color: rgba(255,255,255,0.35);
    color: #fff;
}
.banner_logos{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.banner_logos img{
    width: 100%;
    height: auto;
    display: block;
    max-width: 90px;
    padding-right: 8px;
}
@media(max-width: 800px){
    .banner_titulo{
         position: absolute;
        bottom: 1rem;
        left:1rem;
    }
    .banner_titulo img{
        max-width: 150px;
    }
    .banner_titulo h3{
        font-size: 12px;
    }
    .banner_logos img{
        width: 100%;
        height: auto;
        display: block;
        max-width: 45px;
        padding-right: 8px;
    }
}