@charset "utf-8";

/* Extra small devices (portrait phones, less than 576px) */
/* No media query since this is the default in Bootstrap */

/* Tag/Classi standard */
body {
	font-family: 'Atkinson Hyperlegible', sans-serif !important;	
	background-color: #E5E3E8;
}
.color-default {
	background-color: #6B530E !important;
	color: #fff !important;
}
.color-default-selected {
	border: 2px solid #f00 !important;
}
.text-default {
	color: #6B530E !important;
}
.text-white {
  color:#fff;
  font-size: 2rem !important;
}
.text-center{
  text-align: center !important;
}

/* Form */
input, select, textarea, button {
	border-radius: 0 !important;
	font-size: 1rem !important;
}
button {
	padding-left: 30px !important;
	padding-right: 30px !important;
	letter-spacing: 1.5px !important;
}
button:hover {
	opacity: 0.8;
}
.white {
  background-color: #fff;
  padding-top: 20px;
  color: #191919;
}

/* Header */
.conteiner-header {
	width:100%;
	background-color: #fff;
}
header {
	background-color: #2d4f8d;
	margin-bottom: 30px;
	padding: 0;
	border: 0;
	overflow: hidden;
	z-index: 1000;
	/*min-height: auto;*/
	border-radius: 0;
}

.header-logo-mobile{
	padding:10px;
	margin-left:10px
}
header .row {
	margin-left: -25px;
	margin-right: -25px;
}
header a {
	color: #fff !important;
	font-size: 1rem;
}
.header-nav ul {
  	padding: 0;
	padding-top: 10px;
  	margin: 0;
}
.header-nav ul > li {
  list-style: none;
	width: auto;
	display: inline;
	padding: 20px 15px;
}
.header-nav li:hover {
	background-color: #6B530E !important;
}
.header-nav a {
	text-transform: uppercase;
	font-weight: 700;
}
.header-nav a:hover {
	text-decoration: underline;
}
.header-social a, .header-login a {
	padding-top: 16px;
	padding-bottom: 16px;
	line-height: 20px;
}
.header-social a:hover, .header-login a:hover {
	text-decoration: underline;
}
.header-social i {
	margin-left: 0;
	color: #6B530E;
}
.header-social a:hover {
	color: #6B530E !important;
	text-decoration: underline;
}
.header-login {
	background-color: #6B530E;
}
.header-login i {
	margin-left: 10px;
}
.header-menu {
	margin-top: 16px;
	font-size: 1rem;
	font-weight: 700;
}
.dropdown-toggle {
	margin-top: 0;
	margin-right: 0;
	padding-top: 0;
	padding-left: 15px !important;
	padding-right: 0 !important;
	float: right;
	background-color: transparent;
	border: 1px solid transparent;
	cursor: pointer;
}
.dropdown-toggle:after {
	display: none;
}
.dropdown-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	margin: 4px 0;
	background-color: #fff;
}
.dropdown-menu {
	top: 0;
	border: 0 !important;
	border-radius: 0 !important;
	transform: none !important;
	display: none;
}
.mega-dropdown {
  position: static !important;
}
.mega-dropdown-menu {
	padding: 30px 0px;
	margin-top: 0 !important;
	width: 100%;
	box-shadow: none;
	background-color: #fff;
	opacity: 0.97;
}
.mega-dropdown-menu > div > ul {
	padding: 0;
	margin: 0;
}
.mega-dropdown-menu > div > ul > li {
  list-style: none;
}
.mega-dropdown-menu > div > ul > li > ul {
	padding: 0;
	margin: 0;
	color: #6B530E;
}
.mega-dropdown-menu > div > ul > li > ul > li {
  list-style: disc;
}
.mega-dropdown-menu > div > ul > li > ul > li.nostyle {
  list-style: none;
}
.mega-dropdown-menu > div > ul > li > ul > li > a {
	display: block;
	padding: 3px 5px;
	clear: both;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.8;
	color: #424242;
	white-space: normal;
	text-decoration: nome;
}
.mega-dropdown-menu > div > ul > li > ul > li > a:hover {	
	color: #fff;
	background-color: #6B530E;
	text-decoration: underline;
}
.mega-dropdown-menu > div > ul > li > ul > li > a > i {
	margin-right: 10px;
	color: #6B530E;
}
.mega-dropdown-menu .dropdown-header {
	color: #6B530E;
	font-size: 1.25rem;
	font-weight: bold;
	padding: 3px 5px;
	margin-top: 30px;
}
.mega-dropdown-menu .dropdown-close {
	position: absolute;
	right: 20px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: normal;
	z-index: 1;
}
.mega-dropdown-menu .dropdown-close:hover {
	color: #6B530E !important;
	text-decoration: none;
}
.mega-dropdown-menu .dropdown-close i {
	color: #6B530E;
	margin-left: 5px;
} 
.modal-dialog {
	margin: 3.75rem auto;
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}
.sticky + section + div + div + .home-section, .sticky + section + div + div + .page-section {
  margin-top: 66px;
}

/* Footer */
footer{
	background-color: #fff;
}
.footer-copyright {	
	background-color: #2d4f8d;	
}
footer a:hover{  	
	color:#fff;
	text-decoration: underline;
}

.footer-link {
	padding: 40px 0;
	background-color: #2d4f8d;
	line-height: 40px;
}
#home-page .footer-link {
	margin-top: 20px;
}
.footer-link a {
	color: #fff;
	font-size: 1.1rem;
	font-weight: 700;
}
.footer-link a:hover {			
	text-decoration: underline;	
}
.footer-link a::before {
	content: '>';
	color: #fff;
	margin-right: 10px;
}
.footer-data {
	padding: 40px 0;
	line-height: 30px;
}
.footer-data h2 {
	display: none;
}
.footer-data a {
	color: #191919;	
}
.footer-data a:hover {	
	color: #191919;	
	text-decoration: underline;
}
.footer-contact {
	padding-bottom: 30px;
	font-size: 1rem;
}
.footer-contact a:hover{
	text-decoration: underline;	
}
footer {
	background-color: #2d4f8d;
	padding: 20px 0;
	font-size: 1.1rem;
	line-height: 30px;
}
.footer-copyright{
	color: #fff;
	font-size: 1rem;
}

/* Sidebar */
.sidebar {
	background-color:#fff;	
	
}
.sidebar a {
	color: #424242 !important;
		text-decoration: none !important;
}
.sidebar a:hover {
	text-decoration: underline !important;
}
a.hero-news {
	font-weight: 700 !important;
	text-decoration: none;
}
a.hero-news:hover {
	text-decoration: underline;
}
.sidebar a:hover {
	text-decoration: underline;
}
.sidebar-amm a {
	width: 100%;
	padding: 4px 0;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	float: left;
}
.sidebar-amm a:hover, .sidebar-amm a.over {
	color: #6B530E !important;
	text-decoration: underline;
}
.sidebar-amm i {
	margin-left: 10px;
}
.sidebar-amm span a {
	width: 95%;
	margin-left: 5%;
	color: #4d7aff !important;
	text-transform: none;
}
.sidebar-amm span a:before {
	content: '- ';
}
.sidebar-amm span span a {
	width: 90%;
	margin-left: 10%;
	color: #2d4f8d !important;
	text-transform: none;
}
.sidebar-amm span span span a {
	width: 85%;
	margin-left: 15%;
	color: #4d7aff !important;
	text-transform: none;
}

/* Slideshow */
#home-slideshow {
	background: url('/images/box/home.png') center no-repeat;
	height: 426px;
}
.carousel-inner {
	height: 401px;
	font-weight: 700;
}
.carousel-item {
	height: 100%;
}
.carousel-item a:hover {
	opacity: 0.8;
}
.carousel-caption {
	top: 50%;
	margin-top: -200px;
}
.carousel-caption h3 {
	padding: 10px;
	font-size: 1.1rem !important;
	padding: 10px;
}
.carousel-caption p {
	line-height: 1.5rem;
}

.carousel-caption button {
  position: absolute;
  bottom: 8%;                 /* ancorato in basso */
  left: 50%;                 /* centrato orizzontalmente */
  transform: translateX(-50%);
  width: auto;               /* opzionale: rimuovi il 100% se btn deve avere larghezza contenuta */  
}

/* Calendario */
#calendar {
	margin: 0 auto;
	width: 100%;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.18);
}
.fc-scroller {
	overflow: auto !important;
	height: auto !important;
}
.fc-toolbar.fc-header-toolbar {
	margin: 1em !important;
	padding-top: 1em;
}
.fc-toolbar h2 {
	padding-top: 3px;
	font-size: 1.3rem;
	font-weight: 700;
	text-transform: capitalize;
	display: block !important;
}
.fc-button {
	padding: 0 .5em !important;
	border-color: #6B530E;
	color: #6B530E;
	font-size: 12px !important;
}
.fc-corner-left {
  border-top-left-radius: 4px !important;
  border-bottom-left-radius: 4px !important;
}
.fc-corner-right {
  border-top-right-radius: 4px !important;
  border-bottom-right-radius: 4px !important;
}
.fc-state-hover, .fc-state-down, .fc-state-active {
  background-color: #B36B530E8A17 !important;
	color: #fff !important;
	background-position: 0 -30px;
}
.fc-day-header {
	background-color: #6B530E !important;
	color: #fff !important;
	font-size: 14px;
	line-height: 28px;
	text-transform: capitalize;
}
.fc-day-number {
	font-size: 1rem;
	padding: 6px !important;
}
.fc-today {
	background-color: #6B530E !important;
	color: #fff;
	font-weight: 700;
}
.fc-event {
	background: #2d4f8d !important;
	color: #fff !important;
  font-size: 0.875rem !important;
	padding: 2px !important;
	line-height: 14px !important;
	word-wrap: break-word;
}
.fc-time {
  font-size: 12px !important;
}
.fc-title::before {
	content: '\A';
	white-space: pre;
}

/* Home Page */
.bordo-evidenza{
	border-left: 8px solid #6B530E;
}

.bordo-evidenza-blu{
	border-left: 8px solid #3F4C5C;
}
.home-section {
	padding-top: 15px;
	padding-bottom: 15px;
}
#home-search.home-section h2 {
	display: none;
}
#form-search input {
	border: 1px solid #191919 !important;
}
#home-search div {
	padding-top: 10px;
	padding-bottom: 10px;
}
#home-search div:first-child {
	padding-top: 20px;
	font-size: 18px;
}
#home-box1 a {
	color: #191919;
}
#home-box1 a:hover {
	text-decoration: underline;	
}
#home-box1 div div div {
	width: 98%;
	margin: 0 1%;
}
#home-box1 div div:nth-child(1) div {
	/* background: url('/images/box/box1.png') center no-repeat; */
}
#home-box1 div div:nth-child(2) div {
	/* background: url('/images/box/box2.png') center no-repeat; */
}
#home-box1 div div:nth-child(3) div {
	/* background: url('/images/box/box3.png') center no-repeat; */
}
#home-box2 .home-box-light{
	background-color: #fff;
}
#home-box3 .home-box-light2 {
	background-color: #fff;
	min-height: 310px;
}
#content {
	background-color: #E5E3E8;
	padding: 40px 30px 60px 30px;
}
.print-page #content {
	padding: 10px 15px;
}
#content th, #content td, #content li {
	/*font-size: 14px !important;*/
	font-size: 1rem;
}
.print-page #content th, .print-page #content td, .print-page #content li {
	font-size: 12px !important;
}
#content li {
	line-height: 30px !important;
}
#content caption {
	caption-side: top;
}
#content table i {
	margin-right: 10px;
}
#content table a {
	color: #2d4f8d;
}
.white{
	background-color: #fff;	
}
.news-box {
	background-color: #fff;
	margin-bottom: 20px;
	padding: 10px 30px;	
}
.news-box:hover {
	/*
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.18);
	*/
}
.print-page .news-box {
	margin-bottom: 0;
	padding: 10px;
	box-shadow: none;
}
.print-page {
	font-size: 12px !important;
}
.news-box:last-child {
	margin-bottom: 0;
}
.news-box a {
	color: #424242;
}
.news-box a:hover {
	
	text-decoration: none;
	/*
	opacity: 0.8;
	*/
}
.news-box h5 {
	padding: 0 0 20px 0;
	font-size: 18px;
}
.news-box p {
	font-size: 1.1rem !important;
}
.news-box .row div > span, .news-box div > span {
	color: #fff;
	font-size: 1rem;
	background-color: #ff6969;
}
.news-box i {
	margin-right: 10px;
}
.news-box2 div div {
	margin-bottom: 20px;
}
.news-box2 hr {
	background-color: #424242;
	margin-top: 30px;
}
.home-page .news-box2 div div:nth-child(2) hr {
	display: none;
}
.sidebar-page .news-box2 div div:nth-child(4) hr {
	display: none;
}
.news-box2 a {
	color: #424242;
	font-size: 1rem !important;
}
.news-box2 a:hover {	
	text-decoration: none;
	/*
	*/
}
.news-box2 h5 {
	font-size: 1.2rem;
	line-height: 22px;
}
.news-box2 p {
	font-size: 1rem;
}
.news-box2 span {
	color: #a4a5a6;
	font-size: 1rem;
}
.home-geometra h5 {
	font-size: 20px;
	line-height: 24px;
}
.home-link ul, .home-verbali ul {
	padding: 0;
	padding-left: 1rem;
	margin: 0;	
}
.home-link li, .home-verbali li {
	color: #6B530E;
	padding-left: 10px;
}
.home-link a, .home-verbali a {
	color: #6B530E;
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 30px;
	text-decoration: underline;
}
.home-link a:hover, .home-verbali a:hover {
	color: #6B530E;	
}

/* Pagine standard */
.sidebar-page .content h1, .full-page .content h1 {
	color: #191919;
	font-size: 1.6rem;
	font-weight: 500;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #6B530E;
}
.sidebar-page .content h2, .full-page .content h2 {
	color: #6B530E;
	font-size: 1.3rem;
	margin-bottom: 20px;
}
.sidebar-page .content h3, .full-page .content h3 {
	font-size: 1.3rem;
}
.sidebar-page .content p, .full-page .content p, .sidebar-page .content label, .full-page .content label {	
	font-size: 1.2rem;
}
.sidebar-page .content p a, .full-page .content p a {	
	font-size: 1.2rem;
	color: #2d4f8d;
}
.sidebar-page .content a, .full-page .content a {	
	color: #2d4f8d;
}
.sidebar-page .content p a i, .full-page .content p a i {	
	margin-right: 10px;
}
.page-link {
	color: #2d4f8d;
}
.page-item.active .page-link {
  background-color: #2d4f8d;
  border-color: #2d4f8d;
}
body.print-page {
	background-color: #fff;	
}

/* Tabs */
.nav-pills .nav-link {
  color: #6B530E !important;
	font-weight: bold;
	line-height: 20px !important;
}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff !important;
  background-color: #6B530E;
}

/* Albo d'onore */
.albo-onore {
	background-color: #ffffef;
	padding: 30px 80px;
}
.albo-onore a {
	color: #2d4f8d;
	font-size: 11px;
	line-height: 20px;
	font-style: italic;
}

/* Protocollo notai */
#prot-att font {
	color: #2d4f8d;
	font-weight: 700;
}
#prot-att span {
	display: none;
}
#prot-att .gj-datepicker span {
	display: inline-block;
}

/* Webmail */
.mail-dir a {
	color: #292929 !important;
	font-size: 0.9rem !important;
	line-height: 36px !important;
}
.mail-dir a.over, .mail-dir a:hover {
	color: #6B530E !important; 
	font-weight: 700;
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {	
	/* Albo d'onore */
	.albo-onore {
		background: url('/images/icon/diploma.gif');
		background-position: top center;
		background-repeat: no-repeat;
		background-size: contain;
		padding: 130px 80px;
	}	
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	
	/* Header */
	.header-social i {
		margin-left: 10px;
	}
	
	/* Footer */
	.footer-link {
		padding: 60px 0;
	}
	.footer-data {
		padding: 60px 0;
	}
	.footer-contact {
		padding-bottom: 0;
	}
	
	/* Slideshow */
	.carousel-caption h3 {
		font-size: 1.5rem !important;
	}
	.carousel-caption p {
		line-height: 1.35rem !important;
	}
	
	/* Home Page */
	.home-section {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
	/* Albo d'onore */
	.albo-onore {
		padding: 200px 150px;
	}
	.albo-onore a {
		font-size: 1rem;
		line-height: 46px;
	}
	
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	
	/* Header */
	.header {
		margin-bottom: 30px;		
	}
	.header h2 {
		display: none;
	}
	.header-social a, .header-login a {
		padding-top: 1rem;
		padding-bottom: 15px;
	}
	.header-social i {
		margin-left: 0;
	}
	.header-menu {
		margin-top: 1rem;
	}
	.sticky + section {
		margin-top: 78px;
	}
	.sticky + section + div + div + .home-section, .sticky + section + div + div + .page-section {
		margin-top: 0;
	}
	
}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

	/* Header */
	.header-social i {
		margin-left: 10px;
	}
	
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Per la spaziatura extra se necessaria */
.home-box{  
  min-height: 250px;
}

.home-box-big{  
  min-height: 305px;
}

.home-box-light form {
  padding-bottom: 20px;  
}
.font-botton{  
  background-color:#6B530E;
  color: #fff !important;
  padding: 5px 10px;  
  font-style: italic;
}
/* Utility per nascondere solo visivamente, mantenendo accessibile agli screen reader */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,1px,1px);
  white-space: nowrap; border: 0;
}

/* Focus ad alto contrasto su input e bottoni */
.form-control:focus,
.btn:focus,
.input-group .form-control:focus,
.input-group .btn:focus {
  outline: 3px solid #0a58ca;        /* colore ben visibile */
  outline-offset: 3px;
  box-shadow: none !important;        /* evita ombre confuse */
}
/* Non rimuovere il focus senza alternativa! Evita outline: none; */
