* {
  margin: 0px;
	padding: 0px;
	border: 0px;
}

html, body{
	height: 100%;
}

body{
  background: #FF6600;
	font: 67.5%/100% sans-serif;
	text-align: center;
	color: black;
}
			
h1{
  margin: 15px;
  font: 2em/1.4em Times New Roman, serif;
  border-top: 1px solid #FF6600;
  border-bottom: 1px solid #FF6600;
  color: #FF6600;
}

h2, h3{
  margin: 0px 15px;
  font: bold 1.4em/1.4em Times New Roman, serif;
  color: #FF6600;
}
      
p, ul, ol{
  font-size: 1.2em;
  font-family: Times New Roman, serif;
  line-height: 1.4em;
  color: black;
}

/* content area */
#container{
	margin: 0px auto;
	position:relative;
	width:762px;
}

  /* header formatting */
#header{
  float: left;
  width: 760px;
  min-height: 80px;
  background: black;
  border-top: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
  margin-top: 10px;
  color: white;
}

#logo{
  float: left;
  width: 350px;
  height: 75px;
}

#headercontacts{
  float: right;
  width: 400px;
  min-height: 75px;
  text-align: right;
  padding: 5px 10px 5px 0px;
  font-family: Times new Roman, serif; 
}

#headercontacts ul{
  color: #FF6600;
}

#headercontacts li{
  display: inline;
  color: white;
}

#headercontacts li a:link, #headercontacts li a:visited{
  color: white;
  text-decoration: underline;
}

#headercontacts li a:hover, #headercontacts li a:visited:hover{
  color: #EFEFEF;
  text-decoration: none;
}

#headercontacts .tel{
  font-size: 2em;
  line-height: 1.4em;
  color: white;
}

#headercontacts .email{
  font-size: 1em;
  line-height: 1em;
  color: white;
}

.divider{
  color: #FF6600;
}
  /* end of the header formatting */

  /* dividing line between header and search form/pic area */
#headerbase{
  float: left;
  clear: left;
  width: 760px;
  height: 10px;
  background: #FF6600;
  border-right: 1px solid black;
  border-left: 1px solid black;
}
  /* end of dividing line between header and search form/pic area */
  
  /* pic area */
#picarea{
  float: left;
  width: 760px;
  min-height: 220px;
  background: #DEDEDE url(/images/randompics/random.php) no-repeat top left;
  border: 1px solid black;
}

    /* search form area */
  #searchform{
    float: left;
    width: 160px;
    min-height: 190px;
    background: #FF6600;
    margin: 15px;
    text-align: left;
  }
  
  #searchform p{
    font: bold 1.3em/1.4em Arial, Helvetica, sans-serif;
    color: black;
    margin: 5px 10px;
    text-transform: uppercase;
  }
  
  #searchform li{
    font: 0.9em/1.2em Arial, Helvetica, sans-serif;
    list-style-type: none;
    margin: 2px 10px 4px 10px;
  }
  
  #searchform select{
    font-size: 1em;
    width: 140px;
    margin: 0px 0px 4px 0px;
    border: 1px solid black;
  }

  #searchform input{
    width: 140px;
    color: white;
    background: black;
    padding: 5px 0px;
    cursor: pointer;
    font: bold 1.2em/1em Arial, Helvetica, sans-serif;
    text-transform: uppercase;
  }
    /* end of search form area */ 
  /* end of pic area */

/* page content area */
#content{
  float: left;
  clear: left;
  width: 760px;
  background: white;
  border-right: 1px solid black;
  border-left: 1px solid black;
  text-align: left;
}

#content p, #content2 p, #content ul, #content2 ul{
  margin: 15px;
  font-size: 1.1em;
}

#content li, #content2 li{
  margin: 0px 25px;
}
  
    /* content within iframe */
  #content2{
    float: left;
    clear: left;
    width: 410px;
    min-height: 520px;
    background: white url(/images/iframe_bg.jpg) no-repeat top left;
    text-align: left;
    padding-left: 350px;
  }
  
  #content2 p.portals{
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1em;
    font-family: Verdana, sans-serif;
  }
    /* end of content within iframe */

  /* photo on hompepage */
.stephenbox{
  float: right;
  width: 160px;
  min-height: 200px;
  background: black;
  border: 1px solid black;
  margin: 0px 15px 15px 15px;
}

.name{
  font-size: 1em;
  text-align: center;
  font-weight: bold;
  color: #FF6600;
}

.qualification{
  font-size: 0.9em;
  text-align: center;
  color: white;
}
  /* end of photo on hompepage */
.services{
  float: left;
  max-width: 450px;
}
  
.fees{
  float: right;
  max-width: 250px;
  border: 1px solid black;
  margin: 0px 15px;
}
  
  /* footer formatting */
#footer{
  float: left;
  width: 760px;
  height: 40px;
  background: black;
}

#footer p{
  color: #FF6600;
  line-height: 1em;
}
  /* end of footer formatting */

/* iframe */
#search_results{
  min-height: 520px;
  border: 0px;
}
/* end of iframe */

.hidden{
  display: none;
}

/* contact form */
table{
  width: 370px;
  border: 1px solid silver;
  margin: 0px;
  margin-left: 10px;
}

td{
  font-weight: bold;
  font-family: verdana;
  font-size: 0.9em;
  padding: 5px;
}

input, textarea{
 border: 1px solid black;
 width: 200px;
 font: 1.2em/1.4em Verdana, sans-serif;
}

.formbutton, .loginbutton{
  background: black;
  color: white;
  cursor: pointer;
  padding: 2px 0px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}

.ddfmerrors {
	font: bold 0.9em/1.4em Verdana, sans-serif;
	color: red;
	margin-left: 15px;
}

.errorlist{
  font: bold 0.9em/1.4em Verdana, sans-serif;
  margin-left: 15px;
}

/* login section */
.dezrez-table input, .dezrez-table select{
  width: 100px;
  border: 1px solid black;
}

