body {
	font-family: sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	max-width: 900px;
	margin-left: 30px;
}

p#intro {

	text-align: justify;
}
p#gdpr1 {
	margin-top: 20px;
	font-size: 10px;
	border-top: 1px solid #999;
	text-align: justify;
}

span#instr {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
}

div#instr1, div#instr2 {
	float: left;
	padding-bottom: 10px;
}

div#instr1 {
	padding-right: 20px;
}

h1 {
	font-size: 26px;
	/*margin: 10px 0px 0px 0px;*/
	/*padding: 0px;*/
}

input[type="range"]::-moz-range-track {
  background: repeating-linear-gradient(to right, 
    #000,
    #000 0.5%, 
    #ccc 0.5%, 
    #ccc 19.5%);
}

div#logo {
	float: right;
	position: absolute;
	right: 30px;
	top: 30px;
}

div#lang {
	display: none;
	top: 155px;
	right: 30px;
	float: left;
	clear: both;
	position: absolute;
}

div#submit input {
	border-radius: 10px;
	border: 1px solid #a41100;
	padding: 5px 20px 5px 20px;
	font-size: 18px;
	background-color: #f4511e;
	color: #ffffff;
	-webkit-transition-duration: 0.4s; /* Safari */
    	transition-duration: 0.4s;
	cursor: pointer;
	margin-right: 1px;
}

div#submit input:hover {

	background-color: #ff816e;

}


@media only screen and (max-width: 1050px ) {
	div#logo {
		float: left;
		position: relative;
		bottom: 20px;
		left: 5px;
	}

	div.result  {
		bottom: 10px !important;
	}


	div.stats {
		float:right !important;
		position: absolute !important;
		right: 5px !important;
		left: auto !important;
		bottom: 5px !important;
	}

	div.stats img {
	}

	div#logo img {
		width: 50px;
	}

	fieldset {
                margin: 0px;
                padding: 0px;
        }

        legend {
                font-size: 12px;
        }

        h1 {
                font-size: 14px;
                text-align: center;
        }

        body {
                margin: 1px;
        }

	thead#long th[scope=col] {
		font-size: 10px !important;
		min-width: 56px !important;
	}

}


@media only screen and (max-width: 650px) {
	div#lang {
		position: static;
		float: right;
		margin-top: 20px;
	}


}

@media only screen and (max-width: 550px ) {
	thead#short th[scope=col] {
                width: 10px !important;
                min-width: 10px !important;
        }

        thead#long {
                display: none !important;
        }

	 div#scale {
                display: block !important;
                font-size: 10px;
                text-align: center;
        }

	 thead#short {
                display: table-header-group !important;
        }


}

@media only screen and (orientation:portrait) {


	p, div#instr1, div#instr2 {
		font-size: 12px;
		padding: 5px;
	}

        div#logo {
                float: left;
                position: relative;
                bottom: 20px;
                left: 5px;
        }

        div#logo img {
                width: 50px;
        }




	fieldset {
		margin: 0px;
		padding: 0px;
	}

	legend {
		font-size: 12px;
	}

	h1 {
		font-size: 14px;
		text-align: center;
	}

	body {
		margin: 1px;
	}

	thead#short {
		display: table-header-group !important;
	}

	thead#short th[scope=col] {
		width: 10px !important;
		min-width: 10px !important;
	}

	thead#long {
		display: none !important;
	}

	div#scale {
		display: block !important;
		font-size: 10px;
		text-align: center;
	}

}

div#scale {
	display: none;
}

thead#short {
	display: none;
}


th, legend {
  -webkit-user-select: none; 
  -moz-user-select: none;    
  -ms-user-select: none;     
  user-select: none;     
}

table#questions td, table#questions input {
	cursor: pointer;
}

abbr {
	cursor: help;
}

table#questions td {
	border-left: 2px dashed #ccccff;
}

table#questions tbody tr:hover {
	background-color: #ffff66;
}

table {
	font-size: 12px;
	border-collapse: collapse;
}

/*
table#results td.bad {
	color: #d73027;
}

table#results td.good {
	color: #1a9850;
}
*/

table#questions th[scope=row] {
	text-align: left;
	font-weight: normal;
	padding: 5px;
}

table th[scope=col] {
	width: 80px;
	min-width: 80px;
}

table#questions td {
	text-align: center;
	vertical-align: middle;
}

tr.odd {
	background-color: #cceeff;
}

div#submit {
	margin-top: 5px;
	margin-right: 2px;
	text-align: right;
}

div#question {
	margin-bottom: 5px;
	font-weight: bold;
}


div#results {
	max-width: 450px;
	min-height: 280px;
}

div.dims {
	float: left;
	margin-right: 25px;
}

div.dims th {
	text-align: left;
}

div.dims td {
	text-align: right;
	cursor: default;
}

div.dims img {
	cursor: default;
}

div.explain {
	text-align: justify;
	font-size: 11px;
	width: 400px;
	float: right;
	padding: 5px;
	border: 1px solid #999;
	background-color: #f7f7ff;
	padding: 10px;
	border-radius: 10px;
}

fieldset {
	border-radius: 10px;
}
