@import url("https://fonts.googleapis.com/css2?family=Kanit&display=swap");

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
  font-family: "Kanit", sans-serif;
}
/*
body::after {
    content: "";
    background-image: url('../images/bg.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    position:  fixed;
    z-index: -1;
}
header {
    background-color: white;
}
*/

h1 {
  font-size: 2rem;
}

a {
  color: #1a305b;
  text-decoration: none;
}

#flags {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,f3f3f3+50,ededed+51,ffffff+100;White+Gloss+%232 */
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #ffffff 0%,
    #f3f3f3 50%,
    #ededed 51%,
    #ffffff 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    #ffffff 0%,
    #f3f3f3 50%,
    #ededed 51%,
    #ffffff 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #f3f3f3 50%,
    #ededed 51%,
    #ffffff 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

#main {
  background-color: rgba(255, 255, 255, 0.7);
}

.btn-login {
  border: #1a305b 1px solid;
}
.btn-login:hover {
  color: white !important;
  background-color: #1a305b;
  border: #1a305b 1px solid;
}

.card-header {
  color: white;
  background: #1e5799;
  background: -moz-linear-gradient(
    top,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  background: -webkit-linear-gradient(
    top,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  background: linear-gradient(
    to bottom,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e5799', endColorstr='#7db9e8', GradientType=0);
  font-weight: bold;
  border-bottom: none;
}

.tabulator {
  font-size: var(--font-size-sm);
  border-radius: 6px;
}

.btn-primary-gradient {
  background: #6db3f2;
  background: -moz-linear-gradient(
    top,
    #6db3f2 0%,
    #54a3ee 50%,
    #3690f0 51%,
    #1e69de 100%
  );
  background: -webkit-linear-gradient(
    top,
    #6db3f2 0%,
    #54a3ee 50%,
    #3690f0 51%,
    #1e69de 100%
  );
  background: linear-gradient(
    to bottom,
    #6db3f2 0%,
    #54a3ee 50%,
    #3690f0 51%,
    #1e69de 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6db3f2', endColorstr='#1e69de', GradientType=0);
}
/*
.btn-success {
  background: #bfd255;
  background: -moz-linear-gradient(
    top,
    #bfd255 0%,
    #8eb92a 50%,
    #72aa00 51%,
    #9ecb2d 100%
  );
  background: -webkit-linear-gradient(
    top,
    #bfd255 0%,
    #8eb92a 50%,
    #72aa00 51%,
    #9ecb2d 100%
  );
  background: linear-gradient(
    to bottom,
    #bfd255 0%,
    #8eb92a 50%,
    #72aa00 51%,
    #9ecb2d 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#bfd255', endColorstr='#9ecb2d', GradientType=0);
}

.btn-danger {
  background: #efc5ca;
  background: -moz-linear-gradient(
    top,
    #efc5ca 0%,
    #d24b5a 50%,
    #ba2737 51%,
    #f18e99 100%
  );
  background: -webkit-linear-gradient(
    top,
    #efc5ca 0%,
    #d24b5a 50%,
    #ba2737 51%,
    #f18e99 100%
  );
  background: linear-gradient(
    to bottom,
    #efc5ca 0%,
    #d24b5a 50%,
    #ba2737 51%,
    #f18e99 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#efc5ca', endColorstr='#f18e99', GradientType=0);
}
*/
.btn-success {
  background-color: #43b14b;
}

.gradient-buttons {
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.2) 49%,
    rgba(0, 0, 0, 0.15) 51%,
    rgba(0, 0, 0, 0.05)
  );
  background-repeat: repeat-x;
}

.tabulator .tabulator-header .tabulator-col {
  color: white;
  background: #1e5799;
  background: -moz-linear-gradient(
    top,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  background: -webkit-linear-gradient(
    top,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  background: linear-gradient(
    to bottom,
    #1e5799 0%,
    #2989d8 50%,
    #207cca 51%,
    #7db9e8 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#1e5799', endColorstr='#7db9e8', GradientType=0);
}

.tabulator .tabulator-footer {
  font-size: 14px;
  background-color: aliceblue;
}

.nav-link {
  font-size: calc(var(--font-size-base) * 0.875);
}
.navbar-expand-md .navbar-nav .nav-link {
  padding-left: 10px;
  padding-right: 10px;
  margin-left: 10px;
}

.nav-link:focus,
.nav-link:hover {
  color: #418671;
}

/*
.footer {
    color: #808080;
}
*/
.footer a {
  color: white;
}
.footer {
  /* background-color: #7ECCB5;
    color: white;*/
  font-size: var(--font-size-sm);
  height: 40px;
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #a94442;
  background: #fdf7f7;
  border-left: 3px solid #eed3d7;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
  padding-top: 7px;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 0;
  }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
  outline: none;
}

.breadcrumb {
  font-size: var(--font-size-sm);
}