
* { margin: 0; padding: 0; }

/* General Style Info */
body { font-size: 14px; color: #444; line-height: 1.7em; font: normal 16px "Trebuchet MS",Verdana,sans-serif; /*font-family:"Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif;*/ background: url(../img/bg-middle.jpg) repeat-y top center; }
p { color: #444444; font-size: 13px; /*font-family: Arial, Helvetica, sans-serif;*/ padding: 0 12px 0px; margin-bottom: 20px; font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif; }
a { text-decoration: none; outline: none; }
a:hover { text-decoration: underline; }
li { font-size: 12px; font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif; }
li a { }

a.nav { color: #000; text-decoration: none; font-size: 12px; padding: 1px 4px; line-height: 24px; background: #cdddef; -moz-border-radius: 6px; -webkit-border-radius: 6px; border: 1px solid #9ab8dc; font-size: 12px; }
a.nav:hover { background: #2B67AF; color: #fff; text-decoration: none; border: 1px solid #000; }
a img { border: none; }
a.edit-post:hover { background-color: #f4f4f4; display: block; }
a:link { text-decoration: underline; color: #5291c7; }

a:visited { text-decoration: underline; color: #5291c7; }
a:hover { text-decoration: underline; color: orange; }
a.active { font-weight: bold; }

h1, h2, h3, h4 { font-weight: normal; margin-left: 0; font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif; }
h1 { color: #003d4c; margin: 0.1em 0; }
h2 { margin-bottom: 16px; padding: 0 25px 0 10px; /*font: normal 22px Georgia, "Times New Roman", Times, serif;*/ height: 35px; line-height: 35px; text-shadow: 1px 2px 2px #214570; background-color: #2B67AF; color: #fff; }
h2 a { text-decoration: none; color: #222; display: block; }
h3 { color: #993; /*	font: normal 23px Georgia, "Times New Roman", Times, serif;*/ margin-bottom: .6em; line-height: 20px; }
h4 {color: #000; font-weight: normal; font-size: 19px; margin-bottom: 16px; letter-spacing: -1px; }
ul, li { margin: 0; }
ul { list-style-type: square; margin-left: 25px; }

/* Layout */
#wrapper { height: 100%; width: 100%; background: url(../img/bg-top.jpg) no-repeat top center; }
#inner-wrapper { padding-bottom: 228px; background: url(../img/bg-bottom.jpg) no-repeat bottom center; }
#header { height: 264px; }
#content { margin: 0 auto 8px; width: 800px; padding: 25px; opacity: 1; background-color: #fff; -moz-border-radius: 30px; -webkit-border-radius: 30px;  }

/* Tables */
table { background: #fff; border: 1px solid #ccc; border-right: 0; clear: both; color: #333; margin-bottom: 10px; width: 100%; font-size: 12px; }
th { background: #f2f2f2; border: 1px solid #bbb; border-top: 1px solid #fff; border-left: 1px solid #fff; text-align: center; }
th a { background: #f2f2f2; display: block; padding: 2px 4px; text-decoration: none; }
th a:hover { background: #ccc; color: #333; text-decoration: none; }
table td { background: #fff; border-right: 1px solid #ccc; padding: 4px; border-bottom: 1px solid #ccc; }


/* Form */
form { color: #000; }
label { width: 200px; display: block; float: left; font-weight: bold; font-size: 12px; color: #185e8e; }
input[type=text], input[type=password], textarea   { width: 255px; padding: 3px 0 3px 0; font-size: 13px; line-height: 15px; margin-bottom: 12px;}
input[type=submit] { float: right; }

input:focus, textarea:focus { background-color: #e7eff8; }

.thumbs { margin: 0 auto 0; text-align: center; }
.thumb-container { display: inline-block; margin-left: 8px; vertical-align: middle; width: 145px; /* Total width of each image box */ margin-bottom: 12px; position: relative;}
.thumb-container small { display: block; padding: 4px 3px 0; line-height: 10px; font-size: 9px; cursor: text; text-align: center; min-height: 20px; }
.thumb { border: 1px solid #DDD; margin: 0 auto; width: 135px; max-height: 130px; padding: 5px; background-color: #f4f4f4; position: relative; line-height: 101px; }
.thumb:hover { border: 1px solid #bdbdbd; background-color: #d5d5d5; }
.thumb img { margin: 0 auto; vertical-align: middle; max-width: 100%;}
.thumb-container .info { position: absolute; right: -2px; background-color: #fff; opacity: 0; top: 0; color: #000; font-size: 12px; padding: 4px; border: 1px solid #DDD; border-right: none; border-top: none; text-align: center; }
.thumb-controls { position: absolute; right: -15px; opacity: 0; top: -11px; color: #000; font-size: 12px; padding: 4px; text-align: center; z-index: 40 }
.thumb-controls a { background: url(../img/comment_add.png) no-repeat 0 0; height: 32px; width: 32px; display: block; }
.thumb .info a.delete { right: 0; }

.error { color: red; }	

.post-date { display: block; color: #777; font-size: 10px; font-family: "Trebuchet MS",Verdana,sans-serif; }
.comment-counter { font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif; font-size: 40px; color: #e7ebf7; margin-right: 0px; margin-top: -6px; }

a.delete:hover { background-color: red; }
a.edit:hover { background-color: green; }
hr { width: 90%; border: 0; border-bottom: 1px dotted #c9c9c9; margin: 0 auto 1.5em; padding: 0; }

#thumb-details { margin-top: 30px; }
#thumb-details .comments-section, 
#thumb-details .preview { float: left; width: 50%; }
#thumb-details .comments { padding: 0 10px 20px 10px; }
.even { background: #fafafa; }
.comment p { color: #333333; margin-bottom: 0; padding-top: 5px; }
.comment hr { margin: .5em 0 1em; width: 100%; }
#thumb-details img { }
.comment-link { font-size: 10px; display: block; display: none; }
.thumb-stats { position: absolute; height: 20px; left: 144px; top: -18px;vertical-align: top}
.thumb-stats .comments-count { color: #444444; height: 32px; width: 32px; font-size: 11px; display: block; background: url(../img/comment.png) no-repeat 0 0; text-align: center; position: absolute; right: -11px; top: 9px; z-index: 21; padding-top: 0; line-height: 24px; vertical-align: top; }

.comment .close:hover { background-position: 0 -29px; }
.comment p.success { color: #000; text-align: center; font-size: 16px; padding-top: 20px; }
.form-wrapper { /*background-color: #f4f6fb;*/ padding: 15px; -moz-border-radius: 6px; -webkit-border-radius: 6px; border: 1px solid #d3daed; margin-bottom: 24px; width: 300px; margin: 0 auto; }
.form-wrapper .text input, .form-wrapper .textarea textarea { width: 100%; border: 1px solid #dbdfe6}
.form-wrapper input[type=submit] { font-size: 14px; color: #fff; background-image: -moz-linear-gradient(top, #6bc500, #228c00); background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #6bc500),color-stop(1, #228c00)); padding: 3px 10px; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; box-shadow: 0px 0px 2px red; border: 1px solid #007800; }
.form-wrapper input[type=submit]:hover { color: yellow; -moz-box-shadow: 0px 0px 12px #5fae00; -webkit-box-shadow: 0px 2px 12px #5fae00; }

.leave-comment { color: green; padding: 0 3px; }
.leave-comment:hover { background-color: green; color: #fff; }

.hide { display: none; }
.thumb-container:hover .comment-link { display: block; }
.breadcrumb  { list-style-type: none; margin: 0 0 18px; }
.breadcrumb li { float: left; margin-right: 6px; }
.breadcrumb { font-family: "Lucida Grande","Lucida Sans Unicode",Verdana,Helvetica,Arial,sans-serif; }
#footer { text-align: center; color: #cfebff; font-size: 12px; }

#ie-message { padding: 10px; margin-bottom: 10px; border: 2px solid red; display: none; }

.thumbs:after, form:after, .thumb-container:after, .article:after, #thumb-details:after, .breadcrumb:after  { content: "."; display: block; visibility: hidden; clear: both; height: 0; }

/*Lightbox */
/*Photos viewer (unfinished)*/
#blackout { position: absolute; width: 100%; background-color: #f0f0f0; height: 1px; top: 0; left: 0; font-size: 1px; z-index: 19000 }
#blackout span { position: absolute; left: 50%; top: 50%; display: block; background-color: #000; width: 200px; margin-left: -100px; text-align: center; }
#v_container { 
	background-color: #fff;
	background-position: 50% 50%; background-repeat: no-repeat;
 	position: absolute; width: 100px; height: 100px; top: 0; left: 0; visibility: hidden; overflow: visible;z-index: 20000 }
.v_container-load {
	background-image: url(/img/ajax-loader.gif); 
}
#v_caption { position: absolute; }
#v_caption span { font-family: Candara,Arial,Helvetica,sans-serif; font-size: 14px; font-weight: bold;}
#v_container #v_pager { position: absolute; font-weight: bold;}
#v_container #v_pager span.next, #v_container #v_pager span.prev { display: none; }
#v_screenshot { position: relative; float: left; margin-right: 5px; display: none;}
#v_screenshot span#v_panel-prev, #v_screenshot span#v_panel-next { cursor: pointer; position: absolute; display: block; font-size: 25px; background: url(../_images/pixel.gif) no-repeat 0 0; }
#v_screenshot span#v_panel-next { right: 0;}

/*defaulting*/
#v_tl, #v_tr, #v_bl, #v_br, #v_b { position: absolute; bottom: 0; }
#v_tr, #v_tl, #v_t { top: 0; }
#v_bl, #v_tl, #v_b { left: 0; }
#v_br, #v_tr {right: 0; }
#v_t {width: 90%; position: relative; left: 50%; margin-left: -45%; }
#v_button-next, #v_button-prev, #v_button-close, #v_button-maximize,
#v_button-close_hook { display: block; position: absolute; cursor: pointer; }
#v_button-next { right: 10px; bottom: 12px; }
#v_button-prev { left: 10px; bottom: 12px; }

/* hover states defined through jQuery plugin, if image only has one state, background graphics need to have hover state */
#v_container { border: 1px solid #dadada; padding: 8px 8px 0;-moz-border-radius: 15px;-webkit-border-radius: 15px;}
#v_caption { left: 45px; bottom: 8px; width: 80%; min-height: 40px;}
#v_caption span { font-family: Candara,Arial,Helvetica,sans-serif; font-size: 14px; color: #000; }
#v_container #v_pager { position: absolute; right: 40px; bottom: 30px; font-size: 12px; color: #bdbdbd; font-style: italic;}
#v_button-next, body #v_button-prev, body #v_button-close, #v_button-close_hook { height: 26px; width: 26px; }
#v_button-next { right: 5px; bottom: 4px; }
#v_button-prev { left: 4px; bottom: 4px; }
#v_button-close {height: 24px; width: 24px; right: 4px; top: 6px; z-index: 2052;  }
#v_button-close_hook { height: 6px; width: 21px; height: 24px; width: 24px; right: 6px; top: 29px; z-index: 2052; }
#v_button-maximize { background-image: url(../img/lightbox-maximize.gif);  right: 8px; bottom: 30px; height: 20px; width: 23px; }
#v_container:after, #v_mc:after { display: block; height: 1px; content: " "; clear: both; }

#v_t { height: 9px; }
#v_l { float: left; height: 95%; width: 9px; }
#v_r { width: 11px; float: right; height: 95%; }
#v_b { height: 70px; width: 95%; }

/* hover states defined through jQuery plugin, if image only has one state, background graphics need to have hover state */
body.diablo #v_container { background-color: #000; }
body.diablo #v_caption { left: 45px; bottom: 10px; }
body.diablo #v_caption span { font-family: Candara,Arial,Helvetica,sans-serif; font-size: 14px; color: #e3e3e3; }
body.diablo #v_container #v_pager { position: absolute; right: 40px; bottom: 11px; font-size: 12px; color: #e3e3e3}
body.diablo #v_button-next, body.diablo #v_button-prev, body.diablo #v_button-close
body.diablo #v_button-close_hook { height: 26px; width: 26px; }
body.diablo #v_button-next { background-image: url(../img/lb/diablo/lightbox-arrowright.gif); right: 5px; bottom: 4px; }
body.diablo #v_button-prev { background-image: url(../img/lb/diablo/lightbox-arrowleft.gif); left: 4px; bottom: 4px; }
body.diablo #v_button-close { background-image: url(../img/lb/diablo/lightbox-close.gif); height: 24px; width: 24px; right: 4px; top: 6px; z-index: 2052;  }
body.diablo #v_button-close_hook { height: 6px; width: 21px; background-image: url(../img/lb/diablo/lightbox-close-b.png); height: 24px; width: 24px; right: 6px; top: 29px; z-index: 2052; }
body.diablo #v_button-maximize { background-image: url(../img/lb/diablo/lightbox-maximize.gif); right: 65px; bottom: 9px; height: 20px; width: 23px; }
#v_container:after, #v_mc:after { display: block; height: 1px; content: " "; clear: both; }


body.diablo #v_t { background: url(../img/lb/diablo/lightbox-t.gif) repeat-x 0 0; height: 29px; }
body.diablo #v_tl { background: url(../img/lb/diablo/lightbox-corner-tl.gif) no-repeat 0 0; width: 113px; height: 105px; }
body.diablo #v_tr { background: url(../img/lb/diablo/lightbox-corner-tr.gif) no-repeat 0 0; width: 178px; height: 84px; z-index: 2051;}
body.diablo #v_l { background: url(../img/lb/diablo/lightbox-l.gif) repeat-y 0 0; float: left; height: 95%; width: 9px; }
body.diablo #v_r { background: url(../img/lb/diablo/lightbox-r.gif) repeat-y 0 0; width: 9px; float: right; height: 95%; }
body.diablo #v_b { height: 34px; width: 95%; background: url(../img/lb/diablo/lightbox-b.gif) repeat-x 50% 0;}
body.diablo #v_bl { background: url(../img/lb/diablo/lightbox-corner-bl.gif) no-repeat 0 0; width: 185px; height: 103px; }
body.diablo #v_br { background: url(../img/lb/diablo/lightbox-corner-br.gif) no-repeat 0 0; width: 71px; height: 87px;}