/* Custom Hide Menu on Certain Width */
@media (max-width: 1281px) {
    .main_menu .menu-item-top-level {
        display: none !important;
    }
    .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
        display: block !important;
    }
}

:root {
	--primary: #990000;
    --secondary: #333333;
}

.avia-section .iconbox a,
.avia-section .avia-icon-list-container a,
.avia-section .avia_textblock a {
    text-decoration: underline !important;
}

.logo svg {
    width: 300px !important;
}

@media (min-width: 1420px) {
	.logo svg {
        width: 350px !important;
    }
}

/* TEMP CSS Area - Starts */

#footer .menu a {
    font-size: 16px;
}

.single-heading-wrap {
    background-color: #666;
}

.single-heading-wrap .av-special-heading-tag {
    font-size: 27px !important;color: #fff;
}

.single .title_container,
.search .title_container,
.archive .title_container,
.single .title_container {
    display: none;
}

/* TEMP CSS Area  - Ends */

/* Spanish Lang CSS Area  - Starts */

html[lang=es-Es] .main_menu .menu-item-top-level > a .avia-menu-text {
    font-size: 14px;
    letter-spacing: 0
}

@media (min-width: 1551px) {
    html[lang=es-Es] .main_menu .menu-item-top-level > a .avia-menu-text {
        font-size: 16px;
    }
}

@media (min-width: 1350px) and (min-width: 1550px) {
    html[lang=es-Es] .logo svg {
        width: 300px;
    }
}

@media (max-width: 1400px) {
    html[lang=es-Es] .main_menu .menu-item-top-level {
        display: none !important;
    }
    
    html[lang=es-Es].responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special {
        display: block !important;
    }
}

/* Spanish Lang CSS Area  - Ends */

.main_menu .menu-item-top-level > a .avia-menu-text {
    font-size: 18px;
    letter-spacing: 0.5px;
    font-weight: normal;
}

.main_menu .sub-menu .avia-menu-text {
    font-size: 16px;
}

.tel-icon:before {
    content: '\e8ac';
    font-family: entypo-fontello;
    padding-right: 6px;
}

.av-menu-button .avia-menu-text {
    padding: 10px 20px !important;
}

#hero_top .container {
    max-width: 1800px;
    padding: 0 100px;
}

#hero_top .template-page {
    vertical-align: bottom;
}

.alt-heading {
    color: #fff !important;
    font-size: 30px;
}

@media (min-width: 990px) {
    .alt-heading {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
	.alt-heading {
    	display: none;
    }
	
	.hero-heading {
		text-align: center;
		padding-bottom: 15px !important;
	}
	
	#hero_top {
		background-position: 90% 50%;
	}
}

#hero_top .flex_column {
    margin: 0 !important;
}

@media (min-width: 768px) {
    #hero_top .template-page {
        padding-top: 250px;
    }
    
    .hero-heading,
    .hero-sub {
        max-width: 660px;
    }
}

@media (max-width: 767px) {
    #hero_top .template-page {
        padding-top: 0;
    }

    #hero_top .container {
        max-width: 100% !important;
        width: 100% !important;
    }
    
    #hero_top {
        background: var(--secondary);
    }
    
    .hero-heading {
        padding: 30px 20px 10px !important;
    }
    
    .hero-sub {
        padding: 0 25px 20px;
        text-align: center;
    }
}
/*
@media (min-width: 990px) {
    .bottom-wrap {
        display: flex !important;
        justify-content: space-between;
        width: 100% !important;
    }
    
    .bottom-wrap .hero-button {
        width: 302px;
    }
    
    .bottom-wrap .av_textblock_section {
        width: calc(100% - 302px);
        padding-right: 30px;
    }
}

@media (min-width: 768px) and (max-width: 989px) {
    .bottom-wrap .hero-button {
        text-align: left;
        margin-top: 25px;
    }
}
*/
.av-subheading {
    opacity: 1 !important;
    line-height: 1.8 !important;
}

.avia-button {
    border-radius: 0 !important;
}

.hero-button .avia-button {
    text-transform: uppercase;
    font-size: 16px !important;
    padding: 18px 30px;
    letter-spacing: 1px;
}

#team .flex_column_table {
    margin-left: auto;
    max-width: 300px;
}

#faq .flex_column_table {
    max-width: 480px;
}

.image-bg-area .flex_column {
    padding-top: 200px;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .image-bg-area .flex_column {
        padding-top: 350px;
    }
}

.no-border .avia-button {
    padding: 0 !important;
    border: none !important;
    font-size: 17px;
    margin-top: 10px;
}

.avia_button_icon_right {
    padding-left: 6px;
}

.bar-title:after {
    content: "";
    height: 2px;
    position: absolute;
    width: 120px;
    left: 0;
    bottom: 0;
    padding-bottom: 0px;
    background-color: #fff;
}

.bar-title {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px !important;
}

.logo-list {
    list-style-type: none !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0
}

.logo-list li {
    padding: 0;
    margin: 0
}

.logo-list li img {
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 65px;
    padding: 7px 14px;
}

.stat-box .avia-animated-number-title {
    position: relative;
    letter-spacing: 0;
    font-weight: bold;
    color: var(--primary);
    padding-bottom: 15px;
    margin-bottom: 25px;
    display: block;
}

@media (min-width: 768px) {
    .stat-box .avia-animated-number-title {
        font-size: 65px;
    }
}

.stat-box .avia-animated-number-title:after {
    content: '';
    height: 2px;
    position: absolute;
    width: 80px;
    left: calc(50% - 40px);
    bottom: 0;
    padding-bottom: 0px;
    background-color: var(--primary);
}

#about {
    position: relative;
}

#about:before {
    content: '';
    position: absolute;
    background: #000;
}

@media (min-width: 990px) {
    #about:before {
        width: 50%;
        height: 100%;
        right: 0;
        top: 0;
    }

    .about-text h3 {
        font-size: 35px;
    }
    
    #about .container {
        max-width: 1800px;
        padding: 0 100px;
    }
    
    #about .content {
        padding: 100px 0 80px;
    }
    
    .about-img img {
        margin-top: 70px;
    }
}

@media (max-width: 989px) {
    #about:before {
        width: 100%;
        height: 50%;
        left: 0;
        bottom: 0;
    }
}

.trans-button .avia-button,
.regular-button .avia-button {
    font-size: 17px !important;
    padding: 13px 28px;
    letter-spacing: 0.5px;
}

.regular-button .avia-button {
    border: 1px solid var(--primary) !important;
}

.trans-button .avia-button {
    border: 1px solid #fff !important;
transition: .5s;}


.trans-button .avia-button:hover {
    background: #fff !important;
    color: var(--primary) !important;
    opacity: 1 !important;
}

.inner-reviews .avia-testimonial-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.inner-reviews .avia-testimonial {
    width: 100% !important;
}

.inner-reviews .avia-testimonial {
    box-shadow: 12px 12px #939393;
    border: 1px solid #e1e1e1;
}

.inner-reviews .avia-testimonial-meta-mini {
    position: relative;
}

.inner-reviews .avia-testimonial-meta-mini:before {
    content: '\e808\e808\e808\e808\e808';
    font-family: 'entypo-fontello';
    font-size: 22px;
    color: #ff9800;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 12px;
}

@media (min-width: 768px) {
    .inner-reviews .avia-testimonial-row {
    	grid-template-columns: 1fr 1fr;
    }
}

.contact-iconlist {
    margin: 15px 0 0;
}

.contact-iconlist .iconlist_icon {
    position: relative;
    top: 9px;
}

#top .contact-iconlist a {
    text-decoration: none !important;
}

#socket .container {
    border-top: 1px solid #545454 !important;
}

#socket .noLightbox a {
    font-size: 17px;
}

@media (min-width: 768px) {
    #footer {
        padding-bottom: 0;
    }
}

.big-preview.single-big {
    max-width: 800px;
    margin: 0 auto;
}

.single h1.post-title {
    color: var(--primary);
    position: relative;
    padding-bottom: 25px !important;
    margin-bottom: 40px !important;
}

.single h1.post-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 5px;
    left: calc(50% - 30px);
    bottom: 0;
    background: #666;
}

.single .entry-content h3 {
    font-size: 25px;
    color: #666;
}

.inner-posts .slide-meta {
    display: none !important;
}

.inner-posts .entry-content-header {
    margin: 20px 0 10px;
}

.inner-posts .read-more-link a {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 2px solid;
    max-width: 140px;
    text-transform: capitalize;
}

.inner-posts .slide-entry-title a {
    color: var(--primary) !important;
    font-size: 1.1em;
    letter-spacing: 0.3px;
}

#header .three.units {
    width: 300px !important;
}

#header .six.units {
    width: 800px !important;
}

.inner-text-heading h3 {
    color: var(--primary);
    font-size: 23px;
    line-height: 1.6;
}
.single .entry-content strong,
.avia_textblock strong {
    color: #333;
}

.team-box .team-member-job-title,
.team-box .team-member-name {
    padding: 0 20px;
}


.team-box .team-member-job-title {
    color: #333 !important;
    font-weight: bold;
}

.team-box .team-member-name {
    margin-top: 20px;
    color: var(--primary);
    font-size: 22px;
}

.team-col {
    padding-bottom: 30px;
    text-align: center;
}

.normal-button-row .avia-button:nth-child(even) {
    background-color: var(--secondary);
}

.normal-button-row .avia-button {
    border: none !important;
}

.bolder-sub .av-subheading {
    font-weight: bold;
}

.faq-content .toggler {
    font-size: 16px !important;
    font-weight: bold;
    padding: 12px 30px 12px 30px !important;
}

.faq-content .toggle_icon,
.faq-content .vert_icon,
.faq-content .hor_icon {
    border-color: var(--primary);
    opacity: 1 !important;
}

.faq-content .av_toggle_section:nth-child(n+2) {
    margin-top: 15px;
}

.faq-content .toggle_content {
    border: none;
    font-size: 16px;
    line-height: 1.6;
}

.faq-content .toggler:focus {
    outline: none;
}

.faq-content .single_toggle {
    margin-bottom: 13px;
}

.contact-iconlist .av_iconlist_title {
    font-weight: bold;
}

.contact-iconlist .iconlist-char {
    font-size: 20px;
    position: relative;
    top: -4px;
}

.contact-iconlist li:nth-child(n+2) {
    margin-top: 10px;
}

.contact-form .gfield_label {
    font-size: 16px !important;
    font-weight: bold !important;
}

.link-col {
    border: 1px solid #e8e8e8 !important;
    box-shadow: 0 0 5px #efefef !important;
    transition: .5s;
}

.link-col:hover {
    transform: translateY(-6px);
    background-color: var(--primary);
}

.link-col:hover .team-member-name {
    color: #fff;
}

.link-box .team-member-name {
    text-align: center;
    color: var(--primary);
    margin: 15px;
    letter-spacing: 0.5px;
    transition: .5s;
}

.inner-link-col .flex_column_table {
    max-width: 850px;
    margin: 0 auto;
}

.team-img-container,
.avia-image-container-inner,
.avia_image,
.av-image-caption-overlay {
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    .mobile-cta {
        display: none;
    }
}

@media (max-width: 767px) {
    .mobile-cta {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        z-index: 99;
    }
    
    .mobile-cta div {
        width: 50%;
        text-align: center;
    }
    
    .mobile-cta div a {
        background-color: var(--primary);
        color: #fff;
        display: block;
        padding: 12px;
    } 
    
    .text-btn a {
        background: #666 !important;
    }
    
    .mobile-cta div a:hover {
        opacity: .85;
    }
    
    .mobile-cta div a:before {
        content: '\e8ac';
        font-family: 'entypo-fontello';
        padding-right: 8px;
        font-size: 18px;
    }
    
    .text-btn a:before {
        content: '\e805' !important;
    }

    #socket .container {
        padding-bottom: 65px !important;
    }
}

.single-heading-wrap .content {
    padding: 35px 0;
}

@media (min-width: 768px) {
    .content-column {
        padding: 30px 40px !important;
    }
    
    .content-cell {
        padding: 40px 50px !important;
    }
}

@media (max-width: 767px) {
    .extra-footer-img {
        margin-bottom: 30px !important;
    }
}

.alternate_color .content-column {
    background-color: #fff !important;
}

.main_color .content-column {
    background-color: #f8f8f8 !important;
}

.inner-ticklist ul {
    list-style-type: none !important;
    margin: 0;
}

.inner-ticklist ul li {
    margin-left: 0;
    position: relative;
    padding-left: 32px;
}

.inner-ticklist ul li:nth-child(n+2) {
    margin-top: 8px;
}

.inner-ticklist ul li:before {
    content: '\e812';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    font-size: 25px;
    color: var(--primary);
    transform: translateY(3px);
}

.inner-ticklist ul li strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.3em;
    color: #666 !important;
}

.inner-four-col .flex_column_table {
    margin-bottom: 40px;
}
@media (min-width: 1201px) {
    .inner-four-col .flex_column_table {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
    }

    .inner-four-col .flex_column {
        width: calc(25% - 22.5px) !important;
    }
    
    .inner-four-col .flex_column:nth-child(n+2) {
        margin-left: 30px !important;
    }
}

@media (max-width: 1200px) {
    .inner-four-col .flex_column_table {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .inner-four-col .flex_column {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

@media (max-width: 767px) {
    .inner-four-col .flex_column_table {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .hero-button {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .hero-button {
         padding: 0 20px;
    }
}

.avia-content-slider .slide-meta-comments,
.avia-content-slider .slide-meta-del {
    display: none !important;
}

article.slide-entry.flex_column time {
    display: none;
}

.single:not(:has(.avia-section)) .entry-content-wrapper h2 {
    text-align: initial;
}

.recentcomments a, .widget_recent_entries li a {
    font-style: normal !important;
    font-family: inherit !important;
}

#footer .widget_recent_entries span.post-date {
    display: block;
    font-size: 0.8em;
    font-style: italic;
    color: #ccc;
}

#footer .widget_recent_entries li a {
    font-size: 14px;
}

.single .entry-content ul {
    text-align: left;
}

/* Center Four Col - Center */
.center-three-columns,
.center-four-columns {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}
.center-three-columns .flex_column,
.center-four-columns .flex_column {
    margin: 0 !important;
    width: 100% !important;
}
@media (min-width: 768px) {
    .center-three-columns .flex_column,
    .center-four-columns .flex_column {
        width: calc(50% - 15px) !important;
    }
}
 
@media (min-width: 990px) {    
    .center-four-columns .flex_column {
        width: calc(33.33% - 20px) !important;
    }
}
@media (min-width: 1201px) {
    .center-four-columns .flex_column {
        width: calc(25% - 22.5px) !important;
    }
    
    .center-three-columns .flex_column {
        width: calc(33.33% - 20px) !important;
    }
}
/* Center Four Col - Center - END */

.alternative-title .av-special-heading-tag {
    font-family: inherit;
    letter-spacing: 0 !important;
    font-weight: bold;
}
.non-link .av-flex-placeholder {
    position: relative;
}
.non-link .av-flex-placeholder:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
    background: #D5D5D5;
}
@media (max-width: 767px) {
    .non-link .flex_column {
        border-top: 1px solid #D8D8D8 !important;
        padding-top: 10px !important;
    }
}
a.block-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 99;
}
.link-card {
    margin: 0;
    text-align: center;
    padding-bottom: 25px;
}
.link-card .team-img-container img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}
.link-column {
    transition: 0.5s;
}
.link-column:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 6px 3px #dadada;
}
.link-card h3.team-member-name {
    margin: 18px 0 10px;
}