/** Define general colors */
/* page title */
/* article title */
/* black */

/* CUSTOM X SWITCH LOGO HEADER */

.blog h2 {
  border-bottom: 1px solid #C8D7DD !important;
}

a {
/*
  -webkit-transition: all 200ms ease; 
  -moz-transition: all 200ms ease; 
  -ms-transition: all 200ms ease; 
  -o-transition: all 200ms ease; 
  transition: all 200ms ease;
*/
}

.hide {
display:none !important;
}

body.white div#pathway .customlogo a {
/* background-image: url("/images/LOGHI-ASL/LogoASLComo_P_header.png"); */
background-image: url("/images/LOGHI-ATS/como-insubria-nofading2.gif");
background-size: 140px 77px;
background-repeat: no-repeat;
background-position: center center;
height: 100px;
width: 170px;
/* width: 350px; */
float: left;
display:block;
border-bottom: none !important;
color:transparent;
}
body.white div#pathway .customlogo a:hover{
  background-color: #fff;
}

/* --- MENU FOOTER ----*/
body.white div#footer .moduletablemenufooter {
color: #fff;
background-color: #4693b8;
border: 1px solid transparent;
border-radius: 5px;
margin-top: 0.25em;
}

body.white div#footer ul.menu li {
list-style-type: none;
display: inline-block;
padding: 0px 5px;
}
body.white div#footer .menu li a {
color: #fff;
background-color: #4693b8;
border: none;
  padding: 2px 5px;
}
body.white div#footer .menu li a:hover,
body.white div#footer .menu li.current a{
background: #F2F6F8;
border: 0px solid #3988AD;
border-radius: 3px;
color: #000;
}
/* -------*/

body.white {
  background-color: #f8f8f8;
  background-image: url(/templates/accessible/images/pattern.png);
}

body.white a {
    color: #3988AD;
    text-decoration: none;
}
body.white h1 a,
body.white h2 a,
body.white h3 a,
body.white h1 a:hover,
body.white h2 a:hover,
body.white h3 a:hover {
  color: #000;
  background: #fff;
}
body.white a:hover {
    color: #000;
    background: #F2F6F8;
}
body.white h1,
body.white h2{
  color: #000;
  border-bottom: 3px solid #4693b8;
}
body.white h3 {
  color: #000;
  border-bottom: 3px solid #F2F6F8;
}
body.white div.items-row, body.white div.items-leading {
border-top: 1px solid transparent;
padding: 0 10px;
/* border: 1px solid #C8D7DD;
border-radius: 10px;*/
/*margin-bottom: 20px !important;*/
}
/*body.white div.items-leading {
margin-top: 20px;
}*/
body.white div.items-row h2, body.white div.items-leading h2 {
border: 0 !important;
  margin-top: 20px;
  line-height: inherit;
  font-size: 115%;
}
body.white div.items-row h2 a:hover, body.white div.items-leading h2 a:hover {
color: #4693b8 !important;
}


body.white div.random-image {
  background-color: #cccccc;
}
/** Block styles */
body.white div#wrapper {
  background: white;
    border-radius: 15px;
    box-shadow: 0px 0px 6px #BDBDBD;
    padding: 10px;
}
body.white .module-title, .menu-home {
  color: #fff !important;
  background-color: #4693b8 !important;

  border-radius: 3px 3px 0 0;
  margin-top: 10px !important;
}

body.white div#footer .moduletable {
  color: #fff;
  background-color: #4693b8;
  border: 1px solid transparent;
  border-radius: 0 0 8px 8px;  
/* border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;*/
  margin-top: 0.25em;
}

.moduletablemenu-login {
  margin-top:20px;
  margin-bottom:20px;
  }
  
  

body.white div#menu-top {
  background-color: #4693b8;
  height: 40px;
/*
  background-color: #FFFFFF;
  height: 40px;
  border-bottom: 5px solid #4693b8;
*/
  }
  
body.white div#menu-top a {
  color: #4693b8;
  background-color: #FFF;
  color: #FFF;
  background-color: #4693b8;
  border: 0px;
}
body.white .menu a, body.white .menu li li a.evidenza,

body.white .menu ul:first-child li.parent:first-child {
    background: #F2F6F8;
    border: 1px solid #C8D7DD;
  border-top:0;
    color: #000;
  font-weight: normal;
    padding:0.3em 0.7em 0.2em 0.7em;
    margin: 0;
}

body.white .menu ul.parent li a,
body.white .menu li li a,
body.white .menu li li.current li a,
body.white .menu li li li a {
    background: #fff;
    border: none;
    border-bottom: 1px solid #d2d2d2;
    border-radius: 0px;   
}
body.white .menu li li li a {
  padding-left: 20px;
}
body.white .menu a:visited {
  color: #000;
}
body.white .menu a:hover {
  background-color: #C8D7DD;
  /* color: #fff; */
  /* font-size:110%; */
  border-bottom: 1px solid #4693b8;
}
body.white .menu li li a:hover,
body.white .menu ul.parent li a:hover,
body.white .menu li.current a {
    background: #f8f8f8;
    border: none;
    border-left: 4px solid #3988AD;
    border-bottom: 1px solid #d2d2d2;
    color: #000;    
}

.menu li.current a.menu-home {
  color: #fff !important;
  background-color: #4693b8 !important;
  background-image: -webkit-gradient(
  linear,
  left top,
  left bottom,
  color-stop(0.3, rgb(1, 141, 97)),
  color-stop(1, rgb(3, 99, 72))
  );
  background-image: -o-linear-gradient(bottom, rgb(1, 141, 97) 30%, rgb(3, 99, 72) 100%);
  background-image: -moz-linear-gradient(bottom, rgb(1, 141, 97) 30%, rgb(3, 99, 72) 100%);
  background-image: -webkit-linear-gradient(bottom, rgb(1, 141, 97) 30%, rgb(3, 99, 72) 100%);
  background-image: -ms-linear-gradient(bottom, rgb(1, 141, 97) 30%, rgb(3, 99, 72) 100%);
  background-image: linear-gradient(to bottom, rgb(1, 141, 97) 30%, rgb(3, 99, 72) 100%);
  border-radius: 3px 3px 0 0;
  border-left:0 !important;
  margin-top: 10px !important;
  }



body.white .menu li li li.current a,
body.white .menu li li li a:hover {
    border-left: 4px solid #C8D7DD;
    border-bottom: 1px solid #d2d2d2;
    margin: 0 0 0 20px;   
}
body.white #menu-top .menu li.current a,
body.white div#menu-top a:hover {
/*  background: #E1ECF1;
  box-shadow: inset 0px 2px 7px #77919E;
  color: #0D587C;
*/  
  background: #FFFFFF;
  box-shadow: inset 2px 2px 7px #B3C4CC;
  color: #0D587C;
}

body.white .menu li.current li a {
  background-color: white;
}

body.white #main a:hover,
body.white #main a:active,
body.white #main a:focus {
  color: white;
  background-color: #3988AD;
}
body.white .moduletable_menu,
body.white .moduletable-menu,
body.white .moduletable {
  border: 0 solid #3988AD;
}
body.white div#footer a {
  color: #fff;
  padding:3px;
}

body.white div#footer a:hover{
  color: #000;
}

body.white div.componentheading {
  color: gray;
  font-weight: bold;
}
body.white .readmore a {
  color: #3988AD;
  font-weight: bold;
  border-bottom: 0px solid #3988AD;
}
body.white .readmore a:hover,
body.white a.contentpagetitle:hover {
  background: #e8f2e5;
  color: #000;
}

/*
body.white button{
  border: 1px solid #C8D7DD;
  background: #F2F6F8;
  color: #000;
}
body.white .button,
body.white .button-search {
  border: 1px solid #C8D7DD;
  border-radius: 3px 5px 5px 5px;
  background: #F2F6F8;
  color: #000;
  padding: 1px 5px;
  margin-left: 5px;
 }
 
body.white button:hover {
  border: 1px solid #3988AD;
  background: #4693b8;
  color: #fff;
}
body.white .button:hover,
body.white .button-search:hover {
  border: 1px solid #3988AD;
  border-radius: 3px 5px 5px 5px;
  color: #fff;
  background: #4693b8;
}
*/
body.white .sectiontableentry1 {
  background: #eef2ff;
}
body.white div.pagenav {
  background: #f2f2f2;
  border: solid 1px #F2F6F8;
}
/* tags */
body.white .highlight {
  background: yellow;
}
body.white .pagination,
body.white ul.pagenav {
  background: #f5f5f5 none repeat scroll 0%;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}
body.white .notice,
body.white .message {
  background: #f8f8f8 none repeat scroll 0%;
  font-size: 110%;
  font-style: italic;
  padding: 1em;
}
body.white form.editor a:hover,
body.white .mceWrapper a:hover {
  background: inherit;
  color: black;
}
body.white div#accessibility-links span.accessibility-icon button,
body.white div#accessibility-links span.accessibility-icon {
  background-color: #F2F6F8;
}
body.white div#accessibility-links span.accessibility-icon button:hover {
  background-color: #4693b8;
}
body.white div#accessibility-links span.accessibility-text {
  color: #000;
}


div#accessibility-links button {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  color: #000000;
  font-weight: bold;
  margin-left: 1em;
}
/* from 1.7 */
body.white table.weblinks th a,
body.white table.newsfeeds th a,
body.white table.category th a,
body.white table.jlist-table th a,
body.white table.weblinks th,
body.white table.newsfeeds th,
body.white table.category th,
body.white table.jlist-table th {
  color: white;
}

body.white table.weblinks th a:hover,
body.white table.newsfeeds th a:hover,
body.white table.category th a:hover,
body.white table.jlist-table th a:hover,

body.white table.weblinks th,
body.white table.newsfeeds th,
body.white table.category th,
body.white table.jlist-table th {
  background: none repeat scroll 0 0 #4693b8;
}

body.white th {
  border: 1px solid #c6c6c6;
  background-color: #4693b8;
  color: #ffffff;
  padding: 0.4em;
}

/* colore th - primo diverso da seguenti */

body.white tr:first-of-type > th { border: 1px solid #c6c6c6;
  background-color: #4693b8;
  color: #ffffff;
 
}

body.white tr > th { border: 1px solid #c6c6c6;
  background-color: #C8D7DD;
  color: #000;
  
}

body.white th > a {
  color: #fff !important;
  
}

body.white th > a:hover {
  color: #fff !important;
  background: inherit !important;
}

/* fine colore th */

body.white tr,
body.white td {
  border: 1px solid #dddddd;
}
body.white tr:nth-child(even) { 
  background-color: #F5F5F5;
}
body.white tr:nth-child(odd) { 
  background-color: #fff;
}
body.white fieldset {
  border: solid 2px #dddddd;
}

body.white fieldset.filters {
  display: none;
}

body.white .article-info {
  color: #000;
}
body.white .star {
  color: red;
}
body.white .panel h3.pane-toggler a {
  background: #f5f5f5 url(../images/slider_plus.png) right top no-repeat;
  border-bottom: 1px solid #dddddd;
}
body.white .panel h3.pane-toggler-down a {
  background: #f5f5f5 url(../images/slider_minus.png) right top no-repeat;
  border-bottom: 1px solid #dddddd;
}
body.white .panel h3.pane-toggler a:hover,
body.white .panel h3.pane-toggler-down a:hover {
  color: white;
  background: #001b72;
}
body.white .cat-list-row0 {
  background-color: #fff !important;
}
body.white .cat-list-row1 {
  background-color: #f5f5f5;
}








/* ---------------------------- BOX HOME SHARE ---------------------------  */


#box-share {
  margin-top: 30px;
  width: 100%;
  height: auto;
  border:0px solid;
  }
  
#box-share ul.box {
  list-style:none;
  margin: 0;
  padding: 0;
  }

#box-share ul.box p, #box-share ul.inset li p  {
  line-height: 15px;
  font-weight: normal;
  text-align: left;
  margin-top: 0;
  }
  
#box-share ul.box li img {
  max-height: 70px;
  float: left;
  margin-top: -20px;
  margin-left: -3px;
  }

a.img-in {
  background:none !important;
  }

a.img-in img {
  float:none !important;
  margin:0 !important;
  }

#box-share ul.box li {
  border-radius: 5px;
  border:1px solid #999;
  margin-bottom: 30px;
  box-shadow: 3px 3px 10px #D2D2D2;

  color: #666 !important;
  background-color: #fff !important;
}

#box-share ul.box li h2 {
  border: 0;
  font-size: 130%;
  text-shadow: 1px 1px 5px #999;
  text-align: right;
  margin-top: 0;
  padding: 5px 10px 5px 0;
  color: #333 !important;
  font-style: italic;
  border-bottom: 1px solid #333;
  }

#box-share ul.box li h2 a  {
  color: #fff !important;
  background: none;
  }

#box-share ul.box li h2 a:hover  {
  color: #4693b8 !important;
  }

#box-share ul.inset {
  margin: 0;
  padding: 5px;
  list-style:none;
  }

#box-share ul.inset li {
  width:100%;
  height:auto;
  float: none;
  margin-bottom: 10px;
  margin-top: 5px;
  border:0;
  line-height: 25px;
  box-shadow: none;
  background: none !important;
}

#box-share ul.inset li a {
  display:block;
  padding-left:5px;
  color:#333;
  text-decoration:none;
  font-weight:bold;
}

#box-share ul.inset li a:hover {
  background-color:#F5F5F5;
/*
  -webkit-transition: background 300ms ease; 
  -moz-transition: background 300ms ease; 
  -ms-transition: background 300ms ease; 
  -o-transition: background 300ms ease; 
  transition: background 300ms ease;
*/  border-top: 0;
  text-decoration:underline;
  }


  
  
  
  
  /* ---------------------------- HEADERS ---------------------------  */

.imgTestata {
  border-bottom: 1px solid #4693b8;
  }

.header-custom {
  height: auto; 
  width: auto; 
  background-color: #4693b8 ; 
  color: #fff; 
  font-family: Arial, Helvetica, sans-serif; 
  font-size: 2.3em; 
  line-height: 35px; 
  margin-bottom: -14px;
}
  
.header-custom  ul li {
  padding: 3px 0;
  margin-left: -15px; 
  list-style: disc; 
  text-shadow: 1px 1px 10px #666; 
  filter: dropshadow(color=#ebebeb, offx=1, offy=1);
}

/* ---------------------------- BOX HOME UP ---------------------------  */


#box-up {
  width: 100%;
  height: 215px;
  border: 0px solid;
/*  border-bottom: 2px solid #c0d5bc; */
/*  border-top: 2px solid #c0d5bc; */
  padding-top: 19px;
/*  margin-bottom: 25px; */
  }
  
#box-up ul.box {
  list-style:none;
  margin: 0;
  padding: 0;
  }

#box-up ul.box p {
  line-height: 160%;
  font-weight: normal;
  text-align: left;
  margin-top: 0;
  padding: 5px 10px;
  }

/*  
#box-up ul.box li img {
  height: 100px;
  width: auto;
  float: left;
  margin-top: -50px;
  margin-left: -30px;
  }
*/

#box-up ul.box li img {
height: 140px;
width: 100%;
border-radius: 10px 10px 0 0;
border-bottom: 1px solid #ccc;
}

#box-up ul.box li {

  width:30%;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 30px;

  border: 1px solid #ababab;
  border-radius: 10px;
  box-shadow: 1px 1px 7px #DDD;
/*
  color: #333 !important;
  background-color: #F5F5F5 !important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(245, 245, 245)),
    color-stop(0.25, rgb(255, 255, 255))
  );
  background-image: -o-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -moz-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -webkit-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -ms-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: linear-gradient(to bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
*/
}

#box-up ul.box li h2 {
  border: 0;
  font-size: 130%;
  text-align: right;
  margin: 0;
  padding: 5px 10px 5px 0;
  color: #fff !important;
  font-style: italic;
/*  border-bottom: 1px solid #999; */
  }

#box-up ul.box li h2 a  {
  
  color: #4693b8 !important;
  background: none;
  }

#box-up ul.box li h2 a:hover  {
  text-shadow: none;
  color: #000 !important;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  }

#box-up ul.inset {
  margin: 0;
  padding: 5px;
  list-style:none;
  }


#box-up ul.inset li {
  width:100%;
  height:auto;
  float: none;
  margin-bottom: 10px;
  margin-top: 5px;
  border:0;
  line-height: 25px;
  box-shadow: none;
  background: none !important;
}

#box-up ul.inset li a {
  display:block;
  padding-left:5px;
  color:#333;
  text-decoration:none;
  font-weight:bold;
}

#box-up ul.inset li a:hover {
  background-color:#F5F5F5;
/*
  -webkit-transition: background 300ms ease;
  -moz-transition: background 300ms ease;
  -ms-transition: background 300ms ease;
  -o-transition: background 300ms ease;
  transition: background 300ms ease;
*/  border-top: 0;
  text-decoration:underline;
  }

/* ---------------------------- BOX HOME UP 2---------------------------  */

#box-up2 {
  width: 105%;
  height: auto;
  border: 0px solid;
/*  border-bottom: 2px solid #c0d5bc; */
/*  border-top: 2px solid #c0d5bc; */
  padding-top: 19px;
/*  margin-bottom: 25px; */
  }
  
#box-up2 ul.box {
  list-style:none;
  margin: 0;
  padding: 0;
  }

#box-up2 ul.box p {
  line-height: 50%;
  font-weight: normal;
  text-align: rigth;
  margin-top: 0;
  padding: 5px 10px;
  }

/*  
#box-up ul.box li img {
  height: 100px;
  width: auto;
  float: left;
  margin-top: -50px;
  margin-left: -30px;
  }
*/

#box-up2 ul.box li img {
height: 90px;
width: 100%;
border-radius: 10px 10px 10px 10px;
border-bottom: 1px solid #ccc;
}

#box-up2 ul.box li {

  width:16%;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 30px;

  border: 1px solid #ababab;
  border-radius: 10px;
  box-shadow: 1px 1px 7px #DDD;
/*
  color: #333 !important;
  background-color: #F5F5F5 !important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(245, 245, 245)),
    color-stop(0.25, rgb(255, 255, 255))
  );
  background-image: -o-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -moz-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -webkit-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -ms-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: linear-gradient(to bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
*/
}

#box-up2 ul.box li h2 {
  border: 0;
  font-size: 100%;
  text-align: center;
  margin: 10px;
  padding: 1px 1px 1px 1px;
  color: #fff !important;
  font-style: italic;
/*  border-bottom: 1px solid #999; */
  }

#box-up2 ul.box li h2 a  {
  
  color: #037252 !important;
/*  color: #ea8614 !important; */
  background: none;
  }

#box-up2 ul.box li h2 a:hover  {
  text-shadow: none;
  color: #037252 !important;
  color: #ea8614 !important;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  }

#box-up2 ul.inset {
  margin: 0;
  padding: 5px;
  list-style:none;
  }


#box-up2 ul.inset li {
  width:100%;
  height:auto;
  float: none;
  margin-bottom: 10px;
  margin-top: 5px;
  border:0;
  line-height: 25px;
  box-shadow: none;
  background: none !important;
}

#box-up2 ul.inset li a {
  display:block;
  padding-left:5px;
  color:#333;
  text-decoration:none;
  font-weight:bold;
}

#box-up2 ul.inset li a:hover {
  background-color:#F5F5F5;
/*
  -webkit-transition: background 300ms ease;
  -moz-transition: background 300ms ease;
  -ms-transition: background 300ms ease;
  -o-transition: background 300ms ease;
  transition: background 300ms ease;
*/  border-top: 0;
  text-decoration:underline;
  }

/* ---------------------------- BOX HOME UP 3 ---------------------------  */


#box-up3 {
  width: 105%;
  height: auto;
  border: 0px solid;
/*  border-bottom: 2px solid #c0d5bc; */
/*  border-top: 2px solid #c0d5bc; */
  padding-top: 19px;
/*  margin-bottom: 25px; */
  }
  
#box-up3 ul.box {
  list-style:none;
  margin: 0;
  padding: 0;
  }

#box-up3 ul.box p {
  line-height: 100%;
  font-weight: normal;
  text-align: left;
  margin-top: 0;
  padding: 5px 10px;
  }

/*  
#box-up3 ul.box li img {
  height: 100px;
  width: auto;
  float: left;
  margin-top: -50px;
  margin-left: -30px;
  }
*/

#box-up3 ul.box li img {
height: 100px;
width: 100%;
border-radius: 10px 10px 0 0;
border-bottom: 1px solid #ccc;
}

#box-up3 ul.box li {

  width:20%;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 30px;

  border: 1px solid #ababab;
  border-radius: 10px;
  box-shadow: 1px 1px 7px #DDD;
/*
  color: #333 !important;
  background-color: #F5F5F5 !important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(245, 245, 245)),
    color-stop(0.25, rgb(255, 255, 255))
  );
  background-image: -o-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -moz-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -webkit-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -ms-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: linear-gradient(to bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
*/
}

#box-up3 ul.box li h2 {
  border: 0;
  font-size: 115%;
  text-align: center;
  margin: 7px;
  padding: 1px 1px 1px 1px;
  color: #fff !important;
  font-style: italic;
/*  border-bottom: 1px solid #999; */
  }

#box-up3 ul.box li h2 a  {
  
  color: #037252 !important;
/*  color: #ea8614 !important; */
  background: none;
  }

#box-up3 ul.box li h2 a:hover  {
  text-shadow: none;
  color: #037252 !important;
  color: #ea8614 !important;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  }

#box-up3 ul.inset {
  margin: 0;
  padding: 5px;
  list-style:none;
  }


#box-up3 ul.inset li {
  width:100%;
  height:auto;
  float: none;
  margin-bottom: 10px;
  margin-top: 5px;
  border:0;
  line-height: 25px;
  box-shadow: none;
  background: none !important;
}

#box-up3 ul.inset li a {
  display:block;
  padding-left:5px;
  color:#333;
  text-decoration:none;
  font-weight:bold;
}

#box-u3p ul.inset li a:hover {
  background-color:#F5F5F5;
/*
  -webkit-transition: background 300ms ease;
  -moz-transition: background 300ms ease;
  -ms-transition: background 300ms ease;
  -o-transition: background 300ms ease;
  transition: background 300ms ease;
*/  border-top: 0;
  text-decoration:underline;
  }

/* ---------------------------- BOX HOME UP 4---------------------------  */

#box-up4 {
  width: 105%;
  height: auto;
  border: 0px ;
/*  border-bottom: 2px solid #c0d5bc; */
/*  border-top: 2px solid #c0d5bc; */
  padding-top: 5px;
/*  margin-bottom: 25px; */
  }
  
#box-up4 ul.box {
  list-style:none;
  margin: 0;
  padding: 0;
  }

#box-up4 ul.box p {
  line-height: 100%;
  font-weight: normal;
  text-align: rigth;
  margin-top: 0;
  padding: 1px 1px;
  }

/*  
#box-up4 ul.box li img {
  height: 100px;
  width: auto;
  float: left;
  margin-top: -50px;
  margin-left: -30px;
  }
*/

#box-up4 ul.box li img {
height: 110px;
width: 100%;
border-radius: 0px 0px 0px 0px;
border-bottom: 0px;
}

#box-up4 ul.box li {

  width:29%;
  float: left;
  margin-right: 10px;
  margin-left: 10px;
  margin-bottom: 1px;

  border: 0px ;
  border-radius: 0px;
  box-shadow: 0px 0px 0px;
/*
  color: #333 !important;
  background-color: #F5F5F5 !important;
  background-image: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0, rgb(245, 245, 245)),
    color-stop(0.25, rgb(255, 255, 255))
  );
  background-image: -o-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -moz-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -webkit-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: -ms-linear-gradient(bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
  background-image: linear-gradient(to bottom, rgb(245, 245, 245) 0%, rgb(255, 255, 255) 25%);
*/
}

#box-up4 ul.box li h2 {
  border: 0;
  font-size: 100%;
  text-align: center;
  margin: 0px;
  padding: 0px 0px 0px 0px;
  color: #fff !important;
  font-style: italic;
/*  border-bottom: 1px solid #999; */
  }

#box-up4 ul.box li h2 a  {
  
  color: #037252 !important;
/*  color: #ea8614 !important; */
  background: none;
  }

#box-up4 ul.box li h2 a:hover  {
  text-shadow: none;
  color: #037252 !important;
  color: #ea8614 !important;
  -webkit-transition: all 200ms ease;
  -moz-transition: all 200ms ease;
  -ms-transition: all 200ms ease;
  -o-transition: all 200ms ease;
  transition: all 200ms ease;
  }

#box-up4 ul.inset {
  margin: 0;
  padding: 0x;
  list-style:none;
  }


#box-up4 ul.inset li {
  width:100%;
  height:auto;
  float: none;
  margin-bottom: 0px;
  margin-top: 0px;
  border:0;
  line-height: 25px;
  box-shadow: none;
  background: none !important;
}

#box-up4 ul.inset li a {
  display:block;
  padding-left:0px;
  color:#333;
  text-decoration:none;
  font-weight:bold;
}

#box-up4 ul.inset li a:hover {
  background-color:#F5F5F5;
/*
  -webkit-transition: background 300ms ease;
  -moz-transition: background 300ms ease;
  -ms-transition: background 300ms ease;
  -o-transition: background 300ms ease;
  transition: background 300ms ease;
*/  border-top: 0;
  text-decoration:underline;
  }
/* -------------------------------------------- */


.footer-main {
  width: 100%; 
  margin-top: 0.7em; 
  font-size: 85%;
}

.footer-main ul {
  list-style: none;
}

.footer-main ul li {
  float: left; 
}

.footer-main ul li ul {
  text-align: left; 
}

.footer-main  ul li ul li {
  float:none;
}

/* ---------------------------- BOX HOME SITI TEMATICI ---------------------------  */


#home-tematici {
  width: 100%;
  border: 0px solid;
  padding: 30px 0 0 7px;
  text-align: center;
  }
  
#home-tematici .box {
  width:214px;
  height:157px;
  margin: 0 10px 20px;
  padding: 0;
  display: block;
  float: left;
  background-repeat:no-repeat;
  background-size:cover;
  background-position: center center;
  border: 1px solid #ddd;
  -webkit-transition: background 300ms ease; 
  -moz-transition: background 300ms ease; 
  -ms-transition: background 300ms ease; 
  -o-transition: background 300ms ease; 
  transition: background 300ms ease;
  }

#home-tematici .left {
margin: 0 0 20px -10px;
margin-left: -10px;
height: 120px;
}

#home-tematici .left a.caption {
margin-top: 85px !important;
}

#home-tematici .left a.caption:hover {
height: 80px !important;
margin-top: 40px !important;
}

#home-tematici .ADI {
  background-image:url(/images/headers/bg_ADI.jpg);
  }

#home-tematici .anziani {
  background-image:url(/images/headers/bg_anziani.jpg);
  }

#home-tematici .disabili {
  background-image:url(/images/headers/bg_disabili.jpg);
  }

#home-tematici .welfare {
  background-image:url(/images/headers/bg_welfare.jpg);
  }
#home-tematici .contributi {
  background-image:url(/images/headers/bg_contributi.jpg);
  }

#home-tematici .disabilita {
  background-image:url(/images/headers/bg_disabilita.png);
  }

#home-tematici .dirsoc {
  background-image:url(/images/headers/bg_guida-dirsoc.jpg);
  }


#home-tematici .box a.caption {
  display:block;
  width: 214px;
  height: 35px;
  line-height: 35px;
  margin-top: 122px;
  text-decoration: none;
  background-color: #FFF;
  text-align:center;
  font-family:Arial, Helvetica, sans-serif;
  font-size: 1.5em;
  font-weight: bold;
  color:#4693b8;
  opacity: 0.7;
    filter: alpha(opacity=70); /* For IE8 and earlier */
  -webkit-transition: all 300ms ease; 
  -moz-transition: all 300ms ease; 
  -ms-transition: all 300ms ease; 
  -o-transition: all 300ms ease; 
  transition: all 300ms ease;
}

#home-tematici .box a.caption:hover {
  margin-top: 40px;
  height: 117px;
  font-size: 2em;
  line-height: 80px;
  opacity: 0.9;
  filter: alpha(opacity=90);
  -webkit-transition: all 300ms ease; 
  -moz-transition: all 300ms ease; 
  -ms-transition: all 300ms ease; 
  -o-transition: all 300ms ease; 
  transition: all 300ms ease;
}

#home-tematici .welfare a.caption {
  font-size: 1.3em !important;
  padding-top: 5px;
  line-height: 15px;
}

#home-tematici .welfare a.caption:hover {
  font-size: 1.45em !important;
  padding-top: 20px;
  line-height: 25px !important;
  }
  
#home-tematici .welfare a.caption span {
  font-size: 0.55em !important;
  }
  
#home-tematici .contributi a.caption {
  font-size: 1.3em !important;
  padding-top: 5px;
  line-height: 15px;
}

#home-tematici .contributi a.caption:hover {
  font-size: 1.45em !important;
  padding-top: 20px;
  line-height: 25px !important;
  }
  
#home-tematici .contributi a.caption span {
  font-size: 0.55em !important;
  }

#home-tematici .disabilita a.caption {
  font-size: 1.3em !important;
  padding-top: 5px;
  line-height: 15px;
}

#home-tematici .disabilita a.caption:hover {
  font-size: 1.45em !important;
  padding-top: 20px;
  line-height: 25px !important;
  }
  
#home-tematici .disabilita a.caption span {
  font-size: 0.55em !important;
  }

#home-tematici .dirsoc a.caption {
  font-size: 1.3em !important;
  padding-top: 5px;
  line-height: 15px;
}

#home-tematici .dirsoc a.caption:hover {
  font-size: 1.45em !important;
  padding-top: 20px;
  line-height: 25px !important;
  }
  
#home-tematici .dirsoc a.caption span {
  font-size: 0.55em !important;
  }


#home-tematici .box h2 {
  border: 0;
  font-size: 130%;
  text-transform: uppercase;
  margin: 0;
  /* margin-bottom: 0px; */
  /* padding: 0; */
  /* margin-left: 70px; */
  color: #666 !important;
  font-style: italic;
  text-shadow: 0 0 10px #ddd;
  }

