/* Hide the default Google Translate dropdown */
#google_translate_element { display: none; }
.goog-te-banner-frame { display: none !important; }

/* Hide the top banner iframe */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame, 
.VIpgJd-ZVi9od-ORHb-OEVmcd { 
    display: none !important; 
}

/* Hide the hover tooltip balloon */
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}

/* Optional: Prevent the text highlight when hovering */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Prevent the body from being pushed down by the bar */
body { 
    top: 0px !important; 
}

/* language selector customization */
#lang-selector-section{
	position: absolute;
	top: 0;
	left: 47%;
	z-index: 300;
	background: #fff;
}

#lang-selector{
	height: 30px;
	border: 0;
}

#lang-selector option{
	background: #fff;
}

#lang-selector option:hover{
	background: #eee;
}

#lang-selector, #lang-selector::picker(select) {
  appearance: base-select;
}

#lang-selector::picker(select) {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s, transform 0.4s allow-discrete;
}

#lang-selector::picker(select):popover-open {
  opacity: 1;
  transform: translateY(0);
  @starting-style {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.lang-selected {
	border-bottom: 3px solid #6a7be7;
}

/* For screens 425px or lower (Smartphones only) */
@media screen and (max-width: 425px) {
  	#lang-selector-section{
		position: absolute;
		top: 0;
		right: 2%;
	}
}

/* For screens 2560px or wider (4k only) */
@media screen and (min-width: 2560px) {
  	#lang-selector-section{
		position: absolute;
		top: 0;
		right: 35%;
	}
}