.ontop_element {
  position: absolute;
  z-index: 999999;
  width: 100%;
}

.settings_container {
  position: absolute;
  padding: 10px;
  border-radius: 10px;
  background-color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  align-content: center;
  flex-wrap: wrap;
  gap: 15px;
  width: fit-content;
  height: 50px;
  top: 10px;
  right: 10px;
}

.settings_container svg,
.flag,
.setting_google_frame svg {
  width: 35px;
  height: auto;
  cursor: pointer;
}

.setting_google_frame {
  position: absolute;
  right: calc(100% + 10px);
  background-color: white;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  gap: 15px;
  width: fit-content;
  height: 50px;
}

.none {
  display: none;
}

.language_btn {
  display: none;
  position: absolute;
  width: 0px;
  height: 0px;
  padding: 0;
  right: 20px;
  border-radius: 10px;
  top: 20px;
  flex-direction: column;
  background-color: white;
  gap: 10px;
  transition: all 0.3s;
}

.language_btn.active.column_reverse {
  flex-direction: column;
  color: black;
}

.language_btn.active {
  display: flex;
  padding: 10px;
  /*height: 85px;*/
  margin-right: -10px;
  margin-top: -5px;
  height:auto;
  width: fit-content;
  justify-content: space-evenly;
  align-items: center;
  color:black;
  font-family:auto;
}

.otherLanguage{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: stretch;
}

.classNone{
    display:none;
}
.classFlex{
    display:flex;
}



.modal_language {
    background: #ffffff;
    width: 350px;
    /*height: 400px;*/
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075);
    line-height: 16px;
    font-size: 16px;
    color: black;
    position: absolute;
    top: 70px ;
    right: 10px;
    display: none;
}

.modal_language.active {
    display: block;
}

.modal_language_title {
    
    font-weight: 500;
}

.modal_language_thumbnail {
    width: 40px;
    height: 30px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #f1f1f1;
}

.modal_language_name {
    padding-left: 16px;
}

.modal_language_search {
    padding: 12px 0;
    border: 2px solid #E0E0E0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    background-color: #fff;
    margin: 16px 0;
}

.modal_language_search svg {
    margin: 0 16px;
}

.modal_language_input {
    flex: 1;
    /*padding-right: 12px;*/
    outline: none;
    border: none;
    height: 100%;
    font-size: 16px;
    line-height: 16px;
}

.modal_language_list {
    background-color: #ECECEC;
    padding: 12px;
    border-radius: 10px;
    overflow-y: auto;
    list-style: none;
    max-height: 190px;
    margin: 0;
}

.modal_language_item {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    border-radius: 5px;
}

.modal_language_item:hover {
    background-color: #fff;
}

.modal_language_item:last-child {
    margin-bottom: 0;
}

.light-scroll::-webkit-scrollbar {
    width: 6px;
}

.light-scroll::-webkit-scrollbar-track {
    border-radius: 10px;
}

.light-scroll::-webkit-scrollbar-thumb {
    background: #B8B8B8;
    border-radius: 10px;
}

@media (max-width: 576px) {
    .modal_language {
        top: 60px ;
        right: calc((100vw - var(--width-welcome)) / 2);
        width: calc(100% - (2 * calc(100vw - var(--width-welcome)) / 2));
    }
    
    .modal_language_input {
        font-size: 14px;
        line-height: 14px;
    }

  .settings_container svg,
  .flag,
  .setting_google_frame svg {
    width: 25px;
  }

  .settings_container {
    padding: 0px 10px;
    height: 40px;
    /* right: calc(100vw - var(--width-welcome) - 7.5vw); */
    right: calc((100vw - var(--width-welcome)) / 2);
    ;
  }

  .setting_google_frame {
    padding: 0px 10px;
    height: 40px;
    top: 50px;
    right: 0;
  }

  .language_btn {
    right: calc((100vw - var(--width-welcome)) / 2);
    top: 15px;
  }

  .language_btn.active {
    height: 70px;
    justify-content: space-around;
  }
  
  

}

@media (max-width:320px) {
    .modal_language_input {
        width: 120px;
    }

  /* .settings_container svg, .flag {
    width: 25px;
  }

  .settings_container {
    padding: 0px 10px;
    height: 40px;
    top: 15px;
    right: calc((100vw - var(--width-welcome)) / 2);;
  }

  .language_btn {
    right: 15px;
    top: 15px;
  }

  .language_btn.active {
    height: 70px;
    justify-content: space-around;
  } */

}