*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;}
::selection{color:#fff;background:#000;text-shadow:1px 1px 0 #000;}
body {
	margin:0px;
	padding:20px;
	font-family:Helvetica,Arial,Verdana,sans-serif;
	font-size:16px;
	color:#333;
	background:#fff;
	overflow-x:hidden;
	opacity:1 !important;
}
header {
	padding: 10px;
	text-align: center;
}
.hubLogo img{
	max-width: 100%;
	max-height: 150px;
}
h1{
	font-size:5em;
	font-family: "Birthstone", cursive;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 1px;
}
h2{
	font-size:1.6em;
	font-weight:200;
}
h3{
	font-size: 1.2em;
	font-style: italic;
	font-weight: normal;
}
p{
	line-height: 130%;
}

a,a:visited,a:active{color:#B58770; transition: all .2s;}
a:hover{color:#9d7460;}
a.btn-round,
button.btn-round {
	display: inline-block;
	padding: 10px 15px;
	color: #fff;
	background: #B58770;
	text-decoration: none;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	transition: all .2s;
}
a.btn-round:hover,
button.btn-round:hover {
	background: #9d7460;
}

.page {
	position: relative;
}
.page .narrow {
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	text-align: justify;
}
.page h1{
	margin: 0;
	text-align: center;
}
.page h2{
	margin: 0;
	margin-bottom: 0.25em;
	text-align: center;
}

.campains li a{
	display: block;
	padding: 2px 5px;
}

.candidates{
	width: 100%;
	display: grid;
  	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	padding: 20px;
}
.candidate{
	position: relative;
	display: block;
	text-decoration: none;
	width: 100%;
	background: #f9f9f9;
	box-shadow: 0px 0px 5px 0px rgba(0,0,0,.1);
	border-radius: 2px;
	transform-style: preserve-3d;
  	will-change: transform;
	transition: all 0.1s ease-in-out;
}
.candidate .content{
	position: relative;
	width: 100%;
	padding-top: 122%; /* 475x580 */
	z-index: 1;
	transition: all 0.2s ease-in-out;
}
.candidate .name{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	font-family: "Birthstone", cursive;
	font-weight: 400;
	font-style: normal;
	font-size: 2.3em;
	text-align: center;
	padding: 10px;
	color: #333;
}
.candidate .votes{
	margin: 0 5px;
}
.candidate .votes img{
	max-height: 1em;
	vertical-align: middle;
}
.candidate .img{
	position: absolute;
	top: 5.25%;
	left: 5.5%;
	width: 89%;
	height: 75%;
	background-color: #fff;
	background-size: cover;
	background-position: center center;
	border-radius: 3px;
	z-index: 3;
	transition: all 0.2s ease-in-out;
}
.candidates .candidate:hover{
	transform: perspective(1000px) rotateX(5deg) rotateY(3deg) scale(1.03);
	box-shadow: 3px 3px 10px 0 rgba(0,0,0,.2);
}

.center {
	text-align: center;
}


.elasticMin {
	display:flex;
	flex-wrap:wrap;
	gap:1px;
}
.elasticMin > *{
	position:relative;
	display:block;
	flex-grow:1;
	flex-shrink:1;
	flex-basis:30%;
	min-width:180px;
	overflow:hidden;
}


.fullFlex{
	display:flex;
	align-items:stretch;
	gap:1px;
	margin-bottom:1px;
}
.fullFlex > * {
	flex-grow:1;
}


/* form */
.campForm{
	display: grid;
  	grid-template-rows: 1fr;
	transition:all .2s;
}
.campForm > div{
	overflow: hidden;
}

.campForm input{
	display:block;
	width:100%;
	padding:8px;
	border:none;
	background: #f6f6f6;
	border-bottom:solid 2px #ccc;
	border-radius:2px;
	transition:border .3s;
	outline:0 none;
	margin: 5px 0;
}

.campForm select {
    display:inline-block;
	width:100%;
    height:31px;
    padding:0 10px;
	margin: 0 0 10px 0;
    border-radius:2px;
    border:none;
    outline:none;
    cursor:pointer;
	background: #f6f6f6;
	border-bottom:solid 2px #ccc;
}
.campForm input:hover,
.campForm select:hover {
	border-bottom-color: #9d7460;
}

.campForm label.error{
	display:block;
	color:#800;
	text-shadow:1px 1px 0 #fff;
	width:80%;
	padding:2px 5px;
	text-align:left;
	background:rgba(80,0,0,.1);
	border-radius:0 0 2px 2px;
	margin:0 auto;
}

.campForm button{
	margin: 10px 0;
}

.loading .campForm{
	opacity:0.5;
	pointer-events:none;
	filter: blur(2px);
}
.sent .campForm{
	pointer-events:none;
	grid-template-rows: 0fr;
}

/* Voted */
.voted{
	display: grid;
	grid-template-rows: 0fr;
	transition:all .2s;
}
.voted > div{
	overflow: hidden;
}
.sent .voted{
	grid-template-rows: 1fr;
}

.footer {
	margin-top: 100px;
	padding: 10px;
}
.footer .links{
	display: flex;
}
.footer .links a{
	flex-grow: 1;
	text-decoration: none;
	text-align: center;
	padding: 10px 0 15px;
	border-top: 2px solid currentColor;
	transition: all 0.2s;
}
.footer .links a:hover{
	background-color: color-mix(in srgb, currentColor 10%, transparent);
}
.footer .links .icon{
	width: 30px;
	height: 30px;
}

.footer .VtoV{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 10px;
}
.footer .VtoV img{
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.footer .TandC{
	text-align: center;
	padding: 30px;
	font-size: 1.3em;
}