html {
    height: 100%;
}
* {
    outline: none;
    font-family: 'Roboto', sans-serif;
}
h1, h2, h3, h4, h5{
    text-align: center;
}
h5 {
    margin: -1em 0 2em;
}
.smaller {
    font-size: 11pt;
    font-weight: 400;
}
[left] {
    text-align: left;
}
[right]{
    text-align: right;
}
[obl]:after{
    content: "*";
    color: #F00;
}
body {
    margin: 0;
    width: 100%;
    background-color: #222;
    color: #eee;
    overflow-x: hidden;
}
body, input {
    font-size: 1em;
}
a, q-backer{
    cursor: pointer;
    text-decoration: underline;
    color: #eee;
}
arkview {
    position: relative;
    top: 0;
    opacity: 1;
    transition: all 0.5s;
    background-color: #D1D2CD;
    color: #111;
    display: block;
    overflow: hidden;
    max-width: 800px;
    margin: auto;
    padding: 0 2em;
}
arkview.close {
    top: 30%;
    opacity: 0;
}
span[data-oid] {
    cursor: pointer;
    text-decoration: underline;
    color: #555;
    font-weight: 500;
}
q-body a, q-body q-backer{
    color: #666;
    text-decoration: underline;
    cursor: pointer;
}
td{
    color: 111;
}
.descorp{
    min-height: 230px;
    hyphens: auto;
}
#matselector div {
    max-height: 0;
    transition: all 0.3s;
    overflow: hidden;
}
#matselector.open div{
    max-height: 2em;
}
.stop{
    transition: none !important;
}
#slider{
    display: inline-block;
    width: 280px; 
    vertical-align: middle;
    padding: 0 30px;
    box-sizing: border-box;
    margin: 4px 20px 3px 9px;
}
#mapCanvas {
    width: 400px;
    height: 400px;
    overflow: visible !important;
}
#mapCanvas > div {
    opacity: 1;
    transition: opacity 0.5s;
    box-shadow: 0 0 5px #000;
    overflow: hidden;
}
#mapCanvas.loading > div {
    opacity: 0;
}
#mapCanvas.loading:after {
    opacity: 1;
    content: "";
    display: block;
    background-image: url(icons/loader.png);
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: center center;
    height: 100%;
    width: 100%;
    animation: rott 2s infinite linear;
    -webkit-animation: rott 2s infinite linear;
    -moz-animation: rott 2s infinite linear;
    -o-animation: rott 2s infinite linear;
}
#thesearch {
	margin: 0 auto;
}

#thesearch input, select{
    background-color: #E6E6E6;
    border: 1px solid #CCC;
    height: 30px;
    box-sizing: border-box;
    padding: 2px 10px;
    margin-left: 3px;
    vertical-align: middle;
}
#thesearch h3, #thesearch h4, #thesearch h5 {
    margin: 0.3em;
}
#thesearch td:first-child {
	padding-right: 5px;
    padding-top: 2px;
    text-align: left;
    line-height: 1.8em;
}
.grosso {
    font-weight: 800;
}
.auth {
    position: relative;
}
.heading {
    font-size: 13pt;
    font-weight: 800;
    background: none !important;
    border-bottom: 1px solid #000;
}
.heading td {
    padding-top: 1em !important;
}
#radios {
    text-align: left;
    margin-left: 1em;
    margin-left: 0.5em;
    margin-top: 0.5em;
}
#radios input {
    visibility: hidden;
    height: 1.4em;
    width: 0.2em;
}
#radios input+label:before {
    content: '';
    border-radius: 100%;
    border: 2px solid #000;
    height: 0.5em;
    width: 0.5em;
    display: inline-block;
    top: 0.05em;
    float: left;
    padding: 0.25em;
    position: relative;
}
#radios input:checked+label:after {
    content: '';
    border-radius: 100%;
    height: 0.7em;
    width: 0.7em;
    display: inline-block;
    background: #000;
    float: left;
    left: -1.1em;
    position: relative;
    top: 0.20em;
    border: 2px solid #CCC;
    margin-right: -1em;
}

#thesearch #preview input {
	display: inline;
    border: 0;
    padding: 0;
    background: none;
    height: auto;
    width: 3em;
    color: #333;
    -moz-appearance:textfield;
}
#datato {
	text-align: left;
}
#datafrom {
	text-align: right;
}
.searchresults {
	border-collapse: collapse;
    margin: auto;
    min-width: 600px;
}
.searchresults tr{
    cursor: pointer;
/*    background: #CCC;*/
}

.searchresults tr:nth-child(odd) {
/*    background: #DDD;*/
}
.searchresults td {
    padding: 3px 10px;
    text-overflow: ellipsis;
    white-space: normal;   
    word-wrap: break-word;
    width: auto;
}
q-back{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /*background: #D1D2CD;*/
    background: #FFF;
}
q-header, q-body, q-footer {
    display: block;
}
q-wrap-header, q-wrap-body, q-wrap-footer {
    width: 100%;
    display: block;
}
q-wrap-header{
    z-index: 999;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    border-bottom: 1px solid #EEE;
    height: 3.5em;
    background-color: #222;
    color: #eee;
}
q-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    font-weight: 200;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 1em;
    text-align: center;
    padding-bottom: 1em;
}
q-header:not(q-menu){
    cursor: pointer;
}
q-login{
    position: absolute;
    right: 0;
    top: 100%;
    height: 1em;
    padding: 0.2em 0.5em 0.5em;
    border: 1px solid #EEE;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    border-bottom-width: 2px;
    background-color: #222;
    box-shadow: 0 0 0 8px #222;
    z-index: 99;
    transition: all 0.2s;
}
q-login:hover{
    border-bottom-width: 3px;
    margin-top: -1px;
    transition: all 50ms linear;
}
q-login:active{
    border-bottom-width: 1px;
    margin-top:1px;
    transition: none;
}
q-wrap-body{
    color: #111;
/*    background: #D1D2CD;*/
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: margin 1s ease-in-out, opacity 0.4s;
}
q-body {
    overflow-y: auto;
    overflow-x: visible;
    box-sizing: border-box;
    background: #F4F4F4;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2em;
    min-height: calc(100vh - 9.3em);
}
#bigMap {
    max-width: 100%;
    height: 300px;
}
.evidence {
    background-color: #FFA !important;
}
q-loader {
    position: fixed;
    display: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(20,20,20,0.6);*/
    z-index: 99999;
    opacity: 0;
    transition: all 0.2s;
}
q-loader.pre{
    display: block;
}
q-loader.show{
    opacity: 1;
}
q-loader:before {
    content: "";
    background-image: url(icons/loader.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    width: 100px;
    margin: auto;
    animation: rott 2s infinite linear;
    -webkit-animation: rott 2s infinite linear;
    -moz-animation: rott 2s infinite linear;
    -o-animation: rott 2s infinite linear;
}
q-wrap-footer{
    border-top: 1px solid #EEE;
    width: 100%;
    margin: 0;
    z-index: 999;
    background-color: #222;
    z-index: 999;
}
q-footer{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-sizing: border-box;
    color: #eee;
}
q-block {
    display: inline-block;
    padding: 1em 10px;
    box-sizing: border-box;
    vertical-align: text-top;
}
td.rater {
    width: 3em;
    text-align: right
}
.rate {
    display: inline-block;
    height: 0.5em;
    background-color: #000;
    margin-bottom: 2px;
    max-width: 100%;
}
#thesearch {
    text-align: center;
}
#oa_social_login {
    width: 150px;
    overflow: hidden;
}
@-webkit-keyframes rott {
from { -webkit-transform: rotate(0deg); }
to { -webkit-transform: rotate(360deg); }
}
@-moz-keyframes rott {
from { -moz-transform: rotate(0deg); }
to { -moz-transform: rotate(360deg); }
}
@-o-keyframes rott {
from { -o-transform: rotate(0deg); }
to { -o-transform: rotate(360deg)); }
}
@keyframes rott{
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}

q-body[page="home"], q-body[page="contatti"] {
    background-size: contain;
    background-repeat: no-repeat;
}

q-body[page="home"]{
    background-image: url('/immagini/pers.jpg');
}
q-body[page="contatti"] {
    background-image: url('/immagini/map.jpg');
}