/*!
Theme Name: JM Master Theme
Theme URI: https://jessematlock.com
Author: Jesse Matlock
Author URI: https://jessematlock.com
Description: Wordpress Theme based on Bootstrap 5
Version: 3.0.2
Requires at least: 5.0
Tested up to: 5.7
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: revive-bs5-theme
*/
.text-inverse,
.text-inverse h1,
.text-inverse h2,
.text-inverse h3,
.text-inverse h4,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 {
    color: #fff !important;
}
.card.text-inverse p,
.text-white p,
.text-inverse form,
.text-inverse form legend, 
.text-inverse form label {
  color: #eee !important;
}

.text-inverse a:not(.btn):hover,
.bg-dark a:not(.btn):hover,
.text-white a:not(.btn):hover,
.wysiwyg a:not(.btn):hover {
  color: #f5f5f5 !important;
}
.text-inverse a:not(.btn),
.bg-dark a:not(.btn),
.text-white a:not(.btn),
.wysiwyg a:not(.btn) {
  color: #cacaca !important;
}
 .bg-dark .lineal-stroke{fill:#ccc !important}

 .bg-navy-90 { background:#485263;}
 .bg-navy-80 { background:#5D6575;}
 .bg-navy-70 { background:#717986;}
 .bg-navy-60 { background:#858C97;}
 .bg-navy-50 { background:#9A9FA9;}
 .bg-navy-40 { background:#AEB2BA;}
 .bg-navy-30 { background:#C2C5CB;}
 .bg-navy-20 { background:#D6D9DC;}
 .bg-navy-10 { background:#EBECEE;}
 .bg-navy-90 p,
 .bg-navy-80 p,
 .bg-navy-70 p,
 .bg-navy-60 p {
   color: #eee !important;
 }
 .bg-navy-90 .lineal-stroke,
 .bg-navy-80 .lineal-stroke,
 .bg-navy-70 .lineal-stroke,
 .bg-navy-60 .lineal-stroke {
    fill:#ccc !important;
}
.text-inverse .fill-primary,
 .bg-navy-90 .lineal-fill,
 .bg-navy-80 .lineal-fill,
 .bg-navy-70 .lineal-fill,
 .bg-navy-60 .lineal-fill {
    fill:#fff !important;
}

section.wrapper[id] {
  scroll-margin-top: 78px;
}
.gform_wrapper.gravity-theme .gform_validation_errors {
  background: #fff9f9;
  border: 1.5px solid #c02b0a;
  border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.11), 0 0 4px rgba(18, 25, 97, 0.0405344);
  margin-bottom: 8px;
  margin-top: 8px;
  padding: 16px 16px 16px 48px;
  position: relative;
  width: 100%;
}

.gform_wrapper.gravity-theme .gform_validation_errors > h2 {
    color: #c02b0a;
    font-size: 13.2px;
    font-weight: 500;
    line-height: 17.6px;
    margin: 0 0 12px 0;
  }

.gform_wrapper.gravity-theme .gform_validation_errors > h2::before {
      display: none;
    }

.gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon {
      align-items: center;
      display: flex;
      font-size: 28px;
      height: 100%;
      left: 12px;
      position: absolute;
      top: 0;
    }

.gform_wrapper.gravity-theme .gform_validation_errors > h2.hide_summary {
    margin: 0;
  }

.gform_wrapper.gravity-theme .gform_validation_errors > ol {
    padding-left: 20px;
  }

.gform_wrapper.gravity-theme .gform_validation_errors > ol a {
      color: #c02b0a;
      font-size: 16px;
    }

.gform_wrapper.gravity-theme .gform_validation_errors > ol li {
      color: #c02b0a;
      font-size: 13.2px;
      list-style-type: disc !important;
      margin: 0 0 8px 0;
    }

.gform_wrapper.gravity-theme .gform_validation_errors > ol li:last-of-type {
        margin-bottom: 0;
      }

.gform_wrapper.gravity-theme .gfield_required {
  color: #c02b0a;
  display: inline-block;
  font-size: 13.008px;
  padding-left: 0.125em;
}
.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.alignright { padding: 4px; margin: 0 0 2px 7px; display: inline; }
img.alignleft { padding: 4px; margin: 0 7px 2px 0; display: inline; }
@media only screen and (min-width : 768px) {
    figure.alignleft, img.alignleft, figure.alignright, img.alignright {
        float:none;
    }

    .single figure.alignleft {
        margin-inline-start: calc( ( 100% - var(--wp--style--global--content-size)) / 2 ) !important;
    }

    .single figure.alignright {
        margin-inline-end: calc( ( 100% - var(--wp--style--global--content-size)) / 2 ) !important;
    }
}



#header .top-btn i {
    font-size: 1.5rem;
    color: #777
}

#header .top-btn .badge {
    position: absolute;
    top: 0;
    left: 0px;
    background: #E51A37;
    color: #fff
}

#header .top-btn span {
    display: inline-block
}
#header .top-btn {
    border-radius: 0;
    background: transparent;
    border-color: transparent;
    padding: 0 10px;
    position: relative;
    font-size: 1rem
}

.floating-buttons {
    bottom: 100px;
    position: fixed;
    right: 0;
    transition: all .1s ease-out;
    z-index: 99
}

.mobile .desktop-show, .desktop .mobile-show, .moible .mobile-hide {
    display: none !important
}

.mobile .mobile-show, .desktop .desktop-show {
    display: block !important
}

#homepage-featured .card figure img {
    object-fit: cover;
    height: 250px !important;
}
/*
#header.navbar-expand-lg[class*=navbar-bg-]:not(.fancy):not(.extended):not(.fixed) .navbar-collapse .nav-link {
    padding-top:0 !important;
    padding-bottom: 0 !important;
}
*/


/*

.card-overlay {
    opacity:1;
    width:100%;
    max-width:100%;
    vertical-align:top;
    position:relative;
    text-align:center;
    overflow:hidden;
    transform:translate3d(0,0,0);
    z-index: 1;
    color: unset !important
}

.card-overlay *{transition:all .4s ease; }
.card-overlay a{
    position: relative;
    top: 40%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    display: block;
    height: 100%;
    width: 100%;
}

.card-overlay .card-footer {
    position:absolute;
    display:block;
    top:0;bottom:0;left:0;right:0;
    z-index:3;
    cursor:pointer!important;
    opacity:0;
    width:100%;
    height:100%;
}
.card-overlay:hover .card-footer {
    opacity: 1;
}
*/



/********************
CARD GLASS & OVERLAY
********************/

.card-glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); 
  color: white;
  transition: transform 0.3s ease;
   border:none;
  min-height: 10rem;
}
.card-overlay {
    opacity:1;
    width:100%;
    max-width:100%;
    vertical-align:top;
    position:relative;
    text-align:center;
    overflow:hidden;
    transform:translate3d(0,0,0);
    z-index: 1;
    color: unset !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;       
}
.card-overlay.bg-image {
  min-height: 15rem;
  width: 100%;
}
.card-overlay *{
  transition:all .4s ease;
}

.card-overlay .card-footer {
position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #008CBA;
  background: #5D6575;
  overflow: hidden;
  width: 100%;
  height: 0;
  z-index:3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  opacity: 0;
}
.card-overlay:hover .card-footer {
  height: 100%;
    opacity: 1;
}


/**********
CARD SLIDE
***********/


.card.card-slide {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); 
  color: white;
  transition: transform 0.3s ease;
  border:none;
  padding:0;
  position: relative;
  overflow:hidden;
  min-height:400px;
  height: 100%;

}
.card.card-slide .card-img {
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height: 100%;
  object-fit: cover;
}
.card.card-slide.card-slide-bg {
  background-size: cover;
  background-position: 50%;
}
.card-slide .card-body {
  overflow: hidden;
  transform: translateY(100%);
  transition: all 0.55s ease;
  position: absolute;
  bottom: 160px;
  left: 0;
  right: 0;
  background-color: #1F2631;
  overflow: hidden;
  height: 160px;
  transition: .5s ease;
  text-align:center;
  background: rgba(23, 34, 51, 0.5) !important;

}

.card-slide .card-body p {
  margin: 1.5em 0 0;
  color: #d5d5d5;
  line-height: 1.4em;
}

.card-slide:hover .card-body {
  max-height: 100%;
  transform: none;
  bottom:0;
  width: 100%;
  height: 100%;
  background: rgba(23, 34, 51, 1) !important;
}



/**********
CARD POP
***********/

.card-pop {
  position: relative;
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.15);
  background: #fff;
  min-width: 270px;
  height: 470px;
  overflow: hidden;
}

.card-pop:hover{
  -webkit-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 1px 35px 0px rgba(0, 0, 0, 0.3);
  
}

.card-pop .card-text {
  color: #777;
  font-size: 14px;
  line-height: 1.8em;
  overflow-y: hidden;
  max-height: 0;
  margin:0;
  transition: ease-in-out 500ms;

}
.card-pop:hover .card-text {
  max-height: 600px;
}
.card-pop .card-img{
  height: 100%;
  overflow: hidden;
  object-fit: cover;
}

.card-pop .card-body {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 30px;
  z-index: 3;
}

.card-pop .bg-span {
    position: absolute;
    top:0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: rgb(23, 34, 51) !important;
    transition: ease-in-out 500ms;
    opacity:0.5;

}
.card-pop:hover .bg-span {
    background: rgb(23, 34, 51) !important;
    opacity:1;
}
.footer-logos {
    background: #f0f0f1;
}

.bg-navy blockquote.icon:before {
    color: rgba(255,255,255,.1);
}

a[href^=tel].btn {
    color: unset;
}