/* Treatments mega menu */
.treatments-mega .awemenu-megamenu-wrapper {
    padding: 15px;
}

.treatments-mega .margin-bottom-25 {
    margin-bottom: 15px;
}

.treatments-mega .awe-media-title {
    font-size: 14px;
    margin: 10px 0 0;
}

/* Aesthetic Treatment tile + flyout */
.aesthetic-tile {
    position: relative;
}

.aesthetic-tile-link {
    display: block;
    text-align: center;
}

    .aesthetic-tile-link:hover .awe-media-title,
    .aesthetic-tile-link:focus .awe-media-title {
        text-decoration: underline;
    }

.aesthetic-toggle {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 5;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.92);
    border: 1px solid #eee;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

    .aesthetic-toggle:hover,
    .aesthetic-toggle:focus {
        outline: none;
        border-color: #00467F;
    }

.aesthetic-caret {
    display: inline-block;
    font-size: 11px;
    line-height: 1;
    color: #00467F;
    transition: transform .25s ease;
}

.aesthetic-toggle[aria-expanded="true"] .aesthetic-caret {
    transform: rotate(180deg);
}

.aesthetic-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 30;
    width: 230px;
    max-width: 80vw;
    margin-top: 14px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
    text-align: left;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.aesthetic-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.aesthetic-dropdown::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #fff;
    box-shadow: -2px -2px 4px rgba(0,0,0,.06);
    transform: translateX(-50%) rotate(45deg);
}

.aesthetic-dropdown-inner {
    position: relative;
    padding: 8px 8px 0;
}

.aesthetic-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.aesthetic-dropdown-list li + li {
    margin-top: 2px;
}

.aesthetic-dropdown-list li a {
    position: relative;
    display: block;
    text-align: left;
    text-transform: none;
    font-size: 13px;
    letter-spacing: normal;
    line-height: 1.4;
    padding: 11px 30px 11px 12px;
    border-radius: 4px;
    color: #333;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

    .aesthetic-dropdown-list li a::after {
        content: "\2192";
        position: absolute;
        right: 12px;
        top: 50%;
        opacity: 0;
        transform: translate(-6px, -50%);
        transition: opacity .2s ease, transform .2s ease;
    }

.aesthetic-dropdown-list li a:hover,
.aesthetic-dropdown-list li a:focus {
    background: #f5f5f5;
    color: #00467F;
    transform: translateX(4px);
}

    .aesthetic-dropdown-list li a:hover::after,
    .aesthetic-dropdown-list li a:focus::after {
        opacity: 1;
        transform: translate(0, -50%);
    }

.aesthetic-dropdown-viewall {
    display: block;
    text-align: left;
    text-transform: none;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: normal;
    padding: 12px 18px;
    margin: 8px -8px 0;
    border-top: 1px solid #eaeaea;
    color: #00467F;
}

    .aesthetic-dropdown-viewall:hover,
    .aesthetic-dropdown-viewall:focus {
        background: #f5f5f5;
    }

@media (max-width: 600px) {
    .aesthetic-dropdown {
        position: static;
        width: 100%;
        max-width: none;
        margin-top: 10px;
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid #eaeaea;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .aesthetic-dropdown.open {
        max-height: 320px;
    }

    .aesthetic-dropdown::before {
        display: none;
    }
}
