/*  
Theme Name: StudioPrimoPiano
Theme URI: http://danixland.net/pfolio
Description: This is an adaptation of Pat Heard's work at http://fullahead.org/
Version: 0.1
Author: Danilo 'danix' Macrì
Author URI: http://danixland.net

*/

html {
  height: 100%;
}

body {
  height: 100%;
  min-height:100%;
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: center;

  font: 400 0.8em verdana, arial, sans-serif;
  line-height: 170%;

  background: #666 url(images/bg/header.jpg) repeat-x top left;
  color: #EEE;
}

h1 {   
  clear: both;
  font: 700 2.5em "trebuchet ms", serif;
  color: #FFF;
}

h2 {
  font: 400 1.5em "trebuchet ms", serif;
  color: #9FF3FF;
}

h2 a {
  color: #29E3FF;
}

h2 a:hover {
  color: #FFF;
}

h3 {
  font: 400 1.3em "trebuchet ms", serif;
  color: #7EF868;
}

h4 {
  font: 700 1.2em "trebuchet ms", serif;
  color: #4EF301;
}

h5 {
  font: 700 1.1em "trebuchet ms", serif;
  color: #00C000;
}

h6 {
  font: 700 1em "trebuchet ms", serif;
  color: #61FF31;
}


h1, h2, h3, h4, h5, h6, p, dl {
  margin: 0;
  padding: 10px 15px;
}

/* Done so the leftmost column aligns properly with the header.
   If the leftmost column has class gradient applied to it, 
   this class isn't required. */
.leftColumn h1,
.leftColumn h2, 
.leftColumn h3,
.leftColumn h4,
.leftColumn h5,
.leftColumn h6,
.leftColumn p,
.leftColumn dl {
  padding-left: 0;
}



/**************************************************************
   Images
 **************************************************************/

img.floatRight {
  margin: 5px 0px 10px 15px;  
}

img.floatLeft {
  margin: 5px 15px 10px 0px;
}

a img {  
  border: 2px solid #8BE6FA;
}

a:hover img {  
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 2px solid #FFF !important;
  border: 2px solid #8BE6FA;
}

img.avatar {
 float:right;
 margin: 5px 0px 10px 15px;
 padding:0;
}



a {
  color: #8BE6FA;
}

/* Uncomment this if you would like a visited link style 
a:visited {
  text-decoration: line-through;
} */

a:hover {
  color: #FFF;
}

strong, b {
  color: #FFF;
}

ol, ul {
  margin: 10px 30px;
  padding: 0 30px;
}

ol {
  color: #FC0;
}

ol span {
  color: #EEE;
}

ul {
  list-style-image: url(images/bg/bullet.gif);
}

del {
  color: #AAA;
}

code {
  margin: 10px 15px;
  padding: 10px;
  display: block;
  overflow: auto;
  
  font: 400 1em courier, monospace;
  line-height: 120%;
  white-space: pre;
  
  background: #444;
}

.leftColumn code {
  margin-left: 0;
}

acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}

dt {
  font-weight: bold;
  color: #FFB323;
}

dd {
  margin-left: 0;
  padding-left: 45px; 
}

#content {
  margin:0;
  padding:0;
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "98%");  
  max-width: 1000px;
  margin: 0 auto;
}

#content[id],
#width[id] {
  width: 98%;
  height: auto;
}

/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#header {
  position: relative;
  height: 193px;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 130px;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;

  font: 700 4em "trebuchet ms", serif;
  letter-spacing: -3px;
  color: #FFF;
}

#header h1 a, #header h1 a:hover, #header h1 a:active {
  color:#fff;
  text-decoration:none;
}

#header h2 {
  position: absolute;
  top: 10px;
  right: 25px;

  margin: 0;
  padding: 0;

  font: 700 1em "trebuchet ms", serif;
  color: #00F0EC;
}


/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 0;

  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 0;
}

#header img.balloons {
  position: absolute;
  z-index: 2;

  top: 0;
  right: 400px;
}

#header div#random_headers.right {
  position: absolute;
  z-index: 0;

  top: 0;
  right: 0;
}


/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 100%;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;

  font: 400 1.6em "trebuchet ms", serif;
  text-decoration: none;
  color: #FFF;
}

#mainMenu li a:hover,
#mainMenu li.current_page_item a {
  color: #65EBFF;
/*  border-top: 5px solid #000;*/
  background: url(images/bg/menu_tab_dark.gif) top center no-repeat;
}

#mainMenu li a.last {
  margin-right: 0;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/

#page {
  float: left;
  width: 100%;
  clear: both;
  
  padding-bottom: 4em;
}


/**************************************************************
   *clearer: Empty content to let the text not be eaten by
    images.
 **************************************************************/

.clearer {
  clear:both;
}


/**************************************************************
   #sidebar: the left sidebar
 **************************************************************/

#sidebar_bottom table {
  width:100%;
}
#sidebar_bottom .ngg_slideshow {
  margin:0 auto;
}

/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/

#footer {
  float: left;
  width: 100%;
  clear: both;
  
  margin-top: -3.8em;
  background: #000 url(images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}



/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 73%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}



/**************************************************************
   Alignment classes
 **************************************************************/

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

.alignCenter {
  text-align:center;
}


/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/

ul.sideMenu {
  margin: 0;
  padding: 0;
}

.sideMenu li {
  display: inline;
  
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
  font: 400 1.3em "trebuchet ms", serif;
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;
  padding: 3px 5px;    
  
  text-decoration: none;
  color: #FFF;
} 

.sideMenu li a:hover {
  color: #65EBFF;
  background: #5F5F5F;
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  color: #65EBFF;
  background: #555;
}

/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.here ul li {
  text-align:center;
}

.sideMenu li.here ul li a {
  padding-left: 35px;
  font: 400 0.55em verdana, arial, sans-serif; 
  color: #FFF;  
  background: url(images/bg/bullet.gif) no-repeat 10px 0px;
}

.sideMenu li.here ul li a:hover {
  color: #9FF3FF;
  background: #5F5F5F url(images/bg/bullet.gif) no-repeat 10px 0px;
}


/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin:0; padding:0;
  margin-bottom: 2em;
  background: #555 url(images/bg/gradient.jpg) repeat-x bottom left; 
}

#breadcrumb {
  text-align:left;
  margin:0; padding:0;
  position:absolute;
  top:150px;
  right:15px;
  font-weight:bold;
  font-style:italic;
  color:#008000;
}

#breadcrumb a {
  text-decoration:none;
}

#breadcrumb a:hover {
  text-decoration:underline;
}

/* searchbox */

.widget_search {
  margin:0; padding:0;
  }


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

label {
  display: block;
}

input,
textarea,
select {
  padding: 2px;
  font: 400 1em verdana, sans-serif;
  color: #444;
  background: #EEE;
  border: 1px solid #444;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
  color: #000;
  background: #E4F7FA;
  border: 1px solid #00DFFF;
}

input.button {
  padding: 2px 5px;

  font: 400 1.1em "trebuchet ms", serif;

  color: #555;
  background: #9FF3FF;
  border-width: 1px;
  border-style: solid;
  border-color: #FFF #00DFFF #00DFFF #FFF;
}

form#contacts input,
form#contacts textarea,
form#contacts select {
  width:95%;
}

form#contacts input.button, form#contacts input#privacy {
  width:inherit;
}


/**************************************************************
   Blockquote and included icons
 **************************************************************/

blockquote {
  margin: 10px 15px;
  padding-left: 27px;
  
  background-color: #444;  
  background-image: url(images/icons/quote.gif);
  background-repeat: no-repeat;
  background-position: 5px 50%;  
}

blockquote.exclamation {
  background-image: url(images/icons/exclamation.gif);
}

blockquote.stop {
  background-image: url(images/icons/stop.gif);
}

blockquote.go {
  background-image: url(images/icons/go.gif);
}


/* sezione dei commenti */

ul.commentlist li {
 background: #555 url(images/bg/gradient.jpg) repeat-x bottom left;
 margin:1em 0;
 padding:0.3em;
 font-size:0.85em;
 text-align:justify;
 min-height:70px;
}

ul.commentlist li blockquote {
 max-width:80%;
}

#commentform input#author, #commentform input#url, #commentform input#email {
 width:100%;
}

/*
#commentform input#author:hover, #commentform input#url:hover, #commentform input#email:hover, #commentform textarea:hover, #commentform input#author:focus, #commentform input#url:focus, #commentform input#email:focus, #commentform textarea:focus {
 border-color:blue;
 background-color:#E1ECF9;
}
*/

#commentform textarea {
 width:98%;
 padding:0.4em;
}

/* css per la mappa della calabria */
#calabriamap {
  margin:5px auto;
  width:163px;
  height:260px;
  background:url(images/calmap2.jpg) no-repeat;
  position:relative;
  }

#calmenu a {
  text-decoration:none;
  position:absolute;
  }

#calmenu a span {
  visibility:hidden;
  }

a#cs {
  height:128px;
  width:117px;
  left:17px;
  top:2px;
  }

a#kr {
  height:68px;
  width:57px;
  left:91px;
  top:78px;
  }

a#cz {
  height:82px;
  width:75px;
  left:47px;
  top:112px;
  }

a#vv {
  height:49px;
  width:52px;
  left:26px;
  top:150px;
  }

a#rc {
  height:79px;
  width:90px;
  left:6px;
  top:177px;
  }

a#cs:hover, a#kr:hover, a#cz:hover, a#vv:hover, a#rc:hover {
  border:1px solid #73aeff;
  }

a#cs, a#kr, a#cz, a#vv, a#rc {
  margin:0;
  padding:0;
  }


.evidente {
  background-color:#FF4B33;
}


/**************************************************************
   nggallery
 **************************************************************/

.ngg-galleryoverview {
  padding: 0;
  margin: 10px auto;
  width: 100%;
  clear:both; 
  display:block !important;
}

.ngg-gallery-thumbnail-box {
  float: left;
}

.ngg-gallery-thumbnail {
  float: left; 
  margin: 10px 0 0 10px !important;
}

.ngg-gallery-thumbnail img {
  margin: -6px 6px 6px -6px;
  border:2px solid #555;
  display:block; 
  padding:4px;
  position:relative;
}
/*.ngg-gallery-thumbnail a img, .ngg-gallery-thumbnail a:hover img, .ngg-gallery-thumbnail img:hover {
	border:none;
}*/
.ngg-clear {
  clear: both;
}

/* ----------- NGG Sidebar widget -------------*/

.ngg-widget,
.ngg-widget-slideshow {
  text-align:center;
  overflow: hidden;
  margin:0 auto;
  padding:5px auto;
}

.ngg-widget img {
  border:2px solid #A9A9A9;
  margin:0pt auto; 
  padding:1px; 
}

/**************************************************************
   wp-shopping-cart
 **************************************************************/

.wp_cart_button, .wp_cart_button:hover, .wp_cart_button:active,
.wp_cart_checkout_button, .wp_cart_checkout_button:hover, .wp_cart_checkout_button:active {
  border:none;
  background:none;
}






