/***********************

Styles for inner page basic


***********************/

.article-wrapper article h1,
.article-wrapper article h2,
.article-wrapper article h3,
.article-wrapper article h4,
.article-wrapper article h5,
.article-wrapper article h6,
.description h1,
.description h2,
.description h3,
.description h4,
.description h5,
.description h6,
.content .body-content h1,
.content .body-content h2,
.content .body-content h3,
.content .body-content h4,
.content .body-content h5,
.content .body-content h6,
.event_description h1,
.event_description h2,
.event_description h3,
.event_description h4,
.event_description h5,
.event_description h6 {
  margin-bottom: 0;
  /*color: #221f20;*/
  font-weight: 500;
  padding-bottom: 35px;
  margin-top: 10px;
  /*text-transform: initial;*/
}

.event_description h1,
.article-wrapper article h1,
.description h1,
.content .body-content h1 {
  font-size: 40px;
  line-height: 46px;
}

.event_description h2,
.article-wrapper article h2,
.description h2,
.content .body-content h2 {
  font-size: 36px;
  line-height: 42px;
}

.event_description h3,
.article-wrapper article h3,
.description h3,
.content .body-content h3 {
  font-size: 32px;
  line-height: 38px;
}

.event_description h4,
.article-wrapper article h4,
.description h4,
.content .body-content h4 {
  font-size: 28px;
  line-height: 34px;
  color: #221f20;
  /*color: #4d4d4d;*/
}

.event_description h5,
.article-wrapper article h5,
.description h5,
.content .body-content h5 {
  font-size: 24px;
  line-height: 30px;
  color: #221f20;
  /*color: #4d4d4d;*/
}

.event_description h6,
.article-wrapper article h6,
.description h6,
.content .body-content h6 {
  font-size: 20px;
  line-height: 26px;
  color: #221f20;
}

.article-wrapper article h1 strong,
.article-wrapper article h2 strong,
.article-wrapper article h3 strong,
.article-wrapper article h4 strong,
.article-wrapper article h5 strong,
.article-wrapper article h6 strong,
.description h1 strong,
.description h2 strong,
.description h3 strong,
.description h4 strong,
.description h5 strong,
.description h6 strong,
.content .body-content h1 strong,
.content .body-content h2 strong,
.content .body-content h3 strong,
.content .body-content h4 strong,
.content .body-content h5 strong,
.content .body-content h6 strong,
.event_description h1 strong,
.event_description h2 strong,
.event_description h3 strong,
.event_description h4 strong,
.event_description h5 strong,
.event_description h6 strong {
  font-size: inherit !important;
  line-height: inherit !important;
}

/***************

Paragraphs

***************/

.story-desc p,
.article-wrapper article p,
.section-container .description p,
.description p,
.content .body-content p,
.event_description p {
  font-size: 24px;
  font-family: "Effra";
  font-weight: 300;
  color: #221f20;
  line-height: 30px;
  padding-bottom: 15px;
  margin-bottom: 10px;
  padding-bottom: 15px;
}

.body-content .content-smallpadding>p {
  padding-bottom: 0;
}

.body-content .content-smallpadding {
  padding-bottom: 14px;
}

/************img******************/

.content .body-content img,
.container-section .description img {
  max-width: 100%;
}

/********* anchor tag ***********/

.story-desc strong,
.article-wrapper article strong,
.section-container .description strong,
.description strong,
.content .body-content strong,
.event_description strong {
  font-size: 24px !important;
  line-height: 30px !important;
}

.event_description a,
.article-wrapper article a,
.section-container .description a,
.description a,
.content .body-content a,
.article-wrapper article ol li a,
.article-wrapper article ul li a,
.description ul li a,
.description ol li a,
.content .body-content ul li a,
.content .body-content ol li a {
  font-size: 24px;
  line-height: 30px;
  word-wrap: break-word;
  text-decoration: none;
}

/****************

List


**************/

.content .body-content ul {
  padding-left: 24px;
}

.event_description ol li,
.event_description ul li,
.article-wrapper article ol li,
.article-wrapper article ul li,
.description ul li,
.description ol li,
.content .body-content ul li,
.content .body-content ol li {
  font-family: "Effra";
  font-weight: 300;
  color: #221f20;
  font-size: 24px;
  line-height: 30px;
  /* padding-bottom: 36px; */
  padding-bottom: 15px;
  margin-bottom: 0;
  padding-left: 20px;
}

/* #326000: issue 8 */
.content .body-content ul li a {
  display: flex;
}

.story-desc p:last-child,
.event_description p:last-child,
.article-wrapper article ul li p:last-child,
.article-wrapper article ol li p:last-child,
.description ul li p:last-child,
.description ol li p:last-child,
.content .body-content ul li p:last-child,
.content .body-content ol li p:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

/*******list overriding**********/

.content .body-content .content-block.block-4 ul li,
.content .body-content .content-block.block-4 ul,
.content .body-content .content-block.block-2 ul,
.content .body-content .content-block.block-2 ul li {
  padding-left: 0;
}

/*****************resource-download-links**************/

.country-links h3,
.resource-download-links {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

.resource-download-links a {
  font-size: 18px !important;
}

.section-container .download-link a {
  font-size: 20px;
  text-decoration: none;
  font-weight: 300;
  cursor: pointer;
}

/*********** figure***********/

.article-wrapper figcaption {
  padding-bottom: 20px;
}

/* table-apply-for-funding */

.table-apply-for-funding td {
  border: none;
  padding: 0 15px;
}

.table-apply-for-funding td:first-child {
  padding-left: 0;
}

.table-apply-for-funding td:last-child {
  padding-right: 0;
}

.table-apply-for-funding img {
  border: 1px solid #dbdbdb;
  height: auto;
}
/* Center align table: http://panappsusa-dev.assyst-uc.com:8081/apply */
.table-apply-for-funding {
  margin: 0 auto;
}
/************* responsive ******************/

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

  .article-wrapper article h1,
  .article-wrapper article h2,
  .article-wrapper article h3,
  .article-wrapper article h4,
  .article-wrapper article h5,
  .article-wrapper article h6,
  .description h1,
  .description h2,
  .description h3,
  .description h4,
  .description h5,
  .description h6,
  .content .body-content h1,
  .content .body-content h2,
  .content .body-content h3,
  .content .body-content h4,
  .content .body-content h5,
  .content .body-content h6 {
    padding-bottom: 20px;
    margin-top: 0px;
    /*text-transform: initial;*/
  }

  .story-desc strong,
  .article-wrapper article strong,
  .section-container .description strong,
  .description strong,
  .content .body-content strong,
  .event_description strong {
    font-size: 18px !important;
    line-height: 24px !important;
  }

  .story-desc p,
  .event_description p,
  .article-wrapper article p,
  .section-container .description p,
  .description p,
  .content .body-content p,
  .article-wrapper article ol li,
  .article-wrapper article ul li,
  .description ul li,
  .description ol li,
  .content .body-content ul li,
  .content .body-content ol li {
    font-size: 18px;
    line-height: 24px;
  }

  .event_description a,
  .article-wrapper article a,
  .section-container .description a,
  .description a,
  .content .body-content a,
  .article-wrapper article ol li a,
  .article-wrapper article ul li a,
  .description ul li a,
  .description ol li a,
  .content .body-content ul li a,
  .content .body-content ol li a {
    font-size: 18px;
    line-height: 24px;
  }

  .article-wrapper article h1,
  .description h1,
  .content .body-content h1,
  .event_description h1 {
    font-size: 34px;
    line-height: 38px;
  }

  .article-wrapper article h2,
  .description h2,
  .content .body-content h2,
  .event_description h2 {
    font-size: 30px;
    line-height: 32px;
  }

  .article-wrapper article h3,
  .description h3,
  .content .body-content h3,
  .event_description h3 {
    font-size: 26px;
    line-height: 28px;
  }

  .article-wrapper article h4,
  .description h4,
  .content .body-content h4,
  .event_description h4 {
    font-size: 22px;
    line-height: 24px;
  }

  .article-wrapper article h5,
  .description h5,
  .content .body-content h5,
  .event_description h5 {
    font-size: 18px;
    line-height: 20px;
  }

  .article-wrapper article h6,
  .description h6,
  .content .body-content h6,
  .event_description h6 {
    font-size: 14px;
    line-height: 16px;
  }

  .event_description ol li,
  .article-wrapper article ol li,
  .article-wrapper article ul li,
  .description ul li,
  .description ol li,
  .content .body-content ul li,
  .content .body-content ol li {
    padding-bottom: 5px;
  }

  .resource-download-links a {
    font-size: 12px !important;
    line-height: 15px !important;
    padding-bottom: 5px;
    margin-top: 5px;
  }

  .section-container .download-link a {
    font-size: 18px;
  }

  /* .table-apply-for-funding */
  .table-apply-for-funding tr,
  .table-apply-for-funding td,
  .table-apply-for-funding table {
    display: block;
  }

  .table-apply-for-funding td {
    padding: 0;
  }
}
