@import "global.css?1";

main.color-secundario{
    
    padding: 35px 50px;
    /* padding-top:140px; */
}
.contenido-main{
    max-width: 1366px;
    margin:0 auto;
}
#carrusel{
    width: 63%;
    margin-bottom: 30px;
    float: left;
    height: calc((63vw - 50px - 23px) / 1.50058617);
    max-height: 590px;
}
#carrusel2{
    width: 63%;
    margin-bottom: 30px;
    float: left;
    height: calc((63vw - 50px - 23px) / 1.50058617);
    max-height: 590px;
}
aside{
    width: calc(37% - 50px);
    max-width: 800px;
    float: right;
    margin-left:50px;
}
#categorias{
    width: 63%;
    float: left;
}
#categorias > div{
    width: 100%;
    background-color: white;
    margin-bottom: 30px;
    border: 0px solid;
    border-top-width: 5px; 
}
#categorias > div > h3{
    padding: 10px;
    padding-bottom: 0;
}
#categorias > div > div{
    width: 100%;
    overflow:hidden;
    padding:10px;
    padding-top: 0;
}



/* #categorias > div > div::-webkit-scrollbar {
	height: 6px;
	background-color: #F5F5F5;
}
#categorias > div > div::-webkit-scrollbar-track {
	box-shadow: inset 0 0 3px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
}

#categorias > div > div::-webkit-scrollbar-thumb {
	background-color: #505050;
	border: 1px solid #555555;
} */
/* 
#categorias > div > div > div{
    margin-top:10px;
    width: calc(((200px + 10px) * 6) - 10px); 
    width: fit-content;
    animation: slideshow 10s linear infinite;
} */
#categorias > div > div > div:hover {
    animation-play-state: paused !important;
}
/* @keyframes slideshow {
    0%   { margin-left: 0px;}
    10%  { margin-left: 0px;}
    90%  { margin-left: calc(-620px - (100% - 620px) + 100%);}
    98%  { margin-left: calc(-620px - (100% - 620px) + 100%);}
    100% { margin-left: 0px;}
} */
#categoiras a{
    margin-right:10px;
}
#categorias .nota{
    display: inline-block;
    width: 200px;
    height: 220px;
    background-color: whitesmoke;
    border-radius: 5px;
    margin-right: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px 0 rgba(0,0,0,0.2);
}
#categorias a:last-child{
    margin-right: 0;
}
#categorias .nota:hover{
    cursor: pointer;
    transform:scale(1.04);
}
#categorias .nota:hover .div-titulo{
    color: black;
}
#categorias .nota .div-titulo{
    height: 65px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#categorias .nota .div-img{
    width: 100%;
    height: 132px;
    overflow: hidden;
}
#categorias .nota .div-fecha{
    width: 100%;
    font-size:13px;
    text-align: center;
    color:#333;
}
#categorias .nota .div-titulo{
    text-align:center;
    padding: 4px;
    font-weight: 700;
    font-size: 12px;
    color:#333;
}
#categorias img{
    width: 100%;
}
#info{
    width: 63%;
    float: left;
    background-color: white;
    padding:30px;
    border-radius: 4px; 
}
#info p{
    text-align: justify !important;
}

@media screen and (max-width:1280px){
    main.color-secundario{
        padding: 33px 15px;
        padding-top:140px;
    }
    #carrusel{
        height: calc((60vw - 30px) / 1.50058617);
    }
}
@media screen and (max-width:900px){
    main.color-secundario{
        padding: 33px 100px;
        padding-top:80px;
    }
    main.color-secundario > div > *{
        width: 100% !important;
    }
    aside{
        margin-left: 0;
    }
    #carrusel{
        height: calc((100vw - 200px - 15px) / 1.50058617);
    }
}
@media screen and (max-width:600px){
    main.color-secundario{
        padding: 33px 10px;
        padding-top:55px;
    }
    #carrusel{
        height: calc((100vw - 20px - 15px) / 1.50058617); 
    }
}
