/* tools */
.replace { position:relative; margin: 0; padding: 0; overflow: hidden; }
.replace span { display: block; float: left; position: absolute; top: 0; left: 0; z-index: 100; }
.replace a { cursor: pointer; }
.clear { clear: both; }
.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } /* clear fix */
.clearfix {display: inline-block;}
* html .clearfix {height: 1%;} /* Hides from IE-mac \*/
.clearfix {display: block;}


/* global */
body { font-size: 76%; background: #1b1b1b; font-family: Georgia, arial, sans-serif; margin: 0; color: #585858; }
a img { border: none; }


/* container */

div.bg { display: inline; float: left; width: 100%; background: #f1f1f1 url(../gfx/page_bg.jpg) repeat-y top center; margin: 0; padding: 0; }
div.container { width: 860px; margin: 0 auto; padding: 0; clear: both; z-index: 0;  }


/* --------- LAYOUT --------- */

/* header */
div#header { display: inline; float: left; width: 100%; height: 150px; margin: 15px 0 0; padding: 0; clear: both; }
div#header h1 { position: absolute; top: 0; text-indent: -9000px; height: 0; width: 0; margin: 0; padding: 0; }

div#logo { float: left; width: 250px; height: 50px; margin: 45px 0 0; }

/* toolbar */
div#toolbar { display: inline; float: right; padding: 5px 20px 0 10px; height: 15px; background: #fff; color: #a7a7a7; font-size: 1.2em; clear: both; }
div#toolbar a { color: #1b1b1b; margin: 0; text-decoration: none; padding: 0 0 5px; border-bottom: 2px solid #e8e8e8; }
div#toolbar a:hover { color: #b7ce20; }
div#toolbar ul { display: inline; float: left; margin: 0; padding: 0; list-style-type: none; clear: both; }
div#toolbar li { float: left; margin: 0 0 0 10px; padding: 0 10px 0 0; }
div#toolbar li.last { padding: 0 !important; border: none !important; }
div#toolbar p { float: right; clear: both; }


/* search */
div#search { display: inline; float: left; width: 396px; height: 40px; margin: 44px 0 0; padding: 0; }
div#search form { display: inline; float: right; }
div#search label { display: inline; float: left; width: 100px; height: 25px; padding: 8px 0 0; color: #fff; background: url(../images/search_left.gif) no-repeat top right; }
div#search input { display: inline; float: left; margin: 0; padding: 0; font-family: arial, san-serif; font-size: 1em; color: #444; vertical-align: middle; }
div#search #searchbox { width: 180px; height: 25px; background: url(../images/search_bg.gif) repeat-x right; padding: 8px 0 0; margin: 0 10px 0 0; font-size: 1.1em; border: none; color: #555; }

/* navigation */
div#navigation { display: inline; float:left; width: 700px; height: 68px; background: url(../images/navigation_bg.gif) no-repeat bottom right; }
div#navigation ul { display: inline; float: left; width: auto !important; width: 100%; height: 35px; padding: 0; margin: 0; list-style-type: none; }
div#navigation ul a { font-size: 1.2em; color: #3e3e3e; text-decoration: none; text-align: center; } 
div#navigation li { float: left; display: block; background: url(../images/nav_left.gif) no-repeat top left; margin: 0 5px 0 0; padding: 0 0 0 10px; }
div#navigation li a { display: block; float: left; height: 27px; background: url(../images/nav_bg.gif) no-repeat top right; margin: 0px; padding: 8px 10px 0 0; font-weight: bold; outline: none; }
div#navigation li.active { background: url(../images/nav_active_left.gif) no-repeat top left; }
div#navigation li.active a { background: url(../images/nav_active_bg.gif) no-repeat top right; }
div#navigation li.active a, div#navigation li.active a:hover { color: #fff; } 
div#navigation li a:hover { color: #0F75BC; }
div#navigation li ul { display: none; }

/* sidebar */
div#sidebar { display: inline; float:left; width: 200px; margin: 60px 0 0 0; }
div#sidebar ul { width: 200px; padding: 0; margin: 0 0 40px 0; list-style-type: none; }
div#sidebar ul a { font-size: 1em; color: #69869b; text-decoration: none; } 
div#sidebar li { display: block; width: 200px; background: #fff url(../images/sidebar_bg.gif) no-repeat center right; margin: 0; padding: 0px; border-bottom: 1px solid #e1e1e1; }
div#sidebar li a { display: block; height: 25px; margin: 0px; padding: 8px 10px 0 20px; font-weight: bold; outline: none; }
div#sidebar li a:hover { color: #0F75BC; }
div#sidebar li.alt { background: #f7f7f7 url(../images/sidebar_bg.gif) no-repeat center right; }
div#sidebar li ul { display: none; }

/* content div */
div#content { display: inline; float: left; width: 860px; height: auto !important; height: 380px; min-height: 380px; padding: 0px 0 30px; }

/* footer */
div#footer { background: #1b1b1b repeat-x top; width: 100%; margin: 0 auto; padding: 10px 0; clear: both; }
div#footer h3, div#footer h4 { color: #fff; }
div#footer strong { color: #fff; }
div#footer p { color: #fff; font-size: 1em; padding: 0; margin: 0; }
div#footer small { color: #fff; }

div#footer ul { list-style-type: none; margin: 0; padding: 0; }
div#footer li { margin: 0 0 3px; padding: 0; font-size: 0.9em; line-height: 1.4em; }
div#footer a { color: #fff; text-decoration: none; font-weight: bold; }
div#footer .copyright { color: #7f7f7f; text-align: right; }
div#footer .copyright a { color: #7f7f7f; }
div#footer .copyright img { margin: 0 0 0 10px; }

div#footer .col1 { width: 600px; margin: 0 30px 0 0; padding: 0; }
div#footer .col2 { width: 230px; margin: 0; }




/* --------- DEFAULT TEMPLATE --------- */

/* content styles */
div.content h1 { font-size: 2em; font-weight: normal; color: #1b1b1b; margin: 0 0 20px; }
div.content h2 { font-size: 1.6em; font-weight: normal; color: #1b1b1b; margin: 0 0 20px; }
div.content h2.underline { border-bottom: 1px solid #ddd; margin: 10px 0 20px; padding: 0 0 6px; }
div.content h1 small, div.content h2 small { line-height: 2em; font-size: 0.5em; }
div.content h3 { font-size: 1.4em; font-weight: normal; color: #1b1b1b; margin: 0 0 20px; }
div.content h4 { font-size: 1.2em; font-weight: normal; color: #1b1b1b; margin: 0 0 20px; }
div.content p { font-size: 1em; margin: 0 0 20px; line-height: 1.6em; }
div.content small { color: #777; font-size: 0.9em; }
div.content small strong { color: #777; }
div.content ul { padding: 0 0 0 16px; list-style-position: outside; }
div.content a { color: #b7ce20; text-decoration: none; }
div.content a:hover { color: #bbb; }
div.content blockquote { color: #888; font-size: 1em; line-height: 1.8em; margin: 0 0 20px; padding: 10px 0 10px 40px; border-left: 3px solid #b7ce20; }
div.content li { padding: 0 0 8px 20px; }
div.content hr { border: 0; color: #ccc; background-color: #ccc; height: 1px; width: 100%; text-align: left; margin: 5px 0 10px; }

/* content classes */
div.content .highlight { color: #b7ce20; }

/* menus */
ul.menu { list-style-type: none; margin: 0 0 20px; padding: 6px; background: #f6f6f6; color: #999; }
ul.menu li { padding: 8px 0; margin: 0; }

/* forms */
form.default { margin: 0 0 20px; }
form.default label, form.default input, form.default textarea, form.default select, a.button { float: left; font-family: Georgia, arial, sans-serif; font-size: 1em; }
form.default input, form.default textarea, form.default select, .formelement { margin: 0 6px 6px 0; }
form.default label { width: 110px; margin: 0 10px 6px 0; padding: 4px 0 0; }
form.default .formelement { width: 250px; background: #f6f6f6; color: #555; border: 1px solid #ddd; padding: 7px; }
form.default input.small { width: 80px !important; }
form.default select.formelement { width: 266px; padding-right: 2px !important; }
form.default textarea.formelement { width: 586px; height: 200px; }
form.default textarea.small { width: 356px !important; height: 100px; }
form.default textarea.big { width: 740px; height: 280px; }
form.default .button { margin: 0 4px 0 0; font-size: 1.1em; }
form.default .nolabel { margin: 0 4px 6px 120px; }
form.default .uploadfile { float: left; width: 250px; padding: 6px; background: #ffeece; border: 1px solid #bbb; margin: 0 0 6px; }
form.default .tip { float: left; border: 1px solid #A6FF9F; background: #D2FFCF; padding: 6px; font-size: 0.95em; color: #4A9F45; margin: 0 0 6px 120px; }
form.default input.error, form.default select.error, form.default textarea.error { border: 1px solid red !important; }
form.default label.error { color: red !important; }
form.default img.formelement { float: left; margin: 0 6px 6px 0; }
form.default .price { float: left; line-height: 30px; margin: 0 5px; }

/* errors */
div.error { background: #FFDFDF; padding: 20px 10px 0; border: 1px solid #BF0000; margin: 0 0 20px 0; color: #444; font-weight: bold; clear: both; }
div.error h2 { color: #BF0000 !important; margin: 10px 0 !important; }
div.message { background: #f4f4f4; border: 1px solid #ccc; padding: 20px 10px; margin: 0 0 20px 0; font-weight: bold; clear: both; }
div.hidden { display: none; background: #e1f7ff; padding: 20px; border: 1px solid #29c1fe; margin: 0 0 20px 0; }
div.hide { display: none; }

/* pics */
img.avatar { margin: 0 0 10px; }
.avatarbox { display: inline; float: left; width: 80px; height: 120px; min-height: 120px; background: #f4f4f4; border: 1px solid #bababa; padding: 8px; margin: 0 10px 20px 0; text-align: center; font-size: 0.9em; }

/* search */
div.search { display: inline; float: right; width: 248px; height: 40px; margin: 0; padding: 0; }
div.search form { display: inline; float: right; margin: 0 4px; }
div.search label { display: inline; float: left; width: 45px; padding: 8px 0; margin: 0 4px 0 0; color: #767676; background: url(../images/search_left.gif) no-repeat top right; text-align: right; font-size: 0.9em; }
div.search input { display: inline; float: left; font-size: 1em; color: #444; vertical-align: middle; }
input.searchbox { width: 140px; background: #f6f6f6; padding: 6px; margin: 0 4px 0 0; border: 1px solid #ddd; }
div.search #searchbutton { margin: 3px 1px; }

/* boxes */
div.box { background: #f9f9f9; border: 1px solid #eee; padding: 20px; margin: 0 0 20px; }
div.box.center { text-align: center; }
div.scroll { height: 250px; padding: 10px; border: 1px solid #ccc; background: #fff; overflow: auto; margin: 0 0 20px; }

/* tables */
table.default { width: 100%; font-size: 1em; border-collapse: collapse; margin: 0 0 20px; clear: both; }
table.default th { padding: 10px 8px; background: #f2f2f2; color: #777; text-align: left; border-bottom: 1px solid #ddd; }
table.default td { padding: 10px 8px; background: #fff; }
table.default tr.header th { font-size: 1em; background: #eaeaea; color: #222; }
table.default .narrow { width: 60px; }
table.default .medium { width: 150px; }

/* heading left and right */
h1.headingleft, h2.headingleft { float: left; width: 250px; padding: 0; }
div.headingright { float: right; text-align: right; margin: 0 0 15px 20px; }
div.headingright select, div.headingright a.button, div.headingright input { float: left; }
div.headingright label { display: none; }
div.headingright select { width: 180px; background: #f6f6f6 !important; margin: 0 0 0 4px; }
div.headingright h2 { margin: 0 !important; }
div.headingright div { margin: 0 !important; }

/* buttons */
p.buttons { padding: 8px 0; }
.button { background: #1b1b1b; border: none; color: #fff !important; text-decoration: none; vertical-align: middle; margin: 0 4px 6px 0; cursor: pointer; }
a.button { padding: 6px 8px; }
input.button { padding: 5px 8px; }

.button.grey { background: #bbb; border: 1px solid #999; }
.button.blue { background: #70b9ce; border: 1px solid #63a8bc; }

/* pagination */
div.pagination { margin: 0 0 15px 0; clear: both; }
div.pagination p { margin: 0 0 8px; text-align: right; margin: 2px 0 0; }
div.pagination a { background: #fff; border: 1px solid #ccc; padding: 2px 4px; }
div.pagination b { background: #f4f4f4; border: 1px solid #ccc; padding: 2px 4px; }

/* tabs */
ul.innernav { display: inline; float: left; width: 100%; padding: 0; margin: 0 0 20px; list-style-type: none; border-bottom: 1px solid #ccc; clear: both; }	
ul.innernav li { position: relative; top: 1px; float: left; background: #e0e0e0; padding: 5px 18px; margin: 0 8px 0 0; border: 1px solid #ccc; }
ul.innernav li.selected { background: #fff; border-bottom: 1px solid #fff; }
ul.innernav li.selected:hover { background: #fff; }
ul.innernav li a { color: #777; text-decoration: none; outline: none; }
ul.innernav li a:hover { color: #999; }
ul.innernav li:hover { background: #eee; }


/* OTHER */
div.app { position: relative; display: inline; float: left; width: 860px; clear: both; margin: 0 0 50px; }
div.date { display; inline; float: left; width: 59px; height: 47px; margin: 0 45px 0 0; background: url(../gfx/date_bg.gif) no-repeat; color: #fff; font-size: 12px; text-align: center; }
div.date span { font-size: 24px; font-weight: bold; }
div.app div.body { display; inline; float: left; width: 732px; min-height: 300px; }
div.app div.body-text { padding: 10px 0 0; margin: 10px 0 0; }
div.app .pic { float: left; margin: 0 40px 0 0; background: url(../gfx/pic_bg.gif) no-repeat; padding: 12px; }

div.app h2 { position: absolute; margin-left: 546px; text-transform: uppercase; }
div.app h2 a { color: #1b1b1b; text-decoration: none; }

#tpl-blog h2 a { color: #1b1b1b; text-decoration: none; }
#tpl-blog img.pic { background: url(../gfx/pic_bg.gif) no-repeat; padding: 12px; }
