﻿:root {
    --mlFigli: 20px;
    --cEnt: green;
    --cUsc: red;
    --cGC: gray;
}

body {
    margin: 0;
    font: normal 14px Helvetica;
    line-height: 1.4;
}

/*#region Colori */

article.usc header, article.usc div.headerF {
    color: var(--cUsc)
}

article.ent header, article.ent div.headerF {
    color: var(--cEnt)
}

article.GC header, article.GC div.headerF {
    color: var(--cGC)
}

article.ent section:nth-of-type(1) div:nth-of-type(1) {
    background-color: var(--cEnt);
}

article.usc section:nth-of-type(1) div:nth-of-type(1) {
    background-color: var(--cUsc);
}

article.GC section:nth-of-type(1) div:nth-of-type(1) {
    background-color: var(--cGC);
}

article.ent section:nth-of-type(1) div p:nth-of-type(1) {
    color: var(--cEnt)
}

article.usc section:nth-of-type(1) div p:nth-of-type(1) {
    color: var(--cUsc)
}

article.GC section:nth-of-type(1) div p:nth-of-type(1) {
    color: var(--cGC)
}

/*#endregion */

/*#region Header */
article.mov header {
    font-weight: bold;
    margin-top: 10px;
}

    article.mov header span:nth-of-type(2) {
        float: right;
    }

    article.mov header:not(:first-of-type) {
        margin-left: var(--mlFigli);
    }

/*#endregion Header*/

/*#region Section */
img.daRiv {
    position: absolute;    
    width: 48px;
    margin: auto;    
    inset: 0 0 auto 0;
}

article.movFut {
    filter: opacity(0.3);
}

article.mov {
    padding: 0 4px 0 4px;
    position: relative;
}

    article.mov:first-of-type {
        margin-top: 70px;
    }

    article.mov section {
        display: flex;
        flex-flow: row nowrap;
        padding-bottom: 3px;
        position: relative;
        min-height: 50px;
    }

        article.mov section div {
            padding-top: 5px;
            padding-bottom: 5px;
        }

        article.mov section menu img {
            width: 36px;
            position: absolute;
            right: 0px;
            top: 5px;
            cursor: pointer;
        }

        article.mov section:nth-of-type(1) div:nth-of-type(1) {
            width: 7px;
            background-clip: content-box, padding-box;
            padding-right: 4px;
        }

        article.mov section.slave div:nth-of-type(1) {
            width: var(--mlFigli);
        }

        article.mov section div:nth-of-type(2) {
        }

            article.mov section div:nth-of-type(2) p {
                margin: 2px 0;
            }

                article.mov section div:nth-of-type(2) p.cat {
                    font-weight: bold;
                }

                article.mov section div:nth-of-type(2) p.des {
                    font-style: italic;
                }

    /*#endregion Section*/

    /*#region Footer */
    article.mov:not(:last-of-type) footer {
        margin: 0px 0px 0px 11px;
        border-top: 2px dotted lightgray;
    }

    article.mov:last-of-type footer {
        margin-bottom: 100px;
    }
/*#endregion Footer*/

/*#region Menù */
menu.header {
    background-color: #fafafa;
    color: #5E889E;
    position: fixed;
    max-width: 800px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 0;
    height: 64px;
    border: 0;
    text-align: center;
    border: solid 1px lightgray;
    border-top: 0;
    border-radius: 0 0 20px 20px;
}

    menu.header img {
        height: 64px;
    }

    menu.header span {
        position: absolute;
        left: 0;
        right: 0;
        top: 20px;
    }

menu.footer {
    background-color: #fafafa;
    position: fixed;
    max-width: 800px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    padding: 0;
    height: 64px;
    border-top: solid 1px lightgray;
    display: flex;
    justify-content: space-around;
}

    menu.footer img {
        height: 64px;
    }

        menu.footer img.main {
            position: absolute;
            top: -25px;
            left: 0;
            right: 0;
            margin: auto;
        }

/*#endregion Menù*/

article.movF {
    padding: 0 0 0 25px;
    display: flex;
    flex-direction: column;
    font-size: 14px;   
    margin-bottom: 5px;
}

    article.movF:last-of-type {
        margin-bottom: 10px;
    }

    article.movF div.headerF {
        display: flex;
    }

div.impF {
    margin-left: auto;    
}

div.bodyF {
    padding-left: 14px;
}

div.cat {
    font-weight: bold;
}

div.des {
    font-style: italic;
}