/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 *
 * Detailed information about this CSS: h5bp.com/css
 */


article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
html { font-family: Arial, sans-serif; color: rgb(229,229,229); }
button, input, select, textarea { font-family: sans-serif; color: rgb(26,26,26); border-color: rgb(163,180,210);}
body { margin: 0; font-size: 1em; line-height: 1.4;}

::-moz-selection { background: rgb(26,26,26); color: rgb(229,229,229); text-shadow: none; }
::selection { background: rgb(26,26,26); color: rgb(229,229,229); text-shadow: none; }


a { color: rgb(255,255,255); }
a:visited { color: rgb(255,255,255); }
a:hover { color: rgb(163,180,210); }
a:focus { outline: thin dotted; }
a:hover, a:active { outline: 0; }

abbr[title] { border-bottom: 1px dotted; }
b, strong { font-weight: bold; }
blockquote { margin: 1em 40px; }
dfn { font-style: italic; }
hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
ins { background: rgb(26,26,26); color: rgb(229,229,229); text-decoration: none; }
mark { background: rgb(26,26,26); color: rgb(229,229,229); font-style: italic; font-weight: bold; }
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }
q { quotes: none; }
q:before, q:after { content: ""; content: none; }
small { font-size: 85%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }
svg:not(:root) { overflow: hidden; }
figure { margin: 0; }

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }
label { cursor: pointer; }
legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }
button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }
button, input { line-height: normal; }
button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }
button[disabled], input[disabled] { cursor: default; }
input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; resize: vertical; }
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   Author: Mirodata
   ========================================================================== */
body { background: rgb(26,26,26);  background-image: url(../img/gun_metal.png); background-position: 0 0; background-repeat: repeat; text-align: center;}
h1 {
font-size: 160%;
font-weight: normal;
}
h2 {
font-size: 130%;
font-weight: normal;
}
h1, h2, h3 { color: rgb(163,180,210); }

#wrapper {
width: 100%;
max-width: 1000px;
margin: 20px auto 20px auto;	
padding: 0;
background-color: rgb(26,26,26);
}
#header {
  max-width: 960px;
  margin: 0 auto;
}
#header h1 img {
max-width: 100%;
height: auto;
}
#header #email, #header #nav {
  font-variant: small-caps;
}
#header #email a {
margin-right: 15px;
}
#header #nav ul, #header #nav li {
  list-style-type: none;
}
#header a {
text-decoration: none;
}
#nav a:hover { border-bottom: 2px solid rgb(163,180,210); }
#attivo a {
color: rgb(163,180,210);
}
#main {
  max-width: 960px;
  margin: 0 auto;
}
#footer {
max-width: 960px;
margin: 0 auto;
padding: 0 0 20px 0;
border-top: 1px solid rgb(163,180,210);
}
#animazione {
width: 100%;
max-width: 940px;
margin: 0;
padding: 0;
}
#animazione img {
width: 100%;
  max-width: 940px;
  height: auto;
}
#mainImg img {
width: 100%;
  max-width: 940px;
  height: auto;
}
#footer p {
font-size: 86%;
}
#footer a {
text-decoration: none;
}
#footer {
  clear: left;
}
#colSxHome, #colDxHome, #colDx, #colSx {
width: 98%;
margin: 1%;
padding: 0;
text-align: left;
}
.lightBlue {color: rgb(163,180,210); }
.mediumtBlue {color: rgb(100,131,178); }
.gray {color: rgb(77,77,77); }
.white {color: rgb(255,255,255); }
.bgDark {background-color: rgb(26,26,26); }
.bgLightBlue {background-color: rgb(163,180,210); }
.bgMediumtBlue {background-color: rgb(100,131,178); }
.bgGray {background-color: rgb(77,77,77); }

#homeServices dl {
margin: 0;
padding: 0;
}

#homeServices dt {
color: rgb(163,180,210);
font-weight: bold;
font-size: 1.2em;
font-variant: small-caps;
}

#homeServices dd {
font-size: 94%;
padding-top: 6px;
font-style: italic;
}

#homeServices div {
float: left;
width: 100%;
min-height: 180px;
margin: 0;
padding: 0px;
text-align: left;
}

#homeServices .homeThumb {
float: left;
margin: 0 5px 10px 0;
}

form ul, form li {
list-style-type: none;
padding: 0.5em 0;
}

form li {
background-color: rgba(163,180,210,0.1);
}
label {
  display: block;
  width: 150px;
  float: left;
  padding: 6px;
}

label.error {
  display: inline;
  width: auto;
}

li.bgTrasparent {
background-color: rgb(26,26,26);
}

form li {
  clear: left;
  margin-bottom: 2px;
}
input, textarea, select, option  {
width: 98%;
max-width: 400px;
background-color: rgb(163,180,210);
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px; /* future proofing */
-khtml-border-radius: 10px; /* for old Konqueror browsers */
}
li.bgTrasparent input {
width: auto;
}
legend {
font-size: 110%;
font-weight: bold;
}
#BoxLinkPreventivo a {
display: block;
margin: 0;
padding: 8px 4px;
font-variant: small-caps;
text-decoration: none;
color: rgb(26,26,26);
}
#BoxLinkPreventivo a span {
color: transparent;
}
#BoxLinkPreventivo a:hover span {
color: rgb(26,26,26);
}
a.mirodata:after {
  content: url("../img/mirodata.png");
}
div#cookieChoiceInfo a {
    color: #C00;
}

/* ==== media queries ====================================================== */

@media only screen and (min-width: 400px) {

}

@media only screen and (min-width: 700px) {
#homeServices div {
  width: 50%;
  float: left;
}
}
@media only screen and (min-width: 1024px) {

#header {
float: left;
width: 960px;
height: 135px;
margin: 0 20px 0 20px;
padding-top: 10px;
padding-bottom: 10px;
}
#main {
clear: left;
float: left;
width: 960px;
margin: 0 20px 0 20px;
padding: 0;
}
#colSxHome {
float: left;
width: 300px;
margin: 0;
padding: 10px;
text-align: left;
}
#colDxHome {
float: left;
width: 620px;
margin: 0;
padding: 10px;
text-align: left;
}
#colDx {
float: left;
width: 300px;
margin: 0;
padding: 10px;
text-align: left;
}
#colSx {
float: left;
width: 620px;
margin: 0;
padding: 10px;
text-align: left;
}
#footer {
width: 960px;
clear: left;
margin: 10px 20px 0 20px;
padding: 0 0 20px 0;
border-top: 1px solid rgb(163,180,210);
}

#footer p {
text-align: left;
font-size: 86%;
margin-left: 8px;
}

#header h1 {
float: left;
margin: 0;
padding: 0;
width: 340px;
height: 115px;
}

#header #email {
float: left;
margin: 0;
padding: 0;
width: 620px;
height: 80px;
text-align: right;
}

#header #email a {
line-height: 50px;
margin-right: 30px;
font-variant: small-caps;
}

#header #nav {
float: left;
margin: 0;
padding: 0;
width: 620px;
height: 95px;
font-variant: small-caps;
}

#header #nav ul {
float: left;
margin: 0;
padding: 0;
width: 620px;
height: 95px;
list-style-type: none;
}
#header #nav li {
display: block;
float: left;
margin: 0;
padding: 0;
width: 124px;
height: 95px;
text-align: center;
list-style-type: none;
}
#mainImg {
clear: left;
min-height: 400px;
}
#animazione {
margin: 0;
padding: 0 10px;
float: left;
}

#animazione img {
width: 940px;
height: 400px;
}

/* covid - inizio */
#covid {
  background-color: #6483B2;
  font-size: 1.2em;
  padding-top: 10px;
  padding-bottom: 10px;
  margin: 10px;
}
/* covid - fine */
#homeServices {
float: left;
width: 620px;
margin: 0;
padding: 0px;
text-align: left;
}

#homeServices div {
float: left;
width: 310px;
height: 180px;
margin: 0;
padding: 0px;
text-align: left;
}

#homeServices .homeThumb {
float: left;
margin: 0 5px 10px 0;
}





#BoxPercheNCC, #BoxMetodoPagamento {
width: 300px;
padding: 0;
margin: 10px 0 28px 0;
}
 #BoxPercheComfortcar, #BoxFattura {
width: 300px;
padding: 0;
margin: 10px 0 25px 0;
}
#BoxPercheNCC dl, #BoxPercheComfortcar dl, #BoxMetodoPagamento dl, #BoxFattura dl {
margin: 0;
padding-top: 6px;
padding-bottom: 6px;
}
#BoxPercheNCC dt, #BoxPercheComfortcar dt, #BoxMetodoPagamento dt, #BoxFattura dt {
margin: 0;
padding: 2px 4px;
font-variant: small-caps;
}
#BoxPercheNCC dd, #BoxPercheComfortcar dd, #BoxMetodoPagamento dd, #BoxFattura dd {
margin: 0;
padding: 2px 4px 2px 6px;
font-style: italic;
}
#BoxLinkPreventivo {
width: 300px;
padding: 0;
margin: 10px 0 20px 0;
}

#colSx p {
text-align: justify;
}
#colSx a:hover {
text-decoration: none;
}
.colDxImg, .colDxBox {
  width: 300px;
  margin: 30px 0;
  padding: 0;
}
.colDxImg img {
  margin-bottom: 4px;
}
#colDx a {
text-decoration: none;
}
.narrowMarginRight {
margin-right: 4px;
}
.narrowMarginTop {
margin-top: 4px;
}
.floatRight {
float: right;
margin-bottom: 8px;
margin-left: 6px;
}
.clearRight {
clear: right;
}
.clearLeft {
clear: left;
}

input.error, textarea.error {
background-color: lime;
}
.flag {
margin: 0 4px !important;
padding: 0;
}
}

/* ==|== non-semantic helper classes ======================================== */

/* For image replacement */
.ir { display: block; border: 0; text-indent: -999em; overflow: hidden; background-color: transparent; background-repeat: no-repeat; text-align: left; direction: ltr; *line-height: 0; }
.ir br { display: none; }

/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden { display: none !important; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* Contain floats: h5bp.com/q */
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

/* ==|== print styles ======================================================= */

@media print {
  * { background: transparent !important; color: black !important; box-shadow:none !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; } /* Black prints faster: h5bp.com/s */
  a, a:visited { text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* h5bp.com/t */
  tr, img { page-break-inside: avoid; }
  img { max-width: 100% !important; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3 { page-break-after: avoid; }
}
