:root {
  --default-font: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --default-font-color: #111;
  --default-font-size: 14px;
  --default-font-weight: 400;

  --color-primary: #1662d2;
  --color-accent: #f5b333;
  --color-warning: #cd8e29;

  --link-color: #337ab7;

  --white: #ffffff;
  --red: #e87777;
  --pink: #e03052;
  --yellow: #f9bf0f;
  --turqoise: #56b8c8;
  --dark-blue: #252a39;
  --light-gray: #dddddd;
  --lighter-gray: #eeeeee;
  --dark-gray: #ccc;
  --darker-gray: #888;
  --site-bg: #f5f7fa;

  --shadow-light: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-dark: 0 3px 5px rgba(0, 0, 0, 0.3);
}

* {
  border-radius: 0;
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  /* background: var(--white); */
  background-color: var(--site-bg);
  color: var(--default-font-color);
  font-family: var(--default-font);
  font-size: var(--default-font-size);
  font-weight: 400;
  line-height: 1.6em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  font-family: var(--default-font);
  font-weight: 700;
}

a,
a:active {
  color: var(--color-primary);
}

small {
  font-size: 0.8em;
}

/* Utilities */
.text-info {
  color: #4ab5e5 !important;
}

/* List items */
ul,
ol {
  margin: 0;
  padding: 0;
}

ul.infolist,
ol.infolist {
  margin: 1em 0 0 2em;
}
ul.infolist li,
ol.infolist li {
  margin-bottom: 0.2em;
}

/* Tables */
table tr th,
table tr td {
  font-size: 11px;
}
table tr th {
  background: var(--light-gray) !important;
  border-bottom: 0 !important;
  border-color: var(--dark-gray) !important;
  padding: 4px 6px 6px !important;
}
table tr td {
  padding: 8px 8px 4px !important;
}
table tr td .btn {
  font-size: 0.85em;
  position: relative;
  top: -2px;
}

/* Full Calendar */
.fc-event {
  background: #3788d8;
  color: #fff;
  cursor: pointer;
  padding: 5px 10px;
}
.fc-event .fc-daygrid-event-dot {
  border-color: #fff;
}
.fc-event:hover {
  background: #eee;
}
.fc-event:hover .fc-daygrid-event-dot {
  border-color: #3788d8;
}

/* Forms */
legend {
  border-bottom: 1px solid var(--dark-gray);
  color: #333;
  font-size: 1em;
  font-weight: bold;
  padding: 8px 0;
}
.form-horizontal .col-form-label {
  text-align: end;
}
.form-vertical .row > .col-md-4,
.form-vertical > .offset-md-4 {
  margin-left: 0;
  text-align: start !important;
  width: auto !important;
}
.form-vertical .row > .col-md-8 {
  width: 100%;
}
.col-form-label {
  font-weight: 500;
}
.col-form-label.required {
  position: relative;
}
.col-form-label.required::after {
  color: var(--red);
  content: "*";
  font-size: 12px;
  position: absolute;
  top: 1px;
  right: 0px;
  vertical-align: super;
}
.form-control,
.form-select {
  /* border-radius: 2px !important; */
  border: 1px solid #ddd;
  box-shadow: none;
  color: #333;
  cursor: pointer;
  font-size: var(--default-font-size);
}
.form-control:is(:active, :focus) {
  box-shadow: none;
  outline: none;
}
.form-control:hover {
  border-color: #ccc !important;
}
.form-check {
  /* padding-left: 1.5em; */
}
.form-check label {
  cursor: pointer;
}
.form-switch .form-check-input {
  box-shadow: none !important;
  transform: scale(1.1);
}
.form-floating {
  overflow: hidden;
}
.form-floating > label {
  height: auto;
  padding: 0 0.75rem;
  top: 0.9rem;
  transition: none;
}
.form-floating > .form-control {
  padding: 2rem 0.75rem 1rem !important;
}

/* Modals */
.modal-header {
  padding: 0.5rem 1rem;
}
.modal-header .btn-close {
  margin-right: 0.25rem;
}
.modal-title {
  font-size: 1.2em;
}
.modal-backdrop {
  z-index: 1000;
}
.modal-open .modal {
  z-index: 10000;
}

/* Buttons */
.btn {
  border-radius: 3px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}
.btn-block {
  width: 100%;
}
/* .btn > i {
  margin-right: 3px;
} */
.btn:is(:focus, :active) {
  box-shadow: none;
}
.btn + .btn {
  margin-left: 3px;
}
.btn-group .btn + .btn {
  margin-left: 0 !important;
}
.btn.btn-xs {
  font-size: 0.8em !important;
  padding: 4px 10px;
}

/* Text Utilities */
.text-muted {
  color: #aaa !important;
}
.text-xs {
  font-size: 0.75em;
}

/* Tabs */
.nav-tabs .nav-link,
.nav-pills .nav-link {
  font-size: 0.85em !important;
}
.tab-pane {
  background: #fff;
  border: 1px solid #ddd;
  border-top: 0;
  padding: 1em;
}

.alert {
  border-radius: 0;
  font-size: 0.95em;
  margin-bottom: 10px;
  padding: 6px 15px;
  position: relative;
}
.alert-dismissible .btn-close {
  margin-top: 3px;
  padding: 1rem;
}

.panel,
.input-group-addon {
  border-radius: 2px;
}
.panel h3 {
  font-size: 1.1em;
}

/* Dropzone */
.dropzone {
  border: 1px dotted #bbb !important;
  min-height: 20px !important;
  padding: 0 !important;
  width: 100%;
}
.dropzone .dz-preview .dz-image {
  border-radius: 3px !important;
}
.dropzone .dz-preview {
  margin: 10px !important;
  margin-right: 0 !important;
  min-height: 80px !important;
}

/* Datatables */
table.dataTable {
  margin: 1em 0 0.5em !important;
}
.dt-container {
  clear: both;
}
.dt-container .dt-search {
  float: right;
}
.dt-container .dt-info,
.dt-container .dt-paging {
  font-size: 12px;
}
.dt-container .dt-info {
  float: left;
  padding-top: 5px !important;
}
.dt-container .dt-paging {
  float: right;
}
.dt-buttons .btn {
  background: transparent;
  border-color: #ccc;
  color: #333;
  font-size: 0.9em;
  margin-right: 5px;
}
.dt-search .dt-search-0 {
  display: none !important;
}
.dt-search input[type="search"]::placeholder {
  content: "Search" !important;
}
.dt-paging .dt-paging-button .page-link {
  padding: 2px 12px;
}
table.dataTable .dt-type-numeric,
table.dataTable .dt-type-date {
  text-align: left !important;
}

input.datepicker {
  background: url(../img/calendar.png) no-repeat 5% center / 20px;
  padding-left: 3em;
}

/* Richtext editor */
.trumbowyg-box,
.trumbowyg-editor {
  margin: 0;
}

/* Lightgallery */
.lg-backdrop {
  background: rgba(0, 0, 0, 0.7);
}
.lg-outer .lg-img-wrap img {
  transform: scale(0.9);
}

/* Carousel */
.slick-slider {
  max-height: 95vh;
  overflow: hidden;
}
.slick-slide img {
  width: 100%;
}

/* SweetAlert */
.swal2-container {
  z-index: 20000 !important;
}
.swal2-title {
  background: var(--lighter-gray);
  font-size: 1.2em;
  padding: 10px 15px;
}
.swal2-html-container {
  font-size: 0.9em;
  line-height: 20px;
}
.swal2-actions .btn {
  font-size: 13px;
}
.swal2-actions .btn ~ .btn {
  margin-left: 10px;
}

/* Images */
.img-fluid {
  max-width: 100%;
  width: 100%;
}
.img-center {
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  overflow: hidden;
  width: 100%;
}
.img-rounded {
  border-radius: 100%;
}

/* Cards */
.card {
  overflow: hidden;
}
.card a {
  /* color: var(--default-font-color); */
  text-decoration: none;
}
.card h5.card-title {
  font-size: 1.35em;
}

/* Containers */
.container {
  margin: 0 auto;
  max-width: 1200px;
}
.container-xl {
  margin: 0 auto;
  max-width: 1440px;
}
.container-lg {
  margin: 0 auto;
  max-width: 1280px;
}
.container-md {
  margin: 0 auto;
  max-width: 960px;
}
.container-sm {
  margin: 0 auto;
  max-width: 720px;
}
.container-xs {
  margin: 0 auto;
  max-width: 576px;
}
.container .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.container .jumbotron {
  border-radius: 0;
}

.breadcrumb {
  background: transparent;
  border-radius: 0;
  font-size: 11px;
  margin: 0 0 2px;
  padding: 0;
}
.breadcrumb-item > a {
  text-decoration: none;
}

.wrapper {
  padding: 0;
  min-height: 100vh;
}

.page-header {
  border-bottom: 0;
  margin: 0 0 2rem;
  padding: 0;
}
.page-header h1 {
  font-size: 2.5em;
  margin: 0;
}

.page-content {
  background: var(--white);
  max-width: 100%;
  min-height: 25vh;
  padding: 1em;
}
.page-content::after {
  display: block;
  clear: both;
  content: "";
}

.jumbotron {
  background: var(--lighter-gray);
  padding: 5em 1em;
  text-align: center;
}

.navbar {
  margin-bottom: 0;
}

.navbar-brand {
  padding: 0;
}
.navbar-brand img {
  max-height: 2em;
}

.navbar-toggler {
  float: right;
  padding-right: 0;
}
.navbar-toggler,
.navbar-toggler:active,
.navbar-toggler:focus {
  border: 0;
  box-shadow: none;
  outline: none;
}
.navbar-toggler .icon-bar {
  background: var(--pink);
  display: block;
  height: 1.5px;
  width: 28px;
}
.navbar-toggler .icon-bar + .icon-bar {
  margin-top: 6px;
}
.navbar-nav {
  padding: 0;
}
.navbar-nav .nav-link {
  padding: 10px 12px !important;
}
.site-bd .navbar-nav > .nav-item a {
  color: var(--pink);
  font-size: 1.2em;
  /* text-align: center; */
  font-weight: 500;
}

.dropdown-menu {
  border-radius: 0;
  padding: 0;
}
/* .dropdown:hover .dropdown-menu {
  display: block;
} */
.dropdown-item {
  font-size: 0.8em !important;
  padding: 8px 15px 7px;
}
.dropdown-divider:not(:empty) {
  background-color: #eee;
  border: 0;
  font-size: 10px;
  font-weight: bold;
  height: auto;
  margin: 0;
  padding: 2px 15px;
  text-transform: uppercase;
}
.dropdown-dots {
  /* background: transparent !important; */
  border: none !important;
  padding: 0 5px !important;
}
.dropdown-dots .bi {
  font-size: 1.6em;
}
.dropdown-dots::after {
  display: none;
}

.accessibility-menu .dropdown-item.active,
.dropdown-item:active {
  background: transparent !important;
}

/* .navbar-nav > li > a {
  background: transparent;
}
.navbar-nav > li > a:hover,
.navbar-nav > li:hover > a,
.navbar-nav > .open > a,
.about-bd .about-lnk,
.contact-bd .contact-lnk {
  background: #eee;
  color: #555 !important;
} */

/* .nav > li > a.btn-nav {
  background: #000;
  color: #fff !important;
  border-radius: 2px;
  font-size: 0.9em;
  letter-spacing: 1px;
  margin-left: 1em;
  margin-top: 0.4em;
  padding: 0.3em 1.5em;
}
.nav > li > a.btn-nav.btn-nav-active {
  background: transparent;
  border: 1px solid #000;
  color: #000 !important;
} */

/* .dropdown-menu {
  border-radius: 0;
  padding: 0;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu > li > a {
  padding: 7px 20px;
} */

.docs-header {
  padding-top: 0;
}
.no-data {
  background: #eee;
  color: #888;
  font-size: 1.3em;
  margin-top: 2em;
  padding: 1em;
}

/* Auth */
.auth-bd {
  /* background: url(../img/pattern.png) no-repeat var(--lighter-gray);
  background-size: cover; */
}
.login-box {
  background: url(../img/banner-login.jpg) no-repeat var(--white) center;
  background-size: cover;
  margin-top: 5%;
  overflow: hidden;
}

/* Home */
.home-jumbotron {
  background: url(../img/banner-main.jpg) no-repeat transparent;
  background-position: center top;
  background-size: cover;
  min-height: 72vh;
  margin-bottom: 0;
  padding: 2em 0;
  text-align: start;
}
.home-jumbotron h1 {
  color: var(--pink);
  line-height: 60px;
  margin-top: 10%;
  margin-bottom: 15px;
}
.home-jumbotron p {
  background: var(--pink);
  color: var(--white);
  display: inline;
  font-size: 1.2em;
  line-height: 1.6em;
  padding: 2px;
}

section {
  padding: 5em 0;
}
section h2 {
  font-size: 2.4em;
}
section h3 {
  font-size: 2em;
}
section h4 {
  font-size: 1.2em;
}
section p {
  font-size: 1.2em;
  line-height: 1.6em;
}
section .container {
  position: relative;
  z-index: 10;
}

.section-about {
  background-color: var(--yellow);
  color: var(--dark-blue);
}
.section-about h2 {
  color: var(--pink);
  font-size: 3em;
  margin-bottom: 1em;
}
.section-about h4 {
  color: var(--pink);
}
.about-icon {
  background: var(--white);
  border-left: 1px solid var(--yellow);
  border-bottom: 1px solid var(--yellow);
  border-width: 3px;
  color: var(--dark-blue);
  font-weight: bold;
  line-height: 1em;
  padding: 2em 1em;
}
.about-icon img {
  height: 4em;
  width: auto;
  margin-bottom: 2em;
}
.about-icon:last-child {
  background: var(--pink);
  color: var(--yellow);
}

.section-register {
  background: var(--pink);
  color: var(--white);
}
.section-thematic-groups {
  background: url(../img/thematic-groups.jpg) no-repeat transparent;
  background-position: center;
  background-size: 100%;
  color: var(--white);
  position: relative;
}
.section-thematic-groups .section-overlay {
  background: var(--dark-blue);
  opacity: 0.7;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.section-thematic-groups h2 {
  color: var(--yellow);
  font-size: 1.2em;
  margin-bottom: 2em;
  text-transform: uppercase;
}
.section-thematic-groups h3 {
  color: var(--turqoise);
  min-height: 3em;
}
.section-thematic-groups p {
  line-height: 1.2em;
}
.section-stats {
  background: var(--turqoise);
}
.section-stats img {
  max-width: 8em;
}

/* Groups */

footer {
  background: var(--dark-blue);
  color: var(--white);
  font-size: 0.9em;
  padding: 2em 0;
}
footer a {
  color: var(--yellow);
  text-decoration: none;
}

@media (max-width: 992px) {
  body {
    padding-top: 0;
  }
  .navbar-custom .navbar-brand {
    width: auto !important;
    overflow: hidden;
  }
}
