/* IMPACT */

.impact-country .aside-img {
  position: relative;
  background-position: center left;
  background-size: 150% auto;
    -webkit-background-size: 150% auto;
}

  .impact-country .aside-img,
  .section-country-information  .aside-information {
    width: 70%;
  }
  
  .section-country-information  .aside-information {
    width: 100%;
    /* Bring back to 70% if the country maps are brought back */
  }

  .impact-country .aside-img:before {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    content: '';
    width: 100%;
    height: 100%;
    background-color: #191C23;
    opacity: 0.8;
  }
  
  .impact-country .aside-img nav,
  .impact-country .aside-img h1,
  .impact-country .aside-img p {
    position: relative;
    z-index: 2;
  }
  
  .impact-country .aside-img p {
    width: 80%;
  }
  
  .impact-country .aside-summary {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    padding: 4rem;
  }
  
  .impact-country .aside-summary,
  .section-country-information .aside-country-map {
    width: 30%;
  }
  
  .section-country-information .aside-country-map {
    position: relative;
    display: none;
  }
  
  .impact-country .aside-summary {
    color: #fff;
    font-size: 12px; font-size: 1.2rem;
    background-color: #BE0F34;
  }
  
    .impact-country .aside-summary h2 {
      margin-bottom: 2rem;
      font-size: 25px; font-size: 2.5rem;
      font-weight: 700;
    }
    
    #country-header-summary-table,
   .country-header-result-score {
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
    }
    
    #country-header-summary-table {
      margin-top: 2rem;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      width: 100%;
      font-size: 14px; font-size: 1.4rem;
    }
    
    .country-header-result-score {
      justify-content: space-between;
    }
    
    .country-header {
      width: 50%;
      font-size: 14px; font-size: 1.4rem;
      margin-bottom: 1rem;
      line-height: 1.2;
    }
    
    .country-header .country-header {
      width: 90%;
    }
    
    .country-header-score {
      width: 25%;
      font-size: 14px; font-size: 1.4rem;
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      justify-content: center;
      border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .country-header-score .country-header-score strong {
      line-height: 1.1;
    }
    
    .country-header-score .country-header-score {
      border: none;
      width: 100%;
    }
    
    .country-map-information {
      display: -webkit-flex;
      display: -ms-flex;
      display: flex;
      -webkit-flex-direction: column;
      -ms-flex-direction: column;
      flex-direction: column;
      -ms-align-items: flex-end;
      align-items: flex-end;
      width: 300px;
    }
    
    .country-map-information.score {
      position: absolute;
      top: 5rem;
      right: 4rem;
      align-content: center;
      justify-content: center;
      width: 300px;
      height: 100%;
      text-align: center;
    }
    
    .country-map-information.score p {
      margin-bottom: 1rem;
      line-height: 1;
    }
    
    .country-map-information.score p:nth-of-type(1),
    .country-map-information.score p:nth-of-type(4) {
      color: #222;
      font-size: 12px; font-size: 1.2rem;
      font-weight: 400;
    }
    
    .country-map-information.score p:nth-of-type(1) {
      margin-bottom: 2rem;
    }
    
    .country-map-information.score p:nth-of-type(4) {
      margin-top: 1rem;
    }
    
    .country-map-information.score p:nth-of-type(2),
    .country-map-information.score p:nth-of-type(3) {
      color: #BE0F34;
      font-size: 30px; font-size: 3.0rem;
      font-weight: 700;
    }
    
    .country-map-information.score p:nth-of-type(2):after {
      display: block;
      margin: 1rem auto 0;
      content: '';
      height: 4px;	
      width: 50px;	
      background-color: #D4DADC;
      border-radius: 10px;
    }
    
    .map-analyze-table-list-results .country-score {
      max-width: 110px;
    }

/* IMPACT */

/* SECTIONS */

.page-template-country .section-topic-data {
  padding-top: 8rem;
}

  .page-template-country .section-topic-data .topic-map-results:nth-of-type(2)::before {
    display: none;
  }
  
  .aside-country-map {
    position: relative;
  }
  
    .country-map-information {
      margin: -200px 4rem 0 auto;
    }

/* SECTIONS */

/* 1200px or less */

@media (max-width: 1200px) {
  
 .filter-set .filter-set-title {
   flex: 100%;
   text-align: right;
   height: 30px;
 }
 
  .single-topic .filter-set .filter-set-title {
    text-align: left;
  }
 
 .map-analyze-results-header .filter-set:last-of-type {
   width: calc(50% - 155px);
 }
  
}

/* 1200px or less */

/* 1000px or less */

@media (max-width: 1000px) {
  
  .impact-country,
  .map-border .map-analyze-results-header,
  .section-topic-content {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  
    .impact-country .aside-img, 
    .section-country-information .aside-information,
    .impact-country .aside-summary,
    .single-country .map-analyze-results-header .filter-heading-title,
    .map-analyze-results-header .filter-set,
    .map-analyze-results-header .filter-set:last-of-type,
    .section-topic-content aside {
      width: 100%;
      min-height: auto;
    }
    
    .impact-country .aside-img {
      min-height: 350px;
    }
    
    .country-map-information {
      margin: -85px 0 0 0;
    }
    
    .section-country-information {
      padding: 0 4rem 4rem;
    }
    
    .country-map-information.score {
      top: 0rem;
      right: 1rem;
    }
    
    .section-topic-content aside p {
      width: 80%;
    }
    
    .impact-country .aside-content .h1,
    .section-topic-content aside h2,
    .section-topic-content aside h2 {
      font-size: 30px; font-size: 3.0rem;
    }
    
    .section-topic {
      padding: 4rem;
    }
    
    .map-analyze-results-header .filter-set:last-of-type,
    .map-analyze-results-header .filter-set {
      padding: 1rem;
    }
    
    .filter-set .filter-set-title {
      text-align: left;
    }
    
    .filter-set .filter-set-title {
      padding-left: 2rem;
    }
    
    .map-analyze-results-header .filter-set {
      justify-content: flex-start;
    }
    
    .single-topic .map-analyze-results-header .filter-heading-title,
    .single-country .map-analyze-results-header .filter-heading-title,
    .map-analyze-results-header .show-all,
    .map-analyze-results-header .map-title,
    .map-analyze-results-header .view-options,
    .btn-show-all-results {
      border-right: none;
      width: 100%;
      max-width: 100%;
      min-height: 50px;
    }
    
    .single-topic .map-analyze-results-header .filter-heading-title,
    .single-country .map-analyze-results-header .filter-heading-title,
    .map-analyze-results-header .map-title {
      border-bottom: 1px solid #D4DADC;
    }
    
    .map-analyze-results-header .show-all {
      border-radius: 5px 5px;
    }
    
    .map-analyze-results-header .filter-set:last-of-type {
      border: none;
    }
    
    .table-list-results-header {
      margin-bottom: 2rem;
    }
    
    .nav-view-options {
      padding-top: 0;
      padding-bottom: 0;
    }
  
}

/* 1000px or less */

/* 768px or less */

@media (max-width: 768px) {
  
  .section-country-information {
    -webkit-flex-direction: column-reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  
  .section-topic {
    padding: 2rem;
  }
  
    .country-map-information.score {
      position: relative;
      top: initial;
      right: initial;
      width: 100%;
      height: 100%;
    }
    
    .country-map-information,
    .section-country-information .aside-country-map {
      margin: 0 auto;
      width: 100%;
    }
    
    .table-list-results-header .score-bar, .country-result-score .score-bar {
      display: none;
    }
    
    .table-list-results-header aside, 
    .country-result-score aside {
      width: 50%;
      max-width: 50%;
    }
    
    .table-list-results-header, .country-result-score {
      justify-content: space-between;
    }
    
    .map-analyze-table-list-results .country-score,
    .map-analyze-table-list-results .country-score .btn-sort-by-score {
      max-width: 110px;
      justify-content: center;
      text-align: center;
    }
    
    .section-topic-content aside p {
      width: 100%;
    }
    
    .map-analyze-table-list-results .country-score,
    .table-list-results-header aside .btn-sort-by-score {
      /* justify-content: flex-end; */
    }
    
    .impact-country .aside-content .h1, 
    .section-topic-content aside h2, 
    .section-topic-content aside h2 {
      font-size: 24px; font-size: 2.4rem;
    }
    
    .filter-set .form-check {
      margin: 0.5rem;
    }
    
}

/* 768px or less */

/* 460px or less */

@media (max-width: 460px) {
  
}

/* 460px or less */


/* 390px or less */

@media (max-width: 390px) {
  
  
}

/* 390px or less */