/* reset */
main.content { padding-bottom: 0 }
/* Slider */
.wide-width.home-hero-screen {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
@media screen and (min-width: 1370px) {
	.home-hero-screen .grid__home-featured {
		padding-left: 34px;
	}
}
.headline {
	padding-top: 40px;
}
.clipped {
	background-position:right;
	background-size:cover;
	position: relative;
  	clip-path: polygon(0% 0, 100% 0, 100% 100%, 20% 100%);
}
.grid.grid__home-featured {margin-right: 0; background: #f5f5f5;}
@media (min-width: 1370px) {
    main.content {
        padding-top: 104px;
    }
	.clipped {
		min-height: 450px !important;
  	}
}
/* Slideshow container */
.grid__home-featured .grid__unit {padding-bottom: 0}
.slideshow-container {
  position: relative;
  margin: auto;
}
#slideshow h1 {
	font-size: 3rem;
	line-height: 3.5rem;
	margin-bottom: 15px;
}
#slideshow .event_theme {
	color: #000;
	font-size: 1.8rem;
	line-height: 1.3;
	padding-bottom: 30px;
	margin-bottom: 0;
}
#slideshow .date,
#slideshow .venue {
	margin-bottom: 0;
	padding-bottom: 10px;
}
#slideshow .date,
#slideshow .location { font-size: 1.4rem }
#slideshow .venue { font-size: 1.1rem; font-weight: normal}
#slideshow .button-group { margin-bottom: 0 }
.mySlides { display: none; }
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 20px 16px;
  color: white;
  font-weight: bold;
  font-size: 32px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
.wide-width.dark-blue,
.grid.dark-blue .grid--compact { background-color: #003D5C; }
@media (min-width: 1370px) {
	.grid.dark-blue .grid--compact {
		margin-right: 0;
		padding-top: 32px;
		padding-left: 32px;
		padding-right: 32px;
	}
}
.to-screen-edges.membership { padding-top: 32px; }
.grid.membership-cta { padding-bottom: 15px; }
.to-screen-edges.membership h3,
.grid.membership-cta h3 {
	font-size: 1.2rem;
	line-height: 1.4rem;
	color: #fff;
	margin-bottom: 15px;
}
.to-screen-edges.membership p,
.grid.membership-cta p {
	color: #fff;
	font-size: 0.96rem;
	margin-bottom: 15px;
}
.membership .grid__unit,
.membership-cta .grid__unit {
	padding-bottom: 32px;
}
.next {
	right: 0;
	border-radius: 3px 0 0 3px;
	background-color: rgba(0,0,0,0.4);
}
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
	color: #fff;
}
.numbertext {
  color: #717171;
  font-size: 12px;
  padding: 8px 0;
  position: absolute;
  top: 5px;
}
#dot-container {
	text-align: center;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	padding-bottom: 10px;
}
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}
.active, .dot:hover {
  background-color: #717171;
}
.fade {
  animation-name: fade;
  animation-duration: .5s;
}
@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}
/* headers */
.v2 h2 {
	position: relative;
    padding-bottom: 0;
	font-size: 2rem;
}
.v2 h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 120px;
	height: 3px;
	background-color: #3A8DDE;
}
/* tabs */
.v2 .tabs__tab:first-child {
    border-top-left-radius: 4px;
}
.v2 .tabs--standard {
	justify-content: left;
}
.v2 .tabs--standard .tabs__tab.is-active {
    color: #fff;
	background: #003D5C;
	opacity: 1;
	border-bottom-color: #003D5C;
}
.v2 .tabs--standard .tabs__tab {
    width: auto;
    flex-basis: auto;
	margin-bottom: 0;
	border: none;
	padding: 8px 16px;
	font-weight: 500;
	font-size: 1rem;
	opacity: 1;
	color: #000;
	background: #f5f5f5;
}
.v2 .tabs--standard .tabs__pane {
	border-top: 3px solid #003D5C;
	border-left: none;
	border-right: none;
	border-bottom: none;
	padding-left: 0;
	padding-right: 0;
}
.grid.upcoming-events .card__image {
	width: 100%;
    height: 160px;
    object-fit: cover;
	object-position: right center;
    display: block;
}
.grid.upcoming-events .card__body { padding: 12px }
.recent-publications .card__body { padding: 12px 0 }
.grid.upcoming-events .card__body h5,
.recent-publications .industry-news .card__body h5 {
	font-size: 1.2rem;
	margin-bottom: 0;
	line-height: 1.4rem;
}
.recent-publications .card__body h5 {
	font-size: 0.96rem;
	font-weight: 400;
	line-height: 1.2rem;
	margin-bottom: 0;
}
.grid.upcoming-events .card__body .date,
.recent-publications .card__body .date {
	padding-top: 10px;
	color: #333;
}
.grid.upcoming-events .card__body .location,
.grid.upcoming-events .card__body .date,
.recent-publications .card__body .location,
.recent-publications .card__body .date {
	font-size: 0.96rem;
}
.to-screen-edges.gray {
	background-color: #f5f5f5;
}
.upcoming_conferences>.grid__unit,
.recent-publications>.grid__unit {
	padding-bottom: 24px;
}
.recent-publications .card {
	border: none;
	box-shadow: unset;
	border-radius: 0;
	background: transparent;
}
.recent-publications .card__image-wrapper {
	height: 199px;
	overflow: hidden;
	position: relative;
	border: 1px solid #ced9dd;
	border-radius: 6px;
}
.recent-publications .card__image {
	display: block;
	position: relative;
	top: -13px;
	height: 225px;
	width: 100%;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}
.recent-publications .news-grid .card__image,
.recent-publications .letter-feed-widget .card__image {
	height: 200px;
	object-fit: cover;
	object-position: top;
}
.recent-publications.ind-letter .card__image {
	top: 0;
	border-radius: 6px;
}
.recent-publications.ind-letter .card__body h5 a {
	font-size: 1.2rem;
	line-height: 1.5;
}
@media (min-width: 1370px) {
	.rss-feed-widget .grid__unit { padding-bottom: 0 }
}
.to-screen-edges.recent-publications { padding-bottom: 24px; }
.v2 .tabs--standard.training-courses-single .tabs__pane,
.v2 .tabs--standard.industry-news .tabs__pane {
	border-top: none;
	padding-top: 0;
}
.v2 .tabs--standard.industry-news .tabs__pane { padding-bottom: 0 }
/* pub slider */
@media (min-width: 1370px) {
    .grid--compact .flickity-viewport .flickity-slider > .grid__unit {
        padding: 0 24px 24px 0;
    }
}
.tab-nav {
    position: relative;
    width: 120px;
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 10px;
}
.tab-nav .previous::before,
.tab-nav .next::before {
    font-size: 1.5rem !important;
    margin-top: -2px;
    color: #333;
	font-weight: bold !important;
}
.tab-nav .previous,
.tab-nav .next {
    margin-top: 0;
    padding: 0;
    font-size: 1rem;
/*    border: 1px solid #003D5C;*/
}
.tab-nav .previous:hover,
.tab-nav .next:hover {
    opacity: 1;
    color: #003D5C;
}
.tab-nav .flickity-button:hover {
	background-color: rgba(210, 210, 215, 0.44);
}
.flickity-prev-next-button.next,
.flickity-prev-next-button.previous {
	background-color: rgba(210, 210, 215, 0.64);
}
.flickity-prev-next-button.next:active,
.flickity-prev-next-button.previous:active {
	background-color: rgba(210, 210, 215, 0.64) !important;
	opacity: 1;
}
.tab-nav .flickity-prev-next-button.next {right: 0}
#tabs-conferences .grid,
#random-tabs-conferences .grid,
.grid.online-trainings-carousel,
.grid.standards-carousel {text-align: left}
/* slider animation */
.clipped {
  transform: translateX(100%);
  transition: transform 0.6s ease-out;
}

.animate-slide {
  transform: translateX(0);
}
/* slider progress bar */
.progress-bar-container {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  overflow: hidden;
  z-index: 10;
}
.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #333;
  transition: width 0.1s linear;
}
@keyframes fillProgress {
  from { transform: translateX(-100%); }
  to   { transform: translateX(0); }
}
.grid__home-featured {
  position: relative;
}
/* slider mobile */
@media screen and (max-width: 1369.98px) {
	.grid__home-featured .button-group a.button {
		width: auto;
		min-width: 140px;
	}
	.grid__home-featured .button-group a.button + .button {
		margin-bottom: 30px;
	}
	.clipped {
		clip-path: none;
		max-height: 300px !important;
	}
	.slideshow-container-outer,
	.slideshow-container {
		width: 100%;
		overflow: hidden;
	}
	.grid__home-featured {
		display: flex;
		flex-direction: column;
	}
	.grid__home-featured .grid__unit {
		width: 100% !important;
		padding: 1rem 24px;
		box-sizing: border-box;
	}

/*
  .grid__unit {
    width: 100% !important;
    padding: 1rem;
    box-sizing: border-box;
  }
*/

  .grid__unit.clipped {
    height: 200px;
    background-size: cover;
    background-position: right;
    order: -1; /* show image before text on mobile */
  }

  .headline h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .headline h2.event_theme {
    font-size: 1rem;
    line-height: 1.4;
  }

  .headline h6 {
    font-size: 0.9rem;
    margin: 0.3rem 0;
  }

  .button-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .button-group a.button {
    width: 100%;
    text-align: center;
  }

  .prev, .next {
    top: 50%;
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  #dot-container {
    text-align: center;
    margin-top: 1rem;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
  }
}
.grid__unit.space-b-0 {padding-bottom: 0}
.view-more-events .fa-arrow-right {
	font-size: 14px;
	padding-left: 6px;
}
/* card background */
.card--background { min-height: 200px; }
.card--background .card__body {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 12px;
}
.card--background .card__body h5,
.card--background .card__body .date,
.card--background .card__body .location {
    position: relative;
    z-index: 1;
}

.card--background .card__body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.6); /* Make this less aggressive to show image */
  z-index: 0;
}
#tabs-trainings .carousel-cell {
	min-height: 100%;
}
.carousel-cell h5 a { line-height: 1.4; display: block }
.recent-publications .card__body h5 a {
	color: #003D5C;
	font-size: 1rem;
	font-weight: 500;
} 
.recent-publications .card__body h5 a:hover {color: #725090} 
.card.card--background a:hover { color: #000; }
/* ads */
.grid.ad-grid .ad img { 
	margin: 0 auto;
	display: block;
	border: 1px solid #bbb !important;
}
.grid.ad-grid .grid__unit {
	padding-bottom: 0;
}
/* gray bg */
.recent-pub-gray {
	background-color: #f5f5f5;
}
@media screen and (max-width: 1369.98px) {
	.v2 h2,
	.v2 h2 ~ .tab-nav {
		display: inline-block;
	}
	.v2 h2 ~ .tab-nav {
		margin: 24px 0 24px 0;
        float: right;
	}
	.grid.ad-grid { margin-top: 28px }
	.v2 .tabs__tab:first-child { border-top-right-radius: 4px; }
	.grid.grid--compact.upcoming-events { margin-right: -24px }
	main.content { padding-top: 73px }
	.to-screen-edges.home-hero-screen {padding-top: 0}
	#slideshow h1 {
		font-size: clamp(26px, 5vw, 36px);
		line-height: 1.2;		
	}
	#slideshow .event_theme { 
		font-size: clamp(18px, 3vw, 26px);
		line-height: 1.4;
		padding-bottom: 10px;
	}
	#slideshow .date,
	#slideshow .location {
		font-size: clamp(18px, 2vw, 24px);
	}
	#slideshow .date,
	#slideshow .venue,
	#slideshow .location { padding-bottom: 4px; }
	.numbertext {
		position: relative;
		top: auto;
		left: auto;
		font-size: 0.8rem;
		margin-bottom: 0.5rem;
		padding: 0;
	}
	#slideshow .button-group { margin-bottom: 2rem }
	.membership-cta .grid.grid--compact { 
		margin-right: 0;
		margin-top: 36px;
		padding: 24px 24px 0;
	}
	.grid.membership-cta { padding-bottom: 0 }
	.grid--compact.recent-publications { margin-right: 0; }
	.recent-publications .card__image,
	.recent-publications .news-grid .card__image {
		height: auto;
		width: auto;
	}
	.recent-publications .card__image-wrapper { border: 0; height: auto }
	.news-letter-btns .text-right { text-align: left }
	.news-letter-btns .text-right .button { min-width: 200px; }
}
@media (max-width: 1199.98px) {
	.flickity-button.flickity-prev-next-button {display: block !important}
	.upcoming-trainings-grid,
	.v2.recent-publications { padding-top: 36px }
}
@media (max-width: 575.98px) {
	.v2 h2,
	.v2 h2 ~ .tab-nav {
		display: block;
		float: none;
	}
	.v2 h2 ~ .tab-nav {
		padding-bottom: 24px;
		margin-top: 0;
	}
	/* carousel buttons */
	.tab-nav .previous, .tab-nav .next { font-size: 0.86rem }
	.tab-nav .previous::before, .tab-nav .next::before { font-size: 1rem !important; }
	.tab-nav .flickity-prev-next-button { width: 34px; height: 34px }
	.v2 .tab-nav { width: 90px }
	.tab-nav .flickity-prev-next-button.previous { left: 0 }
}
#tabs-publications .tabs__tab { text-transform: capitalize }













