/* Admin */
.node-landing-page-edit-form .paragraph--type--hww-grid-core {
  line-height: 1;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .container {
  max-width: calc(60vw - 50px);
}

.node-landing-page-edit-form .paragraph--type--hww-grid-core .row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .grid-item {
  box-sizing: border-box;
  padding: 7px;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .col-md-3 {
  width: 25%;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .col-md-4 {
  width: 32.5%;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .col-md-5 {
  width: 41.5%;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .col-md-6 {
  width: 50%;
}
.node-landing-page-edit-form .paragraph--type--hww-grid-core .col-md-7 {
  width: 58.3%;
}
/* End of Admin */
@media (max-width: 768px) {
  .paragraph--type--hww-grid-core .component-container {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .paragraph--type--hww-grid-core .mobile-grid-full {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .paragraph--type--hww-grid-core .mobile-grid-half {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .paragraph--type--hww-grid-core .mobile-grid-half .grid-item {
    width: 50%;
  }
}

.paragraph--type--hww-grid-core .row-height-lg .grid-item .inner-item {
  height: 374px;
}
.paragraph--type--hww-grid-core .row-height-md .grid-item .inner-item {
  height: 350px;
}

@media (max-width: 1044px) {
  .paragraph--type--hww-grid-core .row-height-lg .grid-item .inner-item {
    height: 355px;
  }
  .paragraph--type--hww-grid-core .row-height-md .grid-item .inner-item {
    height: 325px;
  }
}

@media (max-width: 768px) {
  .paragraph--type--hww-grid-core .grid-item {
    width: 100%;
  }
}

.grid-item .inner-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  height: 301px;
}

@media (max-width: 1044px) {
  .grid-item .inner-item {
    height: 253px;
  }
}

.grid-item .inner-item img {
  border-radius: 4px;
}

.grid-item .content-container {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 25px 20px;
  z-index: 2;
}

@media (max-width: 768px) {
  .grid-item .content-container {
    padding: 15px;
  }
}

.grid-item .title {
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  padding-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 10px;
  padding-left: 0 !important;
}

.grid-item .title.has-bgcolor {
  padding: 5px 7px;
}

@media (max-width: 768px) {
  .grid-item .title {
    font-size: 20px;
  }
}

.grid-item .title * {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.grid-item .content-container .description {
  font-size: 16px;
  margin-bottom: 10px;
}

.grid-item .content-container .description * {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

.grid-item .inner-item .image-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
  z-index: 1;
}

.grid-item .inner-item .image-container *:not(.contextual) {
  width: 100%;
  height: 100%;
}

.grid-item .inner-item .image-container img {
  position: absolute;
  margin: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: 'object-fit: cover;'; /* IE 11 Fix */
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.grid-item.grid-item-button .full-bg-img .content-container {
  pointer-events: none;
}

.grid-item.grid-item-text .content-container {
  top: 0;
}

.grid-item.grid-item-video .image-container {
  cursor: pointer;
}

.grid-item.grid-item-video .image-container:after {
  position: absolute;
  content: '';
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url('../images/play.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 70px;
  height: 70px;
  z-index: 2;
  opacity: 0.5;
}

.grid-item.grid-item-video .image-container:hover:after {
  opacity: 1;
}

.grid-item .field--name-field-hww-grid-video-url {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.grid-item .video-embed-field-responsive-video {
  width: 100%;
  height: 100%;
}

.grid-item .video-embed-field-responsive-video iframe {
  width: 100%;
  height: 100%;
}

.grid-item-carousel .inner-item {
  background-color: inherit;
}

.paragraph--type--hww-grid-core .grid-item-carousel.slick-slider {
  margin: 0;
}

.grid-item-carousel .slick-dots {
  padding-right: 20px;
  bottom: 15px;
}

.grid-item-carousel .slick-dots button:before {
  color: #dadada;
  font-size: 10px;
  width: 15px;
  height: 15px;
}

.grid-item-carousel .slick-active button:before {
  color: #fff;
}

.modal-video {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 999;
  display: none;
}
.modal-video.active {
  display: block;
}
.modal-video .close {
  width: 30px;
  height: 30px;
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #FFF;
  border-radius: 50%;
  z-index: 3;
}
.modal-video .m-video-c {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 0;
  padding-bottom: 40%;
  overflow: visible;
  z-index: 3;
}
.modal-video .m-video-c iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}
.modal-video .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(255,255,255,0.5);
  z-index: 2;
}
.modal-video .close:after {
  content: "x";
  font-size: 21px;
  font-weight: bold;
  text-align: center;
  padding: 8px 8px;
}


@media (max-width: $screen-md-max) {
  .row-height-auto .grid-item {
    max-width: 100%;
 }
}
.row-height-auto .grid-item .inner-item {
  height: 100%;
  display: flex;
}
@media (max-width: $screen-md-max) {
  .row-height-auto .grid-item .inner-item .image-container div img {
    position: static;
    transform: initial;
 }
}
.row-height-auto .grid-item .content-container {
  position: static;
}
