@charset "utf-8";
/* CSS Document */
*{
    padding: 0;
    margin: 0;
}
body{
    background-color: #ffffff;
    columns: #000000;
    font-family: 'Sulphur Point', sans-serif;
}
#top_bar{
    background-color: #AA1A18;
    color: #ffffff;
    display: grid;
    grid-template-columns: auto 100px 300px;
    grid-template-rows: repeat(1, auto);
    grid-template-areas: "btn-menu btn-idioma redes"
}
#redes{
    grid-area: redes;
    display: flex;
    justify-content: flex-end;
}
#redes li{
    margin-top: 6px;
    margin-right: 10px;
    padding-top: 3px;
    list-style: none;
}
#redes li img{
    width: 35px;
    height: 35px;
}
#btn-menu{
    grid-area: btn-menu;
    display: none;
}
#btn-idioma{
    grid-area: btn-idioma;
    margin-top: auto;
    margin-bottom: auto;
}


#top_bar label{
    display: block;
    width: 30px;
    height: 30px;
    padding: 10px;
    border-right: 1px solid #ffffff;
}
#top_bar label:hover, #top_bar label:focus{
   cursor: pointer;
   background: rgba(0,0,0,0.3);
}
#side-menu{
    margin-left: -300%;
    transform: translateX(0%);
    transition: all 0.3s;
}
#side-menu ul{
    margin: 0;
    list-style: none;
    position: absolute;
    background: #AA1A18;
    width: 50%;
    transform: translateX(0%);
    transition: all 0.3s;
}
#side-menu li{
    border-top: 1px solid rgba(255, 255, 255, 0.425);
}
#side-menu li a{
    display: block;
    padding: 20px;
    color: #ffffff;
    text-decoration: none;

}
#side-menu li:hover, #side-menu li:focus{
    background: rgba(0,0,0,0.3);
}
#side-menu li ul{
    max-height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: hidden;
    transition: .3s all ease-in;
}
#side-menu li:hover ul, #side-menu li:focus ul{
    max-height: 300px;
    transition: .3s all ease-in;
}

#container{
    font-family: 'open sans', 'montserrat', 'roboto';
    width:90%;
    max-width: 1300px;
    margin: 1% auto;
}
#first-row{
    margin: 1% auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: 1fr 3fr;
}
#nav-items ul{
    margin: 0;
    list-style: none;
    display: flex;
    border-top: 1px #000000;
    justify-content: flex-end;
}
#nav-items li{
    border-top: 1px solid #000000;  
}
#nav-items li:hover, #nav-items li:focus, #nav-items li:active{
    border-top: 3px solid #AA1A18;
}
#nav-items > li{
    float: left;
}
#nav-items li a{
    display: block;
    padding: 15px 20px;
    color: #000000;
    font-family: 'Sulphur Point', sans-serif;
    text-decoration: none;
    text-align: center;
}
#nav-items li a:hover, #nav-items li a:focus{
    color:#AA1A18;
    font-weight: bold;
}
#nav-items li ul{
    display:none;
	position:absolute;
    min-width:140px;
    background-color: rgba(255, 255, 255, 0.651);
}
#nav-items li:hover > ul, #nav-items li:focus > ul{
    display:block;
}
#nav-items li ul li{
    position: relative;
}
#nav-items li ul li #svc1{
    right:-318px;
	top:-1px;
}
#nav-items li ul li #svc2{
    right:-284px;
	top:-1px;
}
#nav-items li ul li #svc3{
    right:-223px;
	top:-1px;
}
#second-row{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(1,1fr);
    grid-template-areas:"gallery"
}
#gallery{
    grid-area: gallery;
}
#gallery{
    width: 100%;
    height: 400px;
    margin: auto;
    overflow: hidden;
}
#gallery ul{
    padding: 0;
    display: flex;
    width: 500%;
    animation: sliding 20s infinite;
    animation-direction: alternate;
    animation-timing-function: ease-in;
}
@keyframes sliding{
    0%{margin-left: 0;}
    15%{margin-left: 0;}

    20%{margin-left: -100%;}
    35%{margin-left: -100%;}

    40%{margin-left: -200%;}
    55%{margin-left: -200%;}

    60%{margin-left: -300%;}
    75%{margin-left: -300%;}

    80%{margin-left: -400%;}
    100%{margin-left: -400%;}
}
#gallery li{
    width: 100%;
    list-style: none;
}
#gallery img{
    width: 100%;
}
#third-row{
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2,1fr);
}
.widget{
    min-height: 50px;
    overflow: hidden;
    border-top-right-radius: 27px;
    border-bottom-left-radius: 27px;
}
.widget-title{
    background-color: #AA1A18;
    color: #ffffff;
    font-family: 'Sulphur Point', sans-serif;
    height: 60px;
    text-align: center;
    font-size: larger;
    font-weight: bold;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

}
.widget-text{
    height: 0px;
    background-color: #e4e4e4;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    overflow: hidden;
    -webkit-transition: height 0.2s;
}
.widget-text p{
    padding: 3%;
}
.widget:hover .widget-text{
    height: 100%;
}
.widget:focus .widget-text{
    height: 100%;
}
#fourth-row{
    margin: 2% auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3,1fr);
}
.profile{
padding: 3%;
}
#img-profile-1, #img-profile-2, #img-profile-3, #img-profile-4, #img-profile-5, #img-profile-6{
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border-color: #AA1A18;
    border-style: solid;
    border-width: 15px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}
#img-profile-1{
    background-image: url(../img/perfil-olga-1.jpg);
    background-size: cover;
}
#img-profile-2{
    background-image: url(../img/perfil-luis-1.jpg);
    background-size: cover;
}
#img-profile-3{
    background-image: url(../img/perfil-oscar-1.jpg);
    background-size: cover;
}
#img-profile-4{
    background-image: url(../img/perfil-carlos-1.jpg);
    background-size: cover;
}
#img-profile-5{
    background-image: url(../img/perfil-diana-1.jpeg);
    background-size: cover;
}
#img-profile-6{
    background-image: url(../img/perfil-alejandra-1.png);
    background-size: cover;
}
#img-profile-1:hover, #img-profile-2:hover, #img-profile-3:hover, #img-profile-4:hover, #img-profile-5:hover,  #img-profile-6:hover{
    width: 230px;
    height: 230px;
    border-width: 18px;
}
#img-profile-1:focus, #img-profile-2:focus, #img-profile-3:focus, #img-profile-4:focus, #img-profile-5:focus,  #img-profile-6:focus{
    width: 230px;
    height: 230px;
    border-width: 18px;
}
#img-profile-1:hover, #img-profile-1:focus{
    background-image: url(../img/perfil-olga-2.jpg);
    background-size: cover;
}
#img-profile-2:hover, #img-profile-2:focus{
    background-image: url(../img/perfil-luis-2.jpg);
    background-size: cover;
}
#img-profile-3:hover, #img-profile-3:focus{
    background-image: url(../img/perfil-oscar-2.jpg);
    background-size: cover;
}
#img-profile-4:hover, #img-profile-4:focus{
    background-image: url(../img/perfil-carlos-2.jpg);
    background-size: cover;
}
#img-profile-5:hover, #img-profile-5:focus{
    background-image: url(../img/perfil-diana-2.jpeg);
    background-size: cover;
}
#img-profile-6:hover, #img-profile-6:focus{
    background-image: url(../img/perfil-alejandra-2.png);
    background-size: cover;
}
.profile h2{
    font-family: 'Sulphur Point', sans-serif;
    padding-top: 2%;
    margin-top: 25px;
    text-align: center;
}
.profile h3{
    font-family: 'Sulphur Point', sans-serif;
    text-align: center;
    font-weight: 600;
    font-size: medium;
}
.profile p{
    text-align: center;
    padding-top: 2%;
    font-style: oblique;
    font-weight: lighter;
}
#fifth-row{
    margin: 2% auto;
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3,1fr);
}
#sixth-row{
    margin: 2% auto;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(1,1fr);
}
#sixth-row h2{
    text-align: center;
    font-family: 'Sulphur Point', sans-serif;
    font-size: 2.3rem;
}
#seventh-row{
    margin: 2% auto;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(4,1fr);
    grid-template-areas: "post post post post";
}
.feedburnerFeedBlock{
    grid-area: post;
   
}
.feedburnerFeedBlock ul{
    list-style-type: none;
    padding-top: 20px;
    display: flex;
}
.feedburnerFeedBlock ul li{
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}
.feedburnerFeedBlock ul li:first-child{
    grid-area: post-1;
}
.feedburnerFeedBlock ul li:nth-child(2){
    grid-area: post-2;
}
.feedburnerFeedBlock ul li:nth-child(3){
    grid-area: post-3;
}
.feedburnerFeedBlock ul li:nth-child(4){
    grid-area: post-4;
}
.feedburnerFeedBlock ul li:first-child, .feedburnerFeedBlock ul li:nth-child(2), .feedburnerFeedBlock ul li:nth-child(3), .feedburnerFeedBlock ul li:nth-child(4){
    width: 20%;
    height: 430px;
    border-radius: 8px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    margin: 20px;
    padding-top: 15px;
    text-align: center;
    transition: all 0.25s;
}
.feedburnerFeedBlock ul li:first-child:hover, .feedburnerFeedBlock ul li:nth-child(2):hover, .feedburnerFeedBlock ul li:nth-child(3):hover, .feedburnerFeedBlock ul li:nth-child(4):hover{    
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}
.feedburnerFeedBlock ul li:first-child:focus, .feedburnerFeedBlock ul li:nth-child(2):focus, .feedburnerFeedBlock ul li:nth-child(3):focus, .feedburnerFeedBlock ul li:nth-child(4):focus{    
    transform: translateY(-15px);
    box-shadow: 0 12px 16px rgba(0, 0, 0, 0.2);
}
.feedburnerFeedBlock ul li a:first-child, .feedburnerFeedBlock ul li a:nth-child(2), .feedburnerFeedBlock ul li a:nth-child(3), .feedburnerFeedBlock ul li a:nth-child(4){
    font-weight: 600;
    text-decoration: none;
    color: #000000;
    font-size: 24px;
}
.feedburnerFeedBlock ul li a:first-child:hover, .feedburnerFeedBlock ul li a:nth-child(2):hover, .feedburnerFeedBlock ul li a:nth-child(3):hover, .feedburnerFeedBlock ul li a:nth-child(4):hover{
    color: #AA1A18;
}
.feedburnerFeedBlock ul li a:first-child:focus, .feedburnerFeedBlock ul li a:nth-child(2):focus, .feedburnerFeedBlock ul li a:nth-child(3):focus, .feedburnerFeedBlock ul li a:nth-child(4):focus{
    color: #AA1A18;
}
.feedburnerFeedBlock li .headline{
    color: #000000;
    font-family: 'Sulphur Point', sans-serif;
    text-align: center;
}
.feedburnerFeedBlock li img{
    width: 85%;
    height: auto;
    padding-top: 10px;
}
.feedburnerFeedBlock li iframe{
    width: 85%;
    height: auto;
}
div #creditfooter{
    display: none;
}







@media(min-width:0px){
    #top_bar #btn-menu:checked ~ #side-menu{
        margin: 0;
    }
}
@media (max-width:1020px){
        #first-row{
            grid-template-columns: 1fr;
        }
        #nav-items{
            margin-left: auto;
            margin-right: auto;
        }  
        #logo{
            margin-left: auto;
            margin-right: auto;
        }      
        .widget{
            margin-top: -130px;
        }
        .feedburnerFeedBlock ul{
            display: inline-block;
            justify-content: center;
        }
        .feedburnerFeedBlock ul li:first-child, .feedburnerFeedBlock ul li:nth-child(2), .feedburnerFeedBlock ul li:nth-child(3), .feedburnerFeedBlock ul li:nth-child(4){
            width: 40%;
        }
        .footer #logofooter{
            width: 180px;
            height: auto;
        }
    }
@media screen and (max-width:768px){
    #side-menu{
        width: 1575%;
        margin-left: -1575%;
        transform: translateX(0%);
        transition: all 0.3s;
    }
    #side-menu li a{
        text-align: center;
    }
    #redes li img{
        width: 26px;
        height: 26px;
        padding-top: 3px;
    }
    #redes{
        justify-content: flex-start;
        padding-left: 50px;
    }
    #redes li{
        margin-right: 6px;
    }
    #btn-idioma img{
        width: 100px;
        height: auto;
        padding-left: 10px;
        padding-top: 5px;
    }
    #first-row, #second-row, #third-row, #fourth-row, #fifth-row, #sixth-row, #seventh-row {
        grid-template-columns: 1fr;
    }    
     #nav-items ul{
        display: none;
    } 

    #logo{
        margin-left: auto;
        margin-right: auto;
    }
    #gallery{
        height: auto;
        margin-bottom: 2%;
    }
    .widget{
        margin-top: 0;
    }
    .feedburnerFeedBlock ul{
        display: block;
    }
    .feedburnerFeedBlock ul li:first-child, .feedburnerFeedBlock ul li:nth-child(2), .feedburnerFeedBlock ul li:nth-child(3), .feedburnerFeedBlock ul li:nth-child(4){
        width: 85%;
    }
}

.footer{
    background-color: #AA1A18;
}
.footer .derechos a{
    text-decoration: none;
    color: #ffffffc0;
}
.footer .derechos a:hover, .footer .derechos a:focus{
    text-decoration: underline;
    color: #ffffffc0;
}
.footer{
    display: grid;
    grid-gap: 5px;
    grid-template-columns: repeat(4,1fr);
    grid-template-rows: repeat(2, auto);
    grid-template-areas: "col-1 col-2 col-3 col-4"
                        "derechos derechos derechos derechos";
}
.footer .col-1{
    grid-area: col-1; 
}
.footer .col-2{
    grid-area: col-2; 
    text-align: center;
    padding-top: 5%;
}

.footer .col-3{
    grid-area: col-3; 
}
.footer .col-4{
    grid-area: col-4; 
}
.footer .col-1 {
    margin-left: auto;
    margin-right: auto;
    padding-top: 10px;
}
.footer .social-media ul{
    grid-area: social-media; 
    display: flex;
    justify-content: center;
}
.footer .social-media li{
    margin-top: 6px;
    padding-top: 3px;
    margin-left: 2px;
    margin-right: 2px;
    list-style: none;
    }
.footer .social-media li img{
    width: 35px;
    height: 35px;
    }
.footer .derechos{
        grid-area: derechos; 
        color: #ffffffc0;
        font-family: 'Open Sans', sans-serif;
        font-style: oblique;
        font-weight: lighter;
        font-size: small;
        text-align: center;
        margin-bottom: 1%;
    }
.footer .col-2 a,.footer .col-3 h3, .footer .col-4 h3{
        color: #ffffff;
        font-family: 'Sulphur Point', sans-serif;
        text-align: center;
        padding: 5%;
        font-size: medium;
        text-decoration: none;
    }
.footer .col-2 a:hover,.footer .col-3 h3 a:hover, .footer .col-4 h3 a:hover{
        text-decoration: underline;
    }
    .footer .col-2 a:focus,.footer .col-3 h3 a:focus, .footer .col-4 h3 a:focus{
        text-decoration: underline;
    }
.footer .col-3 h4, .footer .col-4 h4{
        color: #ffffff;
        font-family: 'Open Sans', sans-serif;
        text-align: center;
        font-weight: normal;
        font-size: small;

    }
    @media (max-width:1020px){
        .footer{
            grid-gap: 5px;
            grid-template-columns: repeat(3,1fr);
            grid-template-rows: repeat(3, auto);
            grid-template-areas: "col-1 col-1 col-1"
                                 "col-2 col-3 col-4"
                                 "derechos derechos derechos";
        }  
        }
    @media screen and (max-width:768px){
        .footer{
            grid-gap: 5px;
            grid-template-columns: repeat(3,1fr);
            grid-template-rows: repeat(3, auto);
            grid-template-areas: "col-1 col-1 col-1"
                                     "col-2 col-2 col-2"
                                     "derechos derechos derechos";
            }  
              
    .footer .col-2{
        margin-bottom: 10px;
    }  
    .footer .col-3, .footer .col-4{
        display: none;
    }
            }