/*  
Theme Name: Mida solutions
Theme URI: http://www.midasolutions.com/
Description: Mida theme
Author: Marco Longhin
Author URI: http://www.operaincerta.com/
Version: 1.0
Tags: green mida
*/

/* Defaults */

* {
  margin: 0;
  padding: 0;
  }
:focus {
  outline:0;
  }
h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 10px 0 2px;
  }

h1, h2, h3, h4, h5, h6 {
  font-family: Verdana;
  }

hr {
  color: #333;
  border: 1px solid #121212;
  }

pre {
  height: auto; 
  overflow-x:scroll;
  }

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

dd {
  padding-left: 15px;
  }


p {
  font-size: 9pt;
  }

a {
  color: #6598b8;
  text-decoration: none;
  }

a:hover {
  color: #222;
  text-decoration: underline;
  }

a img {
  border: none;  
}


input[type=text], input[type=password], textarea{
	font-size:1.0em; 
	border:1px solid #aaa;
	color:#555;
	padding:2px;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus{
	border:1px solid #000;
	color:#000;}

input[type=button], input[type=submit]{
	font-size:1em; 
	border:1px solid #aaa;
	color:#555;
	padding:1px 6px 1px 6px;
	cursor:pointer;
	font-weight:bold;
	background:#ddd;
}

input[button]:hover, input[submit]:hover{
	border:1px solid #444;
}


blockquote {
  background: #070707;
  border: 1px solid #060606;
  padding: 5px 15px;
  margin: 10px 10px 5px 15px;
  font-style: italic;
  color: #fff;
}

code {
  color: #3366cc;
  font-style: italic;
}

strong {}

body {
  margin: 0;
  padding: 0 0 15px 0;
  font-family: trebuchet ms, arial, helvetica, sans-serif;
  background: #b1b1b1 url(images/bgbody.png) repeat-x;
  font-size:11px;
  color:#222;
}

.greenMessage{font-weight:bold;color:#c9d316}
.redMessage{font-weight:bold;color:#dd0000}
/********************* Header and wrapper ********************/
#topBar{
  margin:0 auto;
  width: 940px;
}

#topBar ul.reserved{
	float:right;
	list-style: none;
	margin:0px;
	paffing:0px;
}

#topBar ul.reserved li{
	float:left;
	list-style: none;
	margin:0 0 0 0;
	padding:0px;
	width:80px;
	height:22px;
	
	text-align:center;
}
#topBar ul.reserved li {} html>body #topBar ul.reserved li {background: url(images/topButton.png) 0px -5px no-repeat;}

#topBar ul.reserved li a{color:#000;}
#topBar ul.reserved li a:hover{font-weight:bold;text-decoration:none;}

#topBar ul.language{
	float:left;
	list-style: none;
	margin:0 0 0 2px;
	paffing:0px;
}

#topBar ul.language li{
	float:left;
	list-style: none;
	margin:0 4px 0 0;
	padding:0px;
	width:30px;
	height:22px;
	cursor:pointer;
}
#topBar ul.language li.italian_on{background: url(images/flag/it_on.png) no-repeat;}
#topBar ul.language li.english_on{background: url(images/flag/en_on.png) no-repeat;}
#topBar ul.language li.italian_off{background: url(images/flag/it_off.png) no-repeat;}
#topBar ul.language li.english_off{background: url(images/flag/en_off.png) no-repeat;}

#wrapperTop {
  margin:0 auto;
  width: 956px;
  padding: 0;
  height:12px;
}
#wrapperBottom {
  margin:0 auto 4px;
  width: 956px;
  padding: 0;
  height:20px;
}
#wrapper {
  margin:0 auto;
  width: 930px;
  text-align: left;
  padding: 0;
  padding: 0 12px 0 14px;
  color:#444;
  overflow:hidden;
}

#wrapperBottom {background: url(images/bodyCenter.gif) repeat-y;} html>body #wrapperBottom {background: url(images/bodyBottom.png) no-repeat;}
#wrapperTop {background: url(images/bodyCenter.gif) repeat-y;} html>body #wrapperTop {background: url(images/bodyTop.png) 0px -4px no-repeat;}
#wrapper {background: url(images/bodyCenter.gif) repeat-y;} html>body #wrapper {background: url(images/bodyCenter.png) repeat-y;}


#header {
  padding: 0;
  margin: 0 2px 0 0;
  height: 80px;
}

#header #logo{
	float:right;
	width:140px;
	height:70px;
	background:#fff url(images/logo.png) no-repeat;
}

#header #menu{}

/* ----[ LINKS ]----*/

/* all menu links */
#header #menu #nav a, #subMenusContainer a{
	font-size:110%;
	font-weight:bold;
	color:#777;
	padding:8px 20px;
	display:block;
}

/* Just main menu links --[for non-javascript users this applies to submenu links as well]*/
#header #menu #nav a{
	margin:0;
	float:left;	
}

/* Just sub menu links */
#subMenusContainer a, #header #menu #nav li li a{
	text-align:left;
}

/* All menu links on hover or focus */
#header #menu #nav a:hover, #header #menu #nav a:focus, #subMenusContainer a:hover, #subMenusContainer a:focus, #header #menu #nav a.mainMenuParentBtnFocused, #subMenusContainer a.subMenuParentBtnFocused{
	background: #fff url(images/menuHoverBG.png) repeat-x;
}

/* sub menu links on hover or focus */
#subMenusContainer a:hover, 
#subMenusContainer a:focus, 
#header #menu #nav a.mainMenuParentBtnFocused, 
#subMenusContainer a.subMenuParentBtnFocused,
#header #menu #nav li a:hover,
#header #menu #nav li a:focus{
	background: #fff url(images/menuHoverBG.png) repeat-x;
	color:#000;
	text-decoration:none;
}

/* Parent Sub Menu Links ---[javascript users only]*/
.subMenuParentBtn{ 
	background: url(../img/arrow_right.gif) right center no-repeat;  
}

/* Parent Sub Menu Links on hover or focus ---[javascript users only]*/
.subMenuParentBtnFocused{ 
	background: url(../img/arrow_right_over.gif) right center no-repeat;  
}

/* Parent Main Menu Links ---[javascript users only]*/
.mainMenuParentBtn{	
	 background: url(../img/arrow_down.gif) right center no-repeat; 
}

/* Parent Main Menu Links on hover or focus ---[javascript users only]*/
.mainMenuParentBtnFocused{	
	background: url(../img/arrow_down_over.gif) right center no-repeat; 
}

/* ----[ OLs ULs, LIs, and DIVs ]----*/

/* Submenu Outer Wrapper - each submenu is inside a div with this class - javascript users only */
.smOW{ 
	display:none; 
	position: absolute; 
	overflow:hidden; 
	/*the 2px left & right padding lets you have a 1px border 
	  on the ul or ol inside since overflow is set to hidden*/
	padding:0 2px;
	margin:0 0 0 -2px;
}


/* All ULs and OLs */
#header #menu #nav, #header #menu #nav ul, #header #menu #nav ol, #subMenusContainer ul, #subMenusContainer ol { 
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1em;
}

/* All submenu OLs and ULs */
#header #menu #nav ol, #header #menu #nav ul, #subMenusContainer ul, #subMenusContainer ol {	
	/*border around submenu goes here*/	 
	background:#e7e7e7;
	border-right:1px solid #ccc;
	border-bottom:1px solid #aaa;	
	left:0;
}


/* List items in main menu --[for non-javascript users this applies to submenus as well]  */
#header #menu #nav li { 
	/*great place to use a background image as a divider*/
	display:block;
	list-style:none;
	position:relative;
	float:left;
}

#subMenusContainer li{
	list-style: none;
}

/* main menu ul or ol elment */
#header #menu #nav{
	display:block;
	position: absolute;
	list-style:none;
	margin:0 0 0 0;
	z-index:5;
	top:60px;
	left:50%;
	width:780px;
	margin-left:-464px;
	text-align: center;
	display:block;
	background:#e7e7e7 url(images/menuEnd.png) right repeat-y;
}

#subMenusContainer{	display:block; 	position:absolute;	top:0;	left:0;	width:100%;	height:0;	overflow:visible;	z-index:1000000000; }


/* --------------------------[ The below is just for non-javscript users ]--------------------------*/
#header #menu #nav li li{	float:none; }

#header #menu #nav li li a{ /* Just submenu links*/	
	position:relative;
	float:none;
}

#header #menu #nav li ul { /* second-level lists */
	position: absolute;
	width: 10em;
	margin-left: -1000em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
	margin-top:2.2em;
}

/* third-and-above-level lists */
#header #menu #nav li ul ul { margin: -1em 0 0 -1000em; }
#header #menu #nav li:hover ul ul {	margin-left: -1000em; }

 /* lists nested under hovered list items */
#header #menu #nav li:hover ul{	margin-left: 0; }
#header #menu #nav li li:hover ul {	margin-left: 10em; margin-top:-2.5em;}

/* extra positioning rules for limited noscript keyboard accessibility */
#header #menu #nav li a:focus + ul {  margin-left: 0; margin-top:2.2em; }
#header #menu #nav li li a:focus + ul { left:0; margin-left: 1010em; margin-top:-2.2em;}
#header #menu #nav li li a:focus {left:0;  margin-left:1000em; width:10em;  margin-top:0;}
#header #menu #nav li li li a:focus {left:0; margin-left: 2010em; width: 10em;  margin-top:-1em;}
#header #menu #nav li:hover a:focus{ margin-left: 0; }
#header #menu #nav li li:hover a:focus + ul { margin-left: 10em; }

/******************* Content *************************/

#main {
  margin: 5px 0 0 0 ;
  clear: both;
  padding-bottom: 5px;
}

#contentwrapper {
  float:left;
  width: 629px;
  margin: 0 0 12px 12px;
  padding: 0;
  }
#contentwrapper2 {
  float:left;
  width: 900px;  margin: 0 0 15px 0;
  padding: 0;
  }
#contentwrapper .pageTitle, #contentwrapper2 .pageTitle {
  margin: 15px 0 10px 0;
  font-size: 14pt;
  letter-spacing: -1px;
  font-weight: normal;
  background: url(images/bg-trans.png) repeat;
  padding: 5px;
  }
.topPost {
  margin: 0;
  padding: 0;
  font-size: 9pt;
  }
.topPost h2{
  font-size: 15pt;
  font-weight: normal;
  letter-spacing: -2px;
}
.topPost h2.topTitle a:hover {
  text-decoration: none;
  }
.topPost p.topMeta {
  padding: 0;
  margin:0;
  font-size: 9pt;
  }
.topPost p.topMeta a {
  text-decoration: underline;
  }
.topPost p.topMeta a:hover {
  }
.topPost div.topContent {
  font-size: 9pt;
  margin: 8px 0;
  }
.topPost div.topContent a {
  text-decoration: underline;
  }
.topPost div.topContent a:hover {
  text-decoration: underline;
  }

.topPost div.topContent ul, .topPost div.topContent ol {
  padding: 0 0 0 30px;
  }
.topPost div.topContent ul li, .topPost div.topContent ol li {
  }
.topPost span.topComments, .topPost span.topMore, .topPost span.topTags {
  font-size: 9pt;
  font-style: italic;
  background: url(images/bg-trans.png) repeat;
  margin-right: 5px;
  }
.topPost span.linkpages {
  font-size: 9pt;
  font-style: italic;
  color: #fff;
  margin-bottom: 10px; display:block;
  }
.topPost span.linkpages a:hover {
  }
.topPost span.topComments:hover, .topPost span.topMore:hover, .topPost span.topTags:hover {}
.topPost span.topComments a {
  background: url(images/comments.gif) left no-repeat;
  padding-left: 20px;
  vertical-align: middle;
  }
.topPost span.topMore a {
  background: url(images/more.gif) left no-repeat;
  vertical-align: middle;
  }
.topPost span.topTags em {
  background: url(images/tags.gif) left no-repeat;
  padding-left: 20px;
  line-height: 27pt;
  vertical-align: middle;
  color: #0a0a0a;
  }
.topPost span.topTags a {
  line-height: 27pt;
  vertical-align: middle;
  }
.topPost span.topComments a:hover, .topPost span.topMore a:hover, .topPost span.topTags a:hover {
  text-decoration: underline;
  }

#nextprevious {
  margin: 10px 0 5px 0;
  text-align:center;
}

/* Comments */

#comments {
  margin-bottom: 10px;
  margin-top: 15px;
  background: #040404;
  width: 530px; /* fixes bug in IE7 where putting focus on the text makes it disappear behind the background. yeah, weird. they call it a dimensional bug. */
  border: 1px solid #090909;
  padding: 0px 15px 10px 15px;
  color: #fff;
  }
#comments h3 {
  font-size: 10pt;
  font-weight: normal;
  color: #fff;
  margin: 15px 0;
  padding: 0;
  }
#comments p a {
  color: #6598b8;
  }
#comments p a:hover {
  color: #fff;
  }
#comments p {
  padding:0;
  margin: 7px 0;
  }
ul.commentlist, ul.trackback  {
  list-style-type: none;
  margin: 10px 0;
  font-size: 9pt;
  }
.commentlist li, .trackback li {
  margin: 10px 0 15px 0;
  padding: 10px;
  background: #080808;
  border: 1px solid #040404;
  list-style-type: none;
  }
.commentlist li.alt {
  background: #000;
  border: 1px solid #020202;
  border: none;
  margin-top:10px;
  }
.commentlist li.cleared {
  background: transparent;
  border: none;
  }
.commentlist a:hover {
  color: #eee;
  }
.commentlist a.gravatar {
  float: left;
  margin: 0 15px 10px 0;
  width: 60px;
  }
.commentlist .commentbody {
  margin: 0;
  padding: 0;
  }
.commentlist .commentbody p a {
  text-decoration: underline;
  }
.commentlist cite {
  font-size: 10pt;
  font-style: normal;
  color: #ddd;
  }
.commentlist small.commentmetadata a {
  color: #666;
  }
.commentlist p {
  color: #dedede;
  }
#respond {
  clear: both;
  margin-top: 15px;
  }
textarea#comment {
  width: 450px;
  background: #fff;
  color: #111;
  padding: 10px;
  }
#comments #submit {
  margin: 0;
  }
#extrastuff a {color:#222; font-size:0.8em;}
#extrastuff a:hover {color:#6598b8; text-decoration:none;}
#extrastuff #rssright {float:right;}
#extrastuff #trackright {float:right; width:180px; text-align:right;}


/* Sidebars */
#sidebars {
  margin: 60px 10px 0 0;
  float: right;
  width: 258px;
  color: #444;
  }
#sidebars .sidebarbox {
  background: url(images/bg-trans.png) repeat;
  padding: 8px 15px;
  }

#sidebar_full {
  padding: 0;
  margin: 0;
  }

#sidebar_left {
  float: left;
  width: 160px;
  }

#sidebar_right {
  float: right;
  width: 160px;
  }

#sidebars h2 {
	background:url(images/homeTitleBG.png) repeat-x;
	font-size:1em;
	padding:4px;
	color:#333;
  }

#sidebars table {
  width: 130px;
  }

#sidebars ul {
  margin: 0;
  padding: 0 0 5px 0;
  }

#sidebars li {
  margin-bottom: 2px;
  list-style: none;
  font-size: 9pt;
  padding-left:4px;
  }

#sidebars li ul {
  padding: 0;
  }

#sidebars ul ul li {
  margin: 0;
  padding: 2px 2px 2px 16px;
  background: url(images/bullet.gif) left 8px no-repeat;
  line-height: 17px; /* Required for cross-browser consistency; cross-browser defaults vary. */
  }

#sidebars a {
  display: inline;
  }
#sidebars a:hover {
  color: #6598b8;
  text-decoration: underline;
  }

#sidebars p {
  padding: 2px 0;
  font-size: 9pt;
  }

#tag_cloud a {
  display: inline;
  }

#sidebars ul.children li {border-bottom:none;}
#sidebars ul.children {margin-bottom:0;}


/* footer*/
#footer {
  clear: both;
  font-size:1em;
  color:#fff;
  text-align:center;
}

#footer a {
  color: #555;
  text-decoration:underline;
}
#footer a:hover {
  color: #000;
}


/* Misc */

.highlight {
  color: #222;
  font-weight: bold;
  }

.cleared {
  margin: 0;
  padding: 0;
  clear: both;
  }

.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
.aligncenter,
div.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

img.alignleft {
  float: left;
  margin: 5px 10px 5px 0;
  }
img.alignright {
  float: right;
  margin: 5px 0 5px 10px;
  }
img.aligncenter {
  margin: 10px auto;
  text-align: center;
  display: block;
  }

.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;

  padding-top: 4px;

  /* optional rounded corners for browsers that support it */

  -moz-border-radius: 3px;

  -khtml-border-radius: 3px;

  -webkit-border-radius: 3px;
  border-radius: 3px;
  }

.wp-caption img {
  margin: 0;
  padding: 0;
  border: none;
  }

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
  color: #111;
  }


/************************************* Home *******************************/
#homeBanner{
	height:280px;
	margin:0;
	position:relative;
}

#homeBannerBox{
	position:absolute;
	z-index:50;
	top:120px;
	left:50%;
	margin-left:-464px;
	width:280px;
	height:280px;
	overflow:hidden;
}

#homeBannerBox .bannerHandler img{
	width:44px;
}

#homeBannerBoxContainerBack, 
#homeBannerBoxContainerFront{
	display:none;
	position:absolute;
	width:200px;
	height:150px;
	top:40px;
	left:24px;
	padding:4px;
	overflow:auto;
	padding-top:40px;
  	font-size:14px;
  	overflow:hidden;
}
#homeBannerBoxContainerBack{
	z-index:41;
	background:#fff;
	filter:alpha(opacity=80);
	-moz-opacity:.8;
	opacity:.8;
	-moz-border-radius-bottomleft:10px;
	-webkit-border-bottom-left-radius:10px;
	-moz-border-radius-bottomright:10px;
	-webkit-border-bottom-right-radius:10px;
	border:2px solid #888;
}
#homeBannerBoxContainerFront{
	z-index:42;
	color:#000;
}

.homeBox1, .homeBox2{
	overflow:hidden;
}
.homeBox1{float:right;margin:14px 14px 0 0;width:290px;height:360px;}
.homeBox1Small{float:left;margin:14px 0 0 14px;width:290px;height:146px;}
.homeBox2{float:left;margin:14px 0 0 14px;width:594px;height:192px;}

#homeContainer h2{
	background:url(images/homeTitleBG.png) repeat-x;
	font-size:1em;
	padding:4px;
	color:#333;
}

#homeSolutionsBoxLeft{
	float:left;
	width:200px;
}

#homeSolutionsBoxLeft h2{
	background:#eeeeee;
	font-size:1.2em;
	padding:3px 4px 3px;
	color:#333;
	cursor:pointer;
	font-weight:bold;
	text-align:right;
	border:1px solid #eee;
}
#homeSolutionsBoxLeft h2:hover{
	background:#dddddd;
}
#homeSolutionsBoxLeft h2.active{
	background:url(images/homeSolutionsBGactive.png) repeat-x;
	border:1px outset #eee;
}
#homeSolutionsBoxRight{
	margin-left:214px;
	width:376px;
	height:190px;
	overflow:hidden;
}
#homeSolutionsBoxRight .homeSolutionsBoxContent{
	height:190px;
	overflow:auto;
}
#homeNewsBox{}
#homeNewsBox h1{
	margin:8px 0 0 0;
	padding:0px;
	font-size:1.4em;
}
#homeNewsBox h1 a{color:#222}
#homeNewsBox small{text-align:right;display:block;}
#homeNewsBox .entry p{padding:0;margin:4px 0 0 0;}

.partnerList{
	margin:20px;
}
.partnerList img{
	width:170px;
	float:left;
	margin:10px;
	border:1px solid #fff;
}
/********************************************************************************************************/

.pageBanner{
	height:180px;
	background:#eee;
	overflow:hidden;
	width:929px;
	position:relative;
}

.pageBanner h1{font-weight:normal;}

.attachments li{margin:6px 0;}
.attachments a{
	display:block;
	padding:2px 4px;
}
.attachments a:hover{
	background:#f5f5f5;
}
