@mixin clearfix {}

@mixin opacity($opacity) {
  opacity: $opacity;
  filter: unquote("alpha(opacity=#{$opacity * 100})");
}
/* Newsletter */
#newsletter {
  padding: 20px 0;
  background: #085a78; padding: 10px 0 10px 0;
  h5 { font-size: 20px;font-family: "OpenSans Light", sans-serif;
  font-weight: 400; margin-bottom: 0px; margin-top: 10px; color: #fff; line-height: 24px; }
  p { clear: both; font-size: 13px; padding-top: 2px; color: #fff; }
  a { color: #fff; }
  .margintop-20px{
    margin-top:20px;
  }
  .row.collapse form {
    input[type="text"] { font-size: 17px; font-weight: 200; color: #999; border: 0; }
    .button { border: 0; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; background: #257696; }
    .button:hover { background: #1b566d; }
  }
}

/* Global Footer */

.zurb-footer-top {
  padding: 24px 0px 12px; color: white;
  .row .columns { @include clearfix(); }
  &.zurb { background-position: 10px 7px; }
  .property {
    text-align: center;
    .property-info { padding-top: 37px; }

    h2 {
      margin: 0; padding: 0 !important;
      a {
        -webkit-transition: all .25s ease-in-out; -moz-transition: all .25s ease-in-out; -o-transition: all .25s ease-in-out; transition: all .25s ease-in-out; font-family: "zurb-logo"; font-weight: normal; font-size: em-calc(18px); padding: 0;
        &:hover { @include opacity(0.8); }
        &.services { width: 190px; }
        span { display: none; }
        strong { font-size: 17px; margin-left: -7px; }
      }
    }
    h3 { font-size: 1.4rem; font-weight: bold; color: white; margin-bottom: 20px; }
    h4 { font-size: 1.1rem; font-weight: 200; color: white; margin-bottom: 10px; }
    p, li, a { font-size: 13px; line-height: 21px; color: white; }
    a {
      font-weight: bold; color: white;
    }
  }
    .learn-links, .support-links, .connect-links {
      border-left: 1px solid rgba(255, 255, 255, 0.2);
      ul { margin-left: 0px !important;
        list-style: none;
        li { line-height: 20px; }
      }
    }
    .connect-links {
      .button { font-size: 12px; font-weight: normal; background: rgba(0, 0, 0, 0.1); color: #FFF !important; font-weight: bold; text-shadow: none; box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; border: none; padding: 6px 16px; }
    }

    .global {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      .footer-link-block {
        font-weight: normal; display: block; margin: 30px 0 0 0;
        span {
          display: block; color: white; font-size: 0.75rem; padding-left: 40px; line-height: 18px;
          &.title { font-size: 1.0rem; margin-bottom: 5px; }
        }
      }
    }
.zurb-footer-top .property h4 { text-transform: none; }
  ul.zurb-links { margin: 0; display: inline-block; padding-bottom:0px;
    li { display: block; float: left; margin-left: 6px; text-transform: uppercase; font-weight: 700; font-size: 0.75rem ;
      a { color: #666; padding: 3px 6px;
        &:hover { color: #777; }
      }
    }
  }
  p.copyright { margin: 6px 0 0; font-size: 0.75rem; color: #666; }
  ul.home-social { display: block; float: right; margin-bottom: 8px;
    li { list-style: none; display: block; float: left; margin-left: 10px;
      &:first-child { margin-left: 0; }
      a { display: block; height: 50px; width: 50px;
        &:hover { @include opacity(0.8); }
        &.twitter { background-position: center 0; }
        &.facebook { background-position: center -200px; }
        &.mail { background-position: center -400px; }
      }
    }
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait){
  .zurb-footer-top .property { padding-top: 0px;
    .learn-links, .support-links, .connect-links { height: 240px; padding: 50px 10px 0; }
  }
}

@media only screen and (max-width: 767px) {
  .zurb-footer-top {
    .property {
      .property-info { padding-top: 0px; }
      .learn-links, .support-links, .connect-links { border: none; height: auto; padding: 80px 20px 0; margin: 4px 0 0 0; border-top: 1px dotted rgba(255, 255, 255, 0.2);
        li a { font-size: 15px; line-height: 2; }
        p, a { font-size: 16px; }
      }
      .learn-links { background-position: center -300px;padding-top: 76px 20px 0;
      }
      .support-links { padding: 76px 20px 0; background-position: center -618px; }
      .connect-links { padding: 76px 20px 14px ; background-position: center 10px; }
    }
    .global { border: none; }
      .footer-link-block {
      span { font-size: em-calc(11px); line-height: 16px; }
      &.services { border-top: 1px dotted rgba(255, 255, 255, 0.2); padding-top: 40px; margin-top: 0; background-position: center 10px !important;}
    }
  }
}

/* Reformating pillars */

@media only screen and (max-width: 767px) {
  .zurb-footer-top .property .connect-links { border-bottom: 1px dotted rgba(255, 255, 255, 0.2); margin-bottom: 20px; }
  .zurb-footer-top .global {
    .footer-link-block { padding-top: 50px; text-align: center; margin: 0 !important; clear: both;
      span { padding-left: 0px; }
      &.services { border-top: 0; background-position: center 15px !important; }
      &.foundation { background-position: center 15px !important; }
      &.apps { padding-top: 80px; background-position: center 45px !important; }
      &.expo { padding-top: 80px; background-position: center 45px !important; }
    }
  }
  .zurb-footer-top .property .learn-links { background: none; border: none; padding-top: 0;margin: 0; }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
  .zurb-footer-top .property .learn-links { background:none; }
}

.zurb-footer-top {
  &.bg-blue { background: #118AAB; }
  &.bg-fblue { background: #074e68; }
  &.bg-green { background: #B8D30B; }
  &.bg-dgreen { background: #afc908; }
  &.bg-magenta { background: #A9014B; }
  &.bg-orange { background: #FF5C00; }
  &.bg-lorange { background: #FF6908; }
  &.bg-oyellow { background: #FC9200; }
  &.bg-loyellow { background: #FFB515; }
  &.bg-navy { background: #074e68; }
}
