/**
 * Styles for Grimlock Jetpack
 *
 * Adds integration features between Grimlock and Jetpack
 * https://themosaurus.com/
 *
 */
[id*="grimlock-modal"].modal {
  overflow-x: hidden;
  overflow-y: auto;
}

@media (max-width: 767.98px) {
  [id*="grimlock-modal"] .modal-dialog {
    max-width: calc( 100% - 30px);
    margin: 70px auto 50px auto;
  }
}

[id*="grimlock-modal"] .modal-content {
  background-color: var(--grimlock-archive-post-background-color);
  border: var(--grimlock-archive-post-border-width) solid var(--grimlock-archive-post-border-color);
  border-radius: var(--grimlock-archive-post-border-radius);
  box-shadow: var(--grimlock-archive-post-box-shadow-x-offset) var(--grimlock-archive-post-box-shadow-y-offset) var(--grimlock-archive-post-box-shadow-blur-radius) var(--grimlock-archive-post-box-shadow-spread-radius) var(--grimlock-archive-post-box-shadow-color);
  padding: 0;
  color: var(--grimlock-archive-post-color);
}

[id*="grimlock-modal"] .modal-content:before {
  font-family: var(--grimlock-icon-times-font-family) !important;
  content: var(--grimlock-icon-times);
  font-weight: 100;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  opacity: .75;
  z-index: 9999;
  transition: all 0.2s ease-in-out;
  pointer-events: none;
  width: calc( 100% / 3);
  left: calc( 100% / 3);
  top: -70px;
  height: 50px;
}

@media (min-width: 768px) {
  [id*="grimlock-modal"] .modal-content:before {
    width: 40px;
    height: 40px;
    top: 0;
    right: -50px;
    left: auto;
  }
}

[id*="grimlock-modal"] .grimlock-modal-previous,
[id*="grimlock-modal"] .grimlock-modal-next {
  background-color: transparent !important;
  color: inherit;
  opacity: .75;
  padding: 0;
  font-size: 0;
  top: 0;
  width: calc( 100% / 3);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  height: 50px;
  position: absolute;
}

@media (min-width: 768px) {
  [id*="grimlock-modal"] .grimlock-modal-previous,
  [id*="grimlock-modal"] .grimlock-modal-next {
    position: fixed;
    height: 100%;
    width: 10%;
  }
}

[id*="grimlock-modal"] .grimlock-modal-previous:after,
[id*="grimlock-modal"] .grimlock-modal-next:after {
  font-family: var(--grimlock-icon-angle-left-font-family) !important;
  content: var(--grimlock-icon-angle-left);
  font-weight: 100;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 2rem;
}

[id*="grimlock-modal"] .grimlock-modal-previous:hover,
[id*="grimlock-modal"] .grimlock-modal-next:hover {
  opacity: 1;
}

[id*="grimlock-modal"] .grimlock-modal-previous {
  left: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 100%) !important;
}

[id*="grimlock-modal"] .grimlock-modal-next {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.15) 100%) !important;
  right: 0;
}

[id*="grimlock-modal"] .grimlock-modal-next:after {
  font-family: var(--grimlock-icon-angle-right-font-family) !important;
  content: var(--grimlock-icon-angle-right);
  font-weight: 100;
  font-style: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[id*="grimlock-modal"] .grimlock--single-header .breadcrumb {
  display: none;
}

/**
 * Do not add your customizations here, this file will be overridden in future release of the plugin.
 * Make your CSS changes in the Custom CSS panel of the WordPress Customizer or create a child theme : https://codex.wordpress.org/Child_Themes
 */
