.calculator-header{
    text-align: center;
    max-width: 50%;
    margin: 0 auto;
}
.calculator-title {
  font-size: 1.8em;
  font-weight: 400;
  color: #00175A;
  margin-top: 1.5em;
}
.card-selection {
  /* max-width: 85%;
  margin: 0 auto; */
  margin-top: 1em;
}
.ms-dd .ms-options {
  max-height: 470px !important;
}
.card-selection a.ms-list-option,
.card-selection .ms-dd-header {
  border: none;
}
.card-selection label {
  font-weight: 400;
  text-align: start;
}
.ms-dd.ms-pr {
  width: 100%;
}
.to-currency-container .ms-dd.ms-pr {
  padding-top: 0 !important;
  min-height: fit-content !important;
}
.ms-dd .ms-header-middle-content,
.ms-dd .ms-middle {
  align-items: center;
}
.ms-dd .ms-dd-option-content {
  width: 100%;
  text-align: start;
  font-weight: 400;
}
.selection-txt {
  margin-top: 1em;
}
.transaction-result-blk{
    max-width: 50%;
    margin: 1em auto 0 auto;
    padding: 2em 0;
}
.gray-bg {
  background-color: #F8F8F8;
}
.transaction-item {
  display: inline-block;
}
.transaction-item a {
  background-color: #E2F1FD;
  color: #006FCF;
  padding: 1em 2em;
  border-radius: 1em;
  text-decoration: none;
}
.transaction-category {
  text-align: center;
  padding-bottom: 2.5em;
}
.transaction-item.item-active a{
  background-color: #006FCF;
  color: #ffffff;
  padding: 1em 2em;
  border-radius: 1em;
  margin: 0 1em;
  font-weight: 400;
}
.paidamt{
    position: relative;
    margin-bottom: 1em;
}
.paidamt label{
    position: absolute;
    left: 1em;
    font-size: 0.8em;
    font-weight: 400;
    top: 0.25em;
    color: #006FCF;
    text-transform: capitalize;
}
.paidamt input{
    width: 100%;
    min-height: 4em;
    padding-top: 0.75em;
    padding-left: 0.75em;
    border: none;
    border-radius: 1em;
    color: #000000;
    font-weight: 400;
}
.currency-fields-container {
  display: flex;
  justify-content: space-between;
}
.currency-input-wrapper {
  position: relative;
  width: 49%;
}
.currency-input-wrapper label {
  position: absolute;
  left: 1em;
  font-size: 0.8em;
  font-weight: 400;
  top: 0.25em;
  color: #006FCF;
  z-index: 10;
}
.currency-input-wrapper .calculator-form {
  width: 100%;
}
.currency-input-wrapper .calculator-form {
  width: 100%;
  min-height: 4em;
  padding-top: 0.75em;
  padding-left: 0.75em;
  background-color: #ffffff;
  border: none;
  border-radius: 1em;
  color: #000000;
  font-weight: 400;
}
.currency-input-wrapper .ms-list-option,
.currency-input-wrapper a.ms-list-option {
  width: 100%;
  background-color: #ffffff;
  border: none;
  padding: 1.15em 1em;
  border-radius: 1em;
}

#currselectcont .ms-dd .ms-list-option.option-selected {
  border: none;
}
.currency-input-wrapper .ms-dd .ms-list-option.option-selected,
.currency-input-wrappe .ms-dd .ms-optgroup ul .ms-list-option.option-selected {
  background-color: #ffffff;
  border-radius: 1em;
}
.currency-input-wrapper .ms-dd.ms-pr {
  width: 100%;
  min-height: 4em;
  padding-top: 0.75em;
  padding-left: 0.75em;
  background-color: #ffffff;
  border: none;
  border-radius: 1em;
  color: #000000;
  font-weight: 400;
}
.currency-input-wrapper .ms-dd-header {
  width: 100%;
  background-color: #ffffff;
  border: none;
  border-radius: 1em;
}
.currency-input-wrapper .ms-dd .ms-dd-header .option-selected {
  padding: 10px 20px 10px 0px;
}

.transaction-date-txt {
  text-align: center;
  color: #405183;
  margin: 1.5em;
  font-weight: 400;
}
.transaction-result {
  background-color: #E6EDF3;
  border-radius: 1em;
}
.currency-result {
  text-align: center;
  font-size: 2em;
  font-weight: 500;
  color: #00175A;
  padding: 0.5em 0;
}
.currency-table {
  padding: 1em;
}
.currency-table th {
 font-weight: 500;
 color: #405183;
}
.currency-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.75em;
  color: #00175A;
  font-weight: 400;
}
.currency-table table .amount-cell {
  text-align: right;
  font-weight: 500;
}
.currency-table table .total-row td {
    border-top: solid 2px #DCDFF1;
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
    padding-top: 0.5em;
}
.transaction-blk .text {
  text-align: center;
  color: #00175A;
}
.field--name-field-calculator-text,
.field--name-field-add-calculator-section,
.field--name-field-calculator-offer-text {
  background-color: #F8F8F8;
}
.blkmargin{
  max-width: 50%;
  margin: 0 auto;
}
.redemption-blk {
  background-color: #ffffff;
  border-radius: 1em;
  padding: 1em;
}
.redemption-title {
  font-weight: 700;
  color: #00175A;
  margin-bottom: 0.5em;
}
.fursan-redemption-txt,
.marriot-redemption-txt,
.redemption-txt {
  font-size: 0.9em;
  color: #405183;
  margin-bottom: 0.5em;
}
.redemption-link a {
  font-size: 0.9em;
  font-weight: 500;
  color: #006FCF;
  text-decoration: none;
}
.to-currency-container{
  background-color: #ffffff;
  border-radius: 1em;
}
#tocurrencyselectcont .ms-list-option {
  /* background-color: #ffffff !important; */
  border-radius: 1em;
  border: none;
}
#tocurrencyselectcont .ms-dd .ms-dd-header{
  border: none;
}
.to-currency-container label{
  position: static;
  padding-top: 0.25em;
  padding-left: 1em;
}
.to-currency-logo span#toCurrencySAR,
.to-currency-logo span#toCurrencyUSD{
  padding: 0.75em;
}
.symbamount {
  position: relative;
}
.amountcurrselectcont {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: -1;
}
.symbamount .paidamt input{
  padding-right: 5em;
  padding-left: 3.75em;
  /* background-image: url('/sites/default/files/2025-09/sar-logo.svg'); */
  background-image: url('/sites/default/files/2025-09/sar-logo.png');
  background-repeat: no-repeat;
  background-position: 3% 60%;
}
.amountcurrselectcont .ms-header-middle-content{
  visibility: hidden;
}
.amountcurrselectcont .ms-list-option{
  background-color: #ffffff !important;
}
.amountcurrselectcont .ms-dd-header{
  border: none;
}
.fursanmarriottlist {
  margin-bottom: 1em;
}
.fursanmarriottlist select {
  display: none;
  width: 100%;
  background-color: #ffffff;
  border: none;
  padding: 1.5em 1em;
  border-radius: 1em;
}
.fursanmarriottlist select option {
  padding: 1em 0;
}

#marriottselectlistcont a.ms-list-option,
#fursanselectlistcont a.ms-list-option {
  width: 100%;
  background-color: #ffffff;
  border: none;
  padding: 1.15em 1em;
  border-radius: 1em;
}
#marriottselectlistcont .ms-dd.ms-pr,
#marriottselectlistcont .ms-dd-header,
#fursanselectlistcont .ms-dd.ms-pr,
#fursanselectlistcont .ms-dd-header {
  width: 100%;
  background-color: #ffffff;
  border: none;
  border-radius: 1em;
}

#marriottselectlistcont .ms-dd .ms-list-option,
#fursanselectlistcont .ms-dd .ms-list-option {
  border: none;
}

#marriottselectlistcont,
#fursanselectlistcont{
  display: none;
}

.ms-dd .ms-dd-arrow {
  height: 21px;
  position: absolute;
  right: 1em;
  top: 40%;
  width: 21px;
}
.ms-dd .ms-dd-arrow.ms-dd-pointer-down{
  border: none;
  background: url('/sites/default/files/2025-09/calculators-arrow.svg') no-repeat 50% 50%;
}
.ms-dd .ms-dd-arrow.ms-dd-pointer-up {
  border: none;
  background: url('/sites/default/files/2025-09/calculators-arrow.svg') no-repeat 50% 50%;
  transform: rotate(180deg);
}
.corpbuss-text {
  color: #405183;
  padding: 1em 2em;
  text-align: center;
}






@media only screen and (max-width: 600px) {

  .blkmargin,
  .transaction-result-blk,
  .calculator-header{
    max-width: 100%;
  }
  .transaction-blk {
    padding: 0 1em;
  }
  .transaction-category {
    display: flex;
    justify-content: space-around;
  }
  .transaction-item a {
    padding: 1em 1.5em;
    margin: 0 !important;
  }

}



/*  Arabic CSS  */

html[lang="ar"] .currency-result {
  direction: ltr;
}
html[lang="ar"] .ms-dd .ms-dd-arrow {
  right: auto;
  left: 1em;
}
html[lang="ar"] .ms-dd .ms-dd-option-image, .ms-dd .ms-dd-selected-img {
  margin-right: 0;
  margin-left: 1em;
}
html[lang="ar"] .currency-input-wrapper label,
html[lang="ar"] .paidamt label {
  left: 0;
  right: 1em;
}
html[lang="ar"] .to-currency-container label {
  padding-left: 0;
  padding-right: 1em;
}
html[lang="ar"] .currency-table table td.amount-cell {
  text-align: left;
  direction: ltr;
}
html[lang="ar"] .currency-input-wrapper .calculator-form,
html[lang="ar"] .paidamt input {
  padding-right: 0.75em;
  padding-left: 0.75em;
}

html[lang="ar"] .symbamount .paidamt input {
  background-position: 97% 60%;
  padding-left: 5em;
  padding-right: 3.25em;
}

html[lang="ar"] .amountcurrselectcont{
  right: auto;
  left: 1em;
}

html[lang="ar"] .ms-dd-option-content {
  font-size: 0.9em;
}

html[lang="ar"] .currency-table table td{
  direction: ltr;
  text-align: end;
}

html[lang="ar"] .currency-input-wrapper .ms-dd .ms-dd-header .option-selected {
  padding: 10px 10px 10px 20px;
}

html[lang="ar"] .currency-input-wrapper .ms-dd .ms-dd-arrow {
  left: 0.25em;
}


html[lang="ar"] .ms-dd .ms-list-option .ms-dd-desc,
html[lang="ar"] .ms-dd .ms-optgroup ul .ms-list-option .ms-dd-desc{
	color: #000 !important;
}
.calc-ms-opt-en-inar{
	direction: ltr;
	display: inline-block;
}
@media only screen and (max-width: 400px) {
  .transaction-item a {
    padding: 1em !important;
    margin: 0 !important;
    font-size: 16px;
  }

}