html
{ height: 100%;
  font-size: 100%; }

*
{ margin: 0;
  padding: 0;}

#header, #menubar, #footer, #site_content {
  width:100%;
  }

body
{ font: normal 12pt 'Roboto Medium', 'Open Sans', sans-serif;
  background: #1D1D1D;/* url(header.png) repeat;*/
  color: #000000;
  /*Alter width here: the 3 numbers are - Top, left and right, bottom*/
  padding: 0 20% 5%;
}

p
{ padding: 0 0 15px 0;
  line-height: 1.5em;}

img
{ border: 0;}

h1, h2, h3, h4, h5, h6 
{ font: normal 150% 'Roboto', 'Helvetica', sans-serif;
  color: #000000;
  margin: 0 0 15px 0;
  padding: 15px 0 2px 0;}

h2
{ font: normal 130% 'Roboto', 'Helvetica', sans-serif;
  color: #111;}

h4, h5, h6
{ margin: 0;
  padding: 0 0 5px 0;
  font: normal 120% arial, sans-serif;
  color: #046E00;}

a.blog_title
{ margin: 0;
  padding: 0 0 10px 0;
  font: normal 130% 'Roboto', 'Helvetica', sans-serif;
  text-decoration: none;
  color: #465A9F;}

div.post
{
    padding: 15px 0 0 0;
}

h5, h6
{ font: italic 95% arial, sans-serif;
  padding: 0 0 15px 0;
  color: #000;}

h6
{ color: #362C20;}

a, a:hover
{ outline: none;
  text-decoration: underline;
  color: #313995;}

a:hover
{ text-decoration: none;}

.left
{ float: left;
  width: auto;
  margin-right: 10px;}

.right
{ float: right; 
  width: auto;
  margin-left: 10px;}

.center
{ display: block;
  text-align: center;
  margin: 20px auto;}

.mono { font-family: monospace; }

blockquote
{ margin: 20px 0; 
  padding: 10px 20px 0 20px;
  border: 1px solid #E5E5DB;
  background: #FFF;}

ul
{ margin: 2px 0 22px 17px;
  line-height: 10em;
}

ul li
{ list-style-type: circle;
  margin: 0 0 0 0;
  padding: 0 0 0px 0px;}

ol
{ margin: 8px 0 22px 20px;}

ol li
{ margin: 0 0 11px 0;}

#main, #logo, #menubar, #site_content, #footer
{ margin-left: auto; 
  margin-right: auto;}

#header
{ background: #1D1D1D;/* url(header.png) repeat;*/
  height: 240px;}

#logo
{ 
  position: relative;
  height: 168px;}

#logo #logo_text 
{ position: absolute; 
  top: 10px;
  bottom: 20px;
  left: 0;
  font-size: 10pt; }

#logo h1, #logo h2
{ font: normal 250% 'Roboto', sans-serif;
  border-bottom: 0;
  text-transform: none;
  margin: 0;}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover 
{ padding: 14px 0 0 0;
  color: #FFF;
  letter-spacing: 0.02em;
  text-decoration: none;}

#logo_text h1 a .logo_colour
{ color: #1293EE;}

#logo_text h2
{ font: normal 140% 'Roboto', sans-serif;
  padding: 4px 0 0 0;
  color: #DDD;}

#menubar
{ height: 75px; /* Should equal height + top + bottom padding of ul#menu li a */
  padding: 0 0 0 0;
  background: #4E65B1} 

ul#menu, ul#menu li
{ float: left;
  margin: 0; 
  padding: 0;}

ul#menu li
{ list-style: none;}

ul#menu li a
{ letter-spacing: 0.1em;
  font: normal 13pt Roboto, sans-serif;
  display: block;
  float: left; 
  height: 40px;
  padding: 25px 15px 10px 15px;
  text-align: center;
  color: #CCCCCC;
  text-transform: uppercase;
  text-decoration: none;
  background: #4E65B1;} 

ul#menu li.selected a, ul#menu li.selected a:hover
{ color: #CCCCCC;
  font-weight: bold;
  background: #465A9F;}

#site_content
{ overflow: hidden;
  margin: 0 auto 0 auto;
  padding-bottom: 1em;
  background: #BBBBBB;} 

.sidebar
{ float: right;
  width: 150px;
  padding: 0 15px 20px 15px;}

.sidebar ul
{ width: 178px; 
  padding: 4px 0 0 0; 
  margin: 4px 0 30px 0;}

.sidebar li
{ list-style: none; 
  padding: 0 0 7px 0; }

.sidebar li a, .sidebar li a:hover
{ padding: 0 0 0 40px;
  display: block;
  background: transparent url(link.png) no-repeat left center;} 

.sidebar li a.selected
{ color: #444;
  text-decoration: none;} 

#content
{ text-align: left;
  padding: 0% 2% 0% 2%;
}

#content ul
{ margin: 2px 0 15px 0px;}

#content ul li
{ list-style-type: disc;
/*  background: url(bullet.png) no-repeat;*/
  margin: 0 2% 0 2%; 
  padding: 0 0 0 0;
  line-height: 1.5em;}

#footer
{ font: normal 10pt 'Roboto', sans-serif;
  height: 33px;
  width: 98%;
  padding: 20px 0 8px 2%;
  overflow: hidden;
  text-align: left; 
  background: #4E65B1;
  color: #CCCCCC;
/*  text-transform: uppercase;*/
  letter-spacing: 0.1em;}

#footer a
{ color: #CCCCCC;
  text-decoration: none;}

#footer a:hover
{ color: #CCCCCC;
  text-decoration: underline;}

.search
{ color: #5D5D5D; 
  border: 1px solid #BBB; 
  width: 134px; 
  padding: 4px; 
  font: 100% arial, sans-serif;}

#colours
{ height: 0px;
  text-align: right;
  padding: 66px 16px 0px 300px;}
  
.form_settings
{ margin: 15px 0 0 0;}

.form_settings p
{ padding: 0 0 4px 0;}

.form_settings span
{ float: left; 
  width: 200px; 
  text-align: left;}
  
.form_settings input, .form_settings textarea
{ padding: 5px; 
  width: 299px; 
  font: 100% arial; 
  border: 1px solid #E5E5DB; 
  background: #FFF; 
  color: #47433F;}
  
.form_settings .submit
{ font: 100% arial; 
  border: 1px solid; 
  width: 99px; 
  margin: 0 0 0 212px; 
  height: 33px;
  padding: 2px 0 3px 0;
  cursor: pointer; 
  background: #1293EE; 
  color: #FFF;}

.form_settings textarea, .form_settings select
{ font: 100% arial; 
  width: 299px;}

.form_settings select
{ width: 310px;}

.form_settings .checkbox
{ margin: 4px 0; 
  padding: 0; 
  width: 14px;
  border: 0;
  background: none;}

.separator
{ width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;}
  
table
{ margin: 10px 0 30px 0;}

table tr th, table tr td
{ background: #3B3B3B;
  color: #FFF;
  padding: 7px 4px;
  text-align: left;}
  
table tr td
{ background: #F0EFE2;
  color: #47433F;
  border-top: 1px solid #FFF;}

@media only screen and (max-width: 1400px) {
    ul#menu li a {
      font-size:1.4vw;
      padding-left: 10px;
      padding-right: 10px;
    }
    body {
    padding: 0 10% 5%;
  }
}
@media only screen and (max-width: 405px) {
  ul#menu li a {
    font-size:1.8vw;
    padding-left: 2px;
    padding-right: 2px;
  }
 
  body {
  padding: 0 2% 5%;
  }
}


/* Not tested in all pages but should work */
body {
   font: normal 12pt 'Roboto', 'Open Sans', sans-serif; /* Medium was to bold */
   color: #555; /* The text was too dark */
}
#main {
   max-width: 1200px;/* The page was too wide */
}
#site_content {
   background: #FCF7F3; /* Background was too dark */
}
/*img {*/
/*   width: 30vmax; /* This is better for responsiveness */*/
/*   max-width: 32em; /* This prevents the image getting too big */*/
/*   padding: 0 2em 0.5em 0; /* Padding at the top make text look out of line */*/
/*   /* height: 24.5em; < You don't need this */*/
/*}*/
/*img.rss { width: 30px }*/

/*/**/
/*Makes the site fully responsive.*/
/*Had to use !important on dev tools version. Remove if you don't need it*/
/**/*/
/*@media (max-width:900px) {*/
/*  img {*/
/*    display:block!important;  */
/*    width:100%!important;*/
/*    float:none!important;*/
/*    text-align:center!important;*/
/*    margin:auto!important;*/
/*    padding:10px 0 20px 0!important;*/
/*}}*/
