:root {
  --primo: #27224f;
  --secondo: #189cd8;
  --bg: #f3f3f3;  
}

/*
HEADER 
MENU TOP
OFFCANVAS MENU
PAGE TITLE
FOOTER
VARIE
 */
 
 
body .btn-video {font-size: 20px !important;}

@media (max-width: 767px) {body .btn-video {font-size: 15px !important;}}
 
 .sppb-btn-link {
  text-decoration: none;
  border-radius: 0;
  font-size: 20px !important;
}
 
  .sppb-btn-link:hover {
color: var(--primo) !important;
}
 
 
.btn-login .sppb-addon-title.sppb-feature-box-title {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  
}
.btn-login .sppb-media:first-child {
  margin-top: 8px;
}
 .btn-login {
  margin-left: 40px;
  color: var(--primo); 
 }
 
.btn-login a {
  color: var(--primo); 
 }
 
/* TEMPORANEO */
body.ltr .sp-megamenu-parent > li.sp-has-child > a::after, body.ltr .sp-megamenu-parent > li.sp-has-child > span::after {
  font-family: "Font Awesome 6 Free";
  content: "";
  float: right;
  margin-left: 7px;
  font-weight: 900;
}
.offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > a > .menu-toggler::after, .offcanvas-menu .offcanvas-inner ul.menu > li.menu-parent > .menu-separator > .menu-toggler::after {
  font-family: "Font Awesome 6 Free";
  content: "";
  font-weight: 900;
}  

 
 
/* HEADER */
#sp-header {background: var(--bg);}

.logo-image { height: 70px !important;}

@media (max-width: 767px) {
.logo-image { height: 50px !important;}}

@media (max-width: 811px) {
.logo-image { height: 50px !important;}}

	
/* MENU TOP */
.sp-megamenu-parent > li.active > a{color: var(--secondo);}
.sp-megamenu-parent > li > a { color: var(--primo) !important;}
.sp-megamenu-parent > li > a:hover { color: var(--secondo);}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item.active > a { color: var(--secondo);}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a {color: var(--primo);}
.sp-megamenu-parent .sp-dropdown li.sp-menu-item > a:hover {color: var(--secondo);}
.sp-megamenu-parent > li.active > a, .sp-megamenu-parent > li.active:hover > a {color: var(--secondo);}

/* OFFCANVAS MENU */
.burger-icon > span {background-color: var(--secondo);}

/* PAGE TITLE */
.sp-page-title {
  padding: 50px 0px 50px 0px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  position: relative;
  background-image: none;
  background-color: var(--primo);
  text-align: left;}

.sp-page-title .sp-page-title-heading {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 1px;}

/** FOOTER*/



.sponsor .sppb-addon-header { margin-bottom: 20px;}


.sponsor .sppb-img-responsive { width: 200px; margin-bottom: 30px;}

.sponsor .sppb-addon-single-image .sppb-addon-title {
  background: var(--secondo);
  color: #fff;
  border-radius: 50px;
  padding: 2px 6px 2px 6px;
  font-size: 12px;
  margin-bottom: 6px;
  font-weight: 600;
}


#sp-bottom   { background-color: #fff;}

#sp-bottom::after {
  content: none;
  position: absolute;
  top: auto;
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
}

#sp-footer { background-color: var(--bg);}
.offcanvas-menu .offcanvas-inner ul.menu > li > a {font-size: 15px; opacity: 1;}
.offcanvas-menu .offcanvas-inner ul.menu > li a {color: var(--primo);}
.offcanvas-menu .offcanvas-inner ul.menu > li a:hover {color: var(--secondo);}
.offcanvas-menu .offcanvas-inner ul.menu li.active a {color: var(--primo) !important;}
}

/** VARIE*/
a {  color: var(--secondo);}

/* menù discipline */

li.menu-disciplina {
	border: 1px var(--sc-secondary) solid !important; 
	padding: 2px 16px 2px 16px;
	margin-top: 3px;
}

li.menu-disciplina a:after {
	font-family:Font Awesome\ 5 Free;
	font-weight: 900;
	content: "\f054";
	float: right;
}
li.menu-day {
	border: 1px var(--sc-primary) solid !important; 
	padding: 8px 16px 8px 16px;
	margin-top: 3px;
}

li.menu-day a:after {
	font-family:Font Awesome\ 5 Free;
	font-weight: 900;
	content: "\f783";
	float: right;
}
li.menu-disciplina a, li.menu-day a {width: 100%;}
li.menu-disciplina:hover {background: #eaeaea;}

/** PROGRAMMA **/
.sppb-nav-tabs > li > a {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42857143;
  padding: 12px 15px;
  background: var(--bg);
  border: 1px solid #b9b9b9;
    border-right-width: 1px;
  border-right-width: 0;
}


.tabellaprogramma {font-weight:600; margin-bottom: 5px;}

.programma {width: 100%; margin-bottom: 30px;}

.programma td { padding:5px 10px 5px 10px; border-bottom: 1px solid var(--bg); }
 
td.orario  {
  background: var(--primo);
  width: 80px;
  text-align: center;
  font-weight: bold;
  vertical-align: top;
  padding-top: 7px !important;
  color: #fff;
}

.fine {background: var(--primo); color: #fff;}

td.pausa {background: var(--bg);}






/* SYSTEM ALERT */

#system-message-container {
  position: inherit !important;
  max-width: 100% !important;
  margin: 0 auto;
}
.form-control-feedback {
	margin-left: 20px;
	padding: 4px 8px;
	border-radius: 4px;
	background-color: var(--jui-alert-danger-background-color,#f7dddc);
  border-color: var(--jui-alert-danger-border-color,#f4cfce);
  color: var(--jui-alert-danger-color,#712b29);
}
.form-control-feedback:after {
	content: "\f044";
	font-family: "Font Awesome 6 Free";
	margin-left: 10px;
}

.icon-eye::before {
  font-family: "Font Awesome 6 Free";
  content: "\f06e";
  margin-left: 10px;
}
.icon-eye-slash::before {
  font-family: "Font Awesome 6 Free";
  content: "\f070";
    margin-left: 10px;
}


.plg_system_webauthn_login_button {
  background: #4B96B1 !important;
  fill: #fff !important;
  border: none !important;
}

.plg_system_webauthn_login_button svg {
  width: 30px;
  margin: 4px;
}
.form-horizontal .controls {
  margin-left: 0px !important;
}

.btn-primary { border-radius: 50px;}


/** LOGIN e PROFILO */
.profile-fieldset:first-child {display: none !important;}

/* Iubenda */
#iub-legalDoc {
  font-size: 1rem !important;
}


