/* CSS variables */
:root { --dark-pink: #fd3666; --c4k-pink: #fa5b81; --c4k-darkblue: #5a60ec; --c4k-black: #272727; }

/* Hero banner search */
.childcare-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
    width: 100vw;
    padding-left: 64px;
}
.childcare-overlay {
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
}
.childcare-banner {
    width: max-content;
    border-radius: 50px;
    height: 90px;
    padding: 9px 10px 9px 50px;
    background-color: white;
    display: flex;
    align-items: center;
    flex-direction: row;
}
.childcare-suburb {
    margin-left: 35px;
    margin-right: 8px;
}

/* Input group */
.input-group { position: relative; }
.input-group .icon-block { position: absolute; top: 0.75rem; right: 0.5rem; width: 24px; height: 24px; }
.input-group.input-group-line { width: 280px; }
.input-group.input-group-line input {
    background: transparent; padding-left: 0; padding-bottom: 5px;
    min-width: 235px; font-size: 18px; border-radius: 0; border-width: 0;
    border-bottom-width: 1px; border-color: #272727;
}
.input-group input:focus { box-shadow: none; }
.input-group input { width: 100%; border-radius: 9999px; font-size: 14px; padding: 17px 26px; }
input::-moz-placeholder, input::placeholder { color: #969696; }

/* Custom select dropdown */
.custom-select select { display: none; }
.select-selected {
    overflow: hidden; text-overflow: ellipsis; background-color: transparent;
    font-size: 14px; color: #272727; position: relative;
    display: flex; align-items: center; padding: 2px 0; gap: 8px; height: 100%;
}
.select-selected:after {
    position: absolute; content: "\203A"; transform: rotate(90deg);
    right: 5px; font-size: 28px; color: #272727;
    background-color: white; border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}
.select-items div, .select-selected-blog, .select-items div, .select-selected {
    color: #3a3a3a; padding: 2px 18px; cursor: pointer;
    white-space: nowrap; font-family: "Poppins"; width: 100%; font-size: 16px;
}
.select-selected-blog { padding: 0; }
.select-items {
    position: absolute; background-color: white; top: 100%; z-index: 99;
    width: 235px; max-height: 235px; font-size: 11px; font-weight: 500;
    overflow-x: hidden; overflow-y: auto; border-radius: 8px;
    padding-top: 10px; padding-bottom: 10px;
    box-shadow: 0px 4px 18px rgba(0,0,0,0.1);
    animation: growDown 400ms ease-in-out forwards; transform-origin: top center;
}
.select-items::-webkit-scrollbar { width: 4px; }
.select-items::-webkit-scrollbar-track { background: white; }
.select-items::-webkit-scrollbar-thumb { background: #ebebeb !important; }
.select-hide { display: none; }
.select-items div:hover, .same-as-selected { background-color: #f7f7f7; color: #fa5b81; font-weight: 700; }
.custom-select-childcare { height: 40px !important; width: 100% !important; border-right: none !important; border-bottom: 1px solid #272727 !important; }
.custom-select-childcare .select-selected { padding-left: 0 !important; font-size: 1.125rem !important; }
.custom-select-childcare .select-items { width: 100% !important; font-size: 14px !important; }

/* Buttons */
.blog-btn {
    border-radius: 9999px; padding-left: 2.5rem; padding-right: 2.5rem;
    font-size: 1.125rem; font-weight: 700; height: 50px;
    display: flex; align-items: center; width: fit-content;
    justify-content: center; white-space: nowrap;
}
.blog-btn-primary { background-color: rgb(250, 91, 129); color: rgb(255, 255, 255); }
.blog-btn-primary:hover { background-color: var(--dark-pink); }
.btn-link { font-size: 1rem; font-weight: 500; text-decoration-line: underline; text-underline-offset: 4px; }
.btn-link:hover { color: #fa5b81 !important; text-decoration-color: #fa5b81; }

/* Colors */
.bg-darkblue { background-color: #5a60ec !important; }
.text-yellow { color: #f6ff8f !important; }

/* Spacing */
.mt-3r { margin-top: 3rem !important; }
.mb-3r { margin-bottom: 3rem !important; }

/* Animation */
.dropdown-animation { visibility: visible; animation: growDown 400ms ease-in-out forwards; transform-origin: top center; }
@keyframes growDown {
    0% { transform: scaleY(0); }
    80% { transform: scaleY(1.1); }
    100% { transform: scaleY(1); }
}

/* Nav */
.top-level-nav-item {
    display: inline-flex !important;
    align-items: center !important;
    border-radius: 0.375rem !important;
    padding-top: 0.25rem !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    color: var(--black) !important;
}

.border-skin-site-menu-active {
    border-color: var(--bg-site-menu-active) !important;
}

/* Responsive */
@media only screen and (max-width: 1280px) {
    .blog-btn { width: 100%; }
}
@media only screen and (max-width: 875px) {
    .childcare-section { padding-left: 10px; }
}
@media only screen and (max-width: 768px) {
    .childcare-banner {
        width: 100%; border-radius: 0; height: fit-content; padding: 10px;
        background-color: transparent; flex-direction: column; gap: 0;
    }
    .childcare-overlay { background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%); }
    .childcare-suburb { margin-left: 0; margin-right: 0; }
    .custom-select-childcare { border-right: none !important; border-bottom: none !important; }
    .custom-select-childcare .select-items { width: 90% !important; }
    .childcare-section { padding: 15.5rem 20px 10px 20px; }
    .childcare-banner .input-group.input-group-line { padding-bottom: 0 !important; height: 50px !important; display: flex; align-items: center; }
    .input-group.input-group-line {
        background: white; padding: 0 20px 5px 20px; font-size: 18px;
        border-radius: 25px; margin-bottom: 10px; width: 100%;
    }
    .input-group.input-group-line input { border-bottom-width: 0; }
}
@media only screen and (min-width: 1900px) {
    .childcare-section { padding-left: 64px; }
}
