/*
Theme Name: stile-arianna
Description: Stile personalizzato per il mondo incantato di arianna
Version: 1.0
Author: Mazzotta Fabio
*/
@import url('./assets/css/fonts/golos-text.css');
/*usato per resettare gli stili del browser,
per rendere uniforme lo stile su tutti i browser*/
@import url("'./assets/css/reset.min.css'");
* {
	/*utile per rendere il fonte migliore su MAC*/
	-webkit-font-smoothing: antialiased;/*anti-aliasing a livello di grigio (più sottile)*/
	box-sizing: border-box;/*width include contenuto + padding + border*/
}

body{
	font-family:'Golos Text',sans-serif;
	/*font-size:14px;*/
	color:#333D79;
    height: 100%;
	margin: 0;
	padding-top: 90px;
}

.nomesito {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    font-weight: bold;
    padding: 3px 0 3px 3px;
    font-size: 18px;
    z-index: 10000;
    background-color: #ffffff;
    /*margin: 0;*/
	border-bottom: 2px solid #ffffff;
}
/* Navbar fisso sotto il nomesito */
.navbar {
    position: fixed !important;
    top: 20px;
	/*
    left: 0;
    right: 0;
	*/
    width: 100%;
    z-index: 9999;
    background-color: #333d79 !important; /* Il tuo blu */
    margin: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.immagine{
	/*position: fixed;*/
	/*top: 1px;*/
	/*left: 85px;*/
	width: 164px;
	height: 55px;
	aspect-ratio: 1.09;
	/* serve per far adattare l'immagine al contenuto*/
	object-fit: cover;
}
.nav-link,.nav-link:hover,.nav-link:focus{
	font-weight: bold;
	color: #ffdfde;
	margin-left:10px;
	font-size:14px;
}
.navbar-toggler,.navbar-toggler:focus{
	background-color: #ffdfde;
	/*aggiunge ombra all'elemento pulsante hamburger*/
	box-shadow: none !important;
	/*aggiunge il bordo all'hamburger*/
    /*outline: none !important;*/
}
.piedipagina{
	background-color: #333d79;
	color: #ffdfde;
	text-align: center;
	font-weight: bold;
	font-size:14px;
}
.arealegale, .areasocial{
	text-decoration:none;
	color: #ffdfde;
	font-weight:normal;
}
.imgsocial{
	width:20px;
	height:20px;
	margin-left:10px;
}

ul,p{
	/*font-size:14px;*/
	text-align:justify;
	line-height: 1.3;/*interlinea*/
}
label{
	font-size:14px;
}
h1{
	font-weight:bold;
	font-size:24px;
}
h2{
	font-weight:bold;
	font-size:20px;
}
h3{
	font-weight:bold;
	font-size:16px;
}
.mainfotoprofilo{
	width:350px;
	height:380px;
}
.fotofilm{
	/**width:400px;*/
	height:250px;
}
.imgcv,.apici{
	width:30px;
	height:30px;
}
.imgsocialcontatti{
	height:30px;
	width:30px;
}	
input, textarea{
   border: 1px solid #333D79 !important;
}
.stilepulsanti{
	border-color:#333D79;
	border-style:solid;
	border-radius:10px;
	background-color:#ffdfde;
	text-align:center;
	height:60px;
	width:200px;
	color:#333D79;
	font-size:14px;
}
.stilepulsanti:hover{
	background-color:#333D79;
	color:#ffdfde;
	border-color:#ffdfde;
}
.alertstile{
	background-color:#ffdfde;
	border-color:#333D79;
	border-radius:5px;
}
.btn-chiusura:hover{
	background-color: transparent;
}
.errore{
	color:red;
	font-size:12px;
	font-weight:bold;
	display:none;
	white-space:pre-line;
}

.imgsfondo {
  display: block;    /* elimina spazi sotto l'immagine */
  width: 100%;     /* occupa tutta la larghezza */
  object-fit: fill;
  height:200px;
}
.spanbold{
	font-weight:bold;
}
.spanboth{
	font-style:italic;
	font-weight:bold;
}
.testocolorato,.testocolorato:focus{
	color:#333D79;
}
.tag{
	background-color:#333D79;
	color:#ffdfde;
	border:1px #ffdfde solid;
	border-radius:10px;
	font-weight:bold;
	padding:8px;
}
.sottotitolofoto{
	font-size:12px;
	font-weight:bold;
}


/*automatico*/

.tooltip-inner {
    background-color: #333D79 !important;
    color: #ffdfde !important;
	font-weight:bold;
}

/* Responsive - testo più piccolo su mobile */
@media (max-width: 768px) {
    .tooltip-inner {
        font-size: 12px !important;
        padding: 8px 12px !important;
    }
}
/* Freccia in alto */
.tooltip.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #333D79 !important;
}
/* Freccia a destra */
.tooltip.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #333D79 !important;
}

@media (max-width: 768px) {
  .tooltip::after,
  .tooltip::before,
  .tooltip-inner,
  .tooltip.bs-tooltip-end .tooltip-arrow::before,
  .bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before,
  .tooltip.bs-tooltip-top .tooltip-arrow::before,
   .bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before{
    display: none !important;
  }
}
/*fine codice automatico*/

.boxnews{
	font-size:14px;
	border-radius:10px;
	background-color:#ffdfde;
	height:100%;
}

.imgnews{
	width:100%;
	height:40%;
}

.imgsuper{
  max-width: 100%;
}

.fotohomepage{
    width:100%;
	height:450px;
	object-fit:cover; /* riempie tutto lo spazio mantenendo le proporzioni */
    display: block;
}
.gif-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.etichetta{
	text-decoration:none;
	color:#333D79;
}
.etichetta:hover{
	color:#ffdfde;
	cursor:pointer;
}

.spanpagina{
	font-size:16px;
}

.pointerHand{
	cursor:pointer;
}


/*regole accessibilità*/
.nav-link:focus-visible, .areasocialfooter:focus-visible,.arealegale:focus-visible{
  outline: 2px solid #ffdfde !important;
  box-shadow: none;
}

.navbar-brand:focus-visible, .areasocialfooter:focus-visible, .linkarticoli:focus-visible{
  outline: none;
}

.navbar-brand:focus-visible .immagine {
  outline: 2px solid #ffdfde;
  outline-offset: -3px;
}

.focusimg:focus-visible, .stilepulsanti:focus-visible, .stilefreccia:focus-visible,.linkarticoli:focus-visible{
	outline: 2px solid #333D79 !important;
	box-shadow: none;
}

.stilefreccia {
  background: none;
  border: none;        /* rimuove il bordo default del button */
  padding: 0;
}

.stilepulsanti:focus-visible, .stilefreccia:focus-visible{
	outline-offset:3px;
}
.linkarticoli:focus-visible{
	outline-offset:-2px;
}

ol,ul {
  list-style-type: decimal;
  padding-left: 30px;
  line-height:1.3;
}

.arealegale:hover, .voce:hover{
	text-decoration:underline;
}

.imgtop{
	width:100%;
	height:60%;
}
.divriga{
 margin-bottom: 8px;
}
.divrigatag{
 margin-top:7px;
 margin-bottom: 13px;
}

.testocorsivo{
	font-style:italic;
}
hr{
	border-top: 2px solid #333D79;
	margin-left:5px;
	margin-right:5px;	
}
/*regola usata in base al dispositivo*/
@media (min-width: 768px) and (hover: hover) {
	.boxnews:hover {
		transform: scale(1.1);
		transition: transform 0.2s ease; /* animazione fluida */
	}
}

@media (max-width: 768px) {
    .fotohomepage {
        height: 300px; /* regola in base al tuo design */
    }
}

}