:root {
	--pcolor: #0485be;
	--scolor: black;
	--dcolor: #ccc;
}

.k-preview body {
	background-color: orange;
}
body #main {
	background-color: #fff;
	font-family: "mr-eaves-xl-modern", sans-serif;
	font-size: 1.2rem;
}
body:not(.home) #main {
    padding: 0 1.5rem;
}

#contents .mp-ec a:hover,
#user-menu a,
.overlay a,
#contents a {
	color: var(--pcolor);
}

#user-menu a:hover,
.overlay a:hover,
#contents a:hover {
	text-decoration: underline;
}

h2 {
	color: var(--pcolor);
  font-size: 2rem;
	font-weight: bold;
	margin: 1rem 0;
	text-transform: uppercase;
}
h2:after {
	border-bottom: 4px solid var(--pcolor);
	color: var(--pcolor);
	content: "";
	display: block;
	width: 100%;
}

h3 {
    font-family: "mr-eaves-xl-sans", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 2rem;
    margin-bottom: 0.75rem;	
}
.mp-prodotto h3 {
	height: 70px;
}

.mp-menu {
	display: inline-block;
	padding: 5px 10px;
	text-align: center;
}
#contents .mp-menu {
	margin: 0 0 .5rem 0;
}

.mp-menu:hover {
  text-decoration: none !important;	
}
.mp-menu:after {
	content: "";
	display: block;
	height: 2px;
	width: 0;
	background-color: transparent;
	transition: all ease-in-out 0.5s;
}
.mp-menu.mp-active:after,
.mp-menu:hover:after {
  background-color: var(--pcolor);
	width: 100%;
}

#contents .mp-button,
.mp-button {
  background-color: var(--pcolor);
	border: 1px solid var(--pcolor);
	color: #fff;
  display: inline-block;
	padding: 5px 10px;
	text-decoration: none !important;
  white-space: nowrap;
}
#contents .mp-button.mp-active,
.mp-button.mp-active {
	background-color: var(--dcolor);
	border: 1px solid var(--dcolor);
}
#contents .mp-button {
	margin-right: 10px;
}
.overlay .mp-close {
	color: #fff;
	height: 30px;
	line-height: 25px;
	padding: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	width: 30px;
}
.password .overlay .mp-close,
.login .overlay .mp-close {
	display: none;
}
.overlay .mp-button:hover,
.overlay .mp-close:hover,
#contents .mp-ec a:hover .mp-button,
#contents .mp-ec a:hover,
#contents .mp-button:hover {
	color: var(--scolor);
	text-decoration: none;
}
.mp-box {
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 5px;
	margin: 30px 3px 0 3px;
	position: relative;
	overflow: hidden;
}
.mp-prodotto {
	padding-bottom: 130px;
}
.mp-prodotto img {
	max-height: 300px;
}

.mp-prodotto .mp-ec {
  bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
}
.mp-prodotto .mp-ec > p,
.mp-prodotto .mp-ec > ul {
	padding: 0 15px;
}
.detail-link {
	border-bottom: 4px solid var(--pcolor);
}
.mp-errore:not(:empty) {
	border: 1px solid red;
	border-radius: 100px;
	color: red;
	font-size: 12px;
	font-weight: 700;
	padding: 0 3px;
	text-align: center;
}
.mp-errore:not(:empty):hover {
	background-color: red;
	color: #fff;
  text-decoration: none;
}
.mp-errore-form {
	color: red;
}

#abbonamenti li,
#indirizzi li,
#ordini-elenco li {
	border-bottom: 1px dotted var(--dcolor);
	padding-bottom: 20px;
}
#abbonamenti li:last-child,
#indirizzi li:last-child,
#ordini-elenco li:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

#mp-mask {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, 0.7);
	transition: opacity 500ms;
	z-index: 20;
}
#mp-mask .mp-container {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50% -50%);
}
#mp-mask .mp-spinner {
	width: 50px;
	aspect-ratio: 1;
	border-radius: 50%;
	border: 8px solid var(--scolor);
	border-right-color: #fff;
	animation: l2 1s infinite linear;
    animation: rotation 1s linear infinite;
}
@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.overlay {
	background: rgba(0, 0, 0, 0.4);
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	opacity: 0;
	right: 0;
	transition: opacity 500ms;
	visibility: hidden;
	z-index: 10;
}
.password .overlay,
.login .overlay {
	background: #fff;
	top: 50px;
}
.overlay:target {
	visibility: visible;
	opacity: 1;
}
.overlay .container {
	background: #fff;
  	box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.2);
	left: 0;
	max-height: 90%;
	max-width: 960px;
	min-width: 300px;
	overflow: auto;
	position: relative;
	top: 30px;
}
.password .overlay .container,
.login .overlay .container {
	box-shadow: none;
    margin-top: 0 !important;
	top: 0;
}
