/*
    Проект: Фарма 2020
    Автор: Фищенко Андрей
    e-mail: fishchenko.andrey@gmail.ru
    Сайт: www.pharma2020.ru
*/

/* BLOCKS */
#header { height: 10em; }
.site-logo { width: 219px; padding: 1.4em 10px 0 20px; float: left; }
.site-description { width: 690px; padding: 0 20px; float: right; position: relative; }
#footer {height: 4em; padding-top: 0.5em;}
#footer .site-description {width: 560px; text-align: center;}
.wmd-logo { width: 219px; padding: 0 10px 0 20px; float: left;}
#counter-mail {float: right; width: 100px;}
/* TYPOGRAPHY */
html { font-family: Verdana,sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: Georgia,Times,serif; font-weight: normal; letter-spacing: 1px; color: #333333; }
h1 { color: #6DC067; }
input[type='text'], input[type='password'], textarea { font-family: Verdana,sans-serif; }
input[type='checkbox'] { margin-left: .5em; vertical-align: middle; }
textarea, input { padding: .25em .25em .25em .25em; }
sup, sub { font-family: Verdana,sans-serif; }

input[type='submit'] {width: auto;}

/* LINKS */
a:link, a:visited { color: #495D7E; }
a:hover, a:active, a:focus { color: #6DC067; }

.advert a {padding: .5em .5em;position: relative;}

/* TABLES */
table {width: 100%;}

/* DESIGN ELEMENTS */
#top-flash {border-bottom:1px solid #D4D4D4; padding: 10px; text-align: center;}
#rss {margin-top: 1.07em;}
.wmd-logo a {display: block; background: url(/pict/wmd_logo.png) no-repeat; padding-left: 72px; height: 34px;}
.wmd-logo a:hover {background-image: url(/pict/wmd_logo_a.png);}
/* navigation */
#navigation ul li.locale {float: right; padding: .5em 0 .5em 1em; cursor: pointer;}
#navigation ul li.selected {font-weight: bold; color: #6DC067;}

/* statistics */
#wrapper .statistics ul { margin-left: 0; }
#wrapper .statistics ul li { text-indent: 0; margin-left: 0; }
#wrapper .statistics ul li:before { content: ""; }

.statistics ul li { width:100%; overflow:hidden; margin-bottom: .3em; }
.statistics ul li span { float:left; }
.statistics ul li span.statistics-type { width:50%; }
.statistics ul li span.statistics-item { width:40%; }

.content .statistics ul li span.statistics-type { width:20%; }
.content .statistics ul li span.statistics-item { width:20%; }

.content input[type='text'], .content textarea { width: 60em; }

.comment {padding-left: 1em;}

#news .more {clear: both;}

.date { background:transparent url(/img/datebox.png) no-repeat scroll 0 0; float:left; height:55px; margin-right:10px; width:44px; }
.date .month { color:#FFFFFF; font-variant:small-caps; margin-top: -0.2em; text-align:center; }
.date .day { color:#999999; font-weight:bold; padding-top:.4em; text-align:center; }

/*#username { padding-left: 20px; background: #FFFFFF url(/img/email.png) no-repeat 2px; }
#password { padding-left: 20px; background: #FFFFFF url(/img/key.png) no-repeat 2px; }
#s { padding-right: 20px; background: #FFFFFF url(/img/search.png) no-repeat scroll 99% 2px; }*/

#pages {height: 3em; text-align: center;}
#pages a, #pages span {margin-right: 1em; text-decoration: none;}
#pages a.selected {font-size: 1.2em; font-weight: bold; color: #6DC067;}

#topic-add form small {color: #999999;}
#topic-add form a {border-bottom:1px dashed #79B1D4; text-decoration: none !important; color: #999999 !important;}
/*
#html_tags_help, #preview {font-size: 0.8em; position:relative; background-color:#F7F7F7; border:1px dashed #CCCCCC; padding:0 20px; -moz-border-radius: 5px; -webkit-border-radius: 5px;}
dt {font-weight:bold;}
#html_tags_help table {border: none;}
#html_tags_help th, td {border: none;}
*/

select.document{width: 20em;}
select.user optgroup[id='users'] option {padding-left: 20px; background: #FFFFFF url(/img/user.png) no-repeat 2px;}
select.user optgroup[id='admins'] option {padding-left: 20px; background: #FFFFFF url(/img/user_gray.png) no-repeat 2px;}
select.user {width: 18em;}

#upload_document {background-color:#F7F7F7; border:1px dashed #CCCCCC; padding:0 10px 10px 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px;}
#upload_document a {font-size: 0.8em; border-bottom:1px dashed #79B1D4; text-decoration: none !important; color: #999999 !important;}
#upload_document small {color: #999999;}
#control_overlay {background-color:#000;}

div.error {background: #FFE3E3; border: 2px solid #DD0000; color:#550000 !important; padding: 0 2em; margin-top: 1em; -moz-border-radius: 5px;}

h4.new {background: url(/img/new.png) no-repeat; padding-left: 28px; min-height: 24px;}

.tag-cloud {text-align: center;}
.tag-cloud ul, .tag-cloud ul li {white-space: normal; display: inline;}
.tag-cloud a {text-decoration: none; line-height: 1.4em;}

.documents ul {margin-left: 0;}
.documents ul li:before {content: "" !important;}
.documents ul li a {background-repeat: no-repeat; background-position: .5em center; display: block; padding: .5em .5em .5em 5em; min-height: 3em; color: #669933; text-decoration: none;}
.documents ul li a:hover {color: #336600; background-color: #EBF0E5;}
/*#documents div {background-repeat: no-repeat; padding-left: 4em; margin-left: 1em; margin-bottom: 1em; min-height: 3em;}
#documents div:hover {background-color: #EBF0E5;}*/
.documents small {color: #999999;}
.documents .doc {background-image: url(/img/word.png);}
.documents .xls {background-image: url(/img/excel.png);}
.documents .ppt {background-image: url(/img/powerpoint.png);}
.documents .pdf {background-image: url(/img/pdf.png);}
.documents .other {background-image: url(/img/default.png);}mg/default.png);}
