* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html {
height: 100%;
width: 100%;
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
font-family: 'Quicksand', Helvetica, Arial, Verdana, sans-serif;
color:#000;
}
html, body {
width: 100%;
overflow-x: hidden;
}
body {
min-height: 100%;
height: 100%;
position: relative;
margin:0;
padding:0;
font-size: 75%;
line-height: 1.4;
font-weight:400;

background-color: #fafafa;
color:#000;
}
::-moz-selection {
background: #777;
color: white;
text-shadow: none;
}
::selection {
background: transparent;
/*color: white;*/
text-shadow: none;
}
button {
-webkit-appearance: button;
cursor: pointer;
}
input { margin:0;-webkit-appearance:none; }
.dn {display:none;}
.dib {display:inline-block;}
.db {display:block;}
.flrt{float:right;}
.fllt{float:left;}

.lb {
color:#999;
text-transform: uppercase;
font-size:11px;
line-height:12px;
padding:0 !important;
margin:0;
margin-bottom:3px;
}
.pt0 {padding-top:0 !important;}
.ml5 {margin-left:5px}
.ml10 {margin-left:10px}
.ml20 {margin-left:20px}
.mr10 {margin-right:10px}
.mt10 {margin-top:10px}
.mt20 {margin-top:20px}
.flrt {float:right;}
.fllt {float:left;}
/*******/
.ch {
background:#fff;
border:1px solid #ddd;
/*width:90%;*/
width:100%;
/*height:70%;
    
max-height:900px;
margin:5% auto;*/
    
height:500px;
/*margin:10px auto;*/
margin:0 auto;
margin-right:10px;
margin-bottom:0;
padding:10px;
}
.ch canvas {
height:100%;
width:100%;
}

.cht {
width:90%;
margin:20px auto;
margin-bottom:-5%;
padding:10px 20px;
font-size:14px;
}
.cht_btns {
width:90%;
margin:0 auto;
padding:20px 0;
vertical-align: top;
position:relative;
}

.cht_btns button {
padding:8px 12px;
background:#ddd;
color:#666;
border:0;
font-size:16px;
cursor:pointer;
text-transform: uppercase;
margin-right:5px;
}
.cht_btns button:hover {
background:#444;
color:#fff;
}

.cht_btns button.video {
/*float:right;*/
background: #51A7E8;
color:#fff;
border:0 !important;
}
.cht_btns button.video:hover {
background: #000;
}
.flds button {
border-left:10px solid;
}
.flds button:hover {
border-left:10px solid #000;
}

.cht_btns .btn_fn {
background:#222;
color:#fff;
}
.cht_btns .btn_s {
background:#000;
color:#fff;
}
.cht_btns .dib {
margin-right:20px;
}
.cht_btns .bx {
display:table-cell;
vertical-align: top;
padding-right:40px;
}
/***/
input.in {
outline: 0;
width: 110px;
font-size:14px;
padding:10px;
height: 35px;
line-height: 35px;
background:#fff;
border:1px solid #ddd !important;
}

.id_cam {
float:left;
display:inline-block;
margin-right:10px;
}
.id_cam .combo-select {
margin-top:15px;
position: relative;
max-width: 200px;
}
.id_cam .combo-input {
padding:10px;
padding-right:25px;
}
  
.srch_date {
color:#666;
display:inline-block;
}
.srch_date span {
float:left;
display:inline-block;
line-height: 36px;
}
.srch_date button { 
float:left;
position:relative;
display: inline-block;
border: none;
width: 32px;
height: 35px;
line-height: 32px;
text-align: center;
color: #888;
padding: 0;
margin: 0;
background:#ddd;
overflow:hidden;
}
.srch_date button:hover { 
background:#ccc;
}
.srch_date img {
position:absolute;
height:16px;
width:16px;
top:9px;
left:7px;
}
input.in_x {
float:left;
outline: 0;
width: 110px;
font-size:14px;
padding:10px;
height: 35px;
line-height: 35px;
background:#fff;
border:1px solid #ddd !important;
}
input.in_xt {
width: 140px;
}
.srch_date button.bs {
margin-left:20px;
width:35px;
background-color:green !important;
}
.srch_date button.bs img {
left:9px;   
}
.srch_date button.bsd {
background-color:red;
}
.srch_date button.bs img,
.srch_date button.bsd img {
filter: invert(1);
}
/***/
.mic-bg {
position:absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 895;
display: inline-block;
width: 100%;
height: 100%;
}
.mic-inside_c {
position: fixed;
margin: 3% 0 5% -45%;
left: 50%;
overflow:auto;
width: 90%;
height: 93%;
max-height: 93%;
color: #333;
background-color: #fff;
-webkit-box-shadow: 0 0px 20px #ddd;
-moz-box-shadow: 0 0 20px #ddd;
box-shadow: 0 0 20px #ddd;
}
.mic-header {
position: fixed;
color: #000;
width: 90%;
z-index: 896;
background:#fafafa;
}
div.toolbar_h {
display: block;
font-size: 16px;
padding: 20px 25px;
padding-bottom:10px;
/*background: #fff;*/
/*border-bottom: 1px solid #d0d0d0;*/
}
div.toolbar_h a {
float: right;
}
.toolbar_h a i {
margin-left: 10px;
color: #666;
}
.toolbar_h a i:hover {
margin-left: 10px;
color: #000;
}
.mic-pt {
padding-top: 130px;
}
.toolbar_h1 {
display:block;
padding:5px 20px;
height:75px;
/*background: #fff;*/
/*border-bottom: 1px solid #d0d0d0;*/
}

.toolbar_h1 a {
display: inline-block;
margin-right:10px;
line-height: 35px;
height: 35px;
width: 35px;
text-align:center;
background: #51A7E8;
color:#fff;
font-size:18px;
margin-top:15px;
}

#divVideo_c {position:relative;top:0;background:#000;}
#divVideo {margin:0 auto;}
#divVideo iframe {border:0;}
#divWait {text-align:center;font-size:16px;padding-top:100px;color:#fff;}
#divWait img {border:0;margin:10px;}

.vid_tbl {
max-height:500px;
overflow:scroll;
}

.vid_tbl table {
margin:0 auto;
width:100%;
table-layout:fixed;
border-spacing: 0;
}
.vid_tbl table td {
padding:8px 15px;
}
.vid_tbl table tr:nth-child(even){
background:#f0f0f0;
}
.vid_tbl table tr td:nth-child(2),
.vid_tbl table tr td:nth-child(3){
width:170px;
}
.vid_tbl table td a {
padding:5px 10px;
background: #51A7E8;
color: #fff;
text-decoration: none;
text-transform: uppercase;
}
.vid_tbl table td a:hover {
background: #000;
color: #fff;
}

/*.ratio-quadrato { padding-top:100%; }
.ratio-16-9 { padding-top:56.25%; }
.ratio-greca { padding-top:3.66%; }
.ratio-icona-servizi { padding-top:68%; }
.ratio-foto-home, .ratio-foto-marchi { padding-top:82.81%; }
.ratio-logo-greenvision { padding-top:26.22%; }
.ratio-foto-greenvision { padding-top:75.78%; }
.ratio-foto-chi-siamo { padding-top:68.75%; }
.ratio-logo-marchio { padding-top:27.20%; }*/
video {
  width: 100%    !important;
  height: auto   !important;
}
#divVideo {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
#divVideo iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media (max-width:480px) {
    .cht_btns .bx {
    display:block;
    width:100%;
    margin-right:0;
    padding:20px 0;
    border-bottom:1px dashed #999;
    }
    .cht_btns button
    .srch_date button.bs {
    margin-top: 20px;
    margin-left:0;
    float:none;
    }
    .srch_date button.bsd {
    margin-top: 19px;
    margin-right: 20px;
    margin-left:0;
    }
    .srch_date .dib {
    display:block;
    margin-bottom:10px;
    }
    .flds button,.cht_btns button {margin-bottom:10px;margin-right: 10px;}
    .mic-inside_c {
    position: fixed;
    margin: 0 0 0 -50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    -webkit-box-shadow: 0 0px 0 #ddd;
    -moz-box-shadow: 0 0 0 #ddd;
    box-shadow: 0 0 0 #ddd;
    }
    .mic-header {
    width:100%;
    }
    .mic-pt {
    padding-top: 244px;
    }
    #vid_srch {margin-top:10px;}
    .vid_tbl table tr td:nth-child(2), .vid_tbl table tr td:nth-child(3) {
    width:30%;
    }

}
