@import "config/config.scss";
/* MAIN */

/* BODY */
html {
	overflow-y: scroll;
}

html.bloccoscroll { overflow-y:hidden; }

html, body {
	@include testo_uno;
	font-size:13px;
	line-height: 1.5em;
	letter-spacing: 0.03em;
	word-spacing: 0.07em;
	font-weight: 300;
	max-width: 100%;
	@include mq($from:tablet){font-size:14px;}
	@include mq($from:desktop){font-size:15px;}
	@include mq($from:wide){font-size:16px;}
}



body {

	&:after, &:before{
		content: " ";
		position: fixed;
		width: 0px;
		height: 100vh;
		top: 0;
		left: 0;
		z-index: -1;
	}
	&:after{
		left: inherit;
		right: 0;
	}
}

body.bloccoscroll {
  overflow: hidden;
}

/* CONTENUTI --- CONTENUTI --- CONTENUTI --- CONTENUTI --- CONTENUTI --- CONTENUTI --- CONTENUTI  */

#contenuti {
	position: relative;
	z-index: 3;
	margin-top:0px;
}

.wrapper, .wrap {
	width: 90%;
	margin: 0 auto;
	max-width: 1280px;
}


/* Tooltip container */
.tooltip {
    position: relative;
    display: flex;

    a:after {
    	content: " ";
    	display: inline-block;
    	width: .875em;
    	height: .875em;
    	line-height: 1.6em;
    	line-height: 100%;
    	margin-left: 10px;

    }
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: auto;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;

    /* Position the tooltip text */
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);

    /* Fade in tooltip */
    opacity: 0;
    transition: opacity 0.3s;

    font-size: .6rem;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* Link base elementor */
body a {
	color: #000;
}
