@import "theme.css";

.btn-tip{
  width:20px;
  height:20px; 
  background-image: var(--button-tips-image-normal);
  background-repeat: no-repeat;
  background-color: transparent;
  border: 0px;
}

.btn-tip:hover{
  background-image: var(--button-tips-image-hover);
}

.btn-tip .tooltip-help{
  visibility: hidden;
  min-width: 80px;
  max-width: 200px;
  background-color: #313131;
  border-radius: 8px;
  color: #FFFFFF;
  text-align: left;
  padding: 5px 5px;
  font-size: 14px;
  margin-left: 15px;
  margin-top: 0px;
  position: absolute;
  transform: translateY(-50%);
  z-index: 1;
}

.btn-tip:hover .tooltip-help {
  visibility: visible;
}

.btn-navigate{
  width:400px;
  height:50px;
}

.btn-product{
  width: 650px;
  height: 380px;
  margin-top: -20px;
  background-color: transparent;
  border-width: 0px;
}

.btn-product:hover{
  width: 655px;
  height: 385px;
}

.btn-product:active{
  width: 660px;
  height: 390px;
}

.btn-common {
  width:70px;
  height:26px; 
  text-align: center; 
  color: white;
  background-color: var(--button-normal-color);
  border: none;
  border-radius:4px;
}

.btn-common:hover:not(:disabled) {
  background-color: var(--button-hover-color);
}

.btn-common:active:not(:disabled) {
  color: var(--first-color);
}

.btn-common:disabled {
  background-color: var(--disable-color);
  opacity: 0.4;
}

.btn-text-style{
  min-width: 40px;
  height:26px; 
  text-align: center; 
  color: white;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid white;
}

.btn-text-style:hover{
  color: var(--first-color);
  border-bottom: 1px solid var(--first-color);
}

.btn-icon-text {
  width:70px;
  height:26px; 
  text-align: center; 
  color: white;
  background-color: var(--button-normal-color);
  border: none;
  border-radius:4px;
}

.btn-icon-text:hover:not(:disabled) {
  background-color: var(--button-hover-color);
}

.btn-icon-text:active:not(:disabled) {
  color: var(--first-color);
}

.btn-icon-text:disabled {
  background-color: var(--disable-color);
  opacity: 0.4;
}

.profile-add-button {
  box-sizing: border-box;
  width: 63px;
  height: 63px;
  margin-top: 5px;
  background: var(--normal) no-repeat;
  background-size: 35px;
  background-position: top 5px center;
  border: none;
  border-width: 0px;
  vertical-align: bottom;
  cursor: pointer;
  background-color: #313131;
}

.profile-add-button .add{
  bottom: 0;
  margin-top: auto;
  display: flex;
  color: white;
  background-color: transparent;
  flex-direction: column;
  justify-content: flex-end;
  font-size: 12px;
  height: 57px;
  align-items: center; 
  pointer-events: none; 
  User-select: none;
}

.profile-add-button:hover {
  border: 2px solid var(--first-color);
  background-position: top 3px center;
}

.profile-add-button:active {
  border: 2px solid var(--first-color);
  background: var(--pressed) no-repeat;
  background-size: 35px;
  background-position: top 3px center;
}

.profile-add-button:disabled .add{ 
  color: var(--first-color);
}

.profile-add-button:active .add{ 
  color: var(--first-color);
}

.small-image-button {
  width: 24px;
  height: 20px;
  background: var(--button-image) no-repeat; 
  background-size: 16px;
  background-position: center;
  opacity: 0.8;
  border: none;
}

.small-image-button:hover:not(:disabled) {
  width: 24px;
  height: 20px;
  opacity: 1;
}

.small-image-button:active:not(:disabled) {
  width: 24px;
  height: 20px;
  background-size: 14px;
  opacity: 1;
}

.small-image-button:disabled {
  opacity: 0.4;
}

.small-image-button .tooltiptext {
  display: none;
  background-color: #505050;
  color: #fff;
  text-align: center;
  padding: 5px;
  font-size: 14px;
  margin-left: 0px;
  margin-top: -20px;
  position: absolute;
  transform: translateY(-50%);
  z-index: 1;
}

.small-image-button:hover:not(:disabled) .tooltiptext {
  display: block;
}

.btn-save-to-device {
  width:180px;
  height:30px; 
  text-align: center; 
  color: white;
  background: var(--button-image) no-repeat; 
  background-size: 18px;
  background-position: 24px;
  background-color: var(--button-normal-color);
  border: none;
  border-radius:4px; 
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center; 
}

.btn-save-to-device:hover:not(:disabled) {
  background-color: var(--button-hover-color);
}

.btn-save-to-device:active:not(:disabled) {
  color: var(--first-color); 
  background-size: 16px;
  background-position: 25px;
}

.btn-save-to-device:disabled {
  background-color: var(--disable-color);
  opacity: 0.4;
}

.binding-delete {  
  width: 30px;
  height: 30px;
  background: var(--button-image-normal) no-repeat; 
  background-size: 22px;
  background-position: center;
  border: none;
}

.binding-delete:hover:not(:disabled) {  
  background: var(--button-image-hover) no-repeat; 
  background-size: 22px;
  background-position: center;
  cursor: pointer;
}

.binding-delete:active:not(:disabled) {
  background: var(--button-image-pressed) no-repeat; 
  background-size: 22px;
  background-position: center;
}

.binding-delete:disabled {  
  opacity: 0.4;
}