/***
==================================================
	Root Code Variables
==================================================
***/
:root {

    --thm-font: "DM Sans", sans-serif;
    --thm-font-two: "Outfit", sans-serif;
    --thm-gray: #666666;
    --thm-gray-rgb: 102, 102, 102;
    --thm-white: #ffffff;
    --thm-white-rgb: 255, 255, 255;
    --thm-black: #006dde;
    --thm-black-rgb: 0, 44, 85;
    --thm-primary: #E3E9FF;
    --thm-primary-rgb: 227, 233, 255;
    --thm-extra: #F5F5F5;
    --thm-extra-rgb: 245, 245, 245;
}







/***
====================================================================
	Reset
====================================================================
 ***/
* {
    margin: 0px;
    padding: 0px;
    border: none;
    outline: none;
}

/***
====================================================================
	Global Settings
====================================================================
***/
body {
    font-family: var(--thm-font);
    font-size: 16px;
    color: var(--thm-gray);
    line-height: 30px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-font-smoothing: antialiased;
}

.bordered-layout .page-wrapper {
    padding: 0px 50px 0px;
}

.dark-layout {
    position: relative;
    background-color: var(--color-seven);
}



/* Preloader */
.preloader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 999999999;
    background-color: #ffffff;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/icons/preloader.svg);
    background-size: 120px;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--thm-base);
}

section {
    z-index: 1;
}

.text-right {
    text-align: right;
}

.mCSB_inside>.mCSB_container {
    margin-right: 0 !important;
}


button,
a:hover,
a:focus,
a:visited {
    text-decoration: none;
    outline: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    position: relative;
    margin: 0px;
    background: none;
    color: var(--thm-black);
    font-family: var(--thm-font-two);
}

input,
button,
select,
textarea {}

textarea {
    overflow: hidden;
}

a {
    webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

p {
    margin: 0;
}

.dark-body {}



/* Typography */
h1 {
    font-weight: 600;
    line-height: 100px;
    font-size: 100px;
}

h2 {
    line-height: 58px;
    font-weight: 600;
    font-size: 48px;
}

h3 {
    line-height: 1.3em;
    font-weight: 400;
    font-size: 32px;
}

h4 {
    line-height: 1.4em;
    font-size: 24px;
}

h5 {
    line-height: 1.4em;
    font-size: 22px;
}

h6 {
    line-height: 1.6em;
    font-size: 18px;
}



.container {
    max-width: 1200px;
    padding: 0 15px;
}

.row {
    --bs-gutter-x: 30px;
}

.gutter-y-30 {
    --bs-gutter-y: 30px;
}

.auto-container {
    position: static;
    max-width: 1340px;
    padding: 0px 15px;
    margin: 0 auto;
}

.auto-container-two {
    position: static;
    max-width: 1490px;
    padding: 0px 15px;
    margin: 0 auto;
}

.page-wrapper {
    position: relative;
    margin: 0 auto;
    width: 100%;
    min-width: 300px;
    overflow: hidden;
}



ul,
li {
    list-style: none;
    padding: 0px;
    margin: 0px;
}

img {
    display: inline-block;
    max-width: 100%;
}

.centered {
    text-align: center;
}

::-webkit-input-placeholder {
    color: inherit;
}

::-moz-input-placeholder {
    color: inherit;
}

::-ms-input-placeholder {
    color: inherit;
}



/* Bootstrap Custom Select */
.bootstrap-select .btn-light:not(:disabled):not(.disabled).active,
.bootstrap-select .btn-light:not(:disabled):not(.disabled):active,
.bootstrap-select .show>.btn-light.dropdown-toggle {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.bootstrap-select>.dropdown-toggle {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.bootstrap-select .dropdown-toggle:focus,
.bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    outline: none !important;
}

.bootstrap-select .dropdown-menu {
    border: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    z-index: 991;
    border-radius: 0 !important;
}

.bootstrap-select .dropdown-menu>li+li>a {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bootstrap-select .dropdown-menu>li.selected>a {
    background: var(--thm-black);
    color: #ffffff;
}

.bootstrap-select .dropdown-menu>li>a {
    font-size: 16px;
    font-weight: 500;
    padding: 4px 20px;
    color: #222222;
    background: #f2f2f2;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

.bootstrap-select .dropdown-menu>li>a:hover {
    background: var(--thm-black);
    color: #ffffff;
    cursor: pointer;
}




/* Custom Select */
.form-group .ui-selectmenu-button.ui-button {
    width: 100%;
    font-style: normal;
    line-height: 28px;
    font-weight: 500;
    font-size: var(--font-16);
    color: var(--color-six);
    padding: 0px 0px;
    border: 0px;
    background-color: var(--white-color);
}

.form-group .ui-button .ui-icon {
    background: none;
    position: relative;
    top: 2px;
    text-indent: 0px;
    color: #a5a5a5;
}

.form-group .ui-button .ui-icon:before {
    font-family: 'Font Awesome 5 Pro';
    content: "\f107";
    position: absolute;
    right: 0px;
    top: 2px !important;
    top: 13px;
    width: 10px;
    height: 20px;
    display: block;
    line-height: 20px;
    font-size: var(--font-16);
    font-weight: normal;
    text-align: center;
    z-index: 5;
    color: var(--color-fiftyfour);
}

.ui-menu .ui-menu-item {
    font-size: var(--font-14);
}

.ui-menu .ui-menu-item:last-child {
    border: none;
}

.ui-state-active,
.ui-widget-content .ui-state-active {
    background-color: var(--main-color) !important;
    border-color: var(--main-color) !important;
}

.ui-menu .ui-menu-item-wrapper {
    position: relative;
    display: block;
    padding: 8px 20px;
    line-height: 24px;
    font-size: var(--font-14);
}

.ui-menu-item:hover {
    background-color: var(--thm-base);
}



/* Cursor */
.cursor {
    position: fixed;
    background-color: var(--thm-base);
    width: 10px;
    height: 10px;
    border-radius: 100%;
    z-index: 1;
    -webkit-transition: 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    transition: 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    transition: 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity;
    transition: 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.3s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 10000;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.cursor.active {
    opacity: 1;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.cursor.menu-active {
    opacity: 1;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.cursor.hovered {
    opacity: 1;
}

.cursor-follower {
    position: fixed;
    background-color: var(--thm-base);
    opacity: 0.50;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    z-index: 1;
    -webkit-transition: 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background, 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    transition: 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background, 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background;
    transition: 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) transform, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) opacity, 0.2s cubic-bezier(0.75, -0.27, 0.3, 1.33) background, 0.6s cubic-bezier(0.75, -1.27, 0.3, 2.33) -webkit-transform;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    z-index: 10000;
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
}

.cursor-follower.active {
    opacity: 0.20;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.cursor-follower.menu-active {
    opacity: 1;
    -webkit-transform: scale(3);
    transform: scale(3);
}

.cursor-follower.hovered {
    opacity: 1;
}

/* Cursor End */





/***
====================================================================
	Scroll To Top style
====================================================================
***/
.scroll-to-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    color: var(--thm-base);
    font-size: 15px;
    text-transform: uppercase;
    line-height: 38px;
    text-align: center;
    z-index: 100;
    cursor: pointer;
    display: none;
    background: var(--thm-white);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
    font-family: 'Font Awesome 5 Pro';
}

.scroll-to-top:hover {
    color: var(--thm-white);
    background: var(--thm-base);
}

/* Btn Style One */
.thm-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 10px 40px 10px;
    background-color: transparent;
    color: var(--thm-white);
    font-size: 16px;
    line-height: 40px;
    font-weight: 500;
    font-family: var(--thm-font-two);
    border-radius: 20px;
    transition: all 0.3s linear;
    z-index: 0; /* basta 0 per creare stacking context */
    /* rimuovi il secondo text-transform e "math-auto" */
    text-transform: capitalize !important;
}

/* STRATO 0: base blu sotto al testo */
.thm-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: scaleX(1);
    transition: transform 800ms;
    background-color: var(--thm-base);
    z-index: 0;               /* NON negativo: evita bug con transform */
    pointer-events: none;     /* non blocca il click */
}

.thm-btn:hover::after {
    transform: scaleX(0);
    transition-duration: 1500ms;
}

/* STRATO 1: overlay nero in hover */
.thm-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    bottom: 0;
    right: 100%;
    background: var(--thm-black);
    transform: translateX(-100%);
    border-radius: 0;
    transition: transform 800ms, right 800ms, left 800ms;
    z-index: 1;
    pointer-events: none;
}

.thm-btn:hover::before {
    right: 0;
    left: 0;
    transform: translateX(0);
}

/* STRATO 2: testo sempre sopra */
.thm-btn .txt {
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 2;                 /* sopra before/after */
    color: #fff !important;     /* corregge il !important */
}

.thm-btn:hover,
.thm-btn:focus {
    color: #ffffff !important;
    box-shadow: 2px 2px 20px 0px rgba(var(--thm-black-rgb), 0.1);
}






/***
==============================================
	Section Title
==============================================
***/
.section-title {
    position: relative;
    display: block;
    margin-bottom: 58px;
    margin-top: -9px;
}

.section-title__tagline-box {
    position: relative;
    display: inline-block;
}

.section-title__tagline {
    position: relative;
    display: inline-block;
    color: var(--thm-base);
    font-size: 16px;
    font-weight: 700;
    line-height: 1em;
    text-transform: uppercase;
}

.section-title__tagline::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -40px;
    width: 25px;
    height: 2px;
    background-color: #D9D9D9;
    transform: translateY(-50%);
}

.section-title__tagline::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -40px;
    width: 25px;
    height: 2px;
    background-color: #D9D9D9;
    transform: translateY(-50%);
}

.section-title__title {
    position: relative;
    display: block;
    color: var(--thm-black);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.24em;
    text-transform: capitalize;
    letter-spacing: -0.02em;
    margin-top: 3px;
}

.section-title__title .split-line {
    text-transform: none;
}
.main-footer-two__top {
    position: relative;
    display: block;
    padding-bottom: 10px;
    padding-top: 140px;
}
.main-footer-two__top img{
    max-width: 200px;
    max-height: 175px;
}
.site-footer-two__social a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 50px;
    height: 50px;
    color: var(--thm-black);
    background-color: var(--thm-white);
    font-size: 16px;
    overflow: hidden;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 1;
    border-radius:20px ;
}

.creativity-one__bg-color {
    min-height: 175px;
}
.creativity-one__left {
    position: relative;
    display: block;
    margin-left: 100px;
    padding-top: 20px;
    z-index: 1;
}
.creativity-one__right {
    margin-top: 10px;
    text-align: end;
    margin-bottom: 20px;
}
.main-slider-two__bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(var(--thm-black-rgb), .80);
    z-index: -1;
    display: none;
}
.main-footer-two__bottom {
    position: relative;
    display: block;
    background-color: #006dde;
    padding: 26px 0 24px;
}
.creativity-one__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 30px;
    color: var(--thm-white);
    text-transform: none;
}

.blog-two {
    position: relative;
    display: block;
    padding: 60px 0 0px;
    background-color:#f5f5f5 ;
    z-index: 1;
}
.creativity-one {
    position: relative;
    display: block;
    z-index: 1;
    background-color: #f5f5f5;
}
.feature-one {
    margin: 75px 0;
    color: white;
    background-color: #f5f5f5;
}
.feature-one__single-inner {
    background-color: #0799b2;
    min-height: 250px;
    border-radius:20px ;
}
.feature-one__btn-box {
    position: relative;
    display: block;

}
.main-footer-two
{
 margin-top: 0px;!important;
}
.tabs-content__faq .faq-one-accrodion .accrodion {
    border-radius: 20px;
}
.modulistica{
    text-align: center;
    padding: 15px;
    font-size: 25px;
    font-weight: 700;
    line-height: 26px;
    color: var(--thm-black);
}
.testo {
   /* border: 4px solid var(--thm-black); */
    border-radius: 20px;
    padding: 40px 20px;
    color: black;
    margin-bottom: 40px;
    background-color: white;!important;
}

.testo p {
    color: black;
    margin-top: 10px;
}

.testo h1,
.testo h2,
.testo h3,
.testo h4,
.testo h5,
.testo h6 {
    color: var(--thm-black);
}

.testo .nome {
    color: var(--thm-black);
    font-weight: bold;
}

.testo ul {
    list-style: none;
    padding-left: 20px;
}


.italic {
    font-style: italic;
    text-align: center;
}

.main-slider-two__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: auto 95%;
    background-repeat: no-repeat;
    background-position : center;
    -webkit-transform: scale(1);
    transform: scale(1);
    -webkit-transition: opacity 1500ms ease-in, -webkit-transform 7000ms ease;
    transition: opacity 1500ms ease-in, -webkit-transform 7000ms ease;
    transition: transform 7000ms ease, opacity 1500ms ease-in;
    transition: transform 7000ms ease, opacity 1500ms ease-in, -webkit-transform 7000ms ease;
    z-index: -1;
}
.main-slider-two .item {
    position: relative;
    padding-top: 222px;
    padding-bottom: 230px;
    overflow: hidden;
    background-color: #fefefe;
    z-index: 10;
}
.main-header.main-header-two .main-menu .navigation > li {
    margin-right: 15px;
}
.boxdocente {
    border: 1px solid var(--thm-black);
    border-radius: 20px;
    padding-bottom: 15px;
    text-align: center;
    max-width: 320px;
    margin: 10px auto;
}

.boxdocente img {
    width: 320px;
    height: 240px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block;
}

.boxdocente .nome {
    display: block;
    margin: 5px 0;
}

.boxdocente p {
    margin: 0;
}
.pa {
    display: inline-block;
    width: 0.5em;
    text-align: center;
    margin-right: 0.25em;
    margin-left: -12px;
}

.pa::before {
    content: "•";
    font-size: 1em;
    color: inherit;  /* stesso colore del testo */
}

.giorni{
    text-transform: capitalize;
    color: var(--thm-black);
    font-weight: bold;
    font-size: large;
}
.orari{
    border: 1px solid var(--thm-black);
    border-radius: 20px;
    margin: 0 10px 10px 10px;
}
.storia{
    text-align: center;
}
.storia img{
    width: 250px;
    height: auto;

}
.storia p{
    margin-top:15PX;
}
.stretto ul li {
    line-height: 1.2;
    margin-bottom: 4px;
}
.mensa{
    border: 1px solid var(--thm-black);
    border-radius: 20px;
    margin: 0 10px 10px 10px;

}
.mensa img{
    width: 250px;
    height: auto;
    border-radius: 20px;
    margin: 20px 10px;

}
@media (max-width: 576px) {
    .mensa .col-sm-12 {
        display: flex;
        justify-content: center;
    }
}
body {
    background-color: #f5f5f5;
}

.site-footer-two__social2 a {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    width: 50px;
    height: 50px;
    color: var(--thm-white);
    background-color: #0a53be;
    font-size: 16px;
    overflow: hidden;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 1;
    border-radius:20px ;
}
.blog-details__img-box-img img {
    width: 100%;
    border-radius: 20px;
}
.firma p{
    color: var(--thm-black);
    font-weight: bold;
}
.blog-list__single {
    position: relative;
    display: block;
    background-color: var(--thm-white);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    border-radius: 20px;
}
.blog-img img
{
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    width:100%
}
.datablog {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--thm-base);
    padding: 8px 20px 8px;
    z-index: 2;
    border-radius: 20px;
    color:white;
}
.blog-list__content-inner {
    position: relative;
    display: block;
    padding: 10px ;
}
.main-header .main-menu .navigation>li:last-child>a {
     padding-right: 15px;
}
.file{
    background-color: #e4ad22;
    position: relative;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    padding: 10px;
    color: var(--thm-white);
    font-size: 16px;
    line-height: 40px;
    font-weight: 500;
    border-radius: 0px;
    font-family: var(--thm-font-two);
    text-transform: math-auto;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    z-index: 2;
    border-radius: 20px;
}
/* Nasconde l’input nativo */
.file input[type="file"] {
    display: none;
}

.custom-file-upload {
    background-color: #e4ad22;
    color: var(--thm-white);
    font-size: 16px;
    font-weight: 500;
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s linear;
    font-family: var(--thm-font-two);
}

.custom-file-upload:hover {
    background-color: #cc951c;
}

.file-name {
    margin-left: 10px; /* meno spazio rispetto a prima */
    font-size: 14px;
    color: var(--thm-black);
}
.file input[type="file"] { display: none; }
.custom-file-upload {
    background-color: #e4ad22;
    color: var(--thm-white);
    font-size: 16px;
    font-weight: 500;
    padding: 0px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s linear;
    font-family: var(--thm-font-two, inherit);
    display: inline-block;
}
.custom-file-upload:hover { background-color: #0a53be; }
.file-name { margin-left: 10px; font-size: 14px; color: #333;
}

.btn-drop
{
    background-color: #0a53be;
    padding: 10px 30px;
    color: white;
    border-radius: 20px;
}

.blog-two__content {
    position: relative;
    display: block;
    text-align: center;
    min-height: 210px;
    padding-top: 27px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}
.blog-two__img img {
    width: 100%;
    transition: 0.5s;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    height: 234px;
}
