/*@media (min-width: 767.98px) {
    .timeline {
        overflow: hidden;
    }
}
*/
.mobile-nav>.primary.has-child .child-nav-wrap .child-nav .li, .mobile-nav>.primary.has-child .child-nav-wrap .child-nav>li {
  margin: 5px 0;
  /* text-transform: capitalize; */
}

.slick-slide img {
    display: block;
    height: auto;
}

.paragraph--type--es-2-column-image-content a, .paragraph--type--es-content-text a {
  text-decoration: underline;
  color: blue;
}

.paragraph--type--es-2-column-image-content a, .paragraph--type--es-content-text a {
  text-decoration: underline;
  color: blue;
}

@media (max-width: 767.98px) {
    .home-top-slider .slider-items {
        height: auto;
    }
    .details-page .author-details-wrap>div:last-of-type {
      padding-top:20px;
      /*! border-top:2px solid rgba(77,77,77,.2); */
     }
    .opinions-details .author-details-wrap {
      flex-wrap: wrap;
    }    

}

@media (max-width: 991.98px) {
    .home-top-slider .slider-items {
        height: auto;
    }
}


.tab-information-note .accordion .item .title .acc-icon.general-information {
    background-image: url("/themes/custom/escap2020/images/events/general-information.png"); 
}

.tab-information-note .accordion .item .title .acc-icon.credentials {
    background-image: url("/themes/custom/escap2020/images/events/credentials.png"); 
}

.tab-information-note .accordion .item .title .acc-icon.registration-and-identification-badges {
    background-image: url("/themes/custom/escap2020/images/events/identification.png"); 
}

.tab-information-note .accordion .item .title .acc-icon.communications {
    background-image: url("/themes/custom/escap2020/images/events/communications.png"); 
}

.tab-information-note .accordion .item .title .acc-icon.meeting-documents {
    background-image: url("/themes/custom/escap2020/images/events/meeting-documents.png"); 
}

.tab-information-note .accordion .item .title .acc-icon.daily-subsistence-allowance {
    background-image: url("/themes/custom/escap2020/images/events/daily-subsistence-allowance.png");
}

input[type="checkbox"]:checked:after {
    background: url("/themes/custom/escap2020/images/check-mark-black-outline@2x.png") no-repeat;
    background-size: 16px;
    background-color: #2e87c8;
    border-color: transparent;
}

/* comment the following to remove capitalized page title  --Start--*/

/* .block-heading h2, .block-heading h1 { text-transform: capitalize;}

@media (max-width: 767.98px) {
    .secretary-language-mobile {
      text-transform: capitalize; 
    } 
}

.item-listing .block-heading h1 {
    text-transform: capitalize;
}

.listing-page.d8-listing .block-heading h1 {text-transform: capitalize;}

.print .block-heading h2, .print .block-heading h1 {text-transform: capitalize;} */

/* comment the following to remove capitalized page title  --End--*/

/* slider issue fix */
.slide {
  display: none;
}
.slider.slick-initialized {
  display:block;
}

/*  Issue fix for SDG icons links in the right side of SDG pages */
.sdg .flip-box .flip-box-inner .flip-box-front .js-lazyload-image.loaded {
  filter: none;
}

.card-media-object .icon-list li img {
  height: 25px;
}
    
.video-playlist-paragraph-in-contents-title {
  font-size: 1.25em;
  color: #4d4d4d;
  font-weight: 600;
  margin-bottom: 20px;
}

.side-events-in-content-with-date .card-title {
  width: 89%;
}

.tab-statements .section-wrap .row .item img {
  max-height: 110px;
}

.checkbox-filter--list .form-checkboxes .facet-item.checkbox .js-form-type-checkbox { 
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -moz-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
 }

 .publications-wrap .card.card-basic.top-text a {
   height: 100%;
 }

/* For language options in documents tab do not appear correctly #87029 and #87028 */
 @media (max-width: 767.98px) {
  .details-page.event-details .tabs-wrapper .tab-documents .tab-links-wrap .item .row > [class^=col-] {
    padding-left:10px !important;
  }
  .details-page .article-actions>div:last-of-type { 
    border-bottom: 0;
  }

}
/* #87137 fix */
.senior-management-page .member-profile-card .card-buttons .btn {
  text-transform: none;
}
/* for removing ul dots in content section for social share. */
.icons .icons-ul {
  list-style: none;
}

.paragraph--type--cards-with-image-and-blue-button .card {
  height: 100%;
}

.events-series-related-links-block .icon-list-wrap .icon-list {
  flex-direction: column;
  padding-left: 0;
}
.video-gallery-page > div {
  width: 100%;
}
.video-gallery-page .tabs-wrapper.with-image {
  margin: auto;
}
.article-options.share .icons {
  margin: auto;
  background: #fafafa;
  padding: 5px 15px;
}
.article-options.share .icons .icons-ul li a {
  color: #2e87c8;
}
.tabs-wrapper .tab-links .tab-link.is-active:after {
  display: none;
}
@media (max-width: 1199.98px) {
  /* for Kp series mobile filter fixes */
  .publication-series.series-1 .list-wrap .filter-toggle-button {
    align-items: center;
  }
  .publication-series.series-1 .list-wrap .filter-toggle-button .title {
    margin-top: 5px;
  }
  .publication-series.series-1 .filter-wrap .checkbox-filter--list {
    display: block;
  }
  .publication-series.series-1 #views-exposed-form-knowledge-products-series-views-page-1 li.facet-item label {
    width: auto;
  }
  .publication-series.series-1 .filter-wrap .checkbox-filter--list .title {
    display: none;
  }
  .resources-series.series-2 .facet-term-hierarchy label {
    width: 45% !important;
  }
}
 /* for Kp series mobile filter fixes */
.publication-series.series-1 .filter-wrap {
  padding-left: 25px;
  padding-right: 25px;
}
 /* for Kp list country filter items */
.resources-series.series-2 .country-list-kp-list {
  float: right;
  position: relative;
  top: 0;
  right: 0;
}
.resources-series.series-2 .facet-term-hierarchy label {
  width: 80%;
}
.resources-series.series-2 .facet-term-hierarchy .facet-item.facet-item--expanded.checkbox {
  align-items: center;
}
.resources-series.series-2 .country-list-kp-list .fas {
  color: #2e87c8;
}

/* Events page speaker image fix */

@media (min-width: 768px) and (max-width: 1199px) {
  .tab-speakers .row .item .item-header img {
    height: auto;
  }
  .resources-series.series-2 .filter-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.resources-series.series-2 .checkbox-filter--list .facet-term-hierarchy.filter .item-list__checkbox .checkbox {
  clear: both;
}

.resources-series.series-2 .checkbox-filter--list .facet-term-hierarchy.filter .item-list__checkbox .checkbox .facet-term-hierarchy.filter {
  clear: both;
}
.resources-series.series-2 .checkbox-filter--list .facet-term-hierarchy.filter .item-list__checkbox .checkbox input {
  float: left;
}
.resources-series.series-2 .checkbox-filter--list .facet-term-hierarchy.filter .item-list__checkbox .checkbox label {
 float: left;
 width: calc(100% - 47px);
}

.sf-wrapper .sf-menu.sf-arrows .sf-with-ul .drop-arrow {
  position: absolute;
  left: 0;
  right: auto;
  margin-left: -3px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  z-index: 99999;
}
@media (min-width: 991.99px) {
  .sf-wrapper .sf-menu.sf-arrows .sf-with-ul .drop-arrow {
    display: none;
  }
}

.sf-wrapper .sf-menu.sf-arrows .sf-with-ul .drop-arrow::after {
  content: '';
  height: 0;
  width: 0;
  border: 5px solid transparent;
  border-bottom-color: transparent;
  border-top-color: rgba(255,255,255,.5);
  border-top-color: #dfeeff;
  border-right-color: transparent;
}
.sf-menu-open {
  display: block !important;
}
.sf-menu-close {
  display: none !important;
}
.cmu-vertical-menu.sf-menu li:hover, .cmu-vertical-menu.sf-menu li.sfHover {
  background: #2e87c8;
}

/* EO pages */

/* .opinions-details .author-details-wrap {
  flex-wrap: nowrap;
}

.details-page .author-details-wrap > div {
  width:auto;
  max-width: 50%;
  margin-right: 20%;
 }

 .details-page .author-details-wrap .contact { 
  margin-right: 2%;
  margin-left: 5%;
}
} */

/* flickr album title css */
.photos .section-title a span {
  color: #2e87c8;
  text-decoration: underline;
}
.photos .section-title a span:hover {
  color: #0f4c81;
}

.un-alternate-child-bg > div {
  background: #FAFAFA !important; 
}
.un-alternate-child-bg > div:nth-of-type(odd) {
  background: #f2f2f2 !important; 
}
.un-alternate-child-bg section {
  background: transparent !important;
}

@media (max-width: 767.98px) {
  .event-series .section-latest-news>.btn-wrap.view-all-sm {
    float: none;
  }
}

.paragraph--type--cmu-2-column-title-youtube-video .article .article-video-wrap video {
  height: auto;
}

/* table views */
.table-responsive a {
  color: #007bff;
}

.icon-list .icon-list {
  padding-bottom: 0;
}

/* home page latest updates slider issue fix */
.latest_updates_slider_home_page {
  display: none;
}
.latest_updates_slider_home_page.slick-initialized {
  display:block;
}

/* for pow-sro events */
.section-homepage-events .item-container .main-event-wrap-wide{
  /* column-count: 2; */
}
.section-homepage-events .item-container .main-event-wrap .card {
   margin-bottom: 20px;
}

.subregional-office .section-homepage-events {
    background-color: #fafafa;
}

/* for removing the border line from the 2nd item of the latest updates section */
.slider-with-content .news_list .slick-track .news_item > div.latest-news:nth-of-type(5){
  border-bottom: none;
}

.no-article-content-wrapper-padding .article-content-wrapper {
  padding-left: 0;
  padding-right: 0;
}

/* project page  slider loading changes */
.projects-slider .slider-items {
  display: none;
}
.projects-slider .slider-items.slick-initialized {
  display:block;
}

/* projects new menu fixes */
.projects-view .tabs-wrapper.with-child .tab-links .tab-link {
  height: auto;
}

@media (max-width: 991.98px) {
  .projects-view .tabs-wrapper.with-child.in-line--tab .tab-links  {
    height: 0;
  }
}

@media (max-width: 991.98px) {
  .projects-tabs-with-child-menu-mobile-hide {
    display: none;
  }
}

@media (min-width: 991.98px) {
  .projects-tabs-with-child-menu-desktop-hide {
    display: none;
  }
}
/* projects new menu fixes end */

/* events listing page fixes */
.contextual-region-left-align .contextual {
  right: auto;
  left: 0;
}

.button-subscribe-events {
  border-radius: 8px;
  padding: 5px 10px;
}

.button-subscribe-events-wrapper {
  z-index: 20;
  display: flex;
  justify-content: flex-end;
}

.button-subscribe-events-wrapper-mobile {
 position: absolute;
 z-index: 20;
}

@media(max-width:767px){
  .event-listing .search-ui {
    margin-right: 0;
    margin-left: 0;
  }

  .mobile-padding-top {
    margin-top: 20px !important;
  }
}
/* events listing page fixes end */

/* table fix for anonymous users */
.page-default .pager__items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
  margin: 1rem 0;
  list-style: none;
  text-align: center;
  font-weight: 700;
}

.page-default .pager__item {
  display:inline-block;
  margin-right:.25rem;
  margin-left:.25rem;
  vertical-align:top
 }

.home-page-new .section{
   padding-top: 25px;
   padding-bottom: 30px;
 } 
 

 .projects-datatable-title {
  font-size: 1em;
  font-weight: 500;
  margin-bottom: 5px;
 }
 /* ////////////////////////// taxonomy-projects-founding members section//////////// */

 .founding-members-image .image-list-wrap ul.image-list{
   list-style-type: none;
   padding-left: 15px !important;
 }
 .founding-members-image .image-list-wrap .image-list .item-image{
  width: 35%;
  margin-right: 25px;
  margin-bottom: 25px;
 }
 .founding-members-image a.btn.btn-primary{
   background-color: #2e87c8;
   color: #fff;
   text-decoration: none;
   width: 100%;
 }
 @media only screen and (max-width: 998px)  {
   .founding-members-image .col-4{
     flex: 0 0 100%;
     max-width: 100%;
   }
   .col-8 {
    flex: 0 0 100%;
    max-width: 100%;
}
   .founding-members-image .image-list-wrap .image-list .item-image{
     width: 35%;
     margin-right: 20px;
   }
   .founding-members-image a.btn.btn-primary{
    width: 100%;
  }
 }
  /* ////////////////////////// taxonomy-projects-founding members section//////////// */

/* projects page clickable member states */
.project-clickable-member-states .image-list-wrap .image-list {
  margin-left: 0;
  padding-left: 0;
}
.top-member-state .details-section a {
  text-decoration: underline;
  color: #2E87C8;
  word-break: break-word;
}
.top-member-state .details-section a:visited {
  color: #530f81; 
}
@media(max-width:767px){
  .top-member-state .details-section {
    padding-top: 10px;
  }
}
/* End projects page clickable member states */

/* Information note  */

.tab-information-note ul {
  padding-left: 0px;
  list-style: outside;
  margin-left: 20px;  
}

/* side menu for subpages  */
#block-escap2020-content .sf-wrapper .sf-menu li a {
  border: 0;
  font-size: 1.0em;
}

/* KP abstract button  */
.abstract-button {
  margin-bottom: 10px;
}
.abbicon {
  padding-left: 5px;
}

.block-views-block-kp-content-by-series-block-2 .overlay-image {
  height: 180px;
}

#block-views-block-kp-content-by-series-block-2 .overlay-image, .publications-resources .overlay-image {
  height: 325px;  
}

.projects-view .card-image {
  width:auto;
  height: 259px;  
}
/* disable the published dates */
#views-exposed-form-news-view-page-solr-page-1 fieldset, #views-exposed-form-knowledge-products-page-views-page-2 fieldset, 
#views-exposed-form-expert-opinion-views-solr-page-1 fieldset, #views-exposed-form-speeches-view-page-solr-page-1 fieldset, 
#views-exposed-form-kp-content-by-series-block-1 fieldset {
  display: none;
}