html { 
  height: 100%;
}

* { 
  margin: 0;
  padding: 0;
}

/* tell the browser to render HTML 5 elements as block */
article, aside, figure, footer, header, hgroup, nav, section { 
  display:block;
}

body { 
  font: normal .80em arial, sans-serif;
  background: #FFF url(../images/DSCF7742_light_lowqual.jpeg) no-repeat center fixed;
  background-size: cover;
  color: #DDD;
}

p { 
  padding: 0 0 20px 0;
  line-height: 1.2em;
}

img { 
  border: 0;
}

h1, h2, h3, h4, h5, h6 { 
  color: #FFF;
  letter-spacing: 0em;
  padding: 0 0 5px 0;
}

h1, h2, h3 { 
  font-family: "Trebuchet MS", sans-serif;
}

h1 { 
  font-size: 300%;
  margin: 0 0 15px 0;
  padding: 15px 0 5px 0;
  color: #FFF;
}

h2 { 
  font-size: 160%;
  padding: 9px 0 10px 0;
  color: #FFF;
}

h3 { 
  font-size: 140%;
  padding: 5px 0 0 0;
}

h4, h6 { 
  color: #F67F00;
  padding: 0 0 5px 0;
  font: normal 140% arial, sans-serif;
}

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

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

a:hover { 
  text-decoration: none;
}

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

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, nav, #container, #logo, #site_content, footer { 
  margin-left: auto; 
  margin-right: auto;
}

#main {
  margin: 50px auto;
  width: 980px;
  padding-bottom: 30px;
}

header { 
  background: transparent;
  height: 225px;
}

#logo { 
  width: 500px;
  float: left;
  height: 70px;
  color: #888;
  padding: 20px;
  margin-bottom: 20px;
}

#logo h1, #logo h2 { 
  font: normal 330%;
  font-family: "Trebuchet MS", sans-serif;
  border-bottom: 0;
  text-transform: none;
  margin: 0;
}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover { 
  padding: 0;
  color: #FFF;
  text-decoration: none;
}

#logo_text h1 a .logo_colour { 
  color: #000000;
}

#logo_text a:hover .logo_colour { 
  color: #FFF;
}

#logo_text h2 { 
  font-size: 140%;
  padding: 0 0 0 0;
  color: #FFF;
  font-family: arial, sans-serif;
}

nav { 
  float: left;
  height: 50px;
  width: 980px;
  margin: 0 auto 0 auto;
  color: #FFF;
  background: transparent url(../images/transparent.png);
} 

#menu_container { 
  width: 980px;
  margin: 0 auto 0 auto;
  display: flex;
  justify-content: center; /* Centers the menu items horizontally */
  align-items: center;
}

#site_content { 
  width: 930px;
  overflow: hidden;
  margin: 0px auto 0 auto;
  padding: 25px;
  background: transparent url(../images/transparent.png);
} 


/* css for pictures and text */

/* Box1 is a flex container */
.box1 {
  display: flex;
  flex-wrap: wrap; /* Ensures content wraps if the screen is too small */
  justify-content: space-between; /* Adds space between content and pictures */
  align-items: center; /* Vertically center the content and picture divs */
  padding: 50px 0 0 0;
}

/* Content1 (text area) */
.content1 {
  text-align: left;
  width: 60%; /* Adjust width as needed */
  font-size: 120%;
  padding: 0;
  display: flex; /* Enable flexbox to center the image relative to the text */
  flex-direction: column; /* Align content vertically */
  justify-content: center; /* Vertically center the content within content1 */
}

/* Picture1 */
#picture1 {
  width: 30%; /* Adjust the picture width as needed */
  padding: 30px 0 0 0;
  display: flex;
  flex-direction: column; /* Align content vertically */
  justify-content: center; /* Horizontally center the image within its container */
}

.picture1 img {
  width: 100%; /* Make the image fill its container */
  height: auto; /* Maintain the aspect ratio */
  max-height: 100%;
}

/* Content2 (text area) */
.content2 {
  text-align: left;
  width: 60%; /* Adjust width as needed */
  font-size: 120%;
  padding: 0;
  display: flex; /* Enable flexbox to center the image relative to the text */
  flex-direction: column; /* Align content vertically */
  justify-content: center; /* Vertically center the content within content2 */
}

/* Picture2 */
#picture2 {
  width: 30%; /* Adjust the picture width as needed */
  padding: 30px 0 0 0;
  display: flex;
  flex-direction: column; /* Align content vertically */
  justify-content: center; /* Horizontally center the image within its container */
}

.picture2 img {
  width: 100%; /* Make the image fill its container */
  height: auto; /* Maintain the aspect ratio */
  max-height: 100%;
}


/* Clear floats */
.clearfix {
  clear: both;
  display: table;
}



/* Configuration of menu width */
html body ul.sf-menu ul,html body ul.sf-menu ul li { 
  width: 200px;
}

html body ul.sf-menu ul ul { 
  margin: 0 0 0 200px;
}

/* Framework for proper showing/hiding/positioning */
ul.sf-menu,ul.sf-menu * { 
  margin: 0;
  padding: 0;
}

ul.sf-menu { 
  display: block;
  position: relative;
}
  
ul.sf-menu li { 
  display: block;
  list-style: none;
  float: left;
  position: relative;
  font-size: 170%;
  font-family: "Trebuchet M", sans-serif;
}
  
ul.sf-menu li:hover { 
  visibility: inherit; /* fixes IE7 'sticky bug' */ 
}

ul.sf-menu a { 
  display: block;
  position: relative;
}
  
ul.sf-menu ul { 
  position: absolute;
  left: 0;
  width: 150px; 
  top: auto;
  left: -999999px;
}
  
ul.sf-menu ul a { 
  zoom: 1; /* IE6/7 fix */ 
}

ul.sf-menu ul li { 
  float: left; /* Must always be floated otherwise there will be a rogue 1px margin-bottom in IE6/7 */
  width: 150px;
}
  
ul.sf-menu ul ul { 
  top: 0;
  margin: 0 0 0 150px;
}

ul.sf-menu li:hover ul,ul.sf-menu li:focus ul,ul.sf-menu li.sf-hover ul, 
ul.sf-menu ul li:hover ul,ul.sf-menu ul li:focus ul,ul.sf-menu ul li.sf-hover ul,
ul.sf-menu ul ul li:hover ul,ul.sf-menu ul ul li:focus ul,ul.sf-menu ul ul li.sf-hover ul,
ul.sf-menu ul ul ul li:hover ul,ul.sf-menu ul ul ul li:focus ul,ul.sf-menu ul ul ul li.sf-hover ul { 
  left: auto;
}
  
ul.sf-menu li:hover ul ul,ul.sf-menu li:focus ul ul,ul.sf-menu li.sf-hover ul ul,
ul.sf-menu ul li:hover ul ul,ul.sf-menu ul li:focus ul ul,ul.sf-menu ul li.sf-hover ul ul,
ul.sf-menu ul ul li:hover ul ul,ul.sf-menu ul ul li:focus ul ul,ul.sf-menu ul ul li.sf-hover ul ul,
ul.sf-menu ul ul ul li:hover ul ul,ul.sf-menu ul ul ul li:focus ul ul,ul.sf-menu ul ul ul li.sf-hover ul ul { 
  left: -999999px;
}

/* autoArrows CSS */
span.sf-arrow { 
  width: 7px;
  height: 7px;
  position: absolute;
  top: 20px;
  right: 5px;
  display: block;
  background: url(../images/arrows-white.png) no-repeat 0 0;
  overflow: hidden; /* making sure IE6 doesn't overflow and expand the box */
  font-size: 1px;
}

ul ul span.sf-arrow { 
  right: 10;
  top: 20px;
  background-position: 0 100%;
}

/* Theming the menu */
ul#nav { 
  float: right;
}

ul#nav ul { 
  background: #0DBBD5;
  margin-top: 5px;
  padding-bottom: 15px;
}

ul#nav li a { 
  padding:7px 20px 6px 20px;
  text-decoration: none;
  color: #FFF;
  margin-right: 2px;
  font-size: 100%;
  font-family:font-family: Helvetica, sans-serif; 
}

ul#nav li a:hover,ul#nav li a:focus { 
  color: #97EDE3;
}

ul#nav ul li a:hover,ul#nav ul li a:focus { 
  color: #222;
}
