<!-- Google Translate Dropdown Widget -->
<style>
/* Hide the top Google Translate banner */
body > .goog-te-banner-frame.skiptranslate,
body > .goog-te-spinner-pos {
    display: none !important;
}
body {
    top: 0px !important;
}

/* Hide "Powered by Google" */
.goog-logo-link,
.goog-te-gadget span {
    display: none !important;
}
.goog-te-gadget {
    color: transparent !important;
}

/* Beautify the dropdown */
#google_translate_element select {
    appearance: none;
    -webkit-appearance: none;
    padding: 6px 10px;
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: white;
    width: 110px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Position it to float top-right inside the content area */
#google_translate_element {
    position: absolute;
    top: 120px;
    right: 0px;
    z-index: 1000;
}
</style>

<div id="google_translate_element"></div>

<script type="text/javascript">
  function googleTranslateElementInit() {
    new google.translate.TranslateElement({
      pageLanguage: 'en',
      layout: google.translate.TranslateElement.InlineLayout.HORIZONTAL,
      autoDisplay: false
    }, 'google_translate_element');
  }
</script>
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
