/*
 Theme Name:   Tactical Rabbit
 Theme URI:    https://tacticalrabbit.com
 Description:  Tactical Rabbit theme
 Author:       Tactical Rabbit
 Author URI:   https://tacticalrabbit.com
 Template:     generatepress
 Version:      0.1
*/

/* GeneratePress Site CSS */ /* navigation letter spacing */
/* 
.main-navigation a, .slideout-navigation.main-navigation .main-nav ul li a {
    letter-spacing: 1px;
  } */
  
  /* navigation line effects */
  
  @media (min-width: 1024px) {
      .main-navigation .main-nav > ul > li > a:before {
      position: absolute;
      content: '';
      width: 1px;
      height: 0;
      background-color: var(--accent-2);
      left: 50%;
      top: -50px;
      -webkit-transform: translateX(-50%);
      -moz-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      transform: translateX(-50%);
      -webkit-transition: all .3s ease-out 0s;
      -moz-transition: all .3s ease-out 0s;
      -ms-transition: all .3s ease-out 0s;
      -o-transition: all .3s ease-out 0s;
      transition: all .3s ease-out 0s;
      }
  
      .main-navigation .main-nav > ul > li:hover > a:before {
      height: 50px;
      }
  
  .main-navigation .main-nav > ul > li.current-menu-item > a:before {
      height: 50px;
      width: 1px;
      }
  }
  
  /* line above H1 on global header elements */
  
  .headline-rule h1 {
      position: relative;
  }
  .headline-rule h1:before {
      content: '';
      position: absolute;
      display: block;
      height: 60px;
      border-left: 1px solid var(--contrast);
      left: 50%;
      transform: translateX(-50%);
      top: -66px;
  }
  
  /* mobile header spacing */
  
  .mobile-header-navigation {
      padding: 10px;
      box-sizing: border-box;
  }
  
  /* image block styling */
  
  figure.wp-block-image.image-style img {
    border-radius: 80px 4px;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
  }
  
  /* mailchimp form styling */
  
  /* .mc4wp-form input[type="email"] {
      line-height: 34px;
      margin-bottom: 10px;
      width: 300px;
    border: none;
    border-radius: 2px;
    font-size: 15px;
      background:var(--base-2)
  }
  
  @media (max-width: 767px) {
      .mc4wp-form input[type="email"] {
          width: 100%;
          margin-bottom: 10px;
      }
  }
      
  .mc4wp-form input[type=submit] {
      line-height: 34px;
      font-size: 16px;
      letter-spacing: 1px;
      width: 150px;
    border: none;
    border-radius: 2px;
      -webkit-transition: all 500ms ease-in-out;
      transition: all 500ms ease-in-out;
  }
  
  @media (max-width: 767px) {
      .mc4wp-form input[type="submit"] {
          width: 100%;
      }
  } */
   /* End GeneratePress Site CSS */



#masthead {  
    border-top: 3px solid RGBA(90, 77, 91, 0.3);
}

.site-branding-container .site-logo {
    margin-right: 0.5em;
    margin-bottom: 10px;
  }

.wp-block-navigation__responsive-container-content li {margin-right: 40px;}

/* Breadcrumbs */
.yoast-breadcrumbs { 
    text-align:left; 
}
.gb-container-8b1a0c02 {
    background-color: #f1f1f1;
}

/* General */

a {
    text-decoration: underline;
}
#masthead a,
.yoast-breadcrumbs a {  
    text-decoration: none;
}

.wp-block-image .alignleft {
    margin: 0 40px 20px 0;
}

ul > li {margin-bottom: 10px;}


/* Separators */

.center-short-sep,
.left-short-sep,
.right-short-sep  {
    width: 30px;
    height: 3px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.left-short-sep {
    text-align: left;
}
.center-short-sep {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.right-short-sep {
    text-align: right;
    margin-left:auto;
}

/* Nav */

.main-navigation.sub-menu-left .sub-menu {
    left: 0 !important;
}
.main-nav {
    padding-top: 15px;
    padding-bottom: 10px;
}

/* Top Bar */
.top-bar a {text-decoration: none;}
.top-bar a:hover {
    color: inherit;
}

/* Buttons */
.tactical-rabbit-web .wp-block-button__link {
    background-color: transparent;
    border-radius: 5px;
    border: 2.5px solid #fff;
    box-shadow: none;
    padding: 7px 30px 4px;
}
.tactical-rabbit-web .wp-block-button__link:hover {
    text-decoration: none;
}

/* Homepage Hero */
.shield-line { 
    background: url('https://trabbitdev.wpengine.com/wp-content/uploads/2023/03/lock-shield.png') no-repeat top center;
    background-size: contain;
    display: block;
    height: 54px;
    border: 0;
    position: relative;
}
.shield-line:before,
.shield-line:after {
    content: '';
    display: block;
    position: absolute;
    background: #fff;
    height: 3px;
    top: 27px;
}
.shield-line:before {
    left: 0;
    right: 50%;
    margin-right: 40px;
}
.shield-line:after {
    right: 0;
    left: 50%;
    margin-left: 40px;
}

/* Footer */
.site-footer h2 a {
    color: #fff;
    text-decoration: none;
}

/* Hover boxes */
.tactical-rabbit-web .iheg-wrapper img {
filter: grayscale(100%);
}
.tactical-rabbit-web .iheg-wrapper h3 {
    text-align: center;
}

.z-index-1,
.z-index-1 .wp-block-button {
    z-index: 1;
}
hr.z-index-1 {position: relative;}

.tactical-rabbit-web .menu-toggle,
.tactical-rabbit-web .menu-toggle:hover {
    color: #fff;
    font-size: 18px;
}

/* Content/image side by side boxes */
.tactical-rabbit-web .half-width {
	width: 100%;
	min-width: 100%;
}

@media (min-width: 1610px) {
    /* homepage logo bar */
    .gb-container-2b19009e {
        margin-top: -204px;
    }
}

@media (min-width: 1200px) {
    /* Content/image side by side boxes */
    .tactical-rabbit-web .half-width {
        width: 50%;
        min-width: 50%;
    }
    .half-width .gb-container {
        padding-left: 0;
    }

    .gb-container-3c546d7a {
        width: 580px;
        float: right;
    }

    .gb-container-4114682e{
        width: 580px;
        float: left;
    }

    .tactical-rabbit-web .half-width-right h4,
    .tactical-rabbit-web .half-width-right h2 {
        text-align: right;
    }
    .tactical-rabbit-web .half-width-right hr {
        text-align: right;
        margin-left: auto;
    }
    .tactical-rabbit-web .half-width-right .wp-block-buttons {
        justify-content: flex-end;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .tactical-rabbit-web .half-width-right > .gb-container {
        padding-left: 20px;
    }
}

@media (min-width:1024px) {
    /* Header */
    header .site-branding, 
    header .header-widget {
        min-width: 300px;
    }
    .display-only-repsonsive {
        display: none;
    }
}

@media (max-width: 1023px) {
    .main-navigation, .main-navigation ul ul {
        background-color: #323A45;
    }
    .display-only-desktop {
        display: none;
    }
    .navigation-branding .main-title a, 
    .navigation-branding .main-title a:hover, 
    .navigation-branding .main-title a:visited {
        color: #fff !important;
    }

    /* mobile nav */
    .tactical-rabbit-web .slideout-navigation.main-navigation .main-nav ul li a {
        font-size: 14px;
    }
    #mobile-menu {
        padding-top: 0;
        padding-bottom: 0;
    }
}

@media (min-width: 769px) {
    /* hover action on tablet and desktop */
    .main-navigation .menu > .menu-item > a::after,
    .top-bar a::after {
        content: "";
        position: absolute;
        right: 0;
        -webkit-transform: translate3d(-50%,0,0);
        transform: translate3d(-50%,0,0);
        display: block;
        width: 0;
        height: 2px;
        background-color: currentColor;
        transition: 0.3s width ease;
    }
    .main-navigation .menu > .menu-item > a::after {
        left: 38px;
        bottom: -1px;
    }
    .top-bar a::after {
        left: 18px;
        bottom: -3px;
    }
    .main-navigation .menu > .menu-item.current-menu-item > a::after,
    .main-navigation .menu > .menu-item.current-menu-ancestor > a::after,
    .main-navigation .menu > .menu-item > a:hover::after,
    .top-bar a:hover::after {
        width: 35px;
    }

    .tactical-rabbit-web .sub-menu {margin-left: 20px;}
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    /* Footer */
    .footer-middle figure {
        text-align: left;
    }
    .footer-right .gb-button-wrapper {
        justify-content: flex-start;
    }

    .bio-pic figure,
    .bio-pic img {
        width: 100%;
    }

    
}