@import url(https://fonts.googleapis.com/css?family=Lato:700,700italic);
@import url(https://fonts.googleapis.com/css?family=Alegreya:400italic,700italic,400,700);
/*  $body-font-color: #4c68b1; */
/* 0, 640px */
/* 641px, 1024px */
/* 1025px, 1440px */
/* 1441px, 1920px */
/* 1921px */
h1, h3, h4 {
  font-family: 'Lato', sans-serif; }

body {
  background: #f5f5f5 url(../images/white_texture.png);
  font-family: 'Alegreya', Georgia, serif;
  font-size: 16px; }

a, a:visited {
  color: #6781bf;
  text-decoration: underline; }

.header {
  border-bottom: 14px solid #f8ef1e;
  background: #fff; }
  .header .navbar {
    background: #fff;
    height: auto;
    margin: 10px auto; }
    .header .navbar .navbar-brand {
      width: 82%;
      height: auto;
      display: block;
      background: url(../images/logo_mnvalley.png) top left no-repeat;
      background-size: 100%;
      margin-top: 8px;
      text-indent: -9999px; }
    .header .navbar .navbar-contact {
      clear: left;
      font-size: 1.35em;
      color: #6781bf; }
    /*.header .navbar .buttons {
      float: right; }*/
    .header .navbar .navbar-toggle {
      background: #6781bf; }
      .header .navbar .navbar-toggle .icon-bar {
        background: #fff; }
    .header .navbar .button {
      border-radius: 4px;
      /*float: right;*/
      padding: 6px 10px;
      margin-left: 5px;
      margin-top: 5px;
      font-family: Lato, sans-serif;
      background: transparent;
      border: 2px solid #6781bf;
      color: #6781bf;
      text-decoration: none; 
      vertical-align: middle;
    }
      .header .navbar .button:hover, .header .navbar .btn-group .button:hover {
        background: #f5f5f5;
        border: 2px solid #95a7d2; }
    .header .navbar .navbar-nav li {
      padding: 0 0 2px 0;
      position: relative; }
      .header .navbar .navbar-nav li a {
        background: #6781bf;
        font-size: 0.8em;
        color: #fff;
        font-family: Lato, sans-serif;
        position: relative;
        text-decoration: none;
        padding: 5px 10px 4px; }
      .header .navbar .navbar-nav li a:hover {
        background: #95a7d2; }
      .header .navbar .navbar-nav li.active {
        border-bottom: 2px solid #6781bf; }
        .header .navbar .navbar-nav li.active a:hover {
          background: #95a7d2; }
      .header .navbar .navbar-nav li:hover > ul.dropdown-menu {
        display: block; }
      .header .navbar .navbar-nav li ul {
        background: none;
        border: 0;
        padding: 0; }
        .header .navbar .navbar-nav li ul li {
          margin: 0;
          padding: 0; }
          .header .navbar .navbar-nav li ul li a {
            font-size: 1em; }
          .header .navbar .navbar-nav li ul li:first-child {
            border-top: 2px solid #4662a6; }
          .header .navbar .navbar-nav li ul li:not(:first-child):after {
            content: ""; }

.panel, .main-content {
  margin: 50px 0;
  padding-bottom: 30px;
  background: transparent url(../images/bg_60w.png);
  border: 0;
  border-top: 8px solid #f8ef1e;
  font-size: 1.3em; }
  .panel h1, .panel .main-content {
    font-size: 1.7em;
    color: #4662a6;
    margin: 20px; }
  .panel ul, .panel .main-content {
    list-style: none; }
    .panel ul span.date, .panel ul .main-content {
      font-weight: bold; }
  .panel p, .panel .main-content, .panel a, .panel .main-content {
    margin: 0 20px;
    color: #444; }

.services div {
  text-align: center;
  color: #444; }
  .services div h4, .services div h3 {
    font-size: 18px;
    color: #444;
    text-transform: uppercase;
    font-size: 1.2em; }
  .services div .button {
    display: inline-block;
    margin: 10px auto 30px;
    padding: 5px 10px 8px;
    font-family: Lato, sans-serif;
    background: #95a7d2;
    border: 2px solid transparent;
    text-decoration: none;
    color: #fff; }
    .services div .button:hover {
      background: #f5f5f5;
      border: 2px solid #95a7d2;
      color: #6781bf; }

.services-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto; }
  .services-icon.piggybank {
    background: url(../images/icon_piggybank.png); }
  .services-icon.conversation {
    background: url(../images/icon_conversation.png); }
  .services-icon.sunsnowflake {
    background: url(../images/icon_sunsnowflake.png); }
  .services-icon.hardhat {
    background: url(../images/icon_hardhat.png); }
  .services-icon.telephone {
    background: url(../images/icon_telephone.png); }
  .services-icon.tools {
    background: url(../images/icon_tools.png); }
  .services-icon.thermostat {
    background: url(../images/icon_thermostat.png); }
  .services-icon.fire {
    background: url(../images/icon_fire.png); }
  .services-icon.snowflake {
    background: url(../images/icon_snowflake.png); }

.main-content {
  background: transparent url(../images/bg_95w.png);
  margin-top: 100px;
  border-top: 14px solid #f8ef1e;
  padding: 0 1.5em 1.5em; }
  .main-content .lead p {
    color: #4662a6;
    font-size: 1.3em; }
  .main-content h1 {
    font-size: 1.9em;
    color: #4c68b1;
    margin: 20px 0 5px; }
  .main-content h2 {
    clear: right;
    font-size: 1.3em;
    padding: 3px 0;
    font-family: 'Alegreya', Georgia, serif;
    color: #4662a6;
    background: #f2f4f8;
    margin-left: -1.5em;
    padding-left: 1.5em;
    margin-right: -1.5em;
    margin-top: 30px;
    box-shadow: 1px 2px 3px 0px #999;
    margin-bottom: 20px; }
  .main-content ul {
    margin: 0 40px; }
  .main-content p {
    margin: 0.8em 0 0.2em; }

.sub-navigation {
  margin-top: 100px;
  background: url(../images/bg_80w.png); }
  .sub-navigation h5 {
    background: #6781bf;
    border-bottom: 2px solid #4662a6;
    color: #fff;
    padding: 3px 20px;
    margin: 0; }
  .sub-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0; }
  .sub-navigation li {
    border-bottom: 1px solid #b3c0df;
    border-left: 4px solid #6781bf;
    position: relative; }
    .sub-navigation li a {
      padding: 11px 15px 13px;
      font-weight: 700;
      font-size: 1.1em;
      line-height: 1.2em;
      text-decoration: none;
      display: inline-block;
      width: 100%;
      height: 100%; }
      .sub-navigation li a:hover {
        background: #fff; }
    .sub-navigation li.sub-nav-active {
      border-left: 4px solid #f8ef1e;
      background: #fff;
      box-shadow: 0px 0px 2px 0px #999; }
      .sub-navigation li.sub-nav-active:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border: solid 15px;
        border-color: transparent #f8ef1e transparent transparent;
        position: absolute;
        left: -34px;
        top: 18%; }

.big-bg {
  background: url(../images/bg_homepage.png) no-repeat;
  background-size: 100%;
  background-position: center top;
  background-attachment: scroll;
  border-bottom: 7px solid #f8ef1e; }

.footer {
  background: #444;
  border-top: 7px solid #d8cd07;
  color: #fff;
  padding-bottom: 50px; }
  .footer h3 {
    color: #fff; }
  .footer ul {
    list-style: none;
    margin: 0; }
  .footer .nav li a {
    color: #fff;
    font-family: Lato, sans-serif;
    text-decoration: none;
    padding: 2px 10px; }
    .footer .nav li a:hover {
      background: none;
      text-decoration: underline;
      color: #f5f5f5; }
  .footer .footer-contact {
    text-align: right; }

.fb-top {
  /*text-indent: -999px;*/
}

/* ADDED FOR SMARTHUB */
.header .navbar .btn-group .button {
      /*float: right;*/
      margin-top: -2px;
      font-family: Lato, sans-serif;
      background: transparent;
      border: 2px solid #6781bf;
      color: #6781bf;
      text-decoration: none; 
      vertical-align: middle;
      line-height: 18.85px;
  }

.header .navbar .btn-group .dropdown-menu {
/*  margin-left: 15px;*/
  width: 177px;
  color: #6781bf;
  font-family: Lato, sans-serif;
  font-size: 16px;

  text-align: center;
}

.header .navbar .btn-group .dropdown-menu li a {
  text-decoration: none;
  color: #6781bf;
}

@media only screen and (min-width:768px) {
  .header .navbar {
    text-align: center; }
    .header .navbar .navbar-header {
      display: inline-block;
      float: none; }
    .header .navbar .navbar-brand {
      width: 100%;
      height: 66px;
      display: inline-block;
      text-decoration: none; }
      .header .navbar .navbar-brand:hover {
        opacity: 0.85; }
    .header .navbar .buttons {
      display: inline-block;
      float: right;
      margin-top: 20px; }
      .header .navbar .buttons .button {
        float: none; }
    .header .navbar .navbar-nav {
      display: inline-block;
      float: none;
      clear: right;
      margin-top: 20px; }
      .header .navbar .navbar-nav li:not(:first-child):after {
        content: "/";
        color: #fff;
        position: absolute;
        top: 5px;
        left: -2px; }
  .panel, .main-content {
    margin: 250px auto 100px;
    border-radius: 0; }
  .main-content {
    margin-top: 100px; } }

@media only screen and (min-width:1025px) {
  .header .navbar {
    text-align: none; }
    .header .navbar .navbar-header {
      display: inline-block;
      float: left; }
    .header .navbar .navbar-brand {
      width: 506px;
      height: 66px; }
    .header .navbar .navbar-nav {
      float: right; }
    /*.header .navbar .button {
      float: right; }*/
   /* .header .navbar .buttons {
      float: right; }*/
  .panel, .main-content {
    margin: 450px auto 100px;
    border-radius: 0; }
  .main-content {
    margin-top: 100px; } }

