/*
Theme Name: Buonoposte
Theme URI:
Description:
Author: Stefano Esu/Eshan Dilmina
Author URI:
Version: 1.0.1
License:
License URI:
Tags:
Text Domain: bp
*/

@charset "utf-8";

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
    background-color: #FDFDFD;
    font-size: 100%;
    line-height: 1.125em;
    height: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    image-rendering: -webkit-optimize-contrast;
    /* Cross Browser graphic and fonts fixes */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -ms-interpolation-mode: nearest-neighbor;
    top: 0px !important;
}
body.admin-bar .navbar{ top:32px !important; }
/* GENERAL STYLES */
.p-relative, div.wrapper{ position: relative; }
.p-absolute{ position: absolute; }
.c-white{ color: white; }
.img-like-bck{
    position: absolute;
    max-width: 100%;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate( -50%, -50%);
    object-fit: cover;
	object-position: center;
}
.img-like-bck.no-abs{
	position: initial;
    top: 0%;
    left: 0%;
    transform: translate( 0%, 0%);	
}
.img-like-bck.img-contain{
	object-fit: contain !important;
}
.img-on-top{
	height: 265px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
	top: 0% !important;
	left: 0% !important;
	position: initial !important;
	transform: translate(-0%, -0%) !important;	
}
.otgs-development-site-front-end{
	display: none !important;
}

.not-visible, .hidden {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    pointer-events: none;
}
.hidden{
	transition: opacity 0.8s, max-height 0.8s ease-out;
}
.visible {
    opacity: 1 !important;
    visibility: visible !important;
    max-height: 1000px!important;
    transition: opacity 0.8s, max-height 0.8s ease-in;
    pointer-events: all;
}
.show-text {
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.25s ease-out, max-height 0.4s ease-out;
}
.f-right{
	float: right;
}
body.admin-bar .header{ top:32px !important; }
.pageLoader{
	background-color: rgba(255, 255, 255, 0.9);
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 9999;
	top: 0px;
	opacity: 1;
	text-align: center;
	padding-top: 20%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.pageLoader.show {
    opacity: 1;
    visibility: visible;
}
.pageLoader .loader-spinner{
	padding-top: 40px; 
	width: 40px;
	display: block;
	margin: 0px auto;
}
.pageLoader p{
	color: #0047bb;
    margin-top: 24px;
    font-size: 28px;
	line-height: 28px;
    text-shadow: 0 0 black;
}

.bck-white{ background-color: white; }
.link-disabled{
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.6;
}

.font-regular {
    font-weight: 400;
}

.font-bold {
    font-weight: 700;
}

.btn-primary-blue {
    background-color: #0047BB;
    color: white;
}
.vota-hero-banner .banner-title {
	font-size: 3rem;
	line-height: 3.5rem;
	letter-spacing: -0.02rem;
}

.vota-hero-banner .banner-text {
	font-size: 1.5rem;
	line-height: 2.125rem;
	letter-spacing: 0rem;
}

.vota-hero-banner-image {
	width: 526px;
	height: 526px;
	z-index: 2;
	transform: translate(15%, -16%);
}

.vota-hero-banner-oval {
	width: 526px;
	height: 526px;
	z-index: 1;
	transform: translate(5%, -16%);
}

.vota-hero-banner .card-title {
	font-size: 1.5rem;
	line-height: 2.25rem;
	letter-spacing: -0.01rem;
}

.vota-hero-banner .card-text {
	font-size: 1rem;
	line-height: 1.5rem;
	letter-spacing: 0rem;
}
.otp-inputs {
	display: flex;
	gap: 8px;
	margin-top: 12px;
}

.otp-inputs input {
	width: 34px;
	font-size: 20px;
	line-height: 34px;
	text-align: left;
	border: none;
	border-bottom: 2px solid #909194;
	outline: none;
	transition: border-color 0.2s;
}

.scegli-btn{ 
    border: 1px solid #0047BB;
    color: #0047BB;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 24px;
}
.shadow-custom{ 
    -webkit-box-shadow: 4px 4px 8px 4px #DDDDDD; 
    box-shadow: 4px 4px 8px 4px #DDDDDD;
}
.pageLoader{
	background-color: rgba(105, 105, 155, 0.5);
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 9999;
	top: 0px;
	opacity: 1;
	text-align: center;
	padding-top: 20%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}
.pageLoader.show {
    opacity: 1;
    visibility: visible;
}
.pageLoader .loader-spinner{
	padding-top: 40px; 
	width: 40px;
	display: block;
	margin: 0px auto;
}
.grid-block .vote-button:hover{
    border-color: #0047BB;
    
}
.otp-inputs input:focus,
.otp-inputs input.filled {
	border-bottom-color: #0047BB;
}
.otp-inputs input::placeholder {
	color: #ccc;
	font-weight: normal;
}
.otp-inputs input:focus::placeholder {
	color: transparent;
}
.submit-voto{
	opacity: 0;
    visibility: hidden;
    height: 0px;
    padding: 0;
    margin: 0;
    line-height: 0;
	border:none;
}

.success-response, .failed-response {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}

.success-response.show, .failed-response.show {
	display: block;
	opacity: 1;
	margin-top:5rem;
	margin-bottom: 5rem;
}		
.box-content{ background-color:white; padding: 32px;  box-shadow: 0 2px 8px rgba(26, 28, 30, 0.1); }
.box-content p{ line-height: 24px;   }
.box-content .reload{ 
	color: #0047BB;
	border: 1px solid #0047BB;
	border-radius: 50px;
	padding: 17px 26px;
	display: inline-block;
	font-weight: bold;
	text-decoration: none;
}
.box-content .reload:hover{
	background-color: #0047BB;
	color: white;
}
.grecaptcha-badge{ visibility: hidden; opacity: 0; }

@media screen and (max-width: 991px) {
	.vota-hero-banner-image.on-top{
		transform: translate(0, 0) !important;
		margin: 0 auto;
		max-width: 500px;
		width: 100%;
		height: auto !important;
		margin-bottom: 20px;
	}
	.vota-hero-banner .banner-title{
		font-size: 2.35rem;
		line-height: 44px;
	}
	.vota-hero-banner .banner-text{
		font-size: 1.35em;
	}
}