/* GTranslate widget styling for dropdown with language code */

.gtranslate_wrapper
{
  padding: 0px 0px 0px 0px;
  margin: 0px 10px 0px 10px;
}


body #gt_selector,
body .gt_selector.notranslate {
  font-family: "Roboto Slab", "Courier New", monospace;
  font-weight: bold;
  height: 32px;
  line-height: 30px;
  font-size: 15px;
  padding: 0px 0px 0px 0px;
  margin: 0px 10px 0px 10px;
  display: bloc;
  align-items: center;
  justify-content: center;
  border: 1px solid white;
  border-radius: 5px;
  background-color: black;
  color: whitesmoke;
  box-sizing: border-box;
}

/* Styling the select element */
body #gt_selector select {
  background-color: black;
  color: whitesmoke;
  border: none;
  border-radius: 5px;
  font-family: inherit;
  font-size: inherit;
  font-weight: bold;
  padding: 5px;
  appearance: none;
  text-align: center;
  width: 60px; /* Adjust width for language code */
  cursor: pointer;
  box-sizing: border-box;
}

/* Adding a custom dropdown arrow */
body #gt_selector {
  position: relative;
}

body #gt_selector:after {
  content: "▼"; /* Custom dropdown arrow */
  position: absolute;
  right: 10px;
  color: whitesmoke;
  pointer-events: none;
}

/* Dropdown options styling */
body #gt_selector select option {
  background-color: black;
  color: whitesmoke;
  font-weight: bold;
}

/* Option hover styling */
body #gt_selector select option:hover {
  background-color: #444;
  color: white;
}

/* Style for the Google Translate dropdown */
.goog-te-combo {
  background-color: #f9f9f9;
  border: 1px solid #ccc;
  color: #333;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Hide the Google Translate branding */
.goog-logo-link {
  display: none !important;
}

/* Style for the translation banner */
.goog-te-banner-frame {
  background-color: #f0f0f0 !important;
  border: none !important;
}

/* Optionally refine padding and margins for mobile devices */
@media only screen and (max-width: 768px) {
  body #gt_selector {
    width: 100%;
    margin: 10px 0;
  }

  body #gt_selector select {
    width: 100%;
  }
}
