body {
    margin: 0;
    padding: 0;
    font-family: 'BenchNine', sans-serif;
    
}

li {
    list-style: none;
}

a:hover{
color:gray;

}




a:visited,
a {
    text-decoration: none;
}

button a:hover {
    color: white;
    align-content:
}

h1,
h2 {
    text-transform: uppercase;
    font-weight: bold;
}


#pp {
    margin-top: 20px;
}


/*header area*/
#home {
    margin-top: 0;
}
.cont-idm{
    width: 50%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.cont-tel{
    width: 50%;
    display: flex;
   
    align-items: center;
  
}
.idioma{
   float: right;
   
 }
.cont-tel p i{
    margin-right: 10px;
  
}
.cont-tel p:nth-child(2) {
    margin-left: 30px;
    
}
.fa{
margin-right: 12px;
}

.idioma div select{
   font-size: 20px;
    
 }

.idioma a:hover {
    color: bisque;

}

#punto{
color: #af9957;
    font-size: 80px;
    margin-left: 0;
}
#texth3 {
margin-top: 40px;
   
}
.text1{
color:white;

}

.grand:first-letter{
   color: #af9957;
    float: left;
    font-size:3em;
    padding: 3px 5px 1px 5px;
    display: block;
    margin-right: 6px;
    margin-top: 5px;
    line-height: 60px;
}

.imagen .textos {
color:#000;

}
#textos{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}#textos-soci{
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
}
#textos-soci h4{
   font-size: 18.5px;
	text-align: justify;
	line-height: 1.3em;
}

.top-header {
    margin-top: 0 !important;
    background: #fff !important;
    position: fixed !important;
    width: 100%;
    z-index: 99999;
    position: relative;
}

.contact {
    position: absolute;
    top: 900px;
   float: 
}

/*////////header////////*/
.fondo {
    background-color:#004463;

   
}


#cont {
    width: 100%;
    height: 50px;
    display: flex;
    /*    justify-content: space-between;*/
    align-items: center;
}

.slogan {
    width: 60%;
   
}
.slogan h2 {
    font-size: 16px;
   
}

#tit1 {
    margin: 0;
    text-align: center;
   
    font-family:  "Georgia", "Times", serif;
/*    font-family: 'Raleway', sans-serif;*/
     color: #af9957;
}

#tit2 {
  
   align-content: center;
    display: flex;
    
}

li a.active {
    color: #af9957 !important;
}


#tel {
    color: white;
    font-size: 16
        
        px;
    font-family: sans-serif;
    margin-bottom: 0;
}

/*
#tit2 p:nth-child(2) {
    margin-left: 20px;
}
*/

.cont h2 {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: bold;
    margin-left: 5%;
}

/*///////////header///////////*/

.header-backup {
    width: 20px;
    height: 165px;
    background: transparent;
    margin: auto;
}

.logo {
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
    
}

.top-header img.logo {


    transition: all .5s ease 0s;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
}


.navbar-default {
    background-color: transparent;
    border-color: transparent;
    margin-bottom: 0;
    margin-top: 20px;
    transition: all .5s ease 0s;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
}

.nav-bar {
    margin-top: 27px;
}

.navbar-toggle span {
    color: #fff;
}

ul.nav {
    margin: 0;
    /*	padding: 0;*/
}

.navbar-default .navbar-nav > li > a {
    font-size: 24px;
    color: #000;
    text-transform: uppercase;
    transition: all .7s ease 0s;
    -webkit-transition: all .7s ease 0s;
    -moz-transition: all .7s ease 0s;
    -o-transition: all .7s ease 0s;
    -ms-transition: all .7s ease 0s;
    padding: 15px 15px;
/*    font-weight: bold;*/
}

.navbar-default .navbar-nav > li > a:hover {
    color: #999;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #000;
}

/*
li a.active {
    color: #42b3e5 !important;
}
*/

.navbar-default .navbar-toggle {
    border-color: #fff;
    margin-top: 4px;
}

#about h2{
    font-family:Georgia, Times, serif;
}
#about .container h3{  
    font-family:"nimbus-sans", Helvetica, Arial, sans-serif;
    
}

/*slider area*/


}

.slider-row {
    margin: 0;
    padding: 0;
}

.slider-wrapper {
    margin: 0;
    padding: 0 !important;
    background: #000 !important;
}

.carousel-caption h1 {
    font-size: 157px;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0;
}

.carousel-caption p {
    font-family: Georgia, Times, serif;
    font-size: 50px;
    color: #af9957;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 0;
}

.carousel-caption h2 {
    font-size: 40px;
    font-family: ninbus-sans;

}

.carousel-caption button {

    border-radius: 5px;
    width: 180px;
    height: 60px;
    background: #004463;
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    border: 0;
    transition: all .5s ease 0s;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
}

.carousel-caption button:hover {
    background: #2a2a2a;
    color: white;
}

.carousel-control {
    width: 5%;
}

.carousel-inner {
    background: -webkit-linear-gradient(left, #000, blue);
    /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(left, #000, blue);
    /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(left, #000, blue);
    /* For Firefox 3.6 to 15 */
    background: linear-gradient(to left, #000, blue);
    /* Standard syntax */
}

.item {
    position: relative;
}

.carousel-caption {
    position: absolute;
    text-align: left;
    left: 12%;
    line-height: 1;
    top: 50%;
    margin-top: -100px;
}

.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
    font-size: 18px;
    padding: 5px;
    background: #fff;
    border-radius: 50%;
    color: transparent;
    margin-left: 0;
    margin-top: 50px;
}

.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
    font-size: 18px;
    padding: 5px;
    background: #fff;
    border-radius: 50%;
    color: transparent;
    margin-right: 0;
    margin-top: 50px;
}

/*about area*/
.about h2 {
    font-size: 50px;
    color: #004463;

}

#subt {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-top: -15px;
}

#linea1 {
    width: 5%;
    border-top: 2px solid #af9957;
    margin-bottom: 20px;
    margin-right: 2px;
}

#linea2 {
    width: 5%;
    border-top: 2px solid #af9957;
    margin-bottom: 20px;
    margin-left: 2px;
}

#subt h2 {
    font-size: 30px;
    color: #af9957;
    margin-top: 15px;
}

.about h4 {
    font-size: 24px;
    color: #737373;
    margin-bottom: 45px;
}

.about-img img {
    width: 100%;
}
.item img {
    width: 100%;
}

.single-about-detail {
    position: relative;
}

.pentagon-text h1 {
    font-size: 60px;
    color: #383838;
    margin-top: 0;
    transition: all .7s ease 0s;
    -webkit-transition: all .7s ease 0s;
    -moz-transition: all .7s ease 0s;
    -o-transition: all .7s ease 0s;
    -ms-transition: all .7s ease 0s;
    position: absolute;
    left: 15%;
    width: 50px;
    top: -6%;
}

.pentagon-text {
    width: 70px;
    height: 52px;
    background: #fff;
    position: relative;
    top: -30px;
    left: 43%;
}

.pentagon-text:before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 0;
    height: 0;
    border-left: 34px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 15px solid #fff;
}

.pentagon-text:after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 0;
    height: 0px;
    border-left: 36px solid transparent;
    border-right: 34px solid transparent;
    border-top: 15px solid #fff;
}

.about-details {
    background: #2a2a2a;
    border-top: 2px solid #fff;
    transition: all .7s ease 0s;
    -webkit-transition: all .7s ease 0s;
    -moz-transition: all .7s ease 0s;
    -o-transition: all .7s ease 0s;
    -ms-transition: all .7s ease 0s;
}

.about-details h3 {
    font-size: 36px;
    color: #fff;
    margin-top: 0;
}

.about-details p {
    font-size: 13px;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    padding: 0 25px;
    padding-bottom: 30px;
}

.single-about-detail:hover .about-details {
    background: #3a9dca;
}

.single-about-detail:hover .pentagon-text h1 {
    color: #3a9dca;
}

/*   /////empresa///// */
.imagen {
    width: 100%;
    position: relative;
    margin-top: 100px;
    margin-bottom: 100px;
}

.imagen1 {
    width: 100%;
    position: relative;
    margin-top: 0;
    margin-bottom: 100px;
    text-align: center;
}


#slogan{
margin-right: 0
}

.imagen img {
    width: 100%;
}

.imagen1 img {
    width: 100%;
    margin-top: 185px;
}

.imagen .textos {
    font-family:Georgia, Times, serif;
    position: absolute;
    top: 20%;
    bottom: 10%;
    right: 10%;
    left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-around;
}

.about {
    margin-top: 75px;

}

.imagen p {
    font-size: 50px;
/*    color: white;*/
}

.imagen1 p {
    font-size: 50px;
    color: white;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 2%;
}

.imagen1 h2 {
    font-family:  serif;
    font-size: 60px;
    color:white;
    top: 60%;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
}
/*
.text-qh{
    background: linear-gradient(#E3E6E9, #8D8F90);
    width: 25%;
    max-height: 80%;
    position: absolute;
    bottom: 2%;
    left: 2%;
}
*/
/*
.text-qh:hover{
   opacity: 70%; 
    
}
.text-qh-2:hover{
   opacity: 70%; 
    
}
*/

.b #textos h2{
    text-transform: none;


}
mar
.text-qh p{
       
    font-family: "nimbus-sans", sans-serif;
    font-weight: normal;
    font-size: 20px;
    position: relative;
    padding: 10px;
    text-align: center;
}
.text-qh h3{
    color: #af9957;
    font-size: 45px;
    font-family: "nimbus-sans", sans-serif;
    font-weight: normal;
    text-align: center;
    position: relative;
    padding: 10px;
}

.text-qh-2{
   
    margin-bottom: 100px;
    
    display: block;
    color: black;
/*   background: linear-gradient(#E3E6E9, #8D8F90);*/
    width: 70%;
    
    
}
.text-qh-2 h3{
   
    margin-bottom: 65px;
    
 
    
    
}
.txt{
  display: flex;
   justify-content: center;
    margin-bottom: 50px;
}

.text-qh-2 p{
/*     margin-left: 20px; */
    font-family: "nimbus-sans", sans-serif;
    font-weight: normal;
    font-size: 24px;
    position: relative;
/*    padding: 10px;*/
/*    text-align: center;*/
}
.text-qh-2 h3{
/*     margin-left: 20px;*/
    color: #af9957;
    font-size: 50px;
    font-family: "nimbus-sans", sans-serif;
    font-weight: normal;
/*   text-align: center;*/
    position: relative;
/*    padding: 10px;*/
}




#text2 {
    font-size: 30px;
   
}

#text2 i {
    font-size: 15px;
    margin-left: 10px;
}

#text2 a {
    color: white;
}
#text3 a {
    color: white;
}
#empresa > p {
    font-size: 25px;
}

.img {
    width: 200px;
    height: 100px;
}

.img img {
    width: 100%;
}

#bot-contact h2 {
    color: white;
    font-size: 50px;
}

#bot-contact {
    width: 100%;
    height: 150px;
    background-color: #004463;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 100px;
  
}

#bot-contact button {
    border: 2px solid white !important;
    width: 200px;
    height: 50px;
    background-color: #004463;
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    border: 0;
    transition: all .5s ease 0s;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
}

#bot-contact button:hover {
    border: 2px solid #004462;
    background-color: #004450;

}

.imagen {
    width: 100%;
    background-color: black;
    display: flex;
    justify-content: center;
    align-content: space-between;
}
.foto{
width: 100%;
    
}
.foto img{
width: 100%;
}
.card-foto{
display: flex;
flex-direction: column;
justify-content: center;
}


#expli1,#expli4,#expli5,#expli8,#expli9,#expli12,#expli13,#expli16,#expli17,#expli20,#expli21,#expli24{
display:none;
}
/*
#expli1 .a,#expli4 .a,#expli5 .a,#expli8 .a,#expli9 .a,#expli12 .a,#expli13 .a,#expli16 .a,#expli17,#expli20 .a,#expli21a.a,#expli24 .a{
display: flex;
}
*/





#expli1,#preg1,#expli4,#preg4,#expli5,#preg5,#expli8,#preg8,#expli9,#preg9,#expli12,#preg12,#expli13,#preg13,#expli16,#preg16,#expli17,#preg17,#expli20,#preg20,#expli21,#preg21,#expli24,#preg24:hover{
cursor: pointer;
}

.cards-emp,
.cards-serv, .cards-sev1 {
    display: flex;
    align-content: center;
    align-items: center;
    margin-top: 105px; 
    margin-bottom: 150px;
}



.cards-serv {
    display: flex;
    align-content: center;
    align-items: center;
}

.cards-sev .cards a .card {
/*
    border: 2px solid black;
    border-radius: 10px;
*/
    
  padding: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.12), 0 1px 8px -3px rgba(35, 44, 57, 0.2);
    background: linear-gradient(45deg, #f5f5f5, transparent);
    transition: 0.15s ease-in-out all;   
    

}

.cards-emp .cards .card {

     padding: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.12), 0 1px 8px -3px rgba(35, 44, 57, 0.2);
    background: linear-gradient(45deg, #f5f5f5, transparent);
    transition: 0.15s ease-in-out all
}



.cards-sev1 .cards .card {
/*
    border: 2px solid black;
    border-radius: 10px;
*/
   padding: 0;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.12), 0 1px 8px -3px rgba(35, 44, 57, 0.2);
    background: linear-gradient(45deg, #f5f5f5, transparent);
    transition: 0.15s ease-in-out all 
}

.icon {
    margin-top: 10px;
    padding-top: 10px !important;
}

.icon i {
    width: 80px;
/*    background-color: #004462;*/
    border-radius: 50%;
    font-size: 60px;
    color: #af9957;
    padding-top: 25px;
    padding-bottom: 25px;

}

.a {
    width: 100%;
    height: 100%;
    color: black;
}
 
.cards-nosotros .card .a{
    display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr ;
    }
.cards-nosotros .card .a{
    display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr ;
    }
.cards .card .a{
    display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr ;
    }
.cards-socios  .card .a{
    display: block;
        
    }
.cards .card .b{
    width: 100%;
    height: 100%;
    display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr  ;
    }
.cards .card .a .icon {
    display: flex;
    justify-content: center;
    align-items: flex-end;

}
.cards .card .a #textos {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.cards-nosotros .card .a .icon{
   display: flex;
    justify-content: center;
    align-items: flex-end;
    }

.cards-nosotros .card .a #textos{
   display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    }

    
.cards {
    width: 70%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
/*    grid-auto-rows: 1fr;*/
    grid-gap: 60px;
    align-content: space-around;
    padding-top: 25px;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
}
.cards-nosotros {
    width: 70%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
/*    grid-auto-rows: 1fr;*/
    grid-gap: 60px;
    align-content: space-around;
    padding-top: 25px;
    text-decoration: none;
    margin-left: auto;
    margin-right: auto;
}

.card .a {
    width: 100%;
    min-height: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: black;
    text-decoration: none;
    border-radius: 10px;
}.card .b {
    width: 100%;
    min-height: 300px;
    text-align: center;
    display: flex;
    flex-direction: column;
    color: black;
    text-decoration: none;
    border-radius: 10px;
}

.card .a h3 {
	font-size: 18px;
    color: black;
    padding: 5px;
    font-family: "nimbus-sans", sans-serif;
    font-weight: normal;
    
}

.card .a h2 {
    font-size: 20px;
    color: black;
    padding: 5px;
    font-family:"nimbus-sans", sans-serif;
    font-weight: normal;
}
.card .b h2 {
    font-size: 20px;
    color: black;
    padding: 5px;
    font-family:"nimbus-sans", sans-serif;
    font-weight: normal;
}

.cards-sev .cards .card .a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.63);
}
.cards-sev1 .cards .card .a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.63);
}
.cards-emp .cards .card .a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.63);
}

#a-cotac:hover {
/*    background-color: beige;*/
    box-shadow: 0 1px 5px -2px rgba(0, 0, 0, 0.63);
}

.cont-bot {
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: space-around;
}

.cont-bot button {
    width: 120px;
    height: 50px;
    font-size: 30px;
    margin-top: 50px;
}

#serv-bot {
    
    margin-bottom: 50px;
}

.serv-bot {

    border-radius: 5px;
    width: 150px;
    height: 60px;
    background: #004463;
    color: white;
    font-size: 30px;
    text-transform: uppercase;
    border: 0;
    transition: all .5s ease 0s;
    -webkit-transition: all .5s ease 0s;
    -moz-transition: all .5s ease 0s;
    -o-transition: all .5s ease 0s;
    -ms-transition: all .5s ease 0s;
    margin-top: 30px;
    margin-bottom: 60px;
}

.serv-bot:hover {
    background: #2a2a2a;
    color: white;
}


/*///////fin empresa/////        */

.loc {

    margin-bottom: 5px;
    margin-left: 30px;
}

/*service area*/

#serv {
    border: 2px solid #ffc107;
    border-radius: 10px;
    margin: auto;
    text-align: center;
    font-size: 20px;
    width: 29%;
    margin: 2%;
    height: 100px;
}

#serv:hover {
    box-shadow: 0px 0px 5px 1px black;
    background-color: beige;
    color: #e5be01;
}

#serv div h3 a button {
    margin-top: 15px;
}

.service {
    background: url(../img/pattern.jpg);
    background-repeat: repeat-y;
    margin-top: 40px;
}

.service h2 {
    font-size: 90px;
    color: #fff;
    margin-top: 70px;
    margin-bottom: 0;
}

.service h4 {
    font-size: 24px;
    color: #fff;
    margin-top: 0;
    margin-bottom: 70px;
    display: block;
}



.service-img {
    width: 205px;
    height: 125px;
    background: #3a9ecb;
    position: relative;
}



.service-img img {
    position: absolute;
}


/*team section*/
.team {
    padding-bottom: 60px;
}

.team h2 {
    font-size: 90px;
    color: #42b3e5;
    margin-top: 50px;
    margin-bottom: 0;
}

.team h4 {
    font-size: 24px;
    color: #737373;
    margin-top: 0;
    margin-bottom: 45px;
}



/*contact section*/

.contact-caption {
    background: #004463;
}

.contact-heading h2 {
    color: #fff;
    font-size: 60px;
}

.contact-info {
    padding-left: 40px;
}

.contact-info h3 {
    padding-left: 0;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid #13849c;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.contact-form h3 {
    padding-left: 0;
    font-size: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    border-bottom: 1px solid #13849c;
    padding-bottom: 12px;
    margin-bottom: 0;
}

.contact-info ul {
    margin: 0;
    padding: 0;
}

.contact-info ul li {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    color: #fff;
}

.contact-info i.fa {
    font-size: 16px;
    padding-right: 12px;
    width: 25px;
    height: 38px;
}

.contact-info ul li span {
    font-weight: bold;
}

.contact-form input {
    width: 100%;
    height: 40px;
    background: #fff;
    font-size: 18px;
    color: #084a5c;
    font-family: 'Open Sans', sans-serif;
    padding: 12px;
    border: 0;
    margin-bottom: 12px;
}
#chec{
display: flex;
}
#opt-in {
   text-align: left;
    width: 3%;
    height: 20px;
    background: #fff;
    font-size: 13px;
    color: #084a5c;
    font-family: 'Open Sans', sans-serif;
    padding: 12px;
    border: 0;
    margin-bottom: 12px;
}

.contact-form textarea {
    font-family: 'Open Sans', sans-serif;
    padding: 12px;
    width: 100%;
    height: 140px;
    border: 0;
    margin-bottom: 12px;
}

.info-detail {
    border-top: 1px solid #53cde5;
    padding-top: 15px;
}

.form {
    border-top: 1px solid #53cde5;
    padding-top: 15px;
    text-align: right;
}

.contact-form input.submit-btn {
    width: 180px;
    height: 50px;
    float: right;
    font-size: 24px;
    color: #fff;
    background: url(../img/btn-bg.jpg);
    background-repeat: no-repeat;
    padding: 0;
    font-family: 'BenchNine', sans-serif;
    font-weight: bold;

}

.contact-form {
    padding-right: 40px;
}

.formu {
    margin-bottom: 75px;
}

/*gmap*/

#map {
    height: 830px;
}

.map {
    position: relative;
    overflow: hidden;
}

/*footer*/
#foot {
    color: white;
    font-size: 22px;
}
#foot .row{
    margin-top: 50px;
    margin-bottom: 30px;
}

.site-footer {
    background-color: black;
    /*    margin-top: 50px;*/
}


.footer-para {
    margin: 0;
    padding: 0;
}

.footer p {
    font-size: 18px;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    margin: 0;
    padding: 25px 0;
  
}

.footer a i.fa {
    font-size: 24px;
    color: #b1b1b1;
    padding: 22px 10px;
}

.col-md-2 ul li a {
    color: white;
}

.footer-link li a:hover {
    color: gainsboro;
}

.carousel-inner {
    position: relative;
}

#foot p a:hover {
    color: gainsboro;
}

#redes {
    display: flex;
    flex-direction: column;
}

#redes a i {
    font-size: 30px;
    margin-top: 25px;
}
#redes a i:hover{
    color: gainsboro;
}#redes a :hover{
    color: gainsboro;
}
iframe{
width: 100%;
}


/*======================css for carousel=========================*/
.carousel-fade .carousel-inner .item {
    opacity: 0;
    transition-property: opacity;
    margin-top: -5px;
}

.carousel-fade .carousel-inner .active {
    opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    opacity: 0;
    z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-control {
    z-index: 2;
    opacity: 1;
    background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, 0) 100%);
}

@media all and (transform-3d),
(-webkit-transform-3d) {

    .carousel-fade .carousel-inner > .item.next,
    .carousel-fade .carousel-inner > .item.active.right {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner > .item.prev,
    .carousel-fade .carousel-inner > .item.active.left {
        opacity: 0;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .carousel-fade .carousel-inner > .item.next.left,
    .carousel-fade .carousel-inner > .item.prev.right,
    .carousel-fade .carousel-inner > .item.active {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* just for demo purpose */
html,
body,
.carousel,
.carousel-inner,
.carousel-inner .item {
    height: 100%;
}



#card-soci {
    display: flex;
/*    flex-direction: column;*/
    justify-content: center;
    align-items: center;

}
#card-soci div img {
    width: 100%;
    }
#card-soci  .imag {
    padding: 0 !important;
    }

#card-soci div h4 {
    margin-top: 0;

}
/*
.imag {
    order: 1;

}
*/

.titulo {
    font-weight: bold;
    color: #004463;
    font-size: 20px;
    line-height: 1.8;
}

.avisos {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
    color: #868e96;
}

.avisos lu li {
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: #868e96;
}




/******************************
responsive area
********************************/


/* md */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 20px;
        padding: 14px 12px;
    }


    .carousel-caption h1 {
        font-size: 120px;
    }

    .carousel-caption p {
        font-size: 32px;
    }
    #card-soci {
       flex-direction: column;
 }
    
.imag {
    order: 1;
}


    /*
    .carousel-caption button {
        width: 215px;
        height: 55px;
        font-size: 26px;
    }
*/

    h2 {
        font-size: 25px;
    }

    imagen1 h2 {
        font-size: 60px !important;
    }
    
   .text-qh{
    display: none;
    
    }
      .text-qh-2{
    display: block;
   
}   
    
    .imagen1{
    margin-bottom: 30px;
    }
    
    

    #bot-contact h2 {
        font-size: 30px;
    }


    .about h2 {
        font-size: 25px !important;
    }
    #subt h2 {
        font-size: 30px !important;
    }
   

/*
    .cont p:nth-child(2) {
        margin-left: 90px;
    }

    .cont p:nth-child(3) {
        margin-left: 30px;
    }
*/

    h4 {
        font-size: 20px !important;
    }

    
.cards-nosotros, .cards {
    
    grid-template-columns: repeat(1, 1fr);
    
}
    .card-1{
    order:1;}
    .card-2{
    order:2;}
    .card-3{
    order:4;}
    .card-4{
    order:3;}
    .card-5{
    order:5;}
    .card-6{
    order:6;}
    .card-7{
    order:8;}
    .card-8{
    order:7;}
    .card-9{
    order:9;}
    .card-10{
    order:10;}
    .card-11{
    order:12;}
    .card-12{
    order:11;}
    .card-13{
    order:13;}
    .card-14{
    order:14;}
    .card-15{
    order:16;}
    .card-16{
    order:15;}
    .card-17{
    order:17;}
    .card-18{
    order:18;}
    .card-19{
    order:20;}
    .card-20{
    order:19;}
    .card-21{
    order:21;}
    .card-22{
    order:22;} 
    .card-23{
    order:24;}
    .card-24{
    order:23;}
    
 
}

/* sm */
@media (min-width: 768px) and (max-width: 991px) {
    .navbar-default .navbar-nav > li > a {
        font-size: 16px;
        padding: 10px 8px;
    }

    .cont-tel {
        
margin-top: 5px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-around;
       
    }
    .cont-tel p:nth-child(2){
        margin-left: 0;
    }
/*
    .fondo{
    height: 70px;}
*/

    .slogan {
        width: 100%;
        text-align: center;
        margin-top: 2%;
    }

/*
    #tit1 {
        width: 100%;
        display: block;
        margin-top: 5px;
        margin-left: 0;
    }

    #tit2 {

        width: 100%;
        justify-content: center;
    }
*/

    .carousel-caption h1 {
        font-size: 90px;
    }

    .carousel-caption p {
        font-size: 30px;
    }

/*
    .cont p:nth-child(2) {
        margin-left: 40px;
    }

    .cont p:nth-child(3) {
        margin-left: 10px;
    }
*/

    .about h2 {
        font-size: 40px;
        color: #004463;
        margin-top: 50px;
    }


    h2 {
        font-size: 20px;
    }

    .imagen1 h2 {
        font-size: 60px !important;

    }

    h4 {
        font-size: 18px !important;
    }

    #map {
        height: 1050px;
        background-color: #42b3e5;
    }

    .contact {
        margin-top: -1050px;
        height: 1050px;
    }

    .contact-caption {
        margin-top: 110px;
    }

    #serv {
        width: 100%;
    }

    .cards {

        grid-template-columns: 1fr ;

    }

    #redes {
        flex-direction: row;
        justify-content: flex-start;
    }

    #redes a i {
        margin: 25px;
    }
     .imagen p {
        font-size: 35px;
    }

     #card-soci {
   
    flex-direction: column;
   
}
    
.imag {
    order: 1;

}

 .cards-nosotros {
    
    grid-template-columns: repeat(1, 1fr);
    
}
     .card-1{
    order:1;}
    .card-2{
    order:2;}
    .card-3{
    order:4;}
    .card-4{
    order:3;}
    .card-5{
    order:5;}
    .card-6{
    order:6;}
    .card-7{
    order:8;}
    .card-8{
    order:7;}
    .card-9{
    order:9;}
    .card-10{
    order:10;}
    .card-11{
    order:12;}
    .card-12{
    order:11;}
    .card-13{
    order:13;}
    .card-14{
    order:14;}
    .card-15{
    order:16;}
    .card-16{
    order:15;}
    .card-17{
    order:17;}
    .card-18{
    order:18;}
    .card-19{
    order:20;}
    .card-20{
    order:19;}
    .card-21{
    order:21;}
    .card-22{
    order:22;} 
    .card-23{
    order:24;}
    .card-24{
    order:23;}
    
   .text-qh{
    display: none;
    
    }
      .text-qh-2{
    display: block;
   
}    
    .imagen1{
    margin-bottom: 30px;
    }
    
  
    
    
    
}

/* xs */
@media (min-width: 480px) and (max-width: 767px) {
 #card-soci {
    flex-direction: column;
} 

    #bot-contact {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: space-around;
    }


    

    .navbar-default .navbar-nav > li > a {
        font-size: 20px;
    }
    #tit2{
        width: 100%;
       
    }
 .cont-tel {
    
        
margin-top: 5px;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items:flex-start;
        justify-content: space-around;
       
    }
/*
    #cont {
        width: 100%;

        display: flex;
        flex-direction: column;
            justify-content: space-between;
        align-items: center;
        justify-content: center;
        align-items: center;
        align-items: center;
    }
*/

    .slogan {
        width: 100%;
        text-align: center;
        margin-top: 10px;

    }

    #tit1 {
        width: 100%;
        display: block;
        font-size: 16px !important;
    }

    .fondo{
/*    height: 75px;*/
    }
/*
    #tit2 {

        width: 100%;
        justify-content: center;
        margin-bottom: 2%;
    }
*/


    .carousel-caption {
        margin-top: -110px;
    }

    .carousel-caption h1 {
        font-size: 75px;
    }

    .carousel-caption p {
        font-size: 25px;
    }

    .carousel-caption button {
        width: 120px;
        height: 40px;
        font-size: 20px;
    }

    #map {
        height: 1120px;
    }

    .contact {
        height: 1120px;
        margin-top: -1120px;
    }

    .carousel-caption h2 {
         font-size: 18px !important
    }
.imagen .textos {
    font-family:Georgia, Times, serif;
    position: absolute;
    top: 20%;
    bottom: 10%;
    right: 10%;
    left: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: space-around;
}
    
    .imagen p {
        font-size: 25px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
   
    .imagen1 h2 {
        font-size: 40px !important;
    }

    #bot-contact h2 {
        font-size: 25px;
    }

    .cont {
        flex-direction: column;

    }

    .cont p:nth-child(2) {
        margin-top: 0px;
        margin-left: 10px;
    }

    .cont p:nth-child(3) {
        margin-top: 0px;
        margin-left: 10px;
    }

    .cards {

        grid-template-columns:  1fr;

    }


/*
    .about h2 {
        font-size: 30px !important;
    }
*/


    h4 {
        font-size: 21px !important;
    }

    .contact-info ul {
        margin-left: 4px;
    }

    .contact-info i.fa {
        width: 25px;
    }

    .contact-caption {
        margin-top: 0;
    }

    #serv {
        width: 100%;
    }

    #card-soci .cards-nosotros {
        flex-direction: column;
    } 
    #card-soci .cards-nosotros {
        flex-direction: column;
    }

    #redes a i {
        margin: 25px;
    }
.imag {
    order: 1;
}
.cards-nosotros {
    
    grid-template-columns: repeat(1, 1fr);
    
}
     .card-1{
    order:1;}
    .card-2{
    order:2;}
    .card-3{
    order:4;}
    .card-4{
    order:3;}
    .card-5{
    order:5;}
    .card-6{
    order:6;}
    .card-7{
    order:8;}
    .card-8{
    order:7;}
    .card-9{
    order:9;}
    .card-10{
    order:10;}
    .card-11{
    order:12;}
    .card-12{
    order:11;}
    .card-13{
    order:13;}
    .card-14{
    order:14;}
    .card-15{
    order:16;}
    .card-16{
    order:15;}
    .card-17{
    order:17;}
    .card-18{
    order:18;}
    .card-19{
    order:20;}
    .card-20{
    order:19;}
    .card-21{
    order:21;}
    .card-22{
    order:22;} 
    .card-23{
    order:24;}
    .card-24{
    order:23;}
    
       
        
  .text-qh{
    display: none;
    
    }
      .text-qh-2{
    display: block;
   
}      
    
 .imagen1{
    margin-bottom: 30px;
    }   
  
    #tel{
    margin-bottom:-3px;
    margin-top: 1px;
    margin-left: 15px;    
}   
    
}



/* XS Portrait */
@media (max-width: 479px) {

  .cont-tel{
      
    width: 80%;
    display: flex;
   flex-direction: column;
   flex-wrap: nowrap;
   
    align-items: flex-start;
} 
    .cont-idm{
      
    width: 20%;
   
}
   .cards .card .a{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 2fr;
    } 
    
    
    .cards-socios  .card .a{
    display: block;
        
    }
    
    
    
    #tel{
    margin-bottom:-3px;
        margin-top: 1px;
        margin-left: 10px; 
}  

    
    
    #bot-contact {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: space-around;
    }

    #bot-contact h2 {
        font-size: 20px;
        text-align: center;
    }

    #bot-contact button {
        width: 90px;
        height: 40px;
        font-size: 18px;
    }

    #cont {
        width: 100%;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        
    }

    .slogan {
        width: 100%;
        text-align: center;

    }
    .fondo{
/*    height: 70px;*/
    }

    #tit1 {
        width: 100%;
        text-align: center;
        
        font-size: 12px;
    }


    #tit2 {
/*
      margin-top: 4%;
       margin-left: 10%;
        width: 100%;
        justify-content: center;
*/
        font-size: 10px;
    }

    #tel {
        font-size: 14px;
    }

    .logo {
        width: 120%;
        margin-left: 30px;
      
    }

    h2 {
        font-size: 12px;
         !important;
    }
    .carousel-caption h2 {
    font-size: 20px;
    

}
    .imagen1 h2 {
        font-size: 30px !important;

    }

    .cont {
        flex-direction: column;
    }

/*
    .cont p:nth-child(2) {
        margin-top: 0px;
        margin-left: 10px;
    }

    .cont p:nth-child(3) {
        margin-top: 0px;
        margin-left: 10px;
    }
*/

    .imagen p {
        font-size: 18px;
        color: white;
    }
    
   

   
    
    .navbar-default .navbar-toggle {
        border-color: #fff;
        margin-top: -24px;
        right: 10%;
    }

    .navbar-default .navbar-nav > li > a {
        font-size: 16px;
        text-align: left;
    }

    .header-backup {
        height: 80px;
    }

    .carousel-caption {
        margin-top: -60px;
    }

    .carousel-caption h1 {
        font-size: 20px;
    }

    .carousel-caption p {
        font-size: 12px;
    }

    .carousel-caption button {
        width: 80px;
        height: 20px;
        font-size: 14px;
    }
   .carousel-inner .item img {
       max-width: 100%;
       margin-top:10px;
    }
    h3{
        font-size: 20px;
    }
    

    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next {
        margin-top: 30px;
    }
    .imagen1 img{
    margin-top: 165px;
    
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .icon-prev {
        margin-top: 30px;
    }
    .container-fluid .row{
        margin-top: 50px;
    }
    
    
    #subt h2 {
    font-size: 25px;
    
}

    .about h2 {
        font-size: 30px;
        color: #004463;
        margin-top: 30px;
    }

    .service h2 {
        font-size: 50px;
        margin-top: 40px;
    }

    .contact-caption {
        margin-top: -1%;
    }

    #map {
        height: 950px;
    }

    .contact {
        height: 950px;
        margin-top: -950px;
    }

    .contact-heading h2 {
        font-size: 40px;
        text-align: left;
        margin-left: 15px;
    }

    .contact-info h3 {
        margin-left: 8px;
        font-size: 25px;
        padding-bottom: 8px;
    }

    .info-detail {
        margin-left: 8px;
    }

    .contact-info ul li {
        font-size: 10px;
    }

    .contact-info i.fa {
        font-size: 13px;
        width: 20px;
        height: 18px;
    }

    .contact-info,
    .contact-form {
        padding: 10px;
    }

    .contact-form h3 {
        font-size: 25px;
        padding-bottom: 8px;
        margin-bottom: 0;
        margin-right: 0px;
    }

    .footer a i.fa {
        font-size: 25px;
        padding: 25px 7px;
    }

    .footer p {
        font-size: 18px;
    }

    #serv {
        width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    #card-soci {
        flex-direction: column;
    }

    #redes {
        flex-direction: row;
        justify-content: flex-start;
    }

    #redes a i {
        margin: 25px;
    }
    .imag {
    order: 1;
} .card-1{
    order:1;}
    .card-2{
    order:2;}
    .card-3{
    order:4;}
    .card-4{
    order:3;}
    .card-5{
    order:5;}
    .card-6{
    order:6;}
    .card-7{
    order:8;}
    .card-8{
    order:7;}
    .card-9{
    order:9;}
    .card-10{
    order:10;}
    .card-11{
    order:12;}
    .card-12{
    order:11;}
    .card-13{
    order:13;}
    .card-14{
    order:14;}
    .card-15{
    order:16;}
    .card-16{
    order:15;}
    .card-17{
    order:17;}
    .card-18{
    order:18;}
    .card-19{
    order:20;}
    .card-20{
    order:19;}
    .card-21{
    order:21;}
    .card-22{
    order:22;} 
    .card-23{
    order:24;}
    .card-24{
    order:23;}
    
  .text-qh{
    display: none;
    
    }
      .text-qh-2{
    display: block;
   
}  
    .imagen1{
    margin-bottom: 30px;
    }
   .cards-sev1 .cards .card .a .icon i {
       font-size: 50px;}
    .cards-sev1 .cards{
       font-size: 25px;}
    

.text-qh-2 h3 {
   
    font-size: 30px;
    
}.text-qh-2 p {
   
    font-size: 20px;
    
}
.imagen .textos{
top:10%;
   flex-direction: row;
}
#punto {
   
    font-size: 20px;
 
}
    
    .imagen img{
    max-height: 96px;
    
    }
}
@media (min-width: 960px) and (max-width: 1800px) {
    .imagen p {
        font-size: 40px;
    }

}

