@font-face {
  font-family: "rubik";
  src: url("/wp-includes/fonts/Rubik-VariableFont_wght.ttf");
}

body {
  font-family: "rubik", arial;
  margin: 0;
}

div {
  margin: auto;
  position: relative;
}

table {
  width: 100%;
}

th,
td {
  text-align: center;
  padding: 0 5px;
  font-size: 14px;
  width: 11%;
  direction: ltr;
  animation: fadeIn 1s;
}

#forex-graph {
  position: absolute;
  clip: rect(5px, 800px, 300px, 5px);
  animation: fadeIn 1s;
}

#commodities-graph {
  position: absolute;
  width: 100%;
  clip: rect(5px, 800px, 485px, 5px);
  animation: fadeIn 1s;
}

ul.tabs {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  list-style-type: none;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
  height: 53px;
  margin-top: 8px;
  margin-bottom: 0;
  width: 750px;
}

div.content {
  border: 1px solid black;
}

ul {
  padding: 0;
}

ul {
  overflow: auto;
}

div.content {
  clear: both;
}

.transparent-conversion {
  color: transparent;
  display: none;
}

.pro-logo {
  /* background-image: url("https://weinvest.co.il/wp-content/uploads/logo-pro-transparent-30.png") !important; */
  background-size: contain !important;
  /* background-position: center right !important; */
  background-repeat: no-repeat !important;
}

.tabs-btns-container {
  display: flex;
  justify-content: center;
  background: #ffffff;
  height: 46px;
  direction: rtl;
  width: 100%;
  list-style-type: none;
  margin-top: 0;
}

/* --------------------------------------version for each is blue and tackes 50%-------------------------------------------- */

.tab-btn {
  font-size: 18px;
  color: #3d7fb8;
  font-family: inherit;
  font-weight: 800;
  cursor: pointer;
  border: none;
  background: none;
  text-transform: uppercase;
  transition: color 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#commodities-tab-btn.active:after {
  /* left: 9% !important; */
  /* right: 40% !important; */
  /* width: 84px !important; */
  /*92px*/
}

#commodities-tab-btn {
  background-color: transparent !important;
}

.tab-btn:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0%;
  height: 3px;
  /*4px*/
  background-color: #ffa527;
  /*#e5b485*/
  transition:
    width 400ms cubic-bezier(0.25, 0.8, 0.25, 1),
    left 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
}

#forex-tab-btn.active #forex-tab-title,
#commodities-tab-btn.active #commodities-tab-title {
  color: #00367c;
}

#tabs-forex-commodities:after {
  content: "";
  position: absolute;
  background-color: #00367c21;
  height: 3px;
  width: 98%;
  right: 11px;
  bottom: -2px;
}

#forex-tabs {
  margin-top: 16px;
  /* width: 100%; */
}

#commodities-tabs {
  /* width: 100%; */
}

/* chnged from px to % after the css broke - for future - try to change back to pixles */

.tab-btn:hover:after,
.tab-btn:focus:after {
  width: 20%;
  /* width: 63px;
    right: 168px; */
  left: 50%;
  transform: translateX(-50%);
}

.tab-btn.active::after {
  left: 50%;
  /*40%*/
  width: 50%;
  transform: translateX(-50%);
  bottom: -2px;
  /* width: 63px;
    right: 168px; */
}

/*                                    these attributes help cahnge the clicked one     */
/* .tab-btn span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 18px 25px;
  color: #3d7fb8;
  font-size: 1.125em;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.tab-btn.active span {
  color: #e5b485;
  animation: scaleUp 0.3s ease-in-out;
} */

/* ------------------------------------------old version same as kranot--------------------------------------------- */
/* .tab-btn{
  padding: 10px;
  width: 50%;
  border:none;
  cursor: pointer;
  border-bottom: 3px solid #EAEAEA;
  background: #efeded;
  font-size: 18px;
}


.tab-btn {
 position: relative;
 display: flex;
 justify-content: center;
 align-items: center;
 border-radius: 5px;
 background: #fadaba;
 box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
 overflow: hidden;
 border: none;
}
.tab-btn{
  padding: 10px;
  width: 50%;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid #EAEAEA;
  font-size: 18px;
}
.tab-btn:after {
 content: " ";
 width: 0%;
 height: 100%;
 background: #01459D;
 position: absolute;
 transition: all 0.4s ease-in-out;
  left: 0;
}


.tab-btn.right-btn:after{
  right:0;
}

.tab-btn.right-btn.active::after{
  right: 0;
  left: auto;
  width: 100%;
} */
/* --===--- */

/* .tab-btn.active::after{
 left: 0;
 right: auto;
 width: 100%;
}

.tab-btn span {
 text-align: center;
 text-decoration: none;
 width: 100%;
 padding: 18px 25px;
 color: #FFF;
 font-size: 1.125em;
 font-weight: 700;
 letter-spacing: 0.3em;
 z-index: 20;
 transition: all 0.3s ease-in-out;
}

.tab-btn.active span{
 color: #ffd5aa;
 animation: scaleUp 0.3s ease-in-out;
} */

/* ---------------------------------------------------------------------------------------------------- */
@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

img.reset-zoon-icon {
  width: 25px;
  height: 25px;
}

#reset-button {
  position: absolute;
  z-index: 1;
  margin-left: 11px;
  top: -25px;
  right: 10px;
}

@keyframes fadeIn {
  /* flame pulses */
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

#more-display,
#more-display2 {
  display: none;
}

.full-page-link {
  display: flex;
  justify-content: flex-end;
}

#graph {
  /* background-color: rgb(171 188 188); */
  border-radius: 5px;
}

#forex-container,
#commodities-container {
  direction: rtl;
}

.graph-container {
  /* height: 137px; */
}

#swap-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
}

#swap-icon-image {
  width: 100%;
  height: 100%;
}

.transparent-conversion,
#coversion-span-title {
  font-family: "rubik", arial;
  padding-left: 20px;
  padding-right: 8px;
  font-size: 15px;
}

.conversion-container {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  margin: 3px 0px 3px 0px;
  font-weight: 600;
  padding: 0px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #e3f0ff80;
  direction: rtl;
  justify-content: space-between;
}

.conversion-container input[type="number"],
.conversion-container select {
  height: 20px;
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 14px;
  flex: 1;
  width: 110px;
}

.conversion-container select {
  height: 32px;
}

.conversion-container select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-position: right 5px center;
  background-repeat: no-repeat;
  background-size: 10px;
  padding-right: 25px;
}

.conversion-container #amountTo,
.conversion-container #amountFrom {
  font-weight: bold;
}

.conversion-container .from-container {
  margin-right: 10px;
}

.from-container,
.to-container {
  display: flex;
  align-items: center;
}

canvas {
  /* background-image: url("/wp-content/uploads/2023/08/weinvest-logo.png"); */
  background-size: 50% 50%;
  background-position: center;
  background-repeat: no-repeat;
}

.tab-item {
  width: 100%;
}

.tab-span {
  width: 100%;
  height: auto;
  float: left;
  /* transition: 0.5s linear; */
  position: relative;
  display: block;
  overflow: hidden;
  padding: 10px 2px;
  text-align: center;
  background: transparent;
  font-size: 15px;
  font-weight: bold;
}

.tab-span {
  min-width: 95px;
}

.tab-span:before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  height: 4px;
  width: 100%;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  box-sizing: border-box;
  transform: translateX(100%);
}

.tab-span:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  box-sizing: border-box;
  transform: translateX(-100%);
}

.tab-span.active {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.tab-span.active:before {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition:
    0.3s transform linear,
    0.3s height linear 0.3s;
}

.tab-span.active:after {
  border-color: #262626;
  height: 100%;
  transform: translateX(0);
  transition:
    0.3s transform linear,
    0.3s height linear 0.5s;
}

.tab-item {
  color: black;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  border: none;
  background: transparent;
}

.calculator-title {
  font-size: 18px;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  display: none;
}

.read-more-icon {
  height: 12px;
}

.full-page-link {
  position: fixed;
  left: 0;
}

.tab-span.forex {
  font-size: 14px;
}

.move-to-full-link-container {
  display: flex;
  /* width: 150px; */
  align-items: center;
  margin-right: auto;
}

#forex-tab-title,
#commodities-tab-title {
  font-size: 18.5px;
  font-weight: 600;
  color: #006bb7;
}

@media only screen and (min-width: 769px) {
  #forex-tabs,
  #commodities-tabs {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .transparent-conversion {
    display: inline-block;
  }
  .tab-item {
    width: 145px;
  }
  .tab-span.forex {
    font-size: 17px;
  }
  #commodities-tabs {
    justify-content: flex-start;
  }

  #forex-tabs {
    justify-content: flex-end;
  }
}

@media only screen and (max-width: 600px) {
  /* #basic, #high, #low, #chg, #bid, #ask, #row-display-title>th:nth-child(4),
    #row-display-title>th:nth-child(5), #row-display-title>th:nth-child(6),
    #row-display-title>th:nth-child(7), #row-display2-title>th:nth-child(2),
    #row-display2-title>th:nth-child(3), #row-display2-title>th:nth-child(6),
    #row-display2-title>th:nth-child(7), #row-display2-title>th:nth-child(8) {
      display: none;
    } */

  .conversion-container {
    display: block !important;
    margin: 0px;
    margin-top: 15px;
  }

  .conversion-container .from-container {
    margin-right: 0;
    margin-bottom: 5px;
  }
}

@media only screen and (max-width: 1000px) {
  ul.tabs {
    /* flex-wrap: wrap; */
    height: 100%;
    padding-bottom: 15px;
  }

  .graph-container {
    /* margin-top: 15px; */
  }

  /* #reset-button {
    display: none;
  } */
}

.main-page-full-page-link-text {
  text-decoration: none;
  display: inline;
  color: black;
  font-size: 13px;
}

.main-page-full-page-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 15px;
}

.export-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  direction: rtl;
}

.export-buttons {
  display: flex;
  justify-content: center;
}

.export-buttons > button {
  cursor: pointer;
  border: 0;
  border-radius: 5px;
  background-color: transparent;
  /* padding: 5px 5px 3px 5px; */
  margin: 0 10px;
  background-size: 14px;
}

.export-buttons > button > span {
  font-size: 14px;
}

.fb-icon,
.twitter-icon,
.whatsapp-icon {
  height: 14px;
  width: 37px;
}

.fb-icon {
  background: url("https://weinvest.co.il/wp-includes/images/fb-icon.svg");
}

.twitter-icon {
  background: url("https://weinvest.co.il/wp-includes/images/x-icon-black.svg");
}

.whatsapp-icon {
  background: url("https://weinvest.co.il/wp-includes/images/whatsapp-icon.svg");
}

.social-icons {
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.logo-image {
  opacity: 1;
  position: absolute;
  width: 25%;
  left: 74%;
  bottom: 5%;
  z-index: 100;
}

#commodities-tabs.tabs.category-buttons-list {
  margin-top: 16px;
}
