html 
{
    background: #28211d url(images/bg.jpg) repeat;
    /*background: #28211d url(images/vintage/Vintage2-lgst.jpg) repeat;*/
}

body
{
    color:#555555;
    max-width:1024px;    
    margin-left:auto;
    margin-right:auto;
    margin-top:auto;
    margin-bottom:auto;
    /*background:#FFFFFF;*/
    background: #FFFFFF url(images/cream_dust.png) repeat;
    /* background: #28211d url(images/vintage/003.jpg) repeat; */
    border: 1px solid #CCCCCC;
    /*border: 1px solid #B40404;*/
}

h1,h2,h3,h4,h5,h6
{
    text-align:center;
}

p 
{
    text-align :justify;
}

a 
{
    color:#610B0B; 
}

/* Tables are used for layout */
table
{
    width:100%;
    border-style:none;    
    border-collapse:collapse;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

div, td, tr 
{
    border-style:none;    
    border-width:0px;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

td.hleft {
	width:827px;
	height:272px;
	background-image:url(images/hleft.gif);
	background-repeat:no-repeat;
}
td.hmiddle {
	width:auto;
	height:272px;
	background-image:url(images/hmiddle.gif);
	background-repeat:repeat-x;
	display : block;
}

td.hright {
	width:299px;
	height:272px;
	background-image:url(images/hright.gif);
	background-repeat:no-repeat;
}

div.header
{    
    /* padding:10px 0px 20px 0px; */
    text-align:center;
    font-size : 24pt;
    color : #610B0B;
    
    /* font-family: 'Philosopher', sans-serif; */
    /* font-family: 'PT Serif Caption', serif; */
    font-family: 'Lobster', cursive;
    /* font-family: 'Anonymous Pro', sans-serif; */
    /* font-family: 'Ruslan Display', cursive; */

    /* font-style:italic; */
    /* font-weight:normal; */
    
    float:none;
    position:absolute;
    top : 100px;
    left : 0px;
    right : 0px;
    /* z-index:100; */ /* Overlap stack order */
    /* width : 100%; */
}

/* 
    This is needed to clear wierd behaviour after floating boxes. 
 */
div.clear
{
    float: none;
    clear: both;
    margin: 0;
    padding: 0;
    border-style: none;
    font-size: 1px;
}

/*
    Navigation menu with CSS3 found here: 
    http://www.webdesignerwall.com/demo/css3-dropdown-menu/css-gradient-dropdown.html 
*/
#nav {
	margin: 0;
        text-align:center;
        border:none;
        padding:0px 0px 0px 250px;
	line-height: 100%;
    
        /*
        background-color: #eeeeee;    
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc'); 
        background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc));
        background: -moz-linear-gradient(top,  #eeeeee,  #cccccc);
        */
        
        background-color: #610B0B;    
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8A0808', endColorstr='#610B0B'); 
        background: -webkit-gradient(linear, left top, left bottom, from(#8A0808), to(#610B0B));
        background: -moz-linear-gradient(top,  #8A0808,  #610B0B);
}
#nav li {
	padding-left:0px;
	padding-right:0px;
	padding-bottom:0px;
	padding-top:8px;
	float:left;
	position: relative;
	list-style: none;
}
/* main level link */
#nav a {
	background: #F5DA81; 
	/* font-weight: bold; */
	
	/*
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#FFBF00', endColorstr='#F5F6CE'); 
        background: -webkit-gradient(linear, left top, right bottom, from(#FFBF00), to(#F5F6CE));
        background: -moz-linear-gradient(to left top, #FFBF00, #F5F6CE);
        */
	
	color: #610B0B;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	text-align:center;
	width:78px;
	
	display: block;
	padding-right:  15px;
	padding-left:  15px;
	padding-top:  6px;
	padding-bottom:  3px;
	margin:0;	

	border-top: solid 1px #610B0B;
	border-bottom:solid 1px #610B0B;
	border-left: solid 1px #610B0B;
	border-right: solid 1px #610B0B;

	-webkit-border-top-left-radius: 50px 20px;
	-moz-border-top-left-radius: 50px 20px;	
	border-top-left-radius: 50px 20px;
	
	-webkit-border-top-right-radius: 50px 20px;
	-moz-border-top-right-radius: 50px 20px;	
	border-top-right-radius: 50px 20px; 

        /*
	-webkit-box-shadow: 1px 0px #888;
	-moz-box-shadow: 1px 0px #888;
	box-shadow: 1px 0px #888;
        */
}

/* main level link hover */
#nav .current a, #nav li:hover > a {
	background: #ffffff; 
	color: #444444;
	border-bottom: solid 1px white;
}
/* sub levels link hover */
#nav ul li:hover a, #nav li:hover li a {
        background: none;
        border-style: none;
        color: #666;
	text-shadow: none;
	
	text-align:left;
	width:120px;
        border-radius:0px;
        -webkit-bordrer-radius:0px;
        -moz-border-radius:0px;
}
#nav ul a:hover {
	background: #0399d4 !important; /* for non-css3 browsers */
	color: #fff !important;
}
/* level 2 list */
#nav ul {
	background: #eee;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#eeeeee'); /* for IE */
        background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#eeeeee)); /* for webkit browsers */
        background: -moz-linear-gradient(top,  #f8f8f8,  #eeeeee); /* for firefox 3.6+ */  
		
	display: none;
	margin: 0;
	padding: 0;
	width: 150px;
	position: absolute;
	top:34px;
	left: 0;
	border: solid 1px #b4b4b4;

	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	
	opacity:0.9;
}
/* dropdown */
#nav li:hover > ul {
	display: block;
}
#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
#nav ul a {
	font-weight: normal;
}
/* level 3+ list */
#nav ul ul {
	left: 181px;
	top: -3px;
}
/* rounded corners for first and last child */
#nav ul li:first-child > a {
}
#nav ul li:last-child > a {
}

/* clearfix */
#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#nav {
	display: inline-block;
}
html[xmlns] #nav {
	display: block;
}
* html #nav {
	height: 1%;
}

/*
    Blocks in vertical right or left columns
 */
div.block 
{
}

ul.vmenu 
{
        list-style-type:none;
        text-align:left;
        
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
        border-style:none;
    
        background-color: #f8f8f8; /* #eeeeee; */   
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc'); /* for IE */
        background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc)); /* for webkit browsers */
        background: -moz-linear-gradient(top,  #eeeeee,  #cccccc); /* for firefox 3.6+ */                
        
	width:100%;	
}

.vmenu li 
{
	padding:0px 0px 0px 0px;
	margin:0px 0px 0px 0px;
	/* float: left; */
	/* position: relative; */
	list-style:none;
	width:100%;	
	display:block;
}

.vmenu a
{
        background-color: #610B0B; /*#F5DA81;*/  
        /* background-image:url(images/orang117.gif); */
	/* font-weight: bold; */
	
	/*
        filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#F3F781', endColorstr='#F5F6CE'); 
        background: -webkit-gradient(linear, left top, right bottom, from(#F3F781), to(#F5F6CE));
        background: -moz-linear-gradient(to left top, #F3F781, #F5F6CE);
        */
	
	color: #F5DA81; /* #610B0B; */
	text-decoration: none;
	/* text-shadow: 0 1px 1px rgba(0, 0, 0, .3); */
	
	display: block;
	padding:  4px 4px 4px 10px;
	margin:0px 0px 0px 0px;

	border-top: solid 1px #B40404;
	border-bottom:solid 1px #3B0B0B;
	border-left: solid 1px #B40404;
	border-right: solid 1px #3B0B0B;

        /*
	-webkit-box-shadow: 1px 0px #888;
	-moz-box-shadow: 1px 0px #888;
	box-shadow: 1px 0px #888;
        */
}

.vmenu .current a, .vmenu li:hover > a {
	background: #F5DA81; 
	color: #610B0B;

	border-top: solid 1px #ffffff;
	border-bottom:solid 1px #B43104;
	border-left: solid 1px #ffffff;
	border-right: solid 1px #B43104;
}


ul.langmenu 
{
        list-style-type:none;
        text-align:left;
        
	margin:0px 0px 0px 0px;
	padding:0px 0px 0px 0px;
        border:none;
            
        background-color: #610B0B;    
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc'); /* for IE */
        background: -webkit-gradient(linear, left top, left bottom, from(#eeeeee), to(#cccccc)); /* for webkit browsers */
        background: -moz-linear-gradient(top,  #eeeeee,  #cccccc); /* for firefox 3.6+ */                
        
	width:100%;	
}

.langmenu li 
{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    float: left;
    /* position: relative; */
    list-style:none;
    width:25%;	
    display:block;
}

.langmenu a
{
	background: #F5DA81; 
	/* font-weight: bold; */
	
	color: #610B0B;
	text-decoration: none;
	font-size: 10pt;
	text-align : center;
	/* text-shadow: 0 1px 1px #000000;*/
	
	display: block;
	padding-top:  4px;
	padding-right:  4px;
	padding-bottom:  4px;
	padding-left:  4px;
	margin:0;

	border-top: solid 1px #ffffff;
	border-bottom:solid 1px #B43104;
	border-left: solid 1px #ffffff;
	border-right: solid 1px #B43104;

        /*
	-webkit-box-shadow: 1px 0px #888;
	-moz-box-shadow: 1px 0px #888;
	box-shadow: 1px 0px #888;
        */
}

.langmenu .current a, .langmenu li:hover > a {
	background: #eeeeee; 
	color: #444444;
}

h1.vmenu
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:left;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#f8f8f8'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f8f8f8)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fefefe,  #f8f8f8); /* for firefox 3.6+ */     

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}


h1.tags
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:left;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8FFF8', endColorstr='#E8F8E8'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#F8FFF8), to(#E8F8E8)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #F8FFF8,  #E8F8E8); /* for firefox 3.6+ */     

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}

div.tags 
{
    background-color: #E8F8E8;    
    padding:4px 10px 4px 10px;
    
    border-top: solid 1px #fff;
    border-bottom:solid 1px #ccc;
    border-left: solid 1px #fff;
    border-right: solid 1px #ccc;
}

h1.today
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:center;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8FFFF', endColorstr='#E8FFFF'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#F8FFFF), to(#E8FFFF)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #F8FFFF,  #E8FFFF); /* for firefox 3.6+ */     

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}

div.today 
{
    padding:4px 10px 4px 10px;
    background-color: #F5DA81;
    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #B43104;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #B43104;
    
    text-align: center;
}

h1.recent
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:left;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fefefe', endColorstr='#f8f8f8'); 
    background: -webkit-gradient(linear, left top, left bottom, from(#fefefe), to(#f8f8f8)); 
    background: -moz-linear-gradient(top,  #fefefe,  #f8f8f8);    

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}

ul.recent 
{
    background-color: #f8f8f8;    
    padding: 0px 4px 0px 20px;
    margin: 0px 0px 0px 0px;    
    list-style-type:circle;
    list-style-position:outside;
    text-align :left;

    border-top: solid 1px #fff;
    border-bottom:solid 1px #ccc;
    border-left: solid 1px #fff;
    border-right: solid 1px #ccc;
}

.recent li 
{
    margin:0px 0px 0px 0px;
}

.recent a
{
    background-color: #f8f8f8;    
    color: #555555;
    text-decoration: none;
    font-size:10pt;
}

.recent .current a, .recent li:hover > a {
    background-color: #f8f8f8;    
    color: #000000;
}

h1.citation
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:left;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFE8', endColorstr='#FFFFD0'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#FFFFE8), to(#FFFFD0)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #FFFFE8,  #FFFFD0); /* for firefox 3.6+ */     

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}

div.citation 
{
    padding:4px 10px 4px 10px;
    
    background-color: #F5DA81;     
    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #B43104;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #B43104;
}

h1.donation
{
    font-size:12pt;
    font-style:normal;
    font-weight:normal;
    margin:0px 0px 0px 0px;
        
    text-align:left;
    padding: 4px 10px 4px 10px;
    background-color: #eeeeee;    

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8', endColorstr='#fff0f0'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#fff8f8), to(#fff0f0)); /* for webkit browsers */
    background: -moz-linear-gradient(top,  #fff8f8,  #fff0f0); /* for firefox 3.6+ */     

    border-top: solid 1px #ffffff;
    border-bottom:solid 1px #cccccc;
    border-left: solid 1px #ffffff;
    border-right: solid 1px #cccccc;
}

div.donation 
{
    background-color: #fff0f0;    
    padding:4px 10px 4px 10px;
    
    border-top: solid 1px #fff;
    border-bottom:solid 1px #ccc;
    border-left: solid 1px #fff;
    border-right: solid 1px #ccc;
}

tr.layout
{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border-style: none;
    border-width:0px;
}

td.layout 
{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border-style: none;
    border-width:0px;
}

td.layout_left
{
    /* width:160px; */
    width:250px;
    vertical-align:top;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    background: #FFFFD0;
}

td.layout_right
{
    width:250px;
    vertical-align:top;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}

td.layout_content
{
    width:auto;
    vertical-align:top;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
}


table.content_2col
{
    width:100%;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border-style: none;
    border-width:0px;
    vertical-align:top;
}

tr.content_2col
{
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border-style: none;
    border-width:0px;
    vertical-align:top;
}

td.content_2col 
{
    width:50%;
    padding: 0px 0px 0px 0px;
    margin: 0px 0px 0px 0px;
    border-style: none;
    border-width:0px;
    vertical-align:top;
}

div.content_box
{
    padding:2px 2px 2px 2px;
    /*
    border-top: 2px solid #aaaaaa;
    border-right: 2px solid #eeeeee;
    border-bottom: 2px solid #eeeeee;
    border-left: 2px solid #aaaaaa;
    */
    margin: 0px 0px 0px 0px;
}

div.box 
{
    padding:0px 0px 0px 0px;
    /* border: 1px solid #B40404;*/
    margin: 0px 0px 4px 0px;
    border: 1px solid #CCCCCC;
}

div.article
{
    padding:10px 10px 10px 10px;
    border-style: none;
    margin: 0px 0px 0px 0px;
}

.article h1 
{
    font-size:16pt;
}
.article h2 
{
    font-size:15pt;
}
.article h3 
{
    font-size:14pt;
}

hr {
    /*    
    color:#610B0B;
    background-color:#610B0B;
    border:none;
    padding:none;
    margin:none;
    width:60%;
    height:2px;

    background-color: green;    
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#610B0B', endColorstr='#B40404', GradientType=1);
    background: -webkit-gradient(linear, left top, right top, from(#610B0B), to(#B40404)); 
    background: -moz-linear-gradient(left,  #610B0B,  #B40404); 
*/
    width: 20%;
}

tr.article_list_even
{
    background-color:#ffffff;
}

tr.article_list_odd
{
    background-color:#FFFFD0;
}

tr.article_list_even td 
{
    padding-left:4px;
    padding-right:4px;
    padding-top:8px;
    padding-bottom:8px;
}

tr.article_list_odd td 
{
    padding-left:4px;
    padding-right:4px;
    padding-top:8px;
    padding-bottom:8px;
}


td.article_list_date
{
    width:80px;   
    font-style:italic;
    padding-left:4px;
    padding-right:4px;
}

td.article_list_location
{
    width:100px;   
    font-style:italic;
    padding-left:4px;
    padding-right:4px;
}

td.article_list_title
{
    padding-left:4px;
    padding-right:4px;
    padding-top:8px;
    padding-bottom:8px;
}

tr.news_list_odd
{
    background-color:#ffffff;
}

tr.news_list_even
{
    background-color:#F8F8F8;
}

td.news_list_date
{
    width:130px;   
    font-style:italic;
    padding-left:4px;
    padding-right:4px;
}

td.news_list_header
{
    padding-left:4px;
    padding-right:4px;
}

tr.lib_list_odd
{
    background-color:#ffffff;
}

tr.lib_list_even
{
    background-color:#F8F8F8;
}

td.lib_list_title
{
    padding-left:4px;
    padding-right:4px;
}

td.lib_list_author
{
    width:200px;   
    font-style:italic;
    padding-left:4px;
    padding-right:4px;
}

div.footer 
{
    margin: 0;
    text-align:center;
    border:none;
    line-height: 100%;
    padding-top:  10px;
    padding-bottom:  10px;
            
    background-color: #610B0B;    
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#610B0B', endColorstr='#8A0808'); 
    background: -webkit-gradient(linear, left top, left bottom, from(#610B0B), to(#8A0808));
    background: -moz-linear-gradient(top,  #610B0B,  #8A0808);

    color: #F5DA81;

}

/* Tables are used for clergy */
td.clergy
{
    padding-left:4px;
    padding-right:4px;
    padding-top:4px;
    padding-bottom:4px;
}

td.decrees {
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 4px;
    padding-bottom: 4px;
    text-align: left;
    vertical-align: top;
}
