.galaxy-language-switcher {
    display: inline-block;
    margin: 0 10px;
}

.galaxy-lang-link {
    background: #0073aa;
    color: #ffffff !important;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none !important;
    display: inline-block;
    font-size: 14px;
}

.galaxy-lang-link:hover {
    background: #005a87;
    color: #ffffff !important;
}

/* * مخفی کردن هدر قالب اصلی فقط در صورتی که هدر انگلیسی تعریف شده باشد
 * (جلوگیری از مخفی شدن هدر انگلیسی با استفاده از not:)
 */
body.galaxy-replace-header header:not(.galaxy-custom-header-wrapper header):not(.galaxy-custom-header-wrapper),
body.galaxy-replace-header .site-header:not(.galaxy-custom-header-wrapper .site-header):not(.galaxy-custom-header-wrapper),
body.galaxy-replace-header #masthead:not(.galaxy-custom-header-wrapper #masthead):not(.galaxy-custom-header-wrapper),
body.galaxy-replace-header .main-header:not(.galaxy-custom-header-wrapper .main-header):not(.galaxy-custom-header-wrapper) {
    display: none !important;
}

/* * مخفی کردن فوتر قالب اصلی فقط در صورتی که فوتر انگلیسی تعریف شده باشد
 * (جلوگیری از مخفی شدن فوتر انگلیسی با استفاده از not:)
 */
body.galaxy-replace-footer footer:not(.galaxy-custom-footer-wrapper footer):not(.galaxy-custom-footer-wrapper),
body.galaxy-replace-footer .site-footer:not(.galaxy-custom-footer-wrapper .site-footer):not(.galaxy-custom-footer-wrapper),
body.galaxy-replace-footer #colophon:not(.galaxy-custom-footer-wrapper #colophon):not(.galaxy-custom-footer-wrapper),
body.galaxy-replace-footer .footer:not(.galaxy-custom-footer-wrapper .footer):not(.galaxy-custom-footer-wrapper) {
    display: none !important;
}