/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
/* Kingswood Auto (Bricks Child Theme) BEGIN */


@keyframes fadeInUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(20px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}



body.single-listing .brxe-nav-nested .nav_link_inventory,
body.page-inventory .brxe-nav-nested .nav_link_inventory {
    border-bottom: 4px solid #ffc107;
}




/* form error messages */
body.wp-singular :where(.brxe-form) .form-group .form-group-error-message {
    background-color: #fffbe9;
    color: #998f7c;
    padding: 15px;
    width: 100%;
    border-radius: 3px;
    padding-right: 6px;
    font-size: 0.8em;
	animation: blurFadeIn 0.32s forwards;
}

/* form progress bar for multistep */
.progress-bar {
  width: 100%;
  height: 10px;
  background: #28292d;
  position: relative;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius:3px;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 21%), inset -1px -1px 0 rgba(255,255,255,0.15);
  animation: blurFadeIn 2.5s forwards;
  }
.progress-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: #ffd60a;
  transition: width 0.3s ease-in-out;
  min-width: 5%;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,0.2);
  }
  
/* form buttons */
.button-progress {
  background-color: #ffd60a;
  color: #000;
  border-bottom: 2px solid #ffe564!important;
  border-right: 2px solid #d9bd33!important;
}
button.button-progress.prev {
    background-color: #272727;
    color: #e1e1e1;
    text-shadow: 1px 1px 0 #0000009c;
    border-bottom: 2px solid #3f3f3f !important;
    border-right: 2px solid #0c0c0c !important;
}
button[type="submit"] {
  background-color:#ffd60a;
  color:#000;
  border-bottom: 2px solid #ffe564!important;
  border-right: 2px solid #d9bd33!important;
}
.button-progress, button[type="submit"] {
  padding: 10px 15px;
  border: none;
  cursor: pointer;
  line-height: 1;
  border-radius: 4px;
  text-shadow: 1px 1px 0 rgb(255 255 255 / 37%);
  font-family: "DM Sans", Sans-serif;
  font-weight: 700;
  font-size: 1.2em;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}
	.button-progress:hover {
	  opacity: 1;
	  background-color:#fff7d2;
	}
	button.button-progress.prev:hover {
	  background-color:#4b4b4b;
	}

/* form button nav container */
.nav-container {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap:10px;
}
.form-group:has(span[data-split]) { display:none; }
.form-output {
  background-color: #f1f1f1;
  margin-top: 20px;
  padding: 20px;
  border-radius: 3px;
  box-shadow: 2px 2px 0 rgb(0 0 0 / 7%);
  display:none;
}

.message.success {
  background-color: #ffd60a;
  color: #000000;
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: 300px;
  padding: 20px;
  margin-left: -150px;
  margin-top: -100px;
  border-radius:6px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.2);
  animation: 0.9s fadeInUp;
}