/* ------------------------------------------------------------------------------------------
   Maximeyes Optical
   version:		1.0
   author:		Dennie Chan
   email:		info@domanilife.com
   website:		www.domanilife.com
   css-file:	base.css
   description:	Standard centered layout website with header, footer and two or three columns.
   * much thanks to Andy Budd, www.andybudd.com, for making CSS reasonable and digestable.
--------------------------------------------------------------------------------------------- */
@import "navigation.css";

/* Sitewide Styles  ------------------------------------------------------------------------------ */

* {
  padding: 0;
  margin: 0;
}

ul {
  list-style: none;
}

body {
  font-family:Arial, Helvetica, sans-serif;
  font-size: 12px;
  background: #EBDAE0 url(../images/bodybg.jpg) repeat-x;
  color: #664466;
  width: 900px;
}

/* Pseudo-bevel effect using dark and light borders */
.insurance, .biographybox, body.prodserv #prodServPanel, body.prodserv #supportcolumn img, 
body.home #maincolumn img {
  border-top: 1px solid #FFFFFF;
  border-left: 1px solid #FFFFFF;
  border-bottom: 1px solid #9b9a9b;
  border-right: 1px solid #9b9a9b;
}

/* Div Styles ------------------------------------------------------------------------------------- */

#completewrapper, #header, #contentwrapper, #footer { width: 100%; }
#contentwrapper, #mainnavigation, #maincolumn { float: left; }

#header {
  height: 89px;
  background: url(../images/funky_headerbg.jpg) no-repeat left top;
}

#completewrapper {
  position: relative;
  left: 50%;
  margin-left: -44%;
  background: #DDCDF1 url(../images/completewrapperbg.jpg) repeat-x top;
  border-left: 2px outset #654C6D;
  border-right: 2px outset #654C6D;
}

#maincolumn, #supportcolumn {
  margin-top: 15px;
  min-height: 450px;
}

#maincolumn {
  width: 450px;
}

#supportcolumn {
  width: 405px;
  float: right;
}

.home #contentwrapper {
  background:url(../images/contentBG.jpg) top no-repeat;

}

.home #maincolumn {
  width: 300px;
  height: 450px;
  margin: 0;
}

.home #supportcolumn {
  width: 580px;
  margin: 0;
}

/* Text Styles ------------------------------------------------------------------------------ */
h1, h3 {
   font-weight: normal;
}

h1 {
  font-size: 1.5em;
  float: left;
  width: 291px;
  height: 100%;
  position: relative;
}

/* Gilder/Levin Image replacement */
h1 span {
  background: url(../images/overlay_logo.jpg) no-repeat;
  position: absolute;
  width: 291px;
  height: 89px;
}

h2 {
  font-weight: normal;
  color: #8B2351;
  background: none;
  font-size: 1.75em;
}

.prodserv h2 {
  margin: 0 12px 10px 0px;
}

h3 {
  font-size: 14px;
  padding: 3px 0 3px 10px;
  color: #8B2351;
  border-bottom: #9B71D8 1px dotted;
  font-family:Verdana, Arial, Helvetica, sans-serif;
}

h4 {
  color: #8BA0FF;
  font-size: 13px;
}

/* Link Styles ------------------------------------------------------------------------------ */
a {
  font-family: Arial, Helvetica, sans-serif;
  color: #555577;
  text-decoration: none;
}

a:visited {
  border: none;
}

a:hover {
  border-bottom: #555577 1px dotted;
}

/* Image Styles ---------------------------------------------------------------------------- */
.biographybox img {
  margin: 12px 12px 0 12px;
  width: 155px;
  border: #DDCCEE 1px solid;
}

body.home #maincolumn img {
  float: left;
  margin: 12px 20px 12px 10px;
  border: 2px;
}

body.prodserv #prodServPanel img {
  border: #775588 1px solid;
  margin: 15px 0 5px 15px;
}

body.directions #maincolumn img, body.contact #maincolumn img {
  width: 95%;
  margin: 14px 0 6px 34px;
  border: #775588 1px solid;
}

body.about #maincolumn img {
  margin: 15px 0 0 38px;
  border: #775588 1px solid;
}

/* Footer Styles ---------------------------------------------------------------------------- */
#footer {
  clear: both;
  color: #DDCCEE;
  min-height: 85px;
  background: #494871 url(../images/funky_footerbg.jpg) top left no-repeat;
}

.insurance {
  float: left;
  color: #FFFFFF;
  width: 270px;
  display: inline;
  margin: 10px 0 0 10px;
  padding: 8px;
  background: #555577;
}

#footer p {
  float: left;
  font-weight: bold;
  margin: 1em 0 0 1em;
  display: block;
}

.footnotes {
  padding-top: 1em;
  background: #494871;
  color: #DDCCEE;
  width: 100%;
  text-align: center;
  font-size: smaller;
}

#footer a {
  color:#ddccee;
  text-decoration: none;
}

#footer a:hover {
  border-bottom: #ddccee 1px dotted;
}

/* Style for Services page ------------------------ */
body.prodserv #maincolumn {
  width: 380px;
  line-height: 1.5em;
}

body.prodserv #supportcolumn {
  width: 455px;
  margin: 35px 25px 20px 0;
}

body.prodserv #supportcolumn p {
  margin: 1em 2em;
  text-align: justify;
}

body.prodserv #prodServPanel {
  margin: 20px 0 0 35px;
  background: #FFFFFF url(../images/bioboxbg.gif) repeat-x top left;
  padding-bottom: 10px;
}

body.prodserv #supportcolumn img {

}

/* Style for Home page */
body.support h2 {
  margin: 20px 0 10px 0;
  font-size: 18px;
}

body.home #maincolumn p {
  margin: 100px 30px 0 80px;
  text-align: justify;
  line-height: 1.5em;
}

body.home #supportcolumn h2 {
  width: 375px;
  height: 74px;
  position: relative;
  margin: 16px 30px 0 100px;
  text-align: right;
  color: #A3CFD2;
}

/*body.home #supportcolumn h2 span{
  background:url(../images/welcomeImage.jpg) no-repeat;
  position: absolute;
  width: 100%;
  height: 100%;
} */

/* Style for About page */
body.about h2, body.contact h2 {
  margin: 10px 0 0 0;
}

body.about #maincolumn {
  height: 490px;
  min-height: 515px;
  margin-bottom: 20px;
}
	
body.about #maincolumn p {
  font-family:Geneva, Arial, Helvetica, sans-serif;
  margin: 1em 0 1em 9%;
  text-align: justify;
  color: #555577;
  font-size: 11px;
}

.biographybox {
  float: left;
  height: 375px;
  width: 182px;
  display: inline;
  margin: 20px 1em 1em 0;
  background: #FFFFFF url(../images/bioboxbg.gif) repeat-x top left;
}

.biographybox h3 {
  line-height: 1.5em;
  text-align: center;
  margin: .5em 1em;
}

.biographybox p {
  font-size: 11px;
  margin: 0 1em .5em 1em;
}

body.prodserv #supportcolumn p {
  color: #555577;
  margin-top: 2%;
}

body.prodserv #maincolumn p {
  margin: 0 6%;
}

body.prodserv #maincolumn a {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
  text-decoration: none;
  margin-left: 1em;
}

/* Styles for Directions page */
body.directions #maincolumn {
  height: 475px;
  min-height: 450px;
}

body.directions h2 {
  margin: 12px 20px 6px 0;
}

body.directions #supportcolumn p {
  text-align: justify;
  color: #555577;
  font-size: 12px;
  margin: 10px 30px 0 5px;
  float: left;
}

/* Style for Contact page */
body.contact #maincolumn {
  height: 450px;
}

body.contact #maincolumn p {
  margin: 10px 0 0 44px;
}

/* Styles for Forms */

body.contact form {
  margin-top: 15px;
}

label {
  display: block;
}

input {
  width: 200px;
  margin: 5px 0;
}

textarea {
  margin: 8px 0;
  width: 360px;
  height: 150px;
}

/* Hacks and Filters  ----------------------------------------------------------------------- */
