/******** scrollbar START  ********/
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #f2f2f1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #999;
}
/******** scrollbar END ********/


/* support & terms START*/
/* ************************************* */
#supportBar {
  background-color: #28313b;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.6s;
  transform: translateY(100%);
}

#supportBar.opened {
  transform: translateY(0);
}

#supportBar::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  backface-visibility: hidden;
  transform: translate(-50%, -100%);
  width: 70px;
  height: 15px;
  background-color: #485461;
  background-image: linear-gradient(to bottom, #485461 0%, #28313b 74%);
  border-radius: 5px 5px 0 0;
  cursor: pointer;
}

#supportBar::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border-style: solid;
  border-color: #fff;
  border-top-color: transparent;
  border-right-color: transparent;
  border-width: 4px;
  transform-origin: center;
  transform: translate(-50%, -10px) rotate(-225deg);
  transition: all 0.2s;
  cursor: pointer;
}

#supportBar.opened::after {
  transform: translate(-50%, -18px) rotate(-45deg);
}

#supportBar p {
  font-size: 12px;
  text-align: center;
  margin: 15px 0;
}

#supportBar p small {
  display: inline-block;
  color: #fff;
  text-transform: lowercase;
  cursor: pointer;
  font-size: 15px;
  margin: 8px 0;
  padding-right: 4px;
}

#supportBar p small::first-letter {
  text-transform: uppercase;
}

#supportBar p small:not(:last-child) {
  border-right: 1px solid #fff;
}

#supportModalClose,
.popup-privacy-close-button,
.popup-terms-close-button {
  position: absolute;
  right: 10px;
  top: 4px;
  font-size: 25px;
  font-weight: 700;
  cursor: pointer;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  line-height: 1;
  background-color: #fff;
  color: #e4002b;
  box-shadow: 0 0.5px 1px rgb(0 0 0 / 40%);
  display: flex;
  justify-content: center;
  align-items: center;
}

div#privacy_container,
div#terms_container,
div#ethics_container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(3px);
}

.privacy_container_inner,
.terms_container_inner {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  color: #000;
  max-width: 1000px;
  width: 96%;
  height: 96%;
  border-radius: 5px;
  padding: 20px 0;
  position: relative;
}

.privacy_container_content,
.terms_container_content {
  padding: 20px;
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  font-size: 14px;
}

.privacy_container_content > p,
.privacy_container_content > li,
.terms_container_content > p,
.terms_container_content > li {
  font-size: 14px;
  margin: 15px 0;
  color: #333333 !important;
}
.privacy_container_content > a {
  text-decoration: underline;
  color: #000;
  word-break: break-all;
}
.privacy_container_content > table {
  border-collapse: collapse;
}
.privacy_container_content > table tbody tr {
  border-bottom: 1px solid #000;
}
.privacy_container_content > table tbody tr td {
  padding: 10px 1px;
}
.terms_container_content > li,
.privacy_container_content > li {
  margin-left: 20px;
}

span.domain:not(h2 > span.domain) {
  font-size: 14px;
  font-weight: bold;
}

/* Support form */
div#supportModal {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

#supportForm {
  position: relative;
  max-width: 600px;
  width: 96%;
  max-height: 96%;
  overflow: hidden scroll;
  padding: 20px;
  color: #000;
  background: #fff;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  height: auto;
}

#supportForm h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333333 !important;
}

#supportForm p {
  font-size: 18px;
  margin: 15px 0;
  font-weight: normal;
  color: #333333 !important;
}

#supportForm #supportModalClose {
  right: 4px;
}

#supportForm form {
  display: flex;
  flex-direction: column;
  text-align: left;
}
#supportForm form .inputHolder {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}
#supportForm form .inputHolder label {
  margin: 10px 0;
  padding-left: 5px;
  font-size: 18px;
}
#supportForm form .inputHolder input,
#supportForm form .inputHolder textarea {
  font-family: inherit;
  margin: 0;
  padding: 10px;
  border-radius: 10px;
  background-color: #edf2f5;
  border: none;
  font-size: 18px;
}

#supportForm form .inputHolder textarea::placeholder {
  font-size: 18px;
}

#supportForm form .inputHolder textarea {
  min-height: 150px;
}

#supportForm form .inputHolder input:active,
#supportForm form .inputHolder input:focus,
#supportForm form .inputHolder textarea:active,
#supportForm form .inputHolder textarea:focus {
  outline: none;
}

#submitSupportForm {
  margin-top: 25px;
  display: flex;
  background: linear-gradient(rgb(72, 84, 97) 0%, rgb(40, 49, 59) 74%);
  font-size: 20px;
  text-transform: uppercase;
  justify-content: center;
  padding: 1.20px;
  border-radius: 10px;
  color: #fff;
  padding: 10px;
}

#supportForm form #errMsg {
  margin: 0;
  margin-top: 10px;
  text-align: center;
  font-size: 18px;
}

.inputHolder.has-error label {
  color: #e4002b;
}

.inputHolder.has-error .help-block-error {
  display: block;
  margin-top: 6px;
  color: #e4002b;
}

#supportForm p#successMsg {
  color: #34bf49 !important;
  text-align: center;
}

.loader {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(33, 30, 51, 0.4);
  display: none;
}

.loader .spinner {
  border: 5px solid #f5f7f6;
  border-radius: 50%;
  border-top: 5px solid #907cff;
  width: 40px;
  height: 40px;
  animation: spin 1000ms linear infinite;
  margin: 10px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


.terms_container_content > h4,
.privacy_container_content > h4,
.terms_container_content > h5,
.privacy_container_content > h5,
.terms_container_content > h6,
.privacy_container_content > h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: inherit;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}

.terms_container_content > h1,
.privacy_container_content > h1 {
  font-size: 32px;
}
.terms_container_content > h2,
.privacy_container_content > h2 {
  font-size: 30px;
}
.terms_container_content > h3,
.privacy_container_content > h3 {
  font-size: 24px;
}
.terms_container_content>h4,
.privacy_container_content>h4 {
  font-size: 30px;
}

.terms_container_content>h5,
.privacy_container_content>h5 {
  font-weight: 700;
  font-size: 16px;
}

.terms_container_content>h6,
.privacy_container_content>h6 {
  font-weight: 700;
  font-size: 14px;
}

.terms_container_content>p,
.privacy_container_content>p {
  margin: 0 0 10px;
  font-weight: 500;
  font-style: normal;
  line-height: 1.5em;
}

.privacy a {
  overflow-wrap: break-word;
  color: #7994b8;
}

.privacy .cookies-table .col20,
.privacy .cookies-table .col40 {
  width: 20%;
  float: left;
  text-align: center;
  overflow-wrap: break-word;
  padding: 0 5px;
}

.privacy .cookies-table .col40 {
  width: 40%;
  text-align: left;
}

.privacy .cookies-table .table-header {
  padding: 2px 0;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  margin: 0 0 5px;
}

.privacy .cookies-table .table-row {
  padding: 5px 0;
  font-size: 12px;
  line-height: 14px;
}

.privacy .cookies-table .table-row:nth-child(2n) {
  background: rgba(255, 255, 255, 0.5);
}

.privacy .cookies-table .table-row:nth-child(2n + 1) {
  margin: 2px 0;
}
@media only screen and (max-width: 767px) {
  .terms_container_content > h1,
  .privacy_container_content > h1 {
    font-size: 30px;
  }
  .terms_container_content > h2,
  .privacy_container_content > h2 {
    font-size: 26px;
  }
  .terms_container_content > h3,
  .privacy_container_content > h3 {
    font-size: 20px;
  }
  .terms_container_content > h4,
  .privacy_container_content > h4 {
    font-size: 26px;
  }

  .terms_container_content > h5,
  .privacy_container_content > h5 {
    font-weight: 700;
    font-size: 14px;
  }

  .terms_container_content > h6,
  .privacy_container_content > h6 {
    font-weight: 700;
    font-size: 13px;
  }
  .privacy_container_inner,
  .terms_container_inner {
    background: rgba(255, 255, 255, 0.9);
  }
}
