@charset "utf-8";
html{
	height:100%;
	margin:0px;
}
body {
	background-color:#616775;
	background-repeat:repeat;
	font-family:Verdana, Geneva, sans-serif;
	color:#FFF;
	font-style:normal;
	margin:0px;
	padding:0px;
	height:100%;
} 

#topbg {
	background-image:url(../images/topbg.jpg);
	background-size: 980px 527px;
	width:980px;
	height:527px;
	margin:0px;
}
#center1 {
	margin:auto;
	width:980px;
	margin-top:0px;
	margin-bottom:0px;
	height:100%;
}
#center2 {
	background-image:url(../images/bgrepeat.jpg);
		background-repeat:repeat;
	margin:0px;
	width:980px;
	margin-top:0px;
	margin-bottom:0px;
	min-height:100%;
	height:auto;
	overflow:hidden;
}
#header {
	background:none;
background-color:transparent;
margin:0px;
padding:0px;

}

#header img {
    width:512px;
    height:129px;
}
#nav {
	float:left;
	width:300px;
	height:auto;
	margin-left:50px;
	margin-top:165px;
	border:0px;
	padding:0px;
}

#content {
	float:left;
	width:540px;
	height:auto;
	margin-left:30px;
	margin-top:165px;
	border:0px;
	padding:0px;
	background-color:#becce6;
	margin-bottom:15px;
}
#contentpad {
	padding:15px;
}

#footer{
	color:#943517;
	font-size:9.5pt;
	clear:both;
	text-align:center;
	padding-bottom:2px;
}

h1 {
	font-family:Verdana, Geneva, sans-serif;
	font-size:16px;
	color:#FFFFFF;
	background-color:#943517;
	font-weight:bold;
	padding:5px;
	padding-left:15px;
	margin:0px;
}
h2 {
	font-family:Verdana, Geneva, sans-serif;
	font-size:14px;
	color:#000;
	font-weight:bold;
	padding:0px;
	margin:0px;
}
div#content p {
	font-family:Verdana, Geneva, sans-serif;
	font-size:14px;
	color:#000;
	margin-top:0px;
	line-height:170%; 
} 

div#content li {
	font-family:Verdana, Geneva, sans-serif;
	font-size:14px;
	color:#000;
} 

div#content a:link {
	text-decoration:none;
	color:#943517;
}
div#content a:visited {
	text-decoration:none;
	color:#943517;
}
div#content a:hover {
	text-decoration:none;
	color:#FFF;
}
div#content a:active {
	text-decoration:none;
	color:#943517;
} 

div#content img {
	float:right;
	margin-left:10px;
	border:1px #000 solid;
	margin-bottom:15px;
    width: 180px;
    height: auto;
	
} 






#nav ul {
	list-style-type:none;
	margin:0;
	padding:0;
	float:left;
    width:126px;

}
#nav ul a {
	display:block;
	font-family:Verdana, Geneva, sans-serif;
	font-size:16px;
	color:#FFFFFF;
	border-style:solid;
	border-width:1px;
	border-color:#000;
	width:120px;
	background-color:#943517;
	text-align:left;
	padding:6px;
	margin-bottom:5px;
	text-decoration:none;
	overflow: hidden;
}
#nav a:hover {
	background-color:#FFF;
	color:#943517;
}

#nav ul li ul {
	list-style-type:none;
	margin:0;
	padding:0;
	float:left;
	margin-top:-35px;
			margin-left:140px;
			position:absolute;

}
#nav ul li ul li a:link,a:visited {
	display:block;
	font-family:Verdana, Geneva, sans-serif;
	font-size:16px;
	color:#FFF;
	border-style:solid;
	border-width:1px;
	border-color:#000;
		width:165px;

	background-color:#943517;
	text-align:left;
	padding:6px;
	margin-bottom:5px;
	text-decoration:none;
}
#nav ul li ul li a:hover {
	background-color:#FFF;
	color:#943517;
}


a img {border: none;}


#nav > a
    {
        display: none;
    }

#nav > a > div {
    width: 30px;
    height: 2px;
    background-color: white;
    margin: 3px 0;
}

@media only screen and ( max-width: 512px ) /* 640 */
{  
    #header img {
        width:100%;
    }
}

@media only screen and ( max-width: 390px ) /* 640 */
{  
     div#content img {
        float:right;
        margin-left:10px;
        border:1px #000 solid;
        margin-bottom:15px;
        width: 100%;
        height: auto;
     }  
}


@media only screen and ( max-width: 950px ) /* 640 */
{    
    #topbg {
	background-image:url(../images/topbg.jpg);
	background-size: 980px 527px;
	width:100%;
	height:527px;
	margin:0px;
}
    #center1 {
	margin:auto;
	width:100%;
	margin-top:0px;
	margin-bottom:0px;
	height:100%;
    overflow: visible;

}
#center2 {
	background-image:url(../images/bgrepeat.jpg);
		background-repeat:repeat;
	margin:0px;
	width:100%;
	margin-top:0px;
	margin-bottom:0px;
	min-height:100%;
	height:auto;
    overflow: auto;

}
#header {
	background:none;
background-color:transparent;
margin:0px;
padding:0px;

}

#nav {
	float:left;
	width:90%;
	height:auto;
	margin-left:10px;
	margin-top:35px;
	border:0px;
	padding:0px;
}

#content {
    float: none;
    clear: left;
	width:90%;
	height:auto;
	margin-left:10px;
	margin-top:50px;
	border:0px;
	padding:0px;
	background-color:#becce6;
	margin-bottom:15px;
}
#contentpad {
	padding:15px;
}
    
    

        #nav > a
        {
            display: block;
            font-family:Verdana, Geneva, sans-serif;
            font-size:16px;
            color:#FFFFFF;
            border-style:solid;
            border-width:1px;
            border-color:#000;
            background-color:#943517;
                        text-align:left;
            padding:6px;
            margin-bottom:5px;
            text-decoration:none;
            overflow: hidden;
            width: 30px;
        }
    
    #nav > a:hover
        {
            display: block;
            font-family:Verdana, Geneva, sans-serif;
            font-size:16px;
            color:#FFFFFF;
            border-style:solid;
            border-width:1px;
            border-color:#000;
            background-color:#943517;
                        text-align:left;
            padding:6px;
            margin-bottom:5px;
            text-decoration:none;
            overflow: hidden;
            width: 30px;
        }
 
    /* first level */
 
    #nav > ul
    {
        display: none;
    }
        
}

@media only screen and ( max-width: 325px ) /* 640 */
{  

    #nav {
	width:318px;
}
    
   
}

#center2 {
  margin-bottom: -18px; 
}
#center2:after {
  content: "";
  display: block;
}
.site-footer, #center2:after {
  height: 18px; 
}

.site-footer {
  background: #943517; /*#becce6;*/
     color: white;  
    font-size:9.5pt;
    clear:both;
    text-align:center;
}
.site-footer a:link, 
.site-footer a:visited,
.site-footer a:hover,
.site-footer a:active {
	text-decoration:none;
	color: white;
}
