function _templateObject7() {
  var data = _taggedTemplateLiteral(["\n  ", ";\n  font-weight: 500;\n  font-size: ", "rem;\n"]);

  _templateObject7 = function _templateObject7() {
    return data;
  };

  return data;
}

function _templateObject6() {
  var data = _taggedTemplateLiteral(["\n  ", ";\n  font-weight: 500;\n"]);

  _templateObject6 = function _templateObject6() {
    return data;
  };

  return data;
}

function _templateObject5() {
  var data = _taggedTemplateLiteral(["\n  color: ", ";\n  font-family: Rubik, sans-serif;\n  font-weight: normal;\n  font-size: ", "rem;\n  line-height: ", "rem;\n  text-decoration: none;\n  margin: 0;\n"]);

  _templateObject5 = function _templateObject5() {
    return data;
  };

  return data;
}

function _templateObject4() {
  var data = _taggedTemplateLiteral(["\n  height: 90px !important;\n  justify-self: end;\n\n  @media (max-width: ", "px) {\n    justify-self: start;\n  }\n"]);

  _templateObject4 = function _templateObject4() {
    return data;
  };

  return data;
}

function _templateObject3() {
  var data = _taggedTemplateLiteral(["\n  display: grid;\n  justify-content: center;\n\n  @media (max-width: ", "px) {\n    padding: 0 40px;\n  }\n\n  @media (max-width: ", "px) {\n    justify-content: start;\n    padding: 0;\n  }\n"]);

  _templateObject3 = function _templateObject3() {
    return data;
  };

  return data;
}

function _templateObject2() {
  var data = _taggedTemplateLiteral(["\n  margin: 0 auto;\n  max-width: ", "px;\n  padding: 55px 20px;\n  display: grid;\n  grid-template-columns: repeat(3, 1fr);\n  align-items: end;\n\n  @media (max-width: ", "px) {\n    grid-template-columns: 1fr auto auto;\n  }\n\n  @media (max-width: ", "px) {\n    grid-template-columns: 1fr;\n    grid-template-rows: auto;\n    grid-row-gap: 30px;\n  }\n"]);

  _templateObject2 = function _templateObject2() {
    return data;
  };

  return data;
}

function _templateObject() {
  var data = _taggedTemplateLiteral(["\n  height: 185px;\n  width: 100%;\n  background: #fff;\n\n  position: relative;\n  box-sizing: border-box;\n"]);

  _templateObject = function _templateObject() {
    return data;
  };

  return data;
}

function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }

import { jsx, css } from "@emotion/core";
import { Logo, BrandColors } from "../index";
import { defaultFontSize, browserDefaultSize } from "../../constants/styles";
var footerWrapper = css(_templateObject());

var contentWrapper = function contentWrapper(props) {
  return css(_templateObject2(), props.greatestWidth, props.collapseWidth, props.condensedWidth);
};

var businessWrapper = function businessWrapper(props) {
  return css(_templateObject3(), props.collapseWidth, props.condensedWidth);
};

var logoStyle = function logoStyle(props) {
  return css(_templateObject4(), props.condensedWidth);
};

var textStyle = css(_templateObject5(), BrandColors.primary.hex, defaultFontSize / browserDefaultSize, 50 / defaultFontSize);
var boldText = css(_templateObject6(), textStyle);
var header = css(_templateObject7(), textStyle, 30 / browserDefaultSize);

var Footer = function Footer(props) {
  return jsx("footer", {
    css: footerWrapper
  }, jsx("div", {
    css: contentWrapper(props)
  }, jsx("div", {
    id: "contact-us"
  }, jsx("p", {
    css: header
  }, "Contact"), jsx("a", {
    css: textStyle,
    href: "mailto:hi@civicsoftwarefoundation.org"
  }, "hi@civicsoftwarefoundation.org"), jsx("p", {
    css: boldText
  }, "Creative and Tech HQ"), jsx("p", {
    css: textStyle
  }, "Portland, OR"), jsx("a", {
    css: textStyle,
    href: "tel:5033839131"
  }, "+1-503-383-9131\u202C")), jsx("div", {
    css: businessWrapper(props)
  }, jsx("div", null, jsx("p", {
    css: boldText
  }, "Business HQ"), jsx("p", {
    css: textStyle
  }, "Washington, DC"), jsx("a", {
    css: textStyle,
    href: "tel:12026641223"
  }, "+1-202-664-1223"))), jsx(Logo, {
    css: logoStyle(props),
    type: "squareLogo"
  })));
};

Footer.defaultProps = {
  greatestWidth: 1200,
  collapseWidth: 845,
  condensedWidth: 715
};
Footer.displayName = "Footer";
export default Footer;