/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada

Colors:

Dark blue:      #1e87c8
Accent blue:    #2abbff
Pink:           #f172a3
Green:          #7ac143
Yellow:         #f172a3
Text color:     #191d21
Hover colour:   #63717f

*/

#menu-main-menu .current-menu-item .awb-menu__main-a_regular {
    color: #ffffff !important;
}
#menu-main-menu:focus-within .awb-menu__main-a_regular, #menu-main-menu:hover .awb-menu__main-a_regular {
    color: #ffffff !important;
}
#menu-main-menu .current_page_parent .awb-menu__main-a_regular {
    color: #ffffff !important;
}
#menu-main-menu > li:not(:last-child) {
    position: relative;
}
#menu-main-menu > li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 30%; /* line is 50% of li height */
    width: 1px;
    background-color: #ffffff;
    opacity: 0.8; /* optional: soften the look */
}
#menu-main-menu > li > a {
    padding-left: 20px !important;
    padding-right: 20px !important;
}
nav.page-menu ul li.current-menu-item {
    background-color: #2abbff;
}
nav.page-menu ul li.current-menu-item .awb-menu__main-a_regular {
    color: #ffffff !important;
}
nav.page-menu ul li:hover {
    background-color: #2abbff;
}
nav.page-menu ul li .awb-menu__main-a_regular:hover {
    color: #ffffff !important;
}
.header-phone-title {
    font-size: 20px;
    font-weight: 700;
    color: #2abbff;
}
.header-phone {
    font-size: 18px;
}
.header-phone a, .header-phone a:hover, .header-phone a:active {
    font-size: 18px;
    text-decoration: none !important;
    color: #191d21;
    text-underline: none;
}
.header-email a, .header-email a:hover, .header-email a:active {
    text-decoration: none !important;
    color: #2abbff;
}
.xnet-search-form {
    max-width: 300px;
    position: relative;
}
.xnet-search-input-group {
    display: flex;
    align-items: center;
}
.xnet-search-input {
    width: 100%;
    padding: 0.5em 2.5em 0.5em 0.75em;
    font-size: 1em;
    border: 1px solid #ccc;
    -webkit-border-radius: 5px !important;
    -moz-border-radius: 5px !important;
    border-radius: 5px !important;
    color: #63717f;
}
.xnet-search-button {
    position: absolute;
    right: 0.5em;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1em;
    color: #333;
}
.visit-enquiry {
    text-align: center;
    margin: 30px 0;
    font-family: "M PLUS Rounded 1c";
}

.visit-enquiry form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto;
}

.visit-enquiry .calendar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #2abbff; /* Accent blue */
    border-radius: 50%;
    color: #fff;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.visit-enquiry input[type="email"] {
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 25px;
    width: 100%;
    max-width: 320px;
    outline: none;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visit-enquiry input[type="email"]::placeholder {
    color: #aaa;
    font-style: italic;
}

.visit-enquiry input[type="email"]:focus {
    border-color: #2abbff; /* Accent blue for focus */
    box-shadow: 0 0 8px rgba(42, 187, 255, 0.5);
}

.visit-enquiry button {
    padding: 16px 20px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    background-color: #2abbff; /* Accent blue */
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    white-space: nowrap;
}

.visit-enquiry button:hover {
    background-color: #1e87c8; /* Dark blue */
    transform: scale(1.05);
}

.visit-enquiry button:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(42, 187, 255, 0.5);
}

#visit-message.success {
    color: #7ac143; /* Green for success message */
    margin-top: 10px;
    font-weight: bold;
}

#visit-message.error {
    color: #f172a3; /* Pink for error message */
    margin-top: 10px;
    font-weight: bold;
}

@media (max-width: 640px) {
    .visit-enquiry form {
        flex-direction: column;
        align-items: stretch;
    }

    .visit-enquiry .calendar-icon {
        display: none;
    }

    .visit-enquiry input[type="email"],
    .visit-enquiry button {
        max-width: none;
        width: 90%;
        margin: auto;
    }
}

.content-box-centre .fusion-column {
    min-height: 530px;
}
.content-box-centre, .content-box-centre a {
    text-align: center !important;
    float: none !important;
    text-decoration: none !important;
}
.content-box-centre a.fusion-read-more-button {
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    padding: 10px 20px;
}
.content-box-centre img {
    margin-bottom: 20px;
}
.content-box-centre p.p1 {
    min-height: 170px;
}
.bordered-header b {
    border-bottom: 2px solid #ccc;
    border-right: 2px solid #ccc;
    padding-right: 10px;
    padding-bottom: 10px;
}

.page-index-card .fusion-title-heading {
    position: relative;
    padding-left: 20px !important;
    padding-top: 10px !important;
}
.page-index-card .fusion-title-heading::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: #2abbff;
}
.page-index-card .fusion-title-heading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 30px;
    background: #2abbff;
}

.fusion-post-cards[data-post-type-label="staff"] .fusion-grid-posts-cards {
    align-items: stretch;
}

.fusion-post-cards[data-post-type-label="staff"] .fusion-post-cards-grid-column {
    display: flex;
}

.fusion-post-cards[data-post-type-label="staff"] .fusion-post-cards-grid-column > .fusion-column-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    height: 100%;
}

.fusion-alert-content-wrapper .messages-wrap {
    display: none;
}

.xnet-acf-table {
    width: min(100%, 1120px);
    margin: 30px auto;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
    border: 1px solid rgba(30, 135, 200, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(25, 29, 33, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.xnet-acf-table .xn-menu {
    width: 100%;
    min-width: 760px;
    margin: 0 auto;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    text-align: left;
    color: #191d21;
    background-color: transparent;
}

.xnet-acf-table .xn-menu th,
.xnet-acf-table .xn-menu td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border: 0;
}

.xnet-acf-table .xn-menu thead th {
    background: #1e87c8;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.xnet-acf-table .xn-menu thead th.first {
    width: 14%;
}

.xnet-acf-table .xn-menu thead th:first-child {
    border-top-left-radius: 16px;
}

.xnet-acf-table .xn-menu thead th:last-child {
    border-top-right-radius: 16px;
}

.xnet-acf-table .xn-menu tbody tr:nth-child(odd) td {
    background-color: #f8fcff;
}

.xnet-acf-table .xn-menu tbody tr:nth-child(even) td {
    background-color: #ffffff;
}

.xnet-acf-table .xn-menu tbody tr:hover td {
    background-color: #eef8ff;
}

.xnet-acf-table .xn-menu tbody td {
    border-bottom: 1px solid rgba(99, 113, 127, 0.16);
}

.xnet-acf-table .xn-menu tbody tr:last-child td:first-child {
    border-bottom-left-radius: 16px;
}

.xnet-acf-table .xn-menu tbody tr:last-child td:last-child {
    border-bottom-right-radius: 16px;
}

.xnet-acf-table .xn-menu td.first,
.xnet-acf-table .xn-menu th.first {
    font-weight: 700;
}

.xnet-acf-table .xn-menu td.first {
    color: #1e87c8;
    white-space: nowrap;
}

.xnet-acf-table .xn-menu p {
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .xnet-acf-table {
        margin: 24px auto;
        padding: 14px;
        border-radius: 20px;
    }

    .xnet-acf-table .xn-menu th,
    .xnet-acf-table .xn-menu td {
        padding: 14px 16px;
        font-size: 14px;
    }
}

@media (max-width: 640px) {
    .xnet-acf-table {
        padding: 12px;
        border-radius: 18px;
    }

    .xnet-acf-table .xn-menu {
        min-width: 680px;
    }
}
