/* Resources page */
.video-preview {

  text-align: center;
}

/*.video-preview iframe {
    width: 520px;
    height: 100%;
}*/
.video-download-links a {
  display: block;
  cursor: pointer;

}

.video-download-links a:hover {
  color: #CA113E;
}

/* End of resources page */

.main-container .content {
  max-width: 750px;
  margin: 70px auto;
  color: #4d4d4d;
}

.content h2,
.content h4 {
  margin: 0;
}

.content h4 {
  color: #4d4d4d;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #003366;
  font-weight: 900;
}

.body-content p {
  font-size: 18px;
  margin-bottom: 30px;
}

.body-content .page-title strong {
  color: #00336a;
  font-weight: 700;
  font-size: 28px;
}

.inner-page-block>.content {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
}

.country-links h3 strong {
  font-size: 20px;
  font-weight: 700;
  color: #00336a;
}

.country-links .views-row>p {
  margin-bottom: 0;
  padding-bottom: 0;
}

.country-links .views-row>p a {
  font-size: 14px;
  display: inline-block;
  line-height: 20px;
  text-decoration: none;
  color: #00336a;
  font-weight: 400;
}

.inner-page-block .content::after {
  background: url(/themes/custom/usadf/img/board/pattern.jpg) no-repeat 0 0;
  content: "";
  display: block;
  width: 194px;
  height: 18px;
  margin: 0 auto;
  padding-bottom: 50px;
  margin-top: 10px;
}

.body-content h2 {
  margin: 20px 0 30px 0;
  display: block;
  overflow: HIDDEN;
  float: left;
  font-size: 34px;
  width: 100%;
  font-size: 50px;
  line-height: 60px;
  margin: 10px 0;
  font-family: "Effra";
  color: #003366;
  font-weight: 900;
  padding-bottom: 20px;
}

.body-content strong {
  font-size: 24px;
  font-weight: 500;
  font-family: "Effra";
}

.bottom-highlighted {
  background: #c7b299;
  padding: 50px;
}

.bottom-highlighted-inner {
  font-size: 19px;
  color: #4d4d4d;
}

.body-content p {
  font-size: 24px;
  margin-bottom: 30px;
  font-family: "Effra";
  font-weight: 300;
  color: #221f20;
  line-height: 30px;
  /*padding-bottom: 24px;*/
  padding-bottom: 15px;
}

/* >>> Listing page tabs using script, used in listing pages, /projects <<< */

.custom-tabs {
  --custom-tabs-gap: 54.6px;
  --custom-tabs-height: 5px;
  --tab-br-c1: #dbdbdb;
  --primary: #00336a;
  --secondary: #ca113e;
  --tab-bg-c1: #f1f1f1;
  --tab-bg-c2: #cdcdcd;
  position: relative;
  display: flex;
  border-bottom: 1px solid var(--tab-br-c1);
  overflow: auto hidden;
}

.custom-tabs.center {
  text-align: center;
  display: block;
  white-space: nowrap;
  padding: 0 15px;
}

.custom-tabs.center .each-tab-item {
  display: inline-block;
}

.each-tab-item {
  flex-shrink: 0;
}

.each-tab-item:not(:last-child) {
  margin-right: var(--custom-tabs-gap);
}

.each-tab {
  display: flex;
  flex-wrap: wrap;
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--primary);
  text-wrap: nowrap;
  outline: none;
  white-space: nowrap;
  transition: width 0.5s ease;
}

.each-tab-item.active .each-tab:focus-visible {
  border: 0;
  outline: 0;
}

.each-tab.active {
  pointer-events: none;
}

.each-tab::after {
  content: "";
  width: 0;
  height: var(--custom-tabs-height);
  background: var(--primary);
  margin-bottom: -1px;
  transition: width 0.5s ease;
}

.each-tab.active,
.each-tab:hover {
  color: var(--secondary);
}

.each-tab:hover::after,
.each-tab.active::after {
  width: 100%;
}

/* .custom-tabs-wrap {
    position: sticky;
    top: var(--header-height);
    z-index: 8;
    background: var(--white);
    padding-top: 40px;
    padding-bottom: 5px;
  }
   */
/* Responsive tabs */
/* .custom-tabs::-webkit-scrollbar { */
.non-touch-device .custom-tabs::-webkit-scrollbar {
  /* height: 8px; */
  height: 5px;
  background-color: var(--tab-bg-c1);
}

.non-touch-device .custom-tabs::-webkit-scrollbar-thumb {
  /* .custom-tabs::-webkit-scrollbar-thumb { */
  border-radius: 10px;
  background-color: var(--tab-bg-c2);
  border-top: 1px solid var(--tab-bg-c1);
  border-bottom: 1px solid var(--tab-bg-c1);
}

/* End of Responsive tabs */
/*** Custom tab Content sec(Used in Projects page) ***/
.custom-tabs-content {
  margin-top: 60px;
}

.custom-tabs-sec {
  display: none;
}

.custom-tabs-sec.active {
  display: block;
}

/*** END OF Custom tab Content sec(Used in Projects page) ***/
.application-file-en-link a {
  padding-right: 10px;
  margin-right: 10px;
  border-right: 1px solid #ccc;
}


/* general-page-container */

#general-page-container .body-content {
  width: 100%;
}

/************* Media Query ******************/

@media screen and (min-width: 1200px) {
  .main-container .content {
    max-width: 1170px;
  }
}

@media screen and (min-width: 767px) and (max-width: 1024px) {
  .main-container .content {
    padding: 0 30px;
  }
}

@media only screen and (max-width: 991px) {
  .custom-tabs-content {
    margin-top: 40px;
  }
}

@media screen and (max-width: 767px) {
  .custom-tabs-content {
    margin-top: 30px;
  }

  .main-container .content {
    max-width: 100%;
    padding: 0 30px;
    margin: 30px auto;
  }

  .content h4 {
    font-size: 18px;
    line-height: 28px;
  }

  .body-content p {
    font-size: 16px;
    line-height: 24px;
    padding-bottom: 0px;
    margin-bottom: 20px;
  }

  .body-content h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .bottom-highlighted {
    margin: 0 15px;
    margin-bottom: 15px;
    padding: 30px 5px;
  }

  .board-list .title {
    font-size: 18px;
    line-height: 28px;
  }

  .bottom-highlighted-inner {
    font-size: 14px;
    line-height: 24px;
  }

  .main-container .content {
    color: #1c1c1c;
  }

  .body-content {
    padding-bottom: 0px;
  }

  .body-content strong {
    font-size: 16px;
  }
}
