/*
 Theme Name:   Jaepakmd Theme
 Theme URI:    https://jaepakmd.com/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Template:     bricks
 Version:      1.0
*/

/* cyrillic-ext */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCFPrEHJA.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* cyrillic */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCMPrEHJA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* vietnamese */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCHPrEHJA.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
}

/* latin-ext */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCGPrEHJA.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/raleway/v28/1Ptxg8zYS_SKggPN4iEgvnHyvveLxVvaorCIPrE.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --font-sans: 'Raleway', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: monospace;

    --primary: #5a91bc;
    --warning: #dc2626;
    --success: #7bdcb5;

    --surface-1: hsl(210, 10%, 98%);
    --surface-2: hsl(210, 10%, 96%);
    --surface-3: hsl(210, 10%, 94%);
    --surface-4: hsl(210, 10%, 92%);
    --surface-5: hsl(210, 10%, 90%);

    --display-1: calc(1.625rem + 4.5vw);
    --display-2: calc(1.575rem + 3.9vw);
    --display-3: calc(1.525rem + 3.3vw);
    --display-4: calc(1.475rem + 2.7vw);

    --fs-1: calc(1.375rem + 1.5vw);
    --fs-2: calc(1.325rem + 0.9vw);
    --fs-3: calc(1.3rem + 0.6vw);
    --fs-4: calc(1.275rem + 0.3vw);

    --text-1: #000;
    --text-2: #000;
    --text-3: #6b7280;
    --text-4: #9ca3af;
}

html {
    font-size: 100%;
}

body {
    font-size: 1rem;
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--text-2);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-1);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

h1 {
    font-size: var(--fs-1);
}

h2 {
    font-size: var(--fs-2);
}

h3 {
    font-size: var(--fs-3);
}

h4 {
    font-size: var(--fs-4);
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

blockquote {
    font-size: inherit;
    font-family: inherit;
    font-style: italic;
}

blockquote cite {
    opacity: inherit;
    text-transform: none;
}

strong {
    color: var(--text-1);
}

.font-serif {
    font-family: var(--font-serif);
}

.half-container,
.brxe-container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.btn {
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    padding: 0.5em 1.25rem;
    display: inline-block;
    border: 1px solid transparent;
    background-color: #fff;
    text-decoration: none;
    color: var(--primary);
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.75em 1.5rem;
}

.btn:hover {
    background-color: var(--primary);
    color: #fff;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary);
}

.btn-secondary {
    background-color: #e5e7eb;
    border-color: #e5e7eb;
    color: #374151;
}

.btn-secondary:hover {
    background-color: #374151;
    border-color: #374151;
    color: #e5e7eb;
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
    color: #374151;
}

.btn-success:hover {
    background-color: #fff;
    color: var(--success);
}

.btn-clear {
    background-color: transparent;
    padding: 0;
    border: 0;
    color: var(--primary);
}

.btn-clear:after {
    content: "\2192";
    margin-inline-start: 0.5rem;
}

.btn-clear:hover {
    color: var(--primary);
    background-color: transparent;
}

.bg-dark {
    background-color: #111827;
}

.bg-dark-2 {
    background-color: #314F66;
}

.bg-dark-3 {
    background-color: #374151;
}

.bg-white {
    background-color: #fff;
}

.bg-light {
    background-color: #F0F6FA;
}

.hover-bg-light:hover {
    background-color: #d8e8f4;
}

.bg-black,
.bg-dark,
.bg-dark-2,
.bg-dark-3 {
    --text-1: #fff;
    color: #d1d5db;
}

.bg-white,
.bg-light {
    --text-1: #111827;
    color: #4b5563;
}

.bg-primary {
    background-color: #4B799D;
    --text-1: #fff;
    color: #f0f6fa;
}

.bg-info {
    background-color: #93bddf;
    --text-1: #314f66;
    color: #314f66;
}

.bg-info-2 {
    background-color: #D3E3FA;
}

.bg-surface-1 {
    background-color: var(--surface-1);
}

.bg-surface-2 {
    background-color: var(--surface-2);
}

.bg-surface-3 {
    background-color: var(--surface-3);
}

.bg-surface-4 {
    background-color: var(--surface-4);
}

.bg-surface-5 {
    background-color: var(--surface-5);
}

.bg-none {
    background: none;
}

.border {
    border: 1px solid currentColor;
}

.border-t {
    border-top: 1px solid #ddd;
}

.border-b {
    border-bottom: 1px solid #ddd;
}

.border-s {
    border-left: 1px solid currentColor;
}

.border-e {
    border-right: 1px solid currentColor;
}

.border-3 {
    border-width: 3px;
}

.border-5 {
    border-width: 5px;
}

.border-8 {
    border-width: 8px;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded {
    border-radius: 0.375rem;
}

.rounded-lg {
    border-radius: .75rem;
}

.rounded-lg-ts {
    border-top-left-radius: .75rem;
}

.d-lg-block {
    display: none;
}

.display-1 {
    font-size: var(--display-1);
    line-height: 1;
}

.display-2 {
    font-size: var(--display-2);
    line-height: 1;
}

.display-3 {
    font-size: var(--display-3);
    line-height: 1;
}

.display-4 {
    font-size: var(--display-4);
    line-height: 1;
}

.fs-1 {
    font-size: var(--fs-1);
}

.fs-2 {
    font-size: var(--fs-2);
}

.fs-3 {
    font-size: var(--fs-3);
}

.fs-4 {
    font-size: var(--fs-4);
}

.fs-5 {
    font-size: 1.25rem;
}

.fs-base {
    font-size: 1.125rem;
}

.fs-6 {
    font-size: 1rem;
}

.fs-7 {
    font-size: 0.875rem;
}

.fs-8 {
    font-size: 0.75rem;
}

.fst-italic {
    font-style: italic;
    font-family: var(--font-serif);
    letter-spacing: -0.025em;
}

.fw-lighter {
    font-weight: 100;
}

.fw-light {
    font-weight: 300;
}

.fw-normal {
    font-weight: 400;
}

.fw-bold {
    font-weight: 700;
    color: var(--text-1);
}

.hover-text-primary:hover,
.text-primary {
    color: var(--primary);
}

.text-primary-light {
    color: #c7d2fe;
}

.text-warning {
    color: var(--warning);
}

.text-white,
.hover-text-white:hover {
    color: #fff;
}

.text-light {
    color: var(--text-4);
}

.text-secondary {
    color: var(--text-3);
}

.text-black {
    color: var(--text-1);
}

.text-spacing {
    letter-spacing: .1rem;
}

.text-center {
    text-align: center;
}

.d-none {
    display: none;
}

.flex-row {
    flex-direction: row;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-nowrap {
    flex-wrap: nowrap;
}

.flex-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: end;
}

.items-stretch {
    align-items: stretch;
}

.self-end {
    align-self: end;
}


.mw-1 {
    max-width: 25ch;
}

.mw-2 {
    max-width: 35ch;
}

.mw-3 {
    max-width: 45ch;
}

.mw-4 {
    max-width: 55ch;
}

.mw-5 {
    max-width: 60ch;
}

.mw-6 {
    max-width: 65ch;
}

.mw-7 {
    max-width: 75ch;
}

.mw-8 {
    max-width: 80ch;
}

.mw-9 {
    max-width: 95ch;
}

.mw-10 {
    max-width: 105ch;
}

.p-1,
.py-1,
.pt-1 {
    padding-top: 0.25rem;
}

.p-2,
.py-2,
.pt-2 {
    padding-top: 0.5rem;
}

.p-3,
.py-3,
.pt-3 {
    padding-top: 1rem;
}

.p-4,
.py-4,
.pt-4 {
    padding-top: 1.5rem;
}

.p-5,
.py-5,
.pt-5 {
    padding-top: 3rem;
}

.p-6,
.py-6,
.pt-6 {
    padding-top: 4.5rem;
}

.p-7,
.py-7,
.pt-7 {
    padding-top: 6rem;
}

.p-8,
.py-8,
.pt-8 {
    padding-top: 7.5rem;
}

.p-0,
.py-0,
.pt-0 {
    padding-top: 0;
}

.p-1,
.px-1,
.pe-1 {
    padding-inline-end: 0.25rem;
}

.p-2,
.px-2,
.pe-2 {
    padding-inline-end: 0.5rem;
}

.p-3,
.px-3,
.pe-3 {
    padding-inline-end: 1rem;
}

.p-4,
.px-4,
.pe-4 {
    padding-inline-end: 1.5rem;
}

.p-5,
.px-5,
.pe-5 {
    padding-inline-end: 3rem;
}

.p-6,
.px-6,
.pe-6 {
    padding-inline-end: 4.5rem;
}

.p-7,
.px-7,
.pe-7 {
    padding-inline-end: 6rem;
}

.p-8,
.px-8,
.pe-8 {
    padding-inline-end: 7.5rem;
}

.p-0,
.px-0,
.pe-0 {
    padding-inline-end: 0;
}

.p-1,
.py-1,
.pb-1 {
    padding-bottom: 0.25rem;
}

.p-2,
.py-2,
.pb-2 {
    padding-bottom: 0.5rem;
}

.p-3,
.py-3,
.pb-3 {
    padding-bottom: 1rem;
}

.p-4,
.py-4,
.pb-4 {
    padding-bottom: 1.5rem;
}

.p-5,
.py-5,
.pb-5 {
    padding-bottom: 3rem;
}

.p-6,
.py-6,
.pb-6 {
    padding-bottom: 4.5rem;
}

.p-7,
.py-7,
.pb-7 {
    padding-bottom: 6rem;
}

.p-8,
.py-8,
.pb-8 {
    padding-bottom: 7.5rem;
}

.p-0,
.py-0,
.pb-0 {
    padding-bottom: 0;
}

.p-1,
.px-1,
.ps-1 {
    padding-inline-start: 0.25rem;
}

.p-2,
.px-2,
.ps-2 {
    padding-inline-start: 0.5rem;
}

.p-3,
.px-3,
.ps-3 {
    padding-inline-start: 1rem;
}

.p-4,
.px-4,
.ps-4 {
    padding-inline-start: 1.5rem;
}

.p-5,
.px-5,
.ps-5 {
    padding-inline-start: 3rem;
}

.p-6,
.px-6,
.ps-6 {
    padding-inline-start: 4.5rem;
}

.p-7,
.px-7,
.ps-7 {
    padding-inline-start: 6rem;
}

.p-8,
.px-8,
.ps-8 {
    padding-inline-start: 7.5rem;
}

.p-0,
.px-0,
.ps-0 {
    padding-inline-start: 0;
}

.m-1,
.my-1,
.mb-1,
.sb-1>* {
    margin-bottom: 0.25rem;
}

.m-2,
.my-2,
.mb-2,
.sb-2>* {
    margin-bottom: 0.5rem;
}

.m-3,
.my-3,
.mb-3,
.sb-3>* {
    margin-bottom: 1rem;
}

.m-4,
.my-4,
.mb-4,
.sb-4>* {
    margin-bottom: 1.5rem;
}

.m-5,
.my-5,
.mb-5,
.sb-5>* {
    margin-bottom: 3rem;
}

.m-6,
.my-6,
.mb-6 {
    margin-bottom: 4.5rem;
}

.m-7,
.my-7,
.mb-7 {
    margin-bottom: 6rem;
}

.m-8,
.my-8,
.mb-8 {
    margin-bottom: 7.5rem;
}

.m-0,
.my-0,
.mb-0 {
    margin-bottom: 0;
}

.m-auto,
.my-auto,
.mb-auto {
    margin-bottom: auto;
}

.m-1,
.mx-1,
.me-1,
.se-1>* {
    margin-inline-end: 0.25rem;
}

.m-2,
.mx-2,
.me-2,
.se-2>* {
    margin-inline-end: 0.5rem;
}

.m-3,
.mx-3,
.me-3,
.se-3>* {
    margin-inline-end: 1rem;
}

.m-4,
.mx-4,
.me-4,
.se-4>* {
    margin-inline-end: 1.5rem;
}

.m-5,
.mx-5,
.me-5,
.se-5>* {
    margin-inline-end: 3rem;
}

.m-6,
.mx-6,
.me-6 {
    margin-inline-end: 4.5rem;
}

.m-7,
.mx-7,
.me-7 {
    margin-inline-end: 6rem;
}

.m-8,
.mx-8,
.me-8 {
    margin-inline-end: 7.5rem;
}

.m-0,
.mx-0,
.me-0 {
    margin-inline-end: 0;
}

.m-auto,
.mx-auto,
.me-auto {
    margin-inline-end: auto;
}

.m-1,
.mx-1,
.ms-1,
.sx-1>*+* {
    margin-inline-start: 0.25rem;
}

.m-2,
.mx-2,
.ms-2,
.sx-2>*+* {
    margin-inline-start: 0.5rem;
}

.m-3,
.mx-3,
.ms-3,
.sx-3>*+* {
    margin-inline-start: 1rem;
}

.m-4,
.mx-4,
.ms-4,
.sx-4>*+* {
    margin-inline-start: 1.5rem;
}

.m-5,
.mx-5,
.ms-5,
.sx-5>*+* {
    margin-inline-start: 3rem;
}

.m-6,
.mx-6,
.ms-6 {
    margin-inline-start: 4.5rem;
}

.m-7,
.mx-7,
.ms-7 {
    margin-inline-start: 6rem;
}

.m-8,
.mx-8,
.ms-8 {
    margin-inline-start: 7.5rem;
}

.m-0,
.mx-0,
.ms-0 {
    margin-inline-start: 0;
}

.m-auto,
.mx-auto,
.ms-auto {
    margin-inline-start: auto;
}

.m-1,
.my-1,
.mt-1,
.sy-1>*+* {
    margin-top: 0.25rem;
}

.m-2,
.my-2,
.mt-2,
.sy-2>*+* {
    margin-top: 0.5rem;
}

.m-3,
.my-3,
.mt-3,
.sy-3>*+* {
    margin-top: 1rem;
}

.m-4,
.my-4,
.mt-4,
.sy-4>*+* {
    margin-top: 1.5rem;
}

.m-5,
.my-5,
.mt-5,
.sy-5>*+* {
    margin-top: 3rem;
}

.m-6,
.my-6,
.mt-6 {
    margin-top: 4.5rem;
}

.m-7,
.my-7,
.mt-7 {
    margin-top: 6rem;
}

.m-8,
.my-8,
.mt-8 {
    margin-top: 7.5rem;
}

.m-0,
.my-0,
.mt-0 {
    margin-top: 0;
}

.m-auto,
.my-auto,
.mt-auto {
    margin-top: auto;
}

.w-auto {
    width: auto;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.shadow {
    box-shadow: 0 .5rem 1.25rem hsla(0, 0%, 15%, 0.06);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.list-style-none {
    list-style: none;
    padding-inline-start: 0;
}

.ratio {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
}

.ratio>* {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ratio-nofit>img {
    height: auto;
}

.ratio>img {
    object-fit: cover;
}

.ratio-1x1 {
    padding-bottom: 100%;
}

.ratio-4x3 {
    padding-bottom: 75%;
}

.ratio-9x7 {
    padding-bottom: 62%;
}

.ratio-16x9 {
    padding-bottom: 56.25%;
}

.ratio-21x9 {
    padding-bottom: 43%;
}

.ratio-3x4 {
    padding-bottom: 135%;
}

/* Custom Css */

.brxe-text-basic a,
.brxe-text a {
    color: var(--primary);
}

.brx-icon {
    display: inline-block;
    height: 1em;
    vertical-align: -0.15em;
    width: 1em;
    stroke-width: 1.5;
}

body.bricks-is-frontend :focus {
    outline: none;
}

.divider .line {
    border-top: 5px solid var(--warning);
    width: 6rem;
}

.wp-caption {
    background: none;
    border: none;
    width: 100% !important;
    max-width: 100%;
    padding: 0;
    margin: 0;
    text-align: inherit;
}

.wp-caption.alignnone {
    margin: 1.5rem 0;
}

.vid-caption::before,
.img-caption::before,
.bricks-image-caption::before {
    content: "";
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
    margin-inline-end: 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: top;
}

.img-caption::before,
.bricks-image-caption::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'%3E%3C/path%3E%3Ccircle cx='12' cy='13' r='4'%3E%3C/circle%3E%3C/svg%3E");
}

.vid-caption::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' class='feather feather-video'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
}

.bricks-image-caption {
    background: none;
    position: relative !important;
    padding: 0;
}

.vid-caption,
.img-caption,
.text-caption,
.bricks-image-caption,
.wp-caption-text {
    margin: .5rem 0 0;
    color: inherit;
    text-align: start;
    font-size: 0.9rem;
}

.img-caption-2 {
    bottom: 0;
    height: auto;
    background-color: #374151;
    top: auto;
    color: #fff;
    padding: 1.5rem;
}

#brx-header {
    background-color: #fff;
    border-bottom: 1px solid #dddedf;
    box-shadow: 0 .25rem 1rem rgba(0,0,0,.15);
}

#brx-header .bricks-mobile-menu .brx-megamenu {
	display:none;
}


#brx-header .bricks-nav-menu>li>*:first-child {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: relative;
}

#brx-header .bricks-nav-menu>li>*:first-child:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    transition: width .3s;
    width: 0;
    height: 4px;
    background-color: rgba(239, 68, 68, .5);
}

#brx-header .bricks-nav-menu>li.current-menu-item>*:first-child:after,
#brx-header .bricks-nav-menu>li>*:first-child:hover:after {
    width: 100%;
}

#brx-footer {
    background-color: #1F2937;
    --text-1: #9ca3af;
    color: #9ca3af;
}

#brx-footer .sy-3 li+li {
    margin-top: 1rem;
}

#brx-footer a {
    color: #d1d5db;
}

#brx-footer a:hover {
    color: #fff;
}

#brx-footer .brxe-social-icons a,
#brx-header .brxe-social-icons a {
    padding: .5rem;
    font-size: 1.25rem;
}

#brx-header .bricks-site-logo {
    width: 115px;
}

#brx-header .bricks-mobile-menu-wrapper {
    padding-top: 5rem;
}

#brx-header .bricks-mobile-menu-wrapper::before {
    background-color: #111827;
}

#brx-header .bricks-mobile-submenu-toggle {
    color: #fff;
}

#brx-footer>*+* {
    border-top: 1px solid #374151;
}

.prose-content {
    display: block;
    width: 100%;
}

.prose-content a {
    text-decoration-color: var(--primary);
    text-decoration-line: underline;
}

.prose-content *+h1,
.prose-content *+h2,
.prose-content *+h3,
.prose-content *+h4,
.prose-content *+h5,
.prose-content *+h6 {
    scroll-margin-top: 4rem;
    margin-top: 2rem;
}

.prose-content h1,
.prose-content h2,
.prose-content h3,
.prose-content h4,
.prose-content h5,
.prose-content h6 {
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.brxe-text li+li,
.prose-content li+li {
    margin-top: .5rem;
}

.gallery-scrolling,
.gallery-scrolling__container,
.gallery-scrolling__img,
.gallery-scrolling__content {
    position: relative;
}

.gallery-scrolling__content {
    padding-top: 15rem;
    padding-bottom: 2rem;
}

.gallery-scrolling__content .bricks-layout-wrapper[data-layout=grid] {
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.gallery-scrolling__content .bricks-layout-item {
    width: 12rem;
    border-radius: .75rem;
    overflow: hidden;
}

.gallery-scrolling__img>.tag {
    height: 100%;
    width: 100%;
}

.gallery-scrolling__img>.tag>img {
    object-fit: cover;
}

.nav-gallery {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    z-index: 1;
    position: relative;
}

.nav-gallery__container {
    overflow-x: auto;
    text-align: center;
    display: block;
    padding-right: .75rem;
    padding-left: .75rem;
    white-space: nowrap;
}

.nav-gallery__item {
    padding-top: 0.75rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    border-bottom: 4px solid transparent;
    font-size: 1.30rem;
    color: var(--text-3);
}

.nav-gallery__item:hover {
    color: var(--text-1);
}

.nav-gallery__active {
    border-bottom-color: var(--warning);
    color: var(--text-1);
}

.gallery-header.bricks-layout-wrapper[data-layout=grid] {
    gap: 1rem;
}

.gallery-header .bricks-layout-item .image {
    border-radius: .5rem;
    overflow: hidden;
    background-position: center top;
}

.gallery-header .bricks-layout-item:nth-child(2),
.gallery-header .bricks-layout-item:nth-child(5) {
    transform: translateY(2rem);
}

*+figure.brxe-image {
    margin-top: 1.5rem;
}

:where(.brxe-nav-menu) .bricks-nav-menu .sub-menu {
    line-height: 3;
}

.mega-menu {
    position: absolute;
    top: 100%;
    display: none;
    left: 0;
    right: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mega-menu[data-show] {
    display: block;
}

.postid-9 .brx-body .mega-menu {
    position: relative;
    display: block;
}

.nav-on-sidebar ul {
    margin-top: 0;
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.nav-on-sidebar li {
    display: inline-block;
    padding: .5rem .75rem;
    font-size: 1.25rem;
    margin-top: 0;
}

.nav-on-sidebar li+li {
    margin-top: 0;
}

.nav-on-sidebar .nav-active,
.nav-on-sidebar li:hover {
    border-color: var(--warning);
}

.nav-on-sidebar a {
    color: #9ca3af;
}

.nav-on-sidebar .nav-active a,
.nav-on-sidebar li:hover a {
    color: #1f2937;
}

.btn-calendar-mobile {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background-color: #4caf50;
    padding: .5rem;
    color: #fff !important;
    border-radius: .75rem;
    font-size: 1.5rem;
}

.bricks-mobile-menu-toggle .bar-center {
    display: none;
}

.bricks-mobile-menu-toggle .bar-top,
.bricks-mobile-menu-toggle .bar-bottom,
.bricks-mobile-menu-toggle:hover .bar-top,
.bricks-mobile-menu-toggle:hover .bar-bottom {
    width: 30px;
    height: 3px;
}

.rbs_gallery_button {
    text-align: center;
}

.robo-gallery-wrap:not(#no-robo-galery) .rbs_gallery_button .button {
    background-color: #eee;
    border-radius: 0.3rem;
    color: #666;
    transition: background-color .3s, transform .3s, color .3s;
}

.robo-gallery-wrap:not(#no-robo-galery) .rbs_gallery_button .button.active {
    transition-duration: .3s;
    transform: translateY(0);
    background-color: #eee;
    color: #bbb;
}

.robo-gallery-wrap:not(#no-robo-galery) .rbs_gallery_button .button:hover {
    transform: translateY(2px);
    background-color: #fff;
    color: #666;
}

.popup {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    display: none;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}


input:checked ~ .popup {
    display: flex;
}

.popup-backdrop {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    cursor: pointer;
    bottom: 0;
}

.popup-backdrop  ~ * {
    position: relative;
}

.popup-close {
    position: absolute;
    right: 1rem;
    line-height: 1;
    cursor: pointer;
    top: 1rem;
    margin: 0;
    font-size: 2rem;
}

input:checked ~ .notif {
    display: none;
}

/* Custom Css End */

@media (min-width: 479px) {

    .half-container,
    .brxe-container {
        width: 479px;
    }
}

@media (min-width: 768px) {

    .half-container,
    .brxe-container {
        width: 768px;
    }

    .fs-md-1 {
        font-size: var(--fs-1);
    }

    .fs-md-2 {
        font-size: var(--fs-2);
    }

    .prose-content h2,
    .fs-md-3 {
        font-size: var(--fs-3);
    }

    .prose-content h3,
    .fs-md-4 {
        font-size: var(--fs-4);
    }

    .fs-md-5 {
        font-size: 1.25rem;
    }

    .prose-content,
    .fs-md-base {
        font-size: 1.125rem;
        line-height: 1.7777778;
    }

    .fs-md-6 {
        font-size: 1rem;
    }

    .fs-md-7 {
        font-size: 0.85rem;
    }

    .pe-md-3 {
        padding-inline-end: 1rem;
    }

    .sy-md-0>* {
        margin-top: 0;
    }

    .me-md-5 {
        margin-inline-end: 3rem;
    }

    .btn-md-big {
        padding: 1rem 1.5rem;
        font-size: 1.5rem;
    }

    .ratio-md-1x1 {
        padding-bottom: 100%;
    }

    .gallery-header.bricks-layout-wrapper[data-layout=grid] {
        gap: 2rem;
    }


    .bg-hero,
    .bg-hero-2,
    .bg-hero-3 {
        position: relative;
        overflow: hidden;
    }

    .bg-hero>*,
    .bg-hero-2>*,
    .bg-hero-3>* {
        z-index: 1;
    }

    .bg-hero:before {
        border-radius: .75rem 0 0 .75rem;
        position: absolute;
        content: "";
        background-color: #f9fafb;
        left: 20rem;
        right: 0;
        bottom: 0;
        z-index: 0;
        top: 0;
    }

    .bg-hero:after {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='404' height='392' fill='none' viewBox='0 0 404 392'%3E%3Cdefs%3E%3Cpattern id='dot-pattern' x='0' y='0' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Crect x='0' y='0' width='4' height='4' fill='%23e5e7eb'%3E%3C/rect%3E%3C/pattern%3E%3C/defs%3E%3Crect width='404' height='392' fill='url(%23dot-pattern)'%3E%3C/rect%3E%3C/svg%3E");
        top: 1rem;
        position: absolute;
        left: 0;
        z-index: 0;
        width: 404px;
        height: 392px;
    }

    .bg-hero-2:before {
        position: absolute;
        content: "";
        background-color: #f9fafb;
        left: 50%;
        margin-left: 20rem;
        right: 0;
        bottom: 0;
        z-index: 0;
        top: 0;
    }

    .bg-hero-2:after {
        content: "";
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='404' height='392' fill='none' viewBox='0 0 404 392'%3E%3Cdefs%3E%3Cpattern id='dot-pattern' x='0' y='0' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Crect x='0' y='0' width='4' height='4' fill='%23e5e7eb'%3E%3C/rect%3E%3C/pattern%3E%3C/defs%3E%3Crect width='404' height='392' fill='url(%23dot-pattern)'%3E%3C/rect%3E%3C/svg%3E");
        top: 5rem;
        position: absolute;
        right: 50%;
        left: 50%;
        z-index: 0;
        width: 404px;
        margin-left: 16.5rem;
        height: 392px;
    }

    .bg-after-0:after {
        top: 0;
    }

    .bg-hero-3:before {
        border-radius: 0 1rem 1rem 0;
        position: absolute;
        content: "";
        background-color: #f9fafb;
        left: 0;
        margin-right: 20rem;
        right: 50%;
        bottom: 0;
        z-index: 0;
        top: 0;
    }
}

@media (min-width: 992px) {
    :root {
        --display-4: 3.75rem;
        --fs-1: 3rem;
        --fs-2: 2.25rem;
        --fs-3: 1.875rem;
        --fs-4: 1.5rem;
    }

    .brxe-container {
        width: 992px;
    }

    .half-container {
        width: 496px;
    }

    .d-lg-block {
        display: block;
    }

    .p-lg-5,
    .py-lg-5,
    .pt-lg-5 {
        padding-top: 3rem;
    }

    .p-lg-5,
    .py-lg-5,
    .pb-lg-5 {
        padding-bottom: 3rem;
    }

    .p-lg-5,
    .px-lg-5,
    .ps-lg-5 {
        padding-inline-start: 3rem;
    }

    .p-lg-5,
    .px-lg-5,
    .pe-lg-5 {
        padding-inline-end: 3rem;
    }

    .py-lg-6,
    .pt-lg-6 {
        padding-top: 4.5rem;
    }

    .py-lg-6,
    .pb-lg-6 {
        padding-bottom: 4.5rem;
    }

    .px-lg-6,
    .ps-lg-6 {
        padding-inline-start: 4.5rem;
    }

    .px-lg-6,
    .pe-lg-6 {
        padding-inline-end: 4.5rem;
    }

    .me-lg-4 {
        margin-inline-end: 1.5rem;
    }

    .ms-lg-5 {
        margin-inline-start: 3rem;
    }

    .me-lg-5 {
        margin-inline-end: 3rem;
    }

    .mt-lg-5 {
        margin-top: 3rem;
    }

    .order-lg-1 {
        order: 1;
    }

    .mw-lg-2 {
        max-width: 35ch;
    }

    .sticky-lg-t {
        position: sticky;
        top: 8%;
    }

    .btn-calendar-mobile {
        display: none;
    }

    .nav-on-sidebar li {
        border-inline-start: 0.35rem solid #eee;
        display: block;
    }

    #brx-header .brxe-social-icons a[aria-label="message"] {
        display: none;
    }

    .gallery-scrolling__img>.tag {
        position: absolute !important;
        left: 0;
        top: 0;
    }

    .gallery-scrolling__img>.tag>img {
        border-radius: .75rem .75rem 0 0;
    }

    .gallery-scrolling:before {
        content: "";
        height: 5rem;
        position: absolute;
        left: 0;
        right: 0;
        background-color: #fff;
    }

}

@media (min-width: 1279px) {
    .brxe-container {
        width: 1279px;
    }

    .half-container {
        width: 639px;
    }

    .order-xl-1 {
        order: 1;
    }

    .mx-xl-0 {
        margin-left: 0;
        margin-right: 0;
    }

    .bricks-nav-menu .sub-menu {
        display: none;
    }

    .consultation-box {
        margin-left: -10rem;
        margin-right: -10rem;
    }
}

@media (min-width: 1536px) {
    .brxe-container {
        width: 80rem;
    }

    .half-container {
        width: 40em;
    }

    .fs-xxl-2 {
        font-size: var(--fs-2);
    }

    .fs-xxl-1 {
        font-size: var(--fs-1);
        line-height: 1.125;
    }
}

@media (max-width: 1278px) {
    .flex-xl-wrap {
        flex-wrap: wrap;
    }

    #brx-header .bricks-nav-menu-wrapper {
        display: none;
    }

    #brx-header .bricks-mobile-menu-toggle {
        display: block;
        color: var(--text-1);
        width: 30px;
    }

}

@media (max-width: 991px) {
    .flex-lg-wrap {
        flex-wrap: wrap;
    }

    .half-container {
        margin-left: auto;
        margin-right: auto;
    }

    #brx-header .brxe-social-icons a[aria-label="search"],
    #brx-header .brxe-social-icons a[aria-label="calendar"] {
        display: none;
    }

    #brx-header .brxe-social-icons a {
        background-color: var(--primary);
        color: #fff;
        margin-left: 0.5rem;
        border-radius: 2rem;
        padding: 0;
        font-size: 1.35rem;
        width: 32px;
        line-height: 0;
        height: 32px;
		display: flex;
		justify-content: center;
		align-items: center;
    }

    #brx-header .brxe-social-icons svg {
        fill: currentColor;
        stroke: none;
    }

    #brx-header .brxe-social-icons [aria-label="message"] svg {
        stroke: var(--primary);
        stroke-width: 1;
    }

    .gallery-scrolling__img,
    .gallery-scrolling__img::after {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 8rem;
        top: 0;
        overflow: hidden;
    }

    .gallery-scrolling__img:after {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, .4) 30%, rgba(0, 0, 0, .4) 30%, rgba(0, 0, 0, 1) 100%);
        content: "";
        bottom: 0;
    }

    .nav-on-sidebar {
        border-bottom: 1px solid #eee;
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    }

    .nav-on-sidebar ul {
        white-space: nowrap;
        overflow-x: auto;
        padding-left: .75rem;
        padding-right: .75rem;
    }

    .nav-on-sidebar li {
        padding-top: .75rem;
        border-bottom: .35rem solid transparent;
    }
}

@media (max-width: 478px) {
    .full-width {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        width: auto;
        min-width: 100%;
        max-width: calc(100% + 3rem);
    }

    .full-width img {
        border-radius: 0;
    }
}