
:root{
    --grad_color1:rgba(0,0,0,0);
    --grad_color2:rgba(0,0,0,1);
    --grad_perc1:20%;
    --grad_perc2:45%;
    --grad_perc3:55%;
    --grad_perc4:80%;    
    --nav_arrow_half_angle1:30deg;
    --nav_arrow_half_angle2:30deg;
    --nav_arrow_dim:1.2rem;
    --sides_color: rgba(255, 255, 255,1);

    /* --pan_upper_transY: -7;
    --pan_lower_transY: 7;
    --pan_time: 0; */
}


/* :link,
a:visited,
a:hover,
a:active {
    text-decoration: underline;
    color: rgb(52, 167, 255);
    cursor: pointer;
} */




h3{
    margin-bottom: 2rem !important;
    margin-bottom: 2rem !important;
}





#page_main_anak{
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: var(--page_main_rgba);   
    min-height: 100vh;
}








.arthro_link_wrap{
    width: 100%;
    display: contents;  /*me auto katafera na kano to arthro pou einai mesa se auto na paei sti mesi*/
}



.arthro {
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    width: 90%;
    padding-bottom: 0.6em;
    padding-top: 0.6em;
    overflow: hidden;
    border-radius: 0.2em 0 0 0.2em;
    opacity: 0;
    background-color: rgba(0,0,0,0.0);
    transition: all 0.15s;
    cursor: pointer;

}



/*.important_arth > .arthro_content_wrap > .arthro_title {
    color:red;
}*/


.arthro_appear_class {
    animation: arthro_apear 0.7s forwards ease-in-out;
}


.arthro_image_cont {
    display: flex;
    z-index: 0;
    position: relative;
    transition: all 0.3s;
    user-select: none;
    overflow: hidden;
    height:20vh;
}




@media only screen and (max-width: 1200px) {
    .grad_over{
        display: none;
    }
}


.grad_over{
    display: none;
    position: absolute;
    height: 100%;
    width: 100%;
    z-index:2;
    transition: all 0.2s;
    border:none;
    background: linear-gradient(90deg, rgba(0,0,0,0) 20%, var(--page_main_rgba) 90%);
}


.arthro_image_cont > img{
    width: 100%;
    object-fit: cover;
    border-radius: 0.2em 0 0 0.2em;
    transition: all 0.2s;
}


.arthro_content_wrap{
    overflow: hidden;
    max-height:10rem;
    z-index:1;
}


.arthro_title{
    font-size:1.1em;
    font-weight: 800;
    line-height: 1.3;
    text-decoration:none;
    color:black;
}


.arthro_title:active{
    opacity:0.8;
}


.time_cont{
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}


.arthro_time_icon{
    height:1rem;
    width:1rem;
    margin-right: 0.3em;
}


.arthro_time{
    font-style: italic;
    margin:0.1em;
    font-size: 0.75em;
}


.arthro_keimeno{
    font-size: 0.8em;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;  
    overflow: hidden;
    cursor:pointer;
    color:black;
}




@media only screen and (max-width: 992px) {
    .arthro_keimeno{
        -webkit-line-clamp: 2;
    }
}


@media (hover: hover) {
    .arthro:hover > .arthro_image_cont > img{
        transform: scale(1.1,1.1);
    }
    /*
    .arthro:hover > * > .grad_over{
        transform: translateX(1rem);
    }
    */
    .arthro:hover {
        background-color: rgba(0,0,0,0.07);
    }
    .arthro:hover>.arthro_content_wrap>.arthro_title{
        color:rgb(145, 58, 58);
        color: var(--navbar_cont_bg)
    }
    .arthro:hover>.arthro_content_wrap>.arthro_keimeno{
        color:rgb(145, 58, 58);
        color: var(--navbar_cont_bg)
    }
}


.separator {
    margin-top: 0.6rem;
    margin-bottom: 0.6rem;
    height: 2px;
    width: 1%;
    opacity: 0.1;
    /*
    background: linear-gradient(90deg, var(--grad_color1) var(--grad_perc1), var(--grad_color2) var(--grad_perc2), var(--grad_color2) var(--grad_perc3), var(--grad_color1) var(--grad_perc4));
*/
}


#nav_page_cont{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 0.4rem;
    margin-left: 0.4rem;
    margin-right: 0.4rem;
}


.page_nav_input{
    all: unset;
    max-width: 2ch;
    text-align: center;
    border-radius: 0.4rem;
    pointer-events: none;
}

#nav_page_text_current:focus{
    background-color: rgba(0,0,0,0.1);
}

#page_nav_cont{
    align-items: center;
    justify-content: center;
    margin-top: 2rem;;
    padding-bottom: 1.5rem;
    font-size:1.5em;
}


#nav_buts_cont{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.nav_arrow_cont{
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_arrow{
    width:1.8rem;
    height:1.8rem;
    transition: all 0.1s ;
    cursor: pointer;
}



#nav_arrow_prev{
    transform: rotate(-90deg);
}
#nav_arrow_next{
    transform: rotate(90deg);
}

#nav_arrow_prev:active{
    transform: rotate(-90deg) scale(1.08);
}

#nav_arrow_next:active{
    transform: rotate(90deg) scale(1.08);
}



@media (hover: hover) {
    .nav_arrow_cont:hover{
        opacity:0.5;
    }
    #nav_page_cont:hover{
        background-color: rgba(0,0,0,0.1);
    }
}


.side_col{
    background-color: var(--sides_color);
}


@keyframes arthro_apear{
    0%{
        opacity:0;
        transform: translate(0,calc(var(--vh)*50));
        
    }
    70%{
        opacity:100%;
    }
    100%{
        opacity:100%;
        transform: translate(0,0);
    }

}

.ql-align-center{
    text-align: center;
}
