/* CASA Footer - version 0.37 */

.footer-wrapper {
  background: #4C4C4C;
  margin-top: 40px;
  padding: 0 1.5em;
  overflow: hidden;
  border-bottom: 10px solid #0080A2;
}
#footer {
  margin: auto;
  color: #CACACA;
  max-width: 1150px;
}

.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

@media (min-width: 768px) {
  #footer {
    padding-bottom: 3em;
  }
}
@media (min-width: 1251px) {
  #footer {
    max-width: 1150px;
  }
}

#footer .block-govcms-social-links .block__content a img {
  border: 0;
  /* Improve image quality when scaled in IE 7. */
  -ms-interpolation-mode: bicubic;
  max-width: 100%;   
  height: auto;
  display: block;
  width: auto;
}

#footer .block-govcms-social-links .block__content a {
  display: inline-block;
}

#footer .footer-column {
  width: 32.1428571429%;
  float: left;
  margin-right: 1.7857142857%;
  padding: 0;
}

@media (max-width: 767px) {
  #footer .footer-column {
    width: 100%;
    float: none;
  }
}

#footer #footer-col1 .block-menu-block {
  display: none;
}

@media (min-width: 768px) {
  #footer #footer-col1 .block-menu-block {
    display: block;
  }
}

#footer #footer-col1 #block-block-26, #footer #footer-col1 #block-block-91 {
  display: none;
}

@media (min-width: 768px) {
  #footer #footer-col1 #block-block-26, #footer #footer-col1 #block-block-91 {
    display: block;
  }
}

#footer #footer-col2 #block-bean-footer-contact-us {
  display: none;
}

@media (min-width: 768px) {
  #footer #footer-col2 #block-bean-footer-contact-us {
    display: block;
  }
}

#footer #footer-col3 {
  margin: 0;
  position: relative;
}

#footer #footer-col3 .block-govcms-social-links {
  display: block;
  z-index: 9;
}

#footer #footer-col3 .block-govcms-social-links img:hover {
  filter: brightness(0.5) sepia(1) hue-rotate(163deg) saturate(22);
}

@media (max-width: 767px) {
  #footer #footer-col3 .block-govcms-social-links {
    margin: 1em;
  }
}

#footer .block {
  padding: 0;
}

#footer h2 {
  color: #ffffff;
  font-size: 1.25em;
  border-bottom: 1px solid #707070;
  line-height: 1.5em;
  position: relative;
  padding: 1em 1em;
}

@media (max-width: 767px) {
  #footer h2 {
    margin: 0;
    font-size: 1.375em;
  }
}

@media (min-width: 768px) {
  #footer h2 {
    padding: .5em 0 0.5em 0;
    margin: 1em 0;
  }
}

#footer h2 a {
  display: block;
  position: relative;
}

@media (min-width: 768px) {
  #footer h2 a {
    width: auto;
  }
}

#footer h2 a::after {
  content: ' ';
  display: inline-block;
  position: absolute;
  top: 7px;
  right: 0;
  width: 20px;
  height: 20px;
  background-image: url("");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}


.lt-ie9 #footer h2 a::after {
  background-image: url("");
}

@media (min-width: 768px) {
  #footer h2 a::after {
    top: 5px;
  }
}

@media (max-width: 767px) {
  #footer #block-block-76 h2,
  #footer #block-block-81 h2 {
    line-height: 1.4545454545em;
  }
}

@media (max-width: 767px) and (min-width: 768px) {
  #footer #block-block-76 h2,
  #footer #block-block-81 h2 {
    padding: 0.5em 0 0.5em 0;
    margin: 1em 0;
  }
}

#footer a {
  color: #FCFCFC;
  text-decoration: none;
}

#footer a:hover, #footer a:focus, #footer a:active {
  text-decoration: underline;
}

#footer a:focus {
  background-color: #0080A2 !important;
  color: #ffffff !important;
  text-decoration: underline;
}

#footer ul {
  margin: .5em 0;
}

#footer p, #footer ul li {
  color: #CACACA;
  list-style: none;
  margin-top: 0;
}

#footer .menu, #footer .block__content {
  padding: 1em 1.3em;
}

@media (min-width: 768px) {
  #footer .menu, #footer .block__content {
    padding: 0;
  }
}

#footer #block-bean-footer-heading-site-information .block__content, #footer #block-bean-footer-heading-follow-us .block__content, #footer #block-bean-footer-heading-resources .block__content {
  padding: 0;
}

#footer .bean-contact-us {
  display: block;
}

@media (max-width: 767px) {
  #footer .bean-contact-us {
    display: none;
  }
}

#footer .field {
  margin: 0.75em 0;
}

#footer .field-label-inline {
  margin: 1.5em 0;
}

#footer .field-label-inline .field-label {
  width: 100px;
}

#footer .field-name-field-tags {
  width: 100%;
  border-top: solid 1px #dadada;
  border-bottom: solid 1px #dadada;
  padding: 0.75em 0;
  margin: 0.75em 0;
  display: block;
}

#footer .field-name-field-tags div {
  display: inline;
}

#footer .field-name-field-tags .field-item:before {
  content: ", ";
}

#footer .field-name-field-tags .field-item:first-child:before {
  content: "";
}

#footer .field-type-file img, .field-type-file a {
  display: inline-block;
}

#footer .field-name-field-subtitle {
  font-weight: bold;
}

#footer .field-name-field-date.field-label-inline .field-label {
  width: auto;
}

#footer .field-name-field-contact-office p {
  margin-top: 0;
}


#footer .field .field-label {
  font-weight: normal;
  font-size: 0.75em;
}

#footer .block-govcms-social-links {
  text-align: center;
  padding: 0;
  margin: 1em 0;
}

@media (min-width: 768px) {
#footer .block-govcms-social-links {
  text-align: center;
  padding: 0;
  margin: 1em 0;
}

@media (min-width: 768px) {
  #footer .block-govcms-social-links {
    text-align: left;
  }
}

#footer .block-govcms-social-links .block__content a {
  width: 36px;
}

@media (min-width: 1251px) {
  #footer .block-govcms-social-links .block__content a {
    width: 48px;
    margin-right: 15px;
  }
}

#footer #block-bean-social-links .field {
  margin: 0;
}

#footer #block-bean-social-links ul {
  margin: 0;
}

#footer #block-bean-social-links ul li {
  display: inline-block;
}

#footer #block-bean-social-links ul li img {
  width: 36px;
}

@media (min-width: 1251px) {
  #footer #block-bean-social-links ul li img {
    width: 48px;
  }
}

@media (max-width: 767px) {
  #footer #block-bean-social-links ul {
    text-align: center;
    padding: 1em 0;
  }
}

/**
 * Set 1 unit of vertical rhythm and a consistent indentation.
 */
#footer dl,
#footer menu,
#footer ol,
#footer ul {
  margin: 1.5em 0;
  padding: 0 0 0 0;
  /* LTR */
}

#footer ul, #footer ol {
  list-style: none;
}

#footer ul ul, #footer ul ol, #footer ol ul, #footer ol ol {
  margin: 0;
  /* Turn off margins on nested lists. */
}

#footer dl {
  padding: 0;
}

#footer dd {
  margin: 0 0 0 30px;
  /* LTR */
}


