/* ====== HEADERS & LOGO =================== */

	#masthead .custom-header {
		background-color: white;
	}

	#masthead .custom-header .custom-logo {
		max-width: 70% !important;
		width: 70% !important;
	}
	@media screen and (max-width: 600px) {

		#masthead .custom-header .custom-logo {
			max-width: 120% !important;
			width: 120% !important;
		}
	}
	@media screen and (max-width: 760px) {

		#masthead .custom-header .custom-logo {
			max-width: 90% !important;
			width: 90% !important;
		}
	}

	/* WIDGET */
	.EstesoftLogo {
		white-space: nowrap !important;
		line-height: 3em !important;
		height: auto !important;
	}
	.EstesoftLogo img {
		vertical-align: middle;
	}

	/* ====== POST E ARTICOLI =================== */

	/* Articoli: nascondi informazioni di pubblicazione */
	article .entry-meta {
		display: none;
	}

	/* ====== PARTI COMUNI =================== */

	/* Nome prodotto */
	.estesoft .ProductName {
		/*font-size: 115%;*/
		/*font-style: italic;*/
		font-weight: bold;
	}

	/* ====== PROGRESS =================== */

	/* Progress (contenitore esterno) */
	#EstesoftProgress {
		display: none;
		position: absolute;
		overflow: hidden;
		z-index: 999;
		text-align: center;
	}
	/* Progress (contenuti interni) */
	#EstesoftProgress .content {
		display: table-cell;
		vertical-align: top;
	}
	/* Progress (immagine del progresso) */
	#EstesoftProgress .progress {
		background-image: url(/wp-content/plugins/estesoft/assets/images/Progress/loading.svg);
		background-size: 150px 150px;
		background-repeat: no-repeat;
		background-position-x: center;
		background-position-y: center;
		margin-left: auto;
		margin-right: auto;
		width: 150px;
		height: 150px;
	}
	/* Progress (messaggio) */
	#EstesoftProgress p {
		font-size: 150%;
	}

	/* ====== TIPS =================== */

	/* Tips Title */
	.tips-info .title, 
	.tips-excl .title, 
	.tips-idea .title 
	{
		height: 20px;
		margin-bottom: 10px;
		padding-left: 30px;
		font-weight: bold;
	}

	/* Tips Information */
	.tips-info {
		margin: 10px 0px 10px 0px;
		padding: 15px 15px 15px 15px;
		background-color: rgb(177, 204, 255);
		border-radius: 5px;
		background-image: url(/wp-content/plugins/estesoft/assets/images/Tips/info-24.png);
		background-repeat: no-repeat;
		background-position: 15px 15px;
		background-size: 20px 20px;
	}

	/* Tips Exclamation */
	.tips-excl {
		margin: 10px 0px 10px 0px;
		padding: 15px 15px 15px 15px;
		background-color: rgb(255, 208, 208);
		border-radius: 5px;
		background-image: url(/wp-content/plugins/estesoft/assets/images/Tips/excl-24.png);
		background-repeat: no-repeat;
		background-position: 15px 15px;
		background-size: 20px 20px;
	}

	/* Tips Suggestion */
	.tips-idea {
		margin: 10px 0px 10px 0px;
		padding: 15px 15px 15px 15px;
		background-color: rgb(206, 253, 206);
		border-radius: 5px;
		background-image: url(/wp-content/plugins/estesoft/assets/images/Tips/idea-24.png);
		background-repeat: no-repeat;
		background-position: 15px 15px;
		background-size: 20px 20px;
	}

	/* ====== BUTTONS e MODULI =================== */

	/* pulsanti wordpress */
	.wp-block-button__link {
		border-radius: 5px !important;
		height: 45px;
	}
	/* pulsanti standard */
	/*.estesoft button,
	.estesoft input[type="submit"],
	.estesoft input[type="button"], 
	.estesoft input[type="reset"] {
		border-radius: 5px !important;
		height: 45px;
	}
	*/
	button,
	input[type="submit"],
	input[type="button"],
	input[type="reset"] {
		border-radius: 5px !important;
		height: 45px;
	}

	button {
		font-size: 16px !important;
		padding: 10px !important;
		margin: 3px !important;
	}

	/* ====== COOKIES BANNER =================== */

	#EstesoftCookiesBanner {
		display: none;

		background-color: lightgray;
		padding-top: 5px;
	
		padding-left: 10%;
		padding-right: 10%;
	
		padding-bottom: 5px;
	
		position: fixed;
		bottom: 0;
		width: auto;
		z-index: 1000;
	}

	#EstesoftCookiesBanner .buttons {
		text-align: left;
	}

	#EstesoftCookiesBanner button {
		cursor: pointer;
		font-size: 80% !important;
		height: auto !important;
	}

	#EstesoftCookiesBanner #SubmitAcceptAll {
		background-color: dodgerblue;
	}

	#EstesoftCookiesBanner #SubmitCustomize {
		background-color: rgb(118, 118, 118);
	}

	#EstesoftCookiesBanner #SubmitRejectAll {
		display:none;
	}

	#EstesoftCookiesBanner #SubmitCancel {
		cursor: pointer;
		font-weight: bold;
		float: right;
	}


	/* ====== MODULES =================== */

	.estesoft label, .estesoft-modules label
	{
		margin-top: 15px;
		margin-bottom: 0px;
	}


	.estesoft select, .estesoft-modules select,
	.estesoft input[type=text], .estesoft-modules input[type=text] {
		width: 100%;
	}

	.estesoft select:disabled, .estesoft-modules select:disabled
	.estesoft input[type="text"]:disabled, .estesoft-modules input[type="text"]:disabled {
		border-color: gray;
	}

	/* Comportamento predefinito dei DIV con contenuti */
	.estesoft, .estesoft-modules 
	{
		width: 100%;
		max-width: 100%;
	}

	/* Comportamento dei contenuti con schermi di grandi dimensioni */
	@media screen and (min-width: 600px) 
	{
		.estesoft, .estesoft-modules 
		{
			width: 600px;
		}
	}

	/* Comportamento dei contenuti con schermo di piccolissime dimensioni */
	@media screen and (max-width: 300px) 
	{
		.estesoft, .estesoft-modules 
		{
			width: 300px !important;
		}
	}

	/* Auto-height per pulsanti link di WordPress */
	.wp-block-button__link {
		height: auto;
	}

	/* ====== LINKS ESTERNI =================== */

	/* HREF ad elementi diversi da immagini che NON SONO contenuti nel menu */
	:not(.menu-item) > a[href][target]:not(:has(img)) {
		background-image: url(/wp-content/plugins/estesoft/assets/images/buttons/external-link.svg);
		background-size: auto 0.8em;
		background-position: center right;
		background-repeat: no-repeat;
		padding-right: 1.2em;
	}


