* {
    box-sizing: border-box;
}

img {
    display: block;
    max-width: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    
}

h1, {
    font-family:'Inknut Antiqua', serif;
    }

h2, h3, h4, h5, h6 {
    font-family: 'Inknut Antiqua', serif;
    letter-spacing: 0.01rem;
}

.contenedor {
    margin:auto;
    width: 99%;
}
.banner__img {
    width: 100%;
}
a {
    text-decoration: none;
    color: gray;
}
ul {
    list-style: none;
}
/*------------------------Estilos del header------------------------*/

.header {
    height: 60px;
}

.header .contenedor {
    display: flex;
    justify-content: space-between;

}

.logo, .icon-menu {
    margin: 0.8rem;
    color: black;
}

.icon-menu {
    display: block;
    width: 2.1rem;
    height: 2rem;
    font-size: 1.4rem;
    background: #a1172d;
    color: whitesmoke;
    text-align: center;
    line-height: 2.5rem;
    border-radius: 0.35rem;
    margin-left: auto;
    cursor: pointer;
}
/*--------------------------Estilos del menu--------------------------*/
.nav {
    position: absolute;
    top: 3.3rem;
    left: -100%;
    width: 100%;
    transition: all 0.4s;
    z-index: 100;
}
.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu__link {
    display: block;
    padding: 0.2rem;
    background: #a2cff0;
    text-decoration: none;
    color: whitesmoke;
}

.menu__link:hover, .select {
    background: white;
    color: salmon;
}

.mostrar {
    left: 0;
}

/*-----------------------------Estilos de banner-----------------------------*/

.banner {
    margin-top: -3.8rem;
    position: relative;
    z-index: -1000;
    margin-bottom: 1rem;
}

.banner .contenedor {
    position: absolute;
    top: 33%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 100%;
    color: black;
    font-size: 1rem;
    text-align: center;
     margin-top: -3rem;
}


/*-------------------------------Estilos de info-------------------------------*/


.info__columna {
    background: #a2cff0;
    color: ghostwhite;
    padding: 1rem;
    line-height: 1rem;
    margin: auto;
    margin-bottom: 1.5rem;
    width: 100%;
   }

    .info__img {
        padding: 0;
        width: 100%; 
        }
    /*-------------------------------Estilos de comentario-------------------------------*/

.comentarios_contenedor {
    margin: 10% 2%;
    padding: 5%;
    background: #F3F3F3;
    border: 1px solid rgba(0,0,0,0.2);
    border-color: salmon;
    border-radius: 5%;
}
.comentarios_contenedor h1 {
    font-size: 1.5rem;
    color: salmon;
    font-weight: 500;
}
.comment_list {
    margin-top: 30px;
    position: relative;
}
.comment_list li {
    margin-bottom: 15px;
    display: block;
    position: relative;
    
}
.comment_list li:after {
content: '';
    display: block;
    clear: both;
    height: 0;
    width: 0;
}

/*---------------------------------estilos avatar---------------------------------*/

.comment_list .comment_avatar {
    width: 25%;
    height: 25%;
    position: relative;
    z-index: 99;
    float: left;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,0.2)
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    overflow: hidden;
}



.comment_main_level:after {
    content: '';
    width: 0;
    height: 0;
    display: block;
    clear:both;
    
}

/*-------------------------------Estilos de caja de comentario--------------------*/

.comment_list .comment_box {
    width: 70%;
    float: right;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    font-size: 0.9rem;
}
.comment_list .comment_box:before, .comment_list .comment_box:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 10px 12px 10px 0;
    border-style: solid;
    border-color: transparent #FCFCFC;
    top: 8px;
    left: -11px;
}
.comment_list .comment_box:before {
    border-width: 11px 13px 11px 0;
    border-color: transparent rgba(0,0,0,0.05);
    left: -12px;
}
.comment_list .comment_head {
    background: #FCFCFC;
    padding: 5px 10px;
    border-bottom: 1px solid #E5E5E5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
}
.comment_list .comment_head i {
    float: right;
    margin-left: 5px;
    position: relative;
    top: 2px;
    color: #A6A6A6;
    cursor: pointer;
    -webkit-transition:color 0.3s ease;
    -o-transition:color 0.3s ease;
    transition:color 0.3s ease;
}
.comment_list .comment_head i:hover {
    color: salmon;
}
.comment_box .comment_name {
    color: salmon;
    font-size: 0.8rem;
    font-weight: 700;
    float: left;
    margin-top: 7px;
    margin-right: 12px;
}
.comment_box .comment_head span {
    float: left;
    color: #999;
    font-size: 0.8rem;
    position: relative;
    top: -1px;
}
.comment_box .comment_content {
    background: #FFF;
    padding: 12px;
    font-size: 0.85rem;
    color: #595959;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
}

/*-------------------------------Estilos de Loggin-------------------------------*/

form {
    margin: auto;
    margin-bottom: 5%;
    max-width: 500px;
    width: 50%;
    background: #f7f7f7;
    padding: 30px;
    
}

.login_tittle {
    text-align: center;
    margin-bottom: 10px;
    color: #a2172f
}

input {
    display: block;
    padding: 10px;
    width: 100%;
    margin: 10px 0;
    font-size: 0.rem;
    border-radius: 8%;
}

input[type="submit"] {
    background: #a2172f;
    border: 0;
    border-radius: 8%;
    cursor: pointer;
    margin-bottom: 0;
}

input[type="submit"]:hover {
    opacity: 1;
}
input[type="submit"]:active {
    transform: scale(0.95);
}

input[type="submit2"] {
    background: none;
    border: 0;
    border-radius: 8%;
    cursor: pointer;
    margin-bottom: 0;
}

input[type="submit2"]:hover {
    opacity: 1;
}
input[type="submit2"]:active {
    transform: scale(0.95);
}
@media (max-width:768px) {
    form {
        width: 75%;
    }
}
@media (max-width:480px) {
    form {
        width: 95%;
    }
}
/*-------------------------------Estilos de botonera social-------------------------------*/

.botones_social {
    width: 100%;
    margin: 0 0;
    padding: 0px;
    text-align: center;
    background: white;
    position: fixed;
    top: 517px;
    z-index: 99;
    
}

.botones_social [class^="icon-"] {
    margin: 0 0.5rem 0 0.5rem;
    font-size: 1.4rem;
    padding: 0.9rem;
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 36px;
    color: #be102b;
    cursor: pointer;
    -webkit-transition:color 0.3s ease;
    -o-transition:color 0.3s ease;
    transition:color 0.3s ease;
}
.botones_social [class^="icon-"]:hover {
    color: #A6A6A6;
    -webkit-transition:color 0.3s ease;
    -o-transition:color 0.3s ease;
    transition:color 0.3s ease;
}

/*-------------------------------Estilos de footer-------------------------------*/

.footer {
    background: #333;
    color: white;
    padding: 1rem;
    text-align: center;
    justify-content: center;
    font-size: 0.7rem
}

.footer [class="logofadu"] {
    background: grey;
    border-radius: 0.5rem;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    display: inline-block;
    color: white;
    font-size: 0.3rem;
    padding: 0.rem;
    width: 100%;
    height: 100%;
}
.footer .logofadu img {
    width: 100%;
    height: 10%;
    padding: 0 3rem 0 3rem;
    
}
/*--------------------------------Estilos de galeria--------------------------------*/
.logo_galeria {
 
    margin: 0.8rem;
    color: black;
}

#c-slider {
    margin: auto;
    width: 90%;
    max-width: 900px;
    position: relative;
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,1)
   
    box-shadow: 0 1px 2px rgba(0,0,0,1);
    overflow: hidden;
    
    
    
}
#slider {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    width: 400%;
    
}
#slider section {
    width: 100%;
}
#slider img {
    display: block;
    width: 100%;
    height: 100%;
}
#btn-prev, #btn-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.5);
    color: salmon;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 40px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    font-family: monospace;
    cursor: pointer;
}
#btn-prev:hover, #btn-next:hover {
    background: rgba(255, 255, 255, 1);
}
#btn-prev {
    left: 10px;
}
#btn-next {
    right: 10px;
}
.fotogaleria h1 {
    width: 5%;
    margin: 3%;
    margin-top: 10%;
    position: relative;
    padding: 1%;
    background: salmon;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    }
    .fotogaleria h2 {
    padding: 3%;
        margin-bottom: -3%;
   
}
.small, .normal, .large {
    padding: 3px;
}
.contenedor_galeria {
    margin: auto;
    width: 95%;
    max-width: 900px;
    
    border: 3px solid #FFF;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,1)
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,1);
   
    overflow: hidden;
}
.fila {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
}
.columna-1-3 {
    width: 33.33%;
    
}
.columna-2-3 {
    width: 66.67%;
}
.small {
    height: 78px;
    overflow: hidden;
}
.normal, .large {
    height: 158px;
    overflow: hidden;
}
.columna-50 {
    width: 50%;
}
.nombre_usuario p a{
    position: absolute;
    font-size: 0.6rem;
    color: white;
        
}
/*---------------------------------Estilos de agenda---------------------------------*/

#calendario {
    background: #a2cff0;
    border: 3px solid salmon;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,1)
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,1);
    box-shadow: 0 1px 2px rgba(0,0,0,1);
    text-align: center;
}
#diasc {
    border: 1px;
    border-radius: 4px;
    border-collapse: separate;
    border-spacing: 4px;
}
#diasc th, #diasc td {
    width: 70px;
    height: 30px;
    font: monospace;
    font-size: 0.5rem;
}
#diasc th {
    background-color: #F5F5F5;
    color: #a2cff0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,1)
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,1);
    box-shadow: 0 1px 2px rgba(0,0,0,1);
    
}
#diasc td {
    font-size: 0.5rem;
    background-color: #FFF;
    color: salmon;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow:0 1px 2px rgba(0,0,0,1)
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,1);
    box-shadow: 0 1px 2px rgba(0,0,0,1);
}
#fecha_actual {
    padding: 0.4px;
    font-size: 0.8rem
}
#fecha_actual i{
    cursor: pointer;
}
#fecha_actual:hover {
    color: #FFF;
    text-decoration: none;
}
#buscar_fecha {
    width: 80% 0;
    height: 80% 0;
    background: #F5F5F5;
    padding: 5px;
    
}
#buscar_fecha select, #buscar_fecha input {
    background: #FFF;
    font-size: 0.75rem;
}
#busca_fecha [type=text] {text-align: center;}
#busca_fecha [type=button] {cursor: pointer;}

#anterior, #posterior {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.5);
    color: salmon;
    line-height: 40px;
    font-size: 22px;
    font-weight: bold;
    text-align: center;
    border-radius: 50%;
    font-family: monospace;
    cursor: pointer;
}
#anterior {
    float: left;
}
#posterior {
    float: right;
}
#anterior:hover, #posterior:hover {
    background: rgba(255, 255, 255, 1);
}
#titulos {
    font-size: 0.75rem;
    padding: 0.2rem;
}
/*-------------------------------Estilos de foro-------------------------------*/


.buscador form {
    width: 100%;
    padding: 2%;
    border: none;
    border-radius: 3%;
    background: #be102b;
    margin: 10px auto 14px;
}
.buscador form fieldset {
    background: #fff;
    border: 1px;
    border-radius: 5px;
    padding: 0 0 0 40px;
    
} 
.buscador form fieldset input, .buscador form fieldset button {
    position: relative;
    width: 100px;
    height: 35px;
    padding: 0;
}
.buscador form fieldset input {
    width: 0%;
    margin: 0;
    color: #666;
    border: none;
    float: left
}
.buscador form fieldset button {
    width: 50px;
    border: none;
    background: #f5f5f5;
    float: right
}
.clasificacion_foros  {
    margin: 0.5%;
    padding: 0.5%;
    background-image: url(img/foro.jpg);
    

}
 .clasificacion_foros h2 a {
    font-size: 0.8rem;
    color: #be102b;
    font-weight: 700;
}
.clasificacion_foros .comment_list {
    float: none;
    margin-top: 10px;
    margin-right: 1%;
    position: relative;
}
.clasificacion_foros .comment_list li {
    margin-bottom: 10px;
    display: block;
    position: relative;
    
}
.clasificacion_foros .comment_list li:after {
    content: '';
    display: block;
    clear: both;
    height: 0;
    width: 0;
}
.clasificacion_foros .comment_list .comment_box {
    width: 99%;
    float: left;
    position: relative;
    -webkit-border-radius: 4px;
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    font-size: 0.9rem;
}
.clasificacion_foros .comment_list .comment_box:before, .comment_list .comment_box:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    display: block;
    border-width: 0;
    border-style: solid;
    border-color: transparent #FCFCFC;
    top: 10px;
    left: -11px;
}
.clasificacion_foros .comment_list .comment_box:before {
    border-width: 0;
    border-color: transparent rgba(0,0,0,0.05);
    left: none;
}
.clasificacion_foros .comment_list .comment_head {
    background: #FCFCFC;
    padding: 20px 10px;
    border-bottom: 1px solid #E5E5E5;
    overflow: hidden;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    
    
}
.clasificacion_foros .comment_list .comment_head i {
    float: right;
    margin-left: 5px;
    position: relative;
    top: 2px;
    color: #A6A6A6;
    cursor: pointer;
    -webkit-transition:color 0.3s ease;
    -o-transition:color 0.3s ease;
    transition:color 0.3s ease;
}
.clasificacion_foros .comment_list .comment_head i:hover {
    color: salmon;
}
.clasificacion_foros .comment_box .comment_name {
    color: salmon;
    font-size: 0.8rem;
    font-weight: 700;
    float: left;
    margin-top: 7px;
    margin-right: 12px;
}
.clasificacion_foros .comment_box .comment_head span {
    float: right;
    color: #999;
    font-size: 0.75rem;
    position: relative;
    top: -1px;
}
/*--------------------------------Estilos de contacto--------------------------------*/

.formulario {
    width: 80%;
    background: #be102b;
    max-width: 100%;
    margin: auto;
    margin-top: 10%;
    padding: 5%;
    box-shadow: 0 0 20px 1px rgba(0,0,0,0.3);
    position: relative;
}
.formulario__titulo {
    font-family: 'Inknut Antiqua', serif;
    text-align: center;
    line-height: 40px;
    margin-top: -100px;
    color: #be102b;
}
    .formulario__subtitulo {
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-align: center;
    margin-top: -5px;
        margin-bottom: 50px;
    color: black;
    
}
.formulario__input, .formulario__label, .formulario__submit {
    display: block;
    width: 100%;
    font-size: 1.3em;
    color: black;
}
.formulario__input {
    padding: 20px;
    border-radius: 0;
    background: white;
    border: 1px solid rgba(0,0,0,0.3);
    margin-bottom: 13%;
}
.formulario__input:focus {
    outline: 1px solid rgba(0,0,0,0.7);
}
.formulario__input:focus + .formulario__label {
    margin-top: -125px;
}
.formulario__label {
    padding-left: 5%;
    position: absolute;
    margin-top: -85px;
    z-index: -10;
    color: rgba(0,0,0,0.5);
    transition: all 0.2s;
}
.formulario__submit {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
}
.fijar {
    margin-top: -125px;
}
.footer_contacto {
    background: #333;
    color: white;
    padding: 0.5rem;
    text-align: center;
    justify-content: center;
    font-size: 0.7rem
}

.footer_contacto [class="logofadu"] {
    background: grey;
    border-radius: 0.5rem;
    text-align: center;
    justify-content: center;
    align-content: center;
    align-items: center;
    display: inline-block;
    color: white;
    font-size: 0.5rem;
    padding: 0;
    width: 100%;
    height: 11%;
}
.footer_contacto .logofadu img {
    width: 100%;
    margin: auto;
    height: 100%;
    padding: 0 2rem 0 2rem;
    
}
/*-------------------------------Estilos de responsive-------------------------------*/

@media(min-width:480px) {
    .logo {
        font-size: 2.5rem;
    }
    .banner__titulo {
        font-size: 2.5rem;
        margin: 2px 0;
    }
    .banner__txt {
        font-size: 0.1rem;
        margin: 5px 0;
    }
    .info {
        display: flex;
        justify-content: space-between;
        margin-top: 0%;
    }
    .info__columna {
        width: 49%;
    }
    .logofadupie {
        width: 50%;
        height: 50%;
        display: inline-block;
        margin: 2% 25% 1% 25%;    
    }
    .copy {
        text-align: center;
        font-size: 1.3rem
    }
     .comentarios_contenedor {
        margin: 2% 0.5% 2% 0.5%;
        width: 99%;
        
        
    }
    .comment_list .comment_box {
        width: 87%;
    }
    .comment_list .comment_avatar {
        width: 11%;
        height: 5%;
    }
    }

@media(min-width:1024px) {
    .contenedor {
        width: 70%
    }
    .nav {
        position: static;
        width: auto;
    }
    .menu {
        display: flex;
    }
    .menu__link {
        background: none;
    }
    .select {
        background: white;
    }
    .icon-menu {
        display: none;
    }
    
    .logo {
        font-size: 3rem;
        margin: 0;
        padding: 0;
    }
    .banner__titulo {
        font-size: 2.5rem;
        margin: 5px 0;
    }
    .banner__txt {
        display: block;
        font-size: 1rem;
        margin: 1px 0;
    }
    .info {
        display: flex;
        justify-content: space-between;
        margin-top: 0%;
    }
    .info__columna {
        width: 49%;
    }
    .footer {
        width: 100%;
        height: auto;
        display: flex;
        align-content: center;
        align-items: center;
    }
    .logofadupie {
        width: 60%;
        height: 80%;
        display: inline-block;
        text-align: center;
        margin: 10% 25% 10% 20%;    
    }
    .copy {
        width: 20%;
        margin-top: -4%;
        text-align: center;
        font-size: 0.9rem;
    }
    .footer [class="logofadu"] {
        width: 80%;
        height: 80%;
        margin: 0;
        padding: 0;
    }
    .footer .logofadu img {
    width: 100%;
    height: 100%;
    padding: 0;
    
}
    
    .disclaimer {
        width: 0% 2%;
        padding: 0% 7%;
        margin-top: -5%;
    }
    .comentarios_contenedor {
        margin: 2% 15% 2% 15%;
        width: 70%;
        
        
    }
    .comment_list .comment_box {
        width: 87%;
    }
    .comment_list .comment_avatar {
        width: 11%;
        height: 5%;
    }
    .botones_social {
    width: 100%;
    margin: 0;
    padding: 0px;
    text-align: center;
    background: white;
    position: fixed;
    top: 720px;
    z-index: 99;
    
}
}

    
