body,
html {
/*  user-select: none;*/
  margin: 0 auto;
  font-family: "Montserrat", sans-serif !important;
  direction: rtl;
}

#container {
  border: 1px solid #ccc;
  border-radius: 3px;
  max-width: 550px;
}
a {color:blue;}


h1 {
  font-size: 1.5em;
}
.error {
  border: 2px solid #e65252 !important;
}
.label {
  color: #e65252 !important;
  margin-right: 10px !important;
}
.conversions-type-list{
  display: none !important;
}
.btn {
  font-family: "Montserrat", sans-serif !important;
  border: none;
  padding: 10px 15px 10px 15px;
  cursor: pointer;
  background: white;
  border: 1px solid #0174be;
  border-radius: 3px;
}
.conversion-type{
justify-content: flex-end !important;
}


.conversion-type label{
  display: none;

}

.btn:hover {
  transition: 0.1s ease-in-out;
  color: white;
  background: #0174be;
}

.active-btn {
  color: white;
  background: #0174be !important;
}

#conversions-list h1 {
  margin: 0px 0px 20px 0px;
}
#calculator {
  border-radius: 5px;
  border: 1px solid #e5e5cb;
  background-color: #9dde8b1f;
  padding: 30px;
}
#ingredients-list {
  padding: 10px 20px 10px 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: medium;
}
.conversions-type-list {
  padding: 10px 20px 10px 20px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: medium;
}
#ingredients-quantity input {
  padding: 10px 20px 10px 20px;
  width: 28%;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: medium;
}
.convert-btn {
  padding: 10px 20px 10px 20px;
  font-family: "Montserrat", sans-serif !important;
  border: none;
  color: white;
  background-color: #0174be;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
}
.convert-btn:hover {
  transition: 0.1s ease-in-out;
  opacity: 0.9;
}
#calculator h2 {
  margin: 0px 0px 20px 0px;
}
.round-type button {
  font-family: "Montserrat", sans-serif !important;
  border: none;
  padding: 8px 12px 8px 12px;
  cursor: pointer;
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.round-type button:hover {
  transition: 0.1s ease-in-out;
  color: white;
  background: #0174be;
}
a {
  font-size: 13px;
}
#footer {
  max-width: 850px;
}
.image-size {
  width: 60px;
}
.copy-btn {
  padding: 5px 8px 5px 8px;
  font-family: "Montserrat", sans-serif !important;
  border: none;
  color: white;
  background-color: #0174be;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
}
.grams-result {
  border: 1px solid #ccc;
  padding: 10px 20px 10px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 3px;
}
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #0174be;
  color: #fff;
  text-align: center;
  border-radius: 3px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  top: 120%;
  left: 50%;
  margin-left: -60px;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #0174be transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

#calculator-result #calculator-result-child {
  padding: 20px;
  box-shadow: 0 1px 6px 0 #20212447;
  border-radius: 3px;
  width: 400px;
}
h1,
h2 {
  color: #072541;
}
#calculator-result #calculator-result-child h2 {
  color: #072541;
}

#calculator-result #calculator-result-child .result-box {
  margin-bottom: 1rem;
}
.btn-ingredient-list {
  font-family: "Montserrat", sans-serif !important;
  border: none;
  padding: 10px 10px 10px 10px;
  cursor: pointer;
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.btn-ingredient-list:hover {
  transition: 0.1s ease-in-out;
  color: white;
  background: #0174be;
}
.btn-ingredient-value {
  font-family: "Montserrat", sans-serif !important;
  border: none;
  padding: 10px 10px 10px 10px;
  cursor: pointer;
  background: white;
  border: 1px solid #ccc;
  border-radius: 3px;
}
.btn-ingredient-value:hover {
  transition: 0.1s ease-in-out;
  color: white;
  background: #0174be;
}
@media only screen and (max-width: 600px) {
  #footer,
  #container {
    margin: 20px;
  }
}
 .mobile {
            display: none;
        }

        /* Show desktop content on desktop */
        .desktop {
            display: block;
        }

        /* Media query for mobile devices */
        @media only screen and (max-width: 767px) {
            /* Show mobile content on mobile */
            .mobile {
                display: block;
            }

            /* Hide desktop content on mobile */
            .desktop {
                display: none;
            }
        }
		
