/*
 Theme Name:   Trivaco Process Automation
 Theme URI:    https://process.trivaco.com
 Description:  Child theme of GeneratePress created by Holland Adhaus.
 Author:       Holland Adhaus
 Author URI:   https://hollandadhaus.com
 Template:     generatepress
 Version:      0.2
*/

/**
 * HA
 */

/* Hide featured images used for preload */
.page .featured-image.page-header-image {
    display: none !important;
    visibility: hidden !important;
}
/* Navigation transitions */
.main-navigation a, 
.main-navigation .menu-toggle, 
.main-navigation .menu-bar-items, 
.main-navigation a:hover, 
.main-navigation .menu-toggle:hover, 
.main-navigation .menu-bar-items:hover, 
.main-navigation a:active, 
.main-navigation .menu-toggle:active, 
.main-navigation .menu-bar-items:active, 
.main-navigation a:focus, 
.main-navigation .menu-toggle:focus, 
.main-navigation .menu-bar-items:focus {
    transition: color .2s ease !important;
}
/* Elementor icon list and nav menu transitions */
.elementor-nav-menu a, 
.elementor-nav-menu a:hover, 
.elementor-nav-menu a:active, 
.elementor-nav-menu a:focus, 
.elementor-icon-list-item a span, 
.elementor-icon-list-item a:hover span, 
.elementor-icon-list-item a:focus span, 
.elementor-icon-list-item a:active span, 
.elementor-social-icon *,
.elementor-social-icon:hover *,
.elementor-social-icon:focus *,
.elementor-social-icon:active * {
    transition: all .2s ease !important;
} 
/* Elementor lazy load carousel/swiper compat */
.swiper-slide-image.swiper-lazy.lazy-hidden, 
.entry img.swiper-slide-image.swiper-lazy.lazy-hidden, 
img.thumbnail.swiper-slide-image.swiper-lazy.lazy-hidden {
    opacity: 1 !important;
}
/* Vertical table for hours */
.hours-table table {
    margin-bottom: 0;
}
.hours-table table thead, 
.hours-table table tbody {
    display: inline-block;
}
.hours-table table, 
.hours-table td, 
.hours-table th {
    border: none;
    text-align: left !important;
}
.hours-table td, 
.hours-table th {
    padding: 0.25rem 1rem 0 0;
}
.hours-table {
    white-space: nowrap;
}
@media (max-width: 1366px) {
    .hours-table .elementor-widget-container {
        margin-left: 0 !important;
    }
}

/**
* Custom
*/

/** 
* Nav icons 
*/
/* .inside-header a .gp-icon svg {
    width: 1.1rem;
    height: 1.1rem;
    top: 0.25rem;
    overflow: visible;
}
.inside-header nav li a .gp-icon {
    margin-right: 0.25rem;
} */

/**
* Gravity Forms
*/

/* Form reCAPTCHA consent message */
.form-consent-message {
    font-size: 0.8rem;
    color: #9e9e9e;
}
.form-consent-message a {
    color: inherit;
}
/* Hide required initial instructions */
.gform_required_legend {
    display: none !important;
}
/* Rounded input corners */
.gform_wrapper.gravity-theme input[type="color"], 
.gform_wrapper.gravity-theme input[type="date"], 
.gform_wrapper.gravity-theme input[type="datetime-local"], 
.gform_wrapper.gravity-theme input[type="datetime"], 
.gform_wrapper.gravity-theme input[type="email"], 
.gform_wrapper.gravity-theme input[type="month"], 
.gform_wrapper.gravity-theme input[type="number"], 
.gform_wrapper.gravity-theme input[type="password"], 
.gform_wrapper.gravity-theme input[type="search"], 
.gform_wrapper.gravity-theme input[type="tel"], 
.gform_wrapper.gravity-theme input[type="text"], 
.gform_wrapper.gravity-theme input[type="time"], 
.gform_wrapper.gravity-theme input[type="url"], 
.gform_wrapper.gravity-theme input[type="week"], 
.gform_wrapper.gravity-theme select, 
.gform_wrapper.gravity-theme textarea, 
.gform_wrapper.gravity-theme .ginput_complex input, 
.gform_wrapper.gravity-theme .ginput_complex select, 
.gform_wrapper.gravity-theme .gform_footer button, 
.gform_wrapper.gravity-theme .gform_footer input, 
.gform_wrapper.gravity-theme .gform_page_footer button, 
.gform_wrapper.gravity-theme .gform_page_footer input {
    border-radius: 0.25rem;
}
/* Hide instructions on fields with class .hide-instruction */
.gform_wrapper .gfield.hide-instruction .instruction {
    display: none;
    visibility: none;
}
/* Submit buttons */
.gform_button, .gform_wrapper input[type="submit"] {
    font-weight: 800;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.2rem;
}
/* Fix state subfield in address field */
.ginput_address_state {
    margin-bottom: 8px;
}

.gform_fields {
    --gf-form-gap-y: 1.5rem;
}
.gform_wrapper .gform-button--width-full {
    width: 100% !important;
}
.gform_wrapper .gform_button, 
.gform_wrapper input[type="submit"] {
    text-transform: uppercase !important;
    font-weight: bold !important;
    color: #fff;
}
.gform_wrapper .gform_button:hover, 
.gform_wrapper .gform_button:active, 
.gform_wrapper .gform_button:focus, 
.gform_wrapper input[type="submit"]:hover, 
.gform_wrapper input[type="submit"]:active, 
.gform_wrapper input[type="submit"]:focus {
    color: #fff !important;
}
.gff-round input {
    border-radius: 10000px !important;
  }

  /* Menu Adjustments */
  
  ul#menu-main-menu li.menu-highlight {
    background-color: var(--accent);
    margin-left: 25px;
  }

  ul#menu-main-menu li.menu-highlight a {
    font-size: 18px;
    line-height: 18px;
    color: var(--tri-blue);
    letter-spacing: 0;
    padding: 10px 20px;
  }

  .main-navigation .main-nav ul li a svg {
    color: var(--accent);
  }

  .inside-header {
    padding: 45px 40px;
  }

  /* Recent Projects */

  .elementor .elementor-widget-container img.alignright {
    max-width: 50%;
    width: 50%;
    padding: 15px 0 15px 15px;
    margin: 0;
  }

@media (max-width: 768px) {
    .main-navigation.toggled {
        background: var(--tri-blue-dark) !important;
    }
    .menu-toggle {
        padding: 17px 20px;
    }
    ul#menu-main-menu li.menu-highlight {
        margin-left: 0;
    }
    ul#menu-main-menu li.menu-highlight a {
        line-height: 60px;
        font-size: 20px;
        padding: 0 20px;
    }
}
@media (max-width:365px) {
    .inside-header .site-logo, 
    .inside-header .mobile-menu-control-wrapper {
        flex-grow: 1;
    }
    .inside-header {
        text-align: center !important;
    }
}