/*
Generic styles for CFI Websites
Copyright 2008 Candian Farm Insurance Group

Sorted based on top-down of HTML


*/

body {
  font-family: Verdana, Tahoma, Geneva, sans-serif;
  background-image: url('/images/bg-page.gif');
  background-repeat: repeat-x;
  background-position: top;
  margin: 0;
  padding: 0; }

  p {
    font-size: 11px;
    color: #626262;
    line-height: 15px;
    margin: 0;
    padding: 0 10px 15px 15px;}

      p.readmore {
        margin: 0;
        float: right;
        height: 19px;
        width: 77px;
        padding: 0 10px 15px 20px; }

  ul, ol {
    margin: 0;
    width: 100%;
    padding: 0 0 15px 35px; }

      ul li, ol li {
        font-size: 11px;
        color: #626262;
        line-height: 15px;
        margin: 0;
        padding: 0;}

    ul li { list-style-image: url('/images/bullett.gif'); }

  h1, h2, h3, h4, h5 {
    font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    font-weight: normal;
    margin: 0 10px 10px 15px;
    border-bottom: solid 1px #d0d0d0; }


  h1 { font-size: 28px; }

  h2 { font-size: 20px; }

  h3 { font-size: 16px; }

  hr {
    height: 0;
    color: #fff;
    margin: 0  10px 15px 15px;
    padding: 0;
    border: 0;
    border-bottom: solid 1px  #d0d0d0 ;
    }


#container {
  margin: auto;
  padding: 0;
  width: 789px; }

#logo {
  margin: 0;
  padding: 0;
  float: left;
  height: 84px;
  width: 207px; }

    #logo img {
      margin: 0;
      float: left;
      padding: 0 0 0 0; }

#header {
  margin: 0;
  padding: 0;
  float: left;
  height: 84px;
  width: 582px; }

    #header-links {
      font-size: 10px;
      margin: 0;
      float: right;
      height: 25px;
      width: 185px;
      padding: 40px 10px 0 0;
      text-align: right; }

        #header-links a {
          font-size: 10px;
          color: #626262;
          color: #f27d00;
          text-decoration: underline; }

            #header-links a:hover {
              text-decoration: none; }

#content {
  margin: 0;
  float: left;
  width: 582px;
  padding: 0 0 15px 0; }

    #content .full-width {
      margin: 0;
      padding: 0;
      float: left;
      width: 570px; }

      #content .full-width h1 { margin-top: .5em; }

      /* need to set max widths because they were breaking the floats */
      #content .full-width ul, #content .full-width ol  { width: 535px;}
      #content .full-width .indent ul, #content .full-width .indent ol  { width: 515px;}
      #content .full-width .indent .indent ul, #content .full-width .indent .indent ol  { width: 495px;}
      #content .full-width .indent .indent .indent ul, #content .full-width .indent .indent .indent ol  { width: 475px;}

    #content .two-thirds-width {
      margin: 0;
      padding: 0;
      float: left;
      width: 380px; }

      #content .two-thirds-width ul, #content .two-thirds-width ol { width: 345px;}

    #content .half-width {
      margin: 0;
      padding: 0;
      float: left;
      width: 285px;
    }

    #content .one-third-width {
      margin: 0;
      padding: 0;
      float: left;
      width: 190px; }

      #content .one-third-width ul, #content .one-third-width ol { width: 155px;}

        #content .full-width img,
        #content .two-thirds-width img,
        #content .one-third-width img {
          margin: 0;
          padding: 0;
          float: left; }

    #content #landing-image {
      margin: 0;
      padding: 0;
      float: left;
      height: 237px;
      width: 582px;
      text-align: center; }

        #content #landing-image img {
          margin: 0;
          padding: 15px 0 0 0;
          padding-top: 15px; }

#sidebar {
  margin: 0;
  padding: 0;
  width: 207px;
  float: left;
  }

    #programs {
      background-image: url('/images/version2/sidebar.gif');
      margin: 0;
      padding: 0;
      float: left;
      width: 207px;
      height: 132px;
      font-weight: bold;
      text-transform: uppercase; }

        #programs-head {
          background-image: url('/images/version2/insurance-programs.gif');
          background-repeat: no-repeat;
          margin: 0;
          padding: 0;
          float: left;
          height: 70px;
          width: 207px; }

        #programs li {
          font-size: 10px;
          list-style-type: none;
          list-style-image: none;
          margin: 0;
          width: 150px;
          padding-top: 0;
          padding-right: 0;
          padding-bottom: 0;
          padding-left: 0; }

            #programs li a {
              background-image: url('/images/version2/sidebar-off.gif');
              background-repeat: no-repeat;
              padding: 6px 0 0 25px;
              float: left;
              height: 19px;
              width: 177px;
              color: #e87310;
              margin: 0;
              text-decoration: none; }

            #programs li a:hover {
              background-image: url('/images/version2/sidebar-on.gif');
              background-repeat: no-repeat;
              color: #FFFFFF; }


    #contact, #cross-promotion {
      background-image: url('/images/version2/contact-information_bottom.gif');
      background-repeat: no-repeat;
      margin: 0;
      padding: 0;
      float: left;
      height: 175px;
      width: 207px; }

        #contact p {
          font-size: 10px;
          line-height: 16px;
          margin: 0;
          width: 155px;
          padding: 53px 0px 0px 27px; }

        #contactInfoContainer {
          float: left;
          width: 200px;
          margin: 25px 0 0 0;
          padding: 0; }

        #contact a {
          color: #f27d00;
          text-decoration: underline; }

        #contact a:hover {
          text-decoration: none; }


#footer {
  background-image: url('/images/footer.jpg');
  background-repeat: no-repeat;
  margin: 0;
  padding: 0;
  height: 48px;
  width: 789px;
  clear:both;
  display:block;
  font-size: 10px;
  color: #626262;  }

    #footer-left {
      margin: 0;
      float: left;
      padding: 18px 0 0 20px;
      width: 300px; }

    #footer-right {
      margin: 0;
      float: right;
      padding: 12px 12px 0 0;
      width: 300px;
      text-align: right; }

    #footer a {
      color: #626262; }

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


/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clearfix:after, .container:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden; }

.clearfix, .container { display: inline-block; }
* html .clearfix, * html .container { height: 1%; }
.clearfix, .container { display: block; }

/* Regular clearing
   apply to column that should drop below previous ones. */

.clear { clear:both; }
.indent { padding-left: 20px; }