:root {
    --r-blue: #0b4fa8;
    --r-blue2: #063f89;
    --r-red: #e51818;
    --r-line: #bad6ef;
    --r-light: #edf7ff;
    --r-text: #26394e;
}

body.layout-ref {
    font-family: Arial,Helvetica,sans-serif;
    color: var(--r-text);
    font-size: 15px;
    line-height: 1.52;
    background: #fff
}

.layout-ref .r-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 28px
}

.layout-ref .r-header {
    background: #fff;
    border-bottom: 1px solid #eef3f7
}

.layout-ref .navbar {
    min-height: 92px
}

.layout-ref .navbar-brand img {
    height: 72px
}

.layout-ref .navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #173e71!important;
    padding: .55rem .72rem!important;
    white-space: nowrap
}

.layout-ref .navbar-nav .active>.nav-link {
    color: var(--r-blue)!important;
    border-bottom: 3px solid var(--r-blue)
}

.layout-ref .r-btn {
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    padding: .62rem 1rem
}

.layout-ref .r-btn-blue {
    background: var(--r-blue);
    border-color: var(--r-blue);
    color: #fff!important
}

.layout-ref .r-btn-red {
    background: var(--r-red);
    border-color: var(--r-red);
    color: #fff!important
}

.layout-ref .r-btn-outline {
    border: 2px solid var(--r-blue);
    background: #fff;
    color: var(--r-blue)!important;
    padding: .4rem 1.2rem
}

.layout-ref .r-section {
    padding: 30px 0;
    border-bottom: 1px solid #edf3f8
}

.layout-ref .r-heading {
    font-size: 27px;
    color: var(--r-blue);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 16px
}

.layout-ref .r-heading .num {
    margin-right: 15px
}

.layout-ref .r-card {
    border: 2px solid var(--r-line);
    border-radius: 11px;
    background: #fff;
    padding: 18px;
    height: 100%
}

.layout-ref .r-info-strip {
    background: linear-gradient(90deg,#eaf6ff,#f9fdff);
    border: 1.5px solid var(--r-line);
    border-radius: 9px;
    padding: 13px 16px;
    color: var(--r-blue);
    font-weight: 800
}

.layout-ref .r-placeholder {
    min-height: 150px;
    border: 2px dashed #b6d5ee;
    border-radius: 8px;
    background: linear-gradient(135deg,#f6fbff,#edf7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #4e78a8;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800
}

.layout-ref .r-placeholder i {
    font-size: 44px;
    color: #9bc0e5;
    margin-bottom: 7px
}

.layout-ref .r-contact-band {
    background: linear-gradient(90deg,#e7f4ff,#fbfdff);
    border-top: 1px solid #d5e8f7;
    border-bottom: 1px solid #d5e8f7;
    padding: 24px 0
}

.layout-ref .r-contact-band h2 {
    font-size: 26px;
    color: var(--r-blue);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 12px
}

.layout-ref .r-contact-item {
    display: flex;
    align-items: center;
    color: var(--r-blue);
    font-weight: 800
}

.layout-ref .r-contact-item i {
    font-size: 27px;
    margin-right: 10px
}

.layout-ref footer {
    background: #0750a7;
    color: #fff;
    padding: 22px 0 12px
}

.layout-ref footer a {
    color: #fff;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    margin-right: 18px
}

.layout-ref .footer-brand img {
    height: 56px;
    background: #fff;
    padding: 4px
}

.layout-ref .footer-contact {
    text-align: right;
    font-size: 13px;
    font-weight: 700
}

.layout-ref .r-hero-photo {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    background: #fff
}

.layout-ref .r-hero-photo:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,#fff 0%,#fff 38%,rgba(255,255,255,.92) 46%,rgba(255,255,255,.28) 61%,rgba(255,255,255,0) 73%),url('../img/home/gioi-thieu-mat-troi.jpg') right center/58% auto no-repeat
}

.layout-ref .r-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 48px;
    padding-bottom: 58px
}

.layout-ref .r-breadcrumb {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--r-blue);
    margin-bottom: 26px
}

.layout-ref .r-breadcrumb a {
    color: var(--r-blue)
}

.layout-ref .r-hero-photo h1 {
    font-size: 58px;
    line-height: .98;
    color: var(--r-blue);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 12px;
    max-width: 520px
}

.layout-ref .r-hero-sub {
    font-size: 22px;
    line-height: 1.35;
    color: var(--r-blue);
    font-weight: 800;
    text-transform: uppercase;
    max-width: 520px
}

.layout-ref .r-hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap
}

@media(max-width: 991.98px) {
    .layout-ref .navbar {
        min-height:auto
    }

    .layout-ref .navbar-brand img {
        height: 60px
    }

    .layout-ref .r-hero-photo:before {
        background: linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 55%,rgba(255,255,255,.42) 100%),url('../img/home/gioi-thieu-mat-troi.jpg') right center/cover no-repeat
    }

    .layout-ref .r-hero-photo h1 {
        font-size: 46px
    }

    .layout-ref .r-hero-sub {
        font-size: 18px
    }

    .layout-ref .footer-contact {
        text-align: left;
        margin-top: 14px
    }
}

@media(max-width: 767.98px) {
    .layout-ref .r-container {
        padding:0 18px
    }

    .layout-ref .r-hero-photo {
        min-height: 290px
    }

    .layout-ref .r-hero-inner {
        padding-top: 32px;
        padding-bottom: 40px
    }

    .layout-ref .r-hero-photo h1 {
        font-size: 38px
    }

    .layout-ref .r-heading {
        font-size: 23px
    }
}


.contact-ref .contact-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px
}

.contact-ref .contact-card {
    border: 2px solid var(--r-line);
    border-radius: 11px;
    padding: 22px 12px;
    text-align: center;
    color: var(--r-blue);
    font-weight: 800
}

.contact-ref .contact-card i {
    font-size: 48px;
    display: block;
    margin-bottom: 10px
}

.contact-ref .branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px
}

.contact-ref .branch {
    padding-right: 26px
}

.contact-ref .branch+ .branch {
    border-left: 1px solid #d9e8f5;
    padding-left: 34px
}

.contact-ref .branch h3 {
    font-size: 25px;
    color: var(--r-blue);
    font-weight: 900;
    text-transform: uppercase
}

.contact-ref .branch-name {
    font-size: 18px;
    color: var(--r-blue);
    font-weight: 900;
    text-transform: uppercase
}

.contact-ref .contact-form {
    border: 2px solid var(--r-line);
    border-radius: 12px;
    padding: 20px
}

.contact-ref .contact-form .form-row {
    align-items: center
}

.contact-ref .contact-form label {
    font-size: 12px;
    font-weight: 800;
    color: #385879
}

.contact-ref .route-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    align-items: stretch;
    gap: 8px
}

.contact-ref .route-card {
    border: 2px solid var(--r-line);
    border-radius: 10px;
    padding: 14px 9px;
    text-align: center;
    color: var(--r-blue);
    font-weight: 800
}

.contact-ref .route-card .n {
    width: 30px;
    height: 30px;
    background: var(--r-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px
}

.contact-ref .route-card i {
    font-size: 37px;
    display: block;
    margin-bottom: 8px
}

.contact-ref .route-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--r-blue);
    font-size: 22px
}

.contact-ref .privacy-list {
    border: 1.5px solid var(--r-line);
    border-radius: 10px;
    padding: 18px 22px
}

.contact-ref .privacy-list i {
    color: var(--r-blue);
    margin-right: 8px
}

.mapEmbed iframe{
	width:100%;
}
.route-grid>.route-arrow:last-child{display:none}
@media(max-width: 991.98px) {
    .contact-ref .branch-grid {
        grid-template-columns:1fr
    }

    .contact-ref .branch+ .branch {
        border-left: 0;
        padding-left: 0
    }

    .contact-ref .route-grid {
        grid-template-columns: 1fr
    }

    .contact-ref .route-arrow {
        transform: rotate(90deg);
        height: 28px
    }
}

@media(max-width: 575.98px) {
    .contact-ref .contact-cards {
        grid-template-columns:1fr
    }
}
