@import url("//fonts.googleapis.com/css?family=Droid+Sans:regular,bold|Droid+Serif:regular,italic,bold,bolditalic&subset=latin");
/*
Theme Name:B5Sub Theme
Author:Me
Current Maintainer: Me
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  /*! margin: 0; */
  /*! padding: 0; */
  /*! border: 0; */
  font-size: 100%;
  font: inherit;
  /*! vertical-align: baseline; */
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

/*! ex wrapper */
body {
  /*! line-height: 1; */
  font-family: "Droid Sans", "Helvetica Neue", "Nimbus Sans L", sans-serif;
  position: relative;
	max-width: 1132px;
	margin: 0 auto;
  box-shadow: 0 0 6px #7E7E7E;
	-webkit-box-shadow: 0 0 6px #7E7E7E;
	background-size:auto;
  background-image: -webkit-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%), url(/sites/default/files/images/sf_foglia1.png);
	background-image: -moz-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%), url(/sites/default/files/images/sf_foglia1.png);
	background-image: -o-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%), url(/sites/default/files/images/sf_foglia1.png);
	background-image: linear-gradient(90deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%), url(/sites/default/files/images/sf_foglia1.png);
	background-position: 50% 200px ;
	/*background-attachment: scroll;
  background-repeat: repeat-y;
	background-origin: padding-box;
	background-color: #BAE7B9;*/
  
	
}

ol, ul {
	list-style-type: square;
	list-style-position: outside;
}

/*table {
  border-collapse: collapse;
  border-spacing: 0;
}*/

/*
  Clear Floated Elements
*/

.clear {
  clear:both;
  display:block;
  overflow:hidden;
  visibility:hidden;
  width:0;
  height:0;
}

.clear:after {
  clear:both;
  content:' ';
  display:block;
  font-size:0;
  line-height:0;
  visibility:hidden;
  width:0;
  height:0;
}

* html .clear {
  height:1%;
}

html {margin-top:0;}


/*
  Style HTML Tags
*/

figure {
	width:90%;
  margin-left: auto;
  margin-right: auto;
}

#block-subthemebs5-popup {
  display: none;
}

figcaption {
	font-family: "Droid Sans", "Helvetica Neue", "Nimbus Sans L", sans-serif;
	font-size: 14px;
	text-align: center;
	font-style: italic;
	}

i {
	font-style: italic;
}

a {
  color:#006630;
  }

a:hover {
	color: #BA0000;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom:6px;
  font-weight:bold;
  line-height:1.62em;
}

/* h1 {
  font-size:32px;
}*/

h2 {
	font-size: 24px;
	padding-top: 3px;
	padding-right: 12px;
	padding-bottom: 3px;
	padding-left: 12px;
}

h3 {
	font-size: 18px;
	color: #006633;
  padding-left: 5%;
	}

h3 ul li {
	list-style-type: square;	
	}

h4 {
  font-size:16px;
}

h5 {
  font-size:15px;
}

h6 {
  font-size:14px;
}

p {
	/* [disabled]margin-bottom: 15px; */
	height: auto;
  margin-left: 4%;
  margin-right: 4%;
}

iframe {
	border-radius: 20px;
	width: 86%;
    height: 250px;
	}

.field-name-field-maps {
	text-align: center;
}


table.pubblitab {
	color: #006633;
	border-spacing: 5px 5px;
	}

table.pubblitab tbody {
	border-radius: 8px;
	}
.imgcurric {
	width: 50%;
  height: 50%;
	max-width: 186px;
}


.views-element-container {
  width: 100%;
  display: block;
  margin-left: 0px;
  
}

.table-striped {
  width: 100%;
  
  
}

.table-striped td {
  border-bottom: thin dotted #003300;
  
  
}

#container-table-compet {
  width: 95%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

table.compet {
	padding-bottom: 1%;
  margin-bottom: 2%;
  background: rgba(194, 247, 203, 0.5);
  border: thin dotted #083d11;
  border-radius: 8px;
	}

table.compet u {
	list-style-type: circle;
	}

table.compet td {
	border-bottom: thin dotted #083d11;
  border-right: thin dotted #083d11;
	vertical-align: top;
	}

table.compet th {
	/* border: thin dashed #EBEBEB; */
	}

table {
	/* [disabled]border-collapse: collapse; */
	/* [disabled]border-spacing: 0; */
	/* [disabled]margin-bottom: 15px; */
	width: 100%;
	}

th, tr, td {
	/* [disabled]vertical-align: middle; */
  /* border: #FFF;
  border-style: double;
  border-width: 3px;
  border-radius: 8px;*/
}


table.pubblitab tr.alternate {
	background-color: #B9E3AF;
	}

table.pubblitab tr {
	background-color: #FFFFFF;
}
table.pubblitab td {
	margin-left: 30px;
	border-radius: 10px;
	}

.sticky-header th, .sticky-table th {
  border-bottom: 3px solid #ccc;
  padding-right: 1em;
  text-align: left;
}


table#footertab {
	color: #006633;
	margin-top: 10px;
	margin-left: 10px;
}

table#footertab td {
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 4px;
	padding-left: 0px;
}


th {
	background: #FFFFFF;
	padding: 5px 4px;
	text-shadow: 1px 1px #fff;
	/* [disabled]border-right-color: #c8c7c7; */
	/* [disabled]border-right-style: solid; */
	/* [disabled]border-right-width: 1px; */
	/* [disabled]color: #333; */
}

td {
	/* [disabled]background: #FFFFFF; */
	/* [disabled]color: #747474; */
	/* [disabled]text-align: left; */
	padding-left: 10px;
	/* [disabled]border-right-color: #c8c7c7; */
	/* [disabled]border-right-style: solid; */
	/* [disabled]border-right-width: 1px; */
	/* [disabled]border-bottom-color: #c8c7c7; */
	/* [disabled]border-bottom-style: solid; */
	/* [disabled]border-bottom-width: 1px; */
	padding-top: 7px;
	padding-bottom: 7px;
}

code {
  background: #fff;
  text-shadow: 1px 1px #fff;
  border: 1px solid #bbbbbb;
  display: block;
  padding: 7px;
  margin: 5px 0;
  border-radius: 7px;
}

mark {
  background-color:#37F448;
  font-style:italic;
  font-weight:bold;
}

del {
  text-decoration: line-through;
}

hr {
  border:none;
  border-top:#EEE 1px solid;
}

dt {
  font-weight:bold;
  margin-bottom:24px;
}

dd {
  margin-left:30px;
  margin-bottom:24px;
}

ul {
	margin-left: 20px;
}

ul li {
	margin-top: 4px;
}

ul ul {
  list-style-type:square;
  margin-bottom:0;
}

ul ul ul {
  list-style-type:circle;
}

ol {
  list-style-type:decimal;
  margin-left:30px;
  margin-bottom:24px;
}

ol ol {
  list-style: upper-alpha;
  margin-bottom:0
}

ol ol ol {
  list-style: lower-roman;
}

ol ol ol ol {
  list-style: lower-alpha;
}

abbr,
acronym {
  border-bottom:#999 1px dotted;
  cursor:help;
}

big {
  font-size:1.3em;
}

cite,
em {
  font-style:italic;
}

ins {
  background-color:#fdfc9b;
  text-decoration:none;
}

pre {
  background: #fff;
  text-shadow: 1px 1px #fff;
  border: 1px solid #bbbbbb;
  padding: 7px;
  margin: 5px 0;
  border-radius: 7px;
}

blockquote, q {
  quotes:none;
  border: 1px solid #bbbbbb;
  background: #d8d8d8 url(images/quote.png) no-repeat;
  padding: 10px 5px 5px 47px;
  text-shadow: 1px 1px #fff;
  margin: 5px 0;
  border-radius: 7px;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content:'';
  content:none;
}

strong {
  font-weight:bold;
}

sup,
sub {
  height:0;
  line-height:1;
  vertical-align:baseline;
  position:relative;
  font-size:10px;
}

sup {
  bottom:1ex;
}

sub {
  top:.5ex;
}

video {
  max-width:100%;
  height:auto;
}

video {
  display:block;
}

audio {
  max-width:100%;
}

img {
	margin-top: 5px;
	margin-right: 20px;
	margin-bottom: 5px;
	margin-left: 20px;	
}

#homepane a img {
	background-color: #F24F51;	
	
}

.homelink-colt {
	background-color: #FFFFFF;
	text-align: center;
	border: thin dashed #006633;
	border-radius: 15px;
	margin-top: 320px;
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	}

.homelink-colt a {
	text-decoration: none;	
	}

.homelink {
	width: 800px;	
	}
#block-custom-1 {
	width: 657px;
	margin-left: -190px;
	}

.homelink a {
	text-decoration: none;	
	}

  #logo {
    margin-left: 5%;
    padding-top: 10px;
    border-radius: 20px;
  }



.content a img {
	/* [disabled]border: #EEE 1px solid; */
	/* [disabled]background-color: #FFFFFF; */
}

.content a:hover img {
	/* [disabled]background:#fff; */
}

#webform-submission-form-contatti-add-form {
  margin-left: 5%;
}

#edit-processed-text{
  margin-left: 0;
}

.media:hover .media__icon--litebox, a:hover .media__icon--litebox, a .media--switch {
  visibility: hidden  !important;
}


  #block-subthemebs5-page-title {
    color: #b4fe04;
    font-size: 25px;
    margin-left: 4%;
    margin-right: 4%;
    font-weight: bold;
    background-image: -webkit-linear-gradient(0deg,rgba(0,102,51,0.71) 0%,rgba(0,102,51,1.00) 51.50%,rgba(255,255,255,0.36) 100%);
    background-image: -moz-linear-gradient(0deg,rgba(0,102,51,0.71) 0%,rgba(0,102,51,1.00) 51.50%,rgba(255,255,255,0.36) 100%);
    background-image: -o-linear-gradient(0deg,rgba(0,102,51,0.71) 0%,rgba(0,102,51,1.00) 51.50%,rgba(255,255,255,0.36) 100%);
    background-image: linear-gradient(90deg,rgba(0,102,51,0.71) 0.00%,rgba(0,102,51,1.00) 51.50%,rgba(255,255,255,0.36) 100%);
    margin-bottom: 20px;
    padding-left: 15px;
    border-radius: 8px;
    }

    .slide__content {
      display: block;
      margin-left: 18%;
      margin-right: 10%;
      margin-top: 10%;
    }

    .slide__content img {
      border: 0px;
      }
    .title-complex {
      color: #066a38;
      font-size: 20px;
      background-color: #b4fe04;
      border: 1px solid #333;
      border-style: dashed;
      border-color: #006633;
      margin-left: 4%;
      margin-right: 4%;
      font-weight: bold;
      margin-bottom: 20px;
      padding-left: 15px;
      border-radius: 8px;
      }  

#colture-tab {
	font-size: 18px;
	color: #063;
	/* [disabled]width: 240px; */
	text-align: center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px 10px 10px 10px / 10px 10px 10px 10px;
	-moz-box-shadow: 1px 1px 0px rgba(0,0,0,0.3);
	/* [disabled]-webkit-box-shadow: 1px 1px 0px rgba(0,0,0,0.3); */
	/* [disabled]box-shadow: 1px 1px 0px rgba(0,0,0,0.3); */
	background-image: url(../../../default/files/images/sf_colture2.jpg);
	background-repeat: repeat-x;
	background-position: top;
	border-left: thin dashed #063;
	border-right: thin dashed #063;
	border-bottom-color: #063;
	/* [disabled]border-top-color: #063; */
	border-bottom-style: dashed;
	/* [disabled]border-top-style: dashed; */
	border-bottom-width: thin;
	/* [disabled]border-top-width: thin; */
	vertical-align: top;
	/* [disabled]float: left; */
	margin-top: 20px;
	/* [disabled]margin-right: 25px; */
	margin-bottom: 20px;
	/* [disabled]margin-left: 5px; */
}

#colture-tab4 {
	font-size: 25px;
	color: #063;
	/* [disabled]width: 240px; */
	text-align: center;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px 10px 10px 10px / 10px 10px 10px 10px;
	-moz-box-shadow: 1px 1px 0px rgba(0,0,0,0.3);
	/* [disabled]-webkit-box-shadow: 1px 1px 0px rgba(0,0,0,0.3); */
	/* [disabled]box-shadow: 1px 1px 0px rgba(0,0,0,0.3); */
	background-image: url(../../../default/files/images/sf_colture_agr.jpg);
	background-repeat: repeat-x;
	background-position: top;
	border: thin dashed #063;
	vertical-align: top;
	margin-top: 20px;
	/* [disabled]margin-right: 3%; */
	margin-bottom: 30px;
	/* [disabled]margin-left: 15px; */
	padding-top: 10px;
	padding-bottom: 10px;
}

.colturetop {
	/* [disabled]font-size: 12px; */
	color: #FFF;
	text-align: center;
	font-weight: bold;
	margin: 0px;
	/* [disabled]padding-right: 0px; */
	/* [disabled]padding-bottom: 0px; */
	/* [disabled]padding-left: 0px; */
	/* [disabled]padding-top: 3px; */
	text-shadow: 2px 2px 2px #006633;
}
.colturetopsmall {
	font-size: 9px;
	color: #FFF;
	text-align: center;
	font-weight: bold;
	margin: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
	padding-top: 3px;
}


/*
  Theme Design, Layout and Typography
*/

#leaflet-map-node-page-3-field-mappa {
width: 80%;
display: block;
margin-left: auto;
margin-right: auto;
border-radius: 20px;
}

#wrapper-home {
	position: relative;
	max-width: 1132px;
	margin: 0 auto;
	box-shadow: 0 0 6px #7E7E7E;
	overflow: hidden;
	-webkit-box-shadow: 0 0 6px #7E7E7E;
	background-image: -webkit-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%);
	background-image: -moz-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%);
	background-image: -o-linear-gradient(0deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%);
	background-image: linear-gradient(90deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.93) 19.69%,rgba(94,167,130,0.61) 51.50%,rgba(255,255,255,0.36) 100%);
}
header[role=banner] {
  margin-top: 0%;
	margin-bottom: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
	background-repeat: no-repeat;
	background-image: url(/web/sites/default/files/banner.png);
	background-position: 0% 15%;
}

.apricarousel {
	border-top: thin dashed #006633;
	border-bottom: thin dashed #fff;
	background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.00) 100%);
	margin-top: 10px;
	width: auto;
  }

.region-testadx {
	width: 63%;
	float: right;
	margin-top: 5px;
	}

  .homelink-tit {
    font-family: "Berlin Sans FB Demi";
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    color: #006633;
    text-align: center;
    margin-top: 10px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    /* [disabled]border-top-color: #FFFFFF; */
    /* [disabled]border-top-style: dashed; */
    /* [disabled]border-top-width: thin; */
    /* [disabled]border-bottom-color: #FFFFFF; */
    /* [disabled]border-bottom-style: dashed; */
    /* [disabled]border-bottom-width: thin; */
    /* [disabled]border-right-color: #FFFFFF; */
    /* [disabled]border-right-style: dashed; */
    /* [disabled]border-right-width: thin; */
    display: inline;
    margin-right: 35px;
    background-repeat: no-repeat;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-right: 8px;
    padding-left: 20px;
    background-position: 0 190px;
    /* background-image: url(../../../default/files/fogliabianca.png);*/
    }



#block-subthemebs5-bootstraplanguageswitcher {
	width: 190px;
	float: right;
	height: 20px;
	margin-top: 5px;
	display: inline-block;
	}

#block-subthemebs5-bootstraplanguageswitcher a {
	color: #ffffff;
	}

  .dropdown-toggle {
    display: none;
  }

  #block-subthemebs5-bootstraplanguageswitcher a.active {
	color: #FFFFFF;
  }

#block-subthemebs5-bootstraplanguageswitcher ul {
	margin-top: 4px;
	margin-bottom: 2px;
  	}

#block-subthemebs5-bootstraplanguageswitcher img {
	background-color: #FFFFFF;
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 1px;
	padding-left: 1px;
  margin-left:10px;
  height: 12px;
  width:18px;
	}

#block-subthemebs5-bootstraplanguageswitcher ul li {
	margin-top: 4px;
  margin-right:10px;
	color: #FFFFFF;
  display: inline;
}
.region region-footer -first{
	margin-top: 18px;
	
}

#block-subthemebs5-branding {
	padding-top: 5px;
  
  }

#site-title a {
  color:#333;
}

#site-title {
  float:left;
  line-height:100px;
}

#site-title {
  margin:0;
  font-size:28px;
  font-weight:bold;
}

#site-description {
	margin-left: 400px;
	padding-left: 50px;
	width: 60%;
}

#block-subthemebs5-mainmenu-2 {
	max-width: 95%;
  min-height: 40px;
	box-shadow: 0 0 3px #999;
	/* [disabled]background: -moz-repeating-linear-gradient(#555, #333 40px); */
	/* [disabled]background: -webkit-repeating-linear-gradient(#555, #333 40px); */
	/* [disabled]background: -o-repeating-linear-gradient(#555, #333 40px); */
	/* [disabled]background: -ms-repeating-linear-gradient(#555, #333 40px); */
	background-position: 40px;
	background-color: #006633;
	border-radius: 8px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
	
}

#block-subthemebs5-mainmenu-2 ul {
  float:left;
  padding:0;
  margin:0;
  list-style:none;
  font:size 11px;
}

#block-subthemebs5-mainmenu-2 li {
	position:relative;
	float:left;
	padding:0;
	margin:0;
	line-height:40px;
}

#block-subthemebs5-mainmenu-2 li li{
	line-height:13px;
}

#block-subthemebs5-mainmenu-2 li:first-child {
  padding-left:0;
}

#block-subthemebs5-mainmenu-2 a {
	display: block;
	padding: 0 15px;
	color: #FFF;
	
	text-decoration: none;
	/*font-size: 15px;*/
	font-weight: bold;
}

#block-subthemebs5-mainmenu-2 .expandedm {
	display: block;
	color: #FFF;
	text-align: left;
	text-decoration: none;
	font-size: 15px;
	font-weight: bold;
	padding-right: 20px;
	padding-left: 20px;
}

#block-subthemebs5-mainmenu-2 a:hover,
#block-subthemebs5-mainmenu-2 li > a.active {
  background:#004524;
  color:#fff;
  text-decoration:none;
}

#block-subthemebs5-mainmenu-2 ul.menu a.is-active {
  background-color: #004524;
}

#block-subthemebs5-mainmenu-2 li > a.active {
  background:#004524;
}

.drop-down-toggle {
  position:absolute;
  top:7px;
  right:16px;
  display:none;
  width:20px;
  height:20px;
  border-radius:15px;
  background:#333;
  background:-moz-linear-gradient(#333,#444);
  background:-webkit-linear-gradient(#333,#444);
  background:-o-linear-gradient(#333,#444);
  background:-ms-linear-gradient(#333,#444);
  background:linear-gradient(#333,#444);
  border:#aaa 3px solid;
}

.drop-down-arrow {
  display:block;
  width:0;
  height:0;
  margin:8px 0 0 5px;
  border-top:5px solid #aaa;
  border-left:transparent 5px solid;
  border-right:transparent 5px solid;
}

#block-subthemebs5-mainmenu-2 li li {
  float:none;
  min-width:190px;
  padding:0;
  margin:0;
}

#block-subthemebs5-mainmenu-2 li li a {
  min-width:150px;
  margin:0;
  background:#555;
  border-top:#5f5f5f 1px solid;
  font-size:13px;
  line-height:33px;
  text-align:left;
  overflow:hidden;
}

#block-subthemebs5-mainmenu-2 li li:first-child > a {
  border-top:none;
}

#block-subthemebs5-mainmenu-2 li li a:hover {
  background:#444;
}

#block-subthemebs5-mainmenu-2 li ul {
  
  position:absolute;
  z-index:9999;
  min-width:190px;
  height:auto;
  padding:0;
  margin:0;
  box-shadow:0 0 3px #333;
}

#block-subthemebs5-mainmenu-2 li ul ul {
  margin:-33px 0 0 190px !important;
}

#block-subthemebs5-mainmenu-2 li:hover > ul,
#block-subthemebs5-mainmenu-2 li li:hover > ul,
#block-subthemebs5-mainmenu-2 li li li:hover > ul {
  display:block;
}

#block-subthemebs5-mainmenu-2 .nav-toggle {
  display:none;
}

#block-subthemebs5-mainmenu-2 ul li.leaf, #block-subthemebs5-mainmenu-2 ul li.expanded, #block-subthemebs5-mainmenu-2 ul li.collapsed {
  list-style:none;
}
#block-subthemebs5-mainmenu-2 ul.menu li {
  margin: 0;
}

#block-subthemebs5-mainmenu-2 li.expanded, #block-subthemebs5-mainmenu-2 li.collapsed, #block-subthemebs5-mainmenu-2 li.leaf {
  margin: 0;
  padding: 0;
}

.img-fluid {
  border: 6px solid #006633;
  margin-top: 2%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  }

  .node__content {
    
    
    }
 
  .node__content img {
    
    display: block;
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    }

#slider {
	position: relative;
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	/* [disabled]box-shadow: 0 0 3px #999; */
	/* [disabled]background: #ccc; */
	/* [disabled]background: -moz-linear-gradient(#ddd,#bbb); */
	/* [disabled]background: -webkit-linear-gradient(#ddd,#bbb); */
	/* [disabled]background: -o-linear-gradient(#ddd,#bbb); */
	/* [disabled]background: -ms-linear-gradient(#ddd,#bbb); */
	/* [disabled]background: linear-gradient(#ddd,#bbb); */
	/* [disabled]-webkit-box-shadow: 0 0 3px #999; */
}

#slider a:active {
  outline:none;
}

.slides,
.flex-control-nav {
  margin:0;
  padding:0;
  list-style:none;
}

.slides {
  width:100%;
  overflow:hidden;
}

#slider .slides > li {
  /*display:none;
  position:relative;
  margin:0;*/
}

#slider .slides li:first-child {
  display:list-item;
}

.flex-pauseplay span {
  text-transform:capitalize;
}

.slides:after {
  content:".";
  display:block;
  clear:both;
  visibility:hidden;
  line-height:0;
  height:0;
}

.flex-control-nav {
  position:absolute;
  right:8%;
  bottom:8%;
  text-align:center;
}

.flex-control-nav li {
	display:inline-block;
	margin:0 0 0 15px;
	float:left; /** Added by ibou65 to fix vertical display of slides link on IE7, line 603 **/
}

.flex-control-nav li:first-child {
  margin:0;
}

.flex-control-nav li a {
  display:block;
  width:24px;
  height:24px;
  box-shadow:0 0 3px #999;
  cursor:pointer;
  background:#e9e9e9;
  color:#333;
  font-weight:bold;
  line-height:24px;
}

.flex-control-nav li a.active,
.flex-control-nav li a:hover {
  background:#fff;
}

#slider .post {
  padding:1.83%;
  margin:0;
  box-shadow:none;
  background:none;
}

#slider .entry-container {
	/* [disabled]float: none; */
	max-width: 100%;
}

#slider .slide-image {
	max-width: 95%;
	padding: 0.47%;
	background-color: #E9E9E9;
	/* [disabled]float: right; */
	position: relative;
	margin-top: 0px;
	}

#slider .entry-header,
#slider .entry-summary {
	background-color: #FFFFFF;
	z-index: 2;
	position: relative;
	border-radius: 12px;
	max-width: 65%;
	left: auto;
	right: auto;
	padding-left: 0px;
	opacity: 0.8;
	margin-left: auto;
	margin-right: auto;
	top: 100px;
}

#slider .entry-title{
	text-align: center;
}



.content-sidebar-wrap #block-subthemebs5-content {
	margin-bottom: 2.7%;
	width: 90%;
	border-radius: 20px;
	font-size: 18px;
	line-height: 25px;
	padding-top: 5px;
	opacity: 1;
	margin-left: auto;
	margin-right: auto;
}

.gestprog1 {
	border-top: thin dashed #006633;
	font-weight: bold;
	height: 100px;
  background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,0.00) 100%);
	width: auto;
  }

.gestprog1 img {
	width: 6%;
  height: 6%;
	margin-top: 0%;
  margin-right: 150px;
  float: right;	
  
	}

.view-content {
	color: #003300;
	margin-bottom: 10px;
	padding-bottom: 10px;
	padding-right: 0px;
	margin-right: 10px;
  margin-left: 5%;
	}

.view-content a {
	color: #003300;
	}

.view-content .item-list ul li {
	color: #003300;
	margin-bottom: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-top: 10px;
	}

.odd {
	color: #003300;
  	
	}

.even {
	color: #003300;
	/*background-image: -webkit-linear-gradient(0deg,rgba(197,217,188,1.5) 0%,rgba(255,255,255,0.00) 100%);
	background-image: -moz-linear-gradient(0deg,rgba(197,217,188,1.5) 0%,rgba(255,255,255,0.00) 100%);
	background-image: -o-linear-gradient(0deg,rgba(197,217,188,1.5) 0%,rgba(255,255,255,0.00) 100%);
	background-image: linear-gradient(90deg,rgba(197,217,188,1.5) 0%,rgba(255,255,255,0.00) 100%);*/
  background: rgba(194, 247, 203, 0.5);
	border-radius: 18px;
  border-bottom: #FFF;
  border-style: double;
  border-width: 2px;
}

/* 3 columns */

body.two-sidebars .content-sidebar-wrap {
  width:80%;
}

body.two-sidebars #block-subthemebs5-content {
  width:75%;
}

body.two-sidebars #sidebar-first {
  width: 24%;
}

body.two-sidebars #sidebar-second {
  width: 19%;
}

/* 2 columns: sidebar-first */

body.sidebar-first .content-sidebar-wrap {
  width: 100%!important;
}



/* 2 columns: sidebar-second */

body.sidebar-second .content-sidebar-wrap {
  width: 80%!important;
}

body.sidebar-second #block-subthemebs5-content {
  width: 100%!important;
}

body.sidebar-second #sidebar-second {
  width: 19%;
}

#post-content {
  padding: 0 20px;
}

#block-subthemebs5-breadcrumbs {
	margin: 0 20px;
	padding-top: 20px;
	margin-bottom: 10px;
	border-bottom: #eee 1px solid;
	font-size: 16px;
	font-style: italic;
}

#block-subthemebs5-content, #sidebar-second, #sidebar-first {
  margin-top: 10px;
}
#head {
	font-size: 14px;
	float: right;
	text-align: left;
	text-decoration: none;
	display: inline-block;
	background-color: #FFFFFF;
	margin-top: 7px;
	margin-bottom: 7px;
	border-radius: 15px;
	height: 35px;
}
.node {
	margin-top: 10px;	
}

.node h2.title, .page-title {
	color: #000;
	font-size: 20px;
}

.node h2.title a{
	color: #006633;
}

.block {
  margin-bottom:1.5em;
}

.block > h2{
	margin: 0;
	font-size: 10px;
	font-weight: bold;
	letter-spacing: 1px;
	border-radius: 0px;
}

#sidebar-first .block > h2,
#sidebar-second .block > h2,
#head .block > h2,
#foot .block > h2 {
	color: #FFFFFF;
}

#footer-area .block > h2 {
	color: #006633;
	}

#footer-area ul.menu li a.active{
  color:#ddd;
}

.submitted {
  background: #fff;
  padding: 4px 9px;
  border-radius: 4px;
  color: #383838;
  text-shadow: 1px 1px #fff;
  clear: both;
  display: block;
  margin-bottom: 2px;
}

.links {
  color: #000;
  margin-top: 10px;
  font-size: 14px;
}

ul.links {
  margin:0;
}

.links li a {
  background-color: #E7E5E3;
  color: #100100;
  padding: 4px 5px;
  border-radius: 4px;
  text-shadow: 1px 1px #fff;
  font-weight: normal;
}

.links li a:hover {
  background-color: #D7D5D3;
  color: #100101;
}


/*-------------------------------------------*
/* Fix CKEditor style
/*-------------------------------------------*/
table.cke_editor {
  background: transparent;
  border: 0;
}
table.cke_editor td {
  background: transparent;
  padding: 0;
  border: 0;
}

/*-------------------------------------------*
/* Poll, Buttons, Form
/*-------------------------------------------*/
.poll .vote-form .choices .title {
  font-size: 14px;
  font-weight: normal;
  line-height: 2;
}

.poll .vote-form .choices {
  margin: 0;
}

.form-submit{
  cursor: pointer;
  margin:5px;
}

input.form-checkbox, input.form-radio {
  vertical-align: baseline;
}

.form-text {
  padding: 4px 5px;
}

/*-------------------------------------------*
/* Menus and item lists
/*-------------------------------------------*/
.item-list ul {
  margin: 0;
  padding: 0 0 0 1.5385em;
}

.item-list ul li {
  margin: 0;
  padding: 0;
}

ul.menu li {
	margin: 0;
	padding: 0;
}

ul.inline {
  clear: both;
}

ul.inline li {
  margin: 0;
  padding: 0;
}

/*-------------------------------------------*
/* Admin Tabs
/*-------------------------------------------*/
.tabs-wrapper {
  border-bottom: 1px solid #b7b7b7;
  margin: 0 0 5px 0;
}

ul.primary {
  border: none;
  margin: 0;
  padding: 0;
}

ul.primary li a {
  background: none;
  border: none;
  display: block;
  float: left;
  line-height: 1.5385em;
  margin: 0;
  padding: 0 1em;
  border-radius: 4px 4px 0 0;
  margin-right: 5px;
}

ul.primary li a:hover, ul.primary li a.active {
  background: #666;
  border: none;
  color: #fff;
}

ul.primary li a:hover {
  background: #888;
  text-decoration: none;
}

ul.secondary {
  background: #666;
  border-bottom: none;
  clear: both;
  margin: 0;
  padding: 0;
}

ul.secondary li {
  border-right: none;
}

ul.secondary li a, ul.secondary li a:link {
  border: none;
  color: #ccc;
  display: block;
  float: left;
  line-height: 1.5385em;
  padding: 0 1em;
}

ul.secondary li a:hover, ul.secondary li a.active {
  background: #888;
  color: #fff;
  text-decoration: none;
}

ul.secondary a.active {
  border-bottom: none;
}

/*-------------------------------------------*
/* Tabs and Tags
/*-------------------------------------------*/
.field-name-field-tags {
  margin: 0 0 10px 0;
}

.field-name-field-tags a{
  display: inline-block;
  background: url(images/tag.png) no-repeat;
  padding: 0px 8px 0 16px;
  height: 22px;
  text-shadow: 1px 1px #fff;
  border-radius: 2px;
  font-size: 12px;
}

.field-name-field-tags a:hover{
}

.field-name-field-tags .field-item {
  margin: 0 1em 0 0;
}

.field-name-field-tags div {
  display: inline;
}

#block-subthemebs5-content-container .field-label{
}

#block-subthemebs5-content-container .field-items .field-item{
}

/*-------------------------------------------*
/* Profile
/*-------------------------------------------*/
.profile {
  margin: 1.5385em 0;
}

.profile dd {
  margin-bottom: 1.5385em;
}

.profile h3 {
  border: none;
}

.profile dt {
  margin-bottom: 0;
}

.password-parent {
  width: 36em;
}

/*-------------------------------------------*
/* Navigation
/*-------------------------------------------*/
.item-list .pager {
}

.item-list .pager li {
  background: #cfcfcf;
  border-radius: 3px;
  margin-right: 4px;
  text-shadow: 1px 1px #fff;
}

/*-------------------------------------------*
/* Forum
/*-------------------------------------------*/
.field-name-taxonomy-forums div {
  display: inline;
  margin-top: 4px;
}

.field-name-taxonomy-forums .field-items {
}

#forum .title {
  font-size: 16px;
}

#forum .submitted {
  font-size: 12px;
  font-family: Lucida Grande, Verdana, Arial, sans-serif;
  background: transparent;
  padding: 0;
}

#forum .container {
  background: #a1a1a1;
  color: #fff;
}

#forum .container a {
  color: #000;
  font-weight: bold;
}

#forum div.indent {
  margin-left: 2px;
}

.forum-starter-picture {
  float: left;
  padding: 4px;
  border: 1px solid #d9d9d9;
  margin: 5px 7px 5px 0;
}

#forum th {
  background: #434343;
  text-shadow: none;
  color: #fff;
}

#forum th a {
  color: #fff;
}

#forum td.forum .icon, #forum .icon div {
  background: url(images/no-new-posts.png) no-repeat;
  width: 35px;
  height: 35px;
}

#forum .name a{
  font-size: 16px;
}

/* Images */

img {
	outline: 0;
	border-radius: 20px;
	text-align: center;
}

img.scale-with-grid { max-width: 100%; height: auto; }

/* Comments */

.comment h2.title { margin-bottom: 1em; }

.comment div.user-picture img { margin-left: 0; }

.comment { margin-bottom: 20px; display: table; vertical-align: top; }

.comment .attribution { display: table-cell; padding: 0 35px 0 0; vertical-align: top; overflow: hidden; }

.comment .attribution img { margin: 0; border: 1px solid #d3d7d9; }

.comment .attribution .username { white-space: nowrap; }

.comment .comment-submitted p { margin: 4px 0; font-size: 1.071em; line-height: 1.2; }

.comment .comment-submitted .comment-time { font-size: 0.786em; }

.comment .comment-submitted .comment-permalink { font-size: 0.786em; text-transform: lowercase; }

.comment .content { font-size: 0.929em; line-height: 1.6; }

.comment .comment-arrow { background: url(images/comment-arrow.gif) no-repeat 0 center transparent;
border-left: 1px solid; border-right: 1px solid; height: 40px; margin-left: -36px; margin-top: 15px; position: absolute; width: 20px; }

.comment .comment-text { padding: 0 25px 10px 35px; display: table-cell; vertical-align: top; position: relative; width: 100%; border-left: 1px solid #d3d7d9; }

.comment .indented { margin-left: 40px; }

.comment-unpublished { margin-right: 5px; padding: 5px 2px 5px 5px; }

.comment .comment-text .comment-arrow { border-left: 1px solid #ffffff; border-right: 1px solid #ffffff; }

/* -------------- Form Elements   ------------- */

fieldset { background: #ffffff; border: 1px solid #cccccc; margin-top: 10px; margin-bottom: 32px;
padding: 0 0 10px; position: relative; top: 12px; /* Offsets the negative margin of legends */
-khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

.fieldset-wrapper { margin-top: 25px; }

.node-form .vertical-tabs .fieldset-wrapper { margin-top: 0; }

.filter-wrapper { top: 0; padding: 1em 0 0.2em;
-khtml-border-radius-topright: 0; -khtml-border-radius-topleft: 0; -moz-border-radius-topright: 0; -moz-border-radius-topleft: 0;
-webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; border-top-left-radius: 0; border-top-right-radius: 0; }

.filter-help a { font-size: 0.857em; padding: 2px 20px 0; }

.filter-wrapper .form-item label { margin-right: 10px; }

.filter-wrapper .form-item { padding: 0 0 0.5em 0.5em; }

.filter-guidelines { padding: 0 1.5em 0 0.5em; }

fieldset.collapsed { background: transparent; -khtml-border-radius: 0; -moz-border-radius: 0;  -webkit-border-radius: 0; border-radius: 0; }

fieldset legend { background: #dbdbdb; border: 1px solid #ccc; border-bottom: none; display: block; height: 2em;
left: -1px; line-height: 2; padding: 0; position: absolute; text-indent: 10px; text-shadow: 0 1px 0 #fff; top: -12px; width: 100%;
-khtml-border-radius-topleft: 4px; -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px;
-khtml-border-radius-topright: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }

fieldset.collapsed legend { -khtml-border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }

fieldset .fieldset-wrapper { padding: 0 10px; }

fieldset .fieldset-description { margin-top: 5px; margin-bottom: 1em; line-height: 1.4; font-style: italic; }

input { margin: 2px 0; padding: 4px; }

input, textarea {  font-size: 0.929em; }

textarea { line-height: 1.5; }

textarea.form-textarea, select.form-select { padding: 4px; }

input.form-text, textarea.form-textarea, select.form-select { border: 1px solid #ccc; }

.password-suggestions ul li { margin-left: 1.2em; }

.form-item { margin-bottom: 1em; margin-top: 2px; }

.form-item label { font-size: 0.929em; 
display:block;
}

.form-type-radio label, .form-type-checkbox label { margin-left: 4px; }

.form-type-radio .description, .form-type-checkbox .description { margin-left: 2px; }

.form-actions { padding-top: 10px; }

/* Form Buttons */

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
/* IE10 */
background-image: -ms-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Opera */
background-image: -o-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #E3E3E3));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* Proposed W3C Markup */
background-image: linear-gradient(top, #FFFFFF 0%, #E3E3E3 100%);
/* IE6-9 */
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#E3E3E3');

border: 1px solid #dbdbdb;
-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white; -webkit-box-shadow: inset 0 1px 0 0 white; -o-box-shadow: inset 0 1px 0 0 white; box-shadow: inset 0 1px 0 0 white;
color: #333333; text-shadow: 0 1px 0 white; position: relative; font-weight:bold; padding: 8px 1em 9px 1em; }

button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
/* IE10 */
background-image: -ms-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Mozilla Firefox */
background-image: -moz-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Opera */
background-image: -o-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Webkit (Safari/Chrome 10) */
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #DBDBDB), color-stop(1, #F2F2F2));
/* Webkit (Chrome 11+) */
background-image: -webkit-linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* Proposed W3C Markup */
background-image: linear-gradient(top, #DBDBDB 0%, #F2F2F2 100%);
/* IE6-9 */
filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#DBDBDB', endColorstr='#F2F2F2');

-moz-border-radius: 6px; -webkit-border-radius: 6px; -o-border-radius: 6px; -ms-border-radius: 6px; -khtml-border-radius: 6px; border-radius: 6px;
-moz-box-shadow: inset 0 1px 0 0 white;
-webkit-box-shadow: inset 0 1px 0 0 white;
-o-box-shadow: inset 0 1px 0 0 white;
box-shadow: inset 0 1px 0 0 white;
cursor: pointer; }

#block-search-form { padding-bottom: 7px; }

#block-search-form .content { margin-top: 0; }

#search-form input#edit-keys,
#block-search-form .form-item-search-block-form input { float: left; font-size: 1em; height: 1.143em; margin-right: 5px; width: 9em; }

#search-block-form input.form-submit,
#search-form input.form-submit { margin-left: 0; margin-right: 0; height: 25px; width: 34px; padding: 0; cursor: pointer;
text-indent: -9999px; border-color: #e4e4e4 #d2d2d2 #b4b4b4; background: url(images/search-button.png) no-repeat center top; overflow: hidden; }

#search-block-form input.form-submit:hover,
#search-block-form input.form-submit:focus,
#search-form input.form-submit:hover,
#search-form input.form-submit:focus { background-position: center bottom; }

#search-form .form-item-keys label { display: block; }

ol.search-results { padding-left: 0; }

.search-results li { border-bottom: 1px solid #d3d7d9; padding-bottom: 0.4285em; margin-bottom: 0.5em; }

.search-results li:last-child { border-bottom: none; padding-bottom: none; margin-bottom: 1em; }

.search-results .search-snippet-info { padding-left: 0; }


#footer {
	clear: both;
}

#block-subthemebs5-content {
  padding: 0 20px;
}

#block-subthemebs5-datiaziendali {
	position: relative;
  margin-bottom: 0;
	padding: 1.76% 3.52%;
	box-shadow: 0 0;
	/* [disabled]background: #383838; */
	/* [disabled]background: -moz-linear-gradient(#444, #333); */
	/* [disabled]background: -webkit-linear-gradient(#444, #333); */
	/* [disabled]background: -o-linear-gradient(#444, #333); */
	color: #006633;
	-webkit-box-shadow: 0 0;
	background-image: -webkit-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(144,189,167,1.00) 100%);
	background-image: -moz-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(144,189,167,1.00) 100%);
	background-image: -o-linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(144,189,167,1.00) 100%);
	background-image: linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(144,189,167,1.00) 100%);
}

#block-subthemebs5-datiaziendali .column {
  float:left;
  width:80.8%;
  margin:0 0 1.9% 3.8%;
}

#block-subthemebs5-datiaziendali .column:first-child {
  margin-left:0;
}

#block-subthemebs5-datiaziendali .column-title {
  color:#e0e0e0;
}

/* .dati_aziendali {
	color: #006633;
}*/

.dati1 {
	float: left;
	display: block;
	margin-left: 10px;
	margin-right: 30px;
	margin-top: 10px;
}
.dati2 {
	float: left;
	display: block;
	margin-left: 10px;
	margin-right: 30px;
	margin-top: 10px;
}
.dati3 {
	float: left;
	display: block;
	margin-left: 10px;
	margin-right: 30px;
	margin-top: 10px;
}

#footer-area li {
  border-bottom:#555 1px dashed;
}

#block-subthemebs5-copyright {
  clear:both;
  padding:0 20px;
  box-shadow:0 -1px 3px #ccc;
  background:#CCC;
  color:#000;
  line-height:40px;
}

.block-subthemebs5-copyright {
  float:left;
  max-width:728px;
}

.credits {
  float:right;
  max-width:370px;
  margin-right:12px;
  text-align:right;
}

#block-subthemebs5-copyright p {
  margin:0;
}

#block-subthemebs5-copyright a {
  color:#00008B;
  text-decoration:none;
}

#block-subthemebs5-copyright a:hover {
  color:#d54e21;
}


@media screen and (max-width: 1152px) {

  #body{
  max-width:100%;
  font-size: 80%;
  }

  #block-subthemebs5-mainmenu-2 a {
    font-size: 90%;
    /* max-width: 40%;*/
  }

  /* .content-sidebar-wrap,
  #block-subthemebs5-content {
  float:none;
  width:auto !important;
  }*/
		
	.gestprog1 img {
	margin-right: 100px;
	width: 8%;
  }

}

@media screen and (max-width: 965px) {
	
	#body{
  max-width:100%;
  font-size: 80%;
  }

  #block-subthemebs5-mainmenu-2 a {
    font-size: 80%;
    width:100%;
    
  }

    
  /*.content-sidebar-wrap,
  #block-subthemebs5-content {
  float:none;
  width:auto !important;
  }*/ 

  .gestprog1 {
	vertical-align: middle;
	width: auto;
	}

	.gestprog1 img {
	margin-right: 2px;
	width: 8%;
  }

  #sidebar-first,
  #sidebar-second,
  #head,
  #foot {
  padding:0 3.52%;
  }

  body.sidebar-second #sidebar-second {
  width: auto;
  }

  body.sidebar-first #sidebar-first {
  width: auto;
  }

  body.two-sidebars #sidebar-second {
  width: 42%;
  float:left;
  }

  body.two-sidebars #sidebar-first {
  width: 42%;
  float:left;
  }
}
.node__content img {
  width: 80%;
  height: 80%;
  
  }

@media screen and (max-width: 880px) {
  
    
  .gestprog1 {
    vertical-align: middle;
    width: auto;
    }
  
    .gestprog1 img {
    margin-right: 2px;
    width: 8%;
    }
}

@media screen and (max-width: 768px) {
  #block-subthemebs5-mainmenu-2 a {
    font-size: 80%;
    padding:3px;
    /* background-color: #333;*/
  }

  #block-subthemebs5-mainmenu-2 ul {
    display:none;
    }
    
    #block-subthemebs5-mainmenu-2 ul.sactive{
    display:block;
    }
    #block-subthemebs5-mainmenu-2 li ul {
    position:static;
    }
  
    #block-subthemebs5-mainmenu-2 li ul ul {
    margin:0 !important;
    }
  
    #block-subthemebs5-mainmenu-2 ul,
    #block-subthemebs5-mainmenu-2 li {
    float:none;
    max-width:100%;
    }
     
    #block-subthemebs5-mainmenu-2 li > a.active {
    width:100%;
    padding:0; 
    /* background:#444; */
    background:-moz-linear-gradient(#555,#333);
    background:-webkit-linear-gradient(#555,#333);
    background:-o-linear-gradient(#555,#333);
    background:-ms-linear-gradient(#555,#333);
    background:linear-gradient(#555,#333);
  }
  
    #block-subthemebs5-mainmenu-2 li li a {
    text-align:center;
    }
  
    #block-subthemebs5-mainmenu-2 li li li a {
    background:#777;
    border-top-color:#7f7f7f;
    }
  
    #block-subthemebs5-mainmenu-2 a:hover {
    background:#888;
    background:-moz-linear-gradient(#999,#777);
    background:-webkit-linear-gradient(#999,#777);
    background:-o-linear-gradient(#999,#777);
    background:-ms-linear-gradient(#999,#777);
    background:linear-gradient(#999,#777);
    }
  
    #block-subthemebs5-mainmenu-2 li:hover > ul,
    #block-subthemebs5-mainmenu-2 li li:hover > ul,
    #block-subthemebs5-mainmenu-2 li li li:hover > ul {
    display:none;
    }
  
    .drop-down-toggle {
    display:block;
    }
  
    #block-subthemebs5-mainmenu-2 li li .drop-down-toggle {
    top:5px;
    }
  
    #block-subthemebs5-mainmenu-2 .nav-toggle {
    display:block;
    font-size:15px;
    font-weight:bold;
    line-height:40px;
    } 
  .gestprog1 {
    vertical-align: middle;
    width: auto;
    }
  
    .gestprog1 img {
    margin-right: 2px;
    width: 8%;
    }}

@media screen and (max-width: 640px) {
	
	/* #body {
  max-width:100%;
  }*/

  #block-subthemebs5-mainmenu-2 a {
    font-size: 80%;
    max-width: 40%;
    padding: 3px;
  }
  table.compet {
    font-size: 60%;
    }

#node-30 {
	height: 250px;
	}	
	
  #site-title,
  #site-description {
  float:none;
  margin:0;
  line-height:1.62em;
  }


  #site-title {
  padding-top:18px;
  }

  #site-description {
  padding-bottom:18px;
  }

 #header h1#site-title {
	display: block;
	float:none;
	clear: both;
	padding: 0px;
	margin: 0px;
	line-height: 1em;
   }

 .node__content img {
    width: 90%;
    height: 90%;
  }
  
  
  #block-subthemebs5-mainmenu-2 ul {
  display:none;
  }
	
  #block-subthemebs5-mainmenu-2 ul.sactive{
  display:block;
  }
  #block-subthemebs5-mainmenu-2 li ul {
  position:static;
  }

  #block-subthemebs5-mainmenu-2 li ul ul {
  margin:0 !important;
  }

  #block-subthemebs5-mainmenu-2 ul,
  #block-subthemebs5-mainmenu-2 li {
  float:none;
  max-width:100%;
  }

  #block-subthemebs5-mainmenu-2 a {
  width:100%;
  padding:3px;
  /* background:#; */
  /* background:-moz-linear-gradient(#003300,#063);
  background:-webkit-linear-gradient(#003300,#063);
  background:-o-linear-gradient(#003300,#063);
  background:-ms-linear-gradient(#003300,#063);
  background:linear-gradient(#003300,#063); */
  /*background-color: #333;*/
  }
	
	/*#block-subthemebs5-mainmenu-2 .expandedm {
	width:100%;
  padding:0;
  background:-moz-linear-gradient(#555,#333);
  background:-webkit-linear-gradient(#555,#333);
  background:-o-linear-gradient(#555,#333);
  background:-ms-linear-gradient(#555,#333);
  background:linear-gradient(#555,#333);*/
}
	
	#block-subthemebs5-mainmenu-2 li > a.active {
  width:100%;
  padding:0; 
  /* background:#444; */
  background:-moz-linear-gradient(#555,#333);
  background:-webkit-linear-gradient(#555,#333);
  background:-o-linear-gradient(#555,#333);
  background:-ms-linear-gradient(#555,#333);
  background:linear-gradient(#555,#333);
}

  #block-subthemebs5-mainmenu-2 li li a {
  text-align:center;
  }

  #block-subthemebs5-mainmenu-2 li li li a {
  background:#777;
  border-top-color:#7f7f7f;
  }

  #block-subthemebs5-mainmenu-2 a:hover {
  background:#888;
  background:-moz-linear-gradient(#999,#777);
  background:-webkit-linear-gradient(#999,#777);
  background:-o-linear-gradient(#999,#777);
  background:-ms-linear-gradient(#999,#777);
  background:linear-gradient(#999,#777);
  }

  #block-subthemebs5-mainmenu-2 li:hover > ul,
  #block-subthemebs5-mainmenu-2 li li:hover > ul,
  #block-subthemebs5-mainmenu-2 li li li:hover > ul {
  display:none;
  }

  .drop-down-toggle {
  display:block;
  }

  #block-subthemebs5-mainmenu-2 li li .drop-down-toggle {
  top:5px;
  }

  #block-subthemebs5-mainmenu-2 .nav-toggle {
  display:block;
  font-size:15px;
  font-weight:bold;
  line-height:40px;
  } 

  .flex-control-nav li {
  margin:0 0 0 10px;
  }

  .flex-control-nav li:first-child {
  margin:0;
  }

  .flex-control-nav li a {
  box-shadow:none;
  background:rgba(255, 255, 255, 0.75);
  }

  #slider .entry-container {
  position:absolute;
  left:4%;
  bottom:6.3%;
  }

  #slider .entry-header,
  #slider .entry-summary {
  margin:0;
  }

  #slider .entry-title {
   margin-bottom: 0;
  }

  #slider .entry-title a,
  #slider .entry-summary{
  display:inline-block;
  padding:1% 3%;
  background:rgba(255, 255, 255, 0.75);
  }

  /* #slider .entry-summary {
  max-width:61.8%;
  display:none; 
  }

  #slider .entry-summary p {
  max-height:84px;
  overflow:hidden;
  display:none;
  }

  #slider .slide-image {
  float:none;
  display:block;
  max-width:100%;
  padding:0;
  margin:0;
  box-shadow:none;
  }*/

  .content-sidebar-wrap,
  #sidebar-first,
  #sidebar-second {
  float:none;
  width:auto;
  }

  .content-sidebar-wrap #block-subthemebs5-content {
	width: auto;
	float: none;
  }
.gestprog1 img {
	margin-right: 1px;
	width: 7%;
  }

	/*table.compet {
	font-size: 60%;
	}*/

.imgcurric {
	width: auto;
  height: auto;
	max-width: 100px;
}
  #sidebar-first .block,
  #sidebar-second .block,
  #footer-area .column {
  float:none;
  width:auto !important;
  margin-left:0;
  }

  #sidebar-first {
    clear:both;
  }

  #footer-area .column {
  margin:10px 0;
  }

  .block-subthemebs5-copyright,
  .credits {
  float:none;
  text-align:left;
  }

  .dati1 {
	float: left;
	display: block;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 10px;
}
.dati2 {
	float: left;
	display: block;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 10px;
}
.dati3 {
	float: left;
	display: block;
	margin-left: 0px;
	margin-right: 10px;
	margin-top: 10px;
}

.node__content img {
  /* width: 80%;
  height: 80%; */
  
  }

  @media screen and (max-width: 440px) {
	  
body {
  max-width:100%;
  }	
	  
#node-30 {
	height: 220px;
	}	
  
  .content-sidebar-wrap,
  #sidebar-first,
  #sidebar-second {
  float:none;
  width:auto;
  }

  .content-sidebar-wrap #block-subthemebs5-content {
	width: auto;
	float: none;
  }

	.gestprog1 {
	vertical-align: middle;
	height: auto;
	width: auto;
	}
  .gestprog1 img {
	margin-right: 1px;
	width: 20%;
  }
	
 .imgcurric {
	width: auto;
	max-width: 86px;
}
body.two-sidebars #sidebar-second {
    width: auto;
  float:none;
}

body.two-sidebars #sidebar-first {
    width: auto;
  float:none;
}

table.compet {
	font-size: 60%;
	}

/*.node__content img {
    width: 80%;
    height: 80%;
 }*/



    input.form-text, select.form-select {
      width: 93%;
    }
    textarea.form-textarea {
      width: 100%
    }
  }

/** SPECIAL CLASSES FOR OVERRIDING CORE THEMES **/
#user-login-form {
	color:#000;
}

.marker, .form-required {
 color:#8B0000;
}
