/*
 Theme Name:   Whistle Stop Child
 Theme URI:    https://generatepress.com
 Description:  Whistle Stop Starter Theme (A GeneratePress child theme)
 Author:       Mark Werle
 Author URI:   https://whistlestop.digital
 Template:     generatepress
 Version:      0.1
 */

/* Set the main content area to a minimum of 65vh */
#main {
    min-height: 65vh;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--outside-container);
}

/* Site Wrapper to set overall site max width */
.site-wrapper {
    width: 100%;
    max-width: 1920px;
    background-color: var(--body);
} 

body {
    background-color: var(--outside-container);
}


/* HELPER CLASSES */

/* Standard Shadow(s) */

.shadow-standard {
    box-shadow: 0px 5px 16px -5px rgba(33, 33, 33, 0.2);
    transition: all .2s ease-in;
}

.shadow-standard:hover {
    box-shadow: 0px 8px 32px 0px rgba(33, 33, 33, 0.1);
}

/* Max Width(s) */

.max-width-1024 {
    max-width: 1024px;
}


.max-width-768 {
    max-width: 768px;
}

.max-width-640 {
    max-width: 640px;
}

.max-width-480 {
    max-width: 480px;
}

/* Margin Auto */

.margin-auto{
    margin-left: auto;
    margin-right: auto;
}

/* Position Properties */

.relative{
    position: relative;
}

.absolute{
    position:absolute;
    top: 0px;
    left: 0px;
}

.sticky{
    position: sticky;
    top: 24px;
}

/* Image Aspect Ratios */

.aspect-1-1 img{
    aspect-ratio: 1/1;
    object-fit: cover;
}

.aspect-3-2 img{
    aspect-ratio: 3/2;
    object-fit: cover;
}

.aspect-2-3 img{
    aspect-ratio: 2/3;
    object-fit: cover;
}

.aspect-4-3 img{
    aspect-ratio: 4/3;
    object-fit: cover;
}

.aspect-3-4 img{
    aspect-ratio: 3/4;
    object-fit: cover;
}

.aspect-16-9 img{
    aspect-ratio: 16/9;
    object-fit: cover;
}

.aspect-9-16 img{
    aspect-ratio: 9/16;
    object-fit: cover;
}


/* To target individual forms replace .fluentform with your form id .fluent_form_# */

/* label style */
.fluentform .frm-fluent-form .ff-el-input--label {
  font-size: 15px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* fluent forms field style */
.fluentform .frm-fluent-form .ff-el-form-control {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 0px;
  font-size: 17px;
  line-height: 1.7em;
  padding: 14px 24px;
}

/* fluent forms focus field style */
.fluentform .frm-fluent-form .ff-el-form-control:focus {
  border: 2px solid #999;
  outline: none;
}

/* control space below fields */
.fluentform .frm-fluent-form .ff-el-group {
  margin-bottom: 15px;
}

/* fluent forms placeholder text style */
.fluentform .frm-fluent-form .ff-el-form-control::placeholder {
  color: #999;
  font-size: 17px;
}

/* placeholder focus text style */
.fluentform .frm-fluent-form .ff-el-form-control:focus::placeholder {
  color: #000;
}

/* fluent forms button style */
.fluentform .frm-fluent-form .ff-btn-submit {
  background-color: #000;
  color: #fff;
  opacity: 100%;
  border: 2px solid #000;
  border-radius: 0px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 14px 24px;
  transition: all 0.5s ease 0s;
}

/* fluent forms button hover style */
.fluentform .frm-fluent-form .ff-btn-submit:hover {
  background-color: #fff;
  color: #000;
}

/* mobile full width button */
@media (max-width: 768px) {
  .fluentform .frm-fluent-form .ff-btn-submit {
    width: 100%;
  }
}

/* form error text style */
.fluentform .ff-el-is-error .text-danger {
  font-size: 14px !important;
  color: #999;
}

/* success message style */
.fluentform .ff-message-success {
  position: relative;
  border: none;
  box-shadow: none;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0px;
  margin-top: 20px;
}

/* Buttons as TABS */
.site .triggers .gb-button {
    color: var(--contrast-2);
    background-color: var(--base-2);
}

.site .triggers .gb-button:hover,
.site .triggers .gb-button:focus,
.site .triggers .gb-button:target,
.site .triggers .gb-button[aria-selected="true"] {
  color: var(--base);
  background-color: var(--accent);
  cursor: pointer;
}

/* END Buttons a TABS */

/* Containers as TABS */
.site .triggers .gb-grid-column .gb-container{
    color: var(--contrast-2);
    background-color: var(--base-2);
}
.site .triggers .gb-grid-column .gb-container:hover,
.site .triggers .gb-grid-column .gb-container:focus,
.site .triggers .gb-grid-column .gb-container:target,
.site .triggers .gb-grid-column[aria-selected="true"] .gb-container {
  color: var(--base);
  background-color: var(--accent);
  cursor: pointer;
}

/* END Containers a TABS */


.site .containers [role="tabpanel"] {
  display: none;
}

.site .containers [role="tabpanel"][open="true"] {
  display: block;
}

