﻿/*CSS modified from the CrystalX design from www.oswd.org
    
    Output device: screen, projection
    
    Author: Vit Dlouhy (vit.dlouhy@nuvio.cz); Nuvio (www.nuvio.cz)
    Last revision: 2006-12-05, 12:00 GMT+1

    Structure:
        display | position | float | overflow | width | height | border | margin | padding | background | align | font
*/

* {min-height:1px;}
body {border:0; margin:0; padding:0; background:#F2F5FE url("/images/design/bg.gif") 0 0 repeat-x; font:70%/160% "verdana",sans-serif; color:#192666; _text-align:center;}

/*Hack to get PNG transparency in IE lt 6*/
* html img,
* html .png{
position:relative;
behavior: expression((this.runtimeStyle.behavior="none")&&(this.pngSet?this.pngSet=true:(this.nodeName == "IMG" && this.src.toLowerCase().indexOf('.png')>-1?(this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src + "', sizingMethod='image')",
this.src = "/images/design/transparent.gif"):(this.origBg = this.origBg? this.origBg :this.currentStyle.backgroundImage.toString().replace('url("','').replace('")',''),
this.runtimeStyle.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.origBg + "', sizingMethod='crop')",
this.runtimeStyle.backgroundImage = "none")),this.pngSet=true)
);
}

/*For warning window that appears only in IE6 or earlier*/
#ie6_msg { display: inline; float: left; font-size: 14px; color: #FF0000; border: 2px solid #FF0000; background-color: #192666; padding: 10px; margin: 10px;}
#ie6_msg a {color:#FFF;}

/*For emergency announcement window that appears at top of home page*/
#alert {
	background:#efefef ;
	border-left:20px #3a93d2 solid;
  	border-right:1px #777 solid;
  	border-top:1px #777 solid;
  	border-bottom:1px #777 solid;
	padding:0 1em;
	width:680px ;
	margin: 0 1.5em 1.5em 2em;
	min-height: 100px; 
  /*CSS3 box shadow*/
    -moz-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    box-shadow:2px 2px 4px rgba(0,0,0,0.7);
	}
#alert h2 {
	font-size: 1.6em;
}
#alert p{
	color:#333;
	}

a {color:#192666;}
a:hover {color:#4F6AD7;}

p {
	border: 0;
	margin: 15px 0;
	padding: 0;
	text-align: left;
}

div {display:block; border:0; margin:0; padding:0;}

h1, h2, h3, h4, h5 {border:0; margin:15px 0 10px 0; padding:0; font-weight:bold;}
h1 {font-size:260%; line-height:100%; font-family:"georgia",serif; font-weight:normal;}
h2 {font-size:180%; line-height:100%; font-family:"georgia",serif; font-weight:normal;}
h3 {font-size:120%; line-height:100%; font-family:"georgia",serif; font-weight:normal;}
h4 {font-size:120%;}
h5 {font-size:100%;}

table {display:table; border-collapse:collapse; margin:15px 0; padding:0; border:1px solid #B7CAF6; font-size:100%;}
tr {display:table-row;}
th, td {display: table-cell; border:1px solid #B7CAF6; margin:0; padding:5px; vertical-align:top; text-align:left;}
th {background:#E7ECFD; text-align:center; color:#192666; font-weight:bold;}

ul, ol {display:block; border:0; margin:15px 0 15px 40px; padding:0;}
ol {list-style-type:decimal;}
li {display:list-item; border:0; margin:0; padding:0; _height:1px;}
ul ul, ul ol, ol ol, ol ul {margin: 0 0 0 20px;}

dl {border:0; margin:15px 0; padding:0;}
dt {border:0; margin:0; padding:0; font-weight:bold;}
dd {border:0; margin:0 0 0 30px; padding:0;}

form {border:0; margin-bottom:1em; padding:0;}
fieldset {border:1px solid #ccc; margin:15px 0; padding:10px;}
legend {margin-left:10px; font-size:100%; font-weight:bold; color:#008;}

hr {display:block; height:1px; margin:10px 0; padding:0; background:#CCC; border:0 solid #CCC; color:#CCC;}

a, img, span {border:0; margin:0; padding:0;}
abbr, acronym {border-bottom:1px dotted #CCC; cursor:help;}

del, .through {text-decoration:line-through;}
strong, .strong {font-weight:bold;}
cite, em, q, var {font-style:italic;}
code, kbd, samp {font-family:monospace; font-size:110%;}

/*blockquote {
	width: 475px;
	margin : 15px 5px;
 	padding-left: 5px;  
	background: #DEE5FD url(/images/design/openquote.gif) top left no-repeat ;
	border: 2px solid #A0B9F3;
}
*/

blockquote {
	color: #192666;
	font-weight: bold;
	font-style: italic;
	margin: 1em 3em; 
	border-left: 1px dashed #999;
	padding-left: 1em; }

/*blockquote p:first-letter {
	float: left;
	margin: .2em .2em .1em 0;
	font-family: "Monotype Corsiva", "Apple Chancery", fantasy;
	font-size: 220%;
	font-weight: bold; }*/

#bq16 {
	background: #efefef;
	width:460px;
	margin-left:0;
	border: 3px double #192666;
	font: italic 140% Georgia, "Times New Roman", Times, serif;
	outline-style: double;
	padding: .5em .75em;
}

#bq16 .quote {
	  margin-bottom: .5em;
	  padding: .4em .2em;
}

#bq16 .quoter {
	  border-top: 3px double #192666;
	  padding: .3em .5em;
	  text-align: right;
}

.bluebox {
	width: 475px;
	margin : 15px 5px;
 	padding-left: 5px;  
    background: #DEE5FD;
	border: 2px solid #A0B9F3;
}

/*Pull quotes*/
#pquote {
			float: left;
			width: 8em;
			background: url(../images/design/openquote.gif) top left no-repeat;
			color: #192666;
			font: italic 1.5em Georgia, "Times New Roman", Times, serif;
			line-height: 0.9;
			padding: 0.5em;
			margin-right: 5px;
		}
		
#pquote-r {
			float: right;
			width: 8em;
			background: url(../images/design/openquote.gif) top left no-repeat;
			color: #192666;
			font: italic 1.5em Georgia, "Times New Roman", Times, serif;
			line-height: 0.9;
			padding: 0.5em;
			margin: 0;
		}

#pquote p:first-letter {
			font-size: 1.8em;
			text-align:left;
		}
		
#pquote .attribution {
	float:right ;
	font-size: 0.8em;
}
/* Floating */
.f-left {float:left;}
.f-right {float:right;}

/*Float with padding (photos)*/
.f-leftpad {float:left; padding:10px;background-color:#fff;}
.f-rightpad {float:right; padding:10px;}

/* Text align */
.t-left {text-align:left;}
.t-center {text-align:center;}
.t-right {text-align:right;}

.va-middle {vertical-align:middle;}

.clear {clear:both;}
.box {min-height:1px; _height:1px;}
.box:after {content:"."; display:block; line-height:0px; font-size:0px; visibility:hidden; clear:both;}

.nom {margin:0;}
.noscreen {display:none;}

/*Styling for captioned images*/
#cap {font-style:italic; text-align:center;border-bottom:1px gray solid;padding-top:10px;}

/*CSS3 box shadow*/
.shadow {
  	border:1px solid #c8cdd2;
    -moz-box-shadow:2px 2px 4px rgba(0,0,0,0.7);
    -webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.7);
    box-shadow:2px 2px 4px rgba(0,0,0,0.7);
    margin: 10px;
    background-color:#fff;
}
div.picr {
	margin: 1em 1em 2em 1em; 
	background-color:#fff;
	padding: 1.2em; 
	float:right;   
	/*CSS3 box shadow*/
  	border:1px solid #c8cdd2;
    -moz-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    box-shadow:2px 2px 4px rgba(0,0,0,0.7);
}
div.picr img {
	margin:0;
	padding:0;
	}
div.picr img a:link {
	text-decoration:none;
	border:0;
}
div.picr p { 
	text-align: left;
  	font-size: 11px;
  	margin-top: 5px;
	line-height: 14px;
	margin-bottom:0;
 }
div.picl {
	margin: 1em 1.2em 2em .4em; 
	background-color:#fff;
	padding: 1em; 
	float:left;   
	/*CSS3 box shadow*/
  	border:1px solid #c8cdd2;
    -moz-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    -webkit-box-shadow:2px 2px 4px rgba(0,0,0,0.4);
    box-shadow:2px 2px 4px rgba(0,0,0,0.7);
}
div.picl img {
	margin:0;
	padding:0;
	}
div.picl img a:link {
	text-decoration:none;
	border:0;
}
div.picl p { 
	text-align: left;
  	font-weight:normal;
  	font-size: 11px;
  	margin-top: 5px;
	line-height: 14px;
	margin-bottom:0;
 }

/* -----------------...........--------------------------------------------------------------------------------------- */

#main {width:770px; margin:50px auto 0 auto; _text-align:left;}

/* Header */
#header {position:relative; width:770px; height:100px; margin:0; padding:0; background:#233C9B url('../images/design/header_old.jpg') no-repeat 0 0; 
color:#FFF;
}

    /* Header - logo */
    #header #logo {position:absolute; top:5px; left:30px; margin:0;}
    #header #logo a {color:#FFF;}
    #header #logo a:hover {color:#B5C4E3; text-decoration:underline;}
    #header #logo #msg {position: absolute; top:40px; left:475px; font-size:20px; font-style:italic; color:#fff; width:300px;font-family:"georgia", serif;
}
    
    
    /* Header - Search */
    #header #search {position:absolute; top:35px; right:20px;}
    #header #search form {position:relative;}
    #header #search #search-input-out {position:absolute; top:0; right:45px; width:155px; height:28px; margin:0; padding:0; border:0; background:url("../images/design/search_input.gif") 0 0 no-repeat; font:bold 100%/100% "verdana",sans-serif; color:#192666;}
    #header #search #search-input {width:140px; margin:5px 8px; padding:3px 0; border:0; background:#FFF; font:italic 100%/100% "verdana",sans-serif; color:#192666;}
    #header #search #search-submit {position:absolute; top:0; right:0px;}
    #header #search fieldset {margin:0; padding:0; border:0;}
    #header #search fieldset {width:200px;}
    #header #search legend {display:none;}

/* Main menu (drop down) */
/* ================================================================ 
This copyright notice must be kept untouched in the stylesheet at 
all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.stunicholls.com/menu/pro_drop_1.html
Copyright (c) 2005-2007 Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */

.preload1 {background: url(../images/design/blank_over.gif);}
.preload2 {background: url(../images/design/blank_overa.gif);}

#nav {padding: 0; margin:0 5px; list-style:none; height:36px;background:url(../images/design/blank2.gif); position:relative; z-index:500;}
#nav li.top {display:block; float:left;}
#nav li a.top_link {display:block; float:left; height:36px; line-height:27px; color:#fff; text-decoration:none; padding:0 ; cursor:pointer;background: url(blank2.gif);}
#nav li a.top_link span {float:left; display:block; padding:0 24px 0 12px; height:36px;background:url(../images/design/blank2.gif) right top;}
#nav li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:36px; background:url(../images/design/blanka2.gif) no-repeat right top;}
#nav li a.top_link:hover {color:#fff; background: url(../images/design/blank_over.gif) no-repeat;}
#nav li a.top_link:hover span {background:url(../images/design/blank_over.gif) no-repeat right top;}
#nav li a.top_link:hover span.down {background:url(../images/design/blank_overa.gif) no-repeat right top;}

#nav li:hover > a.top_link {color:#fff; background: url(../images/design/blank_over.gif) no-repeat;}
#nav li:hover > a.top_link span {background:url(../images/design/blank_over.gif) no-repeat right top;}
#nav li:hover > a.top_link span.down {background:url(../images/design/blank_overa.gif) no-repeat right top;}

/* Default list styling */

#nav li:hover {position:relative; z-index:200;}

/* keep the 'next' level invisible by placing it off screen. */
#nav ul, 
#nav li:hover ul ul,
#nav li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul ul
{position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}

#nav li:hover ul.sub
{left:0; top:31px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:160px; height:auto; z-index:300;}
#nav li:hover ul.sub li
{display:block; height:20px; position:relative; float:left; width:160px; font-weight:normal;}
#nav li:hover ul.sub li a
{display:block; font-size:11px; height:20px; width:160px; line-height:20px; text-indent:5px; color:#000; text-decoration:none;}
#nav li ul.sub li a.fly
{background:#fff url(../images/design/arrow.gif) 155px 7px no-repeat;}
#nav li:hover ul.sub li a:hover 
{background:#3a93d2; color:#fff;}
#nav li:hover ul.sub li a.fly:hover
{background:#3a93d2 url(../images/design/arrow_over.gif) 155px 7px no-repeat; color:#fff;}

#nav li:hover ul li:hover > a.fly {background:#3a93d2 url(../images/design/arrow_over.gif) 155px 7px no-repeat; color:#fff;} 

#nav li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul,
#nav li:hover ul li:hover ul li:hover ul li:hover ul li:hover ul
{left:150px; top:-4px; background: #fff; padding:3px; border:1px solid #3a93d2; white-space:nowrap; width:160px; z-index:400; height:auto;}

/* Page (2 columns) */
#page {width:770px; min-height:1px; background:#FFF url("../images/design/bg_page.gif") 0 0 repeat-y; _height:1px;}
#page #nobkg {width:770px; min-height:1px; background:#FFF; _height:1px;}
#page-in {min-height:1px; padding:10px 0; background:url("../images/design/bg_page_in.jpg") 0 0 no-repeat; _height:1px;}

/* Strip */
#strip {position:relative; clear:both; padding:3px 20px 10px 20px; color:#6182D1;}
#strip p {margin:0;}
#strip a {color:#6182D1;}
#strip a:hover {color:#192666;}

    /* Strip - breadcrumbs */
    #strip #breadcrumbs {width:520px; margin:0; padding:0;}
    
    /* Strip - RSS */
    #strip #rss {float:right; width:175px; _width:200px; margin:0; padding-left:25px; background:url("../images/design/ico_rss.gif") 0 50% no-repeat}

/* Content */
#content {float:left; width:530px; _width:550px; margin:0; padding:0 0 0 20px;}
#content .wide {float:left; width:730px; _width:750px; margin:0; padding:0 0 0 20px;}

    /* Content - article */
    #content .article {clear:both; margin:0; padding:20px; background:url("../images/design/content_article_bg.jpg") 0 0 no-repeat;}
    #content .article h2 {margin:0 -20px; padding:10px; background:#DEE5FD url("../images/design/content_title_bg.gif") 0 0 repeat-y; color:#192666;}
    #content .article h2 span {background:url('../images/design/spiral.png') 0 50% no-repeat; padding-left:25px;}
    #content .article h3 {border-bottom:1px gray dotted; text-transform:uppercase;}

    
    #content .article p {text-align: left;}
    #content .article ul {margin:0 10px; padding:0; list-style:disc;}
    #content .article ul li {margin:0 5px 10px 0; padding:0;}
    
    #content .info {margin:10px 0; padding-bottom:8px; border-bottom:1px solid #DEE5FD; color:#6685CC;}
    #content .info a {color:#6685CC;}
    #content .info a:hover {color:#FF9000;}
    
    #content .info span.date, #content .info span.cat, #content .info span.user, #content .info span.comments {padding-left:15px;}
    #content .info span.date {background:url("../images/design/ico_date.gif") 0 50% no-repeat;}
    #content .info span.cat {background:url("../images/design/ico_cat.gif") 0 50% no-repeat; margin-left:8px;}
    #content .info span.user {background:url("../images/design/ico_user.gif") 0 50% no-repeat; margin-left:8px;}
    #content .info span.comments {background:url("../images/design/ico_comments.gif") 0 50% no-repeat; margin-left:8px;}

    /* Content - More */
    #content .btn-more {margin:0 0 15px 0; padding:0; border:0; position:relative;}
    #content .btn-more a {display:block; position:absolute; top:0; right:0; width:67px; _width:95px; height:21px; margin:0; padding:0 0 0 28px; background:url("../design/btn_more.gif") 0 0 no-repeat; color:#FFF; text-decoration:none;}
    #content .btn-more a:hover {background:url("../images/design/btn_more.gif") -95px 0 no-repeat;}

/* Right column */
#col {float:left; width:200px; margin:0; padding:0; background:#CEDBF9 url("../images/design/col_bg.gif") 0 0 repeat-y;}
#col-in {padding:20px 10px; background:url("../images/design/col_top.gif") 0 0 no-repeat;}
#col h3 {padding:13px 15px 14px 15px; margin:0 -10px 15px -10px; background:#A0B9F3 url("../images/design/col_title_bg.gif") 0 0 repeat-y; color:#192666;}

    /* Right column - About me */
    #col #about-me {margin-bottom:15px; line-height:130%;}
    #col #about-me p {margin:0;}
    #col #about-me #me {float:left; width:54px; height:58px; margin-right:7px;}

    /* Right column - Category */
    #col ul#category {margin:15px 0; padding:0; list-style:none;}
    #col ul#category li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
    #col ul#category li a {display:block; padding:3px 0 3px 22px; background:url("../images/design/ico_archive.gif") 5px 6px no-repeat; text-decoration:none;}
    #col ul#category li a:hover {background-color:#D3DFF8; color:#192666;}
    #col ul#category li#category-active a {background:#E0E8FA url("../images/design/ico_archive2.gif") 5px 0 no-repeat; font-weight:bold;}
    
    /* Right column - Archive */
    #col ul#archive {margin:15px 0; padding:0; list-style:none;}
    #col ul#archive li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
    #col ul#archive li a {display:block; padding:3px 0 3px 22px; background:url("../images/design/ico_archive.gif") 5px 50% no-repeat; text-decoration:none;}
    #col ul#archive li a:hover {background-color:#D3DFF8; color:#192666;}
    #col ul#archive li#archive-active a {background:#E0E8FA url("../images/design/ico_archive2.gif") 5px 6px no-repeat; font-weight:bold;}
    
    /* Right column - Links */
    #col ul#links {margin:15px 0; padding:0; list-style:none;}
    #col ul#links li {margin:0; padding:0; border-bottom:1px solid #E0E8FA;}
    #col ul#links li a {display:block; padding:3px 0 3px 22px; background:url("../images/design/ico_links.gif") 5px 6px no-repeat; text-decoration:none;}
    #col ul#links li a:hover {background-color:#D3DFF8; color:#192666;}
    #col ul#links ul {list-style:none;}

/* Footer */
#footer {position:relative; clear:both; width:770px; height:60px; margin-bottom:50px; background:url("../images/design/footer.jpg") 0 0 no-repeat; color:#6685CC;font-size:xx-small;}
#footer a {color:#6685CC;}
#footer a:hover {color:#192666;}

    /* Footer - "back to top" tab*/
    #top {position:absolute; top:55px; left:550px;}
    #top p {position:relative; width:30px; height:25px; margin:0; overflow:hidden;}
    #top p span {display:block; position:absolute; left:0; top:0; z-index:1; width:30px; height:25px; background:url("../images/design/ico_top.gif") -30px 0 no-repeat; cursor:pointer;}
    #top a:hover span {background:url("../images/design/ico_top.gif") -30px 0 no-repeat;}

    /*  Footer - copyright information*/
    #contact {position:absolute; top:5px; left:40px; margin:0;}

    /* Footer - design by */
    #createdby {position:absolute; top:5px; left:560px; margin:0; color:#8CA3D8;font-size:xx-small;}
    #createdby a {color:#8CA3D8;}

/*Styling for jQuery slide show*/
#myslides {
	/*Uncomment the next two lines if you want the image to have a frame*/
	/*width: 495px; /*image width plus 20px*/
	/*height: 338px; /*image height plus 20px*/
    padding: 0;
    margin: 0 auto;
    position:relative;
} 

#myslides img {
	/*Uncomment the next two lines if you want the image to have a frame*/
   /* padding: 10px;*/
   /* border:  1px solid rgb(100,100,100);*/
    /*background-color: rgb(230,230,230);*/
    width: 475px; /*actual image width*/
    height: 318px; /*actual image height*/
    top:  0;
    left: 0
}

