﻿body {
    padding-top: 10px;
    padding-bottom: 20px;
    background-color: black;
}

footer {
    color: steelblue !important;
}
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    color: steelblue !important;
}

dt {
    color: steelblue !important;
}
/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: #777;
    border-color: #fff
}

.navbar {
    padding-bottom: 1px;
}

.row {
    margin: 0px !important;
}

    .row > * {
        padding: 0px !important;
    }

.logo {
    height: 100px;
    margin-bottom: 10px;
}

/*sections*/
.sections {
    overflow: hidden;
    height: 250px;
    align-items: center;
    justify-content: center;
}
.sections a {
    position: relative;
    display: flex;
    height: 250px;
    align-items: center;
    justify-content: center;
}

    .sections h2,
    .sections a h2 {
        position: absolute;
        color: white;
    }

    .sections img {
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        width: auto;
        height: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

.sections-center {
    background-color: black;
}


.hide1 {
    display: none;
}

.hide2 {
    display: inherit;
}

.pad1 {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

.pad2 {
    padding: 2px !important;
}

.sections-center img {
    max-width: none;
    max-height: 100%;
}

.section-pos1 {
    max-width: 100%;
    max-height: none;
}

.section-pos2 {
    max-width: 100%;
    max-height: none;
}

.section-pos3 {
    max-width: none;
    max-height: 100%;
}

.section-pos4 {
    max-width: none;
    max-height: 100%;
}

.section-pos5 {
    max-width: none;
    max-height: 100%;
}

.section-pos6 {
    max-width: none;
    max-height: 100%;
}

.section-pos7 {
    max-width: none;
    max-height: 100%;
}

.section-pos8 {
    max-width: none;
    max-height: 100%;
}

.pulsanti-verdi-nh {
    background-color: steelblue;
    color: black;
    -webkit-writing-mode: vertical-rl;
    padding-top: 10px !important;
    margin-top: 1px;
}

.text-decoration-underline-none a {
    text-decoration: none;
}

.img-h {
    position: absolute;
    left: 50%;
    top: 50%;
    display: block;
    max-height: 100%;
    width: auto;
    height: auto;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

@media (min-width:280px) { /* smartphones, iPhone, portrait 480x320 phones */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 0px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos2 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}

/*@media (min-width:320px) {*/ /* smartphones, iPhone, portrait 480x320 phones */
/*.padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 0px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos2 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}*/

@media (min-width:481px) { /* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 0px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: none;
    }

    .section-pos2 {
        max-width: none;
        max-height: none;
    }

    .section-pos3 {
        max-width: none;
        max-height: none;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: none;
    }

    .section-pos6 {
        max-width: none;
        max-height: none;
    }

    .section-pos7 {
        max-width: none;
        max-height: none;
    }

    .section-pos8 {
        max-width: none;
        max-height: none;
    }
}

@media (min-width:641px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos2 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}


@media (min-width:653px) { /* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: none;
    }

    .section-pos2 {
        max-width: none;
        max-height: none;
    }

    .section-pos3 {
        max-width: none;
        max-height: none;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: none;
    }

    .section-pos6 {
        max-width: none;
        max-height: none;
    }

    .section-pos7 {
        max-width: none;
        max-height: none;
    }

    .section-pos8 {
        max-width: none;
        max-height: none;
    }
}

@media (min-width:768px) { /* tablet, landscape iPad, lo-res laptops ands desktops */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos2 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}

@media (min-width:961px) { /* tablet, landscape iPad, lo-res laptops ands desktops */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: none;
    }

    .section-pos2 {
        max-width: none;
        max-height: none;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}

@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: none;
    }

    .section-pos2 {
        max-width: none;
        max-height: none;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}

@media (min-width:1281px) { /* hi-res laptops and desktops */
    .padl {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
    }

    .padr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-right: 1px !important;
    }

    .padlr {
        padding-top: 1px !important;
        padding-bottom: 1px !important;
        padding-left: 1px !important;
        padding-right: 1px !important;
    }

    .sections-center img {
        max-width: none;
        max-height: 100%;
    }

    .section-pos1 {
        max-width: none;
        max-height: none;
    }

    .section-pos2 {
        max-width: none;
        max-height: none;
    }

    .section-pos3 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos4 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos5 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos6 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos7 {
        max-width: none;
        max-height: 100%;
    }

    .section-pos8 {
        max-width: none;
        max-height: 100%;
    }
}

.center-cropped {
    width: 100px;
    height: 100px;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    /* Set the image to fill its parent and make transparent */
    .center-cropped img {
        min-height: 100%;
        min-width: 100%;
        /* IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        /* IE 5-7 */
        filter: alpha(opacity=0);
        /* modern browsers */
        opacity: 0;
    }

.border {
    border: 1px solid solid;
    padding: 5px;
    height: 100%;
}

h4 {
    margin: 0;
}

.no-pad {
    padding: 0 !important;
}

.no-margin {
    margin: 0;
}

.immagine-centrale {
    height: 100%;
    min-height: 250px;
}

.nav-link {
    color: black !important;
}


.pulsanti-verdi-nh h4 {
    line-height: 60px;
}

.pulsanti-verdi {
    background-color: steelblue;
    color: black;
    vertical-align: middle;
    height: 60px;
    text-align: center;
}

    .pulsanti-verdi h4 {
        line-height: 60px;
    }

.pulsanti-gialli {
    background-color: black;
    color: steelblue;
    vertical-align: middle;
    height: 60px;
    text-align: center;
}

    .pulsanti-gialli h4 {
        line-height: 60px;
    }


.nav-item {
    font-size: 20px;
}

.bg-green {
    margin: 0px 3px 0px 3px;
    background-color: black;
    color: steelblue;
}

.social {
    height: 20px;
    margin-right: 7px;
}

.pulsanti-verdi-nh a {
    text-decoration: none;
    color: black;
}

.pulsanti-verdi a {
    text-decoration: none;
    color: black;
}

.pulsanti-gialli a {
    text-decoration: none;
    color: steelblue;
}


.nav-item a {
    text-decoration: none !important;
    color: steelblue !important;
}

a.active {
    border-radius: 5px;
    background-color: lightgray;
    color: steelblue !important;
}

.form-control {
    min-width: 100%;
}

.news-content {
    font-size: 10px;
    padding: 10px;
    border-bottom: 1px solid lightgray;
}

.policy {
    font-family: auto;
    font-size: 15px;
    margin-top: 2px !important;
}

    .policy a {
        color: blue;
    }

.btn {
    font-weight: bold;
}

.font-normal {
    font-family: auto;
    margin-top: 2px !important;
}

.news {
    font-family: auto;
}

    .news p a {
        display: block;
        text-decoration: none;
    }

.news-content img {
    max-width: 100%;
    width: 100%;
}

.powered-logo {
    height: 20px;
}

.powered {
    text-align: right;
}

.news-content h5 {
    font-weight: bold;
}

.btn-primary {
    background-color: steelblue;
    color: black;
    min-width: 100%;
}

    .btn-primary.disabled {
        background-color: steelblue;
        color: lightblue;
        min-width: 100%;
    }

.btn-secondary {
    background-color: steelblue;
    color: black;
    min-width: 100%;
    white-space: normal;
    width: 100px;
}
.btn-error {
    background-color: red !important;
    color: black;
    min-width: 100%;
    white-space: normal;
    width: 100px;
}
.btn-esatta {
    background-color: green !important;
    color: black;
    min-width: 100%;
    white-space: normal;
    width: 100px;
}

    .btn-secondary.disabled {
        background-color: lightblue;
        color: steelblue;
        min-width: 100%;
    }

.field-validation-error {
    color: #dc3545;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:active {
    background-color: steelblue;
    color: black;
}

.btn-check:checked + .btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check) + .btn:hover {
    background-color: steelblue;
    color: black;
}

.btn-primary {
    --bs-btn-color: black;
    --bs-btn-bg: steelblue;
    --bs-btn-border-color: steelblue;
    --bs-btn-hover-color: black;
    --bs-btn-hover-bg: steelblue;
    --bs-btn-hover-border-color: steelblue;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: black;
    --bs-btn-active-bg: steelblue;
    --bs-btn-active-border-color: steelblue;
    --bs-btn-active-shadow: inset 0 3px 5pxrgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: steelblue;
    --bs-btn-disabled-border-color: steelblue;
}

.adminnews div {
    overflow-x: auto;
    padding-left: 5px !important;
    white-space: nowrap;
    font: initial;
    border: 1px solid lightgray;
}

.datanews {
    font-size: 10px;
    font-weight: bold;
}

.newsimage {
    overflow: hidden;
    position: relative;
    height: 150px;
}

    .newsimage img {
        position: absolute;
        left: 50%;
        top: 50%;
        display: block;
        max-width: none;
        max-height: 100%;
        width: auto;
        height: auto;
        -webkit-transform: translate(-50%,-50%);
        -ms-transform: translate(-50%,-50%);
        transform: translate(-50%,-50%);
    }

.news2 {
    font-family: auto;
    border: 1px solid lightgray;
    margin-top: -1px !important;
    border-radius: 5px;
}

.title {
    font-weight: bold;
}

table {
    width: 100% !important;
    color: white !important;
}

.dl-horizontal {
    color: white !important;
}

.alert-warning {
    --bs-alert-color: steelblue !important;
    --bs-alert-bg: black !important;
    --bs-alert-border-color: black !important;
    margin: 2px !important;
}


.center {
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner {
    width: 100%;
    border: solid 2px;
    background-image: url('../images/internet.jpeg');
    margin-bottom: 0.5% !important;
}
    .banner a {
        height: 60px;
        display: flex;
        align-items: center;
        padding: 10px;
        text-decoration: none;
        color: steelblue;
    }
#video-container {
    border-radius: 50%;
    width: 600px;
    height: 600px;
    /* add more styles here, such as background-color, border, etc. */
}
#video-container {
    border-radius: 50%;
    width: 600px;
    height: 600px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
#video-container {
    border-radius: 50%;
    width: 80vw;
    height: 80vw;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 768px) {
    #video-container {
        width: 50vw;
        height: 50vw;
    }
}

@media screen and (min-width: 1024px) {
    #video-container {
        width: 40vw;
        height: 40vw;
    }
}
.videocol {
    padding: 2px !important;
}
.videosections {
    border: solid 1px;
    height: 179px !important;
}
    .videosections a {
        height: 179px !important;
    }
    .videosections h4 {
        position: absolute;
        color: white;
        bottom: 5px;
        font-size: 13px;
    }
.showvideo {
    width: 100%;
    display: inline-flex;
}