:root {
  --textDark: 25, 25, 25;
  --textLight: 255, 244, 234;
  --gray: 74, 87, 94;
  --dGray: 58, 67, 72;
  --dark: 46, 53, 57;
  --blue : #314B55;
  --brown: #3E3523;
  --tan: #DBCEC3;
  --links: #EAB34E;
  --maxWidth: 2000px;
}
/* ACCESSIBILITY */
.js-focus-visible .projects-grid-block .grid-item .focus-visible,
.js-focus-visible .project-category-container .focus-visible,
.js-focus-visible .service-category-container .focus-visible {
  /* border: 2px solid red; */
}
/*---------------THEMES + BACKGROUNDS---------------*/
.element__image .block__bg {
  display: none;
}
.element__image.block__bg-img .block__bg {
  display: block;
}
.block.background-texture__true > .block__bg::after,
.block.background-texture__true > .block__bg-img .block__bg::after {
  background-image: url(/wp-content/themes/mad_world/assets/images/texture-tiled.png);
  background-position: center left;
  background-repeat: repeat;
  background-size: auto;
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.05;
  position: absolute;
  top: 0;
  width: 100%;
}
.block.bg-color__white.background-texture__true > .block__bg::after,
.block.bg-color__white.background-texture__true > .block__bg-img .block__bg::after,
.block.bg-color__tan.background-texture__true > .block__bg::after,
.block.bg-color__tan.background-texture__true > .block__bg-img .block__bg::after  {
  -webkit-filter: brightness(0);
          filter: brightness(0);
}
.block.bg-color__black.background-texture__true > .block__bg::after,
.block.bg-color__black.background-texture__true > .block__bg-img .block__bg::after {
  opacity: 0.15;
  -webkit-filter: contrast(0) brightness(1.5);
          filter: contrast(0) brightness(1.5);
}
.block.bg-color__black,
.text-area-bg-color__black .pop-box,
.button-bg-color__black .faq-dropdown__button,
.story_panel.text-area-bg-color__black:not(.box-style__outline) .col-2 {
  background-color: #000;
}
.story_panel.text-area-bg-color__black.box-style__outline .col-2 {
  border-color: #000;
}
.block.bg-color__white,
.text-area-bg-color__white .pop-box,
.button-bg-color__white .faq-dropdown__button,
.story_panel.text-area-bg-color__white:not(.box-style__outline) .col-2 {
  background-color: #fff;
}
.story_panel.text-area-bg-color__white.box-style__outline .col-2 {
  border-color: #fff;
}
.bg-color__blue,
.bg-color__blue > .block__bg-img,
.button-bg-color__blue .faq-dropdown__button,
.text-area-bg-color__blue .pop-box,
.story_panel.text-area-bg-color__blue:not(.box-style__outline) .col-2 {
  background-color: var(--blue);
}
.story_panel.text-area-bg-color__blue.box-style__outline .col-2 {
  border-color: var(--blue);
}
.bg-color__brown,
.bg-color__brown > .block__bg-img,
.button-bg-color__brown .faq-dropdown__button,
.text-area-bg-color__brown .pop-box,
.story_panel.text-area-bg-color__brown:not(.box-style__outline) .col-2  {
  background-color: var(--brown);
}
.story_panel.text-area-bg-color__brown.box-style__outline .col-2 {
  border-color: var(--brown);
}
.bg-color__tan,
.bg-color__tan > .block__bg-img,
.button-bg-color__tan .faq-dropdown__button,
.text-area-bg-color__tan .pop-box,
.story_panel.text-area-bg-color__tan:not(.box-style__outline) .col-2  {
  background-color: var(--tan);
}
.story_panel.text-area-bg-color__tan.box-style__outline .col-2 {
  border-color: var(--tan);
}
.bg-color__white .text,
.story_panel.block.text-area-bg-color__white:not(.box-style__outline) .col-2 .text,
.block.text-area-bg-color__white .pop-box .text,
.bg-color__white .text .btn-style__blank,
.bg-color__tan .text,
.text-area-bg-color__tan .pop-box .text,
.story_panel.text-area-bg-color__tan:not(.box-style__outline) .col-2 .text,
.button-bg-color__white .faq-dropdown__button,
.button-bg-color__tan .faq-dropdown__button {
  color: rgb(var(--textDark));
}
.bg-color__black .text,
.story_panel.block.text-area-bg-color__black:not(.box-style__outline) .col-2 .text,
.block.text-area-bg-color__black .pop-box .text,
.bg-color__black .text .btn-style__blank,
.bg-color__gray .text,
.story_panel.block.text-area-bg-color__gray:not(.box-style__outline) .col-2 .text,
.block.text-area-bg-color__gray .pop-box .text,
.bg-color__gray .text .btn-style__blank,
.bg-color__dark-gray .text,
.story_panel.block.text-area-bg-color__dark-gray:not(.box-style__outline) .col-2 .text,
.block.text-area-bg-color__dark-gray .pop-box .text,
.bg-color__dark-gray .text .btn-style__blank,
.bg-color__dark .text,
.story_panel.block.text-area-bg-color__dark:not(.box-style__outline) .col-2 .text,
.block.text-area-bg-color__dark .pop-box .text,
.bg-color__dark .text .btn-style__blank,
.bg-color__blue .text,
.text-area-bg-color__blue .pop-box .text,
.story_panel.text-area-bg-color__blue:not(.box-style__outline) .col-2 .text,
.bg-color__brown .text,
.text-area-bg-color__brown .pop-box .text,
.story_panel.text-area-bg-color__brown:not(.box-style__outline) .col-2 .text,
.button-bg-color__black .faq-dropdown__button,
.button-bg-color__blue .faq-dropdown__button,
.button-bg-color__brown .faq-dropdown__button {
  color: rgb(var(--textLight));
}
.block.background-image-opacity__very-light .block__bg-img {
  opacity: 0.1;
}
/*---------------OVERLAYS---------------*/
:not(.parallax__yes) .block__bg-img.olay-before,
:not(.parallax__yes) .block__bg-img.olay-after,
.block.olay-img-before:not(.parallax__yes) .block__bg-img,
.block.olay-img-after:not(.parallax__yes) .block__bg-img {
  overflow: hidden;
}
.olay-before::before,
.olay-after::after,
.olay-img-before .block__bg-img::before,
.olay-img-after .block__bg-img::after {
  content: "";
  height: calc(100% + 1px);
  left: 0;
  position: absolute;
  top: 0px;
  width: 100%;
}
.olay--hp-hero .block__bg-img::before {
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 70%, rgba(0,0,0,.8) 100%);
  z-index: 1;
}
.olay--hp-hero .block__bg-img::after {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.70)), to(rgba(0, 0, 0, 0.00)));
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.00) 100%);
}
.olay--site-hero .block__bg-img::after {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.70)), to(rgba(0, 0, 0, 0.00))), -webkit-gradient(linear, left top, left bottom, color-stop(65.1%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.00) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 65.1%, rgba(0, 0, 0, 0.90) 100%);
}
.olay--bulletin::after {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(0,0,0,0)), to(rgba(0,0,0,.9)));
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.9) 100%);
}
.olay--mad-video-two-col .block__bg-img::before {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(60%, rgba(0,0,0,0)), to(rgba(0,0,0,.8)));
  background-image: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,.8) 100%);
  z-index: 1;
}
.olay--mad-video-two-col .block__bg-img::after {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90))), -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90))) ;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20%, rgba(0, 0, 0, 0.90) 100%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20%, rgba(0, 0, 0, 0.90) 100%) ;
  opacity: 0.4;
}
.olay--mad-one-col .block__bg-img::after,
.olay--footer-block .block__bg-img::after {
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(20%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 20%, rgba(0, 0, 0, 0.90) 100%);
}
@media only screen and (min-width: 768px) {
  .olay--hp-hero .block__bg-img::after {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.70)), color-stop(37.37%, rgba(0, 0, 0, 0.00))), -webkit-gradient(linear, left top, left bottom, color-stop(65.1%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.00) 37.37%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 65.1%, rgba(0, 0, 0, 0.90) 100%);
  }
  .olay--site-hero .block__bg-img::after {
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.70)), color-stop(37.37%, rgba(0, 0, 0, 0.00))), -webkit-gradient(linear, left top, left bottom, color-stop(65.1%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.70) 0%, rgba(0, 0, 0, 0.00) 37.37%), linear-gradient(180deg, rgba(0, 0, 0, 0.00) 65.1%, rgba(0, 0, 0, 0.90) 100%);
  }
  .olay--mad-video-two-col .block__bg-img::after {
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(37.37%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 37.37%, rgba(0, 0, 0, 0.90) 100%);
  }
  .olay--mad-one-col .block__bg-img::after,
  .olay--footer-block .block__bg-img::after {
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(37.37%, rgba(0, 0, 0, 0.00)), to(rgba(0, 0, 0, 0.90)));
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 37.37%, rgba(0, 0, 0, 0.90) 100%);
  }
}
.block::after {
  content: none;
}
/*-----------------------MASKS---------------------*/
.block .text {
  position: relative;
  z-index: 5;
}
.block.mask__left,
.block.mask__right,
.block.mask__no-hex {
  margin-top: -150px;
  -webkit-mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge.png);
  -webkit-mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge.png);
  mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge.png);
  mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge.png);
  -webkit-mask-composite: source-out;
          mask-composite: exclude;
-webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
}
.block.mask__right,
.block.block_type__footer-block.footer-mask__right {
  -webkit-mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-right.png);
  -webkit-mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-right.png);
  mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-right.png);
  mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-right.png);
  -webkit-mask-position: top right;
          mask-position: top right;
}
.block.mask__no-hex {
  -webkit-mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-no-hex.png);
  -webkit-mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-no-hex.png);
          mask-image:  -webkit-gradient(linear, left top, left bottom, from(#000),to(#000)), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-no-hex.png);
          mask-image:  linear-gradient(to bottom, #000,#000), url(/wp-content/themes/mad_world/assets/images/mad-mask-inverted-grunge-no-hex.png);
}
.block.mask__no-hex  .mask-hex {
  display: none;
}
.mask-hex {
  position: absolute;
  z-index: 1;
}
.mask-hex img {
  height: 140px;
  max-height: 140px;
  max-width: 158px;
}
.mask-hex[data-index="0"],
.mask-hex[data-index="2"] {
  left: 5px;
  top: 65px;
}
.mask-hex[data-index="1"] {
  left: 145px;
  top: 3px;
}
.mask-hex[data-index="2"] {
  left: 285px;
}
.block.mask__right .mask-hex,
.block_type__footer-block.footer-mask__right .mask-hex {
  left: auto;
}
.block.mask__right .mask-hex[data-index="0"],
.block_type__footer-block.footer-mask__right .mask-hex[data-index="0"] {
  right: 5px;
}
.mask__right .mask-hex[data-index="1"],
.block_type__footer-block.footer-mask__right .mask-hex[data-index="1"] {
  right: 145px;
}
.mask__right .mask-hex[data-index="2"],
.block_type__footer-block.footer-mask__right .mask-hex[data-index="2"] {
  right: 285px;
}
.block.mask__left .all-cols-wrap,
.block.mask__right .all-cols-wrap,
.block.mask__no-hex .all-cols-wrap {
  margin-top: 167px;
}
.hex-opacity__none .mask-hex {
  opacity: 0;
}
.hex-opacity__light .mask-hex {
  opacity: 0.3;
}
.hex-opacity__medium .mask-hex {
  opacity: 0.5;
}
.hex-opacity__strong .mask-hex {
  opacity: 0.7;
}
/* ADMIN */
.acf-block-preview .block.mask__left,
.acf-block-preview .block.mask__right,
.acf-block-preview .block.mask__no-hex {
  margin-top: 0;
}
@media only screen and (min-width: 1000px) {
  .block.mask__left,
  .block.mask__right {
    margin-top: -167px;
  }
  .block.mask__left .all-cols-wrap,
  .block.mask__right .all-cols-wrap {
    margin-top: 167px;
  }
}
/*-----------------------BLOCKS---------------------*/
.entry-content section.block:first-child > .page_frame {
  padding-top: 150px;
}
.post-options + .entry-content section.block:first-child > .page_frame {
  padding-top: 0;
}
.block div {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
.block.has-mobile-bg > .block__bg-img .img-frame:first-child {
  display: none;
}
@media only screen and (min-width: 768px) {
  .block.has-mobile-bg > .block__bg-img .img-frame:first-child {
    display: block;
  }
  .block.has-mobile-bg > .block__bg-img .img-frame:nth-child(2){
    display: none;
  }
}
.public header,
.public .element__image img[loading="lazy"],
.public .block .text {
  opacity: 0;
  -webkit-transition: opacity ease 700ms;
  transition: opacity ease 700ms;
}
.text-ready header,
.element__image img[loading="lazy"].active,
.text-ready .block .text {
  opacity: 1;
}
.block.narrow-content__some > .page_frame > .all-cols-wrap,
.block.narrow-content__more > .page_frame > .all-cols-wrap {
  max-width: 100%;
}
.block.site-block div[class^="col"] {
  padding-left: 0;
  padding-right: 0;
}
section.mask-padding:not(.bulletin-board) > .page_frame,
section.mask-padding:not(.bulletin-board) > .block > .page_frame,
.bulletin-board.mask-padding .all-cols-wrap .col:last-child .element__text {
/* section.mask-padding > .blog-post__content > .page_frame { */
  padding-bottom: 135px;
}
@media only screen and (min-width: 768px) {
  .block.narrow-content__more > .page_frame > .all-cols-wrap {
    max-width: 685px;
  }
}
@media only screen and (min-width: 1000px) {
  .block.narrow-content__some > .page_frame > .all-cols-wrap {
    max-width: 990px;
  }
  .bulletin-board.mask-padding .all-cols-wrap .col:not(.featured-col) .element__text,
  .bulletin-board.mask-padding .all-cols-wrap .featured-col .col-content {
    padding-bottom: 110px;
  }
}
/* VIDEO MODAL FRAME */
.video-modal-frame {
  background-color: rgba(0,0,0,0.7);
  display: none;
  height: 100%;
  left: 0;
  opacity: 0.3;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
}
.video-modal-frame.show {
  display: block;
  -webkit-animation: video_modal linear 500ms forwards;
          animation: video_modal linear 500ms forwards;
}
@-webkit-keyframes video_modal {
  0% {
    -webkit-filter: brightness(0);
            filter: brightness(0);
  }
  40%,50%,60%,70% {
    -webkit-filter: saturate(2) hue-rotate(30deg);
            filter: saturate(2) hue-rotate(30deg);
    opacity: 0.9;
  }
  39%,51%,61%,71%,100% {
    -webkit-filter: none;
            filter: none;
    opacity: 1;
  }
}
@keyframes video_modal {
  0% {
    -webkit-filter: brightness(0);
            filter: brightness(0);
  }
  40%,50%,60%,70% {
    -webkit-filter: saturate(100) hue-rotate(30deg);
            filter: saturate(100) hue-rotate(30deg);
    opacity: 0.5;
  }
  39%,51%,59%,71%,100% {
    -webkit-filter: none;
            filter: none;
    opacity: 1;
  }
}
.video-modal-frame .close {
  background: none;
  border: 0;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 99;
}
.video-modal-frame .close::before {
  content: "\002B";
  color: #fff;
  display: inline-block;
  font-family: "derelict rough";
  font-size: 52px;
  font-weight: 300;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
  -webkit-transform-origin: center center;
          transform-origin: center center;
}
.video-modal-frame iframe,
.video-modal-frame video {
  display: block;
  margin: 0 auto;
  max-height: 80%;
  max-width: 80%;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}
/*------------HP HERO-------------*/
.block_type__hp-hero {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  min-height: 450px;
}
.block_type__hp-hero.has-smoke .block__bg-img {
  opacity: 0.2;
  -webkit-transition: opacity ease 1500ms 700ms;
  transition: opacity ease 1500ms 700ms;
}
.block_type__hp-hero.has-smoke .block__bg-img.loaded {
  opacity: 1;
}
/* POSSIBLY THINK ABOUT ANIMATION TO FADE IN */
.block_type__hp-hero .particles.dust {
  opacity: 0.3;
}
.block_type__hp-hero #myCanvas {
  height: 100%;
  opacity: 0;
  position: absolute;
  -webkit-transition: opacity ease 3000ms 1000ms;
  transition: opacity ease 3000ms 1000ms;
  width: 100%;
}
.block_type__hp-hero #myCanvas.loaded {
  -webkit-animation: smoke_animation 5s ease forwards;
          animation: smoke_animation 5s ease forwards;
}
@-webkit-keyframes smoke_animation {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  /* 99% {
    opacity: 0.3;
  } */
  100% {
    opacity: 0;
  }
}
@keyframes smoke_animation {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  /* 99% {
    opacity: 0.3;
  } */
  100% {
    opacity: 0;
  }
}
@media only screen and (min-width: 768px) {
  .block_type__hp-hero {
    min-height: 550px;
  }
}
@media only screen and (min-width: 1000px) {
  .block_type__hp-hero {
    min-height: 768px;
  }
}
/*------------SITE HERO-------------*/
.block_type__site-hero {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  min-height: 450px;
}
.block_type__site-hero .text {
  display: block;
  margin: 0 auto;
  max-width: 790px;
}
@media only screen and (min-width: 1000px) {
  .block_type__site-hero {
    min-height: 765px;
  }
}
/*------------BULLETIN BOARD-------------*/
html body .block.block_type__bulletin-board {
  padding: 0;
}
.block_type__bulletin-board .all-cols-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.block_type__bulletin-board .col {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
  margin-bottom: 0;
  position: relative;
  width: 100%;
}
.block_type__bulletin-board .featured-col {
  -ms-flex-line-pack: center;
      align-content: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.block_type__bulletin-board .featured-col .col-content {
  margin-top: -5px;
}
#bulletin-board-bg-video-frame {
  display: none;
  height: 100%;
  width: 100%;
}
#bulletin-board-bg-video {
  height: 100%;
  left: 50%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  pointer-events: none;
  position: absolute;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 260%;
}
#bulletin-board-bg-video-frame video {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  width: 100%;
}
.block_type__bulletin-board .col .text {
  position: relative;
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.50);
  text-align: center;
  width: 100%;
}
.block_type__bulletin-board .element__video-type {
  text-align: center;
  width: 100%;
}
.block_type__bulletin-board button.video-play {
  height: 57px;
  line-height: 1em;
  margin-bottom: 1.11rem;
  position: relative;
  z-index: 1;
}
/* OPTIONS */
.block_type__bulletin-board.mask__left .all-cols-wrap,
.block_type__bulletin-board.mask__right .all-cols-wrap {
  margin-top: 0 !important;
}
@media only screen and (max-width: 1000px) {
  #bulletin-board-bg-video-frame {
    display: none !important;
  }
  /* OPTIONS */
  .block_type__bulletin-board.mask__left .col:first-child .text,
  .block_type__bulletin-board.mask__right .col:first-child .text {
    margin-top: 180px;
  }
}
@media only screen and (min-width: 1000px) {
  .block_type__bulletin-board .col {
    max-width: 27.255%;
    min-height: 655px;
  }
  .block_type__bulletin-board .featured-col {
    max-width: 45.49%;
  }
  #bulletin-board-bg-video-frame {
    display: block;
  }
  /* OPTIONS */
  .block_type__bulletin-board.column-count__2 .col-1,
  .block_type__bulletin-board.column-count__2 .col-2 {
    max-width: 50%;
  }
  .block_type__bulletin-board.mask__left .col .text,
  .block_type__bulletin-board.mask__right .col .text {
    margin-top: 170px;
  }
}
@media only screen and (min-width: 1460px) {
  #bulletin-board-bg-video {
    width: 176%;
  }
}
/*------------ONE COL-------------*/
@media only screen and (max-width: 640px) {
  .block_type__one-column .block__bg-img img {
    display: none;
  }
}
/*------------MAD VIDEO TWO COLUMN-------------*/
.block_type__mad-video-two-column .all-cols-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.block_type__mad-video-two-column .col-1 {
  margin-bottom: 20px;
  max-height: 250px;
  max-width: 455px;
  width: 100%;
}
.block_type__mad-video-two-column .text {
  color: rgb(var(--textLight));
}
.mad-video-frame {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  border-radius: 15px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.9));
          filter: drop-shadow(0px 0px 10px rgba(0,0,0,0.9));
  height: 48vw;
  max-height: 250px;
  max-width: 100%;
  overflow: hidden;
  padding: 33px 38px;
  position: relative;
  width: 100%;
}
.mad-video-frame .phone-video {
  display: none;
}
.mad-video-frame .bg-img {
  border-radius: 20px;
  margin: 13px;
  max-width: calc(100% - 26px);
  max-height: calc(100% - 26px);
  overflow: hidden;
  z-index: 1;
}
.mad-video-frame .phone-video {
  background-color: #000;
}
.mad-video-frame .phone-video .video-frame {
  height: 100%;
  overflow: hidden;
  width: 100%;
}
.mad-video-frame .phone-video .video-frame iframe,
.mad-video-frame .phone-video .video-frame video {
  height: 110%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  width: 100%;
}
.mad-video-frame button {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: none;
  border: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.0625em;
  margin-bottom: 0px;
  position: relative;
  text-transform: uppercase;
  z-index: 2;
}
.mad-video-frame button::before {
  background-image: url(/wp-content/themes/mad_world/assets/images/icon_play-yellow.svg);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  display: inline-block;
  height: 20px;
  margin-right: 8px;
  position: relative;
  top: -2px;
  width: 20px;
}
.mad-video-frame .glitch {
  border-radius: 15px;
  left: 13px;
  max-width: calc(100% - 26px);
  max-height: calc(100% - 26px);
  top: 13px;
}
.mad-video-frame::after {
  background-image: url(/wp-content/themes/mad_world/assets/images/iphone-case-cracked.png);
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.block_type__mad-video-two-column .col-2 {
  width: 100%;
}
/* OPTIONS */
.block_type__mad-video-two-column.mask__left .all-cols-wrap,
.block_type__mad-video-two-column.mask__right .all-cols-wrap  {
  padding-top: 80px;
}
.block_type__mad-video-two-column.align-columns__middle .all-cols-wrap {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.block_type__mad-video-two-column.align-columns__bottom .all-cols-wrap {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
/* ADMIN */
.acf-block-preview .mad-video-frame .bg-img {
  /* max-height: calc(90% - 26px); */
}
@media only screen and (min-width: 480px) {
  .mad-video-frame .bg-img,
  .mad-video-frame .glitch {
    border-radius: 10px;
    max-width: calc(100% - 25px);
  }
}
@media only screen and (min-width: 768px) {
  .block_type__mad-video-two-column.mask__left .all-cols-wrap,
  .block_type__mad-video-two-column.mask__right .all-cols-wrap  {
    padding-top: 145px;
  }
  .block_type__mad-video-two-column .col-1 {
    margin-left: auto;
  }
  .mad-video-frame {
    height: 26vw;
    /* height: 19vw; */
  }
  .block_type__mad-video-two-column .col-2 {
    margin-top: 70px;
    margin-left: 20px;
    max-width: 45%;
  }
  .block_type__mad-video-two-column.reverse-columns__yes .col-2 {
    margin-right: 20px;
    max-width: 45%;
    text-align: right;
  }
  .mad-video-frame .bg-img,
  .mad-video-frame .glitch {
    border-radius: 20px;
    max-width: calc(100% - 30px);
  }
  .block_type__mad-video-two-column.reverse-columns__yes .all-cols-wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .block_type__mad-video-two-column.reverse-columns__yes .col-1 {
    margin-left: 0;
    margin-right: auto;
  }
}
@media only screen and (min-width: 1000px) {
  .mad-video-frame .element__image {
    display: none;
    /* display: block; */
  }
  .mad-video-frame .phone-video,
  .mad-video-frame.no-video .element__image {
    display: block;
  }
  .mad-video-frame.no-video .phone-video {
    display: none;
  }
  .block_type__mad-video-two-column .col-2 {
    margin-left: auto;
    max-width: 43%;
  }
  .block_type__mad-video-two-column.reverse-columns__yes .col-2 {
    margin-left: 0;
    margin-right: auto;
    max-width: 43%;
  }
}
/*------------MAD ONE COLUMN-------------*/
.block_type__mad-one-column .col-1 {
  padding-top: 40px;
  width: 100%;
}
.block_type__mad-one-column .text {
  color: rgb(var(--textLight));
}
@media only screen and (min-width: 768px) {
  .block_type__mad-one-column .col-1 {
    max-width: 44.88%;
    padding-top: 330px;
  }
}
/*------------TESTIMONIAL SLIDER-------------*/
.block.testimonial-slider-block .slide .text {
  padding: 0 30px;
}
.slick-slider .slick-arrow {
  color: currentColor;
  background-color: transparent;
}
.slick-slider .slick-arrow::before {
  color: currentColor;
}
@media only screen and (max-width: 1300px) {
  .slick-slider .slick-prev {
    left: -15px;
  }
  .slick-slider .slick-next {
    right: -15px;
  }
}
/* POSTS FRAME STYLING */
.post-frame-style a {
  position: relative;
  z-index: 2;
}
.post-frame-style::before,
.post-frame-style::after {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
.post-frame-style::before {
  border: 2px solid rgba(255, 244, 234, 0.10);
  height: calc(100% - 14px);
  left: 7px;
  top: 7px;
  width: calc(100% - 14px);
  z-index: 1;
}
.post-frame-style::after {
  border: 2px solid rgba(255, 244, 234, 0.30);
}
.more-posts__posts-container .more-posts__post:nth-child(1) .post__image,
.block_type__read-next .link-col:nth-child(1) .read-next__image-frame {
  background-color: rgb(22, 33, 38);
}
.more-posts__posts-container .more-posts__post:nth-child(2) .post__image,
.block_type__read-next .link-col:nth-child(2) .read-next__image-frame {
  background-color: rgb(62, 53, 35);
}
.more-posts__posts-container .more-posts__post:nth-child(3) .post__image,
.block_type__read-next .link-col:nth-child(3) .read-next__image-frame {
  background-color: rgb(49, 75, 85);
}
.more-posts__posts-container .post__image img,
.read-next__image-frame img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
  opacity: 0.5;
  width: 100%;
}
/*------------READ NEXT-------------*/
.block_type__read-next .link-cols {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.block_type__read-next .link-col {
  margin-bottom: 20px;
  width: 100%;
}
.read-next__image-frame {
  position: relative;
  height: 53vw;
  margin: 0 auto 30px auto;
}
.read-next__button-frame {
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .block_type__read-next .link-cols {
    margin: 0 -10px;
  }
  .block_type__read-next .link-col {
    margin: 0 10px;
    max-width: calc(33.33% - 20px);
  }
  .read-next__image-frame {
    height: 19vw;
    max-height: 185px;
    max-width: 315px;
  }
}
/*------------ROWS BLOCK-------------*/
.block_type__rows .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.block_type__rows .element__image,
.block_type__rows .text {
  margin: 20px 0;
}
.row .col {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
}
.row.align-columns__middle {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.row.align-columns__bottom {
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
/* OPTIONS */
.block_type__rows.reverse-columns__yes .row.layout__two-column {
  flex-direction: row-reverse;
}
@media only screen and (min-width: 768px) {
  .row.layout__two-column .col-1 {
    max-width: 42.93%;
  }
  .row.layout__two-column .col-2 {
    margin-left: 6.06%;
    max-width: 51.315%;
  }
  .block_type__rows.reverse-columns__yes .row.layout__two-column .col-1 {
    margin-left: 6.06%;
    max-width: 42.93%;
  }
  .block_type__rows.reverse-columns__yes .row.layout__two-column .col-2 {
    margin-left: 0;
    max-width: 51.315%;
  }
}
/*------------MORE POSTS-------------*/
.block_type__more-posts  {
  padding: 20px 0;
}
.social-media-share-container {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-bottom: 20px;
}
.social-media-share-container h6 {
  margin-bottom: 0;
  margin-right: 15px;
  width: 100%;
}
.heateor_sss_sharing_container {
  margin-left: -10px;
}
.social-media-share-container div.heateor_sss_horizontal_sharing div.heateor_sss_sharing_ul a {
  margin: 0 9px;
}
.heateor_sss_svg {
  background: none !important;
}
.bg-color__transparent .heateor_sss_svg svg path,
.bg-color__white .heateor_sss_svg svg path,
.bg-color__tan .heateor_sss_svg svg path {
  fill: rgb(var(--textDark));
}
.bg-color__blue .heateor_sss_svg svg path,
.bg-color__brown .heateor_sss_svg svg path {
  fill: rgb(var(--textLight));
}
.block_type__more-posts .element__text {
  margin-bottom: 32px;
}
.block_type__more-posts .element__text > *:last-child {
  margin-bottom: 0;
}
.more-posts__posts-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin: 0 -10px;
}
.more-posts__posts-container .more-posts__post {
  margin-bottom: 20px;
  width: 100%;
}
.more-posts__posts-container .post__image {
  background-color: var(--blue);
  height: 59vw;
  margin-bottom: 20px;
  max-width: 100%;
  position: relative;
  width: 100vw;
}
.block .more-posts__posts-container .post__title {
  line-height: 1em;
  margin-bottom: 10px;
}
.block .more-posts__posts-container .post__read-more {
  color: var(--links);
}
@media only screen and (min-width: 480px) {
  .social-media-share-container {
    -ms-flex-wrap: no-wrap;
        flex-wrap: no-wrap;
    margin-bottom: 50px;
  }
  .social-media-share-container h6 {
    width: auto;
  }
  .heateor_sss_sharing_container {
    margin-left: 0;
  }
}
@media only screen and (min-width: 768px) {
  .more-posts__posts-container .more-posts__post {
    margin: 0 10px;
    max-width: calc(33.333% - 20px);
  }
  .more-posts__posts-container .post__image {
    height: 20vw;
    max-height: 185px;
    max-width: 100%;
    width: 100%;
  }
}
@media only screen and (min-width: 1000px) {
  .more-posts__posts-container .post__image {
    max-height: 185px;
    max-width: 305px;
  }
}
/*------------FOOTER BLOCK-------------*/
.block_type__footer-block {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  min-height: 910px;
  padding-bottom: 0;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.block_type__footer-block .col-1 {
  /* -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center; */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 60px;
}
.footer__text {
  color: rgb(var(--textLight));
}
.footer__image {
  /* max-height: 260px;
  max-width: 220px; */
  max-width: 100px;
}
.footer__image img {
  display: block;
  margin: 0px auto;
}
.footer__text {
  text-align: center;
  width: 100%;
}
@media only screen and (min-width: 1000px) {
  .block_type__footer-block .col-1 {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    margin-bottom: 30px;
  }
  .footer__image {
    /* margin-right: 40px; */
    margin: 15px 20px 15px 0;
  }
  .footer__text {
    max-width: 53.72%;
    /* max-width: 405px; */
    text-align: left;
  }
}