/* Start of CMSMS style sheet 'mgfWebb Stylesheet' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/

html body * {
margin:0;
padding:0;
outline: 0 none;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif;
   font-size: 75.01%;
   line-height: 1em;
   background: #000;
}

body.backgrounds {
   background-color: #000;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: underline;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: none; 
   color: #7e2f08; 
outline: 0 none;
}

a:visited {
   text-decoration: underline;
   background-color: none;
  color: #7e2f08;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   background-color: none;
	color: #796f64; 
}

img#rhm {
   position: absolute;
   top: 0;
   left: 0;
}

img#lhm {
   position: absolute;
   top: 0;
   right: 0;
}

/*****************
basic layout 
*****************/

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   min-width: 940px;
   padding: 26px;
   max-width: 1230px;
}

.noback {
background: transparent url(images/submask-repeat.gif) top left repeat-x;
   }

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   background: #000000 url(images/mgfWebb-repeat.gif) -21px 0 repeat-x;           
}

div#header div#strapline {
	float: right;
	color: #8d8277;
	font-size: 12px;
	padding: 110px 20px 0 100px;
}


/* position for the search box */
div#search {
   float: right;
   width: 23em;    /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;        /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;        /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
}

div#content {
  background: #fff;
   margin: 10px auto 10px 0;   /* some air above and under menu and content */
}

div#main {
   display: none;
   margin-top: 40px;
   margin-left: 310px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   width: 600px;
   background: #fff;
   padding: 20px 40px;
}

div#sidebar {
   float: left;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 290px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin:0;
   padding-bottom: 50px;
}

div#footer {
   margin: 40px auto 0 auto;
   clear: both;       /* keep footer below content and menu */
   color: #333;
   border-top: 5px solid #796f64;
   max-width: 1230px;
}

div.bottom {
   position: absolute;
   bottom: 10px;
   min-width: 940px;
   max-width: 1230px;
   width: 100%;
}

div.bottompush {
   margin: 25px;
}

div#footer p {
   font-size: 8px;
   padding: 5px;       /* some air for footer */
   text-align: left;  /* centered text */
   margin: 0;
   text-transform: uppercase;
   color: #fff;
}

div#footer p a {
   text-decoration: none;
   color: #fff; 
}

div.whitebg * {
   color: #796f64;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/
div#content h1.parentclass{
margin: 40px  0 20px 0;
color: #d1d1d1;
}

/* HEADINGS */
div#content h1 {
   font-size: 36px;
   line-height: 1em;
   margin: 0 0 0 10px;
   color: #796f64;
   font-weight: normal;
   text-transform: uppercase;
}
div#content h2 {
	color: #f15c30; 
	font-size: 24px; 
	text-align: left; 
        font-weight: normal;
        margin:  0px  0 10px 0;
	text-transform: title-case;
	border-bottom: 1px solid #796f64;
        padding-bottom: 9px;
        line-height: 140%;
}

div#content h3 {
   color: #796f64; 
   font-size: 20px;
   font-weight: normal;
   line-height: 1.3em;
   margin: 0 0 10px 0;
}
div#content h4  {
   color: #796f64; 
   font-size: 15px;
   line-height: 1.3em;
   margin: 10px 0 5px 0;
      font-weight: normal;
}
#casestudies h4 {
   margin: 15px 0 -3px 0;
}

#casestudies ul {
   margin: 0;
}

div#content h5 {
	color: #796f64; 
   font-size: 12px;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
      font-weight: normal;
}
h6 {
   color: #796f64; 
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
#content p {
   font-size: 12px;
   margin: 0 0 1.5em 0 !important; /* some air around p elements */
   line-height: 1.4em;
   color: #796f64; 
padding: 0;
}

p.intro {
   font-size: 18px;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
   color: #796f64; 
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;


}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#content ul,
div#content ol,
div#content dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 0 20px;
   padding: 0;
}

div#content ul li,
div#content ol li {
   color: #796f64; 
   margin: 0;
   padding: 0 0 10px 0;
}

div#content ul li {
   list-style-type: square;
}

/* definition lists topics on bold */
div#content dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#content dl dd {
   margin: 0 0 1em 1em;
}

div#content dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}


/* END LISTS */

div#mainnav {
   padding: 3px 0;
   border-bottom: 5px solid #796f64;
}

div#mainnav ul {
  margin: 0;
  padding: 0;
  display: block;
  height: 23px;
}

div#mainnav ul li {
  float: left;
  list-style-type: none;
}


div#mainnav ul li a {
  display: block;
  background: #000000;
  opacity: .5;
  filter:alpha(opacity=50);
  color: #c8c8c8;
  text-transform: uppercase;
  padding: 4px 75px 5px 12px;
  font-size: 12px;
  margin: 1px 3px 1px 0;
  text-decoration: none;
  letter-spacing: 0.05em;
}

div#mainnav ul li a:hover {
  color: #fff;
  opacity: .70;
filter:alpha(opacity=70);

}
div#sidenav {
   display: block;
   margin-top: 22px;
   padding-bottom: 100%;
}

div#sidenav ul {
  margin: 0;
  padding: 0;
}

div#sidenav ul li {
  list-style-type: none;
  width: 270px;
  margin-bottom: 2px;
  background: #635a52; 
  padding: 9px 0px 7px 10px;
    opacity: .7;
filter:alpha(opacity=70);
}
div#sidenav ul li:hover {
  background-color:#7e2f08;
}

div#sidenav ul li a{
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  width: 270px;
  height: 26px;
  word-spacing: 0;
  font-weight: 100;
}

div#sidenav ul ul {
  margin: 0 0 0 20px:
  padding: 0;
display: none;
}

div#sidenav ul ul li {
  margin: 0 0 0 80px:
  padding: 0;
  background: none !important;
  display: block;
width: 200px;
}

div#sidenav ul ul li a{
  font-size: 12px;
width: 200px;
}

div.contactform div label {
   color: #796f64;
}

div.contactform div input,
.formbuilderform input {
  margin: 5px 0 15px 0;
  width: 220px;
  border: 1px solid #796f64;
  padding: 2px;
  color: #796f64;
}
div.contactform div input.fbsubmit,
.formbuilderform input.fbsubmit {
  width: 110px;
  background: #796f64;
  color: #fff;
}

div.contactform div textarea,
.formbuilderform textarea {
  font-family: Verdana, Arial, sans-serif;
  font-size: 11px;
  margin: 5px 0 15px 0;
  width: 222px;
  border: 1px solid #796f64;
  padding: 2px;
  color: #796f64;
}

#mainiconarea {
	position: absolute;
        width: 630px;
	height: 146px;
	display: block;
	overflow: hidden;
       top: 20px;
       left: 36%;
}

.icon {
	position: absolute;
	top: 0;
	left: 0;
	width: 0px;
	height: 0px;
	display: block;
	opacity: 0;
filter:alpha(opacity=0);
	cursor: pointer;
}

#popover {
       position: absolute;
       top: 80px;
       left: 0;
       right: 0;
       text-align: center;
       background: transparent url(images/popover-top.png) top center no-repeat;
       display: block;
       z-index: 120;
       display: none;
}

#popover #bottom {
   position: relative;
   top: 5px;
}

#popover div.copyarea {
       margin: 0 auto;
       width: 620px;
       text-align: left;
       padding: 0 8px 20px 8px;
}

#popover div.copyarea h2 {
       font-size: 20px;
       text-transform: uppercase;
       margin-bottom: 20px;
       color: #f15c30;
       margin-top: 23px;
       font-weight: normal;
}

#popover #openquote {
  margin: 0 8px 0 -34px;
}

#popover #closequote {
  float: right;
  margin: 0 -40px -20px 0;
  #margin: 0 0 -20px 0;
}

#popover div.copyarea p {
       font-size: 16px;
       margin-bottom: 0px;
       color: #dedede;
       padding: 0 34px;
}

#popover div.copyarea div#linkarea {
	border-top: 1px solid #3e3e3e;
	border-bottom: 1px solid #3e3e3e;
	padding: 10px 0px;
	}
	
#popover div#linkarea p {
	color: #5f5f5f;
	font-size: 14px;
	margin: 4px 0 6px 40px;
}

#popover div#linkarea a {
	text-decoration: none;
}

#popover div#linkarea a:hover {
	color: #fff;
}

#popover div#linkarea img {
        float: left;
        width: 30px;
        height: 30px;
        margin-left: 30px;
}

#popover a#closepopover {
        display: block;
        float: right;
        width: 41px;
        height: 42px;
        margin: -30px -28px 0 0;
        #margin: -10px -28px 0 0;
        background: transparent url(images/close-button.png) top right no-repeat;
        text-decoration: none;
        cursor: pointer;
}

#popover a#closepopover:hover {
        background: transparent url(images/close-button-over.png) top right no-repeat;
        text-decoration: none;
}

.homepage,
.landingpage {
    background: transparent;
    margin: 20px 0 0 20px;
}

.landingpage {
    position: relative;
    top: 80px;
    left: 40px;
    display: block;
    z-index: 99;
}

.homepage h1,
.landingpage h1 {
    font-size: 40px;
    color: #f15c30;
    line-height: 90%;
        margin: 0 0 5px 0;
    padding: 0;
    font-weight: normal;
text-transform: uppercase;
}

.homepage h1.grey,
.landingpage h1.grey{
    font-size: 40px;
    color: #524b44;
        font-weight: normal;
}

.homepage h2,
.landingpage h2 {
    font-size: 20px;
    color: #fff;
    line-height: 90%;
    margin: 10px 0 4px 0;
    padding: 0;
    font-weight: normal;
text-transform: uppercase;
}

#mgfanim {
   display: none;
   width: 350px;
   height: 200px;
   opacity: .7;
   filter:alpha(opacity=70);
   position: absolute;
   right: 20px;
   bottom: 0px;
   z-index:-1;
}

#mgfanim img {
   width: 350px;
   height: 200px;
}
div#sidebar h2 {
  color: #fff;
  list-style-type: none;
  width: 375px;
  margin-bottom: 3px;
  margin-top: -1px;
  background: #635a52; 
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
  word-spacing: 0;
  font-weight: 100;
  opacity: .7;
filter:alpha(opacity=70);
  padding: 14px 5px 14px 12px;
}

#popoverwhite {
  display: block;
  margin-top: 65px;
  margin-left: 283px; 
  width: 550px;
  background: #fff;
  border-top: 5px solid #796f64;
  z-index: 100;
  display: none;
  padding: 20px 40px 200px 40px;
  background: #fff;
  min-height: 400px;
}

#popoverwhite a#closepopover {
        float: right;
        width: 41px;
        height: 42px;
        margin: -40px -60px 0 0;
        background: transparent url(images/close-button.png) top right no-repeat;
        text-decoration: none;
        cursor: pointer;
}

#popoverwhite a#closepopover:hover {
        background: transparent url(images/close-button-over.png) top right no-repeat;
        text-decoration: none;
}

#related {
  padding-top: 20px;
}

#nextarrow {
  position: absolute;
  z-index: 100;
  top: 229px;
  margin-left:394px;
  color: #fff;
  width: 100px;
  margin-bottom: 3px;
  background: #635a52 url(images/nextarrow.gif)  95px 9px no-repeat; 
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  text-transform: uppercase;
  word-spacing: 0;
  font-weight: 100;
  opacity: .7;
  filter:alpha(opacity=70);
  padding: 14px 5px 14px 12px;
  display: none;
  cursor: pointer;
}
#nextarrow:hover,
#sidenav h2:hover {
  background-color:#7e2f08;
  cursor: pointer;
  opacity: .9;
  filter:alpha(opacity=90);
}

#leftcol {
display: block;
width: 220px;
height: 100%;
padding: 0 20px 20px 0;
margin: 0px 10px 0px -20px;
background: #fff;
float: left;
}

#leftcol img {
   padding-bottom: 20px;
}
#leftcol #textblock{
  padding: 0;
  font-size: 90%;
  margin: 0;
background: #fff;
}

#leftcol #textblock ul li {
  padding:0;
  list-style-type: none;
  margin: 0;
}

#imagecache {
  position: absolute;
  min-width: 950px;
  max-width: 1280px;
  top: 0px;
  z-index: -1;
  margin-left: -26px;
  padding: 0;
  overflow: hidden;
  display: block;
  width: 100%;
  height: 900px;
  background: #000 0px 0px no-repeat;
}

#imagecache img.bgimages {
  position: absolute;
  display: none;
}

#mainmask {
  position: absolute;
  z-index: 100;
}
#titlecache {
  display: none;
}

#contact {   position: absolute;
   width: 300px; 
   height: 400px;
display: block;
z-index: 100;
margin: 240px 0 0 590px;
display: none;
}

#inpage li,
#inpage ul li {
  background: #635a52;
}

.printedversion {
  display: none;
}
#googlemaps {
   position: absolute;
   width: 300px; 
   height: 400px;
   display: block;
   z-index: 100;
   margin: 180px 0 0 550px;
}

#googlemapsau {
    position: absolute;
   width: 300px; 
   height: 400px;
   display: block;
   z-index: 100;
   margin: 675px 0 0 550px;
}
#inner-content {
   display: block;
   margin-left: 240px;
}

.formbuilderform {
    width: 540px;
    text-align: right;
}

.formbuilderform fieldset{
    padding: 10px;
    margin: 15px 0;
}

.formbuilderform legend {
      color: #796f64; 
    font-size: 14px;
padding: 0 10px;
}

.formbuilderform label {
      color: #796f64; 
      padding-right: 10px;
      float: left;
      padding-top: 10px;
text-align: right;
width: 275px;
}

.formbuilder textarea {
}
/* End of 'mgfWebb Stylesheet' */

