.globalstyles-sub-description {
	 font-size: 12px;
	 font-style: italic;
	 line-height: 17px;
	 margin-bottom: 15px;
}

.globalstyles-tags li::after {
	bottom: 0;
	color: var(--black);
	content: ',';
	line-height: 14px;
	position: absolute;
	right: inherit;
	top: inherit;
}
.globalstyles-tags li:last-of-type::after {
	content: '';
}
.globalstyles-tag-title {
	 display: inline-block;
	 font-size: 14px;
	 font-weight: 400;
	 line-height: 22px;
	 margin-right: 5px;
}
.globalstyles-tag {
	 color: #005670;
	 display: inline-block;
	 font-size: 14px;
	 font-weight: 400;
	 line-height: 1;
	 text-decoration: underline;
	 white-space: pre-wrap;
}
.globalstyles-tag span {
	 color: #005670;
	 font-size: inherit;
	 font-weight: inherit;
	 padding: 0;
}

.globalstyles-media-list  .globalstyles-tags > div {
	border-top: 1px solid #e0e0e0;
	font-size: 0.8125rem;
	padding: 10px 15px;
}

.globalstyles-media-list  .globalstyles-tags li {
	display: inline;
	line-height: 1.1;
	margin: 0;
	padding: 0;
	position: relative;
}

.globalstyles-media-list  .globalstyles-tags li a:hover, 
.globalstyles-media-list  .globalstyles-tags li a:focus {
	color: var(--black);
}

.globalstyles-media-list  .globalstyles-tags li::after {
	bottom: 0;
	color: #222;
	content: ',';
	line-height: 14px;
	position: absolute;
	right: inherit;
	top: inherit;
}

.globalstyles-media-list  .globalstyles-tags li:last-of-type::after {
	content: '';
} 
.globalstyles-dialog {
	 display: block;
}
.globalstyles-mask {
	 position: fixed;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 overflow: hidden;
	 background-color: rgba(0, 0, 0, 0.5);
	 z-index: 100;
}
.globalstyles-window {
	 display: inline-block;
	 z-index: 101;
	 position: fixed;
	 top: 50%;
	 left: 50%;
	 transform: translate(-50%, -50%);
	 font-size: 1rem;
	 color: grey;
	 background-color: #fff;
	 padding: 30px;
	 max-height: 90vh;
	 max-width: 80vw;
}
.globalstyles-window img {
	 max-height: calc(90vh - 60px);
	 max-width: calc(80vw - 60px);
}
.globalstyles-window:focus {
	 outline: none;
}
.globalstyles-window .focus-trap:focus {
	 outline: none;
	 -webkit-appearance: none;
}
.globalstyles-close {
	 position: absolute;
	 left: -22px;
	 top: -18px;
	 border-radius: 50%;
	 font-weight: 600;
	 padding: 9px 14px;
	 outline: none;
}
.globalstyles-close:focus {
	 outline: none;
	 -webkit-appearance: none;
}
.globalstyles-sr-only {
	 display: none;
}
.globalstyles-sr-only:focus {
	 outline: none;
	 -webkit-appearance: none;
}
.globalstyles-lightbox-item {
	 background: none;
	 border: 0;
	 padding: 0;
	 width: 100%;
}
.globalstyles-lightbox-item:hover, 
.globalstyles-lightbox-item:focus {
	 background: none;
}
.globalstyles-lightbox-item img {
	 height: 132px;
	 object-fit: cover;
	 width: 100%;
}
@media only screen and (max-width: 640px) {
	.globalstyles-lightbox-item img {
		 height: 300px;
	}
}
@media only screen and (min-width: 641px) and (max-width: 950px) {
	.globalstyles-lightbox-item img {
		 height: 210px;
	}
}
.globalstyles-credits {
	 font-size: 10px;
	 line-height: 1.25;
	 margin-bottom: 15px;
}
.globalstyles-download-text {
	 font-size: 13px;
	 font-weight: 600;
	 line-height: 22px;
}
.globalstyles-download-link {
	 border-bottom: 1px solid #005670;
	 color: #005670;
	 font-size: 13px;
	 margin-right: 1rem;
	 text-decoration: none !important;
}
.globalstyles-download-link:hover, 
.globalstyles-download-link:focus {
	 border-bottom: 1px solid #222;
	 color: #222;
	 text-decoration: none;
}
.globalstyles-zoom-icon {
	 align-items: center;
	 background-color: #e00;
	 border-radius: 30px;
	 bottom: 10px;
	 display: flex;
	 height: 30px;
	 justify-content: center;
	 position: absolute;
	 right: 10px;
	 width: 30px;
}
.globalstyles-zoom-icon:hover, 
.globalstyles-zoom-icon:focus {
	 background-color: #be0000;
}
.globalstyles-zoom-icon > i {
	 font-size: 14px;
} 
.globalstyles-showmore-container {
  position: relative;
}

.globalstyles-showmore-context {
  min-height: 66px;
  overflow: hidden;
  position: relative;
}

.globalstyles-showmore-button {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 5px;
}
.globalstyles-tagarea-tag {
	 border-radius: 100px;
	 background-color: #ececec;
	 color: #333;
	 padding: 5px 10px;
	 display: inline-flex;
	 align-items: center;
	 margin-right: 10px;
	 margin-bottom: 10px;
	 text-decoration: none !important;
}
.globalstyles-tagarea-tag span {
	 overflow-wrap: break-word;
	 color: #333;
}
.globalstyles-tagarea-tag:hover, 
.globalstyles-tagarea-tag:focus {
	 text-decoration: underline !important;
}
.globalstyles-tagarea-text {
	 font-size: 11px;
	 font-weight: bold;
	 line-height: 11px;
	 padding-right: 5px;
}
.globalstyles-tagarea-cross {
	 height: 12px;
	 width: 10px;
	 color: #333;
	 font-size: 12px !important;
	 line-height: 12px !important;
}
.globalstyles-tagarea-list {
	 margin: 0;
	 padding: 0;
	 display: inline;
}

.globalstyles-filters-select {
	 margin-bottom: 30px;
	 -ms-overflow-style: scrollbar;
}
.globalstyles-filters-select .Select-control {
	 border: 1px solid #d8d9db;
	 background-color: #fff;
	 border-radius: 0;
	 height: 30px;
}
.globalstyles-filters-select .Select-placeholder {
	 color: #414244;
}
.globalstyles-filters-select .Select-input > input::-webkit-contacts-auto-fill-button {
	 display: none !important;
	 pointer-events: none;
	 position: absolute;
	 right: 0;
	 visibility: hidden;
}

.globalstyles-photosform-photos-form-container {
	 background: #ececec;
	 margin: 30px 0;
	 padding: 25px;
}
.globalstyles-photosform-photos-form-container hr {
	 border: 1px solid #bdbdbd;
	 margin: 14px 0;
}
.globalstyles-photosform-description {
	 color: #222;
	 font-size: 14px;
	 line-height: 1.5;
	 margin-bottom: 1rem;
}
.globalstyles-photosform-photos-form input[type="text"], 
.globalstyles-photosform-photos-form input[type="email"] {
	 border: 1px solid #c0c0c0;
	 border-radius: 3px;
	 color: #222;
	 cursor: pointer;
	 margin-bottom: 5px;
	 padding: 0.5rem;
	 font-size: 14px;
}
.globalstyles-photosform-photos-form input[type="text"]:hover, 
.globalstyles-photosform-photos-form input[type="email"]:hover, 
.globalstyles-photosform-photos-form input[type="text"]:focus, 
.globalstyles-photosform-photos-form input[type="email"]:focus {
	 background-color: #f9f9f9;
	 border: 1px solid #333;
}
.globalstyles-photosform-photos-form label {
	 margin-bottom: 3px;
}
.globalstyles-photosform-photos-form button {
	 margin-top: 22px;
}
.globalstyles-photosform-photos-form button:after {
	 right: 17px;
}
.globalstyles-photosform-photos-form button[type="submit"]:disabled {
	 background-color: #c9c9c9;
}
@media only screen and (max-width: 640px) {
	.globalstyles-photosform-photos-form button {
		 width: 100%;
	}
}
.globalstyles-photosform-photos-form .error, 
.globalstyles-photosform-photos-form .EditingFormErrorLabel, 
.globalstyles-photosform-photos-form .text-error {
	 background: inherit;
	 color: #d60000;
	 margin-bottom: 0;
}
.globalstyles-photosform-footer-description {
	 font-size: 12px;
	 font-style: italic;
}
.globalstyles-photosform-fields {
	 display: flex;
	 justify-content: space-between;
	 align-items: flex-start;
	 flex-direction: row;
}
@media only screen and (max-width: 640px) {
	.globalstyles-photosform-fields {
		 flex-direction: column;
		 margin-bottom: 15px;
	}
}
.globalstyles-photosform-form-success input[type="submit"] {
	 background-image: url('/assets/images/download.png');
	 background-repeat: no-repeat;
	 background-size: 13px 12px;
	 background-position: 87% center;
	 padding-right: 47px;
}
.globalstyles-image-container {
	position: relative;
}
.globalstyles-image-container:after {
	 content: '';
	 position: absolute;
	 top: 0;
	 right: 0;
	 bottom: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 background-image: url('/assets/images/video-play.svg');
	 background-repeat: no-repeat;
	 background-position: center center;
}

.globalstyles-video-length {
	 display: inline-block;
	 background-color: #383838;
	 color: #fff;
	 font-size: 10px;
	 font-weight: bold;
	 line-height: 14px;
	 padding: 3px 10px;
	 position: absolute;
	 bottom: 5px;
	 right: 5px;
}

/* NEW */
@media screen and (min-width: 768px) {
  .media-detail + .detail-container {
    min-width: 300px;
  }
}

.media-detail .photo {
	max-width: 350px;
	width: 100%;
}

.media-detail-container {
  margin-bottom: 40px;
}

@media screen and (min-width: 768px) {
  .media-detail-container {
    display: flex;
    flex-flow: row wrap;
    gap: 20px;
  }
}

.media-detail-container .video-player {
  margin-top: 0;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .media-detail-container .video-player {
    padding-right: 0;
  }
}

@media screen and (min-width: 768px) {
  .media-detail-container .media-download-form {
    padding: 0;
    width: var(--min-form-width);
  }
  .media-detail-container:has(.media-detail + .media-download-form) .media-detail {
    max-width: calc(100% - (var(--min-form-width) + 20px));
  }
  .media-detail-container .detail-list {
    padding-right: 20px;
  }
  .media-detail-container:has(.media-detail + .media-summary) .media-detail {
    margin-bottom: 0;
    width: calc(100% - 320px);
  }
  .media-detail-container:has(.media-detail + .media-summary) .media-summary {
    width: 300px;
  }
}

@media screen and (min-width: 1024px) {
  .media-detail-container .media-download-form {
    width: calc(var(--min-form-width) + 60px);
  }
  .media-detail-container:has(.media-detail + .media-download-form) .media-detail {
    max-width: calc(100% - (var(--min-form-width) + 80px));
  }
  .media-detail-container:has(.media-detail + .media-summary) .media-detail {
    margin-bottom: 0;
    width: calc(100% - 440px);
  }
  .media-detail-container:has(.media-detail + .media-summary) .media-summary {
    width: 420px;
  }
}

.detail-list {
  margin: 0;
}

.video-player {
  margin: 12px 0;
  padding: 0;
}

@media (min-width: 951px) {
  .video-player {
    margin: 12px 0 0;
    padding-right: 30px;
  }
}

.detail-list,
.detail-container p {
  font-size: .8125rem;
}

.detail-list > div {
  display: block;
  margin-bottom: 8px;
}

.detail-list dt,
.detail-list dd {
  display: inline;
  margin-bottom: 0;
}

.detail-list .detail-summary dt {
  display: block;
}

.mobile-only-XL {
  margin: 10px 0 24px;
}

.mobile-only-XL .button {
  display: inline-block;
  margin: 0;
}

/* Download Form */
/* Photos and Videos Detail: Download Form */
@media screen and (max-width: 767px) {
	.media-download-form {
		margin-bottom: 40px;
	}
}

.media-download-form .download-form-container {
    margin: 0;
}

.media-download-form .download-registration-form {
    background: inherit;
    scroll-margin-top: calc(var(--black-bar-height) + var(--header-height-crc));
}

.media-download-form .download-registration-form .form-field {
    flex: unset;
    width: 100%;
}

.media-download-form .download-registration-form .field-CheckBoxComponent {
    padding-right: 0;
}

.media-download-form .form.form-builder .form-field input[type=checkbox] + label {
	margin-right: 0;
}

.media-download-form .download-button-container {
    background: inherit;
}

.media-download-form .download-button-container {
    padding: 20px;
    margin: 0;
}

.media-download-form p {
    margin: 0;
}

.media-download-form .download-button {
    margin: 20px 0 0;
}

.media-download-form .form-field:not(.field-RecaptchaComponent):has(> div input[type=hidden])  {
    padding: 0;
}

.space-holder {
    display: none;
    height: 40px;
    width: 100%;
}

@media(min-width: 768px) {
	.space-holder {
		height: 0;
	}
}

/* Buttons inside form */
.download-form-container,
.download-button-container {
    padding: 0;
    margin: 0;
}

.download-button-container {
    align-items: baseline;
    border: 1px solid #f7f7f7;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 15px 0px;
    display: none;
    flex-flow: column nowrap;
    height: auto;
    justify-content: left;
    margin: -20px 0px 40px 0px;
    padding: 40px 0px 20px 40px;
    width: 100%;
}

.download-buttons-row-container {
    display: flex;
    flex-flow: row;
    justify-content: left;
    align-items: baseline;
    gap: 0px 20px;
}

.tertiary-button {
    background-color: var(--black);
}

.tertiary-button:hover,
.tertiary-button:focus {
    background-color: var(--secondary-blue);
}

.download-button:disabled {
    background-color: #C3C3C3;
    color: #333;
}

form.form-builder {
    margin: 0;
    max-width: 100%;
}

@media screen and (min-width: 768px) {
    form.form-builder {
        margin: 0;
        max-width: 100%;
    }
}

.ktc-default-section {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    gap: 0px 20px;
}

.form-field {
    flex: 1 0 20%;
    padding-bottom: 10px;
}

.field-CheckBoxComponent {
    flex: 1 0 100%;
    padding: 0px 30% 20px 0px;
}

.field-RecaptchaComponent {
    flex: 1 0 100%;
}

.required-checkbox::after {
    color: #e00;
    content: '*';
    font-weight: 600;
}

/******************/
/* Related Videos */
/******************/

/* Media Listing */
.media-item > .globalstyles-container > div {
  height: 100%;
}

.globalstyles-media-list {
  display: grid;
  gap: 30px;
}

.globalstyles-media-list .globalstyles-wrapper {
  background: var(--white);
  box-shadow: var(--card-cta-box-shadow);
  margin: 0;
  outline: 1px solid var(--card-cta-outline-grey);
  padding: 0;
  transition: all 240ms ease-in-out 10ms;
  width: 100%;
}

.globalstyles-media-list .globalstyles-wrapper:has(a:hover),
.globalstyles-media-list .globalstyles-wrapper:has(a:focus) {
  box-shadow: var(--card-cta-box-shadow-focus);
}

.video-preview-container > div > a {
  position: relative;
  width: 100%;
}

.video-preview-container > div > a > div {
  font-size: .875rem;
  font-weight: 400;
  position: relative;
}

.video-preview-container > div > a > div:after {
  background-image: url('https://cdn.redcross.ca/prodmedia/crc/azure/icons/red/video-play-primary-red.svg');
  background-repeat: no-repeat;
  background-position: center center;
  bottom: 0;
  content: '';
  left: 0;
  height: 100%;
  position: absolute;
  top: 0;
  transition: all 240ms ease-in-out 10ms;
  right: 0;
  width: 100%;
}

.video-preview-container > div > a:hover > div:after {
  background-image: url('https://cdn.redcross.ca/prodmedia/crc/azure/icons/red/video-play-primary-red-hover.svg');
}

.globalstyles-media-list .globalstyles-wrapper .globalstyles-container a:hover + .globalstyles-information .h3 a {
  color: var(--secondary-blue);
}

.globalstyles-title > .h3 {
  margin-bottom: 0;
}

.globalstyles-media-list .globalstyles-title > .h3 a {
  color: var(--black);
  text-decoration: underline;
}

.globalstyles-media-list .globalstyles-title > .h3 a:hover,
.globalstyles-media-list .globalstyles-title > .h3 a:focus {
	color: var(--secondary-blue);
}

.globalstyles-media-list .media-item .globalstyles-information {
  display: flex;
  flex-flow: column nowrap;
  gap: 20px;
  padding: 15px;
}

.related-videos .globalstyles-description.video-preview-container-description {
  max-height: 150px;
  overflow: hidden;
  /* ^ Temporary */
}

.media-item .video-preview-container .globalstyles-description {
  margin-bottom: 8px;
}

.globalstyles-media-list .globalstyles-description,
.globalstyles-media-list .globalstyles-description p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin: 0;
}

@media screen and (min-width: 425px) and (max-width: 767px) {
  .globalstyles-media-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .globalstyles-image-container {
    height: 100px;
  }
  .globalstyles-image-container > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
  .globalstyles-title > .h3 {
    font-size: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .globalstyles-media-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .globalstyles-image-container {
    height: 120px;
  }
  .globalstyles-image-container > img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }
}

@media screen and (min-width: 951px) {
  .globalstyles-media-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .globalstyles-image-container {
    height: 150px;
  }
}

.photo-preview-container {
  height: 100%;
}