/* @font-face {
  font-family: 'vazir';
  src: url('../../../../public/fonts/Vazir.ttf') format('truetype'),
      url('../../../../public/fonts/Vazir.eot?#iefix') format('embedded-opentype');
} */

*:focus {
  outline: 0;
  box-shadow: none;
  border: none;
}

.ltr {
  direction: ltr;
}

.bgDark {
  background-color: #28313C;
}

.darkBox {
  background-color: #28313C;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  /* background-image: url(../images/bg-heading.jfif); */
}

.radius2 {
  border-radius: 2px;
}

body {
  /* font-family: "vazir"; */
  background-color: #f3f5f7;
}

/* ****** Form ********* */
:root {
  --inputColor: #E8F0FE;
  --inputTextColor: #28313C;
  --inputBorderColor: #ccc;
  --checkedColor: #9B6D08;
  --checkedTextColor: #fdfdfd;
  --labelColor: #333;
  --optionColor: #333;
  --listBoxColor: var(--inputColor);
  --filterListBoxColor: var(--inputColor);
}

.formBox input[type="text"],
.formBox input[type="email"],
.formBox input[type="number"],
.formBox input[type="tel"],
.formBox input[type="password"],
.formBox select,
.formBox textarea {
  width: 100%;
  padding: 10px;
  background-color: var(--inputColor);
  color: var(--inputTextColor);
  border-radius: 2px;
  border: 1px solid var(--inputBorderColor);
  box-shadow: none;
}

.formBox textarea {
  height: 150px;
  resize: none;
}

.formBox select option {
  color: var(--optionColor);
}

.formBox label {
  color: var(--labelColor);
}

.formBox .submitButton,
.formBox button,
.formBox button[type="submit"] {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #34568B;
  padding: 10px 25px;
  border: 0;
  outline: 0;
  color: #fdfdfd;
  text-align: center;
  cursor: pointer;
  border-radius: 2px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.formBox .submitButton:hover,
.formBox button:hover,
.formBox button[type="submit"]:hover {
  background-color: #2f4d7d;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.formBox .float {
  position: relative;
}

.formBox .float label {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #555;
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.formBox .float input,
.formBox .float textarea,
.formBox .float select {
  padding-top: 25px;
  padding-bottom: 5px;
  padding-right: 20px;
  font-size: 14px;
}

.formBox .float select {
  padding-top: 23px;
}

.formBox .float input:focus~label,
.formBox .float input:not(:placeholder-shown)~label,
.formBox .float textarea:focus~label,
.formBox .float textarea:not(:placeholder-shown)~label,
.formBox .float select~label {
  font-size: 11px;
  top: 5px;
  right: 10px;
  -webkit-transition: all 0.1s ease;
  -o-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

/* .formBox .float select:has(option:checked) ~ label {
    padding: 1px;
    color: red;
  } */

.formBox .ajaxErr,
.formBox .ajaxErrBtn {
  font-size: 14px;
  color: #dc3545;
  display: block;
}

/* ****** Form ********* */

/* ***** Custom Checkbox and Radio ***** */
.formBox .check,
.formBox .radio {
  display: block;
  position: relative;
  padding-right: 25px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
  /* background-color: aquamarine; */
  min-height: 20px;
}

table tr .formBox .check {
  padding-right: 20px;
}

.formBox .check input,
.formBox .radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.formBox .check .checkmark,
.formBox .radio .checkmark {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  background-color: var(--inputColor);
  border: 1px solid var(--inputBorderColor);
  box-shadow: none;
  border-radius: 2px;
}

.formBox .radio .checkmark {
  border-radius: 50%;
}

.formBox .check:hover input~.checkmark,
.formBox .radio:hover input~.checkmark {
  background-color: #e6e6e6;
}

.formBox .check input:checked~.checkmark,
.formBox .radio input:checked~.checkmark {
  background-color: var(--checkedColor);
  box-shadow: 0 0 4px rgb(23, 155, 119, .2);
}

.formBox .check .checkmark:after,
.formBox .radio .checkmark:after,
.formBox .radio .checkmark:before {
  content: "";
  position: absolute;
  display: none;
}

.formBox .check input:checked~.checkmark:after,
.formBox .radio input:checked~.checkmark:after,
.formBox .radio input:checked~.checkmark:before {
  display: block;
}

/* Style the checkmark/indicator */
.formBox .check .checkmark:after {
  right: 7px;
  top: 2px;
  width: 5px;
  height: 12px;
  border: solid var(--inputColor);
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.formBox .radio .checkmark:after {
  right: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--inputColor);
}

/* ***** Custom Checkbox and Radio ***** */
/* ***** Radio Btn ***** */
.formBox .radioBtn {
  display: block;
  position: relative;
  text-align: center;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
}

.formBox .radioBtn input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.formBox .radioBtn .checkmark {
  display: block;
  width: 100%;
  padding: 10px;
  /* background-color: var(--inputColor); */
  background-color: #d1e1fd;
  color: var(--inputTextColor);
  box-shadow: none;
  border-radius: 2px;
  /* box-shadow: 0 0 4px rgb(23, 155, 119, .2); */
}

.formBox .radioBtn input:checked~.checkmark {
  background-color: var(--checkedColor);
  color: var(--checkedTextColor);
}

/* ***** Radio Btn ***** */

/* **** Custom Select ***** */


.customSelect {
  width: 100%;
  border-radius: 2px;
  position: relative;
  background-color: var(--inputColor);
  border: 1px solid var(--inputBorderColor);
  /* box-shadow: 0 0 2px var(--frmShdwClr); */
}

.customSelect .selected {
  width: 100%;
  padding: 10px 10px 10px 25px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  position: relative;
  z-index: 2;
  cursor: pointer;
  color: #444;
}

/* .customSelect.filter .selected {
  border-bottom: 1px solid #ccc;
} */

.customSelect.floated .selected {
  padding: 15px 10px 15px 25px;
  height: 50px;
}

.customSelect.floated .floatLabel {
  position: absolute;
  top: 5px;
  right: 30px;
  height: 13px;
  font-size: 12px;
  color: #212529;
  opacity: .65;
}

.customSelect .selected.floated {
  padding-right: 25px;
}

.customSelect.floated .selected.floated {
  padding-top: 25px;
}

.customSelect .selected::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 13px;
  border: solid rgb(145, 145, 145);
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.customSelect.floated .selected::before {
  top: 20px;
}

.customSelect .list {
  /* width: 100%; */
  width: calc(100% + 1.4px);
  position: absolute;
  top: 100%;
  /* bottom: calc(-100% + 40px); */
  right: -.5px;
  /* right: 0; */
  display: none;
  z-index: 10;
  background-color: var(--listBoxColor);
  border: 1px solid var(--inputBorderColor);
  border-top: none;
}

.customSelect.filter .list {
  /* width: 100%; */
  width: calc(100% + .9px);
  position: relative;
  border-left: none;
  border-bottom: none;
  border-top: none;
}

.customSelect.fit .list {
  /* width: 100%; */
  width: calc(100% + 1.5px);
  right: -1px;
}

.customSelect.filter.fit .list {
  width: 100%;
}

.customSelect.filter.open .list {
  display: block;
}

.customSelect .list .search {
  padding: 8px 10px;
  /* padding-bottom: 5px; */
  background-color: var(--listBoxColor);
  /* background-color: gray; */
  position: relative;
}

.customSelect .list .search input[type="text"] {
  display: block;
  width: 100%;
  padding: 5px;
  padding-left: 25px;
  border-radius: 2px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 2px var(--frmShdwClr);
}

.customSelect .list .search .icon {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  border-radius: 22px;
  top: 14px;
  left: 14px;
}

.customSelect .list .search .icon::after {
  content: "";
  display: block;
  position: absolute;
  width: 6px;
  height: 2px;
  background: #ccc;
  border-radius: 5px;
  top: 14px;
  left: 13px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.customSelect .list .search .rmv,
.customSelect .uncheckAll {
  position: absolute;
  display: block;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc;
  /* transform: scale(var(--ggs, 1)); */
  border-radius: 22px;
  top: 14px;
  left: 14px;
  display: none;
  cursor: pointer;
}

.customSelect .uncheckAll {
  position: absolute;
  display: inline-block;
  top: 10px;
  right: 5px;
  background-color: #9B6D08;
}

.customSelect.floated .uncheckAll {
  top: 15px;
}

.customSelect .list .search .rmv::after,
.customSelect .list .search .rmv::before,
.customSelect .uncheckAll::after,
.customSelect .uncheckAll::before {
  content: "";
  display: block;
  position: absolute;
  width: 10px;
  height: 2px;
  background: #ccc;
  border-radius: 5px;
  top: 6px;
  left: 2px;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.customSelect .list .search .rmv::after,
.customSelect .uncheckAll::after {
  width: 2px;
  height: 10px;
  top: 2px;
  left: 6px;
}

.customSelect .list .options {
  max-height: 300px;
  overflow: auto;
  /* padding: 2px; */
}

.customSelect.filter .list .options {
  max-height: 200px;
}

.customSelect .list .options .option {
  display: block;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 100%;
}

.customSelect .list .options .option .checkmark {
  border-bottom: 1px solid #ccc;
}

.customSelect .list .options .option input:checked~.checkmark {
  border-bottom: 1px solid #8b6207;
}

.customSelect .list .options .option:last-child .checkmark {
  border-bottom: none;
}

.customSelect .list .options .option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.customSelect .list .options .option .checkmark {
  display: block;
  width: 100%;
  padding: 10px;
  background-color: var(--inputColor);
  /* color: var(--inputTextColor); */
  color: var(--optionColor);
  box-shadow: none;
}

.customSelect .list .options .option input:checked~.checkmark {
  background-color: var(--checkedColor);
  color: var(--checkedTextColor);
}

.customSelect .list .options::-webkit-scrollbar {
  width: 3px;
}

.customSelect .list .options::-webkit-scrollbar-thumb {
  background: var(--listBoxColor);
  background-color: rgb(128, 128, 128);
}

/* **** Custom Select **** */