/* @override 
	http://127.0.0.1:8000/site_media/css/gtg.css
	http://localhost:8000/site_media/css/gtg.css
*/

body {
    margin: 0 auto;
    padding: 0;
    font: 76% Verdana,Tahoma,Arial,sans-serif;
    background: #424242 url(/site_media/theme/bkg.jpg);
	
}

#wrap {
	color: white;
	margin: 0 auto;
	width: 720px;
}

/* Front page*/

.lateralcategorylist li {
    margin-top: 10px;
}

/* =========== */
/* = General = */
/* =========== */

p.tinytext {
	font-size: 70%;
	color: #666;
	margin: 0;
}

/* ========== */
/* = Header = */
/* ========== */

#header {
	clear: both;
	margin: 0 0 12px 0;
	padding: 0;
	height: 193px;
	background-color: black;
	border: 1px solid #222;
}

#header h1 {
	display: none;
	visibility: hidden;
	margin: 0 0 10px 0;
	float: left;
}

#header img#logo{
	float: left;
	margin: 25px 0 0 25px;
	border-left: 1px solid #222;
}

#header p {
	width: 500px;
	float: right;
	text-align: center;
	color: #a0a0a0;
	margin: 0 0 10px 0;
	font-size: 0.8em;
	line-height: 1.2em;
}

#frontphoto {
	margin: 0 0 10px 0;
	border: 0;
}

#mainmenu {
    position: relative;
    float: left;
    width: 120px;
    margin: 25px 0 10px 0;
    padding: 0;
    font-size: 0.9em;
}

#mainmenu ul {    
    position: relative;
    list-style: none;
    width: 100px;
    height: 153px;
    margin: 0;
    padding: 0;
    border-left: 1px solid #222;
}   

#mainmenu li {
	margin: 0 0 2px 0;
	height: 15px;
}

#mainmenu li a {
	height: 15px; /* FF7, IE*/
	text-decoration: none;
	color: #fff;
	display: block;
	padding: 0 0 2px 5px;
	margin: 0 0 0 10px;
	position: relative;
	left: -5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -icab-text-overflow: ellipsis;
    -khtml-text-overflow: ellipsis;
    -moz-text-overflow: ellipsis;
    -webkit-text-overflow: ellipsis;
    text-overflow: ellipsis '...' 

}

#mainmenu ul li a:hover {
	background: #333 !important;
}

.itemselected {
	background: #a91c1e
}

#mainmenu ul.submenu {
	position: absolute;
	width: 120px;
	left: 100px;
	top: 0;
}

#mainmenu ul.subsubmenu {
	position: absolute;
	width: 162px;
	left: 220px;
	top: 0;
    border-right: 1px solid #222;
}

#contacts #mainmenu ul li.contacts a,
#news #mainmenu ul li.news a,
#portfolio #mainmenu ul li.portfolio a {
	background: #a91c1e;
}


/* =========== */
/* = Content = */
/* =========== */

#content {
	margin: 0 0 0 0;
	padding: 0 34px 0 34px;
	line-height: 1.6em;
	text-align: left;
/*	background: #fff url(/site_media/theme/contentbkg.jpg) repeat-y center top;*/
	background-color: black;
	border: 1px solid #222;
}

hr {
	border: 0;
	/*width: 90%;*/
	/*color: #A91C1E; /* colore rosso */
	/*background-color: #A91C1E; /* colore rosso */
	background-color: #222;
	color: #222;
	height: 1px;
}

.announce {
margin: 10px 0 10px 0;
padding: 10px;
width: 130px;
color: #505050;
/*background-color: #f4f4f4;*/
line-height: 1.3em;
}

.subcontent {
	width: 510px;
	float: left;
}

#sidebar {
    float /**/: right;
	width: 125px;
	margin: 0px 0 10px 10px;
	padding: 0;
	font-size: 0.9em;
	line-height: 1.5em;
}

#sidebar h2 {
	font-size: 1.1em;
	margin: 0;
	color: #666666;
	border-bottom: 1px solid #222;
}
#sidebar h2 a {
    color: #666666;
    display: block;
}
#sidebar h2 a:hover {
    color: white;
}


#contenticon {
	display: none;
	position: relative;
	float: left;
	top: 9px;
	width: 20px;
	height: 25px;
/*  background: url("/site_media/theme/baloon.jpg") no-repeat;*/
}

#content h1 {
	font-family: "Trebuchet MS";	
	font-size: 1.5em;
/*  font-style: italic;*/
	color: #cc0000;
	margin: 0 0 0.5em 0;
	padding: 0.5em 0 0 0;
    line-height: 1em;
}

#content h4 {
	font-family: "Trebuchet MS";	
	font-size: 1em;
	/*font-style: italic;*/
	color: #2A2A2A;
	margin: 0 0 0.5em 0;
}

#content img {
    display: block;
	padding: 3px;
	/*display:inline;*/
    background: black;
	border: 1px solid #333;
	/*margin-left: 4px;*/
}

#content img.imgportfolio {
	margin-top: 10px;
	margin-left: 0px;
}

#content a.thumblink {
    margin: 0;
    padding: 0;
}
#content a.thumblink img {
    margin-top: 40px;
}

h2 {
	font-size: 2.2em;
	font-family: "Trebuchet MS";	
	color: #cc0000;
	margin: 10px 0 0 0;
}

h3 {
	font-family: "Trebuchet MS";
	font-size: 1.1em;
	margin: 0;
	color: #666666;
}

h1#pagetitle {
	margin: 0 0 0.5em 0;
}

#pagesubtitle {
	margin: 0 0 -14px 25px;
	padding-top: 10px;
}

/* ----- Breadcrumbs ----- */

#breadcrumb {
    margin-top: 10px;
}
#breadcrumb div {
  float: left;
	margin: 0;
}
#breadcrumb div h1 {
	padding-top: 5px;
	height: 21px;
}
#breadcrumb div p {
	margin: -5px 0 0 0;
}
div#breadcrumb1 {
    height: 50px;
}
div#breadcrumb2 {
	margin-left: 20px;
	padding-left: 20px;
	border-left: 1px solid #666;
}
div#breadcrumb2 h1 {
	color: #666;
}

/* ----- Content Text ----- */

div.contenttext {
	clear: left;
	margin: 10px 0;
	padding: 0;
/*  background-image: url("/site_media/theme/slash.jpg");*/
}

div.contenttext p {
	margin: 10px 0;
	text-align: justify;
	text-align: left;
}

/* ----- Article Title ----- */

.articletitle {
/*  float: left;*/
}
.articletitle p {
	margin: 0 0 -8px 0;
}
.articletitle div {
	float: left;
	margin: 0;
}
.articletitle .articledate {
	padding-top: 5px;
	margin-left: 20px;
	padding-left: 20px;
	border-left: 1px solid #666;
	font-size: 0.6em;
	color: #666;
}


a {
	text-decoration: none;
	color: #A91C1E;
}
    div.subcontent a {
        text-decoration: none;
        color: #cc0000; /*#FFF;*/
    }

a:hover {
/*  text-decoration: underline;*/
/*    color: #D9BC00;*/
    background: #a91c1e;
    color: #FFF;
    text-decoration: none;
}
    div.subcontent a:hover {
        background: #a91c1e;
        color: #FFF;
        text-decoration: none;
    }
a img {
	border: 0;
}


#content a:hover img {
    border: 1px solid #a91c1e;
}

/* Category List */

div#content ul.categorylist {
    list-style-type: none;
    padding: 0;
}

div#content ul.categorylist li {
    width: 314px;
    float: left;
    border-bottom: 1px solid #222222;
    margin-bottom: 40px;
}

div#content ul.categorylist li.left {
    margin-right: 11px;
	float: left;
}

div#content ul.categorylist li.right {
    margin-left: 11px;
	float: right;
}


/* ========== */
/* = Footer = */
/* ========== */

#footer {
	position: relative;
	clear: both;
	margin: 0 auto;
	padding: 5px 0 20px 0;
/*  background: url(/site_media/theme/footerbkg.jpg) no-repeat;*/
	/*width: 760px;*/
	color: #8c8c8c;
	font-size: 0.8em;
    font-family: Verdana, sans-serif;
}

#footer p {
/*  text-align: center;*/
	margin: 0 0 0 5px;
	float: left;
}

#footer a {
	color: #808080;
	text-decoration: none;
	float: right;
	margin: 0 5px 0 0;
}

#footer a:hover {
	text-decoration: underline;
}

/*#credits {
    position: absolute;
    top: 20px;
    right: 60px;
    display: block;
    margin: 0;
}
*/

.textright {
	text-align: right;
}

.center {
	text-align: center;
}

.small {
font-size: 0.8em;
}

.bold {
font-weight: bold;
}

.hide {
display: none;
}

/* nif */
/* ============= */
/* = Paginator = */
/* ============= */
.paginator {
	float: right;
	margin: 10px 0;
	/*margin: 10px;*/
	text-align: right;
}

.paginator span {
    margin: 0 0 0 0;
    /*border: 1px solid #D9BC00;*/
    /*width: 10px;*/
    text-align: center;
/*    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;*/
}

.paginator span.paginate-link a {
/*    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;*/
    border: 1px solid transparent;
}

.paginator span img {
    border: none !important;
/*  display: inline !important;*/
    float: left;
    vertical-align: text-bottom;
    vertical-align: text-top;
}

.paginator span.paginate-current{
    background-color: #a91c1e;
    color: #fff;
    padding: 0 4px;
    float: left;
}

.paginator span.paginate-previous,
.paginator span.paginate-next,
.paginator span.paginate-link {
/*    padding: 0 4px;*/
    float: left;
}

.paginator span.paginate-previous a,
.paginator span.paginate-next a,
.paginator span.paginate-link a {
    display: block;
    padding: 0 4px;
    background-color: black;
}

.paginator span.paginate-link a:hover {
    background-color: #333;
}

ul.newslist,
ul.newsgallery {
	padding: 0;
	margin: 0;
}
ul.newslist li,
ul.newsgallery li {
	list-style-type: none;
	margin-right: 2px;
}
ul.newsgallery li {
	display: inline;
	float: left;
}

ul.newsgallery li img {
	margin-top: 10px;
}
ul.newsgallery li a span {
	margin-left: 2px;
}

ul.newsgallery li a:hover {
	text-decoration: none;
}


.fakelink {
	color: #A91C1E;
}


ul.itemlist {
	margin: 0;
	padding: 0;
}
ul.itemlist li {
	list-style: none;
	margin-top: 1.5em;
}

/* TODO: 2008-06-13: verificare se serve davvero il blockquote */
ul.itemlist li blockquote {
	margin: 0;
	padding: 0;
}

ul.itemlist li img {
	float: left;
	margin: 0 1em 0 0;
}

/*ul.itemlist h3 {
	clear: both;
}*/

.clear {
	clear: both;
	height: 0;
	margin: 0 0 0 0;
	border: none;
}

hr.greydivider {
	height: 12px;
	margin: 0 0 0 -10px;
	border: none;
	background-color: transparent;
/*  background-image: url("/site_media/theme/greydivider.jpg");*/
	clear: both;
}
