:root {
  --tc-bluedark: #20469b;
  --tc-bluelight: #78b3f0;
  --tc-white: #fafafa;
  --tc-gray: #f2f5f8;
  --tc-graydark: #828588;
  --tc-black: #222;

  --tcs-blue: #8CB1E6;
  --tcs-green: #95E68C;
  --tcs-pink: #E68CC5;
  --tcs-yellow: #E6C68C;
  --tcs-brown: #CCAFC2;
  --sz-toolbar-y: 48px;
  --sz-header-y: 76px;
  --sz-footer-y: 150px;

  --tc-red: #9b2020;
}

* {
  font-family: thongterm, sans-serif;
  font-style: normal;
}

html, body { overflow-x: hidden; }

body {
  background-color: var(--tc-white) !important;
}

footer {
  background-color: var(--tc-gray);
}

footer .contact a {
  text-decoration: none;
}

a.disabled-link {
  pointer-events: none;
}

header {
  background: url(/static/images/themes/header_02_c.jpg) no-repeat center center ;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;

  /* background: url(/static/images/themes/header_02_c.jpg) 0 0 / 100% auto no-repeat; */
}

header h1 {
  color: var(--tc-bluelight);
  font-size: 3.2rem;
  font-weight: bolder;
  text-transform: uppercase;
}

header p {
  color: var(--tc-gray);
  line-height: 2rem;
  font-size: 1.2rem;
  font-weight: normal;
}

header p strong {
  color: var(--tc-white);
  line-height: 2.5rem;
  font-size: 1.35rem;
  font-weight: normal;
  font-style: italic;
}

header a.btn {
  color: var(--tc-white) !important;
  background-color: var(--tc-bluelight) !important;
  border: none;
}

h2 {
  color: var(--tc-bluedark);
  font-size: 2.5rem;
  font-weight: bolder;
}

p {
  font-size: 1.2rem;
}

.about img {
  height: 180px;
  position: relative;
  top: calc(50% - 98px);
}

.event .card {
  height: 182px; 
}

.event .card-body {
  height: 180px; 
  padding: 20px;
}

.event img {
  height: 180px; 
  object-fit: cover;
  object-position: 25% 25%; 
}

.event .news-text-crop {
  font-size: 1rem;
  line-height: 1.82rem;
  display: block;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow : hidden;
  text-overflow: ellipsis;
}

.event .news-text-title {
  line-height: 1.8rem;
}

.event .news-text-date {
  font-size: 1rem;
  position: absolute;
  bottom: 0.65rem;
}

.news-text-crop {
  -webkit-line-clamp: 3;
  overflow : hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

.news-text-title {
  line-height: 200%;
}

.event-accordion, 
.event-accordion .card,
.event-accordion .card-header {
  border: none;
  background: none;
}

.event-accordion .card-header,
.event-accordion button {
  padding: 0;
}

.event-fi {
  max-height: 300px;
}

.menu img {
  height: 180px;
  width: 180px;
  position: relative;
}


/* .counters h1 {
  color: var(--tc-bluedark);
} */

.counters h2 {
  font-size: 1.2rem;
  color: var(--tc-bluedark);
}

.counters img {
  height: 50px;
  width: auto;
  margin-bottom: 1rem;
}

.partners .logo-container {
  aspect-ratio: 1/1;
  width: 100%;
  text-align: center;
  display: grid;
  place-items: center;
}

.partners .logo-container img {
  max-width: 90%;
  max-height: 200px;
  width: auto;
  margin: 1rem;
}

.partners a.btn {
  /* padding: 0.5rem 0.35rem; */
  color: var(--tc-white) !important;
  font-size: 0.9rem;
  background-color: var(--tc-bluedark) !important;
  border: none;
}

.login .register-option {
  color: var(--tc-graydark);
}

.login .register-option a {
  color: var(--tc-gray);
  text-decoration: none;
}

.input-wrapper {
  position: relative;
}

button.btn-inside-input {
  outline: none !important;
  box-shadow: none !important;
  border-radius: 50%;
  height: 100%;
  aspect-ratio: 1;
  position: absolute;
  right: 0;
  top: 0;
}

.btn-sub-text {
  font-size: 0.7rem;
  line-height: 0.1rem;
}

.form.calc-form .card-header {
  margin: 1.5rem 0rem 2rem 0rem;
  padding: 0.25rem;
  background: none;
  text-align: center;
  font-style: italic;
  font-size: 1rem;
  border-radius: 0;
  border: none;
}

.form.calc-form .card-header.yellow {
  background-color: var(--tcs-yellow);
  color: var(--tc-black);
}

.form.calc-form .card-header.green {
  background-color: var(--tcs-green);
  color: var(--tc-black);
}

.form.calc-form .card-header.blue {
  background-color: var(--tcs-blue);
  color: var(--tc-black);
}

.form.calc-form .card-header.pink {
  background-color: var(--tcs-pink);
  color: var(--tc-black);
}

.form.calc-form .card-header.brown {
  background-color: var(--tcs-brown);
  color: var(--tc-black);
}

table#data, table.list, table#data-user-policies {
  width: 100% !important;
}

table.policy-card {
  width: 100%;
}

table.policy-card th, table.policy-card td {
  border: 1px solid #000;
  padding: 0.2rem 0.5rem;
}

.calc-result ul ul {
  padding: 0;
  list-style-type: none;
  font-size: 0.8rem;
}

.calc-result .benefit-type-label {
  display: block;
  position: absolute;
  right: 1rem;
  bottom: 1.4rem;
  font-style: italic;
}

.calc-result .ref-no {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  background: none;
}

.calc-result .ref-no span {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.calc-result .summary-total h7 {
  font-size: 0.9rem;
}

.calc-result .summary-total div div {
  font-size: 0.9rem;
}

#calc-edit-button, #calc-exit-button, #calc-print-button {
  position: fixed;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  text-align: center;
  color: var(--tc-white);
  border-radius: 100%;
}

#calc-edit-button {
  bottom: 10.5rem;
  background-color: var(--tc-bluedark);
}

#calc-exit-button {
  bottom: 20.5rem;
  background-color: var(--tc-red);
}

#calc-print-button {
  bottom: 15.5rem;
  background-color: var(--tc-bluedark);
}


#calc-edit-button i, #calc-exit-button i, #calc-print-button i {
  display: block;
  margin: 0.9rem;
  font-size: 1.5rem;
}

#calc-edit-button i {
  margin: 0.95rem 1.05rem;
}

#calc-exit-button i {
  margin: 1rem 1.05rem;
}

#calc-print-button i {
  margin: 1rem 1.05rem;
}

#calc-edit-button a, #calc-edit-button a:hover, #calc-edit-button a:visited, #calc-edit-button a:active,
#calc-exit-button a, #calc-exit-button a:hover, #calc-exit-button a:visited, #calc-exit-button a:active,
#calc-print-button a, #calc-print-button a:hover, #calc-print-button a:visited, #calc-print-button a:active {
  color: var(--tc-white);
  text-decoration: none;
}

#calc-edit-button .label, #calc-exit-button .label, #calc-print-button .label {
  position: relative;
  color: var(--tc-graydark);
  font-size: 0.8rem;
}

#calc-edit-button .label {
  top: 0.1rem;
}

#calc-exit-button .label {
  top: -0.25rem;
}

#calc-print-button .label {
  top: -0.15rem;
}


input[type=number].no-number-control::-webkit-outer-spin-button,
input[type=number].no-number-control::-webkit-inner-spin-button,
input[type=number].no-number-control {
  -webkit-appearance: none;
  /* margin: 0; */
  -moz-appearance: textfield;
}

a.disabled {
  pointer-events: none; 
}

a.disabled-looky {
  cursor: default;
}

a.hover-in-progress {
  cursor: wait !important;
}

a.disabled-looky:hover {
  cursor: default;
  background-color: #fff;
}

ul.no-bullet {
  list-style-type: none;
}

img.qr {
  margin: auto;
  width: 140px;
  height: auto;
}

img.list {
  height: 30px;
  width: 30px;
}

.error {
  color: #e00101;
}

.error-label {
  padding-left: 0.05rem;
  font-size: 0.8rem;
  /* vertical-align: super; */
}

.error-label::before {
  content: "* ";
}

.error-label.optional::before {
  content: "" !important;
}

.fit-screen-height {
  min-height: calc(100vh - var(--sz-footer-y) - var(--sz-header-y));
}

.fit-screen-height-wtool {
  min-height: calc(100vh - var(--sz-footer-y) - var(--sz-header-y) - var(--sz-toolbar-y));
}

.policy-logo .space-x {
  width: 2rem;
}

.policy-logo tr td {
  padding: 0px;
}

.policy-logo tr td:first-child img {
  height: 220px;
}

.policy-logo img {
  height: 140px;
}

div.chart {
  background-color: #fff !important;
}

.terms section {
  border-bottom: 1px solid #dee2e6!important;
  padding: 2rem 1rem;
}

.terms .signup a {
  margin: 0rem 2rem;
}

.terms .signup span {
  font-size: 1.4rem;
}

.hidden {
  display: none !important;
}

.rating-face {
  text-align: center;
}

.rating-face ul {
  width: 325px;
  margin: auto;
}

.rating-face ul li {
  width: 65px;
  padding: 0.5rem;
  border: none;
  
}

.rating-face i {
  font-size: 2.1rem;
  cursor: pointer;
}

.rating-face .filled {
  color: #e0a926;
}

.rating-face .washed {
  color: #bbb;
}

.rating-face .outline {
  color: var(--tc-bluedark);
}

.termcontent {
  font-size: 1rem;
}

.termsublist {
  margin-bottom: 0.5em;
}

.term-listtitle {
  font-weight: bold;
  color: var(--tc-bluedark);
}

.subtitle {
  font-size: 0.9rem;
  font-style: italic;
}

#site-counter {
  display: inline;
  background-color: var(--tc-black);
  border-radius: 0.2rem;
  padding: 0.1rem 0.5rem;

  font-family: "odisseia", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: var(--tc-white);
}


@media print {
  .breadcrumb {
    display: none !important;
  }

  footer.border-bottom {
    border-bottom: none !important;
  }

  .badge.ref-no {
    border: none !important;
  }

  .print-no-border {
    border: none !important;
  }

  .print-text-black {
    color: #000 !important;
  }

  .print-hidden {
    display: none !important;
  }
}

@media (max-width: 1199.98px) { 
  .event .card-body {
    padding: 14px;
  }

  .rating-face ul {  
    flex-direction: row;
  }
}

@media (max-width: 767.98px) {
  .event .card-body {
    padding: 10px;
  }

  .partners .logo-container {
    aspect-ratio: auto;
  }
}

@media (max-width: 575.98px) { 
  .event .card {
    height: 360px; 
  }
}

