.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
    font-weight: 400 !important;
    font-family: 'Playball', cursive !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
    font-weight: 600 !important;
    font-family: 'Open Sans', sans-serif !important;
}

.sad_img {
    text-align: center;
}

.sad_img img {
    width: 25vh;
}

.happy_img {
    text-align: center;
}

.happy_img img {
    width: 25vh;
}

.py-6 {
    padding-top: 4%;
    padding-bottom: 4%;
}

.wow,
.animated {
    animation-duration: 2s !important;
}


/*** Button Start ***/
.btn.btn-primary {
    border: 0;
}



.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 38px;
    height: 38px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Button End ***/


/*** Navbar Start ***/
.nav-bar {

    background: var(--bs-light);
    border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar .navbar-nav .nav-link {

    padding: 10px 12px;
    font-weight: 600;
    font-size: 17px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

#searchModal .modal-content {
    background-color: rgba(255, 255, 255, .95);
}

@media(max-width: 500px){
	.menu-toggle{
		padding-left: 16%;
	}
}

/*** Navbar End ***/


/*** Events Start ***/
.event .tab-class .nav-item a.active {
    background: var(--bs-primary) !important;
}

.event .event-img .event-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(212, 167, 98, 0.7);
    border-radius: 8px;
    transition: 0.5s;
    opacity: 0;
    z-index: 1;
}

.event .event-img:hover .event-overlay {
    opacity: 1;
}

/*** Events End ***/


/*** service start ***/
.service .service-item {
    position: relative;
    height: 100%;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    bottom: auto;
    background: var(--bs-primary);
    border-radius: 8px;
    transition: 1s;
}

.service-item:hover .service-content::after {
    height: 100%;
    opacity: 1;
}

.service-item .service-content-icon {
    position: relative;
    z-index: 2;
}

.service-item .service-content-icon i,
.service-item .service-content-icon p {
    transition: 1s;
}

.service-item:hover .service-content-icon i {
    color: var(--bs-dark) !important;
}

.service-item:hover .service-content-icon p {
    color: var(--bs-white);
}

.service-item:hover .service-content-icon a.btn-primary {
    background: var(--bs-white);
    color: var(--bs-dark);
}

.service-item .service-content-icon a.btn-primary {
    transition: 1s !important;
}

/*** Services End ***/

/*** Menu Start ***/
.menu .nav-item a.active {
    background: var(--bs-primary) !important;
}

.menu .menu-item .border-bottom {
    border-bottom-style: dashed !important;
}

/*** Menu End ***/

/*** Blog Start ***/
.blog-item {
    position: relative;
}

.blog-item img {
    transition: 0.5s;
}

.blog-item:hover img {
    transform: scale(1.3)
}

.blog-item .blog-content {
    position: relative;
    transform: translateY(-50%);
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.blog-item .blog-content a.btn h5 {
    transition: 0.5s;
}

.blog-item:hover .blog-content a.btn h5 {
    color: var(--bs-primary) !important;
}

/*** Blog End ***/


/*** Team Start ***/
.team-item {
    width: 100%;
    height: 100%;
    position: relative;
}

.team-item .team-icon {
    position: absolute;
    top: 0;
    right: 0;
}

.team-item .team-icon .share-link {
    opacity: 0;
    transition: 0.9s;
}

.team-item:hover .share-link {
    opacity: 1;
}

.team-item .team-content {
    transition: 0.9s;
}

.team-item:hover .team-content {
    background: var(--bs-primary) !important;
    color: var(--bs-dark) !important;
}

.team-item .team-content h4,
.team-item .team-content p {
    transition: 0.5s;
}

.team-item:hover .team-content h4 {
    color: var(--bs-dark) !important;
}

.team-item:hover .team-content p {
    color: var(--bs-white);
}

/*** Team End ***/


/*** Testimonial Start ***/
.testimonial-item {
    border: 1px solid var(--bs-primary);
    padding: 20px 20px;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel.owl-rtl .testimonial-item {
    direction: ltr !important;
}

/*** Testimonial End ***/


/*** Contatti start ***/
.contact-form {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.br-hidden {
    display: none;
}

@media (max-width:900px) {
    .br-hidden {
        display: inline;
    }
}


/*** Contatti End ***/


/*** Footer Start ***/
.footer .footer-item a.text-body:hover {
    color: var(--bs-primary) !important;
}

.footer-border {
    border-top: 1px solid rgba(0, 0, 0, .05);
}

/*** Footer End ***/

/*** Map-Footer Start ***/
.map {
    text-align: right;
}

@media (max-width:500px) {
    .map-pad {
        padding: 5%;
        text-align: center;
    }
}

@media (max-width:1200px) {
    .map-pad {
        padding: 5%;
    }
}

/*** Map-Footer End ***/

/* Copyright Start */

.codici-center {
    text-align: center;
    font-size: small;
    padding-top: 10px;
    padding-bottom: 20px;
}

hr {
    color: var(--bs-primary);
}

.copyright-size {
    font-size: small;
    padding-top: 10px;
    padding-bottom: 30px;
}

/* Copyright End */

/* Hero Start*/

@media (max-width:500px) {
    .fit-button {
        width: max-content;
        text-align: center;
    }
}

.style-button {
    width: 25%;
    font-size: 2vh;
}

@media (max-width:500px) {
    .style-button {
        width: 90%;
        margin-bottom: 1%;
    }

    .little-text-button {
        font-size: 80%;
        text-align: center;
    }
}

.pc-hidden {
    display: none;
}

@media (min-width:501px) {
    .pc-hidden {
        display: inline;
    }

    .tablet-hidden {
        display: none;
    }

    .fit-title {
        text-align: center;
        padding-right: 18%;
    }

    .fit-image {
        padding-top: 10%;
        padding-bottom: 5%;
    }

    .fit-head {
        padding-top: 5%;
    }

    .style-button {
        width: 50%;
        margin-bottom: 1%;
        font-size: larger;
    }
}

@media (max-width:900px) {
    .inizio {
        margin-top: 3vh;
    }

    .fit-button {
        text-align: center;
    }
}

@media (min-width:1200px) {
    .pc-hidden {
        display: none;
    }

    .tablet-hidden {
        display: inline;
    }
}

.fit-title {
    text-align: center;
    padding-left: 18%;
}

@media (max-width:500px) {
    .fit-title {
        padding-left: 0%;
    }
}

.container-index {
    text-align: center;
    padding: 5%;
}

.navbar-right {
    padding-right: 5%;
}

@media(max-width:600px){
    .logo-hidden {
        display: none;
    }
}
    


/* Image Start*/

.slide-image {
    border-radius: 50%;
    height: 65%;
    width: 65%;
}

@media (max-width:500px) {
    .slide-image {
        width: 90%;
    }
}

.img-logo {
    border-radius: 50%;
    width: 100%;
}
 
 .nav-elem-pad{
      padding: 0% 5% 0% 33%;
    }

/* Image End*/

/* Hero End*/

/* Form Start*/
.container-form {
    padding: 5% 30% 5% 30%;
}

.privacy-link {
    color: #f04037;
    font-weight: bold;
}

/* Form End*/

/*About us Start*/
.noi-title {
    text-align: center;
    font-size: 300%;
    padding: 2% 1% 1% 1%;
    font-weight: 400;
    font-family: 'Playball', cursive;
    color: black;
}

.presentazione-container {
    text-align: center;
    margin: 1% 25% 3% 25%;
}

.mini-title {
    color: #f04037;
    font-weight: bold;
    font-size: 150%;
    text-align: center;
}

.descrizione-container {
    margin: 3%;
}

.sinistra-des {
    padding-right: 2%;
}

.destra-des {
    padding-left: 2%;
}

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

/*About us Start*/

/* Collabora Start*/
.container-card-pos {
    text-align: center;
    padding: 7%;
}

.card-dim {
    width: 60%;
    padding: 5% 3% 0% 3%;
    margin-left: auto;
    margin-right: auto;
}

.card-body .btn {
    width: 100%;
}

.card-body a {
    font-size: 2vh;
}

.card-sin {
    padding-left: 10%;
}

.card-des {
    padding-right: 10%;
}

@media (max-width:700px) {
    .fit-card {
        padding: 5%;
    }
}

/* Studente Start*/
.login {
    text-align: center;
    font-size: 250%;
    color: #000000;
    font-weight: bold;
    font-family: 'Playball', cursive !important;
    padding-bottom: 4%;
}

/* Studente End*/

/* Prof Start*/
.livello-prof {
    padding-bottom: 2%;
}

/* Prof End*/

/* Collabora End*/

/* Contatti Start*/

@media (max-width:500px) {
    .fit-contatti {
        text-align: center;
    }
}

/* Contatti End*/

/* Tabella Prenotazioni Start*/

.t-head {
    color: #7d7c7c;
    background-color: #fff7f7;
}

.t-text {
    text-align: center;
}

.t-text-t {
    text-align: center;
    padding-bottom: 4%;
}

.t-4-pad {
    width: 20%;
}

.table-text-center {
    text-align: center;
    vertical-align: middle;
}

.table-p-5 {
    padding: 5%;
}

@media (max-width:800px) {
    .table-decoration {
        width: 100%;
        vertical-align: middle;
    }
}

@media (max-width:500px) {
    .table-decoration {
        font-size: 50%;
        vertical-align: middle;
    }
    .icon-dim-tel{
    	width:50%;
    }
}

@media (max-width:400px) {
    .table-decoration {
        font-size: 40%;
        vertical-align: middle;
    }
}

@media (max-width:300px) {
    .table-decoration {
        font-size: 40%;
        vertical-align: middle;
    }
    .icon-dim-tel{
    	width: 30%;
    }
}

.not-img {
    padding: 3% 0% 3% 0%;
}

.prenota {
    background-color: var(--bs-light);
    border: none;
}

.pagination-container{
    text-align: center;
}

.prenota-form{
	font-size: 250%;
    text-align: center;
}

.form-label-2{
	margin-top: .5rem;
}
/* Tabella Prenotazioni End*/

/* Registrati Start*/
.container-registrati {
    padding: 1% 30% 5% 30%;
    padding-top: 1.7rem;
}

@media (max-width:500px) {
    .container-registrati {
    	padding: 1% 10% 5% 10%;
    	padding-top: 1.7rem;
    }
}

.registrati {
    text-align: center;
    font-size: 250%;
    color: #000000;
    font-weight: bold;
    font-family: 'Playball', cursive !important;
    padding: 5% 30% 1% 30%;
    margin: 0%;
}

@media (max-width:500px) {
    .registrati {
        text-align: center;
        color: #000000;
        font-weight: bold;
        font-family: 'Playball', cursive !important;
        margin: 0%;
        padding-top: 5%;
        padding-left: 21%;
    }
}

/* Registrati End*/

/* Password Card Start*/

.password-card {
    padding: 5% 40% 5% 40%;
}

@media(max-width: 800px){
	.password-card{
    	padding: 5% 10% 5% 10%;
    }
}
/* Password Card End*/

/*Admin Start*/
.b-admin{
	text-align: center;
    padding-bottom: 5%;
}

.b-opzioni{
	text-align: center;
    padding-bottom: 3%;
}

.border-dashboard{
	border-style: bold;
    border: 10px;
}

.ricerca-utenti{
	text-align: center;
}

.t-sin{
	text-align: left;
}

.btn-cambia-pass{
	padding-top: 3%;
}

.reg-admin{
	text-align: center;
}
/*Admin End*/