/* Remove unwanted Almanac spacing between IMYM template rows */

#id_8CnjCq6,
#id_wn4k9gG,
#id_xf765g3,
#id_MbP7vUH {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
/* Keep sage divider compact */

#id_MbP7vUH p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}
/* Breathing room below login and search */

#id_TLeQtmk,
#id_WvqqaZi {
    padding-bottom: 5px !important;
    padding-right: 10px !important;
    padding-top: 5px !important;
}
/* IMYM typography
   Replace Almanac's Verdana with Segoe UI
*/

body,
input,
textarea,
select,
button {
    font-family: "Segoe UI", Arial, sans-serif;
}
/* Pull primary menu, sage stripe and content together */

#id_79XKt3G {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#id_MbP7vUH {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#id_HJWqtWS {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Footer spacing */

#id_wXZDue3,
#id_NxBVptC,
#id_LqB1LSG {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Terracotta divider between footer rows */

#id_LqB1LSG {
    border-top: 2px solid #C7794A !important;
}
/* IMYM main site width */

.zoneContent .container_12 {
    width: calc(100% - 48px) !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.zoneContent .s1_grid_12,
.zoneContent .s2_grid_12,
.zoneContent .s3_grid_12 {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#id_79XKt3G .menuBackground {
    width: 100% !important;
    left: 0 !important;
}
/* Compact IMYM primary menu */

#id_79XKt3G .firstLevel > li > .item > a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

#id_79XKt3G .firstLevel > li > .item > a > span {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* Hide My Community secondary menu when logged out */

body.publicContentView #id_HgKXaqp {
    display: none !important;
}
/* IMYM member secondary menu */

#id_HgKXaqp {
    background-color: #44507A !important;
    padding: 8px 16px !important;
    text-align: left;
}

#id_HgKXaqp a {
    color: #C9a85B !important;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 18px !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 6px 18px !important;
}

#id_HgKXaqp a:hover {
    background-color: #738363 !important;
    color: #F8F4EC !important;
}
/* Header sage divider — 10px */

#id_xpF9Ygm {
    height: 10px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}
/* Remove WildApricot's 12px minimum from sage layout */

#id_MbP7vUH > .WaLayoutTable {
    height: auto !important;
    min-height: 0 !important;
}
#id_xpF9Ygm .gadgetStyleBody,
#id_xpF9Ygm p {
    display: none !important;
}
#id_xpF9Ygm p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    height: 0 !important;
}
/* Highlight current page in IMYM member secondary menu */

body#PAGEID_18274 #id_HgKXaqp a[href="/my-profile"],
body#PAGEID_18275 #id_HgKXaqp a[href="/community-directory"],
body#PAGEID_18276 #id_HgKXaqp a[href="/forums"],
body#PAGEID_18277 #id_HgKXaqp a[href="/my-service-with-imym"] {
    background-color: #C9A85D !important;
    color: #44507A !important;
}
/* Give six primary menu items a little more room */

#id_79XKt3G .firstLevel > li > .item > a {
    padding-left: 12px !important;
    padding-right: 12px !important;
}
/* Remove extra space below member secondary menu */

#id_HgKXaqp {
    margin-bottom: 0 !important;
}
/* Hide Change password from header login area */

#id_TLeQtmk .loginBoxChangePassword {
    display: none !important;
}
/* Add greeting before logged-in member name */

#id_TLeQtmk .loginBoxProfileLink a::before {
    content: "Hello ";
}
/* IMYM header text */

#id_Uxpxpym p {
    line-height: normal !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

#id_Uxpxpym p + p {
    margin-top: 2px !important;
}