/* Custom Hide Menu on Certain Width */
@media (max-width: 1200px) {
    .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 {
	--red: #c52127;
    --light-red: #ec1f27;
    --light-gray: #a2a5a8;
    --gray: #4f5051;
    --black: #111;
}

/* TEMP CSS Area - Starts */

#footer .menu a {
    font-size: 16px;
}

/*#top.single-accuwright-location .title_container {
    background-image: url('/wp-content/uploads/2023/11/Accuwright-Operating-in-Your-Area-Now.jpg') !important;
}*/

/* TEMP CSS Area  - Ends */

/* Round Images - Starts */

.big-preview img,
.slide-image,
.round-img,
.flex_column.avia-full-stretch {
    border-radius: 10px !important;
}

/* Round Images  - Ends */

.avia-svg-logo svg {
    width: 280px !important;
    height: auto !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .avia-svg-logo svg {
        margin-top: 12px;
    }
}

@media (max-width: 767px) {
    .avia-svg-logo svg {
        width: 200px !important;
    }
    
    .flex_column.avia-full-stretch {
        margin-bottom: 30px !important;
    }
}

/* Main NAV CSS Area - Starts */

.button-type a {
    background-color: var(--red);
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 7px;
}

.tel-item a,
.button-type a {
    transition: .5s;
}

.button-type a:hover {
    background-color: var(--gray);
}

.tel-item a:hover {
    color: var(--red) !important;
}

#nav_menu-2 {
    position: absolute;
    right: 0;
    padding: 0;
}

#menu-secondary-menu {
    display: flex;
    column-gap: 30px;
    align-items: center;
}

#menu-secondary-menu li a {
    line-height: 1.5;
    font-size: 16px;
    color: #111;
    font-weight: bold;
}

span.sep-line {
    display: block;
    color: var(--light-gray);
    font-size: 14px;
}

.tel-item {
    position: relative;
    padding-left: 55px;
}

.tel-item:before {
    content: '\e854';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    top: 3px;
    width: 40px;
    height: 40px;
    border: 2px solid var(--light-gray);
    border-radius: 100%;
    line-height: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(90deg);
}

@media (min-width: 1251px) {
    .main_menu .menu-item-top-level > a .avia-menu-text {
        font-size: 17px;
    }
}

@media (min-width: 1201px) {
    #header_main .inner-container {
        display: flex;
        justify-content: space-around;
        width: 100% !important;
        gap: 30px;
        align-items: center;
    }

    nav.main_menu {
        left: 25%;
        width: 50%;
    }

    .desktop-hidden {
        display: none;
    }
}

@media (max-width: 1200px) {
    .button-type {
        display: none;
    }

    #nav_menu-2 {
        right: 100px;
        top: 20px
    }
}

@media (max-width: 767px) {
    #nav_menu-2 {
        display: none;
    }
}

.main_menu .sub-menu .avia-menu-text {
    font-size: 16px;
}
.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #111;
}

/* Main NAV CSS Area - Ends */

.avia-button {
    border-radius: 6px !important;
    font-weight: bold !important;
}

.av-subheading_below p {
    line-height: 1.7;
}

.section-heading .av-special-heading-tag {
    font-weight: bold !important;
}

.regular-button .avia-button {
    border: 2px solid var(--red) !important;
    font-size: 16px;
}

.regular-button-row .avia-button:nth-child(even) {
    color: var(--red) !important;
}

.radius-image img {
    border-radius: 25px;
}

/* Inner Landing Header CSS - Starts */

.top-overlay {
    background: transparent !important;
    margin: 120px 0 !important;
    padding: 0 !important;
}

.title_container .main-title {
    padding: 0 0 15px !important;
    letter-spacing: 1px;
}

.title_container .main-title a {
    font-weight: bold !important;
    font-size: 40px !important;
    letter-spacing: 0;
    line-height: 1.3 !important;
    display: block;
    color: #fff !important;
}

.title_container .breadcrumb {
    right: auto;
    top: auto;
    position: relative;
    margin: 0;
    padding-bottom: 30px;
}

.title_container .breadcrumb * {
    color: #fff !important;
}

@media (max-width: 767px) {
    .top-overlay {
        margin: 100px 0 !important;
    }

    #top .title_container .main-title a {
        font-size: 30px !important;
    }
}

.title_container {
    position: relative;
}

.title_container:before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, #000, rgb(0 0 0 / 75%),rgb(0 0 0 / 50%), transparent 75%);
}

/* Inner Landing Header CSS - Ends */

.bolder-title .av-special-heading-tag {
    font-weight: bold !important;
    letter-spacing: 0 !important;
}

.inner-text-heading h3 {
    color: var(--gray) !important;
    font-size: 1.5em;
}

.center-five-columns,
.center-seven-columns {
    display: flex;
    column-gap: 30px;
    row-gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.center-five-columns .flex_column,
.center-seven-columns .flex_column {
    width: 100% !important;
}

@media (min-width: 641px) {
    .center-seven-columns .flex_column,
    .center-five-columns .flex_column {
        width: calc(50% - 15px) !important;
    }
}

@media (min-width: 800px) {
    .center-seven-columns .flex_column,
    .center-five-columns .flex_column {
        width: calc(33.33% - 20px) !important;
    }
}

@media (min-width: 1251px) {
    .center-seven-columns .flex_column {
        width: calc(14.28% - 25.72px) !important;
    }

    .center-five-columns .flex_column {
        width: calc(20% - 24px) !important;
    }
}

.faq-content .toggler {
    font-weight: bold;
    color: #111;
    padding-block: 13px;
}

.faq-content .toggle_content p {
    line-height: 1.8;
}

.avia_textblock strong {
    color: inherit !important;
}

.numeric-list li:nth-child(n+2) {
    margin-top: 10px;
}

.numeric-list li::marker {
    font-size: 18px;
    font-weight: bold;
}

.numeric-list li {
    padding-top: 0;
}

.numeric-list strong {
    display: inline-block;
    margin-bottom: 0;
    font-size: 18px;
}

/* Image Collage CSS - Starts */

.images-grid div {
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    max-width: 100%;
    max-height: 100%;
}

.top-layer {
    width: 450px;
    height: 450px;
}

.bottom-layer {
    width: 300px;
    height: 300px;
    bottom: 0;
    right: 0;
    position: absolute;
}

.images-grid {
    position: relative;
    width: 600px;
    margin-inline: auto;
    max-width: 100% !important;
    padding-bottom: 50px;
    padding-right: 50px;
}

@media (max-width: 989px) {
    .images-grid {
        margin-bottom: 50px;
    }
}

@media (max-width: 767px) {
    .images-grid {
        width: 450px;
    }
    .bottom-layer {
        width: 200px;
        height: 200px;
    }

    .top-layer {
        width: 350px;
        height: 350px;
    }
}

/* Image Collage CSS - Ends */

/* 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 */

.team-img-container,
.team-img-container img {
    border-radius: 0 !important;
}

/* LINK Cards CSS - Starts */
.link-box {
    margin: 0 !important;
    text-align: center;
}

.link-card {
    background-color: #f8f8f8;
    border: 1px solid #d8d8d8 !important;
    padding-bottom: 30px;
    transition: .5s;
}

.link-box .team-member-name {
    margin-top: 15px;
    margin-bottom: 8px;
}

.link-card:hover {
    transform: translateY(-10px);
}

/* LINK Cards CSS - END */

.gform_required_legend {
    display: none;
}

.inner-ticklist ul {
    list-style-type: none !important;
    margin: 20px 0 0 0;
}

.inner-ticklist ul li {
    margin: 4px 0 0 0;
    position: relative;
    padding-left: 20px;
}

.inner-ticklist ul li:before {
    content: '\e812';
    font-family: 'entypo-fontello';
    position: absolute;
    left: 0;
    color: var(--red);
}

.image-box {
    text-align: center;
}

/* Primary Area Form CSS - Starts */

.primary-form {
    border: 1px solid #eaeaea !important;
    padding: 25px;
    background-color: #fff;
    width: 900px;
    max-width: 100% !important;
    margin-inline: auto;
    border-radius: 10px;
    box-shadow: 0 0 5px 3px #efefef;
}

@media (min-width: 768px) {
    .primary-form {
        padding: 50px 40px;
    }
}

.primary-form textarea,
.primary-form input {
    border-radius: 5px !important;
}

.gform_footer {
    padding-bottom: 0 !important;
}

.primary-form form {
    margin-bottom: 0 !important;
}

#top .primary-form .gform_body select,
#top .primary-form .gform_body textarea,
#top .primary-form .gform_body input {
    background-color: #f8f8f8 !important;
}

.primary-form .gform_footer input[type=submit] {
    padding: 15px 30px !important;
}

/* Primary Area Form CSS - Ends */

.card-thumbnail {
    object-fit: cover;
    aspect-ratio: 4 / 3;
    object-position: center;
    transition: .5s;
}

.facet-card {
    text-align: center;
    background-color: #f8f8f8;
    border: 1px solid #d8d8d8;
    transition: .5s;
}

.facet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 5px #d8d8d8;
}

.alternate_color .facet-card {
    background-color: #fff;
}

.facet-card .content-block {
    padding: 10px 20px 25px;
}

h3.card-title {
    font-size: 18px;
    color: var(--gray) !important;
}

.image-box img {
    object-fit: cover;
    aspect-ratio: 4 / 3;
    width: 100% !important;
    object-position: center;
}

.wp-caption-text {
    font-size: 14px !important;
    font-style: normal !important;
    font-family: inherit !important;
}

.wp-caption.alignleftt,
.wp-caption.alignright {
    margin: 0 0 30px !important;
}

@media (min-width: 990px) {
     .wp-caption.alignright {
        margin-left: 50px !important;
    }

    .wp-caption.alignleft {
        margin-right: 50px !important;
    }
}

@media (max-width: 989px) {
    .wp-caption.alignleft,
    .wp-caption.alignright {
        float: none;
    }
}

.simple-iconbox {
    text-align: center;
}

.simple-iconbox h2 {
    margin-top: 15px;
}

.simple-iconbox svg path,
.simple-iconbox svg {
    fill: var(--gray) !important;
}

.circle-iconbox .wd-hybrid-box-svg {
    border: 2px solid var(--red);
    background: #fff;
    width: 90px;
    height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    margin: 0 auto 20px;
}

.circle-iconbox .wd-hybrid-box-svg svg {
    width: auto;
    height: 50px;
}

.circle-iconbox {
    text-align: center;
}

.single-project-portfolio .title_container,
.single-post .title_container {
    display: none
}

.big-preview.single-big img {
    width: 750px !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    margin-inline: auto;
}

.big-preview.single-big {
    margin-bottom: 25px !important;
}

.single-project-portfolio .entry-content-wrapper h2,
.single-post .entry-content-wrapper h2 {
    font-size: 25px;
    color: var(--gray)
}

.single-project-portfolio .av-vertical-delimiter,
.single-post  .av-vertical-delimiter {
    border-color: var(--red);
    width: 60px;
}

span.post-meta-infos {
    display: none !important;
}

#top .wp-caption img {
    padding: 0 !important;
}

div .wp-caption {
    border: none !important;
}

h1 a,
h2 a,
h3 a {
    color: var(--red) !important;
}

.image-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.simple-imagebox {
    text-align: center;
}

.custom-iconlist {
    margin: 10px 0 0 !important;
}

.custom-iconlist .iconlist-char {
    position: relative;
    top: 4px;
}

#footer .avia_social_icons_widget {
    margin: 0 !important;
}

@media (min-width: 768px) {
    #footer .container {
        display: grid;
        column-gap: 60px;
        grid-template-columns: repeat(2, 1fr);
    }
    
    #footer .flex_column {
        width: 100%;
        margin: 0;
    }

    #footer .avia_social_icons_widget {
        margin-top: -15px !important;
    }
}

@media (min-width: 990px) {
    #footer .container {
        grid-template-columns: 3fr 3fr 2fr 2fr;
    }
}

ul li > ul li {
    list-style-type: circle !important;
}

/* Intro Wrapper */

.intro-quote blockquote {
    border: none;
    position: relative;
    padding-left: 0;
}

.intro-quote blockquote:before {
    content: '';
    position: absolute;
    width: 65px;
    height: 65px;
    background-image: url(/wp-content/uploads/2024/01/Intro-icon.png);
    background-size: contain;
    background-repeat: no-repeat;
    left: 0;
}

.intro-quote blockquote {
    color: #000 !important;
    font-size: 17px;
}

@media (min-width: 990px) {
    .intro-quote blockquote {
        font-size: 19px;
        padding-left: 100px;
        display: flex;
        align-items: center;
    }

    .intro-quote .inner-wrap {
        border-left: 5px solid var(--red);
        padding-left: 40px;
    }
}

@media (max-width: 989px) {
    .intro-quote blockquote:before {
        top: 0;
    }

    .intro-quote blockquote {
        padding-top: 90px;
    }
}

/* Intro Wrapper */

.alternate_color .link-card {
    background-color: #fff !important;
}

.html_av-overlay-side #top #wrap_all .av-burger-overlay-scroll #av-burger-menu-ul a {
    color: #000 !important;
}

body#top {
    margin: 0 auto !important;
}

#top .menu-item-search-dropdown > a {
    font-size: 20px !important;
}

#header .three.units {
    width: 300px !important;
}

.fake-click .mega_menu_title a:hover {
    cursor: default !important;
}
.with-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    row-gap: 15px;
}
@media (max-width: 989px) {
    .with-icon {
        flex-wrap: wrap;
    }
    .with-icon .av-special-heading-tag {
        text-align: center;
    }
}
.avia_textblock a {
    color: var(--red) !important;
}
.avia_textblock a:hover {
    opacity: .85;
}