/* Standard HTML elements */
* { font-size: 100.01%; }

html, body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, blockquote, form, fieldset, legend, table, td, th 
{ margin: 0; padding: 0; }

html, body { height: 100%; }
body {
	background: #fff url(../img/css/bg.png) repeat-x 0 0;
	color: #5e5e5e;
	font: .88em/1.2 Georgia, serif;
}

a:link { color: #000; }
a:visited { color: #666666; }
a:hover { color: #0071bb; }

img { border: 0; }
a { outline: none }
hr { border: 0 hidden; border-top: 1px solid #d6d6d6; clear: both; height: 0; }
li { list-style: none }
p { padding: 0 0 6px 0 }
fieldset { border:0 }

/* Standard presets */
.clear { clear: both; font-size: 0; height: 1px; overflow: hidden; }

.hidden,
.js .jhidden { display: none; }

.floatleft { float: left; }
.floatright { float: right; }

/* Layout */
#layout { min-width: 960px; overflow: hidden; position: relative; background: url(../img/css/cups.jpg) no-repeat 50% 2px; border-top: 5px solid #c04143; border-bottom: 5px solid #721012; }
#header,
#main-content,
#footer .inner
{ width: 960px; margin: 0 auto; }

/* Header */
#header { height: 305px; position: relative; }
	#logo { position: relative; width: 211px; height: 49px; margin-left: 10px; z-index: 1 }
	#logo a { background: url(../img/css/logo.png) no-repeat; width: 211px; height: 49px; position: absolute; left: 0; top: 30px; text-indent: -9000px }
	h1 { position: relative; font-size: 1.8em; color: #ae191c; margin: 90px 0 0 110px; padding-left: 2px; width: 491px; height: 72px; line-height: 1em; z-index: 1 }
	h1 ins { background: url(../img/css/heading.png) no-repeat; position: absolute; left: 0; top: 0; width: 491px; height: 72px }
	.machine { position: absolute; right: 75px; top: 40px; z-index: 1 }
	
	#nav { margin-left: 110px }
	#nav li { float: left; position: relative; width: 168px; height: 60px; z-index: 1; margin-top: 17px; overflow: hidden }
	#nav a { position: absolute; display: block; bottom: 0; left: 0; width: 100%; height: 60px; background: url(../img/css/nav.png) no-repeat; z-index: 1; text-indent: -9000px; }
	#nav #nav-a a:hover { background-position: 0 -60px }
	#nav #nav-c { width: 175px }
	#nav #nav-c a { background-position: -168px 0; }
	#nav #nav-c a:hover { background-position: -168px -60px; }
	
	.bg-header { position: absolute; left: 0; top: 0; height: 305px; width: 100%; background: url(../img/css/bg-header.png) no-repeat; z-index: 0 }

/* Main Content */
#main-content { height: 532px; }
	.distrib { padding: 0 115px; margin-top: 16px; font-size: 1.14em }
	#side1 { float: left; width: 338px; margin-top: 45px; padding-left: 115px }
		#side1 h2,
		#side2 h2 { height: 38px; position: relative; margin-left: 115px }
		#side1 h2 { margin-left: 0 }
		#side1 h2 ins,
		#side2 h2 ins { position: absolute; left: 0; top: 0; background: url(../img/css/about-illy.png) no-repeat; height: 38px; width: 134px }
		#side1 h3 { font-size: 1.14em; color: #ae191c; margin: 10px 0 8px 0; padding: 0 0 0 23px; font-style: italic; background: url(../img/css/bullet.png) no-repeat 0 3px }
	#side2 { float: right; width: 384px; margin-top: 25px; position: relative; right: 83px; background: #ececec }
		#side2 .cn-t,
		#side2 .cn-b { height: 6px; font-size: 1px; line-height: 1px }
		#side2 .cn-t { background: url(../img/css/side2-t.png); }
		#side2 .cn-b { background: url(../img/css/side2-b.png); }
		#side2 .cn-i { padding: 14px 30px 18px 30px }
		#side2 h2 { margin: 0 }
		#side2 h2 ins { background: url(../img/css/about-cubetto.png) no-repeat; width: 186px; }
	.content { margin-top: 17px }
	.content p { padding-bottom: 10px }
	/* Contact form */
	#cf-contact .cf-elem { position: relative; z-index: 1; border: none; background: none; padding: 6px; width: 230px; font-family: Georgia, serif; font-size: 16px;  }
	#cf-contact label {  }
	#cf-contact .row { background: url(../img/css/form-elements-bg.png); position: relative; width: 240px; float: left; margin-bottom: 5px; overflow: hidden; -moz-border-radius: 3px; -webkit-border-radius: 3px; }
	#cf-contact label.l-inline { color: #686868 }
	#cf-contact label span { position: absolute; z-index: 2; padding: 6px; color: #a4171b; font-size: 16px; width: 230px; }
	#cf-contact label.focus span { color: #b2b2b2 }
	#cf-contact label.has-text span { opacity: 0; top: -6000px}
	#cf-contact .btn-submit { text-align: right; width:240px; }
	#cf-contact .btn-submit input { background: url(../img/css/send.png) no-repeat 0 0; width: 88px; height: 34px; border: none; cursor: pointer }
	#cf-contact textarea { height: 70px }
	#cf-contact span.error { color: #777777 }
	.contact-errors,
	.data-recieved { margin-top: 10px; background: url(../img/css/arrow.png) no-repeat; padding: 0 0 0 20px }
	.contact-errors span { display: block }
	
	
/* Footer */
#footer { background: url(../img/css/cups-f.jpg) no-repeat 50% 2px; min-height: 200px; color: white }
#footer h3 { text-indent: -9000px; margin-bottom: 18px; }
#footer ul { margin-left: 115px; padding-top: 30px }
#footer li { float: left; width: 265px; margin-bottom: 25px; }
#footer li a { color: white }
#footer li a:visited { color: white; }
#footer li a:hover { color: white; text-decoration: none }
#footer .tit-email p { padding-right: 20px; font-size: 1.14em }
#footer .tit-email h3 { background: url(../img/css/tit-phone.png) no-repeat; height: 20px; }
#footer .tit-contact h3 { background: url(../img/css/tit-contact.png) no-repeat; height: 24px; }
#footer .tit-social h3 { background: url(../img/css/tit-social.png) no-repeat; height: 19px; }
#footer .tit-social a { display: inline-block; background: url(../img/css/social-books.png); height: 34px; text-indent: -9000px; float: left; margin-right: 4px }
#footer .tit-social a.face { width: 119px; }
#footer .tit-social a.face:hover { background-position: 0 -34px }
#footer .tit-social a.twit { width: 109px; background-position: -119px 0 }
#footer .tit-social a.twit:hover { background-position: -119px -34px }


#footer .tit-email .formc { font-size: 0.75em; line-height: 1.2 }
#footer .tit-email .email { margin: 2px 0 10px 0; display: block; background: url(../img/css/bg-email.png) no-repeat; padding: 8px 0 9px 12px; font-weight: bold; }
#footer .tit-email .email {  }

#gallery { width: 317px; margin-left: 3px }
		#side2 #gallery .cn-t,
		#side2 #gallery .cn-b { height: 7px; }
		#side2 #gallery .cn-t { background: url(../img/css/cnt-slide-t.png); }
		#side2 #gallery .cn-b { background: url(../img/css/cnt-slide-b.png); }
		#side2 #gallery .cn-i { background: url(../img/css/cnt-slide-i.png) repeat-y; padding: 0 2px; position: relative }

.sliderbutton { width: 32px; position: absolute; left: -23px; top: 70px; }
.sl-right { left: auto; right: -23px; text-align: right }
.sliderbutton img {cursor:pointer}
.sliderbutton img:hover {background:#666}

#slider { position:relative; overflow:auto; width:313px; height:150px; }
#slider ul {position:absolute; list-style:none; top:0; left:0}
#slider li {float:left; width:500px; height:300px; padding-right:10px}

.pagination {float:left; list-style:none; margin-top: 5px }
.pagination li {float:left; cursor:pointer; height:56px; width: 56px;margin:5px 9px 0 0; position: relative;}
.pagination li ins { display: none }
.pagination li.current ins { display: block; background: url(../img/css/slide-img-hover.png) no-repeat; width: 60px; height: 60px; position: absolute; left: -2px; top: -2px; }
.pagination li:hover {}
.pagination li#last-img { margin-right: 0 }
li.current {}

.about { margin-top:15px; }

/* Modal Window */

.close-modal { text-align: right; padding: 7px 52px 0 0; position: relative; z-index: 10 }
.jqmWindow { display: none; position: fixed; top: 17%; left: 50%; margin-left: -247px; width: 494px; height: 345px; color: #333;color: white; }
.jqmOverlay { background-color: #000; position: absolute; left: 0; top: 0 }
#dialog ins { width: 494px; height: 345px; position: absolute; left: 0; top: 0; background: url(../img/css/modal.png) no-repeat; }
#dialog h2 { background: url(../img/css/avantajele-tale.png) no-repeat 50% 0; margin: 25px 0 0 0; height: 33px; display: block; text-indent: -9000px; }
#dialog h2,
#dialog ul { position: relative; z-index: 2; }
#dialog ul { margin: 15px 50px 0 40px; }
#dialog ul li { padding-bottom: 7px; background: url(../img/css/modal-bullet.png) no-repeat 0 5px; padding-left: 25px }
