﻿html {
  font-style: normal;
  font-size: 16px;
}

a:hover {
  text-decoration: none;
}

/* Header topbar styling */
#header_topbar {
  width: 100%;
  display: block;
  height: 32px;
  background-image: linear-gradient(90deg, #2B57A7, #035188, #05649f, #0477b5, #008bcc);
  line-height: 32px;
}

#header_topbar svg {
  padding: 2px 0;
}

#header_topbar a {
  color: #fff;
  padding: 0.18rem 0;
  font-size: 14px;
  line-height: 1.5;
  font-family: Montserrat, sans-serif;
}

#header_topbar a:hover {
  color: #fff;
  text-decoration: underline;
}

#header_topbar svg.icon-for-text {
  margin-right: 5px;
}

/* Main header styling */
.header-title a, .header-title a:hover, .header-title a:active {
  background: none;
  outline: none;
  text-decoration: none;
}

.logo {
  width: 48px;
  overflow: hidden;
  height: 53px;
  display: inline-block;
}

.header-title .logo {
  vertical-align: middle;
}

/* Navigation menu styling */
.navbar-nav > li > a {
  text-transform: uppercase;
  font-size: 14px;
  color: #009ee3;
}

.navbar-nav li > a {
  font-size: 14px;
}

.navbar-nav > li > a:focus,
.navbar-nav > li > a:hover {
  /*color: #003868;*/
}

.dropdown-menu > li > a {
  /*color: #009ee3;*/
  font-weight: 500;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  /*color: #003868;
  background-color: transparent;*/
}

@media (min-width: 768px) {
  .navbar-nav {
    float: none;
    margin: 0 auto;
    display: table;
    table-layout: fixed;
  }
  #header .dropdown:hover .dropdown-menu,
  #header_topbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
/* Language navbar styling */
#navbar-language {
  height: 32px !important;
  line-height: 32px;
}

#navbar-language .navbar-nav {
  margin: 0 auto;
  margin-top: -2px;
}

#navbar-language .dropdown-menu {
  /*min-width: 0;*/
  background-color: #0477b5;
  border: none;
  border-radius: unset;
  text-align: center;
}

#navbar-language .navbar-nav > li > a {
  padding: 0.6rem 20px 0 20px;
}

#navbar-language .dropdown-menu > li > a:focus,
#navbar-language .dropdown-menu > li > a:hover {
  color: #003868;
  background-color: #0477b5;
}

#navbar-language .nav > li > a:focus,
#navbar-language .nav > li > a:hover {
  background: none;
}

/* Main content area */
.main-content {
  min-height: 55vh;
}

/* Footer styling */
footer, .footer {
  margin-top: 35px;
  background-image: linear-gradient(to right, #2B57A7, #035188, #05649f, #0477b5, #008bcc);
  width: 100%;
  white-space: normal;
  line-height: normal;
}

footer a, footer a:link, footer a:visited,
.footer a, .footer a:link, .footer a:visited {
  color: #fff;
  padding: 0.18rem 0;
  font-size: 13px;
  line-height: 1.66667;
  font-family: Montserrat, sans-serif;
}

footer a:hover, .footer a:hover {
  color: #009FE3;
}

footer h4, .footer h4 {
  color: #fff;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-size: 1.21429rem;
  line-height: 1.17647;
  line-height: 23px;
  margin-bottom: 10px;
}

/* Button styling */
/*
button.btn-primary,
a.btn-primary {
    border: 0;
    border-radius: 0;
    font-family: "Montserrat", sans-serif;
    vertical-align: middle;
    font-size: 14px;
    background-color: #2B57A7;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    position: relative;
    padding: 9px 15px;
    cursor: pointer;
    color: #fff;
    margin: 2px 0;
}

button.btn-primary:hover,
a.btn-primary:hover {
    background-color: #2B57A7;
    color: #fff;
}*/
/* Form elements */
/*
input:focus, textarea:focus,
input[type="text"]:focus, input[type="number"]:focus,
input[type="email"]:focus, input[type="password"]:focus {
    border: 1px solid #009FE3;
    outline: none;
}

input:hover, textarea:hover,
input[type="text"]:hover, input[type="number"]:hover,
input[type="email"]:hover, input[type="password"]:hover {
    border-color: #999;
}*/
/* Validation styles */
.field-validation-error {
  color: #e80c4d;
  font-weight: bold;
}

.validation-error[style*=inline] {
  display: inline-block !important;
  color: #FF0000;
  font-size: 0.9rem;
}

/* Heading styles */
h1, h2, h3, h4, h5, h6 {
  color: #000;
}

/* Fix for Bootstrap navbar */
.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
}

#nav-logo {
  width: 135px;
  margin: 0.5rem 0;
}

/* Fix for footer padding */
.footer .container {
  padding-top: 15px;
  padding-bottom: 15px;
}

/* Ensure consistent font sizes */
/*.btn, .form-control, .nav-link {
    font-size: 14px;
}*/
/* Ensure consistent table styling */
table {
  border-collapse: collapse;
  border-spacing: 0;
  border: 0 none;
}

th {
  font-size: 1em;
  text-align: left;
  border: none 0;
  padding-left: 0;
}

.dropdown-item {
  /*color: #009ee3;*/
  font-weight: 500;
}

.dropdown-item:focus,
.dropdown-item:hover {
  background-color: transparent;
}

.card-header {
  background-color: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

/* Ensure consistent spacing */
.mt-3, .my-3 {
  margin-top: 1rem !important;
}

.mb-3, .my-3 {
  margin-bottom: 1rem !important;
}

/* Horizontal navbar styling */
.navbar-nav.flex-row .nav-item {
  margin-right: 1rem;
  display: inline-block;
}

.navbar-nav.flex-row .nav-item:last-child {
  margin-right: 0;
}

/* Responsive adjustments */
@media only screen and (max-width: 767px) {
  .header-title {
    margin: 10px;
    text-align: center;
  }
  #header-login {
    font-size: 0.85em;
    margin: 0 0 12px;
    text-align: center;
  }
  ul#menu {
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .footer {
    position: relative;
  }
  /* Fix for mobile menu */
  .navbar-collapse {
    background-color: #fff;
    padding: 15px;
  }
  /* Stack navbar items vertically on mobile */
  .navbar-nav.flex-row {
    flex-direction: column !important;
  }
  .navbar-nav.flex-row .nav-item {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
}
/* ==========================================================================
   BUTTON STYLES
   ========================================================================== */
.btn-default {
  background-color: #fff;
  border: 1px solid #ccc;
}

a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:visited {
  color: #fff;
}

button[type=submit].btn-default {
  border: 1px solid #ccc;
  border-radius: 0;
  vertical-align: middle;
  font-size: 14px;
  background-color: #ccc;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  position: relative;
  padding: 9px 15px;
  cursor: pointer;
  color: #333;
  margin: 2px 0;
}

.k-button-solid-base,
button[type=button].btn-default {
  border: 1px solid #ccc;
  border-radius: 0;
  vertical-align: middle;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  position: relative;
  padding: 9px 15px;
  cursor: pointer;
  color: #333;
  margin: 2px 0;
}

.k-button-solid-primary,
input[type=submit],
button[type=submit],
.btn-primary,
input[type=button],
button,
.btn.slcbutton {
  /*border: 0;*/
  border-radius: 0;
  vertical-align: middle;
  font-size: 14px;
  background-color: #009FE3;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  position: relative;
  padding: 9px 15px;
  cursor: pointer;
  color: #fff;
  margin: 2px 0;
}

.btn[disabled] {
  background-color: #333;
}

.btn[disabled]:hover {
  background-color: #333;
}

input[type=submit].toggle.btn-default {
  background-color: #999;
}

.toggle-on.btn-primary {
  background-color: #009FE3;
}

.k-button-solid-base:hover,
.k-button-solid-primary:hover,
button[type=submit]:hover,
input[type=submit]:hover,
input[type=button]:hover,
button:hover, .btn:hover,
a.btn.slcbutton:hover {
  background-color: #003869;
  color: #fff;
}

.k-button:hover {
  /*color: #333;*/
}

.k-pager-md .k-pager-numbers-wrap .k-button:hover {
  color: #000;
}

input[type=submit].toggle.btn-default:hover {
  background-color: #003869;
  color: #fff;
}

input[type=submit].toggle.btn-primary:hover {
  background-color: #009FE3;
  color: #fff;
  cursor: default;
}

input[disabled] {
  background-color: #999;
  border: 0;
}

input[disabled]:hover {
  background-color: #999;
  border: 0;
}

.btn {
  --bs-btn-border-radius: 0;
  border-radius: 0;
}
