body {
    font-size: 13px;
}


/* CSS logo image */
.item.references a {
    word-break: break-all;
}

.pkp_site_name a.is_img {
    max-height: 100%;
    display: inline;
    widht: auto;
    height: auto;
}

.pkp_site_name a.is_img img {
    max-height: 100%;
    display: inline-block;
    widht: auto;
    height: auto;
}

img {
    vertical-align: middle;
}



/* CSS: side bar, author guide lines*/

.sidebar {
    left: 0;
    top: 0;
    height: 100%;
    /* 
            border-right: 1px solid #ddd;
            padding: 10px;
            background-color: white;
            background-color: #f0f0f0;
            position: sticky;
	        */
}

.sidebar>ul {
    list-style-type: none;
    padding: 0;
}

.sidebar>ul>li>a {
    font-weight: bold;
    font-size: 95%;
    text-decoration: none;
    color: black;
}

.sidebar>ul>li>a:hover {
    text-decoration: underline;
}

.sidebar>ul>ul>li>a {
    text-decoration: none;
    font-size: 95%;
    color: black;
}

.sidebar>ul>ul>li>a:hover {
    text-decoration: underline;
}

.sidebar>ul>ul {
    padding-left: 20px;
}

.content>h2 {
    text-align: center;
    margin: 0;
    width: 100%;
    color: black;
    background: linear-gradient(to Right, #e94242, #f9e6e6);
    padding: 5px;
    border-radius: 10px;
}

.content p {
    text-align: justify;
}



/* CSS: grid highlights*/
.grid-row-container {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    /* 4 rows, each taking equal space */
    grid-template-columns: 35% 65%;
    /* First column 25%, second 75% */
    gap: 0px;
    /* Spacing between grid items */
    height: 100vh;
    /* Make the grid container take up the full viewport height */
    padding: 10px;
    /* Add some padding around the grid */
}

.grid-item {
    background-color: white;
    /* Light gray background (you can change this) */
    /* Removed vertical borders */
    padding: 20px;
    text-align: left;
    /* Center the content within each grid item */
    /*display: flex;  Center vertically and horizontally */
    align-items: center;
    justify-content: left;
}


/* Add top and bottom borders only */
.grid-item {
    border-top: 0.1px solid #dfdfdf;
    /*Top border */
    /*border-bottom: 0.1px solid #ccc; /* Bottom border */
}



/* CSS: side bar, portals boxes*/
.website-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.website-item {
    display: flex;
    align-items: center;
    /* Vertically center the logo */
    justify-content: center;
    /* Horizontally center the logo */
    padding: 15px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 150px;
    /* Set a fixed width for the container */
    height: 120px;
    /* Set a fixed height for the container */
}

.website-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.website-logo {
    max-width: 100%;
    /* Logo scales to fit container width */
    max-height: 100%;
    /* Logo scales to fit container height */
    object-fit: contain;
    /* Maintains aspect ratio, fits within bounds */
    border-radius: 8px;
    /* Optional: Rounded corners for logos */
    display: block;
    /* Prevents small vertical spacing issue */
}