/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

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

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

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

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

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

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */


/**
 * Primary styles
 *
 * Author: Marco Melluso
 */
body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #FFF;
  /* Set your base font here, to apply evenly */
  font-family: 'QuicksandBook', Arial, sans-serif;
}

body {
  padding-top: 62px;
  font-size: 100%;
}
#homeBG{
  background: url("../img/background.jpg") 0 0 no-repeat;
}
#beachBG{
  background: url("../img/bg_beach.jpg") 0 0 no-repeat;
}
#contattiBG{
  background: url("../img/bg_contatti_bn.jpg") 0 0 no-repeat;
}
#videoBG{
  background: url("../img/bg_video_bn.jpg") 0 0 no-repeat;
}
#fotoBG{
  background: url("../img/bg_foto_bn.jpg") 0 0 no-repeat;
}
#eventiBG{
  background: url("../img/bg_eventi_bn.jpg") 0 0 no-repeat;
}
/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { font-weight: bold; }
h1{  text-transform: uppercase; }
h2{  margin: 0; }

a, a:active, a:visited { color: #FFF; }
a:hover { color: #000; }

#container{margin: 0 auto; width: 920px; position: relative;}
.clear{clear: both;}


header{width: 520; height: 84px; padding:0 51px 0 200px; background: url(../img/bg_main.png) 0 0 repeat; }
#logo{display: block; background: url("../img/logo.gif") 0 0 no-repeat; width: 131px; height: 147px; position: absolute; top: -1px; left: 0; padding-right: 15px; z-index: 2;}
#years{display: block; background: url("../img/10years.png") 0 0 no-repeat; width: 78px; height: 85px; position: absolute; top: -32px; left: -32px; padding-right: 15px; z-index: 3;}
#home{display: block; width: 146px; height: 167px; position: relative; margin: -25px 0 0 51px; float: left;}
#night{
	background-color: #000; 
	display: none;
	text-decoration: line-through; 
	position: absolute; 
	top: 127px; 
	left: 0px;
	z-index: 1;
	color: #FFF;
}

nav {width: 669px}
nav ul { width: 100%; text-align: center; text-transform: uppercase; height: 84px;}
nav li { display: block; height: 49px; float: left; width: 20%;}
nav li a { text-decoration: none; color: #FFF; padding: 35px 0 30px; width: 100%; display: block}

nav li a:hover { background-color: #FFF; color: #000;}
nav li.last { margin-right: 0;}



#main{/* width: 818px; height: 548px; */ margin: 92px 0 50px;}
#slide{height: 471px; overflow: hidden; position: relative; background: url(../img/bg_main.png) 0 0 repeat;}
#main #motto{/* padding-left:146px; */ font-size: 700%; text-transform: uppercase; position: absolute; top: 30px; left: 0;}
#main #pres_night{font-size: 100%; display: none; padding: 51px; text-align: justify;}
#main #pres_day{font-size: 100%; text-align: justify;}

#night_title{float: left; background: #000; color: #FFF; position: absolute; left: 0; top: 0; padding: 5px}
#day_title{float: right; background: #FFF; color: #000; opacity: 0.3; position: absolute; right: 0; top: 0; padding: 5px}
#night_title:hover{opacity: 1; cursor: pointer;}
#day_title:hover{opacity: 1; cursor: pointer;}

#beach{width: 818px; height: 414px; padding: 51px; background: url(../img/bg_main.png) 0 0 repeat; position: relative; overflow: hidden;}
#beach #center_foto{margin: 0 29px;}

#photo_gallery{width: 818px; height: 414px; padding: 51px; background: url(../img/bg_main.png) 0 0 repeat; position: relative; overflow: hidden;}
#photo_gallery #album{width: 818px; height: 414px; overflow: hidden;}
#photo_gallery div#foto_n{
    margin: 0;
    width: 869px;
    display: block;}
#photo_gallery div#foto_d{
    margin: 0;
    width: 869px;
    display: none;}
#photo_gallery a{width: 130px; height: 130px; display: block; margin-right: 8px; margin-bottom: 8px; float: left;}
#photo_gallery a span{width: 17px; height: 17px; display: block; float: left;}
#photo_gallery img{vertical-align: middle; clear: both;}

.arrows{position: absolute; bottom: 0; left: 50%; margin-left: -55px}
div.up{background: url(../img/arrows.gif) 0 0 no-repeat; width: 39px; height: 39px; display: block; margin-right: 35px; float: left; margin-bottom: 0}
div.down{background: url(../img/arrows.gif) -39px -39px no-repeat; width: 39px; height: 39px; display: block; float: left; opacity: 0.1; margin-bottom: 0}
#arrows_d{display: none;}


#video_gallery{width: 818px; padding: 51px; background: url(../img/bg_main.png) 0 0 repeat; position: relative; text-align: center; height: 360px; overflow: hidden;}
#video_gallery iframe{margin: 0 auto 60px;}


#contatti{width: 818px; padding: 51px; background: url(../img/bg_main.png) 0 0 repeat; position: relative; font-size: 80%;}
#col_first{float: left; width: 45%;}
#col_second{float: right; width: 45%;}


#eventi{width: 920px; position: relative; font-size: 80%; margin-bottom: 50px; min-height: 348px;}
#eventi h1{ font-size: 370%; text-transform: none; font-family: 'WoodenNickelBlackRegular'}
#eventi h2{color: #F00; font-size: 450%; font-family: 'QuigleyWigglyRegular';}
#eventi a {width: 117px; height: 117px; text-align: center; padding-top: 9px; margin-top: 81px; display: block; text-decoration: none;}
#eventi a:hover {color: #FFF; margin-top: 71px;}
#eventi a#djset {float: left; background: url(../img/bg_djset.png) 0 0 no-repeat; padding-top: 9px; margin-left: 280px;}
#eventi a#se {float: right; background: url(../img/bg_se.png) 0 0 no-repeat; padding-top: 80px; margin-right: 280px;}

#eventi div#start {margin: 0 auto; width: 117px; height: 117px; text-align: center; margin-top: 0; background: url(../img/bg_djset.gif) 0 0 no-repeat; padding-top: 9px;}
#eventi div#start_se {margin: 0 auto; width: 117px; height: 117px; text-align: center; margin-top: 0; background: url(../img/bg_se.png) 0 0 no-repeat; padding-top: 80px;}

#eventi .sx, #eventi .dx{ margin-top: 30px; position: relative; height: 1px;}
#eventi .sx.first{margin-top: 0px;}
#eventi div div{display:none;  background: url(../img/bg_main.png) 0 0 repeat; text-align: center; width: 0; padding: 9px;}
#eventi div span{position: absolute; top: 42px; display: none;}
#eventi div span.drava{width: 34px; height: 33px; background: url(../img/drava.gif) 0 0 no-repeat; top: 20px; right: 20px; left: auto;}
#eventi div span.lady_was{width: 35px; height: 35px; background: url(../img/logo-was.png) 0 0 no-repeat; top: 20px; left: 20px;}
#eventi div div h2{color: #CCC; font-size: 280%; display: inline;}
#eventi div div h1{ font-size: 370%; text-transform: none; font-family: 'WoodenNickelBlackRegular'}
#eventi .sx:hover h1, #eventi .dx:hover h1{color: #f00;}
#eventi div h3{text-transform: uppercase; font-size: 170%; color: #F00; position: absolute; text-align: center; background: #FFF; padding: 0 4px; width: 170px; top:10px; font-weight: normal;}
#eventi div h3:hover{background: #000; cursor: pointer;}
#eventi .dx div h1 p, #eventi .sx div h1 p{ float: none; text-align: center; position: static; font-size: 80%; display: inline;}

#eventi .sx h3{ margin-left: -89px; left:50%;}
#eventi .dx h3{ margin-right: -89px; right:50%;}
#eventi .sx div{float: right; position: absolute; right: 0; top: 0;}
#eventi .dx div{float: left; position: absolute; left: 0; top: 0;}
#eventi .sx span{text-align: left; left: 60px;}
#eventi .dx span{text-align: right; right: 60px;}

#eventi div#mns{ background: url(../img/bg_main.png) 0 0 repeat; text-align: center; padding: 9px; font-size: 120%;}

#eventi a.myspace{width: 16px; height: 16px; display: block; background: url(../img/myspace-icon.gif) 0 0 no-repeat; float: right; margin-top: 15px; padding: 0}
#eventi a.facebook{width: 16px; height: 16px; display: block; background: url(../img/facebook-icon.gif) 0 0 no-repeat; float: right; margin-right: 6%; margin-top: 15px; padding: 0}
#eventi a.web{width: 16px; height: 16px; display: block; background: url(../img/home-icon.gif) 0 0 no-repeat; margin-top: 15px;; padding: 0}
.gay{width: 28px; height: 16px; display: block; background: url(../img/gay_logo.gif) 0 0 no-repeat; float: left; margin-left: 1%;}
#eventi a.myspace:hover{background: url(../img/myspace-icon.gif) 0 -16px no-repeat;}
#eventi a.facebook:hover{background: url(../img/facebook-icon.gif) 0 -16px  no-repeat;}
#eventi a.web:hover{background: url(../img/home-icon.gif) 0 -16px  no-repeat;}




footer{height: 8px; width: 818px; padding:21px 51px; text-transform: uppercase; font-size: 60%; background: url(../img/bg_main.png) 0 0 repeat; margin-bottom: 25px;}
footer p{float: left;line-height: 16px; margin-right: 3%;}
footer a{color: #FFF; text-decoration: none;}
footer a:hover{color: #FFF; text-decoration: underline;}
#player{position: absolute; bottom: -13px; right: 51px; background: url("../img/bg_player.png") 0 0 no-repeat; width: 45px; height: 75px; }
#player a {
	position: absolute;
	overflow:hidden;
	text-indent:-9999px;
}
footer a.facebook{width: 16px; height: 16px; display: block; background: url(../img/facebook-icon.gif) 0 0 no-repeat; float: left; margin: 0 ;}
footer a.facebook:hover{background: url(../img/facebook-icon.gif) 0 -16px  no-repeat;}
footer a.gdb{width: 78px; height: 21px; display: block; background: url(../img/girodiboa_s.png) 0 0 no-repeat; float: left; margin: -2px 0 0 1%;}




#eq{width: 33px; height: 22px; padding: 2px;}
#jp_interface_1{width: 33px; height: 28px; position: relative;}
#jp_interface_1 a{position: absolute;}
.jp-play{background: url(../img/play.gif) 0 -26px no-repeat; width: 33px; height: 28px; z-index: 2}
.jp-pause{background: url(../img/pause.gif) 0 -26px no-repeat; width: 33px; height: 28px; z-index: 2}
.jp-play:hover{background: url(../img/play.gif) 0 0 no-repeat; width: 33px; height: 28px; z-index: 2}
.jp-pause:hover{background: url(../img/pause.gif) 0 0 no-repeat; width: 33px; height: 28px; z-index: 2}
.jp-next{background: url(../img/nf_controls.gif) 0 -24px no-repeat; width: 28px; height: 28px; z-index: 1}
.jp-previous{background: url(../img/nf_controls.gif) -28px -24px no-repeat; width: 28px; height: 28px; z-index: 1}
.jp-next:hover{background: url(../img/nf_controls.gif) 0 0 no-repeat;}
.jp-previous:hover{background: url(../img/nf_controls.gif) -28px 0 no-repeat;}
#playlist{background: url(../img/playlist.gif) 0 0 no-repeat; width: 33px; height: 24px;}


/**
 * Non-semantic helper classes: please define your styles before this section.
 */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }



/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}


