/**
Theme Name: AutoGyro
Author: Joslex
Author URI: https://joslex.com
Description: A custom child theme for AutoGyro.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

.pm-0 p {
	margin-bottom: 0;
}
.pm-sm p {
	margin-bottom: 10px;
}
.ul-0 ul {
    margin-left: 20px;
    margin-top: 10px;
}
.content-50 {
    max-width: 600px;
}
.mt-auto {
    margin-top: auto;
}
.fl-r {
    float: right;
}
.full-h {
    height: 100%;
}
.full-h-in .fl-col-group {
    height: 100%;
}
.z-1 {
    z-index: 1;
    position: relative;
}

.no-underline a,
.no-underline a span,
.no-underline-no-color a,
.no-underline-no-color a span
{
    text-decoration: none !important;
    transition: all 0.2s;
}
.no-underline a:hover,
.no-underline a:hover span
{
    color: var(--ast-global-color-1) !important;
}


div#ast-desktop-header a {
    outline: none !important;
}

button.menu-toggle.main-header-menu-toggle {
    border: none !important;
    outline: none !important;
}

.ast-mobile-popup-drawer.active .menu-toggle-close {
    outline: none !important;
    border: none !important;
}

.menu-last-item-pr-0 .menu-item:last-child a {
    padding-right: 0;
}

.hero-top-line > .fl-col-content {
    position: relative;
    /* overflow: hidden; */
    margin-right: -20px;
    padding-right: 20px;
}


.hero-top-line > .fl-col-content:before {
    content: '';
    height: 3px;
    width: calc(100% + 1000px);
    margin-right: -1000px;
    background: #016fe8;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

header a {
    outline: none !important;
}

span.mega-menu-item-title {
    display: flex;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size:14px;
}

a.mega-menu-item.has-featured-image span.mega-menu-item-title {
    margin-bottom: 30px;
}

a.mega-menu-item.has-featured-image {
    display: flex;
    flex-direction: column; 
    height: 100%;
    /* display: block; */
    /* padding: 40px 20px !important; */
}

span.mega-menu-item-title:before {
    content: '';
    width: 14px;
    height: 14px;
    display: inline-block;
    background: var(--ast-global-color-1);
    vertical-align: top;
    margin-right: 10px;
    margin-top: 3px;
}

ul#menu-main > .menu-item.fl-has-submenu > ul.sub-menu {
    margin-top: 39px;
    padding: 40px 30px;
    /* display: block; */
}

ul#menu-main > .mega-menu.menu-item.fl-has-submenu > ul.sub-menu {
    width: 1380px !important;
    left: -70px !important;
}

ul#menu-main > .menu-item.fl-has-submenu > ul.sub-menu:before {
    content: '';
    position: absolute;
    top: 0;
    left: -1000px;
    background: var(--ast-global-color-1);
    height: 3px;
    transition: all 0.1s !important;
    transition-delay: 0.01s !important;
    opacity: 0;
    width: calc(100% + 2000px);
}

ul#menu-main > li.menu-item.fl-has-submenu > .fl-has-submenu-container {
    box-shadow: 0 40px 0 transparent;
    transition: all 0.1s;
}
ul#menu-main > li.menu-item.fl-has-submenu:hover > .fl-has-submenu-container {
    box-shadow: 0 40px 0 var(--ast-global-color-1);
}

ul#menu-main > .menu-item.fl-has-submenu:hover > ul.sub-menu:before {
    opacity: 1;
}

ul#menu-main > .menu-item.fl-has-submenu > ul.sub-menu:after {
    content: '';
    position: absolute;
    top: -40px;
    width: 100%;
    height: 40px;
}

span.mega-menu-item-image {
    height: 250px;
    display: block;
    overflow: hidden;
}

span.mega-menu-item-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

ul#menu-main.fl-menu-horizontal li.mega-menu > ul.sub-menu > li:last-of-type {
    width: 125%;
    padding-left: 10px;
    padding-top: 50px;
}

div#page {
    overflow: hidden;
}

/* ul#menu-main.fl-menu-horizontal li.mega-menu > ul.sub-menu > li > a.mega-menu-item
display: flex; */
/* flex-direction: column; */

@media (max-width: 1360px) {
    ul#menu-main > .mega-menu.menu-item.fl-has-submenu > ul.sub-menu {
        width: calc(100% + 40px) !important;
        left: 0 !important;
        margin-left: -20px;
        margin-right: -20px;
    }
    span.mega-menu-item-image {
        margin-top: auto !important;
    }
}


@media (max-width: 1120px) {
    span.mega-menu-item-image {
        height: 200px;
    }
}


body.flyout-active .fl-menu.fl-menu-responsive-toggle-medium-mobile.fl-flyout-left .fl-menu-mobile-flyout {
    width: 400px;
    padding-bottom: 100px;
}

@media (max-width: 992px) {
    .menu-last-item-pr-0 .menu-item:last-child a {
        padding-right: 14px;
    }
    .fl-flyout-left .fl-menu-mobile-close {
        color: #fff;
        padding: 25px 15px 15px;
    }

    ul#menu-main > .menu-item.fl-has-submenu:hover > ul.sub-menu:before {
        display: none;
    }
    ul#menu-main > .menu-item.fl-has-submenu > ul.sub-menu {
        margin-top: 0px;
        /* padding: 0px 30px; */
        padding: 0 5px 15px;
    }
    ul#menu-main > li.menu-item.fl-has-submenu:hover > .fl-has-submenu-container {
        box-shadow: 0 0px 0 transparent;
    }
    a.mega-menu-item .mega-menu-item-title {
        align-self: flex-end;
        justify-content: end;
    }
    
    a.mega-menu-item {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        font-size: 14px !important;
        padding-right: 8px !important;
        padding-left: 8px !important;
    }
    
    span.mega-menu-item-image {
        margin-bottom: 30px;
        height: 300px;
    }
}

@media (max-width: 500px) {

    body.flyout-active .fl-menu.fl-menu-responsive-toggle-medium-mobile.fl-flyout-left .fl-menu-mobile-flyout {
        width: 100%;
    }

}



@media (min-width: 900px ) {
    .ml--100 {
        margin-left: -100px;
    }
}


@media (min-width: 1500px) {
    .home-hero >  .fl-row-content-wrap {
        min-height: 1100px !important;
    }
}
@media (min-width: 1900px) {
    .home-hero >  .fl-row-content-wrap {
        min-height: 1400px !important;
    }
}



.heading-long-underline .fl-heading,
.heading-long-underline-2 .fl-heading,
.heading-long-underline-3 .fl-heading 
{
    display: inline-table;
    position: relative;
}

.heading-long-underline .fl-heading:before,
.heading-long-underline-3 .fl-heading:before 
{
    content: '';
    height: 6px;
    width: 1160px;
    background: var(--ast-global-color-1);
    display: block;
    position: absolute;
    right: 0;
    left: -1000px;
    bottom: -10px;
}


.heading-long-underline-3 .fl-heading:before {
    width: calc(100% + 1020px);
}


.left-square h2.fl-heading > a span:before, 
.left-square h2.fl-heading > span:before 
{
    content: '';
    width: 17px;
    height: 17px;
    background: var(--ast-global-color-1);
    display: inline-block;
    margin-right: 15px;
    margin-bottom: -1px;
}

.left-square a {
    text-decoration: none !important;
    color: #fff;
}

.left-square a:hover {
    color: var(--ast-global-color-1);
}

.models-item.mi-hover a {
    color: var(--ast-global-color-1);
}

@media (max-width: 1200px){
    .left-square h2.fl-heading > a span:before, .left-square h2.fl-heading > span:before {
        width: 16px;
        height: 16px;
        margin-bottom: -2px;
    }    
}

@media (max-width: 768px){
    .col-mobile-height-auto .pp-custom-grid-post {
            height: auto !important;
    }
}

.frm_form_fields input:focus {
    border-width: 2px;
    border-style: solid;
}


.frm_form_fields input[type="email"] {
    font-weight: 500;
}

.frm_form_fields input[type="email"]::placeholder {
    color: #dbdbdb;
}
.with_frm_style form#form_newsletter.frm-show-form .frm_submit.frm_flex {
    align-items: start;
    grid-column: span 6 / span 6;
    margin-right: 50px;
}

.with_frm_style form#form_newsletter.frm-show-form .frm_submit.frm_flex button {
    font-family: 'Orbitron',sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    width: 100%;
    padding: 17px 10px;
    font-style: italic;
    letter-spacing: 1.4px;
}

.with_frm_style form#form_newsletter.frm-show-form #frm_field_6_container {
    margin-right: 50px;
}

@media (max-width: 800px) {
    .with_frm_style form#form_newsletter.frm-show-form .frm_submit.frm_flex {
        /* grid-column: span 12 / span 12; */
        margin-left: 0;
    }
    .with_frm_style form#form_newsletter.frm-show-form #frm_field_6_container {
        margin-right: 0;
    }
}
@media (max-width: 700px) {
    .with_frm_style form#form_newsletter.frm-show-form .frm_submit.frm_flex {
        grid-column: span 12 / span 12;
    }
    .with_frm_style form#form_newsletter.frm-show-form #frm_field_6_container {
        grid-column: span 12 / span 12;
    }
}

.right-col-out > .fl-col-content{
    max-width: none !important;
}


.ast-footer-copyright a {
    color: #fff;
}

.ast-footer-copyright a:hover {
    text-decoration: underline;
}


.footer-phone {
    text-align: right;
}

.footer-phone a {
    font-family: 'Orbitron',sans-serif;
    letter-spacing: 3px;
}


@media (max-width: 768px) {
    .footer-phone {
        text-align: center;
    }
}
@media (max-width: 600px) {
    span.divider {
        display: block;
        font-size: 0;
        height: 0;
    }
}


.heading-long-underline-2 .fl-heading:before {
    content: '';
    height: 6px;
    background: var(--ast-global-color-1);
    display: block;
    position: absolute;
    right: 0;
    left: -1000px;
    bottom: -15px;
    width: calc(100% + 1200px);
}
.heading-long-background .fl-heading:after {
    content: '';
    background: #111;
    display: block;
    position: absolute;
    right: -1px;
    left: -1000px;
    bottom: -9px;
    height: calc(100% + 18px);
    z-index: 0;
    width: calc(100% + 1200px);
}

.heading-long-background .fl-heading span {
    position: relative;
    z-index: 1;
}


@media (min-width: 992px) { 
    #menu-main > .menu-item.current-menu-item > a:after,
    #menu-main > .menu-item.current-menu-item  > .fl-has-submenu-container > a:after,
    #menu-main > .menu-item.current-page-parent > .fl-has-submenu-container > a:after 
    {
        position: absolute;
        width: 100%;
        height: 40px;
        background: #016fe8;
        bottom: -40px;
        content: '';
        left: 0;
    }
}

button.fl-menu-mobile-close {
    background: transparent !important;
}

@media (max-width: 768px) {

    .heading-long-underline-2 .fl-heading:before {
        width: calc(100% + 1040px);
    }
    .heading-long-background .fl-heading:after {
        width: calc(100% + 1040px);
    }

}

.locations-grid.locations-grid-focus .locations-grid-item-wrap {
    opacity: 0.6;
}

.locations-grid-item-wrap {
    transition: all 2s !important;
}
.locations-grid .locations-item-focus > .locations-grid-item-wrap {
    /* transition-delay: 0.5s; */
    opacity: 1;
}

.locations-select select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #bec8c9;
}

.locations-select select:hover {
    background: #f2f4f9;
}

.locations-select {
    position: relative; 
    max-width: 300px;
}

.locations-select:after {
    content: '';
}

.locations-select i {
    position: absolute;
    right: 15px;
    color: #94a5a5;
    top: 50%;
    transform: translateY(-50%);
}

@media (min-width: 768px) {
    .technical-data .fl-callout-content {
        display: flex !important;
        justify-content: space-between;
    }
}



.with_frm_style form#form_contact-form .frm_submit.frm_flex {

}
.with_frm_style form#form_contact-form .frm_checkbox,
.with_frm_style form#form_contact-form .frm_radio 
{
    margin-bottom: 10px;
}


.with_frm_style .frm_inside_container > label {
    color: #111;
}
.with_frm_style .frm_inside_container.frm_label_float_top > label {
    color: #fff;
    font-size: var(--field-font-size);
}

.location-custom-icon span.fl-icon {
    padding-top: 4px;
}

.single .post-navigation .nav-links .nav-previous+.nav-next, .single .post-navigation .nav-links .nav-previous{
    width: 50% !important;
}

.comment-navigation .nav-previous:after, .post-navigation .nav-previous:after {
    display: none;
}

nav.navigation.post-navigation {
    padding: 30px 0;
}

@media (max-width: 768px) {

    .single .post-navigation .nav-links {
        flex-direction: column;
    }

    .single .post-navigation .nav-links .nav-previous+.nav-next, .single .post-navigation .nav-links .nav-previous {
        width: 100% !important; 
        text-align: center;
    }
    .single .post-navigation .nav-links a {
        text-align: center;
        padding: 10px 0;
    }

    .fl-post-feed-post.fl-post-feed-image-beside, .fl-post-feed-post.fl-post-feed-image-beside-content, .fl-post-feed-post.fl-post-feed-image-beside-right, .fl-post-feed-post.fl-post-feed-image-beside-content-right {
        max-width: 100%;
    }
}


.home-map-right > .fl-col-content > .fl-module > .fl-module-content  {
    margin-left: -42vw;
}

.home-map-right > .fl-col-content > .fl-module {
    width: 100% !important;
    margin-right: 0 !important;
}


@media (max-width: 992px) {
    .home-map-right > .fl-col-content > .fl-module > .fl-module-content  {
        margin-left: -61vw;
    }
}
@media (max-width: 768px) {
    .home-map-right > .fl-col-content > .fl-module > .fl-module-content  {
        margin-left: 0;
    }
}