.kws
{
    position: absolute;
    z-index: -1000;
}

.scrollTop
{
  position: relative;
  font-size: 1vw;
  background-color: #2E78A3;
  color: white;
  border-radius: 1.5vw;
  padding: 0.25vw 0.5vw;
  margin: 0 0.5vw;
  user-select: none;
  transition: background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.scrollTop:hover
{
  cursor: pointer;
  background-color: #266386;
  box-shadow: 0 0 0.5vw 0.01vw #BC6B15;
  transition: background-color 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.companyInputCommon
{
    outline: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5vw;
    border: none;
    border: 0.25vw solid #2E78A3;
    border-radius: 1.5vw;
    padding: 0.5vw;
}

.companyName
{
    grid-area: companyName;
    width: 50%;
    margin: 1vw;
}

.companyCountry
{
    grid-area: companyCountry;
    width: 50%;
    margin: 1vw;
}

.companyLink
{
    grid-area: companyLink;
    width: 85%;
    margin: 1vw auto;
}

.companyDescription
{
    grid-area: companyDescription;
    display: none; /*set to none for the js but it should be inherit*/
    resize: none;
    width: 90%;
    margin: 0.5vw auto;
    height: 10vw;
}

.addCompanyButton
{
    grid-area: addCompanyButton;
    cursor: pointer;
    outline: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5vw;
    font-weight: bold;
    color: #2E78A3;
    border: none;
    border: 0.25vw solid #2E78A3;
    border-radius: 2vw;
    width: 40%;
    margin: 0.5vw auto;
    padding: 0.5vw 0.75vw;
}

.addCompanyButton:hover
{
  border: 0.25vw solid #BC6B15;
  box-shadow: 0.1vw 0 0.25vw 0.001vw #BC6B15;
  background-color: lightgray;
}

.companyInputCommon:focus
{
  border: 0.25vw solid #BC6B15;
  box-shadow: 0.1vw 0 0.25vw 0.001vw #BC6B15;
}

.companyInfoVerticalFlex
{
  display: flex;
  flex-direction: column;
  width: 90%;
  margin: auto;
  padding-block: 1.25vw;
}

.companyInfoFlex
{
  display: flex;
  font-weight: bold;
  color: #2E78A3;
  padding-block: 0.25vw;
}

.companyInfoText
{
  font-weight: normal;
  color: #2E78A3;
}

.companyInfoTextInput
{
  font-weight: normal;
  color: #2E78A3;
  outline: none !important;
  border: 0.1vw solid #2E78A3;
  border-radius: 1vw;
  padding: 0.25vw 0.5vw;
}

.companyInfoTextInput:hover, .companyInfoTextInput:focus
{
  border: 0.1vw solid #BC6B15;
  box-shadow: 0.1vw 0 0.25vw 0.001vw #BC6B15;
}

.companyInfoTextColon
{
    margin-inline: 0.125vw 0.5vw;
}

.verticalCompanyFlex
{
    display: flex;
    flex-direction: column;
}

.horizontalCompanyFlex
{
    display: flex;
    width: 90%;
    margin: 0 auto;
}

.companyEditorForm
{
    position: relative;
    display: grid;
    grid-template-areas:
    "companyName companyName companyName companyCountry companyCountry companyCountry"
    "companyLink companyLink companyLink companyLink companyLink companyLink"
    "textareaLangSelector textareaLangSelector textareaLangSelector textareaLangSelector textareaLangSelector textareaLangSelector"
    "companyDescription companyDescription companyDescription companyDescription companyDescription companyDescription"
    "companyDescription companyDescription companyDescription companyDescription companyDescription companyDescription"
    ". . addCompanyButton addCompanyButton . .";
    width: 80%;
    margin: auto;
}

.contentDisplayWrapper
{
    position: relative;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: white;
    border: 0.2vw solid #2E78A3;
    border-radius: 1vw;
    width: 60%;
    margin: 3.125% 20%;
}

div:not(:has(#keysEditorForm)) > .contentDisplayWrapper
{
    height: 40%;
}

div:not(:has(#keysEditorFormFlex)) > .contentDisplayWrapper
{
    height: 20%;
}

div:has(#keysEditorForm) > .contentDisplayWrapper
{
    height: 70%;
}

div:has(#keysEditorFormFlex) > .contentDisplayWrapper
{
    height: 55%;
}

.contentDisplay
{
    display: flex;
    flex-direction: column;
}

.dualContentLabelWrapper
{
    display: flex;
    justify-content: space-between;
}

.dualContentLabel
{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contentLabelCompanies
{
    display: grid;
    grid-template-areas: "contentColor contentCountryColor deleteContentButton";
    grid-template-columns: 7.5fr 5fr 1fr;
    text-decoration: none;
    background-color: #2E78A3;
    border-radius: 1vw;
    margin: 0.5vw 1vw;
    padding: 1vw;
}

.contentLabelKeys
{
    display: grid;
    grid-template-areas: "contentIndex contentColor swapIndexesInput deleteContentButton";
    grid-template-columns: 1fr 5fr 2fr 1fr;
    text-decoration: none;
    background-color: #2E78A3;
    border-radius: 1vw;
    margin: 0.5vw 1vw;
    padding: 1vw;
}

.contentLabelKeys:has(div.swapIndexesButton)
{
    display: grid;
    grid-template-areas: "contentIndex contentColor swapIndexesButton swapIndexesInput deleteContentButton";
    grid-template-columns: 1fr 5fr 2fr 2fr 1fr;
    text-decoration: none;
    background-color: #2E78A3;
    border-radius: 1vw;
    margin: 0.5vw 1vw;
    padding: 1vw;
}

.contentIndex
{
    grid-area: contentIndex;
    color: white;
}

.contentColor
{
    grid-area: contentColor;
    color: white;
}

.contentCountryColor
{
    grid-area: contentCountryColor;
    color: white;
}

.swapIndexesButton
{
    grid-area: swapIndexesButton;
    cursor: pointer;
    color: lime;
}

.swapIndexesInput
{
    grid-area: swapIndexesInput;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    text-align: center;
    border: none;
    outline: none !important;
    border-radius: 0.5vw;
    width: 2vw;
    margin: auto 0;
    padding: 0.125vw;
}

.deleteContentButton
{
    grid-area: deleteContentButton;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: #cc0000;
    cursor: pointer;
}

.dropdownWrapper
{
    position: absolute;
    display: flex;
    width: 100%;
}

.dropdownMenu
{
  position: relative;
  overflow: hidden;
  z-index: 2;
  background-color: #266386;
  width: 100%;
  max-height: 0;
  left: 0;
  margin-top: 1vw;
  transition: max-height 1.5s;
}

.dropdownList
{
  cursor: default;
  list-style: none;
  padding: 0;
}

.dropdownItemPlaceholder
{
  cursor: pointer;
  background-color: #266386;
  color: white;
  border-bottom: 0.2vw solid white;
  word-wrap: break-word;
  padding: 0.5vw 1vw;
}

.dropdownItem
{
  cursor: pointer;
  background-color: #266386;
  color: white;
  word-wrap: whitespace;
  padding: 0.25vw 1vw;
  transition: background-color 0.25s;
}

.instrumentsList
{
  text-decoration: none;
  color: white;
}

.dropdownItemFlex
{
  display: flex;
  justify-content: space-between;
  text-decoration: none;
  color: white;
}

.listItemUnderliner
{
  background-color: white;
  width: 0;
  height: 0.2vw;
  margin: 0;
  margin-right: auto;
  transition: all 0.25s;
}

.dropdownItem:hover
{
  background-color: #1F506B;
}

.dropdownItem:hover .listItemUnderliner
{
  width: 100%;
}

.noInstrumentInformation
{
    position: relative;
    font-size: 1.5vw;
    color: red;
    height: fit-content;
    margin: auto;
}

div:has(> a[href]) .deleteInfoPage
{
    cursor: pointer;
    color: red;
    font-size: 1.5vw;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    height: fit-content;
    margin: auto;
}

div:has(> a:not([href])) .deleteInfoPage
{
    display: none;
}

.infoPageHandleFlex
{
    display: flex;
}

.instrumentDisplayBottomMenu
{
    display: flex;
    justify-content: space-between;
    font-size: 1.5vw;
    margin: 1.5vw 0;
}

.backToInstruments
{
    cursor: pointer;
    font-weight: bold;
    height: fit-content;
    margin-block: auto;
    margin-left: 0.75vw;
    transition: color 0.25s, text-shadow 0.25s;
}

.backToInstruments:hover
{
    color: #266386;
    text-shadow: 0 0 0.1vw #BC6B15;
}

.pageNavBar
{
    cursor: pointer;
    display: flex;
    color: #2E78A3;
    width: fit-content;
    margin: 0.75vw;
    user-select: none;
}

.pageNavBarItemMove
{
    font-size: 1.225vw;
    font-weight: bold;
    margin: 0 0.125vw;
    transition: color 0.25s, text-shadow 0.25s;
}

.pageNavBarItemMove:hover
{
    color: #266386;
    text-shadow: 0 0 0.1vw #BC6B15;
}

.pageNavBarItem
{
    margin: 0 0.125vw;
    transition: color 0.25s, font-weight 0.25s, text-shadow 0.25s;
}

.pageNavBarItem[id=instrumentPageNavBarCurrent], .pageNavBarItem[id=instrumentDisplayPageNavBarCurrent]
{
    cursor: default;
    text-decoration: underline;
}

.pageNavBarItem:hover:not(#instrumentPageNavBarCurrent), .pageNavBarItem:hover:not(#instrumentDisplayPageNavBarCurrent)
{
    color: #266386;
    font-weight: bold;
    text-shadow: 0 0 0.1vw #BC6B15;
}

.pageNavBarItemFiller
{
    cursor: default;
    margin: 0 0.125vw;
}

.translationHU
{
    grid-area: translationHU;
}

.translationENG
{
    grid-area: translationENG;
}

.translationDE
{
    grid-area: translationDE;
}

.keysInputCommon
{
    outline: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    border: none;
    border: 0.25vw solid #2E78A3;
    border-radius: 1.5vw;
    padding: 0.25vw 0.5vw;
    margin: 1vw;
}

.keysInputCommon:hover
{
    border: 0.25vw solid #BC6B15;
    box-shadow: 0.1vw 0 0.25vw 0.001vw #BC6B15;
}

.keysInputCommon:focus
{
    border: 0.25vw solid #BC6B15;
    box-shadow: 0.1vw 0 0.25vw 0.001vw #BC6B15;
}

.keysUploadButton
{
    grid-area: keysUploadButton;
    color: #2E78A3;
}

.keysUploadButton:hover
{
    background-color: lightgray;
}

.keysEditorForm
{
    position: relative;
    display: grid;
    grid-template-areas:
    "translationHU translationENG translationDE"
    ". keysUploadButton .";
    width: fit-content;
    margin: auto;
}

.keysEditorFormFlex
{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 60%;
    margin: 0 auto;
}

.measurablesInputsFlex
{
    display: flex;
    flex-direction: column;
}

html
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5vw;
  width: 100%;
  height: 100%;
  margin: 0;
}

body
{
  position: absolute;
  /*overflow-y: hidden;*/
  width: 100%;
  height: 100%;
  margin: 0;
}

/*CUSTOM SCROLLBAR*/

::-webkit-scrollbar
{
  width: 0.6vw;
}

::-webkit-scrollbar-track
{
  background: #ffffff;
  border: 0.1vw solid #2E78A3
}

::-webkit-scrollbar-thumb
{
  background: #1F506B;
}

::-webkit-scrollbar-thumb:hover
{
  background: #BC6B15;
}

/*PAGE MAIN BODY*/

.main
{
  position: relative;
  display: grid;
  background-image: url("./images/mainbackground.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: minmax(125%, fit-content);
  min-height: 125%;
  margin: 0;
  padding: 0vw;
}

.background
{
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 150%;
}

.middleBackground
{
  position: relative;
  background-color: white;
  width: 70%;
  height: 100%;
  right: 0;
  left: 0;
  margin: 0 auto;
}

.introduction
{
  position: relative;
  overflow: hidden;
  width: 90%;
  margin: auto;
}

.introductionEditorFlex
{
  z-index: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0vw 5vw;
}

.uploadDownloadButton
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1vw;
  outline: none !important;
  color: #2E78A3;
  border-radius: 1.5vw;
  border: 0.1vw solid #2E78A3;
  width: 75%;
  padding: 0.25vw;
  margin: 0.5vw auto;
}

.uploadDownloadButton:hover
{
  cursor: pointer;
  border: 0.1vw solid #BC6B15;
  background-color: lightgray;
  box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.contactFlexWrapper
{
  position: relative;
  display: flex;
  top: 5vw;
}

.contactFlex
{
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: 0 auto;
}

.mapouter
{
  position: relative;
  text-align: right;
  border: 0.15vw solid #2E78A3;
  width: 30%;
  margin: 0 auto;
}

.gmap_canvas
{
  overflow: hidden;
  background: none!important;
  height: 100%;
}

.map
{
  width: 100%;
  height: 100%;
}

.contactContentWrapper
{
  text-decoration: none;
  width: 75%;
}

.contactContentWrapper:hover .contactContent
{
  color: #266386;
}

.contactContent
{
  display: flex;
  border-bottom: 0.2vw solid #266386;
  color: #2E78A3;
  width: 100%;
  padding: 0.5vw 0;
  transition: color 0.5s;
}

div > .contactContent
{
  width: 75%;
}

.loaderBackground
{
  position: absolute;
  display: grid;
  z-index: 100;
  background-color: white;
  width: 100%;
  height: 100%;
}

.loader
{
  position: relative;
  border: 0.5vw solid #c0c0c0;
  border-top: 0.5vw solid #2E78A3;
  border-radius: 50%;
  width: 5vw;
  height: 5vw;
  margin: auto;
  animation: spin 1.75s linear infinite;
}

@keyframes spin
{
  0% { -webkit-transform: rotate(0); }
  100% { -webkit-transform: rotate(360deg); }
}

.footer
{
  position: relative;
  text-align: center;
  background-color: lightgrey;
  color: #2E78A3;
  font-size: 1vw;
  font-weight: bold;
  width: 100%;
  padding: 0.5vw 0;
}

.footerContactsWrapper
{
  position: relative;
  display: flex;
  justify-content: space-evenly;
  text-align: left;
  background-color: lightgrey;
  width: 100%;
  padding-block: 2vw;
}

.footerContacts
{
  position: relative;
  border-bottom: 0.25vw solid #266386;
  width: 15%;
  margin-block: 0.5vw;
  padding-right: 1vw;
  padding-block: 0.5vw;
}

.headerBackground
{
  margin: 0;
  padding: 0;
}

.introductionHeaderItem
{
  grid-area: introductionHeaderItem;
}

.productsHeaderItem
{
  grid-area: productsHeaderItem;
}

.companiesHeaderItem
{
  grid-area: companiesHeaderItem;
}

.measurableProductsHeaderItem
{
  grid-area: measurableProductsHeaderItem;
}

.ingredientsParametersHeaderItem
{
  grid-area: ingredientsParametersHeaderItem;
}

.otherParametersHeaderItem
{
  grid-area: otherParametersHeaderItem;
}

.offerRequestHeaderItem
{
  grid-area: offerRequestHeaderItem;
}

.contactHeaderItem
{
  grid-area: contactHeaderItem;
}

.loginHeaderItem
{
  grid-area: loginHeaderItem;
  cursor: pointer;
}

.signOutHeaderItem
{
  grid-area: signOutHeaderItem;
  cursor: pointer;
}

.baseHeader
{
  grid-template-areas:
  "introductionHeaderItem companiesHeaderItem productsHeaderItem measurableProductsHeaderItem ingredientsParametersHeaderItem otherParametersHeaderItem offerRequestHeaderItem contactHeaderItem";
  grid-template-columns: 2fr 2fr 2fr 3fr 2fr 2fr 2fr 2fr;
}

.loginHeader
{
  grid-template-areas:
  "introductionHeaderItem companiesHeaderItem productsHeaderItem measurableProductsHeaderItem ingredientsParametersHeaderItem otherParametersHeaderItem offerRequestHeaderItem contactHeaderItem loginHeaderItem";
  grid-template-columns: 2fr 2fr 2fr 3fr 3fr 2fr 2fr 2fr 2fr;
}

.editorHeader
{
  grid-template-areas:
  "introductionHeaderItem companiesHeaderItem productsHeaderItem measurableProductsHeaderItem ingredientsParametersHeaderItem otherParametersHeaderItem offerRequestHeaderItem contactHeaderItem signOutHeaderItem";
  grid-template-columns: 2fr 2fr 2fr 3fr 3fr 2fr 2fr 2fr 2fr;
}

.header
{
  position: relative;
  display: grid;
  list-style: none;
  width: 100%;
  font-size: 1vw;
  margin: 0;
  padding: 0;
}

.headerItem
{
  cursor: pointer;
  position: relative;
  text-decoration: none;
  text-align: center;
  background-color: #2E78A3;
  width: 100%;
  padding: 1vw 0;
  transition: background-color 0.25s;
}

.headerItemLink
{
  position: relative;
  text-decoration: none;
  color: white;
}

.underliner
{
  position: relative;
  background-color: white;
  width: 0;
  height: 0.2vw;
  margin: 0 auto;
  margin-right: auto;
  transition: all 0.25s;
}

/*ANIMATIONS*/

.headerItem:hover
{
  background-color: #266386;
}

.headerItem:hover .underliner
{
  width: 100%;
}

.headerItem:hover .dropdownMenu
{
  max-height: 41.25vw;
}

.headerItem:hover .dropdownList
{
  height: 100%;
}

.form
{
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5vw;
  color: #2E78A3;
  padding: 4vw 15vw 4vw 15vw;
}

.formLabelInputPairTop
{
  border-radius: 2vw 2vw 0 0;
}

.formLabelInputPairBottom
{
  border-radius: 0 0 2vw 2vw;
}

.formLabelInputPair
{
  position: relative;
  background-color: lightgray;
  justify-content: space-between;
  width: 80%;
  padding: 1vw 2.5vw;
  margin: auto;
}

.formLabel:hover .underliner
{
  width: 100%;
}

.formInputCommon
{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1vw;
  color: #2E78A3;
  border-radius: 2vw;
  border: 0.15vw solid #2E78A3;
  outline: none !important;
}

.formInputCommon:hover
{
  border: 0.15vw solid #BC6B15;
  box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.formInputCommon:focus
{
  border: 0.15vw solid #BC6B15;
  box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.formInput
{
  width: 12.5vw;
  height: 2vw;
  padding: 0 0.5vw;
}

.formInputOffer
{
  position: relative;
  resize: none;
  width: 95%;
  height: 7.5vw;
  padding: 1vw;
}

.sendOffer
{
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.5vw;
  color: #2E78A3;
  border: 0.15vw solid #2E78A3;
  border-radius: 2vw;
  margin-bottom: 1vw;
}

.sendOffer:hover
{
  border: 0.15vw solid #BC6B15;
  box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
  background-color: lightgray;
}

.pageHead
{
  display: flex;
  justify-content: space-between;
  background-color: white;
}

/*RIGHT SIDE*/

.logoWrapper
{
  position: relative;
  text-decoration: none;
  width: 22vw;
  height: 100%;
  left: 4vw;
}

.logo
{
  position: relative;
  width: 20vw;
  height: 5vw;
}

.foodAndMillName
{
  position: relative;
  font-size: 1.4vw;
  color: #2E78A3;
  width: 21vw;
}

/*MIDDLE*/

.headContactsContainer
{
  position: relative;
  display: flex;
}

.headContacts
{ 
  font-size: 1vw;
  color: darkgray;
  width: fit-content;
  margin: 3vw 1vw;
}

/*LEFT SIDE*/

.langAndSearchBar
{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 0.5vw;
  right: 4vw;
}

.lang
{
  position: relative;
  display: flex;
  color: #2E78A3;
  font-size: 1.5vw;
  font-weight: bold;
  height: fit-content;
}

.langSelector
{
  text-decoration: none;
  color: #BC6B15;
  margin: 0 0.45vw;
}

.langSelectorUnderliner
{
  background-color: #BC6B15;
  width: 0;
  height: 0.2vw;
  margin: 0 auto;
  margin-right: auto;
  transition: all 0.25s;
}

.langSelector[selectedLanguage] .langSelectorUnderliner
{
  width: 100%;
}

.langSelector:hover .langSelectorUnderliner
{
  width: 100%;
}

.searchBar
{
  color: #BC6B15;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1vw;
  border: none;
  border: 0.15vw solid #2E78A3;
  border-radius: 1.5vw;
  padding: 0.25vw 0.5vw;
}

.searchBar:focus
{
  outline: none !important;
  border: 0.15vw solid #2E78A3;
  border-radius: 1.5vw;
  box-shadow: 0 0 0.25vw 0.001vw #1F506B;
}

.searchBar::-webkit-search-cancel-button
{
  -webkit-appearance: none;
}

.instrumentDisplayKeySearchFlex
{
    display: flex;
}

div:not(:has(#uploadNewInstrumentButton)) > .instrumentDisplayKeySearchFlex
{
    height: 100%;
}

div:has(#uploadNewInstrumentButton) > .instrumentDisplayKeySearchFlex
{
    height: 90%;
}

.instrumentKeysSearchFlex
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #c0c0c0;
    color: #2E78A3;
    width: 15%;
}

.instrumentKeysSearchList
{
    position: absolute;
    list-style: none;
    z-index: 90;
    top: 1vw;
    left: 1vw;
    width: 100%;
    padding: 0;
}

.instrumentKeysSearchListElement
{
    cursor: pointer;
    font-size: 1vw;
    background-color: white;
    border: 0.1vw solid #2E78A3;
    width: 200%;
    user-select: none;
}

.instrumentKeysSearchListElement:hover
{
    border: 0.1vw solid #BC6B15;
    text-shadow: 0 0 0.05vw #BC6B15;
}

.instrumentKeysInput
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    outline: none !important;
    color: #2E78A3;
    border-radius: 1.5vw;
    border: 0.1vw solid #2E78A3;
    width: 75%;
    padding: 0.25vw;
    margin: 0.5vw auto;
}

.instrumentKeysInput:hover
{
    border: 0.1vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentSearchFilterButton
{
    border-color: #EFEFEF;
    background-color: #BC6B15;
    color: #EFEFEF;
}

.instrumentKeysFilterButton:hover
{
    cursor: pointer;
    background-color: #d3d3d3;
    color: #2E78A3;
}

.instrumentKeysSearchSelectorWrapper
{
    display: flex;
    font-size: 1vw;
    margin: 0.25vw 0;
}

.instrumentKeysSearchSelectorFlex
{
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0.25vw 0;
}

.instrumentKeysSearchSelector
{
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.95vw;
    width: 70%;
    margin-inline: 15%;
    user-select: none;
}

.instrumentKeysSearchDropdownIcon
{
    position: absolute;
    cursor: pointer;
    width: 1vw;
    height: 1vw;
    margin-left: 5%;
    user-select: none;
}

.instrumentKeysSearchDropdownIcon[opened=false]
{
    cursor: pointer;
    rotate: 0;
    transition: rotate 0.25s;
}

.instrumentKeysSearchDropdownIcon[opened=true]
{
    cursor: pointer;
    rotate: 90deg;
    transition: rotate 0.25s;
}

.instrumentKeysSearchDropdown
{
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 70%;
    margin-inline: 15%;
    transition: height 0.75s;
}

.instrumentKeysSearchDropdown[opened=false]
{
    border-bottom: 0.2vw solid #2E78A3;
    height: 0;
}

.instrumentKeysSearchDropdown[opened=true]
{
    border-bottom: none;
    height: fit-content;
}

.instrumentKeysLabel
{
    position: relative;
    height: fit-content;
    width: 100%;
    height: fit-content;
    padding-block: 0.15vw;
}

.instrumentSearchKey
{
    position: relative;
    word-wrap: break-word;
    height: 100%;
}

.instrumentKeysSearchDropdown .instrumentKeysLabel:first-child
{
    background-color: #d3d3d3;
    border-top: 0.2vw solid #2E78A3;
}

.instrumentKeysSearchDropdown .instrumentKeysLabel:nth-child(odd)
{
    background-color: #d3d3d3;
}

.instrumentKeysSearchDropdown .instrumentKeysLabel:nth-child(even)
{
    background-color: white;
}

.instrumentKeysSearchDropdown .instrumentKeysLabel[instrumentDummyKeyLabel]
{
    background-color: #2E78A3;
    height: 0.1vw;
    padding-block: 0.1vw;
}

.instrumentKeysCheckbox
{
    width: 0.7vw;
    height: 0.7vw;
    margin: auto 0.1vw;
}

.instrumentKeysSearchButton
{
    color: #2E78A3;
    margin: 1vw;
}





.instrumentsDisplayMainWrapper
{
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.instrumentsDisplayWrapper
{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    width: 100%;
    height: 100%;
}

.instrumentsDisplayMainWrapper:has(#instrumentFilterHeaderLabel) .instrumentsDisplayWrapper
{
    height: 90%;
}

.instrumentsDisplayMainWrapper:not(:has(#instrumentFilterHeaderLabel)) .instrumentsDisplayWrapper
{
    height: 100%;
}

.instrumentsDisplay
{
    position: relative;
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    flex-wrap: wrap;
    width: 100%;
}

.moreInfo
{
    text-align: center;
    color: #BC6B15;
    padding-block: 10%;
}

.instrumentImageContentLabel
{
    grid-area: instrumentImageContentLabel;
    overflow: hidden;
    border-right: 0.15vw solid #266386;
    width: 5vw;
    height: 5vw;
    padding: 0;
}

.instrumentNameContentLabelWrapper
{
    grid-area: instrumentNameContentLabelWrapper;
    font-size: 1.75vw;
    margin: 0.5vw 0;
}

.instrumentNameContentLabel
{
    font-weight: bold;
    color: #2E78A3;
    margin-top: 2.5%;
    margin-left: 2.5%;
}

.instrumentContentFlex
{
    grid-area: instrumentContentFlex;
    display: flex;
    margin-bottom: 1.125%;
}

.instrumentProducerCompanyContentLabel
{
    font-size: 1vw;
    color: gray;
    margin-left: 2.5%;
}

.instrumentCompanyContentLabel
{
    font-size: 1vw;
    color: #2E78A3;
    margin-left: 1.25%;
}

.instrumentContentLabel
{
    cursor: pointer;
    display: grid;
    grid-template-areas:
    "instrumentImageContentLabel instrumentNameContentLabelWrapper"
    "instrumentImageContentLabel instrumentContentFlex";
    grid-template-columns: 1.125fr 15fr;
    border: 0.15vw solid #266386;
    background-color: white;
    width: calc(100% - 0.3vw);
}

.instrumentDisplayedContent
{
    height: 100%;
}

.uploadNewInstrumentButton
{
    position: relative;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.5vw;
    border-radius: 1.5vw;
    background-color: #2E78A3;
    color: white;
    width: 10vw;
    height: 3.5vw;
    line-height: 3.5vw;
    bottom: 0;
    margin: 1vw auto;
    transition: background-color 0.125s;
}

.uploadNewInstrumentButton:hover
{
    cursor: pointer;
    background-color: #266386;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.blockScreen
{
    position: absolute;
    filter: unset;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.75);
}

.blockScreenBackButton
{
    cursor: pointer;
    position: absolute;
    z-index: 1000;
    font-weight: bold;
    font-size: 2.5vw;
    color: #2E78A3;
    outline: none !important;
    width: fit-content;
    height: fit-content;
    bottom: 7.5vw;
    left: 12.5vw;
    transition: color 0.25s;
}

.blockScreenBackButton:hover
{
    color: #266386;
}

.instrumentDisplayBackground
{
    display: flex;
    flex-direction: column;
    background-color: white;
    color: #2E78A3;
    width: 60%;
    height: 100%;
    margin: 0 20%;
}

.instrumentDisplayHeader
{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-bottom: 0.4vw solid #2E78A3;
}

.instrumentDisplayLogos
{
    cursor: pointer;
    margin-left: 0.75vw
}

.instrumentDisplayLogosImage
{
    width: 20vw;
}

.instrumentDisplayLogosText
{
    font-size: 1.5vw;
}

.instrumentDisplayHeaderContent
{
    display: flex;
    justify-content: space-between;
    font-size: 1vw;
    background-color: #B8EBC6;
}

.instrumentDisplayHeaderContacts
{
    display: flex;
    justify-content: space-between;
    color: darkgray;
    width: 100%;
    margin: auto 1vw;
}

.instrumentDisplayCurrentKey
{
    font-size: 2vw;
    background-color: #BC6B15;
    color: white;
    border-bottom: 0.25vw solid #2E78A3;
    padding: 0 0.75vw;
    margin: 0vw 0;
}

.instrumentDisplayName
{
    font-size: 2.5vw;
    font-weight: bold;
    padding: 0.25vw 0.75vw;
    border-bottom: 0.25vw solid #2E78A3;
}

.instrumentDisplayCompanyName
{
    font-size: 2.5vw;
    font-weight: bold;
    margin: 0.25vw 0.75vw
}



.imageDisplay
{
    position: relative;
    display: flex;
    width: 75%;
    height: 75%;
    margin: auto;
    margin-top: 2.5%;
}

.currentlyViewedImage
{
    position: relative;
    width: 75%;
    height: 100%;
    margin: auto;
}

.instrumentCompanyName
{
    font-weight: bold;
    font-size: 4.5vw;
    color:#2E78A3;
    border-bottom: 0.25vw solid #266386;
    width: 90%;
    margin: 0 5%;
    margin-top: 5%;
    padding: 0.5vw 0;
}

.instrumentName
{
    font-size: 3vw;
    color:#2E78A3;
    border-bottom: 0.2vw solid #266386;
    width: 90%;
    margin: 0 5%;
    padding: 1vw 0;
}

/*EDITOR STUFF*/

.instrumentContentLabelEditorButton
{
    grid-area: instrumentContentLabelEditorButton;
    cursor: pointer;
    position: relative;
    z-index: 10;
    font-weight: bold;
    font-size: 2.5vw;
    margin: auto;
    padding: 0;
}

.instrumentContentLabelDeleteButton
{
    grid-area: instrumentContentLabelDeleteButton;
    cursor: pointer;
    position: relative;
    z-index: 10;
    font-weight: bold;
    font-size: 2.5vw;
    color: red;
    margin: auto;
    padding: 0;
}

.instrumentFilterHeaderLabel
{
    display: grid;
    background-color: #BC6B15;
    color: white;
    height: 10%;
}

.instrumentFilterHeaderLabelFlex
{
    display: flex;
    width: 80%;
    margin: auto;
}

.instrumentFilterHeaderLabelFlex > translatable
{
    width: fit-content
}

.instrumentContentLabelEditor
{
    cursor: pointer;
    display: grid;
    grid-template-areas:
    "instrumentImageContentLabel instrumentNameContentLabelWrapper instrumentContentLabelEditorButton instrumentContentLabelDeleteButton"
    "instrumentImageContentLabel instrumentContentFlex instrumentContentLabelEditorButton instrumentContentLabelDeleteButton";
    grid-template-columns: 1.125fr 12.5fr 1.125fr 1.125fr;
    background-color: white;
    border: 0.15vw solid #266386;
    width: calc(100% - 0.3vw);
}

.instrumentInputCommon
{
    outline: none !important;
    border: 0.2vw solid #266386;
}

.instrumentInputCommon:hover 
{
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentInputCommon:focus 
{
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentImagesDownloadUploadFlex
{
    display: flex;
    justify-content: space-between;
    margin: 1.5vw 5%;
}

.instrumentImageUploadCommon
{
    position: relative;
    text-align: center;
    background-color: #d3d3d3;
    border: 0.2vw solid #2E78A3;
    border-radius: 1.5vw;
    width: 45%;
    padding: 0.25vw 0.5vw;
}

.instrumentImageDownloadInput
{
    text-decoration: none;
    color: #2E78A3;
}

.instrumentImageUploadCommon:hover 
{
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentCompanyNameEditorWrapper
{
    position: relative;
    width: 100%;
}

.instrumentCompanyNameEditor
{
    font-weight: bold;
    font-size: 5vw;
    color:#2E78A3;
    width: 90%;
    margin: 0 5%;
    margin-top: 5%;
    padding-block: 0.5vw;
}

/*.instrumentCompanyNameEditor::-webkit-search-cancel-button
{
  -webkit-appearance: none;
}*/

.instrumentCompanyNameEditorResultWrapper
{
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.instrumentCompanyNameEditorResult
{
    position: relative;
    font-size: 2.5vw;
    border: 0.2vw solid #2E78A3;
    color: #266386;
    background-color: white;
    width: 90%;
    margin: 0 5%;
}

.instrumentCompanyNameEditorResult:hover
{
    cursor: pointer;
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentNameEditor
{
    font-size: 2.5vw;
    color:#2E78A3;
    width: calc(90% - 0.2vw * 2);
    margin: 1.5vw 5%;
    padding: 1vw 0;
}

.instrumentTextAreaCommon
{
    outline: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1vw;
    color: #2E78A3;
    border: 0.1vw solid #2E78A3
}

.instrumentKeysSelectorAndFileUpload
{
    display: flex;
    justify-content: space-between;
    height: 25%;
    margin: 0 5%;
}

.instrumentSearchKeysSelectorWrapper
{
    display: flex;
    flex-direction: column;
    width: 47.5%;
    height: 100%;
    border: 0.2vw solid #266386;
}

.instrumentSearchKeys
{
    font-size: 2.5vw;
    color: #2E78A3;
    border-bottom: 0.2vw solid #266386;
}

.instrumentSearchKeysSelector
{
    display: flex;
    overflow-y: auto;
    justify-content: left;
}

.instrumentKeyColumnHeader
{
    position: relative;
    width: 100%;
}

.instrumentKeyColumnHeaderContent
{
    position: relative;
    color: #2E78A3;
    border-bottom: 0.2vw solid #266386;
    padding: 0.25vw;
}

.instrumentKeyColumn
{
    display: flex;
    flex-direction: column;
}

.instrumentSearchKeysSelector .instrumentKey:nth-child(odd)
{
    background-color: #d3d3d3;
}

.instrumentSearchKeysSelector .instrumentKey:nth-child(even)
{
    background-color: #c0c0c0;
}

.instrumentKeyUnderliner
{
    background-color: #BC6B15;
    width: 0;
    height: 0.2vw;
    transition: width 0.35s;
}

.instrumentKeyCheckbox
{
    width: 1vw;
    height: 1vw;
    transition: box-shadow 0.35s;
}

.instrumentKeyLabel
{
    position: relative;
    color: #266386;
    width: 200%;
    transition: text-shadow 0.35s;
}

.instrumentKey:hover .instrumentKeyUnderliner
{
    width: 100%;
}

.instrumentKey:hover .instrumentKeyCheckbox
{
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentKey:hover .instrumentKeyLabel
{
    text-shadow: 0 0 0.25vw #BC6B15;
}

.instrumentFileUpload
{
    display: flex;
    flex-direction: column;
    text-align: center;
    border: 0.2vw solid #266386;
    width: 47.5%;
    height: 100%;
}

.instrumentFileUploadInput
{
    display: none;
}

.instrumentFileUploadLabel, .instrumentFileDownloadLabel
{
    text-decoration: none;
    font-size: 1.5vw;
    border: 0.2vw solid #2E78A3;
    border-radius: 1.5vw;
    background-color: lightgrey;
    color: #2E78A3;
    width: 80%;
    margin: 0.5vw auto;
    padding: 0.25vw 0.5vw;
}

.instrumentFileUploadLabel:hover, .instrumentFileDownloadLabel:hover
{
    background-color: #c0c0c0;
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.instrumentActionButton
{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5vw;
    color: #2E78A3;
    border: 0.2vw solid #2E78A3;
    border-radius: 2vw;
    width: 20%;
    margin: 6.2vw auto;
}

.instrumentActionButton:hover
{
    cursor: pointer;
    background-color: lightgrey;
    border: 0.2vw solid #BC6B15;
    box-shadow: 0 0 0.25vw 0.001vw #BC6B15;
}

.serviceLogin
{
    position: relative;
    width: 100%;
    height: 100%;
}

.loginForm
{
    position: relative;
    display: flex;
    flex-direction: column;
    padding-block: 1vw;
    background-color: #2E78A3;
    border-radius: 3.5vw;
    width: 40%;
    height: 25%;
    top: 7vw;
    margin: auto;
}

.serviceInputCommon
{
    background-color: white;
    color: #BC6B15;
    font-size: 1.5vw;
    border: none;
    border: 0.2vw solid #1F506B;
    outline: none !important;
    border-radius: 1.5vw;
    width: 60%;
    margin: auto;
    padding: 0.25vw 1vw;
}

.serviceInputCommon:focus
{
    border: none;
    border: 0.2vw solid #1F506B;
    outline: none !important; 
}

.email
{

}

.password
{

}

.loginButton
{
    font-weight: bold;
    cursor: pointer;
}

.loginButton:hover
{
    box-shadow: 0 0 0.5vw 0.1vw #BC6B15;
}



.editorIcon
{
    position: relative;
    font-size: 1vw;
    background-color: white;
    border: 0.01vw solid #b1b1b1;
    border-radius: 0.5vw;
    user-select: none;
}

.editorIcon:hover
{
    background-color: #d7d7d7;
    box-shadow: 0 0 0.25vw #b1b1b1;
}

.editorBackground
{
    position: absolute;
    z-index: 1500;
    background-color: white;
    border: 0.01vw solid #b1b1b1;
    border-radius: 1.5vw;
    box-shadow: 0 0 0.25vw #b1b1b1;
    width: 53vw;
    height: 8vw;
}

.editorInputWrapper
{
    position: relative;
    display: flex;
    color: #2E78A3;
    margin: auto 0.5vw;
}

.editorTextInputsFlex
{
    display: flex;
    justify-content: space-between;
    height: 50%;
}

.editorButtonInputsFlex
{
    position: relative;
    display: flex;
    justify-content: right;
    height: 50%;
}

.editorInputCommon
{
    position: relative;
    font-size: 1vw;
    outline: none !important;
    border: none;
    border-radius: 0.25vw;
}

.editorTextInput
{
    border: 0.01vw solid #b1b1b1;
    width: 80%;
    height: 35%;
    margin: auto 0.5vw;
    padding: 0.25vw 0.5vw;
}

.editorTextInput:focus, .editorTextInput:hover
{
    box-shadow: 0 0 0.25vw #b1b1b1;
}

.editorButtonInput
{
    background-color: white;
    width: 17.5%;
    height: 50%;
    margin: auto 1vw;
    padding: 0.125vw 0.25vw;
}

.editorCancelButton
{
    border: 0.01vw solid #cc0000;
    box-shadow: 0 0 0.25vw #cc0000;
    transition: border 0.3s, box-shadow 0.3s;
}

.editorCancelButton:hover
{
    border: 0.1vw solid #aa0000;
    box-shadow: 0 0 0.5vw #aa0000;
}

.editorSaveButton
{
    border: 0.01vw solid #008000;
    box-shadow: 0 0 0.25vw #008000;
    transition: border 0.3s, box-shadow 0.3s;
}

.editorSaveButton:hover
{
    border: 0.1vw solid #006000;
    box-shadow: 0 0 0.5vw #006000;
}

.textareaLangSelector
{
    position: relative;
    grid-area: textareaLangSelector;
    display: flex;
    width: calc(85% + 1.5vw);
    margin: 1.5vw auto;
}

.companyInfoVerticalFlex > .textareaLangSelector
{
    width: 100%;
}

.textareaLanguageButton
{
    background-color: #2E78A3;
    color: white;
    padding: 0.5vw 0.75vw;
    transition: background-color 0.35s;
}

.textareaLangSelector label:first-child .textareaLanguageButton
{
    border-radius: 1.5vw 0 0 1.5vw;
}

.textareaLangSelector label:last-child .textareaLanguageButton
{
    border-radius: 0 1.5vw 1.5vw 0;
}

.textareaLangSelector input
{
    display: none;
    opacity: 0;
}

.textareaLangSelector label:hover input:not(:checked) + .textareaLanguageButton
{
    cursor: pointer;
    background-color: #266386;
}

.textareaLangSelector label input:checked + .textareaLanguageButton
{
    background-color: #BC6B15;
}

.descriptionEditorTextarea
{
    display: none;
}