/**CAD full width page CSS 
by Pam Williamson Dec 2015
www.pamwilliamson.com.au**/

body {
	background: #576680;
	margin:0;
	padding:0;
    font-family: Tahoma, Geneva, sans-serif;
	font-size:16px;
}

* {
	margin:0;
	padding:0;
}

img{
	max-width:100%;
	height: auto;
   	width: auto\9; /* ie8 */
}
 /*images*/
img.right{
padding: 3px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin-left:20px;
float:right;
}
img.left{
padding: 3px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin-right:20px;
float:left;
}
img.center{
padding: 3px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin: 0;
}

img.khmer{
padding: 3px;
display:inline;
background: #ffffff;
margin-top:5px;
}
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}
/** element defaults **/
table {
	width: 100%;
	text-align:center;
	color: #000;
	font-family: Geneva, Arial, Helvetica, sans-serif:
}

th, td {
	padding: 5px 5px;
	font-size: 14px;
}

th {
	color: #000;
	background: #ccc none repeat-x scroll left top;
}

td {
	border-bottom:none;
}

code, blockquote {
	display: block;
	border-left: 5px solid #222;
	padding: 10px;
	margin-bottom: 20px;
}
code {
	background-color: #222;
	color:#ccc;
	border: none;
}
blockquote {
	border-left: 5px solid #222;
}

blockquote p {
	font-style: none;
	font-family: "Lucida Grande", sans-serif;
	margin: 0;
	color: #333;
	height: 1%;
}

p {
	line-height: 1.7em;
	margin-bottom: 20px;
	font-family: Tahoma, Geneva, sans-serif;
}
.style2 {
	font-family: "Lucida Handwriting";
	font-style: italic;
	color: #FF0000;
	font-size: 16px;

}
a, 
.sidebar li ul li a.readmore {
	color: #660039;
}

a:hover,
.sidebar li ul li a.readmore:hover {
	color: #7F577A;
}

a:focus {
	outline: none;
	color: #660039;
	font-weight:bold;
}


a.button { 
    background-color: #660039;
    border-radius: 5px 5px 5px 5px;
    color: #FFFFFF;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    padding: 8px 15px;
    text-decoration: none;
    text-transform: uppercase;
}

a.button:hover {
	background-color: #576680;
}


fieldset {
	display: block;
	border: none;
	border-top: 1px solid #ccc;
}

fieldset legend {
	font-weight: bold;
	font-size: 13px;
	padding-right: 10px;
	color: #333;
}

fieldset form {
	padding-top: 15px;
}

fieldset p label {
	float: left;
	width: 150px;
}
span.required {
	color: #ff0000;
}

h1 {
	color: #660039;
	font-size: 35px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}


h4 {
	color: #660039;
	font-size: 30px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

h6{
	color: #660039;
	font-size: 18px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}
h2 {
	color: #800046;
	font-size: 24px;
	font-weight: normal;
	margin-bottom: 10px;
	letter-spacing: -1px;
	font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

h3 {
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
    color: #800046;
    font-size: 18px;
    font-weight: normal;
    padding-bottom: 10px;
}

h5 {
	padding-bottom: 10px;
	font-size: 16px;
	color: #999;
}

ul, ol {
	margin: 0 0 35px 35px;
}

li {
	padding-bottom: 5px;
	font-family: "Lucida Grande", sans-serif;
}

li ol, li ul {
	font-size: 1.0em;
	margin-bottom: 0;
	padding-top: 5px;
}


.width {
	width:1000px;
	margin: 0 auto;
}

#container {
	background-color: #fff;
	width: 1020px;
	border-left: 18px solid  #660039;
	border-right: 18px solid  #660039;
	margin: 0 auto;
}

header {15px 20px;
	margin: 0 auto;
	text-align:left;
}

header h1 a, header h1 a:hover {
 color: #fff;
	background-color: #B998B5;
    font-size: 55px;
	padding: 10px;
    font-weight: normal;
    letter-spacing: -2px;
    line-height:45px;
    text-decoration: none;
    text-transform: lowercase;
}



nav {
	height: 56px;
	background:url(../images/menu-bg.jpg) repeat-x;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}


}

img.header-image { padding-top: 10px;
			margin-bottom: -3px; }

#body {
	background: none;
	margin: 5px auto 0;
 	padding: 0;
	clear: both;
}

#content {
    float: left;
    width: 99%;
}

article {
    padding: 10px 10px 20px 5px;
 }

article h2 { 
	font-weight: bold;
    padding-bottom: 0;
}

article .article-info {
    color: #999999;
    font-size: 12px;
    font-style: italic;
    padding: 0 0 10px 0;
}

article .article-info a { 
	color: #666;
}

.textright{ text-align:right}

.clear {
	clear: both;
}

 /*images*/
img.right{
padding: 3px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin-left:20px;
float:right;
}
img.left{
padding: 3px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin-right:20px;
float:left;
}
img.center{
padding: 1px;
display:inline;
background: #ffffff;
border: 1px solid #cccccc;
margin: 0;
}
footer {
	margin:20px auto 0;
	background: #222;
	border-top: 2px solid #eee;
}

footer p {
	text-align: left;
	color: #ccc;
	font-size: 12px;
	margin: 0;
	padding: 0;
}

footer p a {
	color: #ccc;
	font-weight: bold;
}

.footer-content {
	padding: 20px 25px 30px;
}

footer .footer-content ul {
	width: 260px;
	list-style: none;
	margin: 0 65px 0 0;
	padding: 0;
	float: left;
}

footer .footer-content li {
	padding: 5px 5px;
}

footer .footer-content li a, footer .footer-content h4 {
}

footer .footer-content li a {
 color: #909090;
    font-size: 13px;
    text-decoration: underline;
}

footer .footer-content li a:hover { 
	color: #bfbfbf;  
}

footer .footer-content h4 {
   color: #B998B5;
    font-size: 20px;
    font-weight: normal;
    padding-bottom: 0;
}

footer .footer-content ul.endfooter {
	margin-right: 0;
}
footer .footer-bottom {
	padding: 10px;
	text-align: center;
	background-color: #000;
}

footer .footer-bottom p {
	text-align: center;
}

footer .footer-bottom p, footer .footer-bottom p a {
	color: #666;
	text-decoration:none;
	font-weight: normal;
    font-size: 9px;
}

.Youtube {
	
	font-family: Tahoma, Geneva, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	color: #666;
}

/*fully responsive tables*/
@media screen and (max-width: 639px) {

table { border: 0; }

table thead { display: none; }

table tr {
  border-bottom: 3px solid #ddd;
  display: block;
  margin-bottom: .625em;
}

table td {
  border-bottom: 1px solid #ddd;
  display: block;
  font-size: .8em;
  text-align: right;
}

table td:before {
  content: attr(data-label);
  float: left;
  font-weight: bold;
  text-transform: none;
}

table td:last-child { border-bottom: 0; }

}


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

	header h1 a { font-size: 35px; padding: 5px; }

	header h1 {
	text-align: center;
	color: #660039;
}

	div#container { width: auto; }

	footer .footer-content ul { margin-bottom: 15px; }

	footer .footer-content ul.endfooter { margin-bottom: 0px; }

	.width { width:auto; padding-left: 10px; padding-right: 10px; }
	header { padding: 10px; }

	#content, aside.sidebar { float: none; width: auto; }

	footer .footer-content ul { width: auto; float: none; }
}


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

	nav ul li { float: none; background:url(../images/menu-bg.jpg) repeat-x; text-align:center; }
	nav ul li a { font-size: 13px; }
	nav { height: auto; }

}
