@charset "utf-8";
/* -------------------------------------
    Filename: style-dianflex.css
    Title : Primary CSS file for dianflex.com. index page
    Author : Liana G.
    Version: 05.10.2008
    License: Copyright 2008, Dianflex Corporation, All Rights Reserved. 
    Feel free to read and learn from this, but please don't steal.
    Description : This base style sheet provides basic styling for
    XHTML elements for the personal web site of Dianflex Corporation. 

    --------------------------------------- */

body  {
	font: 68.5% Verdana, Arial, Helvetica, sans-serif;
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
	color: #FFFFFF;
	background-color: #5198B4;
}

/*General Rules*/
    
	a {outline: none;}
	
	ul, ol { margin: 0; padding: 0;}
	
	li {list-style-type:none;}
	
	dl { margin: 0; padding: 0;}
	
	form { padding: 0px; margin: 0px;}
	
	
   
/*end*/
   
#container  {
	width: 100%;  /* this will create a container 80% of the browser width */
	margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
	text-align: left; /* this overrides the text-align: center on the body element. */
	position: relative;
}

/**************** Header *****************/
 
#header-wrap {
	width: 100%;
	height: 120px;
	background-color:#fff;
	
	
}
#header-wrap #header   {
	background-color: transparent;
	height: 120px;
	width: 900px;
	margin: 0 auto;
	position:relative;
	
} 
#header-wrap #header h1  {
	margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
	padding: 10px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
	text-indent: -9999px;
}
#header-wrap #header h1 span {
	background: url(../img/logo_dianflex.gif) no-repeat;
	display: block;
	width: 700px;
	height: 80px;
}

/************************ Navigation **************/

#nav-wrap {
	width: 100%;
	height: 50px;
	border-top: 1px solid #004040;
	border-bottom: 1px solid #004040;
	background: #32561B url(../img/bk-nav.gif) repeat-x;
}

#nav-wrap #navigation {
	width: 1100px; /*900px*/
	background-color: transparent;
	margin: 0 auto;
}

#nav-wrap #navigation ul {
	float: right;
}

#nav-wrap #navigation ul li {
	float: left;
	
}

#nav-wrap #navigation li.border {
	border-right: 1px solid #BEE3A6;
}

#nav-wrap #navigation ul li a {
	display: block;
	line-height: 23px;
	padding: 27px 3px 6px 5px;
	text-decoration: none;
	color: #FFFFFF;
	font: bold 1.3em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	width: 119px;
	border-left: 1px solid #BEE3A6;
	height: auto;
}

#nav-wrap #navigation a:hover {
	background-color: #54922C;
}

#nav-wrap #navigation li#activelink a {
	color: #c1f1bd;
	background-color: #32561B;
	height: 18px;
	border-top: 1px solid #c1f1bd;
}

/************************ Content ************/

#content-wrap {
	width: 100%;
	border-bottom: 1px solid #B8E1A2;
	background: transparent url(../img/cont-green.jpg) 0 0;
	border-top: 1px solid #B8E1A2;
}


#mainContent/* Tips for mainContent:
1. the space between the mainContent and sidebars is created with the left and right margins on the mainContent div.
2. to avoid float drop at a supported minimum 800 x 600 resolution, elements within the mainContent div should be 300px or smaller (this includes images).
3. in the Internet Explorer Conditional Comment below, the zoom property is used to give the mainContent "hasLayout." This avoids several IE-specific bugs.
*/
  {
	margin: 0 auto; /* the right and left margins on this div element creates the two outer columns on the sides of the page. No matter how much content the sidebar divs contain, the column space will remain. You can remove this margin if you want the #mainContent div's text to fill the sidebar spaces when the content in each sidebar ends. */
	width: 900px;
	background-color: transparent;
	height: 300px;
}

/* ---- Content for DianHydro DianKamin DianKlima ----*/
#mainContent #dian {
	height: 300px;
	width: 650px;
	margin: 0 auto;
}

#mainContent #dian h1 {
	word-spacing: 70px;
	margin: 60px 0 0 30px;
	color: #6FE2EC;
	font: normal 1.6em  Tahoma, Verdana, Arial, Helvetica, sans-serif;
}

#mainContent #dian h1 em {
	font-style: normal;
	color: #F29937;

}

#mainContent #dian h1 strong {
	color: #68EC8F;
	font-weight: normal;
	
}

#mainContent #dian h1 span {
	color: #fbd817;
	font-weight: normal;
	margin-left: 15px;
}

#mainContent #dian ul {
	margin: 0 auto;
	width: 900px;
}

#mainContent #dian ul li {
	float: left;
}

#mainContent #dian ul li a {
	display: block;
	float: left;
	height: 135px;
	width: 140px;
	border: 5px solid #599d53;
	margin: 10px 2px;
	background: #D0F6C9 no-repeat 0 center;
	text-indent: -9999px;
	color: #32932A;
	text-decoration: none;
	position: relative;
}

#mainContent #dian ul li a:hover {
	width: 210px;
	border-color: #72D369;
	
}

#mainContent #dian a.thermo {
	background: #D0F6C9 url(../img/thermo1.gif)  /*no-repeat 0 center*/;
}

#mainContent #dian a.hydro {
	background-image: url(../img/hydro1.gif);
}

#mainContent #dian a.klima {
	background: #FFFFFF url(../img/klima1.gif) /*no-repeat 8px 2px*/;
}


#mainContent #dian a.aton {
	background: #FFFFFF url(../img/aton1.gif) /*no-repeat 8px 2px*/;
}


#mainContent #dian a.hydro:hover {
	background-image: url(../img/dianhydro.gif);
}

#mainContent #dian a.thermo:hover {
	background-image: url(../img/thermo.gif);
}

#mainContent #dian a.klima:hover {
	background: #D4EFC2  url(../img/klima.gif) /*no-repeat 0 center*/  ;
}

#mainContent #dian a.aton:hover {
	background: #231f20  url(../img/aton.gif) /*no-repeat -13px center*/  ;
}

#mainContent #dian a:hover span {
    text-indent: 0px;
	position: absolute;
	width: 160px;
	top: 85px;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif ;
	font-weight: bold;
	text-align: center;
	left: 25px;
}

#mainContent #dian a.hydro:hover span {
	color: #17A3AE;
}

#mainContent #dian a.thermo:hover span {
	top: 85px;
	color: #E27E10;
}

#mainContent #dian a.klima:hover span {
	color: #14AD80;
}

/********************** Second **************/

#sec-wrap {
	width: 100%;
	height: 350px;
	background: #5198B4 url(../img/main_bg.gif) repeat-x;
	margin-bottom: 30px;
	position:relative;
}

#secondary {
	width: 900px;
	height: 350px;
	margin: 0 auto;
	background-color: transparent;

}

/*---- Dianflex Corporation ----*/
#sec-wrap #secondary #sec1 {
	width: 300px;
	
	
}


#sec-wrap #secondary  #sec1 h2 {
	color: #FFFFFF;
	font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size:2em;
	margin-top: 0px;
	padding: 50px 0 10px 0;
	border-bottom: 1px solid #86b7cb;
}

#sec-wrap #secondary #sec1 h3, #sec-wrap #secondary #sec2 h3 {
	color: #AEE3D9;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.4em;
	margin-top: 30px;
}

#sec-wrap #secondary #sec1 p {
	margin-top: -10px;
	font-size: 1.1em;
	color: #FFFFFF;
	
	
}

#sec-wrap  #secondary  #sec1 ul li {
	color: #6FE2EC;
	font: bold 1.2em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	float: left;
	padding: 0  5px 0 0;
	margin-top: -10px;
}

#sec-wrap #secondary #sec1 ul li a {
	text-decoration: none;
	color: #6FE2EC;
}

#sec-wrap #secondary #sec1 em, #sec-wrap #secondary #sec2 em {
	font-family:"Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-style: normal;
	color: #6FE2EC;
}

#sec-wrap #secondary #sec1 li.kamin a {
	color: #F29937;
}

#sec-wrap #secondary #sec1 li.kamin a:hover {
	color: #FAD7AF;
}

#sec-wrap #secondary #sec1 ul li a:hover {
	color: #CBF4F8;
}
#sec-wrap #secondary #sec1 ul li.klima a:hover {
	color: #BBF7CD;
}

#sec-wrap  #secondary  #sec1  li.klima a {
	color: #68EC8F;
}

#sec-wrap  #secondary  #sec1  li.aton a {
    color:#Fbd817;
}

#sec-wrap  #secondary  #sec1  li.aton a:hover {
    color:#FDEC8E;
}


/*----- Sedi ----*/
#sec-wrap #secondary #sec2 {
	width: 300px;
	float: right;
	margin-top: -278px;
	clear: both;
	
	
}
#sec-wrap #secondary #sec1.azienda, #sec-wrap #secondary #sec2.azienda {
	width: 550px;
}
#sec-wrap #secondary #sec2.azienda {
	width: 300px;
	margin-top: -857px!important;
}

#sec-wrap #secondary #sec2.sedi {
    margin-top: -473px!important;
	}

#sec-wrap #secondary #sec2 h2 {
	color: #FFFFFF;
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 2em;
	border-bottom: 1px solid #86b7cb;
	padding: 41px 0 10px 0;
	margin-bottom: 18px;
	
}

#sec-wrap #secondary #sec2 ul {
	margin: 30px 0 0 0;
	
}

#sec-wrap #secondary #sec2 ul li {
	text-transform: uppercase;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #68EC8F;
}

#sec-wrap #secondary #sec2 ul li a {
	text-decoration: none;
	color: #68EC8F;
	display: block;
	padding: 5px 0;
    background: url(../img/line.png) repeat-x 0 19px;
	line-height: 15px;
	height: 15px;
	
}


#sec-wrap #secondary #sec2 li a:visited {
	color: #38D386;
	background-color:transparent;
	
}

#sec-wrap #secondary #sec2 li a:hover, #sec-wrap #secondary #sec2 li a:active {
	color: #B4F5C8;
	background-color: #428AA6;
}


#sec-wrap #secondary #sec3 {
	width: 200px;
	float: left;
	margin: -280px 0 0 110px;
	height: 280px;
}

#sec-wrap #secondary #sec3 h2 {
	font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	font-size: 2em;
	border-bottom: 1px solid #86b7cb;
	padding: 50px 0 10px 0;
}

#sec-wrap #secondary #sec3 p {
margin-top: 35px;
}

#sec-wrap #secondary #sec3 p em {
    color:#6fe2ec;
	font-style:normal;
	font-weight:bold;
}


#sec-wrap #secondary #sec3 p a {
color: #7CF900 ;
float:right;
margin-top: -30px;
font-weight:normal;
}

#sec-wrap #secondary #sec3 p a:hover {
color:#97FFB1;
text-decoration:underline;
}

/************************ Footer ****************/

#foot-wrap {
	width: 100%;
	background: url(../img/promo_bg.gif) repeat-x 0 0;
	margin-top: -15px;
	height: 120px;
	
	
}

#foot-wrap #footer  {
	height: 120px;
	background-color: transparent;
	border-top: 1px solid #004040;
	width: 900px;
	margin: 0 auto;
	
	
	
} 

#foot-wrap #footer p {
	margin: 45px 0; /* zeroing the margins of the first element in the footer will avoid the possibility of margin collapse - a space between divs */
	padding: 10px 0; /* padding on this element will create space, just as the the margin would have, without the margin collapse issue */
	color: #87ABA7;
	text-align: center;
}

/********************************************** - TOP PAGE LINK - ********************************************/
#foot-wrap #footer h5.top-page a {
color:#fff;
text-decoration:none;
float:right;
font-size:1.2em;
display:block;
background:  url(../img/top.png) no-repeat 0 0;
width: 107px;
height: 30px;
padding: 6px 4px;
margin-top: -14px;


}

#foot-wrap #footer h5.top-page a:hover {
background:  url(../img/top-hover.png) no-repeat 0 0;

}


/* Miscellaneous classes for reuse */
.fltrt { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain its child floats */
	clear:both;
    height:0;
    font-size: 1px;
    line-height: 0px;
}

.spacer {/*make space at the top*/
    line-height: 94px;
}



