@font-face {font-family: 'FFSignaWebBlack';src: url('../fonts/SignaOT-Black.eot');src: url('../fonts/SignaOT-Black.eot?#iefix') format('embedded-opentype'),url('../fonts/SignaOT-Black.woff') format('woff'),url('../fonts/SignaOT-Black.ttf') format('truetype');}
@font-face {font-family: 'FFSignaWebBook';src: url('../fonts/2DC75B_1_0.eot');src: url('../fonts/2DC75B_1_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2DC75B_1_0.woff') format('woff'),url('../fonts/2DC75B_1_0.ttf') format('truetype');}
@font-face {font-family: 'FFSignaWebBold';src: url('../fonts/2DC75B_3_0.eot');src: url('../fonts/2DC75B_3_0.eot?#iefix') format('embedded-opentype'),url('../fonts/2DC75B_3_0.woff') format('woff'),url('../fonts/2DC75B_3_0.ttf') format('truetype');}

html {
	text-align: center;
	box-sizing: border-box;
	font-family: "FFSignaWebBook",Arial,sans-serif;
	overflow: hidden;
}

*, *:before, *:after {
	box-sizing: inherit;
	margin:0;
	padding:0;
}

html, body {
	width: 100vw;
	height: 100vh;
}

.veribarometriPage, .veribarometriSituation {
	width: 100%;
	height: 100%;

}

/* Perus ominasuudet alueille */
.veribarometriPage > *, .veribarometriSituation > * {
	display: block;
	width: 100%;
}

.veribarometriPage > *:before, .veribarometriSituation > *:before {
	content: '';
	height: 100%;
	line-height: 100%;
	display: inline-block;
	vertical-align: middle;
}

/* Alueiden korkeudet */
.veribarometriPage .top, .veribarometriSituation .top {
	height: 27.6%;
} 

.veribarometriPage .middle {
	height: 48.7%;
}

.veribarometriSituation .middle {
	width: 80%;
	margin-left: 10%;
	margin-right: 10%;
	height: 55%;
}

.veribarometriPage .bottom {
	height: 23.7%;
}

.veribarometriSituation .bottom {
	height: 17.4%;
}

.container {
	display: inline-block;
	vertical-align: middle;
}

/* Veribarometri */
.veribarometri {
	padding: 0;
	width: 100%;
}

.veribarometri ul li {
	padding: 0 2.5%;
	position: relative;
	list-style: none;
	float: left;
}

.veribarometri ul li span {
	display: block;
	color: #7d7d7d;
	position: absolute;
	top: 0;
	right: 62%;
}

.one-row ul li {
	width:25%;
}

.one-row img {
	width: 100%;
	padding-left: 28%;
	padding-right: 28%;
}

.logo {
    position: absolute;
    bottom: -3%;
    right: 2%;
    width: 20%;
    z-index: -1;
}

.logo img {
	width: 100%;
}

/* Fonts CSS */

body {
	font-size: 6vw;
}

h1 {font-family: "FFSignaWebBlack",Arial,sans-serif;}
h2 {font-family: "FFSignaWebBold",Arial,sans-serif;}
h3 {font-family: "FFSignaWebBook",Arial,sans-serif;}

.veribarometriSituation .top h1 {
	font-size: 90%;
	line-height: 1.25em;
	color: #e2261c;
}

.veribarometriPage .top h1 {
	font-size: 100%;
	line-height: 1.25em;
	color: #e2261c;
}

.veribarometriPage .middle h2 {
	font-size: 80%;
	line-height: 1.25em;
}

.veribarometriPage .bottom h3 {
	font-size: 70%;
	line-height: 1.25em;
	font-weight: normal;
}

.veribarometri ul li span {
	font-size: 50%; 
}

/* Vertical spesifics */

#vertical .veribarometriPage .top {
	height: 23.5%;
}

#vertical .veribarometriPage .middle {
	height: 53%;
	width: 95%;
	margin: 0 2.5%;
}

#vertical .veribarometriPage .bottom {
	height: 23.5%
}

#vertical .veribarometriSituation .top {
	height: 20%;
	padding-top: 2vh;
}

#vertical .veribarometriSituation .middle {
	height: 68.5%;
}

#vertical .veribarometriSituation .bottom {
	height: 11.5%;
}

#vertical .veribarometriSituation .middle .container {
	height: 100%;
}

.two-rows ul, #vertical .veribarometri {
	height: 100%;
}

.two-rows ul li {
	height: 25%;
	max-height: 25%;
	width: 50%;
}

.two-rows ul li img {
	height: 100%;
}

#vertical .logo {
	width: 30%;
	bottom: 0;
}

/* Vertical Fonts */

#vertical {
	font-size: 9vw;
}

#vertical .veribarometriSituation .top h1 {
	font-size: 110%;
}

#vertical .veribarometriPage .top h1 {
	font-size: 100%;
}

#vertical .veribarometriPage .middle h2 {
	font-size: 80%;
}

#vertical .veribarometriPage .bottom h3 {
	font-size: 78%;
}
#vertical .veribarometri ul li span {
	font-size: 60%;
}

#vertical #titleHorizontal {
	display: none;
}

/* Horizontal only */

#horizontal #titleVertical {
	display: none;
}

#horizontal .veribarometriSituation .top h1 {
	padding-top: 7%;
}
 
#horizontal .veribarometriSituation .middle .container {
	height: 100%;
}

.one-row ul, #horizontal .veribarometri {
	height: 100%;
}

.one-row ul li {
	max-height: 50%;
}
