/* @override 
	http://tibo.meschiari.com/media/css/base.css
	http://tibo.meschiari.com/media/css/base.css
	http://tibo.meschiari.com/media/css/base.css
	http://127.0.0.1:8000/media/css/base.css
*/

body {
	background-color: #fff;
	color: #999999;
	font: 11px Verdana, "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

#container {
	position: relative;
	width: 750px;
	margin: 0 auto;
}

#header {
	position:relative;
	border-bottom-style: dashed;
	border-bottom-width: 1px;
	border-color: #999999;
	height: 80px;
	margin-top: 15px;
}

#header a {
	text-decoration: none;
}

#header ul {
	/*position: absolute;*/
/*    display: block;
*/    list-style-type: none;
    text-transform: uppercase;
    padding: 0;
}

#header ul li {
/*    display: block;
    float: left;
*/	/*margin-right: 15px;*/
}

p#logo {
	border-bottom: 1px dashed #999999;
	padding-bottom: 10px;
	height: 23px;
}
p#logo a:link,
p#logo a:visited {
    position: absolute;
    top: 0;
    height: 20px;
    width: 252px;
    text-indent: -9000px;
    overflow: hidden;
    background: url(/media/theme/fabiotiboniartecontemporanea.gif) no-repeat
}
p#logo a:hover, p#logo a:focus,
p#logo a:active {
	background: url(/media/theme/fabiotiboniartecontemporanea.gif) no-repeat 0px -20px;
}

h1, p#logo {
	color: #669900;
	text-transform: uppercase;
	font-size: 1.3em;
}

h1 {
    margin-bottom: -16px;
	margin-top: 18px;
}

h2 {
	/*font-size: 1em;*/
	margin-top: 0;
	text-decoration: underline;
	text-transform: uppercase;
}

h3 {
	font-size: 9px;
	color: #669900;
	font-weight: normal;
	font-style: normal;
}

h4 {
    border-top: 1px dashed #999999;
	margin-bottom: 5px;
	padding-top: 18px;
	margin-top: 18px;
}

h4:first-child {
    border-top: none;
	margin-top: 1px;
}


hr {
	position: absolute;
	top: -1000em;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

a {
	color: #999999;
	text-decoration: none;
}

a:hover {
	color: #669900;
	text-decoration: none;
	background: transparent url(img/selezione.gif) repeat;
}




body#artists-list a#artists,
body#artist-detail a#artists,
body#exhibitions a#exhibitions,
body#news a#news,
body#publications a#publications {
	color: #669900;
	text-decoration: underline;
}

body#artists-list a#artists:hover,
body#artist-detail a#artists:hover,
body#exhibitions a#exhibitions:hover,
body#news a#news:hover,
body#publications a#publications:hover {
	color: #FFFFFF;
}


ul { /*IE*/
    margin: 0;
}


/* Menu sprite */

/* Menu sprite base */
#nav-global {
    height: 17px;
	position: absolute;
	top: 45px;
	left: 0px;
}
#nav-global li {
    display: inline;
}
#nav-global li a:link,
#nav-global li a:visited {
    position: absolute;
    top: 0;
    height: 17px;
    text-indent: -9000px;
    overflow: hidden;
}

/* Menu sprite IT */

.it #nav-global {
    width: 308px;
	margin-top: 4px;
	background: url(/media/theme/menu-it.gif) no-repeat;
}

    .it #nav-global .artists a:link, .it #nav-global .artists a:visited {
        left: 0px;
        width: 45px;
    }
    .it #nav-global .artists a:hover, .it #nav-global .artists a:focus,
	.it #nav-global .artists a:active {
		background: url(/media/theme/menu-it.gif) no-repeat 0px -17px;
	}
	.it .current-artists .artists a:link, .it .current-artists .artists a:visited {
		background: url(/media/theme/menu-it.gif) no-repeat 0px -17px;
		cursor: default;
	}

    .it #nav-global .exhibitions a:link, .it #nav-global .exhibitions a:visited {
        left: 54px;
        width: 48px;
    }
    .it #nav-global .exhibitions a:hover, .it #nav-global .exhibitions a:focus,
	.it #nav-global .exhibitions a:active {
		background: url(/media/theme/menu-it.gif) no-repeat -54px -17px;
	}
	.it .current-exhibitions .exhibitions a:link, .it .current-exhibitions .exhibitions a:visited {
		background: url(/media/theme/menu-it.gif) no-repeat -54px -17px;
		cursor: default;
	}

    .it #nav-global .news a:link, .it #nav-global .news a:visited {
        left: 111px;
        width: 36px;
    }
    .it #nav-global .news a:hover, .it #nav-global .news a:focus,
	.it #nav-global .news a:active {
		background: url(/media/theme/menu-it.gif) no-repeat -111px -17px;
	}
	.it .current-news .news a:link, .it .current-news .news a:visited {
		background: url(/media/theme/menu-it.gif) no-repeat -111px -17px;
		cursor: default;
	}

    .it #nav-global .publications a:link, .it #nav-global .publications a:visited {
        left: 156px;
        width: 87px;
    }
    .it #nav-global .publications a:hover, .it #nav-global .publications a:focus,
	.it #nav-global .publications a:active {
		background: url(/media/theme/menu-it.gif) no-repeat -156px -17px;
	}
	.it .current-publications .publications a:link, .it .current-publications .publications a:visited {
		background: url(/media/theme/menu-it.gif) no-repeat -156px -17px;
		cursor: default;
	}

    .it #nav-global .contacts a:link, .it #nav-global .contacts a:visited {
        left: 252px;
        width: 56px;
    }
    .it #nav-global .contacts a:hover, .it #nav-global .contacts a:focus
	.it #nav-global .contacts a:active {
		background: url(/media/theme/menu-it.gif) no-repeat -252px -17px;
	}
	.it .current-contacts .contacts a:link, .it .current-contacts .contacts a:visited {
		background: url(/media/theme/menu-it.gif) no-repeat -252px -17px;
		cursor: default;
	}

/* Menu sprite EN */

.en #nav-global {
    width: 336px;
	margin-top: 4px;
	background: url(/media/theme/menu-en.gif) no-repeat;
}

    .en #nav-global .artists a:link, .en #nav-global .artists a:visited {
        left: 0px;
        width: 48px;
    }
    .en #nav-global .artists a:hover, .en #nav-global .artists a:focus,
	.en #nav-global .artists a:active {
		background: url(/media/theme/menu-en.gif) no-repeat 0px -17px;
	}
	.en .current-artists .artists a:link, .en .current-artists .artists a:visited {
		background: url(/media/theme/menu-en.gif) no-repeat 0px -17px;
		cursor: default;
	}

    .en #nav-global .exhibitions a:link, .en #nav-global .exhibitions a:visited {
        left: 57px;
        width: 74px;
    }
    .en #nav-global .exhibitions a:hover, .en #nav-global .exhibitions a:focus,
	.en #nav-global .exhibitions a:active {
		background: url(/media/theme/menu-en.gif) no-repeat -57px -17px;
	}
	.en .current-exhibitions .exhibitions a:link, .en .current-exhibitions .exhibitions a:visited {
		background: url(/media/theme/menu-en.gif) no-repeat -57px -17px;
		cursor: default;
	}

    .en #nav-global .news a:link, .en #nav-global .news a:visited {
        left: 140px;
        width: 36px;
    }
    .en #nav-global .news a:hover, .en #nav-global .news a:focus,
	.en #nav-global .news a:active {
		background: url(/media/theme/menu-en.gif) no-repeat -140px -17px;
	}
	.en .current-news .news a:link, .en .current-news .news a:visited {
		background: url(/media/theme/menu-en.gif) no-repeat -140px -17px;
		cursor: default;
	}

    .en #nav-global .publications a:link, .en #nav-global .publications a:visited {
        left: 185px;
        width: 82px;
    }
    .en #nav-global .publications a:hover, .en #nav-global .publications a:focus,
	.en #nav-global .publications a:active {
		background: url(/media/theme/menu-en.gif) no-repeat -185px -17px;
	}
	.en .current-publications .publications a:link, .en .current-publications .publications a:visited {
		background: url(/media/theme/menu-en.gif) no-repeat -185px -17px;
		cursor: default;
	}

    .en #nav-global .contacts a:link, .en #nav-global .contacts a:visited {
        left: 276px;
        width: 60px;
    }
    .en #nav-global .contacts a:hover, .en #nav-global .contacts a:focus
	.en #nav-global .contacts a:active {
		background: url(/media/theme/menu-en.gif) no-repeat -276px -17px;
	}
	.en .current-contacts .contacts a:link, .en .current-contacts .contacts a:visited {
		background: url(/media/theme/menu-en.gif) no-repeat -276px -17px;
		cursor: default;
	}


/* Old sIFR menu

ul#nav-global {
    // top: 50px; //
    text-transform: uppercase;
    margin-top: 0;
}

ul#nav-global li {
    // letter-spacing: 1px; //
}

*/

ul#nav-language {
    position: absolute;
    right: 0;
    top: 0px;
	text-align: right;
	font-size: 9px;
	margin-top: -2px;
	/*margin-right: -12px;*/
}

ul#nav-language li.active {
	display: none;
} 

/* General Content */

#content div.item {
    position: relative;
    /* Una delle seguenti proprietà risolve il problema dell'assenza del bordo sugli elementi
    con posizionamento relativo in IE 6. Però spariscono le icone sui link ai comunicati stampa. */ 
    /*display: inline-block;*/
    height: 1%; /* IE */

/*  border-bottom: 1px dashed #999999;*/
	min-height: 80px;
	padding-top: 18px;
	padding-bottom: 10px;
}
#content div.item + div.item {
    border-top: 1px dashed #999999;
}

/*#content div.item .text p {
    margin-bottom: 0;
}
*/
/*#content div.paginator {
    border-top: 1px dashed #999999;
}
#content div.paginator:first-child {
    border-top: none;
    border-bottom: 1px dashed #999999;
}
*/


/* Paginator */

#content div.paginator {
    height: 35px;
    border-top: 1px dashed #999999;
	padding-top: 2px;
	margin-bottom: -16px;
    font-size: 9px;
}

#content div.paginator:first-child {
    border-top: none;
    border-bottom: 1px dashed #999999;
	padding-bottom: 4px;
    margin-bottom: 0;
}

#content div.paginator p {
    margin-top: 12px;
}

#content div.paginator .page-number {
    float: left;
}

#content div.paginator .buttons {
	/*width: 100px;*/
    float: right;
}

#content div.paginator .buttons a {
	display: block;
	width: 10px;
	height: 10px;
    text-indent: -9000px;
    overflow: hidden;
    float: left;

    margin-left: 10px;
}

#content div.paginator .buttons a.previous {
    background:  url('img/previous.gif') no-repeat bottom left;
}
#content div.paginator .buttons a.next {
    background:  url('img/next.gif') no-repeat bottom left;
}

/* END Paginator */








#content div.item img {
	float: left;
	margin-bottom: 8px;
}
#content div.text img {
	float: inherit;
}

/* Front Page */

.frontimage {
    margin-top: 20px;
    border: none;
}

/* Artists */


#artists-list h2 {
    margin-bottom: 0;
}

#info p {
	margin-top: -10px;
	font-size: 9px;
}

.it .title-adg {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/artisti_della_galleria.gif') no-repeat bottom left;
}
.it .title-aeig {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/artisti_esposti_in_galleria.gif') no-repeat bottom left;
	margin-top: 12px;
	padding-top: 19px;
}
.it .title-o {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/opere.gif') no-repeat bottom left;
}
.it .title-mpec {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/mostre_personali_e_collettive.gif') no-repeat bottom left;
}

.en .title-adg {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/artists_of_the_gallery.gif') no-repeat bottom left;
}
.en .title-aeig {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/artists_exhibiting_at_the_gallery.gif') no-repeat bottom left;
}
.en .title-o {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/works.gif') no-repeat bottom left;
}
.en .title-mpec {
    text-indent: -9000px;
    overflow: hidden;
    background:  url('/media/theme/titles/solo_and_group_exhibitions.gif') no-repeat bottom left;
}

/* Publications */

ul.press-release {
    padding-left: 0;
    list-style: none;
}

.press-release li {
	text-align: left;
	padding-left: 18px;
	background: transparent url(img/press.gif) no-repeat;
	padding-top: 8px;
	font-size: 9px;
	text-transform: uppercase;
	color: #999999;
}

#content div.item div.text {
	margin: 0 0 0 220px;
	padding: 0 0 0 10px;
}

.clear {
    clear: both;
}
/* News */



/* Exhibitions */ 

#exhibitions div.current {
  width: 12px;
    height: 140px;
    position: absolute;
    left: -30px;
    top: 15px;
    background: url(/media/theme/current_exhibition.jpg) no-repeat;
/*    width: 12px;
    height: 140px;
    position: absolute;
    left: -230px;
    top: 20px;
    background: url(/media/theme/current_exhibition.jpg) no-repeat;*/ /* IE */
}

#exhibitions div.current p {
	position: absolute;
	top: -1000em;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.artists-list {
	text-transform: uppercase;
	margin-top: -12px;
	text-decoration: underline;
}

/* Contacts */

.column1 {
    width: 370px;
    float: left;
}

.column2 {
    padding-top: 1px;
    margin-left: 380px;
}


input {
    border: none;
    width: 80%;
    text-align:left;
    background-color: transparent;
}
input#id_newsletter {
    width: 10%;
}
p.submit {
    border: none;
    text-align: right;
}
p.submit input {
    background: url(/media/theme/envelope.png) no-repeat 0 2px;
    color: #999999;
    border: none;
    padding: 0 0 0 25px;
    margin: 6px;
    width: auto;
}
p.submit input:hover {
    color: #669900;
    text-decoration: underline;
}

textarea {
    border: none;
    width: 80%;
    background-color: transparent;
}

label {
    display: inline-block;
    width: 15%;
    padding-left: 10px;
    vertical-align: top;
}

/*label:hover {
    color: #669900;
    text-decoration: underline;
}*/

form {
    width: 370px;
    margin: 0;
    padding: 0;
}

form p {
    border: 1px solid #999;
    margin: 11px 0;
    padding: 0;
}

form p:hover {
    background-color:#EAEAEA;
}

ul.errorlist {
    display: block;
	list-style-type: none;
	margin-bottom: -10px;
}

ul.errorlist li {
/*    display: block;
    float: left;
*/
    padding-left: 15px;
    height: 20px;
    color: red;
    background: transparent url(/media/theme/arrow-dn.png) no-repeat;
}
#contacts hr {
	position: inherit;
	top: inherit;
	width: inherit;
	height: inherit;
	overflow: inherit;
    border-top: 1px dashed #999999;
}

/* Footer */

#footer {
	font-size: 9px;
	margin-top: 20px;
	border-top: 1px dashed #999999;
}

#artists-list #footer {
	font-size: 9px;
	border-top: 1px dashed #999999;
	margin-top: 12px;
}
