@import url('https://fonts.googleapis.com/css2?family=Domine:wght@400;700&display=swap');

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    vertical-align: baseline;
}

html, body{
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    font-family: 'Domine', serif;
    background: #fafefd;
}

.clear{
    clear: both;
}

.w-100{
    width: 100%;
}

.w-40{
    width: 40%;
}

.w-60{
    width: 60%;
}

.imgrel{
    /* border: 5px solid #6e9bba;
    border-radius: 50%; */
}

.spacer{
    width: 100%;
    height: 3em;
}

.container-all {
    width: 100%;
    min-height: 100%;
    position: relative;
}

#header{
    width: 100%;
    position: relative;
}

#header img{
    width: 100%;
}


.logo-container{
    background: #00457C;
    margin: 2% 0 0 0;
    width: 30%;
    float: right;
    padding: 1em;
}

.logo-container img{
    width: 30%;
}

.menu-container{
    position: relative;
    display: table;
    float: left;
    width: 70%;
    margin: 2% 0 0 0;
    padding: 1em;
    background: #00457C;
    /*background: rgba(0,121,58,.7);*/
}

.menu-desktop{
    width: 100%;
    height: 100%;
    position: relative;
    display: table-cell;
    vertical-align: middle;
    padding-left: 10em;
}

.menu-desktop ul {
    list-style: none;
    display: block;
    position: relative;
    width: 100%;
    -webkit-transition: all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -moz-transition: all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -ms-transition: all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
    -o-transition: all 600ms cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.menu-desktop ul li {
    display: inline-block;
    margin-right: 2%;
}

.menu-desktop ul li a {
    color: #FFF;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 0 .2rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.text-container{
    padding: 2em 0;
    position: relative;
}

.loading{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 10;
    background: rgba(255,255,255,.5);
}

.loader {
    position: absolute;
    left: 48%;
    top: 30%;

    border-top: 6px solid #65AC1E;
    border-right: 6px solid #F39500;
    border-bottom: 6px solid #C50022;
    border-left: 6px solid #21A0D2;

    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-container h1{
    font-size: 2em;
    font-weight: 700;    
    color: rgba(0, 69, 124, .7);
    margin-bottom: .2em;
    letter-spacing: .2rem;
}

.text-container h2{
    font-size: 1.5em;
    font-weight: 700;
    /*color: #00793A;*/
    color: #00457C;
    margin-bottom: .2em;
}

.text-container .titolotappo{
    position: absolute;
    background: rgba(255,255,255,.7);
    color: #00457C;
    font-size: 1.8em;
    padding: 1em;
    top: 30%;
    left: 15%;
    width: 70%;
    height: auto;
    line-height: 1em;
    font-weight: 700;
}

.text-container h2.datatappo{
    font-size: 1.6em;
    margin-top: 1em;
    position: absolute;
    /*background: #fafefd;*/
    background: white;
    bottom: 0;
    margin-bottom: 0;
    width: 100%;
    padding: 0.5em;
}

.divbanner{
    margin-bottom: 1em;
}

.text-container .titolobanner{
    position: absolute;
    background: rgba(255,255,255,.7);
    color: #00457C;
    font-size: 1.35em;
    padding: 1em;
    top: 25%;
    left: 5%;
    width: 90%;
    height: auto;
    line-height: 1em;
    font-weight: 700;
}

.text-container h3{
    font-size: 1.25em;
    font-weight: 400;
    color: #00457C;
    margin-bottom: .2em;
}

.text-container p{
    color: #4c7da5;
}

.text-container a{
    /*color: #00793A;*/
    color: #00457C;
}

.jobtitle{
    color: #6e9bba;
    font-size: .9em;
    margin-top: .5em;
}

.gotolive{
    background: #00457C;
    color: white !important;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    padding: .5em 1em;
    width: 245px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    display: block;
    box-shadow: 0 0 0 0.5px rgba(50,50,93,.17), 0 2px 5px 0 rgba(50,50,93,.1), 0 1px 1.5px 0 rgba(0,0,0,.07), 0 1px 2px 0 rgba(0,0,0,.08), 0 0 0 0 transparent!important;
    margin-top: .5em;
    text-align: center;
    font-weight: 700;
}
.linkintervento{
    background: #00457C;
    color: white !important;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    padding: .5em 1em;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 0 0 0.5px rgba(50,50,93,.17), 0 2px 5px 0 rgba(50,50,93,.1), 0 1px 1.5px 0 rgba(0,0,0,.07), 0 1px 2px 0 rgba(0,0,0,.08), 0 0 0 0 transparent!important;
    margin-top: .5em;
    text-align: center;
    font-weight: 700;
}
.gotodownload{
    background: #00457C;
    color: white !important;
    font-size: 15px;
    text-decoration: none;
    border: 1px solid transparent;
    padding: .5em 1em;
    width: 174px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    box-shadow: 0 0 0 0.5px rgba(50,50,93,.17), 0 2px 5px 0 rgba(50,50,93,.1), 0 1px 1.5px 0 rgba(0,0,0,.07), 0 1px 2px 0 rgba(0,0,0,.08), 0 0 0 0 transparent!important;
    margin-top: .5em;
    text-align: center;
    font-weight: 700;
}

.bt-admin{
    background: #00457C;
    color: white;
    padding: 0.5em 1em;
    margin: 1em 0 2em 0;
    display: inline-block;
}

hr{
    border-top: 2px solid #4c7da5;
}

label{
    font-weight: 400;
    color: #000000;
    font-size: .9em;
}


.checkbox{
    float: left;
    margin: 0;
}

.checkbox label{
    padding-left: 2.5rem;
    line-height: 2.2rem;
    font-size: 1.2rem;
}

.checkbox input[type=checkbox], .checkbox-inline input[type=checkbox], .radio input[type=radio], .radio-inline input[type=radio]{
    margin-left: -2.5rem;
}

.checkbox-box-first {
    position: absolute;
    top: .3rem;
    left: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: .3rem;
    border:1px solid #000000;
    background: #e8e8e8;
}


[type="checkbox"]:checked ~ .checkbox-box-first>div, [type="radio"]:checked ~ .checkbox-box-first>div {
    position: absolute;
    top: 40%;
    left: 50%;
    width: 1rem;
    height: .6rem;
    border-bottom: 2px solid #FFF;
    border-left: 2px solid #FFF;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

[type="checkbox"]:checked ~ .checkbox-box-first, [type="radio"]:checked ~ .checkbox-box-first {
    background: #000000;
}


.checkbox-box {
    position: absolute;
    top: .3rem;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: .3rem;
    border:1px solid #4c7da5;
    background: #FFF;
}

[type="checkbox"]:checked ~ .checkbox-box>div, [type="radio"]:checked ~ .checkbox-box>div {
    position: absolute;
    top: 40%;
    left: 50%;
    width: .5rem;
    height: .3rem;
    border-bottom: 2px solid #FFF;
    border-left: 2px solid #FFF;
    -webkit-transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
    transform: translate(-50%, -50%) rotate(-45deg);
}

[type="checkbox"]:checked ~ .checkbox-box, [type="radio"]:checked ~ .checkbox-box {
    background: #4c7da5;
}

.label-option{
    font-size: .9rem;
    padding-left: 25px !important;
    padding-top: 8px !important;
}

form p{
    font-size: .9rem;
    color: #000000;
}

form a{
    color: #000000;
    text-decoration: underline;
}

.btn{
    background: #4c7da5;
    color: white;
    border-radius: 20px;
}

.form-input{
    background: #4c7da5;
    color: white;
    border-radius: 20px;
    border: 1px solid #4c7da5;
    box-shadow: none;
}

.form-input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: white;
}
.form-input::-moz-placeholder { /* Firefox 19+ */
  color: white;
}
.form-input:-ms-input-placeholder { /* IE 10+ */
  color: white;
}
.form-input:-moz-placeholder { /* Firefox 18- */
  color: white;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #4c7da5;
    opacity: .5;
}

.blu{
    color: #00457C !important;
}

.footer{
    width: 100%;
    padding: 1.2em 2em;
    background: #fafefd;
    color: #4c7da5;
    font-size: .85em;
}

.footer a{
    color: #4c7da5;
}

.table{
    border-collapse: collapse;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    border-top: none;
}

.table-striped>tbody>tr:nth-of-type(odd) {
    /*background-color: rgba(101, 172, 30, .3);*/
}

.table-agenda2>tbody>tr>td, .table-agenda2>tbody>tr>th, .table-agenda2>tfoot>tr>td, .table-agenda2>tfoot>tr>th, .table-agenda2>thead>tr>td, .table-agenda2>thead>tr>th {
    border: none !important;
}

.td-data{
    text-align: center;
    font-size: 1.1em;
    vertical-align: top !important;
    border-right: 1px solid rgba(0,0,0,.6) !important;
    border-bottom: 1px solid rgba(0,0,0,.6) !important;
    border-left: 1px solid rgba(0,0,0,.6) !important;
}

.tdorario{
    width: 10%;
    text-align: center;
    /*border-right: 1px solid #000000;
    border-left: 1px solid #000000;*/
    border-bottom: 1px solid #000000;
    border-top: none;
    font-size: 1.1em;
}
.tdsessione{
    width: 90%;
    border-bottom: 1px solid #000000;
    border-top: none;
}
.tdrelatore{
    width: 45%
}

.divrelatore p{
    font-size: 1em;
    margin-top: 1em;
}

.divvideo p{
    font-size: 1.05em;
    margin-top: .6em;
    line-height: 1.2em;
}

.divvideo a{
    cursor: pointer;
    text-decoration: none;
}

.divvideo .relatore{
    font-size: .85em;
    font-weight: 400;
    color: black;
    line-height: 1.4em;
}

.titolosessione{
    color: #00457C;
    font-size: 1.3em;
    font-weight: 700;
}

.linkaccedi{
    background: #00457C;
    color: white !important;
    padding: .5em 1em;
    font-size: 1.2em;
    width: 100%;
    display: block;
    text-align: center;
}

#login-container {
    height: 2rem;
    background: #4c7da5;
    color: white;
    width: 100%;
    position: relative;
    padding-right: 2em;
}

#login-container a {
    color: white !important;
}

.user-text {
    line-height: 2rem;
    position: relative;
    color: #FFF !important;
    font-weight: 700;
    font-size: .8rem !important;
    position: relative;
    margin: 0;
    display: inline-block;
}

.user-text span{
    margin-left: 2rem;
}

.anno {
    font-size: 1.4em;
}

.td-spazio {
    text-align: center;
    font-size: 1.2em;
    vertical-align: bottom !important;
    border-right: 1px solid rgba(0,0,0,.6) !important;
    border-left: 1px solid rgba(0,0,0,.6) !important;
}

.relatore{
    font-weight: 700;
    font-size: 1.15em;
}

.affiliazione{
    /*font-style: italic;*/
    /*font-size: .75em;*/
    font-size: 1.15em;
}

#snackbar {
    visibility: hidden; /* Hidden by default. Visible on click */
    min-width: 250px; /* Set a default minimum width */
    margin-left: -125px; /* Divide value of min-width by 2 */
    background-color: #00457C; /* Black background color */
    color: #fff; /* White text color */
    text-align: center; /* Centered text */
    border-radius: 2px; /* Rounded borders */
    padding: 16px; /* Padding */
    position: fixed; /* Sit on top of the screen */
    z-index: 999; /* Add a z-index if needed */
    left: 50%; /* Center the snackbar */
    bottom: 30px; /* 30px from the bottom */
    font-size: 1.6rem;
}

.error-bg{
    background: rgb(221,44,0) !important;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
    visibility: visible; /* Show the snackbar */

    /* Add animation: Take 0.5 seconds to fade in and out the snackbar. 
    However, delay the fade out process for 2.5 seconds */
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3.5s;
    animation: fadein 0.5s, fadeout 0.5s 3.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}


.domanda{
    width: 100%;
    padding: 1.1rem;
    border-bottom: 1px solid #000;
    font-size: 1.2rem;	
    position: relative;
}

.container-domande.dom-lette .domanda.nuove, .container-domande.dom-nuove .domanda.lette, .container-domande.dom-nuove .domanda.approved, .container-domande.dom-nuove .domanda.notapproved{
    display: none;
}

.container-domande.dom-approved .domanda.nuove, .container-domande.dom-approved .domanda.notapproved, .container-domande.dom-notapproved .domanda.nuove, .container-domande.dom-notapproved .domanda.approved{
    display: none;
}

.domanda.nuove p{
    padding-right: 15rem;
}

.domanda span{
    display: none;
}

.domanda.nuove span{
    display: block;
    position: absolute;
    right: .3rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    font-size: .9rem;
    padding: .5rem;
    border-radius: .3rem;
    background: #0f7c2d;
    color: #FFF;
    cursor: pointer;
}

.info-dom{
    text-align: right;
    font-size: 1rem;
    margin-top: .5rem;
}


.domanda.nuove span.approva{
    /*position: relative;*/
    display: inline-block;
    margin: 0 .3rem;
    right: 6rem;
}
.domanda.nuove span.nonapprova{
    /*position: relative;*/
    display: inline-block;
    margin: 0 .3rem;
    background: red;
}

#menu-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #FFF;
    -webkit-box-shadow: 3px 5px 6px 0px rgb(0 0 0 / 38%);
    box-shadow: 3px 5px 6px 0px rgb(0 0 0 / 38%);
}

#menu-spacer {
    position: relative;
    width: 100%;
    height: 7.5rem;
}

#menu-spacer-domande {
    position: relative;
    width: 100%;
    height: 3.5rem;
}

#menu-fixed .menu-container{
    background: white;
}

#menu-fixed .menu-desktop ul li a{
    color: black;
}

#streaming-link{
    visibility: hidden;
}

.close {
    background: #00457C !important;
    opacity: 1;
    height: 40px;
    width: 40px;
    position: absolute;
    color: white;
    right: 0;
    z-index: 99;
    border-radius: 30px;
    margin-top: -25px;
    margin-right: -25px;
    font-size: 30px;
}

.div-agenda{
    font-size: 1.2rem;
    text-align: center;
    padding: 2em 0 3em 0;
}

.div-agenda hr{
    width: 30%;
}

.div-agenda strong{
    color: #00467c;
}
.div-img {
    width: 120px;
    height: 120px;
    margin: 10px;
    background-position: center;
    background-size: cover;
    display: inline-block;
}
.div-img a {
    width: 120px;
    height: 120px;
    display: block;
}