﻿/* ============================= */
/*        VERSO HOMEPAGE         */
/* ============================= */

body {
    margin: 0px;
    padding: 0px;
    background-color: white;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

/* ---------- Links ---------- */

a {
    color: #444444;
    text-decoration: none;
    outline: none;
}

a img {
    border: none;
}

/* ---------- Header Banner ---------- */

#banner {
    position: relative;
    top: 0;
    left: 0;

    height: 140px;                 /* ✅ taller so full logo fits */
    width: 100%;

    margin-bottom: 25px;           /* ✅ reduced gap to icons */
    border-bottom: 1px solid #CCCCCC;

    background-image: url('/theme/home/banner.png');
    background-repeat: no-repeat;
    background-position: center center;  /* ✅ centered */
    background-size: contain;            /* ✅ scaled properly */
}

/* ---------- User Info ---------- */

#userinfo {
    position: absolute;
    right: 5px;
    top: 76px;
    font-family: Arial;
    font-weight: normal;
    font-size: 16px;
    color: #888888;
}

#message {
    color: #444444;
    font-family: Arial;
    font-size: 16px;
}

/* ---------- Powered By ---------- */

#poweredby {
    display: inline-block;
    width: 100%;
    padding-top: 20px;
    margin-top: 60px;
    border-top: 1px solid #CCCCCC;
    color: grey;
    font-family: Arial;
    font-size: 13px;
    text-decoration: none;
}

/* ---------- Main Grid ---------- */

#group {
    display: inline-block;
    margin-top: 10px;
}

.cell {
    float: left;
    width: 200px;
    height: 220px;
}

/* ---------- Category Titles ---------- */

.category-title {
    position: relative;
    display: inline-block;
    color: grey;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.category-title .tooltip {
    visibility: hidden;
    width: 140px;
    background-color: grey;
    color: #fff;
    font-size: 16px;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;

    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -70px;

    opacity: 0;
    transition: opacity 0.3s;
}

.category-title:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* ---------- Main Icons ---------- */

.category {
    display: inline-block;
    background-color: #EEEEEE;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90px 90px;
}

/* ---------- Latest Icons ---------- */

.category-latest {
    box-shadow: inset 0 0 0 6px white;
    position: relative;
    display: inline-block;
    background-color: #EEEEEE;
    width: 84px;
    height: 84px;
    top: -50px;
    left: 50px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 60px 60px;
}

/* ---------- Icon Images ---------- */

#comics {
    background-image: url('/theme/home/comics.png');
}

#latest-comics {
    background-image: url('/theme/home/comics-new.png');
}

#books {
    background-image: url('/theme/home/books.png');
}

#latest-books {
    background-image: url('/theme/home/books-new.png');
}

#magazines {
    background-image: url('/theme/home/magazines.png');
}

#latest-magazines {
    background-image: url('/theme/home/magazines-new.png');
}

#documents {
    background-image: url('/theme/home/documents.png');
}

#latest-documents {
    background-image: url('/theme/home/documents-new.png');
}

#others {
    background-image: url('/theme/home/others.png');
}

#latest-others {
    background-image: url('/theme/home/others-new.png');
}

#files {
    background-image: url('/theme/home/files.png');
}

/* ---------- Logout ---------- */

#logoutlink {
    color: #888888;
    text-decoration: underline;
}
