@font-face {
    font-family: "NavZaketines";
    src: url("../fonts/fuenteApartadosZaketines.ttf");
}
@font-face {
    font-family: "TextoZaketines";
    src: url("../fonts/fuenteTextoZaketines.ttf");
}
* {
	margin: 0;
	border: 0;
	padding: 0;
}

body{
    /*background: #F1F6F8;*/
    background: url(../img/icons/fondo.png) #A6D4E5 fixed;
    font-family: Constantia;
    margin: 0 auto;
}
p {
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 140%;
    line-height: 155%;
    padding: 3%;
    text-indent: 2%;
    text-align: justify;
}
h4 {
    padding-top: 2em;
}
label {
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 160%;
    line-height: 155%;
    padding-top: 2%;
    text-indent: 2%;
    text-align: left;
}
input.form-control, textarea.form-control {
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 120%;
    line-height: 125%;
    padding: 3%;
    text-indent: 2%;
}
.contacto{
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 140%;
    line-height: 155%;
    padding-top: 2%;
    padding-bottom: 1em;
    text-align: justify;
    width: auto;
    padding-left: 10px;
}
h3{
    font-size: 175%;
    line-height: 155%;
    font-weight: 500;
    color: #524C56;
    text-align: center;
    text-transform: uppercase;
    padding: 0;
}
h4{
    padding-left: 1em;
}
a{
    color: #524C56;
    text-decoration: none;
    font-weight: bold;
}
a:hover{
    color: #C3D7DF;
}
img{
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    width: auto;
    margin-bottom: -4px;
}
#wrapper{
    max-width: 1200px;
    margin: 0 auto;
    background: white repeat;
}
#banner-wrapper{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0 0 0;
}
header{
    width: 100%;
    height: 100px;
    top: 0;
    left: 0;
}
#logo{
    margin: 20px;
    float: left;
    width: 100px;
    height: 60px;
    background: url(../img/icons/logo.png) no-repeat center;
}
.texto {
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 140%;
    line-height: 155%;
    text-indent: 2%;
    text-align: left;
}
.etiqueta {
    font-family: Constantia, Helvetica, sans-serif;
    color: #524C56;
    font-size: 100%;
    line-height: 155%;
    text-indent: 2%;
    text-align: left;
    width: 100%;
}

/* Start Navs */
nav{
    float: right;
    padding: 5px 20px 0px 0px; 
}
#menu-icon{
    display: hidden;
    width: 40px;
    height: 40px;
    background: url(../img/icons/nav-dark.png) center;
    margin-left: 5px;
}
ul:not(.objetivosList){
    list-style: none;
}
ul.objetivosList{
    list-style: disc;
    margin-left: 50px;
    margin-bottom: 0px;
}
nav ul li{
    font-family: 'NavZaketines', Constantia, Helvetica, sans-serif;
    font-size: 80%;
    display: inline-block;
    float: left;
    padding: 10px 8px;
}
nav ul li a{
    color: #6991AC;
}
.current{
    color: #3F5767;
}
a:hover{
    color: #A5BDCD;
}
nav ul li a:hover{
    text-decoration: none;
}
/* End Navs */
.slider{
    max-width: 1200px;
}
.slider1 img{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.slider .bx-wrapper .bx-controls-direction a{
    display: none;
}
.one-third {
    width: 33.333333%;
    float: left;
    text-align: center;
}
.icon-wrap{
    margin: 0 auto;
    width: 120px;
    height: 120px;
    border-radius: 125%;
    text-align: center;
    background-color: #6991AC;
    margin-top: 8%;
    margin-bottom: 3%;
}
.icon-wrap i{
    text-align: center;
    color: #F0F0F0;
    font-size: 450%;
    padding: 20%;
}
.left-col{
    float: left;
    margin: 0 auto;
    width: 67%;
    height: auto;
}
.right-col{
    float: right;
    margin: 0 auto;
    width: 67%;
    height: auto;
}
.sidebar-right{
    float: right;
    margin: 0 auto;
    width: 32%;
    height: auto;
    padding: 1%;
}
.sidebar-left{
    float: left;
    margin: 0 auto;
    width: 32%;
    height: auto;
    padding: 1%;
}
.w-100{
    margin: 0 auto;
    height: auto;
    padding: 1%;
    clear: both;
}

.one-third-padding{
    width: 29%;
    float: left;
    margin: 2% 2%;
    text-align: justify;
}
.clearfix-padding{
    clear: both;
    padding: 2%;
}
.centrado{
    margin-left: auto;
    margin-right: auto;
    width: 60%;
}
.video {
    padding: 30px 15px 0px 15px;
}
.hide {
    display: none;
}
.loader {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid blue;
    border-right: 16px solid green;
    border-bottom: 16px solid red;
    width: 38px;
    height: 38px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}
  
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
  
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Start Footer */
footer{
    background: #6991AC;
    width: 100%;
    overflow: auto;
}
.icon-text{
    width: 100%;
    margin: 0 auto;
}
.icon-text-icon{
    float: left;
    width: 20%;
    padding: 4%;
}
.icon-text-text{
    float: left;
    width: 64%;
    padding: 4% 4% 2% 0;
}
.footer-nav{
    text-align: right;
}
.footer-nav a{
    font-size: 160%;
    color: #C3D7DF;
    font-weight: 300;
}
.footer-nav a:hover{
    color: #F5F5F5;
}

.social-contact{
    padding: 2rem 0.9rem;
}


.social-row {
    display: flex;
    justify-content: center;
    gap: 10%;
    flex-wrap: nowrap;
    margin-right: 10px;
}

.social-header img {
    width: 40px; 
    height: auto;
    margin-top: 1.4rem;
}


footer.second{
    border-top: 1px solid #AADCD2;
    background-color: #544B59;
    max-height: 60px;
    text-align: center;
    margin: 0;
    overflow-y: hidden;
}
footer.second p{
    padding: 5px 0 9px 0;
    text-align: center;
    color: #F5F5F5;
    font-size: 160%;
    line-height: 155%;
}

/* usado en: Instalaciones y objetivos */

#galeria {
    margin: 1rem auto;
    width:100%;
    max-width:1200px;
    padding:0 20px 20px;
    box-sizing: border-box;
    column-count: 3;

    /* Espacio entre columnas */
    -moz-column-gap: 20px;
    -webkit-column-gap: 20px;
    column-gap: 20px;

    /* Filete entre columnas */
    /*-moz-column-rule: 1px solid #bbb;
    -webkit-column-rule: 1px solid #bbb;
    column-rule: 1px solid #bbb;*/


}

a.galeria {
    text-decoration: none;
    color:#036;
}

article.galeria {
    background:#fff;
    border-radius:5px;
    border:1px solid #ccc;
    margin:0 0 20px 0;
    text-align: center;
    max-width: 100%;
    filter: opacity(90%);

    /*Evitamos que se corte al cambiar de columna*/
    break-inside: avoid;
    page-break-inside: avoid;         

}

article.galeria_mini {
    max-width:500px;
}

article.galeria img {
    width:100%;
}


article.galeria:hover {
    transition: .5s ease;
    filter: opacity(100%);
}

figure {
    padding:1rem;
    box-sizing: border-box;
}

figcaption{
    text-decoration: none;
    font-size: 120%;
}


/* fin del uso para instalaciones y objetivos */

@media screen and (max-width: 1010px){
    body{
        background: url(../img/icons/fondo-mobile.png) no-repeat center;
    }
    p{
        font-size: 130%;
    }
    h3{
        font-size: 150%;
    }
    .contacto{
        font-size: 130%;
        width: auto;
    }
    header{
        height: 80px;
        position: relative;
    }
    #logo{
        margin: 15px 0 20px 0;
        background: url(../img/icons/logo.png) no-repeat center; /* logo mobile */
    }
    #menu-icon{
        display: inline-block;
    }
    
    nav{
        padding: 25px 20px 0px 0px; 
    }
    nav:hover ul, nav:active ul {
        display: block;
    }
    nav ul{
        display: none;
        z-index: 1000;
        position: absolute;
        padding: 1px;
        background-color: #F5F5F5;
        border: 1px solid #A5BDCD;
        right: 20px;
        width: 50%;
        border-radius: 3px 0 3px 3px;
        opacity: .95;
    }
    nav li{
        text-align:center;
        width: 100%;        
    }
    .one-third{
        float: left;
        width: 100%;
    }
    .icon-wrap{
        height: 80px;
        width: 80px;
        margin-top: 3%;
    }
    .icon-wrap i{
        font-size: 250%;
        padding-top: 27%;
    }
    .left-col, .right-col{
        width: 100%;
        padding: 0;
    }
    .sidebar-right, .sidebar-left{
        width: 90%;
        float: none;
    }
    .one-third-padding{
        width: 98%;
        margin: 0;
        padding: 1%;
    }
    .icon-text-icon{
        width: 100%;
        padding: 0 0 2% 0;
    }
    .icon-text-text{
        width: 100%;
        padding: 2% 0 0 0;
        font-size: 80%;
    }
    .footer-nav{
        text-align: center;
        padding-top: 5%;
    }
    .footer-nav li{
        padding: 1%;
    }
    .footer-nav a {
        font-size: 145%;
    }
    
    #galeria {
        columns:2;
    }
    .centrado{
        width: 100%;
    }
    .w-50-left{
        float: none;
        margin: 0 auto;
        height: auto;
        width: 100%;
    }
    .w-50-right{
        float: none;
        margin: 0 auto;
        height: auto;
        width: 100%;
    }
     
    .social-header img {
        margin-top: 1rem;
    }
}




/* Móviles en vertical */

@media (max-width: 480px) {
     
    .social-header img {
        width: 30px; 
        margin-top: 1.7rem;
    }

    #galeria {
        columns: 1;
    }
}






























