/**
Theme Name: CYBERsprout
Author: CYBERsprout
Author URI: https://cybersprout.net
Description: CYBERsprout\'s child theme for Astra
Version: 2.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cybersprout
Template: astra
*/


/*Make Astra full width by default*/
.ast-container, .ast-woo-shop-archive .site-content > .ast-container {
	max-width:100%;
}
.ast-container, #primary, .ast-plain-container #primary {
	padding:0;
	margin:0;
}
button.ast-search-submit {
	display: none;
}
input#search-field {
	height: 46px;
	margin: 0 20px 20px 0;
}
.paragraph-margin-correction p {
	margin-bottom: unset;
}


/* Column Classes
    Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css
--------------------------------------------- */

.one-half,
.one-third,
.one-fourth,
.one-fifth,
.one-sixth,
.two-thirds,
.two-fourths,
.two-fifths,
.two-sixths,
.three-fourths,
.three-fifths,
.three-sixths,
.four-fifths,
.four-sixths,
.five-sixths {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.two-fourths,
.three-sixths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.two-thirds,
.four-sixths {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-fifth {
  width: 17.9487184%;
}

.two-fifths {
  width: 38.4615393641026%;
}

.three-fifths {
  width: 58.9743603282051%;
}

.four-fifths {
  width: 79.4871812923077%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

@media only screen and (max-width: 768px) {
  .one-half, .one-third, .one-fourth, .one-fifth, .one-sixth, .two-thirds, .two-fourths, .two-fifths, .two-sixths, .three-fourths, .three-fifths, .three-sixths, .four-fifths, .four-sixths, .five-sixths {
    width:100%;
	margin-left: 0;
  }
}



/* BUTTONS
 * Used to customize or tweak and set alternative styled buttons
 * NOTE: use the Customizer to style the bulk of the site's buttons.
--------------------------------------------- */

/* (.inverted-colors) : white BG w/black TXT,BRDR -hover- black BG w/white TXT */
/* STATIC state */
.inverted-colors a.uabb-button *,
.inverted-colors a.uabb-btn *,
.inverted-colors .fl-slide-cta-button a * {
    color: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a, 
.inverted-colors .uabb-creative-button-wrap a:visited,
.inverted-colors a.uabb-btn, 
.inverted-colors a.uabb-btn:visited,
.inverted-colors .fl-slide-cta-button a, 
.inverted-colors .fl-slide-cta-button a:visited{
    background: none;
    background: #ffffff;	/* remove if you want it transparent */
    border: 1px solid #000000 !important;
}
/* HOVER state */
.inverted-colors a.uabb-button:hover *,
.inverted-colors a.uabb-btn:hover *,
.inverted-colors .fl-slide-cta-button a:hover *{
    color: #ffffff !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-creative-transparent-btn.uabb-transparent-fade-btn:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    background: #000000 !important;
}
.inverted-colors .uabb-creative-button-wrap a:hover,
.inverted-colors a.uabb-btn:hover,
.inverted-colors .fl-slide-cta-button a:hover{
    border: 1px solid #000000 !important;
}



.example_e {
    border: none;
    background: none;
    color: #ffffff !important;
    font-weight: 100;
    padding: 0px;
    text-transform: none;
    border-radius: 6px;
    transition: all 0.3s ease 0s;
}
.example_e:hover {
    color: #404040 !important;
    font-weight: 700 !important;
    letter-spacing: 3px;
    background: none;
    -webkit-box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 5px 40px -10px rgba(0,0,0,0.57);
    transition: all 0.2s ease 0s;
}

.gfield_required {color: #000000!important;}
.intheknow .gfield_required {color: #ebe9dc!important;}

/* custom animated/delayed nav menu sub-items
--------------------------------------------- */
.menu > ul > .menu-item:after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  bottom: 5px;
  left: calc(50% - 2px);
  /*background: #FECEAB;*/
  will-change: transform;
  transform: scale(0);
  transition: transform 0.2s ease;
}
.menu > ul > .menu-item:hover:after {
  transform: scale(1);
}
.menu-item {
  position: relative;
  line-height: 2.5rem;
  text-align: left;
}
.menu-item a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  color: #2F5C96;
}
.sub-menu .menu-item {
  /*padding: 0.75rem 0;
  /*background: #F67280;*/
  opacity: 0;
  transform-origin: bottom;
  animation: enter 0.3s ease forwards;
}
.sub-menu .menu-item:nth-child(1) {
  animation-duration: 0.3s;
  animation-delay: 0.1s;
}
.sub-menu .menu-item:nth-child(2) {
  animation-duration: 0.4s;
  animation-delay: 0.2s;
}
.sub-menu .menu-item:nth-child(3) {
  animation-duration: 0.5s;
  animation-delay: 0.3s;
}
.sub-menu .menu-item:nth-child(4) {
  animation-duration: 0.6s;
  animation-delay: 0.4s;
}
.sub-menu .menu-item:nth-child(5) {
  animation-duration: 0.7s;
  animation-delay: 0.5s;
}
.sub-menu .menu-item:nth-child(6) {
  animation-duration: 0.8s;
  animation-delay: 0.6s;
}
.sub-menu .menu-item:nth-child(7) {
  animation-duration: 0.9s;
  animation-delay: 0.7s;
}
.sub-menu .menu-item:hover {
  /*background: #2E5D96;*/
}
.sub-menu .menu-item a {
  padding: 0 0.75rem;
}
@media screen and (max-width: 768px) {
  .sub-menu .menu-item {
    /*background: #2F5C96;*/
  }
}
@media screen and (max-width: 768px) {
  .menu {
    position: relative;
  }
  .menu:after {
    /*
    content: "";
    position: absolute;
    top: calc(50% - 2px);
    right: 1rem;
    width: 30px;
    height: 4px;
    */
  }
  .menu > ul {
    display: none;
    /*background: #2F5C96;*/
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    animation: fade 0.2s ease-out;
  }
  .menu > ul > .menu-item {
    flex: 0;
    opacity: 0;
    animation: enter 0.3s ease-out forwards;
  }
  .menu > ul > .menu-item:nth-child(1) {
    animation-delay: 0s;
  }
  .menu > ul > .menu-item:nth-child(2) {
    animation-delay: 0.1s;
  }
  .menu > ul > .menu-item:nth-child(3) {
    animation-delay: 0.2s;
  }
  .menu > ul > .menu-item:nth-child(4) {
    animation-delay: 0.3s;
  }
  .menu > ul > .menu-item:nth-child(5) {
    animation-delay: 0.4s;
  }
  .menu > ul > .menu-item:nth-child(6) {
    animation-delay: 0.5s;
  }
  .menu > ul > .menu-item:nth-child(7) {
    animation-delay: 0.6s;
  }
  .menu > ul > .menu-item:nth-child(8) {
    animation-delay: 0.7s;
  }
  .menu > ul > .menu-item + .menu-item {
    margin-top: 0.75rem;
  }
  .menu > ul > .menu-item:after {
    left: auto;
    right: 1rem;
    bottom: calc(50% - 2px);
  }
  .menu > ul > .menu-item:hover {
    z-index: 1;
  }
  .menu:hover > ul {
    display: flex;
  }
  .menu:hover:after {
    box-shadow: none;
  }
}

.sub-menu {
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  display: none;
  z-index: 1;
}
.menu-item:hover > .sub-menu {
  display: block;
}
@media screen and (max-width: 768px) {
  .sub-menu {
    width: 100vw;
    left: -2rem;
	position: unset !important;
    /*
    top: 50%;
    transform: translateY(-50%);
	*/
  }
}

* {
  box-sizing: border-box;
}
*:before, *:after {
  box-sizing: inherit;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: scaleY(0.98) translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

ul.sub-menu {
    border-radius: 9px;
}

ul.sub-menu li:first-child a {
    border-radius: 9px 9px 0 0;
}

ul.sub-menu li:last-child a {
    border-radius: 0 0 9px 9px;
}



/* UABB Adv Menu > off canvas > mobile */
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-menu-toggle:before {
    padding: 10px;
}
.uabb-creative-menu.off-canvas .uabb-off-canvas-menu .uabb-has-submenu-container a span.menu-item-text > span.uabb-menu-toggle {
    padding: 0 10px;
}