html
{ height: 100%;}

*
{ margin: 0;
  padding: 0;
  box-sizing: border-box;}

body
{ font: normal .80em 'trebuchet ms', arial, sans-serif;
  background: #f5f6f7;
  color: #555;}

p
{ padding: 0 0 20px 0;
  line-height: 1.7em;}

img
{ border: 0;}

h1, h2, h3, h4, h5, h6
{ color: #362C20;
  letter-spacing: 0em;
  padding: 0 0 5px 0;}

h1, h2, h3
{ font: normal 220% 'century gothic', arial;
  margin: 0 0 15px 0;
  padding: 15px 0 5px 0;
  color: #000;
  font-weight: bold;
}

h2
{ font-size: 160%;
  padding: 9px 0 5px 0;
  color: #315c1c;}

h3
{ font-size: 140%;
  padding: 5px 0 0 0;}

h4, h6
{ color: #315c1c;
  padding: 0 0 5px 0;
  font: normal 110% arial;
  text-transform: uppercase;}

h5, h6
{ color: #888;
  font: normal 95% arial;
  letter-spacing: normal;
  padding: 0 0 15px 0;}

a, a:hover
{ outline: none;
  text-decoration: underline;
  color: #647B2E;}

a:hover
{ text-decoration: none;}

blockquote
{ margin: 20px 0;
  padding: 10px 20px 0 20px;
  border: 1px solid #E5E5DB;
  background: #FFF;
  border-radius: 10px;}

ul
{ margin: 2px 0 22px 17px;}

ul li
{ list-style-type: circle;
  margin: 0 0 6px 0;
  padding: 0 0 4px 5px;
  line-height: 1.5em;}

ol
{ margin: 8px 0 22px 20px;}

ol li
{ margin: 0 0 11px 0;}

.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;}

#main, #menubar, #site_content, #footer
{ margin-left: auto;
  margin-right: auto;
}

#logo
{ margin-left: auto;
  margin-right: auto;
  padding-top: 5px;
}

#header
{ background: #323534;
  height: 190px;
  vertical-align: middle;
  border-bottom: 4px solid #647B2E;
}

#banner
{ background: transparent url(banner.png) no-repeat center center;
  background-size: 1000px 180px;
  width: 1000px;
  height: 180px;
  border: 10px solid #DDD;
  margin: 0 auto;
  border-radius: 0 0 12px 12px;
}

#logo
{ width: 1020px;
  position: relative;
  height: 200px;
  background: transparent;}

#logo #logo_text
{ position: absolute;
  top: 10px;
  left: 0;}

#logo h1, #logo h2
{ font: normal 300% 'century gothic', arial, sans-serif;
  border-bottom: 0;
  text-transform: none;
  margin: 0 0 0 9px;}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover
{ padding: 22px 0 0 0;
  color: #FFF;
  letter-spacing: 0.1em;
  text-decoration: none;}

#logo_text h1 a .logo_colour
{ color: #315c1c;}

#logo_text a:hover .logo_colour
{ color: #FFF;}

#logo_text h2
{ font-size: 120%;
  padding: 4px 0 0 0;
  color: #999;}

/* =========================
   MENUBAR
   ========================= */
#menubar
{ width: 1020px;
  height: auto;
  overflow: hidden;
  margin-top: 10px;
}

ul.menu
{ float: left;
  margin: 0;
  padding: 0;}

ul.menu + ul.menu
{ clear: both;
  margin-top: 6px;}

ul.menu li
{ float: left;
  padding: 0;
  list-style: none;
  margin: 0 8px 8px 0;
  background: none;}

ul.menu li a
{ font: normal 125% 'trebuchet ms', sans-serif;
  display: block;
  float: left;
  min-height: 20px;
  padding: 10px 16px;
  text-align: center;
  color: #FFF;
  text-decoration: none;
  background: #4b4e4d;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);}

ul.menu li.selected a
{ background: #315c1c;
  color: #fff;
  border: 1px solid rgba(0,0,0,.12);}

ul.menu li.selected
{ background: none;}

ul.menu li.selected a:hover
{ background: #315c1c;
  color: #fff;}

ul.menu li a:hover
{ color: #FFF;
  background: #555857;}

/* ========================= */

#site_content
{ width: 1020px;
  overflow: hidden;
  margin: 20px auto 0 auto;
  padding: 10px 0 10px 0;}

#sidebar_container
{ float: right;
  width: 224px;}

.sidebar_top,
.sidebar_base
{ display: none;}

.sidebar
{ float: right;
  width: 222px;
  padding: 0;
  margin: 0 0 16px 0;}

.sidebar_item
{ background: #ffffff;
  padding: 16px 15px;
  width: 222px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);}

.sidebar li a.selected
{ color: #444;}

.sidebar ul
{ margin: 0;}

#content
{ text-align: left;
  width: 760px;
  padding: 18px;
  float: left;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);}

#content ul
{ margin: 2px 0 22px 0px;}

#content ul li, .sidebar ul li
{ list-style-type: none;
  background: url(bullet.png) no-repeat;
  margin: 0 0 0 0;
  padding: 0 0 4px 25px;
  line-height: 1.5em;}

#content form p
{ margin: 12px 0;}

#content input[type="text"],
#content input[type="password"],
#content input[type="email"],
#content select,
#content textarea
{ padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  width: min(420px, 100%);
  background: #FFF;
  color: #47433F;}

#content button,
#content input[type="submit"],
.form_settings .submit
{ padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.2);
  cursor: pointer;
  background: #ffffff;
  color: #333;
  width: auto;
  height: auto;
  margin: 0;}

#content button:hover,
#content input[type="submit"]:hover,
.form_settings .submit:hover
{ filter: brightness(0.98);}

#footer
{ width: 100%;
  font-family: 'trebuchet ms', sans-serif;
  font-size: 100%;
  min-height: 80px;
  padding: 28px 0 12px 0;
  text-align: center;
  background: #3B3939;
  color: #A8AA94;
  border-top: 4px solid #647B2E;
  margin-top: 20px;
}

#footer p
{ line-height: 1.7em;
  padding: 0 0 10px 0;}

#footer a
{ color: #A8AA94;
  text-decoration: none;}

#footer a:hover
{ color: #FFF;
  text-decoration: none;}

.search
{ color: #5D5D5D;
  border: 1px solid #BBB;
  width: 134px;
  padding: 8px 10px;
  font: 100% arial, sans-serif;
  border-radius: 10px;
  background: #FFF;}

.form_settings
{ margin: 15px 0 0 0;}

.form_settings p
{ padding: 0 0 8px 0;}

.form_settings span
{ float: left;
  width: 200px;
  text-align: left;
  padding-top: 10px;}

.form_settings input, .form_settings textarea
{ padding: 10px 12px;
  width: 299px;
  font: 100% arial;
  border: 1px solid rgba(0,0,0,.2);
  background: #FFF;
  color: #47433F;
  border-radius: 10px;}

.form_settings textarea, .form_settings select
{ font: 100% arial;
  width: 299px;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.2);
  border-radius: 10px;
  background: #FFF;}

.form_settings select
{ width: 310px;}

.form_settings .checkbox
{ margin: 4px 0;
  padding: 0;
  width: 14px;
  border: 0;
  background: none;
  border-radius: 0;}

.separator
{ width: 100%;
  height: 0;
  border-top: 1px solid #D9D5CF;
  border-bottom: 1px solid #FFF;
  margin: 0 0 20px 0;}

table
{ width: 100%;
  margin: 10px 0 30px 0;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);}

table tr th, table tr td
{ background: #3B3B3B;
  color: #FFF;
  padding: 10px 8px;
  text-align: left;}

table tr td
{ background: #F3F1EC;
  color: #47433F;
  border-top: 1px solid #FFF;}