.hex-map,
.hex-map p{
    font-family: Jost, sans-serif;
}
#map-render g.hexagon.active{
    cursor: pointer;
}
#map-render g.hexagon.active polygon{
    transition: all 1s ease-out;
}
#map-render g.hexagon.active:hover polygon,
#map-render g.hexagon.active.opened polygon{
    transition: all 0.3s ease-out;
    fill: #f8d602!important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

#map-render g.hexagon text{
    display: none;
    
}
#tooltip {
    position: absolute;
    display: none;
    pointer-events:none;
}
#tooltip > div{
    position: absolute;
	background-color: #f8d602;
	color: #000;
	padding: 5px 10px;
	font-weight: bold;
	font-family: Jost, sans-serif;
	box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    text-align: center;
	transform: translate(-50%,calc(-100% - 15px));
}
#tooltip > div::after {
	width: 0px;
	height: 0px;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 15px solid #f8d602;
	position: absolute;
	content: ' ';
	bottom: -15px;
	left: 50%;
	transform: translate(-50%,0);
}

/*contituencies*/
#Consituencies .vis,
#SearchPostCode{
    display:none;
}
#Consituencies .vis.showWin,
#SearchPostCode.showWin{
    display:block;
}
#Consituencies .contituency{
    display:none;
    background-color:#fff;
    padding:20px;
    color:#000;
    position: relative;
}
#Consituencies .contituency .info{
    background-color:#000;
    padding:20px 20px 30px;
    color:#fff;
    margin-bottom:20px;
	position: relative;
}
#Consituencies .contituency .info .social{
	position: absolute;
	bottom: 5px;
	right: 12px;
}
#Consituencies .contituency .info .social a{
	color:#f8d602;
	transition:all 0.2s ease-out;
	text-decoration:none;
	display: inline-block;
}
#Consituencies .contituency .info p{
    font-family: Jost, sans-serif;
}
#NoResult .error{
	display:none;
}
.yellowBlock{
    display:flex;
    background-color:#f8d602;
    position:relative;
    padding:20px;
    color:#000;
    margin-top:10px;
    text-decoration:none;
    justify-content: space-between;
    font-family: Jost, sans-serif;
}
.yellowBlock a{
	transition:all 0.2s ease-out;
	display:inline-block;
	color:#000;
	text-decoration:none;
}
.yellowBlock a:hover,
#Consituencies .contituency .info .social a:hover{
	transform: scale(1.5);
}
a.yellowBlock{
	transition:all 0.2s ease-out;
	color:#000;
	text-decoration:none;
}
a.yellowBlock:hover{
	transform: scale(1.02);
}

.consituencyclose {
	position: absolute;
	left: auto;
	top: 0px;
	right: 0px;
	bottom: auto;
	padding: 7px 10px;
	font-family: Jost, sans-serif;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
}
.consituencyclose:hover{
    background-color:#f8d602;
}
/*postcode*/
.postcodeLookup input.postcodefield {
	font-family: Jost, sans-serif;
	text-align: center;
	font-size: 20px;
	border: 0;
	height: 50px;
    margin: 0;
}
.postcodeLookup input.button {
	background-color: #f8d602;
	color: #000;
	margin: 10px auto;
	display: block;
	font-weight: bold;
}

@media screen and (max-width: 660px){
	h2 {
		font-size: 40px;
		line-height: normal;
	}
	#map-render {
		position: relative;
		transform: scale(0.7);
		transform-origin: top left;
		width: 600px;
		height: 520px;
	}
}
@media screen and (max-width: 400px){

	#map-render {
		transform: scale(0.55);
	}
}