.hs-inline-edit .resource-container .ah-resource {
  pointer-events: none!important;
}
.ah-resource-hub form .message {
  font-size: 14px;
  margin: 15px 0;
}
.ah-resource-hub .header-title {
  margin-bottom: 0;
}
.ah-resource-hub .resource-card.pull-left {
  margin-right: auto;
  margin-left: 40px;
}
.ah-resource-hub .resource-card.center-padding {
  margin-right: 40px;
  margin-left: 40px;
}
.ah-resource-hub hr {
  margin: 15px 0 20px;
}
.ah-resource-hub .header-description {
  margin-bottom: 75px;
}
.ah-resource-hub .name {
  font-size: 22px;
  margin-bottom: 3px;
}
.ah-resource-hub .resource-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  margin-bottom: 30px;
  max-width: 368px;
}
.ah-resource-hub .most-recent {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin:30px 0 50px;
}
/* ======================== */
/*         Webinar           */
/* ======================== */

/* .ah-resource .content-container {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 calc(50% - 75px);
          flex: 1 1 calc(50% - 75px);
  margin-left: 75px;
  max-width: 368px;
} */

.ah-resource :is(h3) {
  font-size: 22px;
  font-weight: bold;
  margin: 0;
}
.ah-resource-hub .text--gray {
  color: #707070;
}
.ah-resource-hub .text--accent {
  color: #7817D6;
}
.resource-container.webinar .ah-resource {
  width: 100%;
}
.resource-container.webinar .ah-resource .resource--video{ 
  position: relative;
}
.resource-container.webinar .ah-resource,
.resource-container .webinar.ah-resource.resource--video,
.resource-container .custom-content.ah-resource.resource--video {
  flex: 0 1 calc(50% - 30px);
  position: relative;
}
.resource-container.webinar .ah-resource .image-container,
.resource-container .webinar.ah-resource.resource--video,
.resource-container .custom-content.resource--video .image-container {
  width: 100%;
  padding-bottom: 50%;
  background-position: center;
  background-size: cover;
}
.resource-container.webinar .ah-resource.listing {
  margin-bottom: 30px;
}

/* ======================== */
/*         infographic           */
/* ======================== */
.resource-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.resource-container .resource-card {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 368px;
          flex: 0 1 368px;
}
.resource-container .image-container img {
  height: 100%;
  max-height: 369px;
  width: auto;
}
.resource-container .image-container {
  margin-bottom: 15px;
}
.resource-container .description {
  margin-bottom: 15px;
/*   min-height: 155px; */
}
.resource-container .links a {
  display: block;
  margin-bottom: 30px;
}
/* ======================== */
/*          Dynamic Page          */
/* ======================== */
.resource--detail-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  width: 100%;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
}
.resource--detail-container .left {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 33%;
          flex: 0 1 33%;
}
.resource--detail-container .right {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(66% - 20px);
          flex: 0 1 calc(66% - 20px);
  margin-left: 20px;
}
.resource--detail-container fieldset {
  border: none;
  padding: 0;
  margin:0;
}
.resource--detail-container .form-columns-2 > .hs-form-field {
   width: 50%;
  float: left;
}
.custom-form--container input:not([type='submit']):-moz-read-only {
    background-color: rgba(0,0,0,.05);
}
.custom-form--container input:not([type='submit']):read-only {
    background-color: rgba(0,0,0,.05);
}
.resource--detail-container .form-columns-2 > .hs-form-field:first-of-type > .input {
  margin-right: 8px;
}

.custom-form--container .submit-wrapper.blur {
  -webkit-filter: blur(1px);
          filter: blur(1px);
}
.resource-container.custom_ads {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 30px;
}
.resource-container.custom_ads img,
.resource-container.customizable_content .imag-container {
  object-fit:contain;
  margin-bottom: 10px;
}
.resource-container.custom_ads .ah-resource {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(50% - 30px);
          flex: 0 1 calc(50% - 30px);
}
.resource-container.customizable_content {
  display: block;
}
.resource-container .resource-name,
.resource-container .resource-type {
  display: block;
  font-weight: bold;
  color: #494a52;
}
#digital-ads .custom_ads.resource-container,
.resource-container.customizable_content .resource-container {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  gap: 55px;
  margin-bottom: 100px;
}
#digital-ads .custom_ads.resource-container .ah-resource,
.resource-container.customizable_content .ah-resource {
   -webkit-box-flex: 0;
       -ms-flex: 0 1 calc(33% - 50px);
           flex: 0 1 calc(33% - 50px);
}
.resource-container .custom-content .image-container {
  position: relative;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  padding-bottom: 120%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  height: 0;
}
.campaign-name {
  color: #7817D6;
}

.custom_ads img,
.resource-container .image-container {
  border: 1px solid #e3e3e3;
}
.resource--detail-container .image-container {
  border: none;
}
.custom-content.resource--video .image-container:before,
.ah-resource .resource--video:before {
  content: "";
  width: 100px;
  height: 100px;
  position: absolute;
  background-color: rgba(120,23,214,.8);
  border-radius: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.custom-content.resource--video .image-container:after,
.ah-resource .resource--video:after {
  content:"";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12.5px 0 12.5px 25px;
  border-color: transparent transparent transparent #fff;
}

@supports ((-webkit-text-decoration-skip: auto) or (text-decoration-skip: auto)) and (not (translate: 10px)){
  #digital-ads .custom_ads.resource-container .ah-resource,
  .resource-container.customizable_content .ah-resource {
   margin: 20px;
}
}
@media(max-width: 768px) {
  .ah-resource-hub .resource-card.pull-left,
  .ah-resource-hub .resource-card.center-padding {
    margin-right: 0px;
    margin-left: 0px;
  }
  .resource-container.webinar .image-container {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 75%;
            flex: 0 1 75%;
  }
  .resource-container.webinar .content-container {
    margin-left: 0;
  }
  .resource-container.customizable_content .resource-container {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
  }
  #digital-ads .custom_ads.resource-container .ah-resource,
  .resource-container.customizable_content .ah-resource,
  .resource-container.custom_ads .ah-resource {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 100%;
          flex: 0 1 100%;
}
  .resource-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #digital-ads .custom_ads.resource-container, 
  .resource-container.customizable_content .resource-container {
    margin-bottom: 50px;
  }
.resource-container.webinar .ah-resource,
.resource-container .webinar.ah-resource.resource--video,
.resource-container .custom-content.ah-resource.resource--video {
  width: 100%;
}
}





