/*------------------------------------------------
// Universal Tag Changes
//----------------------------------------------*/

body {
  background-image: url(webImages/background.png);
  background-repeat: repeat-x;
  background-color: #EBEBFA;
}

#pageName{
	font-size: 54px;
	color: #cc5555;
}

h2 {
  font-size: 20px;
  padding: 2% 0% 0% 0%;
  margin: 0%;
}

h3 {
  font-size: 18px;
  padding: 2% 0% 0% 0%;
  margin: 0%;
}

h4 {
  font-size: 16px;
  padding: 2% 0% 0% 0%;
  margin: 0%;
}

em {
  font-style: normal;
  font-weight: bold;
}

p {
  text-indent: 1em;
  text-align: justify;
  
  margin: 0%;
}

a {
  color: #4C5D49; //#9480BB; //#4C5D49; //#60BD66;
  
  text-decoration: underline;
  
  cursor: pointer;
}

a:hover {
  color: #9480BB;
}

/*-------------------------------------------------
// Page Template Items
//-----------------------------------------------*/

#logo {
  position: absolute;
  left: 0px;
  top: 0px;
  
  width: 128px;
  height: 128px;
  
  margin: 0px;
  padding: 0px;
}
  
#pageName {
  position: absolute;
  left: 150px;
  top: 0px;
  right: 25px;
  
  width: auto;
  height: 100px;
}

#vertLineOne {
  border-right-style: solid;
  border-bottom-style: solid;
  border-width: 2px;
  border-color: #5555cc; //#4C5D49;
  
  position: absolute;
  left: 128px;
  top: 0px;
  
  height: 128px;
 
  background-color: #5555cc; //#DAD5EA;
  
  margin: 0px;
  
  padding: 0px;
}

#vertLineTwo {
  border-style: solid;
  border-width: 1px;
  border-color: #5555cc; //#4C5D49;
  
  position: absolute;
  left: 128px;
  top: 0px;
  bottom: 0px;
  
  margin: 0px;
  
  padding: 0px;
  
  height: auto;
  width: auto;
}

#horzLine {
  border-style: solid;
  border-width: 1px;
  
  position: absolute;
  left: 0px;
  right: 0px;
  top: 128px;
  
  border-color: #5555cc; //#4C5D49;
  
  margin: 0px;
  
  padding: 0px;
  
  width: auto;
}

#navigation {
  position: absolute;
  float: left;
  top: 128px;
  left: 0px;
  margin: 0px;
}

#navigation ol {
  list-style: none;
  
  margin: 0px;
  padding: 0px;
}

#navigation ol li {
  padding: 0px;
  margin: 0px;
}

#navigation ol li a.nav {
  background-color: #8FCC90;
  background-position: center center;
  
  border-style: solid;
  border-color: #60BD66; //#FCB876;
  border-right-color: #60BD66; //#4C5D49;
  border-left-style: none;
  border-width: 1px;
  border-right-width: 2px;
  
  margin: 0px;
  
  text-align: left;
  vertical-align: middle;
  text-decoration: none;
  color: black;
  
  width: 118px;
  height: 18px;
  
  display: block;
  padding: 5px;
}

#navigation ol li a.navTail {
  border-bottom-width: 2px;
}

#navigation ol li a.selected {
  border-right-style: none;
  background: none;
  
  height: 38px;
}

#navigation ol li a:hover {
  background-image: none;
  background-color: #9480BB; //#F78E21; //#FCB876;

}

#navigation ol li a.selected:hover {
  background: none;
}

/*-----------------------------------------------
// Universal Class Changes
//---------------------------------------------*/

.body {
  position: absolute;
  left: 150px;
  right: 25px;
  top: 150px;
  
  padding: 3%;
  margin: 0;
  
  background-color:  white;
  
  border-style: none solid solid none;
  border-color: #9480BB; //#8A78B7; //#FCB876;
  border-width: 2px;
  border-radius: 10px;
  
  width: auto;
  /*max-width: 900px;*/
}

.body.overflow {
  bottom:25px;
  
  overflow: scroll;
}

.body.segmented {
  display: block;
}

.bodyFirst {
  display: inline-block;
  
  text-align: justify;
  vertical-align: top;
  
  padding: 1% 2% 1% 2%;
  
  width: 45%;
}

.bodyLast {
  display: inline-block;
  
  text-align: justify;
  vertical-align: top;
  
  padding: 1% 2% 1% 2%;
  
  width: 45%;
}

.body.segmented div p {
  padding: 0em 0em 0em 0em;
  margin: 0px;
  
  text-indent: 1em;
}

.body.segmented div ul {
  padding: 0em 0em 0em 4em;
  margin: 0px;
}

.leftImg {
  float: left;
  clear: left;
  
  padding: 0px;
  margin: 1em 1em 1em 0em;
}

.rightImg {
  float: right;
  clear: right;
  
  padding: 0px;
  margin: 1em 0em 1em 1em;
}

.portrait {
  width: 35%;
  max-width: 200px;
}

.landscape {
  width: 45%;
  max-width: 300px;
}

.framed {
  border-width: 5px;
  border-style: solid;
  border-color: #F78E21;
  
  overflow: hidden;
}

.right {
  text-align: right;
}

.invisible {
  display: none;
}

/*-----------------------------------
// Specific to index.html#home
//---------------------------------*/

#home p {
  margin: 0em 0em 1em 0em;
}

#heldUp {
  position: absolute;
  
  height: 100px;
  
  top: -93px;
  right: 20px;   
}

/*------------------------------------
// Specific to #portfolio
//----------------------------------*/

#portfolio div {
  clear: both;
  vertical-align: middle;
}

.portfolioSection {
  display: block;  
}

.portImg {
  padding: 0px;
  margin: 3% 0% 0% 0%;
  
  width: 100%;
  max-width: 600px;
}

.bodyFirst img.portImg {
  align: right:
}

.bodyFirst.portfolio h2 {
  text-align: right;
}

.bodyFirst.portfolio h3 {
  text-align: right;
}

.portfolioSection {
  display: block;  
}

.portImg {
  padding: 0px;
  margin: 3% 0% 0% 0%;
  
  width: 100%;
  max-width: 600px;
}

/*-----------------------------------
// Specific to index.html#contactInfo
//---------------------------------*/

#contactInfo h2 {
  margin: 0%;
  padding: 0%;
}

#contactInfo div {
  margin: 0%;
  padding: 0%;
}

.cont h2 {
  font-size: 24px;
}

/*----------------------------------
// Specific to avoiderDots.html
//--------------------------------*/

.body.flash {
  right: auto;
}

@media only screen and (max-width: 768px) and (min-width: 481px) {
    .body{ width:auto; -webkit-text-size-adjust: 100%; }
	.bodyFirst, .bodyLast { width:90%; }
	.body.overflow { bottom:auto; overflow: visible; }
}

@media only screen and (max-width: 480px) {
	#pageName img { height: 76px; }

    .body{ width:auto; height:auto; -webkit-text-size-adjust: 100%; }
	.bodyFirst, .bodyLast { width:90%; }
	.body.overflow { bottom:auto; overflow: visible; }
}