﻿/*******************************************
    PALETTE
    ROSSO          #FBC121
    BLU            #000
    GRIGIO SCURO   #7E7E7E
    GRIGIO CHIARO  #F7F7F7
*/

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&family=Roboto:wght@700&display=swap');

/*******************************************
    BASIC STYLES
*/

body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #494853;
}

strong {
    font-weight: 700;
}

a,
a:hover,
a:focus {
    color: #FBC121;
}

.text-alternate {
    color: #000;
}

.lead {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 35px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    color: #000;
}

h1, .h1 {
    font-size: 44px;
    text-transform: uppercase;
}

h2, .h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: 500px;
    height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: hidden;
    background: url('../img/sfondo.png') no-repeat bottom right;
    background-size: cover;
}

.main {
    padding: 55px 65px;
    border: none;
    width: calc(100% - 500px);
    margin-left: 500px;
}

.logoContainer {
    position: relative;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    margin: 80px auto 0 80px;
    border: none;
}

    .logoContainer .logoRA {
        width: 270px;
        display: block;
        margin: 0;
        border: none;
    }

    .logoContainer .logo {
        width: 268px;
        display: block;
        margin: 0;
        border: none;
    }

    .logoContainer hr {
        border-top: solid 1px #FFF;
        border-bottom: none;
        margin: 30px 0 100px 0;
    }

    .logoContainer .Quadrans {
        position: absolute;
        bottom: 80px;
        display: block;
        color: #FFF;
        text-decoration: none;
        font-size: 15px;
        font-weight: 300;
    }

        .logoContainer .Quadrans:hover,
        .logoContainer .Quadrans:focus {
            color: #FFF;
            text-decoration: underline;
        }

/*************************** PAGE */
.navigazione {
    width: 100%;
    background: #FBC121;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    margin: 0;
    margin-bottom: 35px;
}

    .navigazione ul {
        list-style-type: none;
        margin-left: -40px;
    }

        .navigazione ul li {
            font-size: 16px;
            font-weight: bold;
            text-transform: uppercase;
            display: inline-block;
            padding: 10px;
            -webkit-border-radius: 0;
            -moz-border-radius: 0;
            border-radius: 0;
        }

            .navigazione ul li:first-child {
                -webkit-border-top-left-radius: 4px;
                -webkit-border-bottom-left-radius: 4px;
                -moz-border-radius-topleft: 4px;
                -moz-border-radius-bottomleft: 4px;
                border-top-left-radius: 4px;
                border-bottom-left-radius: 4px;
            }

            .navigazione ul li.active {
                background-color: #000;
            }

            .navigazione ul li a,
            .navigazione ul li a:hover,
            .navigazione ul li a:focus {
                color: #000;
                text-decoration: none;
            }

            .navigazione ul li.active a {
                color: #FFF;
                text-decoration: none;
            }

.card {
    background: #FFF;
    border: solid 1px #CCC;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 100%;
    margin: 0;
    margin-bottom: 35px;
    padding: 0;
    display: table;
}

    .card strong,
    .card label {
        color: #000;
        font-weight: 700;
    }

    .card .icona {
        display: table-cell;
        width: 80px;
        text-align: center;
        vertical-align: middle;
    }

        .card .icona i {
            font-size: 40px;
            color: #FBC121;
        }

    .card .testo {
        background: #F7F7F7;
        padding: 10px 15px;
        word-break: break-word;
    }

    .card a,
    .card a:hover,
    .card a:focus {
        font-weight: bold;
    }

.panel-default > .panel-heading {
    background-color: #F7F7F7;
    border-color: #CCC;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

    .panel-default > .panel-heading + .panel-collapse > .panel-body {
        border-top-color: #CCC;
        background-color: #F7F7F7;
    }

.panel-heading {
    padding: 18px 15px;
}

.panel-title {
    color: #000;
    font-weight: 700;
}

    .panel-title a,
    .panel-title a:hover,
    .panel-title a:focus {
        text-decoration: none;
    }

table th {
    color: #000;
}

/*************************** OVERLAY MENU */

.pippo {
    width: 100%;
}

.pluto {
    width: 100% !important;
}

@media (max-width: 991px) {
    .overlay {
        height: 100%;
        width: 0;
        position: fixed;
        z-index: 1001;
        left: 0;
        top: 0;
        background-color: #FBC121;
        overflow: hidden;
        transition: 0.5s;
    }

    .overlay-content {
        position: relative;
        top: 28%;
        width: 100%;
        text-align: center;
        margin-top: 30px;
    }

    .overlay .closebtn,
    .overlay .closebtn:focus {
        position: absolute;
        top: 10px;
        right: 50px;
        font-size: 44px;
        color: #000;
        text-decoration: none;
    }

    .btn-openmenu {
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        top: -10px;
        right: 0;
        color: #FFF;
    }

    .navigazione {
        background-color: transparent;
        margin-bottom: 0;
    }

        .navigazione ul li {
            display: block;
            width: 100%;
            font-size: 24px;
            margin: 0 auto;
            padding: 0;
            text-align: center;
            clear: both;
            white-space: nowrap;
        }

            .navigazione ul li a {
                color: #000;
                display: block;
                padding: 20px 5px;
                -webkit-border-radius: 0;
                -moz-border-radius: 0;
                border-radius: 0;
            }

            .navigazione ul li:first-child {
                -webkit-border-top-left-radius: 0;
                -webkit-border-bottom-left-radius: 0;
                -moz-border-radius-topleft: 0;
                -moz-border-radius-bottomleft: 0;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
            }

            .navigazione ul li.active {
                background-color: #000;
            }

                .navigazione ul li.active a {
                    color: #FFF;
                }

    .divGrande {
        width: 100%;
    }

    .divPiccolo {
        width: 0% !important;
    }
}

pre {
    padding: 0;
    margin: 0;
    background-color: transparent;
    border: none;
}

@media (max-width: 767px) {
    .overlay-content {
        top: 23%;
    }

    .navigazione ul li {
        font-size: 20px;
    }
}

/**/

/*************************** RESPONSIVE */
@media (max-width: 1200px) {
    .main {
        padding: 30px 40px;
        width: calc(100% - 350px);
        margin-left: 350px;
    }

    .sidebar {
        width: 350px;
    }

    .logoContainer {
        margin: 50px auto 0 30px;
        width: calc(100% - 30px);
        height: calc(100% - 50px);
    }

        .logoContainer .logoRA {
            width: 220px;
        }

        .logoContainer .logo {
            width: 220px;
        }

        .logoContainer hr {
            margin: 30px 0 60px 0;
        }

        .logoContainer .Quadrans {
            width: 100%;
            font-size: 9px;
            text-align: center;
            bottom: 15px;
        }
}

@media (max-width: 991px) {
    .sidebar {
        position: relative;
        width: calc(100% - 40px);
        height: 215px;
        margin: 0 20px;
        padding: 0;
        overflow-x: auto;
        overflow-y: auto;
        background: url('../img/sfondoMobile.png') no-repeat top right;
        background-size: cover;
        border-bottom-right-radius: 4px;
        border-bottom-left-radius: 4px;
    }

    .main {
        padding: 15px 5px;
        border: none;
        width: 100%;
        margin: 0;
    }

    .logoContainer {
        width: calc(100% - 60px);
        height: 170px;
        margin: 30px 30px 15px 30px;
        border: none;
    }

        .logoContainer .logoRA {
            width: 115px;
        }

        .logoContainer .logo {
            width: 128px;
            margin: auto;
        }

        .logoContainer hr {
            margin: 15px 0 30px 0;
        }

        .logoContainer .Quadrans {
            bottom: 0;
        }

    h1 {
        font-size: 34px;
    }

    .lead {
        font-size: 24px;
        margin-bottom: 20px;
    }

    /*.reorder {
        display: flex;
        display: -ms-flex;
        flex-direction: column;
    }

        .reorder .item1 {
            order: 2;
        }

        .reorder .item2 {
            order: 1;
        }*/

    pre {
        max-width: 600px;
        overflow-x: auto;
    }
}

@media (max-width: 767px) {
    .main {
        padding: 0 5px;
    }

    h1, h2 {
        font-size: 24px;
    }

    .lead {
        font-size: 20px;
    }

    pre {
        max-width: 500px;
        overflow-x: auto;
    }

    /********** tabelle responsive */
    #no-more-tables table,
    #no-more-tables thead,
    #no-more-tables tbody,
    #no-more-tables th,
    #no-more-tables td,
    #no-more-tables tr {
        display: block;
    }

        #no-more-tables thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }

    #no-more-tables tr {
        border: 2px solid #ddd;
        margin-bottom: 15px;
    }

    #no-more-tables td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        white-space: normal;
        text-align: left;
    }

        #no-more-tables td:before {
            position: absolute;
            top: 8px;
            left: 8px;
            width: 45%;
            padding-right: 8px;
            white-space: nowrap;
            text-align: left;
            font-weight: bold;
        }

        #no-more-tables td:before {
            content: attr(data-title);
        }
    /********** tabelle responsive */
}

@media (max-width: 480px) {
    pre {
        max-width: 260px;
        overflow-x: auto;
    }
}

@media (max-width: 320px) {
}
