@font-face {
  font-family: 'thasadithbold';
  src: url('../fonts/thasadith-bold-webfont.woff2') format('woff2'), url('../fonts/thasadith-bold-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
:root[data-theme="light-mode"] {
  --bg-color: #F3F9FB;
  --text-color: #00183C;
  --link-color: #00183C;
  --bg-toggler: #00183C;
  --left-toggler: 5px;
  --btabout-color: #4FFFE4;
  --check-color: #00183C;
  --bgabout-color: #00183C;
  --bgabout-url: url('../img/bg-about-dark.png');
  --textabout-color: #FFFFFF;
  --brandabout-url: transparent url('../img/logo-dark.png') no-repeat left top;
  --bgabout-toggler: #4FFFE4;
  --linkabout-color: #4FFFE4;
  --bg-field: #fff;
  --border-section: #E9ECF0;
  --btn-hover: #00183C;
  --btn-color: #fff;
}
:root[data-theme="dark-mode"] {
  --bg-color: #00183C;
  --text-color: #FFFFFF;
  --link-color: #4FFFE4;
  --bg-toggler: #4FFFE4;
  --left-toggler: 32px;
  --btabout-color: #00183C;
  --check-color: #FFD44F;
  --bgabout-color: #4FFFE4;
  --bgabout-url: url('../img/bg-about-light.png');
  --textabout-color: #00183C;
  --brandabout-url: transparent url('../img/logo-light.png') no-repeat left top;
  --bgabout-toggler: #00183C;
  --linkabout-color: #00183C;
  --bg-field: #00183C;
  --border-section: #21406E;
  --btn-hover: #fff;
  --btn-color: #00183C;
}
body {
  width: 100%;
  height: 100vh;
  font-family: roc-grotesk, sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: all 0.3s ease-in-out;
}
a {
  color: var(--link-color);
  transition: all 0.3s ease-in-out;
}
.container {
  width: calc(100% - 40px);
  max-width: 941px;
}
.headerSection {
  margin: 0 0 30px;
}
h2 {
  font-size: 40px;
  letter-spacing: 0;
  line-height: 30px;
  margin: 0;
  font-weight: 400;
}
@media (max-width: 767px) {
  h2 {
    font-size: 26px;
  }
}
main {
  width: 100%;
  padding: 160px 0 0;
  overflow-x: hidden;
}
main.nopadding {
  padding: 0;
}
.light-mode #headerSite .brand-logo {
  background-image: url('../img/logo-light.png');
}
.light-mode #headerSite nav .btn-toggle .circle {
  background-image: url('../img/day.svg');
}
.light-mode .sectionHome .btn:hover {
  background-image: url('../img/bg-button-3.png'), url('../img/bg-button-4.png');
}
.dark-mode #headerSite .brand-logo {
  background-image: url('../img/logo-dark.png');
}
.dark-mode #headerSite nav .btn-toggle .circle {
  background-image: url('../img/night.svg');
}
#headerSite {
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--bg-color);
}
#headerSite .container {
  display: flex;
  align-items: center;
  padding: 25.18px 0;
}
#headerSite .brand-logo {
  width: 52px;
  height: 53px;
  margin: 0;
  text-indent: -999em;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
  border-radius: 100%;
  position: absolute;
  top: 25.18px;
  left: 27.19px;
  transition: all 0.3s ease-in-out;
  line-height: 0;
}
#headerSite .brand-logo a {
  width: 100%;
  height: 100%;
  display: block;
}
#headerSite nav {
  width: calc(100% - 52px);
  height: 53px;
  line-height: 53px;
  background: none;
  box-shadow: none;
}
#headerSite nav a {
  color: var(--link-color);
  position: relative;
  display: inline-block;
  font-size: 14px;
}
#headerSite nav a.nav-item {
  line-height: 30px;
}
#headerSite nav a.nav-item:after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: transparent;
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  transition: all 0.3s ease-in-out;
}
#headerSite nav a.nav-item.selected:after,
#headerSite nav a.nav-item:hover:after {
  background-color: var(--link-color);
}
#headerSite nav .btn-toggle {
  height: 32px;
  width: 61px;
  position: absolute;
  top: 35.68px;
  right: 186.5px;
}
#headerSite nav .btn-toggle .bg {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  border-radius: 16px;
  background-color: var(--bg-toggler);
  transition: all 0.3s ease-in-out;
}
#headerSite nav .btn-toggle .circle {
  width: 24.23px;
  height: 24.23px;
  border-radius: 100%;
  position: absolute;
  top: 3.88px;
  left: var(--left-toggler);
  transition: all 0.3s ease-in-out;
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 100% auto;
}
#headerSite nav .bt-about {
  display: inline-flex;
  align-items: center;
  position: absolute;
  top: 35.68px;
  right: 34.74px;
  line-height: 32px;
}
#headerSite nav .bt-about span {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: var(--bg-toggler);
  border-radius: 100%;
  position: relative;
  margin-left: 17.76px;
  transition: all 0.3s ease-in-out;
}
#headerSite nav .bt-about span:before,
#headerSite nav .bt-about span:after {
  content: "";
  background: var(--btabout-color);
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}
#headerSite nav .bt-about span:before {
  width: 14px;
  height: 2px;
}
#headerSite nav .bt-about span:after {
  width: 2px;
  height: 14px;
}
@media (max-width: 1160px) {
  #headerSite .brand-logo,
  #headerSite nav .bt-about,
  #headerSite nav .btn-toggle {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
  }
  #headerSite nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-left: 20px;
  }
  #headerSite nav .nav-item {
    margin: 0 auto 0 0;
  }
  #headerSite nav .bt-about {
    margin-left: 20px;
  }
}
@media (max-width: 767px) {
  #headerSite nav .nav-item {
    display: none;
  }
}
.sectionHome {
  border-bottom: 2px solid var(--border-section);
  padding: 80px 0 80px;
}
.sectionHome.nopadding {
  padding-bottom: 0;
}
.sectionHome:first-child {
  padding-top: 0;
}
.sectionHome:last-child {
  border: none;
  padding-bottom: 120px;
}
.sectionHome .containerTable {
  width: 100%;
  position: relative;
  margin-bottom: 29px;
}
.sectionHome table {
  border: none;
  width: 941px;
  position: relative;
  border-collapse: collapse;
}
.sectionHome thead tr {
  border-bottom: 2px solid #4FFF7C;
}
.sectionHome thead th {
  font-weight: 600;
  font-size: 10px;
  line-height: 12px;
  text-transform: uppercase;
  padding: 0 27px 0 8.5px;
  height: 43px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  position: relative;
}
.sectionHome thead th:hover,
.sectionHome thead th.selected {
  color: #00183C;
}
.sectionHome thead th:hover .bt-order,
.sectionHome thead th.selected .bt-order {
  display: block;
}
.sectionHome thead th .bt-order {
  width: 27px;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-image: url('../img/order.png');
  background-repeat: no-repeat;
  background-size: 8px auto;
  background-position: calc(100% - 10px) center;
  text-indent: -999em;
  display: none;
}
.sectionHome thead th.desc .bt-order {
  background-image: url('../img/order2.png');
}
.sectionHome thead:after {
  width: 100%;
  height: 26px;
  display: table-row;
  content: '';
  background-color: var(--bg-color);
}
.sectionHome tbody {
  width: 100%;
  border-radius: 5px;
  color: #00183C;
  position: relative;
  overflow: hidden;
}
.sectionHome tbody td {
  background-color: #fff;
  height: 52px;
  vertical-align: middle;
}
.sectionHome tr {
  border: none;
}
.sectionHome tr:first-child td {
  padding-top: 10px;
  height: 62px;
}
.sectionHome tr:first-child td:first-child {
  border-top-left-radius: 5px;
}
.sectionHome tr:first-child td:last-child {
  border-top-right-radius: 5px;
}
.sectionHome tr:last-child td {
  padding-bottom: 10px;
  height: 62px;
}
.sectionHome tr:last-child td:first-child {
  border-bottom-left-radius: 5px;
}
.sectionHome tr:last-child td:last-child {
  border-bottom-right-radius: 5px;
}
.sectionHome td,
.sectionHome th {
  border: none;
  border-radius: 0;
  width: 10%;
}
.sectionHome td {
  font-size: 14px;
  line-height: 16px;
  font-family: 'thasadithbold';
  padding: 0 8.5px;
}
.sectionHome td.col01 {
  padding-left: 17.5px;
}
.sectionHome .buttons {
  display: flex;
  align-items: center;
}
.sectionHome .btn {
  height: 52px;
  line-height: 52px;
  color: #00183C;
  font-size: 14px;
  font-weight: 500;
  box-shadow: none;
  transition: all 0.3s ease-in-out;
  background-image: url('../img/bg-button-1.png'), url('../img/bg-button-2.png');
  background-position: 25px center, calc(100% - 25px) center;
  background-repeat: no-repeat, no-repeat;
  background-size: 61px auto, 61px auto;
  text-transform: none;
  border-radius: 5px;
}
.sectionHome .btn:hover {
  background-color: var(--btn-hover) !important;
  color: var(--btn-color);
}
.sectionHome input.field,
.sectionHome .input-field {
  border-radius: 5px;
  margin: 0;
  color: var(--text-color);
  font-size: 14px;
  font-family: 'thasadithbold';
  background: var(--bg-field);
}
.sectionHome input.field {
  height: 48px;
  line-height: 48px;
  padding: 0 21px;
}
.sectionHome .input-field {
  width: 165.33px;
  height: 52px;
  line-height: 52px;
  padding: 0;
}
.sectionHome .select-wrapper {
  width: 100%;
  height: 100%;
}
.sectionHome .select-wrapper input.select-dropdown {
  width: calc(100% - 73px);
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-family: 'thasadithbold';
  color: var(--text-color);
  padding: 0 52px 0 21px;
  border: none;
}
.sectionHome .select-wrapper .caret {
  height: 32px;
  width: 32px;
  border-radius: 100%;
  right: 14px;
  fill: transparent;
}
.sectionHome .dropdown-content {
  border-radius: 5px;
}
.sectionHome .dropdown-content li > a,
.sectionHome .dropdown-content li > span {
  font-size: 14px;
  line-height: 22px;
  font-family: 'thasadithbold';
  color: #00183C;
}
.sectionHome .block {
  position: relative;
}
.sectionHome .block .field {
  width: calc(100% - 105px);
  padding: 0 80px 0 21px;
}
.sectionHome .block .type {
  position: absolute;
  opacity: 0.4;
  color: #FFFFFF;
  font-family: 'thasadithbold';
  font-size: 14px;
  letter-spacing: 0;
  line-height: 52px;
  text-align: right;
  bottom: 0;
  right: 20px;
}
@media (max-width: 992px) {
  .sectionHome table {
    margin-bottom: 20px;
  }
  .sectionHome .containerTable {
    /* width */
    /* button */
    /* Handle */
    /* Handle on hover */
    /* Track */
    /* The track NOT covered by the handle.
            ::-webkit-scrollbar-track-piece {
                background: #000;
            }
    
            /* Corner */
    /* Resizer */
  }
  .sectionHome .containerTable .contentTable {
    overflow-x: scroll;
  }
  .sectionHome .containerTable ::-webkit-scrollbar {
    width: 5px;
    height: 5px;
  }
  .sectionHome .containerTable ::-webkit-scrollbar-button {
    display: none;
  }
  .sectionHome .containerTable ::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: #4FFF7C;
  }
  .sectionHome .containerTable ::-webkit-scrollbar-thumb:hover {
    background: #68ff8f;
  }
  .sectionHome .containerTable ::-webkit-scrollbar-track {
    background: #D5FFE0;
    border-radius: 5px;
  }
  .sectionHome .containerTable ::-webkit-scrollbar-corner {
    background: #999;
  }
  .sectionHome .containerTable ::-webkit-resizer {
    background: #111;
  }
}
#mycontracts table.highlight > tbody > tr:hover td,
#mycontracts table .selected td {
  background-color: #D5FFE0;
}
#mycontracts thead tr {
  border-bottom: 2px solid #4FFF7C;
}
#mycontracts thead th:hover,
#mycontracts thead th.selected {
  background-color: #4FFF7C;
}
#mycontracts .col05 {
  width: 11%;
}
#mycontracts .col06 {
  width: 11%;
}
#mycontracts .col09 {
  width: 15%;
}
#mycontracts .col10 {
  width: 3%;
}
#mycontracts .buttons {
  justify-content: space-between;
}
#mycontracts .btn {
  background-color: #4FFF7C;
}
#mycontracts .field,
#mycontracts .input-field {
  border: 2px solid #4FFF7C;
}
#mycontracts .field {
  width: 119.33px;
  text-align: right;
}
#mycontracts .input-field {
  width: 165.33px;
}
#mycontracts .select-wrapper .caret {
  background: transparent url('../img/select-green.png') no-repeat left top;
  background-size: 100% auto;
}
#mycontracts .btExercise {
  width: 172.2px;
}
@media (min-width: 993px) {
  #mycontracts .btExercise {
    background-image: none;
  }
}
#mycontracts .btOffer {
  width: 356px;
}
#mycontracts .dropdown-content {
  border-radius: 5px;
}
#mycontracts .dropdown-content li > a,
#mycontracts .dropdown-content li > span {
  font-size: 14px;
  line-height: 22px;
  font-family: 'thasadithbold';
  color: #00183C;
}
#mycontracts .select-dropdown.dropdown-content li.selected {
  background-color: #D5FFE0;
}
#mycontracts .select-dropdown.dropdown-content li:hover {
  background-color: #a3fdba;
}
@media (max-width: 992px) {
  #mycontracts .buttons {
    flex-wrap: wrap;
  }
  #mycontracts .btExercise {
    width: 100%;
    margin-bottom: 20px;
  }
  #mycontracts .field,
  #mycontracts .input-field {
    margin-bottom: 20px;
  }
  #mycontracts .field {
    width: calc(50% - 58.5px);
    margin-right: 25px;
  }
  #mycontracts .input-field {
    width: calc(50% - 12.5px);
  }
  #mycontracts .btOffer {
    width: 100%;
  }
}
#buynewcontracts .content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#buynewcontracts .block {
  width: calc(20% - 19.2px);
  margin: 0 24px 33px 0;
}
#buynewcontracts .block:nth-child(5) {
  margin-right: 0;
}
#buynewcontracts .block:nth-child(6),
#buynewcontracts .block:nth-child(7),
#buynewcontracts .block:nth-child(8),
#buynewcontracts .block:nth-child(9) {
  margin-bottom: 0;
}
#buynewcontracts .titleBlock {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.83px;
  line-height: 12px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}
#buynewcontracts .valueBlock {
  font-family: 'thasadithbold';
  font-size: 25px;
  letter-spacing: 0;
  line-height: 30px;
}
#buynewcontracts .field,
#buynewcontracts .input-field {
  border: 2px solid #18D7FF;
}
#buynewcontracts .input-field {
  width: 100%;
}
#buynewcontracts .select-wrapper .caret {
  background: transparent url('../img/select-blue.png') no-repeat left top;
  background-size: 100% auto;
}
#buynewcontracts .btn {
  background-color: #18D7FF;
}
#buynewcontracts .btBuy {
  width: 356px;
}
#buynewcontracts .dropdown-content {
  border-radius: 5px;
}
#buynewcontracts .dropdown-content li > a,
#buynewcontracts .dropdown-content li > span {
  font-size: 14px;
  line-height: 22px;
  font-family: 'thasadithbold';
  color: #00183C;
}
#buynewcontracts .select-dropdown.dropdown-content li.selected {
  background-color: #afecf9;
}
#buynewcontracts .select-dropdown.dropdown-content li:hover {
  background-color: #79e4fb;
}
@media (max-width: 992px) {
  #buynewcontracts .block {
    width: calc(50% - 12.5px);
    margin: 0 0 33px !important;
  }
  #buynewcontracts .block:nth-child(1),
  #buynewcontracts .block:nth-child(4) {
    margin-right: 25px !important;
  }
  #buynewcontracts .block:nth-child(3) {
    display: none;
  }
  #buynewcontracts .block:nth-child(6),
  #buynewcontracts .block:nth-child(7),
  #buynewcontracts .block:nth-child(8),
  #buynewcontracts .block:nth-child(9),
  #buynewcontracts .block .btBuy {
    width: 100%;
  }
  #buynewcontracts .block:nth-child(9) {
    margin-bottom: 0 !important;
  }
  #buynewcontracts .block:nth-child(6),
  #buynewcontracts .block:nth-child(7),
  #buynewcontracts .block:nth-child(8) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px !important;
  }
  #buynewcontracts .block:nth-child(6) .titleBlock,
  #buynewcontracts .block:nth-child(7) .titleBlock,
  #buynewcontracts .block:nth-child(8) .titleBlock {
    margin: 0;
  }
}
#optioncontracts header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#optioncontracts .checkType label {
  margin-left: 24px;
}
#optioncontracts .checkType label:first-child {
  margin-left: 0;
}
#optioncontracts .checkType [type="radio"]:checked + span:after,
#optioncontracts .checkType [type="radio"].with-gap:checked + span:after {
  border: 2px solid var(--check-color);
}
#optioncontracts .checkType span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  padding-left: 24px;
  line-height: 16px;
  height: 16px;
  color: var(--text-color);
}
#optioncontracts .checkType span:before,
#optioncontracts .checkType span:after {
  margin: 0;
  width: 15px;
  height: 15px;
}
#optioncontracts .checkType span:before {
  border: 2px solid #FFD44F;
}
#optioncontracts .checkType span:after {
  background-color: var(--check-color);
}
#optioncontracts table.highlight > tbody > tr:hover td,
#optioncontracts table .selected td {
  background-color: #FFF5D5;
}
#optioncontracts thead tr {
  border-bottom: 2px solid #FFD44F;
}
#optioncontracts thead th:hover,
#optioncontracts thead th.selected {
  background-color: #FFD44F;
}
#optioncontracts .col01,
#optioncontracts .col02,
#optioncontracts .col03 {
  width: 7%;
}
#optioncontracts .col06 {
  width: 11%;
}
#optioncontracts .col09 {
  width: 15%;
}
#optioncontracts .buttons {
  justify-content: flex-end;
}
#optioncontracts .btn {
  background-color: #FFD44F;
}
#optioncontracts .field {
  border: 2px solid #FFD44F;
  width: 133px;
  padding: 0;
  text-align: center;
  margin-right: 27px;
}
#optioncontracts .btBuy {
  width: 250px;
}
@media (max-width: 992px) {
  #optioncontracts .buttons {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  #optioncontracts .field {
    width: 100%;
    margin: 0 0 20px;
  }
  #optioncontracts .btBuy {
    width: 100%;
  }
  #optioncontracts .containerTable ::-webkit-scrollbar-thumb {
    background: #FFD44F;
  }
  #optioncontracts .containerTable ::-webkit-scrollbar-thumb:hover {
    background: #ffe285;
  }
  #optioncontracts .containerTable ::-webkit-scrollbar-track {
    background: #FFF5D5;
  }
}
@media (max-width: 767px) {
  #optioncontracts header {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  #optioncontracts h2 {
    width: 100%;
    margin-bottom: 18px;
  }
}
#about {
  position: absolute;
  width: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: var(--bgabout-color);
  background-image: var(--bgabout-url);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 362px auto;
  color: var(--textabout-color);
  transform: translateY(-100%);
  transition: all 0.5s ease-in-out;
}
#about .container {
  padding: 110px 0 75px;
}
#about header {
  margin-bottom: 27px;
  max-width: 921px;
}
#about h2 {
  font-size: 38px;
  letter-spacing: 0;
  line-height: 52px;
}
#about p {
  font-size: 20px;
  letter-spacing: 0;
  line-height: 35px;
  width: 70%;
  max-width: 625px;
}
@media (max-width: 992px) {
  #about .container {
    padding: 174px 0 336px;
  }
  #about p {
    width: 100%;
  }
}
@media (max-width: 767px) {
  #about h2 {
    font-size: 26px;
    line-height: 40px;
  }
}
.openAbout #about {
  transform: translateY(0);
}
.openAbout #headerSite {
  background: var(--bgabout-color);
}
.openAbout #headerSite .brand-logo {
  background: var(--brandabout-url);
  background-size: 100%;
}
.openAbout #headerSite nav a {
  color: var(--linkabout-color);
}
.openAbout #headerSite nav a.nav-item.selected:after,
.openAbout #headerSite nav a.nav-item:hover:after {
  background: var(--linkabout-color);
}
.openAbout #headerSite nav .bt-about span {
  background: var(--bgabout-toggler);
}
.openAbout #headerSite nav .bt-about span:before {
  background: var(--bgabout-color);
}
.openAbout #headerSite nav .bt-about span:after {
  opacity: 0;
}
.openAbout #headerSite .btn-toggle {
  display: none;
}
@media (max-width: 992px) {
  .openAbout #headerSite nav .nav-item {
    display: block;
    position: absolute;
    top: 97px;
    left: 20px;
  }
}
