/* ------------------------------------------------------------------
   GAMES 2006 / Inercia Demoparty 2006
   Static rebuild of the original "estilos.css" skin.
   Colours, metrics and typography are taken from the 2006 original;
   the table layout has been replaced with flexbox.
   ------------------------------------------------------------------ */

:root {
    --page-width: 896px;
    --sidebar-width: 224px;
    --aside-width: 112px;

    --text: #4C4B4B;
    --title: #211574;
    --subtitle: #C07808;

    --sidebar-bg: #FFEFD0;
    --sidebar-block-bg: #F8E3BB;
    --content-bg: #F8F8F8;

    --nav-bg: #010072;
    --nav-border: #01D500;
    --nav-hover: #017200;
}

* {
    box-sizing: border-box;
}

html {
    background: #FFFFFF;
}

body {
    margin: 0;
    background: #FFFFFF;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 12px;
    line-height: 16px;
    word-spacing: 1px;
    color: var(--text);
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

/* ---------- page frame ---------- */

.page {
    width: var(--page-width);
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.site-header {
    line-height: 0;
}

.site-header img {
    display: block;
    width: 100%;
}

/* ---------- top menu bar ---------- */

.main-nav {
    background: var(--nav-bg);
    min-height: 20px;
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-nav a {
    display: block;
    width: 112px;
    height: 20px;
    line-height: 18px;
    border: 1px solid var(--nav-border);
    font-weight: bold;
    font-size: 12px;
    color: #FFFFFF;
    text-align: center;
    text-decoration: none;
    background: transparent;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--nav-hover);
}

/* ---------- three column body ---------- */

.main {
    flex: 1 1 auto;
    display: flex;
    align-items: stretch;
}

/* ---------- left column ---------- */

.sidebar {
    width: var(--sidebar-width);
    flex: 0 0 var(--sidebar-width);
    background: var(--sidebar-bg);
    padding-top: 5px;
}

.sidebar .menu {
    margin: 0;
    padding: 5px 0;
    list-style: none;
    background: var(--sidebar-block-bg);
}

.sidebar .menu li {
    line-height: 17px;
}

.sidebar .menu a {
    display: block;
    min-height: 17px;
    padding-left: 25px;
    font-weight: bold;
    color: var(--text);
    text-decoration: none;
    background: url('imagens/col_esquerda_opcao_off.gif') no-repeat 9px 5px;
}

.sidebar .menu a:hover,
.sidebar .menu li.is-active > a {
    color: #000000;
    background-image: url('imagens/col_esquerda_opcao_on.gif');
}

/* ---------- centre column ---------- */

.content {
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px;
    background: var(--content-bg);
}

.titulo {
    font-size: 16px;
    font-weight: bold;
    color: var(--title);
    margin: 0 0 15px;
}

.subtitulo {
    font-size: 14px;
    font-weight: bold;
    color: var(--subtitle);
    margin: 0 0 15px;
    padding-left: 15px;
}

.conteudo {
    margin: 0 0 15px;
    padding-left: 30px;
}

.conteudo p {
    margin: 0 0 12px;
/*    text-indent: 15px;*/
}

.conteudo p:last-child {
    margin-bottom: 0;
}

.conteudo a {
    color: var(--title);
}

.conteudo a:hover {
    color: #000000;
}

.legenda {
    font-size: 11px;
    color: #000000;
}

/* ---------- right column ---------- */

.supporters {
    width: var(--aside-width);
    flex: 0 0 var(--aside-width);
    text-align: center;
    padding-top: 15px;
}

.supporters h2 {
    margin: 0 0 12px;
    font-size: 12px;
    line-height: 16px;
    font-weight: bold;
    color: var(--text);
}

.supporters ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.supporters li {
    margin-bottom: 14px;
}

/* ---------- footer ---------- */

.site-footer {
    min-height: 30px;
    padding: 7px 10px;
    font-size: 9px;
    line-height: 14px;
    text-align: center;
    color: #000000;
}

.site-footer a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px dotted #000000;
}

.site-footer a:hover {
    border-bottom: 1px solid #000000;
}

/* ---------- narrow screens ---------- */

@media (max-width: 896px) {
    .main {
        flex-wrap: wrap;
    }

    .sidebar,
    .supporters {
        flex-basis: 100%;
        width: 100%;
    }

    .content {
        flex-basis: 100%;
    }

    .supporters ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .supporters li {
        margin-bottom: 0;
    }
}
