﻿@import url(Fonts.css);

body {
    margin: 0 0 0 0;
    font-family: 'MuseoSans', sans-serif;
    font-weight: normal;
    font-size: 18px;
    color: #666666;
    text-align: left;
    background-color: white;
    width: 100%;
    position: relative;
}

header,
section {
    max-width: 1250px;
    margin: auto auto;
}

    header.main {
        position: relative;
        height: 4em;
        font-size: 89%;
        font-weight: 700;
        text-transform: uppercase;
        color: black;
        padding: 1.25em;
    }

        header.main a {
            text-decoration: none;
            color: black;
        }

        header.main img {
            height: 4em;
            vertical-align: middle;
            margin-right: 2em;
        }

        header.main span {
            color: #F37100;
        }

        header.main aside {
            display: block;
            position: absolute;
            height: 4em;
            right: 1.25em;
            height: 4em;
            line-height: 4em;
            bottom: 1.25em;
        }

            header.main aside a {
                text-transform: none;
                color: #333333;
            }

.blog footer {
    height: auto;
    width: 100%;
}

footer .download {
    position: relative;
    background-color: #FFAD00;
    padding: 1em;
    color: white;
    font-weight: 700;
    font-size: 222%;
    text-align: center;
    line-height: initial;
}

    footer .download span {
        display: block;
        text-transform: uppercase;
        margin-bottom: 0.5em;
    }

    footer .download fieldset {
        border: none;
        width: 9.5em;
        margin: auto;
        display: block;
        text-align: center;
    }

        footer .download fieldset img {
            width: 4.5em;
        }

.copertina {
    margin-bottom: 1em;
}

    .copertina img {
        width: 100%;
        display: block;
    }

.content {
    display: block;
    margin-bottom: 1em;
}

    .content aside {
        float: right;
        width: 23%;
        text-align: center;
    }

.articoli {
    width: 75%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

    .articoli article {
        width: 25em;
        display: inline-block;
    }

        .articoli article img.miniatura {
            width: 100%;
        }

        .articoli article h3 {
            display: block;
            font-weight: 700;
            font-size: 143%;
            color: #333333;
            margin-top: 0.8em;
            margin-bottom: 0.3em;
        }

        .articoli article h4 {
            display: block;
            font-family: 'Poppins';
            font-weight: normal;
            font-size: 67%;
            color: #999999;
            margin-top: 0;
            margin-bottom: 0.5em;
        }

        .articoli article .preview {
            display: block;
            font-family: 'MuseoSans';
            font-weight: 500;
            font-size: 120%;
            color: #666666;
            margin-top: 0.5em;
            margin-bottom: 1.5em;
            line-height: 1.5em;
            text-align: justify;
        }

    .articoli input[type="submit"] {
        color: black;
        border-radius: 0;
        border: 0;
        width: 100%;
        background: #F8F8F8;
        font-size: 100%;
        font-weight: 500;
        padding: 1em;
    }

.articolo {
    width: 75%;
    display: inline-block;
}

    .articolo img {
        width: 100%;
    }

    .articolo h1 {
        margin-top: 1em;
        font-weight: 500;
        font-size: 166%;
        color: #333333;
        text-align: left;
        text-transform: none;
    }

        .articolo h1 span {
            font-weight: 700;
            font-size: 67%;
            color: #999999;
        }

    .articolo p {
        font-weight: 300;
        font-size: 89%;
        text-align: justify;
        color: #666666;
    }

    .articolo .corpo img {
        float: left;
        width: 43%;
        margin: 0 2em 1em 0;
    }

    .articolo a {
        color: inherit;
        text-decoration: underline;
    }

    .articolo .corsivo {
        font-style: italic;
    }

    .articolo .corpo p:first-of-type::first-letter {
        font-size: 3em;
        float: left;
        margin: .4em .25em .25em;
    }

    .articolo .info {
        width: 100%;
        background-color: #F8F8F8;
        text-align: center;
        margin-bottom: 2em;
        padding-top: 1em;
        padding-bottom: 1em;
    }

        .articolo .info .likes {
            width: 17%;
            margin-left: 3%;
            display: inline-block;
            text-align: left;
        }

            .articolo .info .likes input[type=image] {
                width: 2em;
                vertical-align: bottom;
            }

        .articolo .info .categorie_articolo {
            width: 50%;
            display: inline-block;
            margin-left: -4px;
            text-align: right;
        }

            .articolo .info .categorie_articolo span:first-of-type {
                border: 0;
                padding-left: 0;
            }

            .articolo .info .categorie_articolo span {
                border-left: 1px solid black;
                padding-left: 0.2em;
            }

        .articolo .info .tags_articolo {
            width: 26%;
            margin-right: 3%;
            display: inline-block;
            margin-left: -4px;
            text-align: right;
        }

            .articolo .info .tags_articolo span:first-of-type {
                border: 0;
                padding-left: 0;
            }

            .articolo .info .tags_articolo span {
                border-left: 1px solid black;
                padding-left: 0.2em;
            }

.commenti {
    text-align: left;
}

    .commenti h1 {
        margin-top: 2em;
        margin-bottom: 1em;
    }

    .commenti textarea {
        width: 100%;
        box-sizing: border-box;
        border: 1px solid gray;
        border-radius: 0;
        padding: 1em 2em;
        font-size: 100%;
        min-height: 12em;
    }

.admin .commenti textarea {
    height: 10em !important;
}

.commenti input[type=submit] {
    border: 0;
    background-color: #FFAD00;
    display: inline-block;
    border-radius: 0;
    padding: 0.6em 2em
}

.commento {
    border: 1px solid gray;
    margin: 2em 0;
    padding: 1em 2em;
}

    .commento h3 {
        color: #333333;
    }

    .commento h6 {
        color: #999999;
        margin: 0;
        text-align: left;
        font-size: 80%;
        font-weight: 300;
    }

    .commento p {
        color: #666666;
    }

.admin .commento {
    margin: 2em;
    max-width: 100%;
}

.risposta {
    border: 1px solid gray;
    margin-left: 3em;
    padding: 1em 2em;
}

.admin .risposta {
    max-width: 100%;
}

.articolo .nav_articolo {
    width: 100%;
    background-color: #F8F8F8;
    text-align: center;
}

    .articolo .nav_articolo img {
        width: 40%;
        vertical-align: middle;
        padding: 1em
    }

    .articolo .nav_articolo a {
        text-decoration: none;
        font-size: 90%;
    }

    .articolo .nav_articolo .prec {
        display: inline-block;
        width: 50%;
        margin-bottom: -4px;
        margin-right: -4px;
    }

        .articolo .nav_articolo .prec:hover {
            color: black;
            background-color: gainsboro;
        }

    .articolo .nav_articolo .suc {
        display: inline-block;
        width: 50%;
        margin-bottom: -4px;
        margin-left: -4px;
    }

        .articolo .nav_articolo .suc:hover {
            color: black;
            background-color: gainsboro;
        }

section.login {
    width: 20em;
    height: 18em;
    margin: 5em auto;
    text-align: center;
    padding: 2em;
    border: 1px solid #cccccc;
    box-shadow: 10px 10px 10px #888888;
}

    section.login h1 span {
        color: #e57706;
        display: block;
    }

body.admin {
    text-align: center;
    padding-bottom: 2em;
}

.admin input[type="text"],
.admin input[type="date"] {
    background-color: transparent;
    font: inherit;
}

.admin input[type="text"] {
    width: 17em;
}

.admin label {
    display: block;
    font-size: 150%;
    font-weight: bold;
    text-align: left;
    margin: 2em auto 0 2.5%;
}

.admin textarea {
    width: 95%;
    height: 50em;
    font-family: MuseoSans;
    font-weight: 300;
    font-size: 16px;
}

.admin .text_editor {
    width: 95%;
    font-size: 16px;
    display: inline-block;
}

.admin div input[type=submit] {
    width: 8em;
    padding: 0.2em;
    font-size: 150%;
    border: none;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 12px;
    background-color: gray;
    color: white;
}

.admin .citazione {
    height: 3em;
}

.admin .multiInput {
}

    .admin .multiInput input[type=submit] {
        width: 2em;
        padding: 0px;
        border: none;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
        border-radius: 18px;
        background-color: gray;
        color: white;
        font-size: 110%;
        /*padding-bottom: 0.2em;*/
    }

    .admin .multiInput span {
        display: block;
        text-align: left;
    }

        .admin .multiInput span a {
            color: red;
            text-decoration: none;
        }

.admin .pannello {
    position: absolute;
    background-color: white;
    white-space: nowrap;
    box-shadow: 5px 5px 5px #333333;
    right: initial;
    border: 1px solid black;
}

    .admin .pannello table tr:first-of-type {
        text-align: unset;
        color: unset;
        font-weight: unset;
        text-transform: inherit;
        border: 0;
    }

    .admin .pannello td {
        background-color: transparent !important;
    }

    .admin .pannello a {
        color: black !important;
        text-decoration: none;
        width: unset;
    }

    .admin .pannello table {
        margin: 0 auto;
    }

.grdElenco {
    display: inline-table;
}

    .grdElenco caption {
        font-size: 150%;
        margin: 2em auto 0 2.5%;
    }

    .grdElenco th {
        background-color: #333333;
        color: white;
        padding: 2px 4px;
        font-size: 18px;
    }

    .grdElenco tr:nth-of-type(2n) {
        background-color: #DDDDDD;
    }

    .grdElenco .icona input[type="image"] {
        width: 8em;
    }

.pannello {
    position: absolute;
    background-color: white;
    max-height: 20em;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 5px 5px 5px #333333;
    margin-top: 1.2em;
    z-index: 20;
    border: 4px solid #FFAD00;
    right: 0;
    white-space: nowrap;
}

    .pannello a {
        color: black;
        text-decoration: none;
        width: unset;
        line-height: 1.5em;
    }

    .pannello span {
        color: black;
        text-decoration: none;
        line-height: 1.5em;
        display: block;
    }

    .pannello table {
        margin: 0 auto;
        border: none;
    }

    .pannello tr:nth-child(even) {
        background-color: #f2f2f2;
    }

    .pannello tr:first-of-type {
        text-transform: uppercase;
        font-weight: 700;
        border-bottom: 1px solid black;
    }

    .pannello tr td:first-of-type {
        white-space: nowrap;
    }

.selezionato td:first-of-type {
    background-color: #333333;
}

.loader {
    display: none;
}

.normalBackground {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F37100;
    opacity: 0.4;
    z-index: 9;
}

.dialogo {
    position: fixed;
    background-color: white;
    top: 10em;
    left: 50%;
    margin-left: -16em;
    width: 28em;
    padding: 2em;
    z-index: 10;
    border: 1px solid #F37100;
    box-shadow: 5px 5px 5px #F37100;
}

    .dialogo header a {
        position: absolute;
        color: #888888;
        text-decoration: none;
        top: 5px;
        right: 5px;
        background-color: initial;
        width: initial;
    }

    .dialogo a {
        background-color: #F37100;
        padding: 3px;
        display: inline-block;
        width: 4em;
        text-align: center;
        color: white;
        text-decoration: none;
    }

.upload {
    width: 656px;
    margin-left: -328px;
    top: 2em;
    z-index: 100;
}

    .upload footer a {
        width: 15em;
        margin-top: 1em;
    }

.master aside {
    text-align: left;
}

    .master aside h3 {
        font-weight: 700;
        font-size: 143%;
        color: #333333;
        margin-top: 1.8em;
        margin-bottom: 0.3em;
    }

    .master aside h4 {
        font-weight: 700;
        font-size: 90%;
        color: #333333;
        margin: 0;
    }

    .master aside h6 {
        font-weight: 300;
        font-size: 60%;
        color: #666666;
        margin: 0;
        text-align: left;
    }

    .master aside p {
        text-align: left;
        color: #666666;
        font-size: 80%;
        font-weight: 500;
    }

    .master aside input[type=image] {
        width: 3em;
        vertical-align: middle;
        margin-right: 1em;
        padding: 1em;
        border-radius: 15px;
    }

        .master aside input[type=image]:hover {
            background-color: lightgray;
        }

    .master aside .primoArticolo {
    }

        .master aside .primoArticolo img {
            width: 100%;
        }

    .master aside .categorie {
    }

        .master aside .categorie span {
            display: block;
            margin-top: 0.2em;
            margin-bottom: 0.2em;
        }

            .master aside .categorie span a {
                text-decoration: none;
                color: #666666;
                font-size: 78%;
            }

            .master aside .categorie span div {
                float: right;
                color: #666666;
                font-size: 78%;
            }

    .master aside .tags {
    }

        .master aside .tags span {
            margin: 0.2em;
            border: 1px solid #666;
            padding-left: 1em;
            padding-right: 1em;
            display: inline-block;
        }

            .master aside .tags span a {
                text-decoration: none;
                color: #666666;
                font-size: 78%;
            }

    .master aside .classifica {
    }

        .master aside .classifica span {
            margin-top: 0.7em;
            margin-bottom: 0.7em;
            display: block;
        }

            .master aside .classifica span img {
                width: 35%;
            }

            .master aside .classifica span div {
                float: right;
                width: 63%;
                margin-left: 2%;
            }

    .master aside .ricerca {
        position: relative;
    }

        .master aside .ricerca input[type="text"] {
            display: block;
            font-family: inherit;
            font-weight: 300;
            text-align: left;
            border: 2px solid #818181;
            border-radius: 0;
            font-size: 100%;
            height: 2.6em;
            margin: 0;
            width: 100%;
            box-sizing: border-box;
            background: url(Images/icona_cerca.png) no-repeat;
            background-position-x: 0%;
            background-position-y: 0%;
            background-position: 95%;
            background-size: 20px;
        }

    .master aside .newsletter {
    }

        .master aside .newsletter label {
            font-size: 76%;
        }

        .master aside .newsletter a {
            color: #FFAD00;
            text-decoration: none;
        }

        .master aside .newsletter div {
            border: 1px solid black;
            margin-top: 1em;
        }

        .master aside .newsletter input[type="checkbox"] {
            margin-bottom: 0px;
        }

        .master aside .newsletter input[type="email"] {
            border: 0;
            font-size: 100%;
            box-sizing: border-box;
            width: 68%;
            margin: 0;
            padding-left: 1em;
            display: inline-block;
            text-align: left
        }

        .master aside .newsletter input[type="submit"] {
            border-radius: 0;
            background-color: #FFAD00;
            border: 0;
            box-sizing: border-box;
            width: 29%;
            padding: 0;
            font-size: 100%;
            display: inline-block;
            margin-left: -5px;
            margin-right: 3%;
            height: 2em;
            margin-top: 0;
            margin-bottom: 0;
        }

    .master aside .social {
        display: none;
    }

.loginUtente {
    position: absolute;
    width: 100%;
    height: 71%;
    background-color: rgb(255,255,255,0.7);
    z-index: 20;
}
    .loginUtente .close_login {
        font-size: 150%;
        width: 1.3em !important;
        padding: 0 !important;
        padding-top: 0.3em !important;
        padding-bottom: 0.3em !important;
        border-radius: 100px !important;
        background-color: black !important;
        float: right;
        margin-top: -50px !important;
        margin-right: -50px;
        border: 3px solid white;
        box-sizing: content-box !important;
    }

    .loginUtente header .close_login {
        color: white;
        margin: 0 !important;
        text-align: center;
        margin-top: -20px !important;
        margin-right: -20px !important;
        border-color: #FFAD00;
    }

    .loginUtente section {
        background-color: white;
    }

    .loginUtente header {
        width: 29em;
        margin-top: 0.8em;
        text-align: left;
        background-color: #FFAD00;
        padding: 0.5em;
        height: 3.2em;
    }

        .loginUtente header h1 {
            display: inline-block;
            color: white;
            font-size: 260%;
            margin-left: 0px;
            line-height: 1.3;
            vertical-align: top;
            margin-left: 2.5em;
        }

    .loginUtente .home .login {
        margin-top: 5em;
    }

        .loginUtente .home .login .titolo {
            margin-top: 1em;
            margin-bottom: 1em;
        }

    .loginUtente .login {
        margin-top: 0;
        height: initial;
        width: 26em;
    }

        .loginUtente .login .errore {
            color: red;
        }

    .loginUtente .nuovo a:first-of-type {
        display: inline;
        background-color: transparent;
        text-decoration: underline;
        padding: 0;
        margin: 0;
        color: inherit;
        font-size: inherit;
    }

    .loginUtente .login input[type=email], .loginUtente .login input[type=text], .loginUtente .login input[type=password] {
        width: 100%;
        padding: 12px 20px;
        margin: 8px 0;
        display: block;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
        font-family: inherit;
        font-weight: 300;
        text-align: left;
        font-size: 100%;
    }

    .loginUtente .login a {
        font-weight: 300;
        color: white;
        text-transform: uppercase;
        text-decoration: none;
        background-color: #fbb03b;
        display: inline-block;
        width: 100%;
        margin-top: 1em;
        padding: 10px;
        border-radius: 50px;
        box-sizing: border-box;
    }

        .loginUtente .login a:nth-of-type(2) {
            background-color: #e47708;
        }

    .loginUtente footer {
        text-align: center;
        margin: 1em;
    }

    .loginUtente .errore {
        text-align: left !important;
    }

        .loginUtente .errore header {
            color: red;
            margin: 0;
            padding: 0;
        }

    .loginUtente .dialogo {
        text-align: center;
        top: 7em;
    }

        .loginUtente .dialogo header {
            background-color: transparent;
        }

            .loginUtente .dialogo header a {
                background-color: transparent;
                width: initial;
                color: #888888
            }

        .loginUtente .dialogo a {
            background-color: #F37100;
            padding: 3px;
            display: inline-block;
            width: 45%;
            text-align: center;
            color: white;
            text-decoration: none;
        }

        .loginUtente .dialogo iframe {
            width: 100%;
            border: 0;
            height: 19em;
        }

@media screen and (max-width: 1500px) {
    .admin input[type="text"] {
        width: 11em;
    }
}

@media screen and (min-width: 1921px) {
    header,
    section {
        max-width: 2500px;
        margin: auto auto;
    }
}
