@import url(badbrowser.css);

.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    font-size: 0;
    clear: both;
    visibility: hidden;
}

body {
    background: url(../images/backgr.png) repeat-x rgb(181,30,80);
    height: 100%;
    font-family: Helvetica, Arial, sans-serif;
    color: rgb(100,100,100);
    font-size: 9pt;
    line-height: 1.5em;
}

a {
    text-decoration: none;
    color: rgb(181,30,80);
}

a:hover {
    text-decoration: underline;
}

div.more,
div.goback {
    font-size: 8pt;
    float: left;
	clear: both;
    margin-top: 5px;
}

div.more a:after {
    content: " \00bb"
}

div.goback a:before {
    content: "\00ab  "
}

h4, h5, h6 {
    color: rgb(181,30,80);
    margin-top: 10px;
}

ul li {
    background: url(../images/bullet-pink.gif) no-repeat;
    background-position: left 5px;
    padding-left: 15px;
}

#wrapper {
    margin: 0 auto;
    width: 960px;
}

#header {
    background: url(../images/header.png);
    width: 960px;
    height: 182px;
}

#header h1 {
    display: none;
}

ul#navigation {
    margin: 20px 0;
    margin-left: 211px;
}

ul#navigation li {
    display: inline;
    margin-right: 30px;
    background-position: 0;
    padding-left: 20px;
}

ul#navigation li a {
    color: gray;
    letter-spacing: 0.1em;
}

ul#navigation li a:hover,
ul#navigation li a.selected {
    color: white;
    text-decoration: none;
}

#content {
}

#main {
    height: 380px;
    background: white;
    position: relative;
}

#slideshow {
    float: left;
    margin-top: 15px;
	background: gray;
}

#slideshow,
#slideshow img {
    width: 100%;
    height: 160px;
}

#slideshow img {
	display: none;
}

#slideshow img.first {
	display: block;
}

#intro,
#about,
#offer {
    width: 749px;
    float: left;
}

#intro div.spacer {
    margin: 30px 30px 0 30px;
}

#intro h2 {
    color: rgb(181,30,80);
    font-size: 14pt;
    margin-bottom: 14px;
}

#intro p {
	font-size: 13pt;
	font-style: italic;
	line-height: 1.6em;
}

#about,
#offer,
#gallery,
#news {
    width: 749px;
    margin-top: 30px;
}

#offer.detail,
#gallery,
#news {
    height: 536px;
    position: absolute;
    right: 0;
    top: 0;
    background: white;
}

#about h3,
#offer h3,
#gallery h3,
#news h3 {
    color: rgb(181,30,80);
    font-size: 12pt;
    margin-bottom: 10px;
}

#about ul {
	margin-bottom: 10px;
}

.date {
    font-size: 9pt;
    color: rgb(100,100,100);
    font-weight: normal;
	font-style: italic;
}

.date:before {
    content: " \2013  "
}

div.item {
    float: left;
    width: 100%;
    margin-bottom: 15px;
}

#gallery div.item,
#news div.item {
    width: 340px;
    margin-left: 30px;
    height: 145px;
}

#gallery div.item div.message,
#news div.item div.message {
    height: 120px;
	overflow: hidden;
}

#gallery div.item img {
    width: 90px;
    height: 90px;
    float: left;
    margin: 0 10px 0 0;
}

#gallery.detail a img {
    margin: 7px 7px 0 0;
}

#about ul li {
    background: none;
    padding: 0;
}

.pagination {
    position: absolute;
    bottom: 0; left: 0;
    margin: 0 0 10px 30px;
}

.pagination a {
    color: rgb(100,100,100);
}

.pagination a:hover,
.pagination span.current {
    color: rgb(181,30,80);
    text-decoration: underline;
}

.pagination span.current {
    font-weight: bold;
}

.pagination .page {
	padding: 2px;
} 

#about div.item ul li em {
    display: block;
    font-style: italic;
}

#about div.spacer,
#offer div.spacer,
#gallery div.spacer,
#news div.spacer {
    position: relative;
    width: 340px;
    float: left;
    margin-left: 30px;
}

#offer.detail div.spacer,
#gallery.detail div.spacer,
#news.detail div.spacer {
    width: auto;
    margin-right: 20px;
}

#gallery.detail div.spacer div.spacer {
    margin: 15px 0 0 0;
}

#main div#carousel {
    background: gray;
    margin: 11px 0 0 11px;
    overflow: hidden;
    float: left;
}

#main div#carousel,
#main div#carousel img {
    width: 200px;
    height: 358px;
}

#main div#carousel img {
	display: none;
}

#main div#carousel img.first {
	display: block;
}

#contact {
    float:left;
    width: 211px;
    height: 186px;
    background: url(../images/bubble.png);
    line-height: 1.8em;
    color: white;
}

#contact a {
    color: white;
}

#contact div.spacer {
    margin-left: 40px;
    margin-top: 43px;
}

#contact a.facebook {
    background: url(../images/facebook.gif) no-repeat;
    padding-left: 20px;
}

#contact h3 {
    font-size: 11pt;
}

/********** skills, experiences, hotnews, references **********/
#skills {
    width: 211px;
    float: left;
}

#skills ul {
    color: gray;
    font-size: 11pt;
    line-height: 2em;
    margin-left: 35px;
    margin-top: 40px;
}

#exp ul li,
#skills ul li,
#references ul li {
    background: none;
    padding: 0;
}

#exp,
#references {
    background: url(../images/subcontent.png) repeat-x;
}

#exp {
    width: 270px;
}

#hotnews {
    width: 479px;
}

#references {
    width: 749px;
}

#exp,
#hotnews,
#references {
    float:left;
    height: 186px;
    color: white;
}

#hotnews div.message {
	height: 90px;
	overflow: hidden;
}

#exp div.spacer,
#hotnews div.spacer,
#references div.spacer {
    margin: 20px 10px 0 30px;
}

#exp h3,
#hotnews h3,
#references h3 {
    background: url(../images/bullet-white.gif) no-repeat;
    background-position: 0;
    padding-left: 15px;
    margin-left: -15px;
    margin-bottom: 0.8em;
    font-size: 11pt;
}

#hotnews a {
	color: white;
}

#hotnews div.more a {
    color: black;
}

/********** footer **********/
#footer {
    background: black;
    clear: both;
}

#footer div.spacer {
    padding: 10px 0;
}

#footer p {
    padding-right: 20px;
    text-align: right;
    line-height: 1.4em;
    color: gray;
}

#footer a {
    font-size: 8pt;
    color: rgb(100,100,100);
}

#footer div#admin {
    background: rgb(65,11,29);
    padding: 8px 15px;
}

/*********** login ***********/
div.login {
	margin: 30px auto 0;
	width: 350px;
	padding: 10px;
	background: rgb(181,30,80);
}

div.login form {
	background: white;
	padding: 20px;
	line-height: 2em;
}

div.login td {
	text-align: right;
	padding-right: 10px;
}

div.login p.errors {
	color: white;
	line-height: 1.4em;
	margin-bottom: 5px;
}


