/*************** Start Top Fixed Sections code *************************************/
* {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
h1, h2, h3, h4, h5, h6, p, pre, blockquote, fieldset, table, ul {
  margin: .5em 0;
}
img {
	border: 0;
}
a:link {
color: #006eab;
text-decoration: none;
border-bottom: 1px  #006eab;
}
a:visited {
color: #04527d;
text-decoration: none;
border-bottom: 1px #04527d;
}
a:hover {
color: #0285cd;
text-decoration: none;
border-bottom: none;
}
span {
color: #002337;
}
.clear {
clear:both;
}
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix {display:inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height:1%; }
.clearfix {display:block;}
/* End hide from IE-mac */
body {
font: 62.5%/1.6 Arial, Helvetica, sans-serif;
background: url(images/bg.jpg) repeat-x top left #00253F;
text-align: center;
color: #33394d;
}
h1 {
margin: 0.7em;
font-size: 2.2em;
font-weight: normal;
font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
color: #33394c;
}
/*************** End Top Fixed Sections *************************************/
/*************** Start Content Section *************************************/
#wrapper {
width: 994px;
margin: 20px auto;
padding: 0px 0px 0px 0px;
background: url(images/content_bg.jpg) repeat-y top left;
}
#secWrapper{
width: 990px;
margin: 0px auto;
padding: 0px 0px 0px 0px;
}
#container {
width: 964px;
margin: 0px auto;
padding: 10px 15px 20px 15px;
}
#mainCol {
width: 644px;
float: left;
margin: 0px;
padding: 0px;
text-align: left;
}
#mainCol #services {
position: relative;
background: url(images/service_bg.jpg) no-repeat top left;
width: 643px;
padding: 0px;
padding-top: 46px;
height: 150px;
margin-bottom: 5px;
}
#services h2 {
font-size: 20px;
color: #112638;
font-weight: normal;
margin: 0px;
padding: 0px;
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
position: absolute;
top: 10px;
left: 20px;
}
#services h3 {
font-size: 16px;
color: #112638;
font-weight: normal;
margin: 0px;
padding: 0px;
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
position: absolute;
top: 10px;
left: 20px;
}
#mainCol #services ul {
list-style-type: none;
margin: 0px;
padding: 0px;
}
#mainCol #services ul li {
float: left;
display: block;
width: 180px;
height: 100px;
padding: 5px;
margin: 5px 8px 0px 15px;
text-align: center;
}
#mainCol #services ul li h4 {
font-size: 14px;
color: #112638;
font-weight: bold;
margin: 0px;
padding: 0px;
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
}
#mainCol #services ul li p {
color: #414141;
font-size: 12px;
margin: 2px;
padding: 0px;
text-align: left;
}
#mainCol ul#maincon {
border: 1px solid #cde1f5;
margin: 0px;
padding: 6px;
width: 625px;
list-style-type: none;
background: url(images/main_col_bg.jpg) no-repeat top left #f8fcff;
}
#mainCol ul#maincon li {
width: 625px;
padding: 5px 0px 10px 0px;
margin: 0px 0px 5px 0px;
border-bottom: 1px dotted #aeaeae;
}
#mainCol ul#maincon li.last {
border: none;
}
#mainCol ul#maincon li img {
width: 130px;
height: 100px;
padding: 1px;
margin: 6px 0px 0px 0px;
float: left;
border: 2px solid #cde1f5;
}
#mainCol ul#maincon li h2 {
font-size: 18px;
color: #34394e;
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
font-weight: normal;
padding: 0px;
margin: 0px 0px 0px 170px;
}
#mainCol ul#maincon li p {
font-size: 13px;
color: #4d4d4d;
margin: 0px;
padding: 0px;
margin-left: 170px;
margin-right: 25px;
}
#secCol {
width: 320px;
float: right;
margin: 0px;
padding: 0px;
text-align: center;
}
h3#buzz, h3#reviews, h3#featured, h3#book {
position: relative;
left: 21px;
background: url(images/section-blue.jpg) no-repeat top left;
width: 289px;
text-align: left;
height: 35px;
padding: 3px 5px 3px 25px;
margin: 0px;
margin-top: 10px;
color: #fff;
font-size: 18px;
font-weight: normal;
font-family: Cambria, Georgia, "Times New Roman", Times, serif;
}
h3#reviews {
background: url(images/section-blue.jpg) no-repeat top left;
}
h3#featured {
background: url(images/section-blue-wide.jpg) no-repeat top left;
width: 700px;
position: relative;
left: -20px;
padding: 3px 3px 3px 30px;
text-align: left;
}
h3#book {
background: url(images/section-blue.jpg) no-repeat top left;
}
#secCol ul {
position: relative;
left: 15px;
border: 1px solid #d0d0d0;
border-bottom: none;
list-style-type: none;
width: 285px;
margin: 0px auto;
margin-bottom: 10px;
padding: 0px;
text-align: left;
}
#secCol ul li {
display: block;
margin: 0px;
padding: 5px;
width: 275px;
background: url(images/side_col_bg.png) no-repeat top left #fff;
border-bottom: 1px solid #d0d0d0;
}
#secCol ul li h4 {
font-size: 14px;
font-weight: normal;
margin: 0px;
padding: 0px;
}
#secCol ul li span {
color: #6b6b6b;
font-weight: bold;
}
#secCol ul li p {
color: #4d4d4d;
font-size: 12px;
margin: 2px;
padding: 2px;
}
#secCol ul li a.more:link, #secCol ul li a.more:visited, #secCol ul li a.more:hover {
background: url(images/arrow.png) no-repeat center left;
margin: 0px 0px 0px 180px;
padding: 0px;
display: inline;
padding-left: 12px;
border: none;
text-decoration: underline;
font-size: 12px;
text-align: right;
}
#secCol ul li a.more:hover {
text-decoration: none;
}
#secCol ul li p.test {
text-align: right;
}
.socialAddBox {
	width: 625px;
	font-size: 9px;
	margin: 0 auto;
	text-align: center;
	border: 1px solid #CCCCCC;
	padding: 0px;
	background-color: #EEEEEE;
}
.socialAddButton {
	margin-right: 0px;
}
#footer {
width: 994px;
margin: 5px auto;
font-size: 12px;
color: #AAAAAA;
padding: 0px;
text-align: center;
}

/* =====================
   Mobile Responsive Overrides (single-column)
   Desktop styles above remain unchanged.
   ===================== */
@media (max-width: 768px) {
  body {
    background: #ffffff !important;
    color: #4d4d4d !important;
    text-align: left;
  }

  /* Make the fixed-width layout fluid */
  #wrapper,
  #secWrapper,
  #container {
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 12px 20px 12px !important;
    background: none !important;
  }

  /* Collapse two columns into one */
  #mainCol,
  #secCol {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
  }

  /* Section banners/headers: remove hard left offsets and width assumptions */
  h3#buzz, h3#reviews, h3#featured, h3#book {
    left: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Main content box: allow it to shrink */
  #mainCol ul#maincon {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  #mainCol ul#maincon li,
  #mainCol ul#maincon li.last {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Paragraph text readability */
  #mainCol ul#maincon li p,
  #mainCol ul#maincon li h2 {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Images: responsive and centered (no floats on mobile) */
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  #mainCol ul#maincon li img,
  #secCol img {
    float: none !important;
    display: block;
    margin: 10px auto !important;
  }

  /* Right column list becomes full width */
  #secCol ul {
    left: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  #secCol ul li {
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box;
    background: #ffffff !important; /* white background on mobile */
  }

  /* Links/buttons should not dominate the screen */
  #secCol ul li a.more:link,
  #secCol ul li a.more:visited,
  #secCol ul li a.more:hover {
    margin-left: 0 !important;
  }

  /* Footer: make it fluid */
  #footer {
    width: auto !important;
    max-width: 100% !important;
    margin: 10px 0 0 0 !important;
    padding: 0 12px !important;
    box-sizing: border-box;
  }


  /* Fix long top banner title: allow wrapping with readable text */
  h3#featured {
    background: none !important;     /* prevent white-on-white after wrap */
    color: #4d4d4d !important;
    height: auto !important;
    line-height: 1.25 !important;
    padding: 6px 0 10px 0 !important;
    margin: 6px 0 10px 0 !important;
    font-size: 20px !important;
  }

  /* Keep arrow icons inline with their links (don't center these as blocks) */
  img[src*="arrow-smallred"] {
    display: inline !important;
    margin: 0 6px 0 0 !important;
    vertical-align: middle !important;
  }



  /* MAIN MENU (#services): make it wrap/stack cleanly on mobile without affecting desktop */
  #mainCol #services {
    width: auto !important;
    height: auto !important;          /* remove fixed height that causes clipping */
    background: none !important;      /* avoid large fixed background image on small screens */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  #services h2 {
    position: static !important;      /* stop absolute positioning on mobile */
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
  }

  #mainCol #services ul {
    margin: 0 !important;
    padding: 0 !important;
  }

  #mainCol #services ul li {
    float: none !important;           /* stop floating three wide */
    width: auto !important;
    height: auto !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    text-align: center !important;
  }

  #mainCol #services ul li img {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 360px !important;      /* keeps buttons from getting huge */
    height: auto !important;
    margin: 0 auto !important;
  }

}

