.library-head a {
    color: darkred ;
    font-size: 17px;
}

.library-head a:hover {
    color: red ;
    text-decoration:underline ;
}    

.top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    grid-gap: 1rem;
}


@media only screen and (max-width: 600px) {
    .top-grid {
        grid-template-columns: repeat(1, minmax(200px, 1fr));
    }
}

.library-head, .library-head div  {
    color: white ;
}

.blog-head  {
    display: block ;
    color: white ;
    margin-bottom: 30px ;
    font-size: 35px !important;
    font-weight: bold ;
    text-align: center;
}




.library-head .ej-title {
    font-size: 35px !important;
    font-weight: bold ;
}
.library-head .ej-cat h3 {
    text-align: right ;
    font-size: 30px !important;
    font-weight: bold ;
}
.library-head .ej-cat {
    font-weight: bold ;
    border-bottom: 1px solid white ;
}
.ej-selected {
    color: red ;
}

.library-head .ej-cat a {
    color: white !important;
}   

.library-head .ej-cat a:hover {
    font-decoration: underline !important;
}   


    
.ej-item {
    position: relative ;
    border: 1px solid grey ;
    height: 100% ;
}

.ej-item:hover {
   border: 1px solid #40838c ;
/*   background-color: #dcdcdc ; */
   background-color: #f5f5f5 ;
}
  
.ej-item img {
    width: 100% ;
}

.ej-item .ej-title {
    display: block ;
    color: #40838c ;
    font-size: 30px;
    line-height: 30px;
    font-weight: bold ;
    padding: 5% ;
    border-bottom: 1px solid lightgrey ;
}

.ej-item .ej-description {
    text-align: left ;
    padding: 2% ; 
    margin-bottom: 40px ; /* leave room for access document */
}

.ej-item .ej-date {
    position: absolute ;
    top: 10px;
    right: 10px;
    font-size: 20px;
    font-weight: bold ;
    color:white ;
    z-index: 1000 ;
}

.ej-item .ej-title-image {
    position: absolute ;
    left: 10px;
    top: 50px;
    font-size: 25px;
    font-weight: bold ;
    color:white ;
    z-index: 1000 ;
}

.ej-item .access-document {
    position: absolute ;
    left: 10px;
    bottom: 10px;
    color: #d18454 ;
    font-size: 16px;
    font-weight: bold ;
}

.ej-item .ej-author {
    font-weight: bold ;
} 

.ej-item .post-date {
    font-style: italic ;
} 




