/*
Theme Name: Family Man Escape
Theme URI: http://demo.edge-themes.com/vigor
Description: Family Man Escape site theme.
Author: Nicholas Tieman
Author URI: nicholas.tieman@gmail.com
Version: 1.0.1
Template: vigor
*/

/* SF Fedora Font Family */
@font-face {
  font-family: 'SF Fedora';
  src: url('./fonts/SF Fedora.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Outline';
  src: url('./fonts/SF Fedora Outline.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Shadow';
  src: url('./fonts/SF Fedora Shadow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Symbols';
  src: url('./fonts/SF Fedora Symbols.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Titles';
  src: url('./fonts/SF Fedora Titles.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Titles';
  src: url('./fonts/SF Fedora Titles Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Titles Shadow';
  src: url('./fonts/SF Fedora Titles Shadow.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SF Fedora Titles Shadow';
  src: url('./fonts/SF Fedora Titles Shadow Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

/* SF Fedora title style */
.sf-fedora-titles h1,
.sf-fedora-titles h2,
.sf-fedora-titles h3,
.sf-fedora-titles h4,
.sf-fedora-titles h5,
.sf-fedora-titles h6,
.sf-fedora-titles.h1,
.sf-fedora-titles.h2,
.sf-fedora-titles.h3,
.sf-fedora-titles.h4,
.sf-fedora-titles.h5,
.sf-fedora-titles.h6 {
  padding: 0.2em;
  background-clip: text !important;
  background-image: repeating-linear-gradient(red, orange 1em) !important;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .5));
  color: transparent !important;
  font-family: "SF Fedora", sans-serif !important;
  line-height: 1.1;
  text-shadow: none !important;
  transform: perspective(8em) rotateX(5deg) rotateY(-1deg) rotateZ(-1deg);
  transform-origin: center center;
}

/* Apply Fedora title styling to slides. */
.edgt_slide_title span {
  display: block;
  background-clip: text !important;
  background-image: repeating-linear-gradient(red, orange 1.1em) !important;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .5));
  color: transparent !important;
  font-family: "SF Fedora", sans-serif !important;
  line-height: 1.1em;
  text-shadow: none !important;
  transform: perspective(10em) rotateX(25deg) rotateY(-5deg) rotateZ(-1deg);
  transform-origin: center center;
}

.sf-fedora-titles.ls-layer h1 {
  font-size: 120px !important;
}

@media (min-width: 1281px) {
  .sf-fedora-titles.ls-layer h1 {
    margin-top: 24px;
  }
}

@media (max-width: 1280px) {
  .sf-fedora-titles.ls-layer h1 {
    font-size: 60px !important;
  }
}

@media (max-width: 768px) {
  .edgt_slide_title span {
    font-size: 48pt !important;
    line-height: 1.1;
  }

  .sf-fedora-titles.ls-layer h1 {
    margin-top: -18px;
    font-size: 24pt !important;
    line-height: 1.1;
  }

  .ls-wrapper > p.ls-text-layer {
    display: none !important;
  }
}

/* Apply Fedora styling to slide buttons. */
.slide_buttons_holder .qbutton {
  font-family: "SF Fedora Titles";
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
}

.slide_buttons_holder .qbutton {
  width: auto !important;
}

@media (max-width: 768px) {
  .slide_buttons_holder .qbutton {
    padding: 16px 24px 12px !important;
    font-size: 18pt !important;
  }
}

/* SF Fedora Subtitle style */
.sf-fedora-subtitles h1,
.sf-fedora-subtitles h2,
.sf-fedora-subtitles h3,
.sf-fedora-subtitles h4,
.sf-fedora-subtitles h5,
.sf-fedora-subtitles h6,
.sf-fedora-subtitles.h1,
.sf-fedora-subtitles.h2,
.sf-fedora-subtitles.h3,
.sf-fedora-subtitles.h4,
.sf-fedora-subtitles.h5,
.sf-fedora-subtitles.h6 {
  margin-bottom: 1rem;
  padding: 0.2em 0;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .5));
  font-family: "SF Fedora Titles", sans-serif !important;
  font-style: italic;
  line-height: 0.9em;
}

/* Comic panel style */
.comic-panel {
  margin-bottom: 1rem;
}

.comic-panel.wpb_column {
  padding: 0 9px;
}

.comic-panel .vc_column-inner {
  padding: 18px;
  border: 2px black solid;
  background-color: white;
  box-shadow: -5px 5px 2px rgba(0, 0, 0, .5);
}

.comic-panel:nth-child(3n + 2) .vc_column-inner,
.comic-panel.skew-left .vc_column-inner {
  transform: rotate(-0.5deg);
}

.comic-panel:nth-child(3n) .vc_column-inner,
.comic-panel.skew-right .vc_column-inner {
  transform: rotate(0.7deg);
}

/* Jagged comic panels */
.comic-panel.jagged {
  position: relative;
  mask-image: url("/wp-content/themes/family-man-escape/images/jagged-splat.svg");
  mask-size: 100% 100%;
}

.comic-panel.jagged:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/wp-content/themes/family-man-escape/images/jagged-splat-outline.svg");
  background-size: 100% 100%;
}

.comic-panel.jagged.wide {
  mask-image: url("/wp-content/themes/family-man-escape/images/jagged-splat-wide.svg");
}

.comic-panel.jagged.wide:after {
  background-image: url("/wp-content/themes/family-man-escape/images/jagged-splat-wide-outline.svg");
}

.comic-panel.jagged.tall {
  mask-image: url("/wp-content/themes/family-man-escape/images/jagged-splat-tall.svg");
}

.comic-panel.jagged.tall:after {
  background-image: url("/wp-content/themes/family-man-escape/images/jagged-splat-tall-outline.svg");
}

/* Home page - panel with blurb */
div.panel-with-blurb {
  margin: 1rem 0;
  box-shadow: 0 0 0.5rem 0.25rem rgba(0, 0, 0, .5);
  background-image: url("/wp-content/themes/family-man-escape/images/black-wave-halftone-background.png");
  background-size: 800px auto !important;
  background-position: bottom right !important;
  background-repeat: repeat-x !important;
  background-color: orange;
}

div.panel-with-blurb .wpb_column {
  text-align: left;
}

div.panel-with-blurb p {
  color: white !important;
  font-size: 18pt !important;
  font-weight: 500;
  text-shadow: 1px 1px 2px black;
}

div.panel-with-blurb p strong {
  font-size: 1.2em;
}

@media (max-width: 768px) {
  div.panel-with-blurb .section_inner_margin {
    display: flex;
    flex-wrap: wrap;
  }

  div.panel-with-blurb .section_inner_margin .wpb_column {
    order: 2;
  }

  div.panel-with-blurb .section_inner_margin .wpb_column.comic-panel {
    order: 1;
  }
}

/* Comic halftone background with preset colors. */
.comic-halftone-background {
  background-image: url("/wp-content/themes/family-man-escape/images/black-wave-halftone-background.png");
  background-size: 800px auto !important;
  background-position: bottom right !important;
  background-repeat: repeat-x !important;
  background-color: orange;
}

.comic-halftone-background.red {
  background-color: red;
}

.comic-halftone-background.blue {
  background-color: darkblue;
}

/* Top menu */
@media (min-width: 769px) {
  #menu-main-menu .item_text {
    font-size: 16pt;
  }
}

/* General styles */
.full_width {
  background-color: black !important;
}

.full_width p {
  margin-bottom: 1em !important;
  font-size: 14pt !important;
  line-height: 1.4 !important;
}

@media (max-width: 768px) {
  .full_width p {  
    font-size: 16pt !important;
    line-height: 1.4 !important;
  }
}

.edgt_list ul li {
  font-size: 14pt !important;
}

/* Countdown timer */
.countdownTimer {
  padding: 1rem;
  color: inherit;
  font-family: "SF Fedora Titles", sans-serif;
  font-size: 48pt;
}

.countdownTimer__part { 
  display: inline-block;
  min-width: 1.5em;
  margin-bottom: 1em;
}

.countdownTimer__part__value {
  display: block;
  color: white;
  height: auto;
  line-height: 1;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

.countdownTimer__part__label {
  display: block;
  margin-top: 0.5rem;
  font-size: 18pt;
  color: white;
}

@media (max-width: 1000px) {
  .countdownTimer {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Top menu tagline */
@media (min-width: 1001px) {
  .header_bottom > .container:after {
    content: "Live like a superhero. Don't be an idiot.";
    display: block;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: calc(50% - 0.6em);
    left: calc(50% - 320px);
    width: 490px;
    min-width: 18em;
    height: 1em;
    color: white;
    font-size: 12pt;
    font-style: italic;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    text-shadow: 2px 2px 2px rgba(255, 255, 255, .25);
    text-transform: uppercase;
  }
}

@media(min-width: 1200px) {
  .header_bottom > .container:after {
    font-size: 16pt;
  }
}

/* Audio player. */
.audio--styled {
  display: none;
}

.audio__styledPlayer {
  text-align: center;
}

.audio__styledPlayer__button {
  display: inline-block;
  position: relative;
  width: 4rem;
  height: 4rem;
  margin: 0.25rem;
  border: none;
  border-radius: 4px;
  background-color: black;
  color: white;
  cursor: pointer;
}

.audio__styledPlayer__button__icon {
  position: absolute;
  top: calc(50% - 1.25rem);
  left: calc(50% - 1.25rem);
  font-size: 2.5rem !important;
  line-height: 1;
}

.audio__styledPlayer__time {
  font-size: 1.5rem;
  vertical-align: top;
  color: white;
}

.audio__styledPlayer__position {
  -webkit-appearance: none;
  margin: 18px 0;
  width: 100%;
}

.audio__styledPlayer__position:focus {
  outline: none;
}

.audio__styledPlayer__position::-webkit-slider-runnable-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

.audio__styledPlayer__position::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -14px;
}

.audio__styledPlayer__position:focus::-webkit-slider-runnable-track {
  background: #367ebd;
}

.audio__styledPlayer__position::-moz-range-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  background: #3071a9;
  border-radius: 1.3px;
  border: 0.2px solid #010101;
}

.audio__styledPlayer__position::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

.audio__styledPlayer__position::-ms-track {
  width: 100%;
  height: 8.4px;
  cursor: pointer;
  background: transparent;
  border-color: transparent;
  border-width: 16px 0;
  color: transparent;
}

.audio__styledPlayer__position::-ms-fill-lower {
  background: #2a6495;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

.audio__styledPlayer__position::-ms-fill-upper {
  background: #3071a9;
  border: 0.2px solid #010101;
  border-radius: 2.6px;
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}

.audio__styledPlayer__position::-ms-thumb {
  box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
  border: 1px solid #000000;
  height: 36px;
  width: 16px;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
}

.audio__styledPlayer__position:focus::-ms-fill-lower {
  background: #3071a9;
}

.audio__styledPlayer__position:focus::-ms-fill-upper {
  background: #367ebd;
}