*{margin:0;padding:0;}

:focus { -moz-outline-style: none; }

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
/*	font: inherit; */
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}




html {
  overflow: auto;
}

body {
    margin-bottom: 0px;
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 40px;
    padding-bottom: 0px;
    padding-top: 0px;
    text-align: center;
    background-color: #E8E8E8;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 9pt;
}

h4 {
  font-size: 13pt;
  color: #d21c4f;
  margin-top: 0;
  font-weight: bold;
}

div#outer_container {
    margin:0px auto; 
    width: 945px;
    background-color: #FFFFFF;
    text-align: center;
}

div#outer {
    margin:0px auto;
    width: 820px;
    background-color: #FFFFFF;
    text-align: left;
}

div#logo_pad {
    position: relative;
}

#foot1 { display: block; }
#foot2 { display: none; }
#foot3 { display: none; }

#logo {
    position: relative;
    top: 0px;
    left: 0px;
    background-image:url('http://www.cerilcampbell.com/images/logo.gif');
    background-repeat: no-repeat;
    background-color: #FAFAFA;
    width: 820px;
    height: 180px;
}

#logosm {
    width: 100%;
    display: none;
}


#social {
  position: absolute;
  left: 690px;
  top: 14px;
  width: 90px;
}

.social-icon {
  float: left;
  padding-right: 4px;
  padding-bottom: 4px;
}


div#topmenu_container {
    position:relative;
    top: 0px;
    left: 0;
    width: 820px;
    height: 24px;
    background-color: #B0B0B0;
}

div#topmenu {
    background-color: #B0B0B0;
    padding-top: 6px;
    padding-left: 15px;
}

div#submenu_container {
    position:relative;
    top: 0;
    left: 0;
    width: 820px;
    height: 24px;
    background-color: #F8F8F8;
}
div#submenu {
    padding-top: 5px;
    padding-left: 15px;
    background-color: #F8F8F8;
}

div#tlspace {
    position: relative;
    top: 0px;
    left: 0px;
    height: 15px;
}


div#contentcontainer {
    width: 820px;
    text-align: center;
    background-color:rgb(235,235,235); 
    overflow: auto; 
}

div#content {
 overflow: hidden;
    width: 818px;
    text-align: left;
  background-color:white;
padding: 0;
border: 0;
margin-left: 1px;
margin-right: 1px;
margin-bottom: 1px;
}

#strapline {
  position: absolute;
  left: 132px; /* 137px; */
  top: 76px; /* 24px; */
}

div#footer {
    position: relative;
    padding-top: 25px;
    padding-bottom: 25px;
    width: 100%;
    text-align: center;
    color: #B0B0B0;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 9pt;
} 

div#tweetbox { 
width: 258px; 
height: 64px;
position: absolute;
left: 554px;
top: 38px;
background-color: #FFFFFF;
	z-index: inherit;
	zoom: 1; /* For IE6 */
      margin-left: 2px;
      margin-bottom: 2px;
	padding: 2px;
	border: 1px solid #d7d7d7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

div#tweetbox2 { 
width: 215px; 
height: 60px;
position: absolute;
left: 296px;
top: 42px;
background-color: #EEEEEE;
	z-index: inherit;
	zoom: 1; /* For IE6 */
      margin-left: 2px;
      margin-bottom: 2px;
	padding: 2px;
	border: 1px solid #d7d7d7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#tweets li { font-size: 10px; padding:0; margin: 0; }

div.submenuitem { padding-right: 9px; float: left; }
div.menuitem { padding-right: 26px; float: left; }

a.menu:link, a.menu:visited { color: #B0B0B0; font-weight: bold;  text-decoration: none; font-family: Helvetica, Arial, sans-serif; font-size: 9pt; padding:0; }
a.menu:hover, span.selected {color: #d21c4f; font-weight: bold;  text-decoration: none; font-family: Helvetica,Arial,san-serif; font-size: 9pt; padding:0; }

p.footquote { font-style: italic; padding-top: 5px; margin-left: 5px; font-size: 9pt; line-height: 13pt; } 

/* ================================== less than 945px screen ==== */

@media (max-width: 945px) {

  body { margin-top: 0; }
  div#outer_container { width: 100%; }

}

@media (max-width: 800px) {
/*
  div#topmenu_container { width: 100%; }
  div#submenu_container { width: 100%; }
*/
  div.menuitem { padding-right: 16px; }
  #logo { width: 100%; background-image:url('http://www.cerilcampbell.com/images/logomed.gif'); }
/*
}

@media only screen and (max-width: 700px) {
*/
  div#outer { width: 100%; }
  div#topmenu_container { display: none; }
  div#submenu_container { display: none; }
  #social { float: right; right: 0; left: 0; top: 0; width: 180px; position: relative; } 
  #logo { display: none; }
  #logosm { display: block; }
  #strapline { position: absolute; left: 25%; top: 35%; } 
  div#contentcontainer { width: 100%; overflow: hidden; }
  div#content {  width: 100%; }
  div#tweetbox { position: relative; margin: auto; left:0; top:0; margin-top: 8px; }
  div#footer { overflow: hidden; margin-top: 8px; }
  #foot1 { display: none; }
  #foot2 { display: block; margin: auto; }
}

@media (max-width: 380px) {
  #foot2 { display: none; }
  #foot3 { display: block; margin: auto; }
}

@media (max-width: 300px) {
  h4 { font-size: 11pt; }
}