@charset
"utf-8"
;

* { margin: 0; padding: 0; }
html {
    height: 100%;
	overflow-y: scroll;
}

body {
	margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
	padding: 0;
	color: #000;
	background-color: #999966;
	height: 100%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .9em;
}

a {
    color: #900;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
h3 {
	text-shadow: #666666 2px 2px 4px;
}
p label {
    width: 200px;
    float: left;
    margin-right: 10px;
    text-align: right;
}

label {
    display: block;
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 11pt;
    font-family: Verdana, Geneva, sans-serif;
}

#wrap {
    width: 1024px;
    position: relative;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    height: 100%;
}

#header {
    background-image: url(../images/sprite.png);
    background-position: -10px -10px;
    height: 147px;
    width: 1024px;
    float: left;
    text-indent: -9999px;
    z-index: 2;
    margin: 0;
}

#header h1 {
    display: block;
    float: left;
    margin: 0;
}

#nav {
    display: block;
    float: left;
}

#home {
    background-image: url(../images/sprite.png);
    background-position: -10px -167px;
    display: block;
    height: 73px;
    width: 140px;
    float: left;
    text-indent: -9999px;
}

#home:hover {
    background-image: url(../images/sprite.png);
    background-position: -160px -167px;
}

#about {
    background-image: url(../images/sprite.png);
    background-position: -310px -167px;
    display: block;
    height: 73px;
    width: 127px;
    float: left;
    text-indent: -9999px;
}

#about:hover {
    background-image: url(../images/sprite.png);
    background-position: -447px -167px;
}

#contact {
    background-image: url(../images/sprite.png);
    background-position: -584px -167px;
    display: block;
    height: 73px;
    width: 153px;
    float: left;
    text-indent: -9999px;
}

#contact:hover {
    background-image: url(../images/sprite.png);
    background-position: -747px -167px;
}

#nav-right {
    display: block;
    background-image: url(../images/sprite.png);
    background-position: -10px -250px;
    height: 73px;
    width: 604px;
    float: left;
}

#content {
    display: block;
    background-image: url(../images/sprite.png);
    background-position: -10px -333px;
    float: left;
    width: 1024px;
    height: 676px;
    overflow: auto;
    color: #333;
}

#footer {
    display: block;
    background-image: url(../images/sprite.png);
    background-position: -10px -1018px;
    float: left;
    height: 91px;
    width: 1024px;
    text-align: center;
    color: #fff;

}

#cform {
	width: 525px;
	float: left;
	/*    border-color: #00C;
    border-width: 1px; */
	
background-color: #D8D8C5;
	border: 1px solid #999999;
	-moz-box-shadow: 3px 3px 3px #aaaaaa;
	-webkit-box-shadow: 3px 3px 3px #aaaaaa;
	box-shadow: 3px 3px 3px #aaaaaa;
	padding: 5px 5px 5px 5px;
	border-radius: 5px;				
}

form.cmxform {
    width: 520px;
    font-size: .8em;
    color: #333;
}

form.cmxform legend {
    padding-left: 0;
}

form.cmxform legend {
    padding: 0 2px;
    font-weight: bold;
    _margin: 0 -7px; /* IE Win */
}

form.cmxform legend, form.cmxform label {
    color: #333;
}

form.cmxform fieldset {
    border-width: 1px;
    border-color: #933;
}

form.cmxform fieldset {
    margin-bottom: 10px;
}

form.cmxform fieldset fieldset {
    background: none;
}

form.cmxform fieldset fieldset {
    border: none;
    margin: 3px 0 0;
}

form.cmxform fieldset li {
    padding: 5px 10px 7px;
}

form.cmxform fieldset li {
    list-style: none;
    padding: 5px;
    margin: 0;
}

form.cmxform label {
    display: inline-block;
    line-height: 1.2;
    vertical-align: top;
}

form.cmxform label {
    width: 120px;
}

/* Width of labels */
form.cmxform fieldset ol {
    margin: 0;
    padding: 0;
}

form.cmxform fieldset fieldset legend {
   /* padding: 0 0 5px; */
    font-weight: normal;
}

form.cmxform fieldset fieldset label {
    display: block;
    width: auto;
}

form.cmxform fieldset fieldset label {
    margin-left: 123px;
}

/* Width plus 3 (html space) */
/*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */
form.cmxform em {
    font-weight: bold;
    font-style: normal;
    color: #f00;
}


#contactbody {
    width: 393px;
    float: left;
    border-color: #00C;
    border-width: 1px;
    padding-left: 13px;
}


.centertext {
    text-align: center;
}

.smallfont {
    font-size: small;
}

.image_box_left {
    float: left
}

.image_box_right {
    float: right
}

.image_box_center {
    float: none;
    text-align: center
}

.caption {
    text-align: center;
    font-size: 90%;
    color: #FF6
}

.grid {
    display: inline;
    float: left;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.25em;
    height: 24px;
    text-align: center;
    width: 24%;
}

.clear {
    clear: both;
    margin: 0;
    padding: 0;
}


#gallery { 
	width: 880px; 
	margin: 45px auto; 
	background:#ccc; 
	padding: 2px; 
}
#gallery a { 
	position: relative; 
	display: block; 
	float: left; 
	width: 200px; 
	height: 150px; 
	margin: 5px; 
	z-index: 1;
}
#gallery img { 
	width: 200px; height: 150px; 
	border: 1px solid; 
	border-color: #999 #ddd #ddd #999;
}
#gallery a:hover {
	position: relative;
	z-index: 50; 
	top: -55px; left: -75px; 
}
#gallery a:hover img { 
	width: 375px; height: 282px; 
	padding: 1px; 
	background: #ccc; 
	border: 2px solid; border-color: #eee #bbb #bbb #eee;
}
 
 
 .hide { position: absolute; top: -9999px; left: -9999px; }



#tabs .list-wrap { background: #fff; padding: 10px; margin: 0 0 15px 0; }

#tabs ul { list-style: none; }
#tabs ul li a { display: block; border-bottom: 1px solid #666; padding: 4px; color: #666; }
#tabs ul li a:hover { background: #333; color: white; }
#tabs ul li:last-child a { border: none; }

#tabs .nav { overflow: hidden; }
#tabs .nav li { width: 230px; float: left; margin: 0 10px 0 0; }
#tabs .nav li.last { margin-right: 0; }
#tabs .nav li a { display: block; padding: 5px; background: #666; color: white; font-size: 10px; text-align: center; border: 0; }

#tabs li a.current,#example-two li a.current:hover { background-color: #FFF !important; color: black; }
#tabs .nav li a:hover, #example-two .nav li a:focus { background: #999;}





#page-wrap { width: 960px; margin: 20px auto; }




