html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

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

textarea {
  resize: vertical;
}


/* ========================================================================== */

body {
	margin: 0 auto;
	padding: 10px 0 10px 0;
  background-color: #f0efef;
  font-family: 'Open Sans', sans-serif;
}


a {
	color: #2d6ba8;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}

.blu {
  color: #2d6ba8;
}
.input {
	border: 1px solid #ccc;
}
.rosso {
	color:#FF0000;
}

header {
  background-color: #fff;
}
header h1 {
  margin: 0;
  padding: 0;
  float: left;
  background: transparent url(/img/logo.png) no-repeat top center;
  width: 100%;
  min-height: 106px;
  text-indent: -9999px;
}
header h1 a {
  display: block;
  min-height: 106px;
  width: 138px;
  margin: 0 auto;
  position: relative;
  z-index: 9999;
}

header #dt_h {
  position: relative;
}
header #dt_h h2 {
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 2em;
  color: #cc0000;
  margin: 0;
  padding: 0;
}
header #dt_h h2 span:first-child {
	color: #234a97;
}
header #dt_h h3 {
  text-align: center;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 0.95em;
  margin: 0;
  padding: 0;
}

header #dt_h #ar_login {
  position: absolute;
  top: 24px;
  right: 14px;
  font-size: 0.75em;
  text-transform: uppercase;
}
header #dt_h #ar_login span {
  display: none;
}
header #dt_h #ar_login a {
  font-weight: bold; 
  font-size: 1.1em;
  background: transparent url(/img/locked.png) no-repeat center center;
  padding-top: 34px;
}

header nav {
  clear: both;
  margin: 15px 0;
  text-align: center;
}
header nav #mmenu {
  padding: 6px 20px 3px 20px;
  text-transform: uppercase;
  color: #444;
  cursor: pointer;
}
header nav #mmenu svg {
  padding-bottom: 4px;
}
header nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: none;
}
header nav ul li a {
  display: block;
  width: 76%;
  border-bottom: 1px dotted #d6d6d6;
  padding: 10px 2.37%;
  margin: 0 auto;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: #444;
}
header nav ul li:first-child a {
  border-top: 1px dotted #d6d6d6;
  margin-top: 10px;
}
header nav ul li a:hover,
header nav ul li.sel a {  
  color: #2d6ba8;
  font-weight: bold;
}

main {
  background-color: #fff;
  padding: 10px 15px;
}
main aside {
  background-color: #f0efef77;
  border: 1px solid #d6d6d6;
  padding: 5px 3.5% 0;
}
main aside ul {
  list-style-type: none;
  margin: 0 0 10px 0;
  padding: 0;
  display: block;
}
main aside ul li {
  margin: 4px 0 8px 0;
}
main aside ul a {
  text-transform: uppercase;
  font-size: 0.9em;
  text-decoration: none;
  background-color: #cfcfcf88;
  border: 1px solid #d6d6d6;
  display: block;
  padding: 1px 6px;  
}
main aside ul li a:hover,
main aside ul li.sel > a {
  background-color: #88bff148; 
  border: 1px solid #4679a8;
  font-weight: bold;
}
main aside ul ul {
  margin-left: 16px;
}
main aside ul ul li {
  margin-bottom: 2px;
}
main aside ul ul a {
  text-transform: none;
  font-size: 0.85em;
  background-color: transparent;
  border: 0;
}
main aside ul ul a:hover {
  text-decoration: underline;
  background-color: transparent; 
  border: 0;
  font-weight: normal;
}
main aside ul ul a strong {
  text-transform: uppercase;
}

main article h2.titolo {
  min-height: 131px;
  min-height: 33px;
  margin-top: 20px;
  background-size: cover;
  color: #fff;
  padding: 98px 0 0 10px;
  text-transform: uppercase;  
}
main article h2.intestazione {
  color: #2d6ba8;
  background-color: #88bff148; 
  border: 1px solid #4679a8;
  text-transform: uppercase;  
  margin-top: 20px;
  padding: 6px 12px;
}
main article h2.intestazione span {
  text-transform: none;
  font-size: 0.9em;
}
main article p {
  text-align: justify;
  margin: 16px 25px 16px 10px;
}
main article h3 {
  color: #2d6ba8;
	font-weight: bold;
	margin: 30px 0px 8px 0px;
	padding-left: 10px;
  text-transform: uppercase;
  border-bottom: 2px dotted #d6d6d6;
  font-size: 1.1em;
}
main article h4 {
  color: #2d6ba8;
	font-weight: bold;
	margin: 30px 0px 8px 0px;
	padding-left: 10px;
  text-transform: uppercase;
  border-bottom: 1px dotted #d6d6d6;
  font-size: 0.75em;
}

main article .servizi_dett {
  margin: 16px 0 32px 0;
}
main article .servizi_dett li {
  padding: 0 0 4px 0;
  text-transform: uppercase;
}

main article .docd .col-2 a {
  text-decoration: none;
  display: block;
  text-align: center;
  padding: 20px;
}
main article .docd .col-2 a:hover {
  background-color: rgba(35, 74, 151, 0.15);
}
main article .docd h3 {
  font-size: 0.9em; 
  margin-top: 0;
  margin-bottom: 20px;
}
main article .docd img {
  width: 70%;
}

main article .rgl {
  width: 100%;
  margin: 10px 0;
}
main article .rgl.cnt {
  text-align: center;
}
main article .rgl label {
  width: 24%;
  display: inline-block;
  float: left;
  font-size: 0.85em;
  line-height: 30px;
  padding-right: 2%;
  text-align: right;
}
main article .rgl input {
  width: 64%;
  padding: 3px 6px;
  max-width: 400px;
}
main article .rgl #Accedi {
  width: auto;
  padding: 6px 12px;
  text-transform: uppercase;
  margin: 10px auto;
}

.box {
  box-sizing: border-box;
  border: 1px solid #ecebeb;
  width: 100%;
  padding: 0;
  margin: 0;
  color: #444;
  background: rgb(242,242,242);
  background: linear-gradient(0deg, rgba(242,242,242,1) 0%, rgba(251,251,251,1) 100%); 
  border-radius: 0 0 5px 5px;
}
.cuore {
 background: transparent url(/img/cuore.png) center 20px no-repeat;
 padding: 120px 10px 20px 10px;
 text-align: center;
}
.mela {
 background: transparent url(/img/mela.png) center 20px no-repeat;
 padding: 120px 10px 20px 10px;
 text-align: center;
}
.grazie {
  font-family: 'Indie Flower', cursive;
	font-size: 1.2em;	
}
.grazie strong {
	color: #234a97;
}
h2.grazie {
  margin: 6px 0;
}
h2.grazie em {
  color: #CC0000;
  font-family: 'Open Sans', sans-serif;
}

.pro_h {
  margin: 15px -1%;
  margin: 15px 0;
  text-align: center;
}
.pro_h img {
  float: left;
  width: 48%;
  border-radius: 10px;
  margin: 1%;
}
.pro_h img:last-child {
  margin: 1% auto;
  float: none;
  clear: both;
}

#main_body_servizi {
  margin: 15px 0;
  text-align: center;
}
#main_body_servizi .servizi {
  float: left;
  /*width: 48%;*/
  width: 98%;
  margin: 1%;
  font-size: 0.75em;
  min-height: 255px;
}
#main_body_servizi .servizi:last-child {
  margin: 1% auto;
  float: none;
  clear: both;
}
#main_body_servizi .servizi a {
  text-decoration: none;
}
#main_body_servizi .servizi h3 {
  text-transform: uppercase;
  background-color: #f0efefaa;  
  margin: 0 0 8px 0;
  padding: 4px 8px;
  text-decoration: none;
  color: #444;
  min-height: 40px;
  display: flex;
    justify-content: center;
    align-items: center;
}
#main_body_servizi .servizi img {
  width: 100%;
}
#main_body_servizi .servizi ul {
  text-align: left;
  padding-left: 25px;
  padding-right: 10px;
  color: #444;
  font-size: 0.9em;
}

#main_body_other {
	border-top: 1px solid #ddd;	
}
.oth_g {
	text-align: center;
}
.oth_g h3 {
	margin: 5px 0 10px 0;
	text-transform: uppercase;
	font-size: 0.85em;
}
.oth_g a {
	display: inline-block;
	border: 1px dashed #fff;
	padding: 10px 20px 10px 20px;
	text-decoration: none;
}
.oth_g a:hover {
	border: 1px dashed #2d6ba8;
}

ul.elenco {  
  padding: 5px 25px 20px 10px;
  font-size: 0.85em;
}
ul.elenco li {
  display: table;
  padding-top: 5px;
}
ul.elenco li span {
	display: table-cell;
}
ul.elenco li span:first-child {
  position: relative;
	overflow: hidden;
}
ul.elenco li span:first-child:after {
	content:        "";
	position:       absolute;
	bottom:         0.25em;
	margin-left:    0.5em;
	width:          100%;
	border-bottom:  1px dashed #b1b1b1;
}
ul.elenco li span + span {
	text-align:     right;
	width:          1%;
	vertical-align: bottom;
	padding-left:   0.5em;
}

.gal_imgs {
  padding: 3px 23px 3px 8px;
}
.gal_imgs a {
  margin: 2px;
  display: inline-block;
  border: 1px solid #d6d6d6;
}
.gal_imgs a:hover {
  border: 1px solid #4679a8;
}
.gal_imgs a img {
  max-width: 180px;
}

.row {
  width: 100%;
  clear: both;
  padding: 20px 25px 20px 10px;
  box-sizing: border-box;
}

#personale_uffici .row,
#strutture .row {
  border-bottom: 1px dotted #d6d6d6;
}
#personale_uffici .col-2,
#strutture .col-2 {
  font-size: 0.85em;
  text-align: center;
}
#personale_uffici .col-2 strong,
#strutture .col-2 strong {
  font-size: 1.3em;
  color: #2d6ba8;
}

#form_contatti {
  width: 100%;
  clear: both;
  padding: 0px 25px 20px 10px;
  box-sizing: border-box;
}

.did_contatti_err {	
	color: #FF0000;
}
#reset_contatti,
#invia_contatti {
  width: auto;
  padding: 10px 30px;
}
#richiesta_informazioni .row {
  padding: 5px 25px 5px 10px;  
}
.dod_contatti select,
.dod_contatti input,
.dod_contatti textarea {
  width: 100%;
}

#area_clienti h3 {
  margin-top: 10px;
  padding-right: 10px;
}
#area_clienti h3 span {
  float: right;
  font-size: 0.8em;
}

#area_clienti .submenu {
  margin: 50px auto;
}
#area_clienti .submenu a {
  padding: 14px 24px;
  border: 1px solid #d6d6d6;
  width: 48%;
  box-sizing: border-box;
  display: block;
  text-transform: uppercase;
  text-decoration: none;
  float: left;
  text-align: center;
  margin: 0 1%;
}
#area_clienti .submenu a:hover {
  border: 1px solid #4679a8;
}

#area_clienti .r-dis {
  color: #999;
}

#area_clienti .successo,
#area_clienti .errore {
  position: relative;
  padding: .75rem 1.25rem;
  margin: 2rem 0.85rem 3rem 0.8rem;  
  border-radius: .25rem;
  text-align: center;
}
#area_clienti .successo {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}
#area_clienti .errore {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

#area_clienti .c-ordina a.pallet {
  display: inline-block;
  width: 32px;
  width: 80px;
  height: 32px;
  background: transparent url(/private/pallet.png) center top no-repeat;
  position: relative;
  margin: 2px 0;
}
#area_clienti .c-ordina a.pallet span {
  position: absolute;
  display: block;
  bottom: -13px;
  width: 32px;
  width: 80px;
  color: #2d6ba8;
  font-weight: bold;
  text-align: center;
}
#area_clienti .c-ordina a.pallet:hover {
  background: transparent url(/private/pallet.png) center -32px no-repeat;
}
#area_clienti .c-ordina a.pallet:hover,
#area_clienti .c-ordina a.pallet.pallet-1:hover,
#area_clienti .c-ordina a.pallet.pallet-2:hover,
#area_clienti .c-ordina a.pallet.pallet-3:hover {
  background: transparent url(/private/pallet.png) center -32px no-repeat;
}
#area_clienti .c-ordina a.pallet.pallet-4 {
  background: transparent url(/private/pallet.png) center -32px no-repeat;
}
#area_clienti .c-ordina a.pallet.pallet-3 {
  background: transparent url(/private/pallet.png) center -64px no-repeat;
}
#area_clienti .c-ordina a.pallet.pallet-2 {
  background: transparent url(/private/pallet.png) center -96px no-repeat;
}
#area_clienti .c-ordina a.pallet.pallet-1 {
  background: transparent url(/private/pallet.png) center -128px no-repeat;
}

#area_clienti table.dataTable.compact tbody td {
  padding: 6px 4px;
}

#area_clienti .dataTable td.preord {
  font-weight: bold;
  color: #721c24;
  background-color: #f8d7da;
  background-color: #feedd3;
}


#area_clienti .cart_ordine {
  height: 32px;
  background: transparent url(/private/pallet.png) left top no-repeat;
  padding-left: 34px;
  margin: 0 0 0 50px;
  border: 0;  
  text-transform: uppercase;
}
#area_clienti .cart_ordine:hover,
#area_clienti .cart_ordine.welem {
  background: transparent url(/private/pallet.png) left -32px no-repeat;
  font-weight: bold;
}
#area_clienti .cart_ordine:active {
  box-shadow: none;
}
#area_clienti .cart_ordine:hover {
  color: #2d6ba8;
}

#area_clienti .cart_ordine_qta {
  background: transparent;
  margin: 0 0 0 0;
  border: 0;
  font-size: 0.7em;
}
#area_clienti .cart_ordine_qta:active {
  box-shadow: none;
}
#area_clienti .cart_ordine_qta:hover strong {
  color: #2d6ba8;
}


.dataTables_length,
.dataTables_paginate {
  font-size: 0.85em;
  padding-top:6px;
}
tfoot em {
	font-weight: normal;
}

footer {
  background-color: #fff;
  clear: both;
}
footer div {
  font-size: 0.7em;
  text-align: center;
  padding: 4px 0;
}


#cookie-notice {
    background-color: rgba(30, 30, 30, 0.85);
    border-top: 2px solid #ff0000;
    bottom: 0;
    color: #fff;
    font-size: 13px;
    height: auto;
    left: 0;
    line-height: 22px;
    min-width: 100%;
    padding: 14px;
    position: fixed;
    text-align: center;
    z-index: 100000;
    box-sizing: border-box;
}
#cookie-notice a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
}
#cookie-notice a:hover {
    text-decoration: none;
}
#cookie-notice #cookie-button {
    background-color: #ffc600;
    color: #333;
    font-weight: bold;
    margin: 0 0 0 10px;
    padding: 3px 10px;
    text-decoration: none;
}
#cookie-notice #cookie-button:hover {
    color: #fff;
}


/* ========================================================================== */

.hidden {
  display: none !important;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  /* 1 */
  display: table;
  /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ========================================================================== */

@media only screen and (min-width: 35em) {
  
  header {
    width: 980px;
    margin: 0 auto;
  }
  header h1 {
    width: 140px;    
    margin-left: 30px;
    margin-bottom: 10px;
  }
  header #dt_h {    
    width: 780px;
    float: right;
  }  
  header #dt_h h2 {
    margin: 50px 6px 0 0;
    text-align: left;
    float: left;
  }
  header #dt_h h3 {
    margin: 67px 0 0 0;
    text-align: left;
    float: left;
  }
  header #dt_h #ar_login {
    background-color: #f0efefaa;    
    width: calc(100% - 30px);
    text-align: right;
    margin: 15px 15px 0 0;
    padding: 5px 8px;
    top: 0;
    right: 0;
  }
  header #dt_h #ar_login span {
    display: inline-block;
    margin-right: 4px;
  }
  header #dt_h #ar_login a {
    background: transparent url(/img/locked.png) no-repeat right center;
    padding-right: 24px;
    padding-top: 0;    
  }

  header nav {
    margin: 0 15px 15px 15px;
  }
  header nav #mmenu {
    display: none;
  }
  header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: block;
  }
  header nav ul li {
    float: left;
    width: 20%;
  }
  header nav ul li a {
    display: block;
    border: 1px solid #d6d6d6;
    width: auto;
    padding: 10px 2.37%;
    margin: 0 1px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    color: #444;
    background: rgb(221,221,221);
    background: linear-gradient(0deg, rgba(221,221,221,1) 0%, rgba(241,241,241,1) 100%); 
  }
  header nav ul li:first-child a {
    border-top: 1px solid #d6d6d6;
    margin: 0 1px;
  }
  header nav ul li a:hover,
  header nav ul li.sel a {
    border: 1px solid #4679a8;
    background: rgb(4,56,106);
    background: linear-gradient(0deg, rgba(4,56,106,1) 0%, rgba(100,150,199,1) 100%); 
    color: #fff;
    font-weight: normal;
  }
  
  main {
    width: 950px;
    margin: 0 auto;
  }
  #area_clienti main {
    width: calc(100% - 30px);
    margin: 15px;
    box-sizing: border-box;
  }
  main aside {
    width: 21%;
    margin-right: 2%;
    float: left;
    padding: 5px 1.5% 0;
  }
  main article {
    width: 73%;
    float: right;
  }
  main.full article {
    width: 100%;
    float: none;
  }

  main article h2.titolo {
    margin-top: 0;    
  }
  main article h2.intestazione {
    margin-top: 0;
  }

  .box {
    padding-right: 30px;
  }
  .cuore {
    background: transparent url(/img/cuore.png) right center no-repeat;
    padding: 10px 120px 10px 20px;
    text-align: left;
  }
  .cuore span:nth-child(2) {
    padding-left: 25px;
  }
  .cuore span:nth-child(3) {
    padding-left: 50px;
  }
  .cuore span:nth-child(4) {
    padding-left: 75px;
  }
  .mela {
    background: transparent url(/img/mela.png) right center no-repeat;
    padding: 10px 190px 10px 20px;
    text-align: left;
  }

  .pro_h img {
    width: 23%;
  }
  .pro_h img:last-child {
    margin: 1%;
    float: left;
    clear: none;
  }

  #main_body_servizi .servizi {
    /*width: 18%;*/
    width: 23%;
  }
  #main_body_servizi .servizi:last-child {
    margin: 1%;
    float: left;
    clear: none;
  }
  #main_body_servizi .servizi:hover {
    background-color: rgba(35, 74, 151, 0.15);
  }
  #main_body_servizi .servizi:hover h3 {
    background-color: rgba(35, 74, 151, 0.9);
    color: #fff;
  }

  .col-2 {
    width: 50%;
    float: left;
  }
  .col-3 {
    width: 33.33%;
    float: left;
  }
  .col-4 {
    width: 25%;
    float: left;
  }
  #personale_uffici .row:hover,
  #strutture .row:hover {
    background-color: #f0efefaa;
  }

  ul.elenco span.nr {
    white-space: nowrap;
  }


  .did_contatti,
  .did_contatti_err {
    float: left;
    width: 30%;
    padding: 0;
    margin: 0;
  }
  .dod_contatti {
    float: left;
    width: 70%;
    padding: 0;
    margin: 0;
  }
  #richiesta_informazioni .row {
    padding: 20px 25px 20px 10px;  
  }
  
  #area_clienti .submenu {
    width: 850px;
  }

  footer {
    width: 950px;
    margin: 0 auto;
    padding: 15px;
  }
  footer div {
    background-color: #f0efefaa;
    font-size: 0.7em;
    width: 48%;
    float: left;
    text-align: right;
    padding: 3px 1%;
  }
  footer div:first-child {
    text-align: left;
  }


}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
}

/* ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }
  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr,
  img {
    page-break-inside: avoid;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}

