@media all and (max-width: 980px) {
  #emergencies-map-region-section .popover-wrapper .thepopover ul {
    -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  }
  .tab-content-wrapper .key-results-wrapper {
    width: 47.33%;
  }
}

@media all and (max-width: 768px) {

  #emergencies-map-region-section .popover-wrapper .thepopover ul {
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
  }

  .emergencies-result-planned-blocks-wrapper {
    position: relative;
  }

  .emergencies-result-planned-blocks-wrapper .emergencies-result-planned-section-block {
    width: 30%;
  }

  .emergencies-result-planned-section-block .value {
    margin: 0 auto;
    width: 70%;
  }

  .result-achieved-content-outer-wrapper {
    margin: 0 0 50px;
  }

  .emergencies-result-achieved-section-block {
    margin-bottom: 80px;
    width: 48%;
  }

  .emergencies-result-achieved-section-block:nth-last-of-type(2),
  .emergencies-result-achieved-section-block:nth-last-of-type(1) {
    margin-bottom: 10px;
  }

  .emergencies-result-achieved-section-block:nth-last-of-type(2) + .emergencies-result-achieved-bottom-content .bottom-content-block,
  .emergencies-result-achieved-section-block:nth-last-of-type(1) + .emergencies-result-achieved-bottom-content .bottom-content-block {
    margin: 0 0 10px;
  }

  .emergencies-result-achieved-section-block .result-achived-block-info {
    min-height: 174px;
  }

  .emergencies-result-achieved-section-block:first-child,
  .emergencies-result-achieved-section-block:last-child {
    padding: 0 1%;
  }

  #emergencies-funding-chart-section .emergencies-section-column {
    width: 98%;
  }
  #emergencies-funding-chart-section .emergencies-section-column.right-wrapper {
    width: 98%;
  }

  #emergencies-intro-banner .right-section {
    float: none;
    width: 100%;
  }
  #emergencies-intro-banner .left-section {
    float: none;
    width: 92%;
  }
  #emergencies-info-and-banner .right-section {
    background: #242424 none;
    box-sizing: content-box;
    display: inline-block;
    position: relative;
    top: 0;
    width: 96%;
  }
  .tab-content-wrapper .key-results-wrapper {
    width: 48%;
  }

  .emergencies-result-achieved-section-block .result-achived-block-info::before {
    box-shadow: 0 14px 0 98px #eaeaea inset;
  }

  .emergencies-result-achieved-bottom-content .bottom-content-block.active {
    float: left;
    margin: 0 0 100px;
    width: 100%;
  }

  .emergencies-result-achieved-bottom-content .bottom-content-block .general-info-label {
    width: 82%;
  }

  #emergencies-info-and-banner {
    max-height: inherit;
    min-height: inherit;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row {
    margin: 0 1% 2%;
    width: 48%;
  }

  .emergencies-resources-main-wrapper #emergencies-related-news-wrapper {
    margin: 0 0 30px;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row:first-child,
  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row:last-child {
    margin: 0 1% 2%;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-field-field-news-image img {
    width: 100%;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .item-list,
  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .view-footer {
    width: auto;
  }

}

@media all and (max-width: 767px) {

  #dashboard-left-navigation {
    margin: 0 0 20px 0;
  }
  .view-id-emergencies_related_content .funds-content-boxes {
    float: none;
    margin: 0 0 20px;
    width: 100%;
  }
}

@media all and (max-width: 720px) {
  .max_wrapper .breadcrumb {
    display: none;
  }
}

@media all and (max-width: 640px) {

  .legend-block-wrapper {
    left: 2%;
  }

  ul.tab-panel-container li {
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
    float: none;
    margin: 0;
    position: relative;
    width: auto;
  }

  li.tab-list-item .tabs-span a {
    padding: 10px 40px 10px 10px;
  }

  li.tab-list-item .tabs-span a span.tab-icon {
    background-image: url(../images/close-tab-arrow.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    height: 10px;
    position: absolute;
    right: 12px;
    top: 25px;
    width: 15px;
  }

  li.tab-list-item.active-tab .tabs-span a span.tab-icon {
    background-image: url(../images/open-tab-arrow.png);
    background-repeat: no-repeat;
    background-position: right center;
  }

  li.tab-list-item .tab-content-wrapper {
    position: relative;
    width: auto;
  }

  .tab-content-wrapper .key-results-wrapper {
    width: 100%;
  }

  .tab-content-wrapper .key-results-wrapper {
    min-height: 100%;
  }

  ul.tab-panel-container li:first-child .tab-content-wrapper .key-results-wrapper:first-child .icon-holder > span,
  .tab-content-wrapper .icon-holder > span {
    min-height: auto;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row {
    margin: 0 1% 4%;
    width: 98%;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row:first-child,
  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .views-row:last-child {
    margin: 0 1% 4%;
  }

  .emergencies-resources-main-wrapper .views-emergencies-related-content-wrapper .item-list {
    display: none;
  }

  .emergencies-resources-main-wrapper .emergencies-resources-title h2 {
    line-height: 26px;
  }

  .tab-content-wrapper .key-result-info-holder {
    width: 66%;
  }
}

@media all and (max-width: 480px) {
  #emergencies-map-region-section .popover-wrapper .thepopover ul {
    -webkit-column-count: 1;
    -moz-column-count: 1;
    column-count: 1;
  }

  .legend-block-wrapper {
    bottom: 0;
    left: 2%;
    position: relative;
  }
  #emergencies-legend > ul > li {
    display: inline;
    margin: 0 15px 0 0;
  }

  .tab-content-wrapper .key-results-wrapper {
    margin: 2% 0;
  }

  .emergencies-result-achieved-bottom-content.clearfix {
    margin: 0;
  }

  .emergencies-result-achieved-section-block {
    width: 98%;
  }

  .emergencies-result-achieved-section-block .result-achived-block-info {
    min-height: inherit;
    padding: 10px 20px 20px;
  }

  .emergencies-result-achieved-bottom-content .bottom-content-block.active {
    margin: 0px 0 70px;
  }
  .emergencies-result-achieved-bottom-content .bottom-content-block .general-info-label {
    width: 74%;
  }
  .emergencies-result-achieved-section-block:nth-last-of-type(2),
  .emergencies-result-achieved-section-block:nth-last-of-type(1) {
    margin-bottom: 80px;
  }
  .emergencies-result-achieved-section-block:last-child {
    margin-bottom: 10px;
  }
  div.google-visualization-tooltip {
    margin-left: -10px;
    width: 250px;
  }
  li.tab-list-item .tab-content-inside-wrapper {
    padding: 25px;
  }
  #emergencies-chart-section #emergencies-funding-chart {
    margin: 0;
  }
  .page-node-type-ct-emergencies-data .tabs .nav li.active a:after {
    display: block;
  }

}

@media all and (max-width: 479px) {

  .emergencies-result-planned-blocks-wrapper .emergencies-result-planned-section-block {
    margin: 5% 1%;
    width: 98%;
  }

  #emergencies-funding-chart-section .emergencies-section-column.left-wrapper {
    overflow-x: scroll;
  }

  .tab-content-wrapper .key-results-wrapper {
    margin: 5% 0;
  }

}
