


*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html,body{
    height:100%;
    
    font-family: 'Nunito', sans-serif;
    font-weight: 400;
    /* overflow-x: hidden; */

   
}

body{
    background: #f1f1f1;
    color: #444;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    font-size: 14px;
    line-height: 1.4em;
    min-width: 500px;
        
}

hr {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, transparent, #CCC, transparent);  
    margin: 10px 0;
}

.admintopmenu{
    min-height:35px;
    color: white;
    width:100%;
    display: flex;
    align-items: center;
    padding-left: 15px;
    position: fixed;
    z-index: 1000;
    background-color:  #5d6a79;
    

}
.admintopmenu-container{
    width: 100%;
    
    min-width: 250px;
    overflow: visible;
    max-height: 20px;
    display:inline;

}

.toplogo-container{
    
    width: 95px;
    text-align: right;
    padding-right: 7px;
    height: 25px;
    padding-top: 5px;
    padding-left: 10px;
}


#adminwrap{
    height: auto;
    min-height: 100%;
    width: 100%;
    position: relative;
    background-color: #6f7c8a;
    
}

#adminmenuwrap{
    width: 160px;
    min-height: 100%;
    float: left;
    position: fixed;
    background-color: #6f7c8a;
    padding-top: 45px;
    transition: all 0.25s ease-out;
    z-index: 999;
}





.adminmenuitem{
    padding: 8px 0px 8px 8px;
    width: 160px;
    min-height: 36px;
    display: inline-block;
    color: #ffffff;

}

.itembgcolor:hover{
    background-color: #4d5761;
}

.reg{
    color:white;
    font-size:1rem;
}

#admincontent{
    margin-left: 160px;
    padding-left: 20px;
    height: 100vh;
    background-color: #f1f1f1;
    padding-top: 45px;

}

.flex-container{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.form-row{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #6f7c8a;
    padding: 1em;
}



    .logo-container{
        
        height: 0px;
        width: 305px;
        position: relative;
        top: -65px;
        text-align: center;
        
            
    }

    .form-container{
        z-index: 100;
        position: absolute;

    }

    .reg-form-container{
        z-index: 200;
        position: relative;
        visibility: hidden;
        width: 305px;
    }

    .login-status-msg{
        position: relative;
        height: 0px;
        width: 295px;
        top: -55px;
        color: rgb(255, 200, 200);

        
        
    }

.tohide{
    transition: opacity 300ms ease-in-out;
    opacity: 0;
}
.toshow{
    transition: opacity 300ms ease-in-out;
    opacity: 1;
    visibility: visible;
    
}




input[type="text"], input[type="password"], input[type="email"]{
    font-size: 1.4em;
    width: 15em;
}

#name, #surname {
    width: 7.4em;
}

input[type="submit"]{
    width: 160px;
    height: 40px;
    margin: 15px 0;
}

#mulitplefileuploader{
    min-height: 80px;
    margin-bottom: 10px;
}


.hworks_list_item{
    display: block;
    text-decoration: none;
    border: 2px solid #ccc;
    border-radius: 3px;
    width: 215px;
    margin-bottom: 7px;
    padding: 5px 8px;
    color: #000;
}

.hworks_list_item:hover{
    background-color: #e1e1e1;
}

.highlight_hwdiv{
    background-color: white;
    text-decoration-line: underline;
}

#div_gallery{
    display: flex;
    flex-wrap: wrap;

}

.gallery-item{
    
    width: 280px;
    height: 80px;
    margin: 0px 7px 7px 0px;
    border: 0px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    display: flex;
    flex-direction: row;
}

.gallery-item-squared{
    width: 80px;
    height: 80px;
    margin: 0px 7px 7px 0px;
    border: 0px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    display: flex;
    flex-direction: row;
}

.gal-item-thumb{
    width: 80px;
    height: 80px;
    margin: 0px;
    border: 0px;
}

.starred:after {
    
    content: url("./images/star.png");
    
    position: relative; 
    z-index:100;
    left:3px;
    top:-77px;
    height:20px;
    

}

.gal-item-txt{
    padding: 3px 10px;
}

.gal-item-fn{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    
}

.color-darkgrey{
    color: rgb(59, 59, 59);
}

.span_star{
    cursor: pointer;
}

.span_star_on {
    color: yellow;
}

.color-white{
    color: white;
}

.smalltext{
    font-size: 0.6rem;
}



        .nav-toggle {
            display: none;
        }

        .nav-toggle-label {
            
            padding-bottom: 10px;
            padding-top: 18px;
            margin-left: 1em;
            height: 50px;
            width: 50px;
            
            display: none;

        }

        .nav-toggle-label span,
        .nav-toggle-label span::before,
        .nav-toggle-label span::after {
            display: block;
            background: rgb(230, 230, 230);
            height: 3px;
            width: 2em;
            border-radius: 2px;
            position: relative;
            
        }

        .nav-toggle-label span::before,
        .nav-toggle-label span::after {
            content: '';
            position: absolute;
        }

        .nav-toggle-label span::before{
            bottom: 8px;
        }

        .nav-toggle-label span::after{
            top: 8px;
        }

        .nav-toggle:checked ~ ul{
            visibility: visible;
            opacity: 1;
            transition: all 0.5s ease-out;
        }




@media screen and (max-width: 768px) { 

    .adminmenulist{
        visibility: hidden;
        opacity: 0;
    }

    #admincontent{
        margin-left: 48px;
    }

    #adminmenuwrap{
        width: 56px;
        
    }

    .nav-toggle-label {
        display: flex;
    }

}


.wider{
    
    width: 160px !important;
    box-shadow: 7px 0 7px 0px rgba(0,0,0,0.3);
    
}