/* =================================================== */
/* --- RESPONSIVE CSS (ADD TO style.css) --- */
/* =================================================== */

@media screen and (max-width: 600px) {

    /* 1. Overall Container Fluidity */
    /* Target the main wrapper elements to remove fixed width */
    #wrapper, #container, #page {
        width: 100%;
        min-width: 0; /* Important: ensures no minimum width constraints */
        margin: 0;
        padding: 0;
    }

    /* 2. Content Stacking and Flow */
    #content {
        /* Remove any fixed height or overflow rules that might block content */
        overflow: visible;
    }

    /* Stack main content and sidebar vertically */
    #center, #right {
        width: 95%; /* Make content and sidebar nearly full width */
        float: none; /* Remove side-by-side floating */
        margin: 0 auto; /* Center the elements */
        padding: 10px 0;
    }
    
    /* Ensure the sidebar (right) looks clean when full width */
    #right {
        margin-top: 20px;
        border-top: 1px solid #ccc; /* Optional visual separator */
    }


    /* 3. Navigation Simplification (Mobile Menu) */
    #nav1 ul {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* Stack navigation items vertically */
    #nav1 ul li {
        width: 100%; /* Make each link full width */
        text-align: center;
        margin: 0;
        border-bottom: 1px solid #eee; /* Visual separation for stacked links */
        display: block; /* Ensures links stack */
    }
    
    /* Remove horizontal border on the Presentation link */
    #nav1 ul li#current {
        border-right: none !important;
    }
    
    /* Adjust padding/height for touch targets */
    #nav1 ul li a {
        padding: 15px 0; /* Increase padding for easy tapping */
        display: block;
    }
    
    /* 4. Fluid Images */
    /* If you have images, this prevents them from stretching the layout */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 5. Footer Adjustment */
    #footerWrapper, #footer {
        width: 100%;
        padding: 10px 0;
        text-align: center;
    }
}

/* 
----------------------------------------------------------------------------------------

Copyright 2010 - Thierry Ruiz - www.dotemplate.com - All rights reserved.

THIS TEMPLATE IS FREE AS LONG AS YOU KEEP THE LINK TO WWW.DOTEMPLATE.COM IN THE FOOTER
TO REMOVE THE LINK, PLEASE MAKE A 10 DOLLARS DONATION at www.dotemplate.com/#donate

----------------------------------------------------------------------------------------
*/


html {
	background: #f0f0f0;
	margin:0 0 0 -1px;
	padding:0;	
	overflow-Y: scroll;
}


body {
	padding:0;
	margin :0;
	display:table; 
	width:100%;	
}


					body {
	color:#606060;
	font-family: 'Trebuchet MS', sans-serif;
	font-size: 13px;
	font-style: normal;
	font-weight: normal;
	text-transform: normal;
}

p {
	letter-spacing: normal;
	line-height: 1.7em;
}

h1 {
	color:#820000;
	font-size:22px;
	margin:25px 0 10px 0;
	clear:both;
}


h2 {
	color:#820000;
	font-size:20px;
	margin:20px 0 10px 0;
	clear:both;
}


h3 {
	color:#820000;
	font-size:18px;
	margin:20px 0 5px 0;
	clear:both;
}



a:link, a:visited {
	color:#1860a8;
	text-decoration:none;
}


a:hover {
	color:#fa720a;
	text-decoration:underline;
}
	
					
#wrapper {
	background: transparent url( ../images/css/page-vbg.jpg ) repeat-y scroll 50% 0px;
	margin:0 auto ;
	width:100%;
}

					body {
	background-color:#f0f0f0;
}

#wrapper {
	border-top: 1px solid #ffffff;
}
	

#bg {
	margin:0 auto;
	padding:0;
	background:transparent ;
	background-image:url(../images/css/hat.jpg);
 	background-repeat:no-repeat;	
	background-position: center top ;
}



					#header {
	margin: 0 auto;
	height: 150px;
	width: 880px;
	position:relative;
}
	

#page {
	background: transparent url( ../images/css/page-bg.jpg ) no-repeat center top;
}


					


#container {
	margin:0 auto;
	width:880px;
}


					

#nav1 {
	height:35px;
	margin:0 auto ;
	text-align:center;
}

#nav1 ul {
	display:table;
	margin:0 auto;
	padding:0;
	list-style-type:none;
	position:relative;
	height:35px;
	text-transform:uppercase;
	font-size:12px;
	font-family:Arial,sans-serif;
}





#nav1 ul li {
	display:block;
	float:left;
	margin:0;
	padding:0;
	background:transparent url('../images/css/hmenu.jpg') repeat-x top left;

}


#nav1 ul li a {
	display:block;
	float:left;
	color:#FFFFFF;
	text-decoration:none;
	padding:0px 50px ;
	line-height:35px;
	font-weight:bold;
}


#nav1 ul li a:hover, #nav1 li#current a {
	color:#d8d8f0;
	background:transparent url('../images/css/hmenu-sel.jpg') repeat-x top left;
}



tr.header
{
	color:#d8d8f0;
	background:transparent url('../images/css/hmenu-sel.jpg') repeat-x top left;
}


tr.header2
{
	color:#d8d8f0;
	background:transparent url('../images/css/hmenu-sel.jpg') repeat top left;
}

td.header
{
	color:#d8d8f0;
	background:transparent url('../images/css/hmenu-sel.jpg') repeat top left;
}



table.cent {
border: medium solid #000000;
width: 95%;
}


table.withbord {
border: medium solid #000000;
width: 95%;
}


table.withoutbord {
}
	

#nav1 {
	padding-top: 1px;
}


#content {
	width:878px;
	margin:10px ;
	text-align:left;
	min-height:800px;
}


#content p {
	text-align:justify;
}
	



#footerWrapper {
	margin:0 auto;
	height:110px;
	padding:0;
	background:transparent url( ../images/css/footerWrapper-bg.jpg ) no-repeat scroll center top;
}


#footer {
	margin:0 auto;
	padding:0;
	width:880px;
	height:70px;
}


					#footer {
	color:#FFFFFF;
	text-align:center;
}

#footer a:link, #footer a:visited {
	color:#FFFFFF;
}


#footer a:hover{
	color:#ffb508;
	text-decoration:none;
}

	
	
					
#right {
	width:200px;
	padding:10px 20px 20px 20px;
	float:left;
}


#center {
	width:598px;
	padding:10px 20px 20px 20px;
	float:left;
}

 
#content p {
	margin-top:10px;
	text-align:justify;
}


										
#sidebar ul.vmenu {
	list-style: none;
	text-align: left;
	margin: 7px 0px 8px 0px; 
	padding: 0;
	text-decoration: none;	
	border-top: 1px solid #e92308;
}


#sidebar ul.vmenu li {
	list-style: none;
	padding: 4px 0 4px 0px;
	margin: 0 2px;	
	border-bottom: 1px solid #e92308;
}



#sidebar ul.vmenu li a {
	text-decoration: none;
	color:#54003f;
}


#sidebar ul.vmenu li a:hover {
	color:#d3a708;
}


#sidebar ul.vmenu ul { margin: 0 0 0 5px; padding: 0; }
#sidebar ul.vmenu ul li { border: none; }


			


a img {
	border:none;
} 


.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
