/**************************************************************
   Visit studio7designs.com for more layouts and downloads for this template!
 **************************************************************/

/*********************************************************
   HTML Elements
 *********************************************************/

html,
body {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  text-align: center;
  background: #f7f7f7;
  /* background: url(../images/bg/m4l-backgroundtile-2.gif) repeat-y top center; */
  /* background: url(../images/bg/light_body.gif) repeat-y top center; */
  /* background: url(../images/bg/mfl_background_small.png) repeat; */
  font: 400 0.7em verdana, arial, sans-serif;
  line-height: 170%;

  color: #555;
}


/* Headers */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px 0;
  padding: 0;
}


h1 {
  padding-bottom: 0.2em;

  font: 400 1.6em arial, sans-serif;
  color: #536C71;
  border-bottom: 12px solid #ddd;
}

h2 {
  font-size: 1.2em;
  color: #586B7A;
}

h3 {
  text-transform: uppercase;
  font-size: 0.9em;
  color: #5D6F73;
}

h4 {
  font-size: 0.85em;
}

h5 {
  font-size: 0.8em;
}


table {
   font-size: 12px;
}
/* Needed to horizontally pad in a coloured container */
.horzPad h1,
.horzPad h2,
.horzPad h3,
.horzPad h4,
.horzPad h5,
.horzPad p {
  padding-left: 5px;
  padding-right: 5px;
}


/* Links */
a {
  text-decoration: underline;
  color: #0293b4;
  /* color: #00BEA1; */
}

a:hover {
  text-decoration: underline;
  color: #3299cc;
  /* color: #00BEA1; */
}

a img {
  border: 0;
}

a img.border {
  border: 1px solid #000;
}

a:hover img.border {
  /* Fixes IE bug - IE doesn't correctly apply the style on a:hover so need to mask it */
  border: 1px solid #668FA3 !important;
  border: 1px solid #00BEA1;
}



/* Images */
img.floatRight {
  margin: 5px 0 10px 10px;
}

img.floatLeft {
  margin: 5px 10px 10px 0;
}



/* Lists */
ul li {
  margin: 0;
  padding: 0.2em;
  list-style-image: url(../images/bg/submenu1.gif);
}

ol li {
  font-weight: bold;
  color: #668FA3;
}

ol li span {
  font-weight: normal;
  color: #444;
}



/* Blockquote */
blockquote {
  margin: 0;
  padding: 0 20px;
  background: #eee;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}



/**************************************************************
   Form Elements
 **************************************************************/

form {
  padding: 0;
  margin: 0;
}

/* If you're finding the input elements get pushed down, increase the width */
label {
  float: left;
  width: 25%;
  vertical-align: top;
}

input,
textarea,
select {
  padding: 3px;
  font: 400 1em verdana, sans-serif;
  color: #000000;
  background: #bbbbbb;
  border: 1px solid #cccccc;
}

input:focus,
input:hover,
textarea:focus,
textarea:hover,
select:focus,
select:hover {
  color: #000;
  background: #E7F1F3;
  border: 1px solid #888;
}

input.noBorder,
input:focus.noBorder,
input:hover.noBorder {
  padding: 0;
  border: 0;
}
input.button
{
color: #FFFFFF;
padding: 8px;
background: #0378A6;
border-radius: 10px;
-moz-border-radius: 10px;
border: 2px outset #000000;
}

/*
input.button {
  padding: 3px 6px;

  font: 400 0.9em verdana, serif;
  font-weight: bold;
  cursor: pointer;

  color: #000000;
  background: #bbbbbb;
  border-width: 1px;
  border-style: solid;
  border-color: #888 #888 #8880 #888;
}
*/

input.radio {
  background: none;
  border: 0px;
}

.errorForm {
   border-style:solid;
   border-width:2px;
   border-color: red;
}

/* header search form style */
#headerSearch input, textarea, select {
  margin-top: 3px;
  margin-left: 6px;
  padding: 3px;
  font: 400 1em verdana, sans-serif;
  color: #eeeeeee;
  background: #bbbbbb;
  border: 1px solid #333333;
}

#headerSearch input:focus, input:hover, textarea:focus, textarea:hover, select:focus, select:hover {
  color: #000;
  background: #E7F1F3;
  border: 1px solid #888;
}

#headerSearch input.noBorder, input:focus.noBorder, input:hover.noBorder {
  padding: 0;
  border: 0;
}

#headerSearch input.button {
  padding: 3px 6px;

  font: 400 0.9em verdana, serif;
  font-weight: bold;
  cursor: pointer;

  color: #444444;
  background: #bbbbbb;
  border: 1px solid #333333;
}


.clearboth { clear: both; }

.box {
   padding: 5px;
   border: 1px solid #aaaaaa;
   width: 675px;
}
.box img {
   float: left;
   padding-right: 10px;
   padding-left: 10px;
   padding-bottom: 10px;
   /*  border: 1px solid #555555; */
}
.box select {
   background: white;
   color: black;
   border: 2px solid #0378A6;
}
.postMeta {
font-size: 10px;
background-color: #ececec;
border-radius: 1em;
border-top-right-radius: 0em;
border-top-left-radius: 0em;
padding: 12px;
overflow: hidden;
}
.box input
{
color: #FFFFFF;
padding: 8px;
background: #0378A6;
border-radius: 10px;
-moz-border-radius: 10px;
border: 2px outset #000000;
}

/* stuff to make Model box for image zooming */
#dumbBoxWrap { /* The div that shows/hides. */
    position:fixed;
    top: 0px;
    margin: 0px;
    left: 0px;
    display:none; /* starts out hidden */
    z-index:40001; /* High z-index to ensure it appears above all content */
}
.dumbBoxOverlay { /* Shades out background when selector is active */
    position:fixed;
    width:100%;
    height:100%;
    background-color:black;
    opacity:.7; /* Sets opacity so it's partly transparent */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; /* IE transparency */
    filter:alpha(opacity=70); /* More IE transparency */
    z-index:40001;
}
.vertical-offset { /* Fixed position to provide the vertical offset */
    position:fixed;
    top:20px;
    width:100%;
    z-index:40002; /* ensures box appears above overlay */
}
.dumbBox { /* The actual box, centered in the fixed-position div */
    width:700px; /* Whatever width you want the box to be */
    position:relative;
    margin:0 auto;
    /*Everything below is just visual styling */
    background-color:white;
    padding:10px;
}

