@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&family=Nunito:ital,wght@0,200;0,400;0,700;0,1000;1,200;1,400;1,700;1,1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat&family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,1000&display=swap');

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6em;
    font-size: 19px;
    margin: 0 auto;
    color: var(--w-color-text);
    background-color: var(--w-color-bg);
    padding: 0px !important;
}

/* ---------- UTILITY ---------- */
.w-100 { width: var(--w-100); !important; }
.w-90 { width: var(--w-90) !important; }
.w-80 { width: var(--w-80) !important; }
.h-100 { height: 100% !important; }
.top-0 { top: 0px !important; }
.bottom-0 { bottom: 0px !important; }
.left-0 { left: 0px !important; }
.right-0 { right: 0px !important; }
.top-10 { top: 10px !important; }
.bottom-10 { bottom: 10px !important; }
.left-10 { left: 10px !important; }
.right-10 { right: 10px !important; }
.position-fixed { position: fixed !important;}
.position-relative { position: relative !important;}
.position-absolute { position: absolute !important;}
.overflow-auto { overflow: auto !important; }
.z-index-99999 { z-index: 99999 !important; }
.z-index-9999 { z-index: 9999 !important; }
.z-index-999 { z-index: 999 !important; }
.z-index-99 { z-index: 99 !important; }
.z-index-9 { z-index: 9 !important; }
.display-top {display: inline-block !important; vertical-align: top !important;}
.display-middle {display: inline-block !important; vertical-align: middle !important;}
.display-bottom {display: inline-block !important; vertical-align: bottom !important;}
.display-inline {display: inline !important; vertical-align: top !important;}
.display-flex { display: var(--flex); flex-wrap: inherit; align-items: center; justify-content: space-between; }
.display-none {display: none !important;}
.display-block {display: block !important;}
.text-center { text-align: center !important;  }
.text-left { text-align: left !important;  }
.text-right { text-align: right !important;  }
.font-style-i { font-style: italic;  }
.cursor-pointer { cursor:pointer; }
.clearout { clear:both; }

.pbottom { padding-bottom: 20px !important }
.p0 { padding:var(--p0) !important }
.p5 { padding: var(--p5) !important; }
.p10 { padding: var(--p10) !important; }
.p15 { padding: var(--p15) !important; }
.p20 { padding: var(--p20) !important; }
.p25 { padding: var(--p25) !important; }
.p30 { padding: var(--p30) !important; }
.p35 { padding: var(--p35) !important; }
.p40 { padding: var(--p40) !important; }
.p45 { padding: var(--p45) !important; }
.p50 { padding: var(--p50) !important; }
.p55 { padding: var(--p55) !important; }
.p60 { padding: var(--p60) !important; }

.m0 { margin: 0px !important; }
.mAuto { margin: var(--mAuto) !important; }
.m5 { margin: var(--m5) !important; }
.m10 { margin: var(--m10) !important; }
.m15 { margin: var(--m15) !important; }
.m20 { margin: var(--m20) !important; }
.m25 { margin: var(--m25) !important; }
.m30 { margin: var(--m30) !important; }
.m35 { margin: var(--m35) !important; }
.m40 { margin: var(--m40) !important; }
.m45 { margin: var(--m45) !important; }
.m50 { margin: var(--m50) !important; }
.m55 { margin: var(--m55) !important; }
.m60 { margin: var(--m60) !important; }

.space { padding: var(--p15) 0px !important;  }
.space-10 { padding: var(--p10) 0px !important;  }
.space-15 { padding: var(--p10) 0px !important;  }
.space-20 { padding: var(--p20) 0px !important;  }

.font-size-h1-small { font-size: var(--font-h1-small); }
.font-size-h2-small { font-size: var(--font-h2-small); }
.font-size-h3-small { font-size: var(--font-h3-small); }
.font-size-h4-small { font-size: var(--font-h4-small); }

.font-size-h1 {}
.font-size-h2 {}
.font-size-h3 {}
.font-size-h4 {}


/* ---------- TEXT ---------- */

.font-option { font-size: var(--font-option); font-weight: 600 !important; } 
.font-small { font-size: var(--font-small); font-weight: 500 !important; } 

h1, .h1 { font-size: var(--font-h1); font-weight: 700; color: var(--w-color-1); padding: 0px; margin: 0px; padding-bottom:  0px;line-height: 1.4em; } 
h2, .h2 { font-size: var(--font-h2); font-weight: 600; color: var(--w-color-1); padding: 0px; margin: 0px; padding-bottom: 0px; line-height: 1.2em;} 
h3, .h3 { font-size: var(--font-h3); font-weight: 600; color: var(--w-gray-400); padding: 0px; margin: 0px; margin-top: 20px;}
h4, .h4 { font-size: var(--font-h4); font-weight: 400; color: var(--w-gray-600); padding-top: 5px; margin: 5px 0px;}



p { font-size: 1em; padding-bottom: var(--p10); padding-top: var(--p5); }
p strong { font-weight: 600; color: var(--w-color-text-bold); }
p sup, p strong sup, p span sup { color: var(--w-color-text-apici); }
p sub, p strong sub, p span sub { color: var(--w-color-text-apici); }
span {  }

.ck.ck-editor__editable_inline[dir="ltr"] { color: black; }

a {margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
a { text-decoration: none; border-bottom: 2px solid var(--w-color-1); font-weight: 600; color: var(--w-color-1); }
a:hover { border-bottom: 2px solid var(--w-color-hover); font-weight: 600; color: var(--w-color-hover); }
.ts-wrapper.plugin-remove_button:not(.rtl) .item .remove { border-bottom:none; }

hr { border: 0; border-top: 1px solid var(--w-gray-300); margin: 40px 0px }
hr.hr0 { border: 0; border-top: 1px solid var(--w-gray-300); margin: 0px 0px }
hr.hr10 { border: 0; border-top: 1px solid var(--w-gray-300); margin: 10px 0px }
hr.hr20 { border: 0; border-top: 1px solid var(--w-gray-300); margin: 20px 0px }
hr.color { border: 0; border-top: 1px solid var(--w-color-1); }
.hr-col { border: 0; border-top: 1px solid var(--w-color-1); }
hr.bg4 { border: 0; border-top: 1px solid var(--w-color-4);  }

.column-1 { -moz-column-count: 1; -moz-column-gap: 1em; -webkit-column-count: 1; -webkit-column-gap: 1em; column-count: 1; column-gap: 1em; }
.column-2 { -moz-column-count: 2; -moz-column-gap: 1em; -webkit-column-count: 2; -webkit-column-gap: 1em; column-count: 2; column-gap: 1em; }
.column-3 { -moz-column-count: 3; -moz-column-gap: 1em; -webkit-column-count: 3; -webkit-column-gap: 1em; column-count: 3; column-gap: 1em; }
.column-4 { -moz-column-count: 4; -moz-column-gap: 1em; -webkit-column-count: 4; -webkit-column-gap: 1em; column-count: 4; column-gap: 1em; }

@media screen and (max-width: 800px){
    .column-1, .column-2, .column-3, .column-4 { -moz-column-count: 2; -moz-column-gap: 2em; -webkit-column-count: 2; -webkit-column-gap: 2em; column-count: 2; column-gap: 1em; }
}
ul { padding-left: 15px; }

/* ---------- IMMAGINI ---------- */


.w-crop { position: relative; overflow:hidden; width: 100%; }
.w-crop-ball { position: relative; overflow:hidden; width: 100%; border-radius: 50%; }
.w-crop img, .w-crop video, .w-crop-ball img { 
    position: absolute; top:50%; left:50%; -webkit-transform:translate(-50%,-50%); -ms-transform:translate(-50%,-50%);transform:translate(-50%,-50%); 
    -o-object-fit:cover; object-fit:cover; width: 100%;}

video { width:100% !important;}

.video-cont {
    width: 100%;
    height: 100vh;
    position: relative;
}
.video-parallax {
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: 700px;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
  transition: 1s opacity;
  overflow: hidden;
  position: absolute;
}

.w-crop-sq, .w-crop-sq img, .w-crop-sq video, .w-crop-sq iframe { aspect-ratio: 1/1; }
.w-crop-h-rect, .w-crop-h-rect img, .w-crop-h-rect video, .w-crop-h-rect iframe { aspect-ratio: 2/1; }
.w-crop-h-rect-2, .w-crop-h-rect-2 img, .w-crop-h-rect-2 video, .w-crop-h-rect-2 iframe { aspect-ratio: 12/9; }
.w-crop-v-rect, .w-crop-v-rect img, .w-crop-v-rect video, .w-crop-v-rect iframe { aspect-ratio: 3/5; }
.w-crop-land, .w-crop-land img, .w-crop-land video, .w-crop-land iframe { aspect-ratio: 4/1; }
.w-crop-video, .w-crop-video img, .w-crop-video video, .w-crop-video iframe { aspect-ratio: 16/9; }

.w-cover { 
    border-radius: 0px;
}
.w-cover.small { 
    border-radius: 20px;
}
.w-cover-swadow { 
    border-radius: 10px;
    box-shadow: 2px 2px 3px var(--w-gray-300); 
}


/* ---------- BOX UNIVERSALI ---------- */

.box-bg-1 { padding: 0px 5px; background-color: var(--w-gray-200); }
.box-bg-2 { padding: 0px 5px; background-color: var(--w-gray-200); }
.box-bg-3 { 
    padding: 0px 15px; 
    background-color: var(--w-color-2); 
    border-top-right-radius : 15px;
    border-bottom-right-radius : 15px;
    color: var(--sup);
}
.box-bg-4 { 
    padding: var(--p20); 
    border-radius: 15px;
    border: 1px solid var(--w-gray-300);
    margin-bottom: var(--m20);    
}
.box-bg-5 { 
    padding: var(--p20); 
    background-color: var(--w-color-1); 
  
}
.box-allegati {  }
.box-account-img { width: 50px; height: 50px; }

.box-wiki-1 { padding: 0px; background-color: var(--w-gray-100); border-radius: 15px;}
.box-wiki-testo {padding: 30px;}

.box-936, .box-100, .box-80, .box-70, .box-60, .box-50, .box-30, .box-25, .box-20,
.box-col-936, .box-col-100, .box-col-80, .box-col-70, .box-col-50, .box-col-30, .box-col-25, .box-col-20 { 
    margin: 0px; 
    
}

.box-contain { 
    display: var(--flex);
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap:wrap;
 }



.box-auto, .box-10, .box-20, .box-25, .box-30, .box-33, .box-40, .box-60, 
.box-50, .box-70, .box-80, .box-90, .box-30-form, .box-20-form, .box-50-form { display: inline-block; vertical-align: top;}


.box-auto { width:auto; margin: var(--m10); }
.box-936 { width: var(--w-936); margin:0 auto; }
.box-10 { width: calc(calc(var(--w-10) - 8px) - calc(var(--m10)*1)); }
.box-20 { width: calc(calc(var(--w-20) - 5px) - calc(var(--m10)*1)); }
.box-25{ width: calc(calc(var(--w-25) - 4px) - calc(var(--m10)*1)); }
.box-30 { width: calc(calc(var(--w-30) - 3px) - calc(var(--m10)*1)); }
.box-33 { width: calc(calc(var(--w-33) - 3px) - calc(var(--m10)*1)); }
.box-40 { width: calc(calc(var(--w-40) - 3px) - calc(var(--m10)*1)); }
.box-50{ width: calc(calc(var(--w-50) - 3px) - calc(var(--m10)*1)); }
.box-60 { width: calc(calc(var(--w-60) - 3px) - calc(var(--m10)*1)); }
.box-70 { width: calc(calc(var(--w-70) - 2px) - calc(var(--m10)*1)); }
.box-80{ width: calc(calc(var(--w-80) - 3px) - calc(var(--m10)*1)); }
.box-90{ width: calc(calc(var(--w-90) - 3px) - calc(var(--m10)*1)); }
.box-100{ width: calc(calc(var(--w-100)- 1px) - calc(var(--m10)*1)); }
.box-30-form { width: calc(calc(var(--w-33) - 3px) - calc(var(--m5)*1)); margin: var(--m0) var(--m5) var(--m0) var(--m0); position: relative;}
.box-20-form { width: calc(calc(var(--w-15) - 5px) - calc(var(--m10)*2)); margin: var(--m0) var(--m5) var(--m0) var(--m0); position: relative;}
.box-50-form { width: calc(calc(var(--w-50) - 3px) - calc(var(--m10)*2)); margin: var(--m0) var(--m5) var(--m0) var(--m0); position: relative; }

.box-10, .box-20, .box-25, .box-30, .box-33, .box-40, .box-50, .box-60, .box-70, .box-80, .box-90, .box-100
{ margin: var(--m10); margin-left: 0px; }

.box-accoding2 { height: 0px; overflow: hidden; transition: 0.5s; }
.box-accoding2.active { height: 100%; transition: 0.5s;}


@media screen and (max-width: 800px){
    .box-auto, .box-10, .box-20, .box-25, .box-30, .box-33, .box-40, .box-60, 
    .box-50, .box-70, .box-80, .box-90, .box-30-form, .box-20-form, .box-50-form { width: var(--w-100);}
    }


#titoloar1 { padding-bottom: var(--p20); }

/* ---------- HEADER ---------- */


@media only screen and (min-width: 801px) and (max-width: 6000px) {

    .header-long { 
        width: var(--w-100);
        background-color: var(--w-header-color); 
        color: var(--sup); 
        height: var(--h-header);
        position: fixed;
        top:0;
        text-align: center;
        

    }
    .header-long.small { 
        background-color: var(--w-header-color-small); 
        height: var(--h-header-small);
        box-shadow: 0px 1px 10px var(--w-gray-300);
        position: fixed;
        top:0;

    }
    .header-interno { 
        width: auto;
        max-width: var(--main-max);
        margin:0 auto; 
        padding: var( --padding-menu-1);
        padding-top: var(--h-header-padding);
    }
    .header-interno.small { width: auto; margin:0 auto; padding-top: 10px;} 

    .header-superiore { background-color: var(--w-gray-900); top: 0px; text-align: center; }
    .header-superiore.small { top: -50px;}
    .header-superiore-interno { padding: 0px 20px; }
    .header-superiore-interno a { color: var(--sup); border:none; } 
    .header-superiore-interno i { padding: 0px 5px } 


    .logo-header { top: 0px; position:relative; }
    .logo-header.small { top: -100px; position:relative;  } 
    .logo-header img { height: 80px;  }
    .logo-header.small img { height: 80px;   }

    .logo-header-small { top: -150px; position:relative; }
    .logo-header-small.small { top: 10px; right: 0px}
    .logo-header-small img { height: 0px;  }
    .logo-header-small.small img { height: 40px;  }

    .text-header {padding: 0px; color: var(--w-gray-900); position:relative; top: -7px }
    .text-header.small { top: -150px; }

}


.image img { width: var(--w-100); }
.image { 
    margin-left: 0px;
    margin-right: 0px; } 

/* ---------- FOOTER ---------- */

#footer { 
    background-color: var(--w-color-1);
    padding: 60px 0px;
}
#footer img { height: 60px; }
#footer p { 
    font-size: 0.8em; 
    font-weight: 400;
    color: var(--sup);
    line-height: 1.5em;
}
#footer .box-40, #footer .box-30 { 
    border-left: 1px solid var(--sup);
 }

 #footer .box-40 p,  #footer .box-30 p { 
    padding-left: 20px;
}

#footer p strong {
    font-weight: 800;
}



/* ---------- LOGIN HEADER ---------- */


.login-header { 
    float: right; 
    text-align: center; 
    margin-top: var(--m15);
    background-color: transparent;
    padding: var(--p5);
    border-radius: 35px;

}
.login-header.small {
    margin-top: 0px;
 }


.login-header:hover { 
    background-color: var(--w-color-1);
    color: var(--sup);
 }
.login-header a { text-decoration:none; border-bottom: none; }
.login-header-img { 
    width: var(--m25);
    height: var(--m25);
    border: 2px solid black;
    border-radius: var(--radio-35);
    padding: var(--p5); 

}

.login-header:hover .login-header-img { border: 2px solid white; }
.login-header:hover a { color: white; }

.login-header.small .login-header-text { font-size: 0em }

.login-header-text { 
    width: var(--w80); 
    padding-right: var(--p10);
}

@media screen and (max-width: 800px) {

    .logo-header img { height: 60px;  }
    .logo-header.small { 
        position: fixed;
        top: 10px;
        z-index: 99999;
        margin: 0 auto;
        left: 50%;
        transform: translate(-50%,0%);
     } 
    .logo-header.small img { height: 40px;  }
    .login-header { margin-top: var(--m0) !important; }
    .logo-header-small { display: none;}

    .header-interno { 
    width: auto;
    max-width: var(--main-max);
    margin:0 auto; 
    padding: var( --padding-menu-1);
    padding-top: var(--h-header-padding);
    margin-top: 50px;
    text-align: center;
    }

}


/* ---------- BUTTON ---------- */

button { 
    cursor:pointer; border: none;
    background-color: transparent;
    padding: 0px; 
    color: var(--sup);
    
}
button:hover { color: var(--w-color-1); }

button a, button a:hover  { text-decoration: none; border:none; padding: none; color: var(--sup); }

.button { width: auto !important; }

.w-button { 
    display: inline-block;
    vertical-align: middle;
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    border: 0px;
    cursor: pointer;
}

.w-button-long { 
    display: inline-block;
    vertical-align: middle;
    padding: 8px 20px;
    border-radius: 35px;
    border: 0px;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--font-button);
    margin-bottom: var(--m5);
    width: auto;
}

.w-button-circle-function {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 0px;
  cursor: pointer;
  font-size: 1em;
  text-align: center;
  line-height: 1.8em;
}

.w-button-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0px;
  cursor: pointer;
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 2em;
  text-align: center;
}

.w-button i { font-size: 1.1em }
.w-button-long i { padding-right: 10px }
.w-button-circle i, .w-button-circle a i { margin-top: 12px; }
 
.w-button-accoding {  }
.w-button-accoding:hover { 
    color: var(--w-color-2) 
}

.w-button:hover, 
.w-button-long:hover,
.w-button-circle:hover,
.w-button-circle-function:hover { 
    background-color: var(--w-color-hover) !important; 
    color: var(--sup) !important;
    box-shadow: none;
    border: none;
}

.w-button.disattivata { color: var(--admin-bg-3); }

.w-button-1 { background-color: var(--w-color-2); color: var(--sup); }
.w-button-2 { background-color: var(--w-color-1); color: var(--sup); }
.w-button-3 { background-color: var(--w-color-3); color: var(--sup); }
.w-button-4 { background-color: var(--w-color-4); color: var(--sup); }
.w-button-red { background-color: var(--button-red); color: var(--sup); }
.w-button-search { background-color: var(--w-color-1); color: var(--sup); }

.w-button-2:hover { background-color: var(--w-color-2) !important; color: var(--sup); }

/* ---------- ICON ---------- */

.w-icon { 
  width: auto;
  height: 30px;
  border-radius: 35px;
  // border: 1px solid var(--w-color-2);
  font-size: 1em;
  text-align: left;
  padding: 0px 18px;
  margin-top: 10px;
  background-color:var(--w-gray-100) ;
  }

.w-icon-list { width: 100%;   
    // height: 30px; 
}
.w-icon-list i { padding: 6px 6px 6px 0px; width:20px; text-align:center; }


.w-icon i { padding: 6px 6px 6px 0px;  }
.w-icon-1 { background-color: var(--w-color-1); color: var(--sup); }
.w-icon-2 { background-color: var(--w-color-2); color: var(--sup); }
.w-icon-3 { background-color: var(--w-color-3); color: var(--sup); }
.w-icon-4 { background-color: var(--w-color-4); color: var(--sup); }
.w-icon-g { background-color: var(--w-gray-100); color: var(--w-color-1); }



/* ---------- INPUT E SELECT ---------- */




.w-form {  }
.ts-dropdown, .ts-control, .ts-control input { font-size: 1em !important; }
.ts-control > input { min-width: auto !important; }

.w-select .ts-control { border: none; }




input[type=text], 
input[type=select-multiple],
input[type=select-one],
input[type=tel], 
input[type=password], 
input[type=email],
input[type=date],
input[type=number] {

}


.ts-control > input[type=text], 
.ts-control > input[type=select-multiple],
.ts-control > input[type=select-one],
.ts-control > input[type=tel], 
.ts-control > input[type=password], 
.ts-control > input[type=email],
.ts-control > input[type=date],
.ts-control > input[type=number] {

}



.w-select { position:relative; margin-bottom:20px;  }
.w-select-int {
    border: 1px solid var(--w-gray-300);
    border-radius: 5px;
    background-color: transparent;
    padding: var(--p10);
    max-height: var(--h-input);
}

.ts-control input[type=select-multiple], .ts-control input[type=select-one] { 
    outline: none !important;
    background: transparent;
    border: 0;
 }

.w-input { position:relative; margin-bottom:20px; display: block; } 

.w-input input {

    outline: none !important;
    border: 1px solid var(--w-gray-300);
    border-radius: 5px;
    background-color: transparent;
    padding-left: var(--p10);
    height: var(--h-input);
    width: 98%;
    font-size: 1em;
}

.w-input input:focus, .w-input input:hover { border: 1px solid var(--w-color-2); }
.w-select-int:focus, .w-select-int:hover { border: 1px solid var(--w-color-2); }


.w-input label, .w-select label {
    position: absolute;
    top: -10px;
    font-size: 0.8em;
    left: 8px;
    background: var(--sup);
    padding: 0px 5px;
    border-radius: 5px;
}

.w-input2 label {
    display: none;
    position: absolute;
    top: -10px;
    font-size: 0.8em;
    left: 8px;
    background: var(--sup);
    padding: 0px 5px;
    border-radius: 5px;
}

.w-input i { 
    position: absolute;
    top: 23px;
    right: 10px; 
}




/* ---------- INPUT RICERCA ---------- */
.w-search {
    border-radius: 50px;
    width: calc(90% - var(--p60));
    padding-left: var(--p20);
    background: var(--w-gray-100);
}

.w-search input[type=text] { 
    height: 60px;
    width: calc(100% - var(--p60));
    padding-left: var(--p10) !important; 
    border: none;
    background-color: transparent;
    font-size: 1em;
 }

.w-search input[type=text]:focus {
    outline: none;
}
.w-search i { top: 40px }
.w-search-plus { 
    padding: 20px 0px 10px 0px;
    border-top: 1px solid var(--w-gray-100);
    border-bottom: 1px solid var(--w-gray-100);
    display:none; 
    
}

.w-search-plus.active { display: block; }


/* ---------- SELETTORE MULTIPLO INTERNO ---------- 

.ts-dropdown .optgroup-header { background-color: transparent !important; font-weight:700; color: var(--w-hover) !important; }
.ts-dropdown [data-selectable].option { padding-left:25px; }
.ts-wrapper.multi .ts-control > div {
  cursor: pointer;
  margin: -6px 3px 8px 0 !important;
  padding: 0px 6px !important;
  background-color: var(--w-gray-100) !important;
  color: var(--w-gray-900) !important;
  border-radius: 15px;
  font-size: 0.8em;
}
.ts-wrapper.multi .ts-control > div.active {
    background-color: var(--admin-bg-4) !important;
}

.ts-wrapper.multi.has-items .ts-control {
    padding-right: max(var(--ts-pr-min), var(--ts-pr-clear-button) + var(--ts-pr-caret)) !important;
    overflow: hidden;
    max-height: var(--h-input);

}

.ts-dropdown .active { 
    background-color: var(--w-color-2) !important;
    color: var(--sup) !important;
 }


.ts-dropdown-content {
    border: 1px solid var(--w-gray-100) !important;
}
.ts-dropdown { 
    box-shadow: 0 1px 4px var(--w-gray-300) !important;
 }

/* ---------- RADIO E CHECK BUTTON ---------- */

.w-check, .display-w-radio { margin: 10px 0px 40px 0px; }

/* VISUALLY HIDE THE ORIGINAL CHECKBOX/RADIOBUTTON */
.w-check input[type=checkbox],
.w-radio input[type=radio] {
    width: 1px;
    height: 1px;
    padding: 0;
    border: 0;
    margin: -1px;
    clip: rect(0,0,0,0);
    overflow: hidden;
    position: absolute;
}


label.w-check-elem, label.w-radio-elem,
label.w-check-label, label.w-radio-label {
    cursor: pointer;
    vertical-align: middle;
}


.w-radio input[type=radio], label.w-radio-label {
    vertical-align: top !important;
    display: inline-block !important;
    width: 90% !important;
}
  
/* w CHECKBOX */
label.w-check-elem, 
label.w-radio-elem { 
    display: inline-block;
    position: relative;
    margin-right: 4px;
    border: 1px solid var(--w-gray-300);
    width: 20px;
    height: 20px;
}
/* w RADIOBUTTON */
.w-radio-elem { 
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
}

/* w CHECKBOX/RADIOBUTTON CHECK */
label.w-check-elem:before,
label.w-radio-elem:before {
    content: "\00d7";
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 1.2em;
    line-height: 1.0em;
    font-weight: bold;
    text-align: center;
    color:var(--w-color-2);
}
/* w RADIOBUTTON CHECK */
label.w-radio-elem:before {
    content: "\2022";
    font-size: 1.25em;
    line-height: 0.7em;
}

/* PSEUDO ELMENT CONTENT FOR CHECKED STATE */
.w-check-input:checked + .w-check-elem:before,
.w-radio-input:checked + .w-radio-elem:before { display: block; }
.w-radio-label-titolo { margin-left: 20px; font-weight: 600; }

/* ---------- TABELLE ---------- */

table {
  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  font-size: 0.9em;
  text-align: left;
  border-radius: 10px;
}

table caption {
  font-size: 1.2em;
  margin: .5em 0 .75em;
}

table tr {
    background-color: var(--sup);
    border: 1px solid var(--w-color-4);
    padding: .35em;
}

table thead tr, table tr:nth-child(even) { background-color: var(--w-color-4); }

table th,
table td {
    padding: .625em;
}

table.table-action td:last-child, table.table-action th:last-child  { text-align: right; width: 150px;} 
table.table-action td:first-child, table.table-action th:first-child  { text-align: left; width: 100px; } 
table.table-action td:first-child { color: var(--w-hover); font-style:italic;  }



table th {
    font-size: .85em;
    letter-spacing: .1em;
    text-transform: uppercase;
    background-color: var(--colore-1);
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {
    border-bottom: 3px solid #ddd;
    display: block;
    margin-bottom: .725em;
  }
  
  table td {
    border-bottom: 1px solid #ddd;
    display: block;
    font-size: .825em;
    // text-align: right;
  }
  
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
    content: attr(data-label);
    // float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }

    table.table-action td:last-child, table.table-action th:last-child  { text-align: left; } 
    table.table-action td:first-child, table.table-action th:first-child  { text-align: left;  } 
    table.table-action td:first-child {  }

}




/* ---------- WIKI ---------- */

.ag > div > .data { margin-bottom: 5px; }
.ag > a > .box-wiki-testo > .wiki-testo { text-decoration: none; font-weight: 400; padding: 20px 0px; }
.ag > a > .box-wiki-testo > .wiki-categoria { text-decoration: none; font-weight: 400; }
.ag > a > .box-wiki-testo > .wiki-autore { text-decoration: none; font-weight: 400; }
.ag > a > .box-wiki-testo > .wiki-categoria label { text-decoration: none; font-weight: 600; }
.ag > a > .box-wiki-testo > .wiki-autore label { text-decoration: none; font-weight: 600; }
.ag > a:hover { color: var(--w-color-text); }


@media only screen and (min-width: 801px) and (max-width: 5000px){


    .ag-2 { padding-bottom:var(--p30); }
    .ag-2-color-bg:nth-child(odd) > .box-936 > .ag-2 { float: right; }
    .ag-2 .box-90, .ag-2 .box-50 { 
        margin: 0 auto !important; 
        border-radius: var(--radio-30);
        vertical-align: middle;
    }
    .ag-2 { color: var(--w-color-1);  }
    .ag-2 .box-60 > .box-wiki-testo { 
        padding: 10%; background-color: var(--sup); 
        border-top-left-radius: var(--radio-30);
        border-bottom-right-radius: var(--radio-30);
        transform: skewY(+3deg);
        transform-origin: top left;
      }

    .ag-2  .absolute-pos { 
        top: 15%; 
        left: 40%; 
        position: absolute;
    }
    .ag-2-color-bg { padding: 40px 0px; }


    .ag-2-color-bg { 
        transform: skewY(-3deg);
        transform-origin: top left;
         }

    .ag-2-color-bg .box-936 { 
        transform: skewY(0deg);
        transform-origin: top left;
         }


    .ag-2-color-bg:nth-child(2), .ag-2-color-bg:nth-child(5) { 
        background: rgb(17,24,39);
        background: linear-gradient(119deg, rgba(17,24,39,1) 0%, rgba(26,42,75,1) 100%); 
        
     }

    .ag-2-color-bg:nth-child(4) { background-color: var(--sup); }
    .ag-2-color-bg:nth-child(3) { 
        background-color: var(--w-color-4);
        
         }

    .ag-2-color-bg { background-color: var(--w-color-5); }

}

@media screen and (max-width: 800px){ 
    .ag-2  .absolute-pos { 
        top: 0%; 
        left: 0%; 
        position: relative;
    } 
}

.ag-2  .box-60 > .box-wiki-testo > .data {  }
.ag-2  .box-60 > .box-wiki-testo > h2 { 
    font-size: 2.5em; 
    line-height: 1.3em; 
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.ag-2  .box-60 > .box-wiki-testo > h3 {  padding-bottom: 40px; margin-top: 10px; color: var(--w-color-1);}
.ag-2  .box-60 > .box-wiki-testo > h4 {  padding-bottom: 40px; }
.ag-2  .box-60 > .box-wiki-testo > .wiki-testo {  }
.ag-2  .box-60 > .box-wiki-testo > .w-button-circle { top: 20px; left: 0px; position: relative !important; display: inline-block;}

.ag-3-box:nth-child(4) { margin-top: 100px; }
.ag-3-box:nth-child(5) { margin-top: 50px; }
.ag-3-box:nth-child(6) { margin-top: 0px;} 
.ag-3 > a > div > .box-wiki-testo > .data { display: none !important; }
.ag-3 > a > div > .box-wiki-testo { 
    padding: 30px;
    overflow: hidden;
    z-index: 2;
    display: block;
    position: relative;
    height: 100%;
    background: var(--w-black-gradient);
}


.ag-3 > a > div > .box-wiki-testo > h3 {
    color: var(--sup); 
    font-weight: 400; 
    
}
.ag-3 > a > div > .box-wiki-testo:hover {
    opacity: 0.9; 
    background:var(--w-color-2); 
    text-shadow: none; 
    color: var(--w-color-text);
}
.ag-3 > a > div > .box-wiki-testo > .w-button-circle { bottom: 80px; right: 20px; }
.ag-3 > a > div > .box-wiki-testo > h2 { 
    opacity: 1 !important; 
    // font-size: 2em; 
    // line-height: 1em; 
    color: var(--sup);
    // text-shadow: 1px 1px 1px var(--w-gray-900); 
}

.ag-5 > a > h1 { padding-top:20px; } 
.ag-5 > a > h3 { color: var(--w-color-1); font-size: 1em;}
.ag-5 > a > h2 { padding-bottom: 10px; padding-top:30px;}


.ap > a { text-decoration:none; border: none; }
.ap > a > .box-70 > .data { display:none !important; }
.ap > a > .box-70 > h2 { font-size: var(--font-h2-small);  }
.ap > a > .box-70 > h3 { font-size: var(--font-h3-small);  }
.ap > a > .box-70 > h4 { display:none !important; }



.al-1-2 > a > div > .box-wiki-testo > .data { display: none !important; }
.al-1-2 > a > div > .box-wiki-testo { 
    padding: 30px;
    overflow: hidden;
    z-index: 2;
    display: block;
    position: relative;
    height: 100%;
    background: var(--w-black-gradient);
}
.al-1-2 > a > div > .box-wiki-testo > h3 {
    color: var(--sup); 
    font-weight: 400; 
    //text-shadow: 1px 1px 1px var(--w-gray-900)
}
.al-1-2 > a > div > .box-wiki-testo:hover {
    opacity: 0.9; 
    background:var(--w-color-2); 
    text-shadow: none; 
}
.al-1-2 > a > div > .box-wiki-testo > .w-button-circle { bottom: 80px; right: 20px; }
.al-1-2 > a > div > .box-wiki-testo > h2, .al-1-2 > a > div > .box-wiki-testo > h3 { 
    
    padding: 10px;
    color: var(--sup);
}
.al-1-2 > a > div > .box-wiki-testo > h3 { margin-top: 5px; font-size: 1em;  }

.al-1-1 > a { text-decoration:none; border: none; }
.al-1-1 > a > .box-50 { margin: 0 !important }
.al-1-1 > a > .box-50 > .w-button-circle { bottom: -50px; right: -20px; }
.al-1-1 > a > .box-50 > .box-wiki-testo > .wiki-testo { font-weight: 400; }

.as-1 > .overwiki { padding-top: var(--p40);  }
.as-1 > div > .data { margin: 20px 0px; }
.as-1 > div > div > .box-wiki-testo { padding: 50px 0px; font-size: 1em; padding-left: 50px;}
.as-1 > div >  div > .overwiki > h1 { margin-bottom: 0px !important; padding-bottom: 0px !important; color: var(--sup); }
.as-1 > div >  div > .overwiki > h2 { font-size: 1.3em; color: var(--sup);}
.as-1 > div > h3 { margin-bottom: 0px !important; color: var(--w-gray-400); }
.as-1 > div > .wiki-categoria { text-decoration: none; font-weight: 400; }
.as-1 > div > .wiki-autore { text-decoration: none; font-weight: 400; }
.as-1 > div > .wiki-tag { text-decoration: none; font-weight: 400; }
.as-1 > div > .wiki-categoria label { text-decoration: none; font-weight: 600; }
.as-1 > div > .wiki-autore label { text-decoration: none; font-weight: 600; }
.as-1 > div > .wiki-tag label { text-decoration: none; font-weight: 600; }
.as-1 > div > .box-33 { margin: 1px; }

.as-1-box:nth-child(2n+1) > div > .wiki-correlati { float: right; }
.as-1-box div > .wiki-correlati { margin-bottom: 120px }
.as-1-box:nth-child(3n) div > .wiki-correlati > .box-40 { float:left; }
.as-1 > .as-1-box:nth-child(odd) { background: var(--w-color-4); }




.as-1 > div > .wiki-correlati > a > h1 { margin-bottom: 0px !important; padding-bottom: 0px !important;   }
.as-1 > .wiki-correlati > div > .box-wiki-testo > h2 { margin-bottom: 20px; }
.as-1 > .wiki-correlati > div > .box-wiki-testo > a > h3 { display: none; }
.as-1 > div >  .wiki-correlati > div > .box-wiki-testo > p {  
font-size: 1em;
  padding-bottom: var(--p10);
  padding-top: var(--p5);
  line-height: 1.5em;
}

.as-1 > div > .wiki-correlati > a { text-decoration: none; border-bottom: none;}
.as-1 > div > .wiki-correlati > a:hover { color: var(--w-color-text) !important; text-decoration:none; }
.as-1 > div > .wiki-correlati > a > .box-wiki-testo > .data { display:none; }
.as-1 > div > .wiki-correlati > a > .box-wiki-testo { padding: 10px 10px!important }
.mark-1 { background-color: var(--sup); }

.lms-corsi h3 { margin-bottom: 0px; }


.lms-corsi-3.box-100 { 
    margin: 0px !important;
    background-color: var(--w-gray-100);
}
.lms-corsi-3 > .box-50, .lms-corsi-3 > .box-30, .lms-corsi-3 > .box-25  { margin: 0px !important }


.lms-lezioni-box { padding: 0px 20px; border-left: 1px solid var(--w-gray-300); }

.lms-lezioni-nav { 
      border-top: 1px solid var(--w-gray-300);
  border-bottom: 1px solid var(--w-gray-300);
  margin-bottom: 40px;
 }
.lms-lezioni-nav-button { 
    border-left: 1px solid var(--w-gray-300);
    margin-left: 20px;
    padding-left: 20px;
}

.lms-relazioni > div > .box-100 { margin: var(--m0); margin-bottom: var(--m10); padding: 0px}
.lms-relazioni > div > .box-100 > div > .w-button-long { margin: 0px }




/* ---------- WIKI ---------- */



