/**************************************************************************
**** Sito: Comune di Capoterra
**** Stylesheet - Main : struttura e stili comuni (media: screen)
**** Autore: Mirko Ennas @ www.PixelForge.it (CopyLeft) 2006
***************************************************************************/


/* STYLE ______________ HTML  */
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: "Trebuchet MS", verdana, sans-serif;
    font-size: 80%;
    color: #000;
    text-align: left;
    z-index: 1;
}


hr {
    display: none;
}

.invisible {
    display: none;
}
div.separator {
    margin: 0 10px;
    padding: 5px 0px;
    height: 1px;
    border-bottom: 1px solid #000;
    clear: both;
}

.clear {
    clear: both;
}
.break {
    margin: 5px 0;
    padding: 1px 0px;
    height: 20px;
    width: 90%;
}
.center {
    text-align: center;
    font-style: italic;
}



a, a:active {
    margin: 0;
    padding: 0;
    text-decoration: underline;
    color: #151768;
}
a:visited; {
    text-decoration: underline;
    color: #000;
}
a:hover {
    text-decoration: none;
    color: #151768;
}


form {
    margin: 0;
	padding: 0;
}

.page-nav {
	display: none;
}




/* STRUTTURA ______________ Livello 1  */
#header-container {
    margin: 0; padding: 0;
    width: 100%;
}

#main-container {
    margin: 0; padding: 0;
    float: left;
    width: 100%;
    /* border: 1px dashed red;         _____________________ Only for DEBUG  */
}


#footer-container {
    margin: 0; padding: 0;
    clear: both;

    /* border: 1px dashed red;         _____________________ Only for DEBUG  */
}


/* STRUTTURA ______________ Livello 2  */
#header {
    margin: 0 2px;
    padding: 0;
    background: #151768 url("../img/header-background.jpg") 0px 0px no-repeat;
    height: 136px;
}
#navbar {
    margin: 0 2px;
    padding: 2px 0 0 0;
    background: #151768;
    height: 24px;
}

#main {
    margin: 0 0 0 2px;
    padding: 0;
    width: 768px;
    background: #fff url("../img/main-sx-background.gif") 0px 0px repeat-y;
    float: left;
}

#footer {
    margin: 0 2px;
    padding: 0;
}


/* GRAFICA ______________ Livello 3: HEADER  */
#header h1 {
    margin: 0;
	padding: 0;
    font-size: 0.95em;
	position: relative;
	z-index: 1;
    width: 330px;
    height: 59px;
}
#header h1 a {
    margin: 0;
	padding: 0;
    display: block;
    width: 330px;
    height: 59px;
    text-decoration: none;
    background: transparent url("../img/capoterra-logo.jpg") left top no-repeat;
}
#header h1 a span {
    position: absolute;
    z-index: -1;
}



/* GRAFICA ______________ Livello 3: NAVBAR  */

/* Home */
#navbar p.link-home {
    margin: 0;
    padding: 0;
    line-height: 24px;
    width: 248px;
    float: left;
    font-size: 1.2em;
    font-weight: bold;
}
#navbar p.link-home a {
    padding-left: 30px;
    color: #fff;
    text-decoration: none;
}
#navbar p.link-home a:hover {
    color: #fff;
    text-decoration: none;
}

/* Lingua, Mappa del sito, Contatti */
#navbar ul.link-tools {
    margin: 0;
    padding: 0;
    width: 320px;
    height: 24px;
    color: #fff;
    font-size: 0.85em;
    font-weight: normal;
    float: left;
    list-style-type: none;
}
#navbar ul.link-tools li {
    margin: 0px 10px 0 0;
    padding: 0px;
    height: 24px;
    display: inline;
    float:left;
}
#navbar ul.link-tools a {
    padding-left: 0px;
    line-height: 24px;
    color: #fff;
    text-decoration: none;
}
#navbar ul.link-tools a:hover {
    color: #fff;
    text-decoration: underline;
}
#navbar ul.link-tools li.ita {
    margin: 4px 8px 0px 0px;
    padding: 0;
	position: relative;
	z-index: 1;
    width: 24px;
    height: 14px;
}
#navbar ul.link-tools li.ita a {
    display: block;
    margin: 0;
	padding: 0;
    width: 24px;
    height: 14px;
    line-height: 14px;
    text-decoration: none;
    background: transparent url("../img/lingua-ita.gif") left bottom no-repeat;
}
#navbar ul.link-tools li.ita a span {
    font-size: 0.75em;
    position: absolute;
    z-index: -1;
}
#navbar ul.link-tools li.eng {
    margin: 4px 15px 0px 0px;
    padding: 0;
	position: relative;
	z-index: 1;
    width: 24px;
    height: 14px;
}
#navbar ul.link-tools li.eng a {
    display: block;
    margin: 0;
	padding: 0;
    width: 24px;
    height: 14px;
    line-height: 14px;
    text-decoration: none;
    background: transparent url("../img/lingua-eng.gif") left bottom no-repeat;
}
#navbar ul.link-tools li.eng a span {
    font-size: 0.75em;
    position: absolute;
    z-index: -1;
}



/* Ricerca */
#navbar form.link-search {
    margin: 0;
    padding: 0;
    width: 220px;
    color: #fff;
    font-size: 0.95em;
    font-weight: bold;
    float: left;
}
#navbar form.link-search p {
    margin: 0;
    padding: 0;
    border: none;
    float: left;
    height: 24px;

    /* border: 1px dashed red;         _____________________ Only for DEBUG  */
}
#navbar form.link-search .searchbox {
    margin: 0 8px 0 0;
    padding: 0;
    width: 100px;
    height: 16px;
    line-height: 16px;
    float: left;
}
#navbar form.link-search .btnsubmit {
    margin: 0;
    padding: 0;
    width: 60px;
    color: #fff;
    font-size: 0.75em
    font-weight: normal;
    border: 1px outset #333333;
    background: #666666;
    /* float: left; */
}






/* GRAFICA ______________ Livello 3: FOOTER  */
#footer #copyright {
    background: #151768;
    height: 24px;
}
#footer #copyright h5 {
    margin: 0 0 0 248px;
    padding: 0;
    width: 510px;
    color: #fff;
    font-size: 1em;
    font-style: normal;
    text-align: center;
    line-height: 24px;
    /*  border: 1px dashed red;        _____________________ Only for DEBUG  */
}
#footer p {
    margin: 0 0 0 248px;
    padding: 0;
    width: 510px;
    color: #151768;
    font-size: 0.82em;
    font-style: normal;
    text-align: center;
    line-height: 200%;
}

#footer p a {
    color: #151768;
    text-decoration: underline;
}
#footer p a:hover {
    color: #151768;
    text-decoration: none;
}



/* STRUTTURA ______________ Livello 3: MAIN  */
div#col-sx {
    margin: 0;
    padding: 0;
    width: 248px;
    float: left;
    /* border: 1px dashed green;           _____________________ Only for DEBUG  */
}
div#contents {
    margin: 0;
	padding: 6px 0 20px 8px;
    float: right;
    width: 510px;
    /* border: 1px dashed red;         _____________________ Only for DEBUG  */
}


/* GRAFICA ______________ Livello 4: MAIN  */
/* COL-SX */
div#col-sx {
    margin-top: 0px;
    min-height: 415px;
    background: transparent url("../img/menu-title-sx.gif") 0px 0px no-repeat;
}
div#col-sx h4 {
    display: none;
}

div#col-sx h5 {
    margin: 1px 1px 1px 1px; 
    font-size: 1.1em;
    font-weight: bold;
    color: #151768;
    line-height: 22px;
}


/* Menu Sx */
div#col-sx ul.subMenuL1 {
    margin: 3px 3px 3px 28px;
    padding: 0;
    list-style-type: none;
}

ul.subMenuL1 li {
    margin: 1px;
    padding: 0px;
    width: 100%;
}
ul.subMenuL1 li a {
    margin: 1px;
    padding: 2px 2px 2px 14px;
    background: #E4E4E4;
    display: block;
    text-decoration: none;
    font-weight: bold;
	background: #E4E4E4 url("../img/freccia-blu.gif") 0px 50% no-repeat;
}
div#col-sx ul.subMenuL1 li a:hover {
	padding-left: 24px;
    text-decoration: none;
	color: #151768;
    font-style: normal;
	background: #E4E4E4 url("../img/freccia-blu.gif") 10px 50% no-repeat;
}

ul.subMenuL1 li.submenu {
    margin: 0;
    padding: 0;
    background: #F7F7F7 !important;
}

ul.subMenuL1 li.submenu ul.subMenuL2 {
    margin: 0px 0 10px 0px;
    padding: 0;
    width: 210px !important;
    list-style-type: none;
}

ul.subMenuL1 li.submenu ul.subMenuL2 li {
    margin: 0 0 4px 14px;
    padding: 0;
}
ul.subMenuL1 li.submenu ul.subMenuL2 li a {
    margin: 0 !important;
    padding: 0 !important;
    font-style: normal !important;
    font-weight: normal;
    background: transparent !important;
}
ul.subMenuL1 li.submenu ul.subMenuL2 li.selected a,
ul.subMenuL1 li.submenu ul.subMenuL2 li a:hover {
    margin: 0 !important;
	padding-left: 0px !important;
    text-decoration: underline !important;
    font-weight: normal !important;
	background: transparent !important;
}


/* GRAFICA ______________ Livello 4: MAIN  */
/* CONTENTS */

div#contents {
    margin: 0;
    padding: 0;
}


#contents h2 {
    margin: 0.5em 0;
    padding: 0;
    font-size: 2em;
    font-weight: bold;
    color: #151768;
    text-align: center;
}

#contents img {
    margin: 0;
    padding: 1px;
    border: 1px solid #151768;
}

#contents img.left {
    margin-right: 8px;
    float: left;
}
#contents img.right {
    margin-left: 8px;
    float: right;
}



#contents div#listaparagrafi h3 {
    margin: 0.2em 0 0 0;
    padding: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #151768;
    text-align: left;
}

#contents div.testo {
    margin: 0 0 20px 0;
    padding: 0 0 6px 0;
    border-bottom: 1px dashed #ccc;
}
#contents div.testo img {
    margin: 0 0 0 8px;
    padding: 1px;
    border: 1px solid #151768;
    float: right;
}



/* Plugin Quicktime */
#contents object {
    margin: 10px auto;
    padding: 0;
    border: 1px solid #151768;
    /* border: 1px dashed red;         _____________________ Only for DEBUG  */
}





/* Gallery */
div#contents div.galleryContainer table {
    margin: 0px auto 20px auto;
    padding: 0;
    width: 96%;
}

div#contents div.galleryContainer table caption {
    margin: 0.5em 0;
    padding: 0;
    font-size: 1.2em;
    font-weight: bold;
    color: #151768;
    text-align: center;
}



div#contents div.galleryContainer table td {
    margin: 0;
    padding: 10px 0 10px 0;
    font-size: 0.85em;
    width: 50%;
    text-align: center;
    border: 1px solid #ccc;
}

div#contents div.galleryContainer table td a {
    margin: 0;
    padding: 0;
}

div#contents div.galleryContainer table td a img {
    margin: 0;
    padding: 1px;
    border: 1px solid #151768;
}

















