:root {
  --default-font: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --default-font-size: 14px;
  --default-font-weight: 400;

  --color-primary: #0a3968;
  --color-accent: #f5b333;

  --link-color: #337ab7;

  --white: #ffffff;
  --red: #e87777;
  --light-gray: #dddddd;
  --lighter-gray: #eeeeee;
  --dark-gray: #ccc;
  --darker-gray: #888;

  --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);
  font-family: var(--default-font);
  font-size: var(--default-font-size);
  font-weight: var(--default-font-weight);
  line-height: 1.6em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
}

ul,
ol {
  margin-top: 1em;
  padding-left: 2em;
}

ul.infolist,
ol.infolist {
  list-style: none;
  margin-bottom: 2em;
  margin-top: 2em;
}

ul.infolist li,
ol.infolist li {
  margin-bottom: 0.3em;
}

table {
  background: var(--white);
}

table tr th,
table tr td {
  font-size: 11px;
}

table tr th {
  background: #ddd;
  border-bottom: 0 !important;
  border-color: #ccc !important;
  padding: 4px 6px 6px !important;
}

table tr td {
  padding: 8px 8px 4px !important;
}

/* nowarp for table button actions */
table tr td:last-child {
  white-space: nowrap;
}

table tr td .btn {
  font-size: 0.85em;
  position: relative;
  top: -2px;
}

.nowrap {
  white-space: nowrap;
}

.btn,
.form-control {
  border-radius: 3px;
}

.form-control {
  border: 1px solid #ddd;
  box-shadow: none;
  color: #333;
  cursor: pointer;
  font-weight: normal !important;
}
.form-control:hover {
  border-color: #aaa;
}
.form-control[type="date"] {
  max-width: 12em;
}

.modal-open .modal {
  z-index: 10000;
}

.control-label {
  color: #444;
  font-weight: 700;
}
.control-label.required {
  position: relative;
}
.control-label.required::after {
  color: #e87777;
  content: "*";
  font-size: 12px;
  position: absolute;
  top: 1px;
  right: 6px;
}

.btn {
  /* border: 0 !important; */
}

.btn + .btn {
  margin-left: 6px;
}

.modal-backdrop {
  z-index: 1000;
}

.page-header {
  border-bottom: 0;
  margin: 0 0 1em;
  padding: 1em 0 0;
}

.page-header h1 {
  font-size: 1.6em;
  margin: 0;
}

.tab-pane {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-top: 0;
  padding: 1em;
}

.panel,
.input-group-addon {
  border-radius: 2px;
}

.panel h3 {
  font-size: 1.1em;
}

/* Swal */
.btn.swal2-confirm {
  border: none;
}
button,
.btn,
.swal-confirm {
  outline: none !important;
}

.swal2-actions button:not(:first-child) {
  margin-right: 5px;
}

/* Datatables */
div.dataTables_wrapper div.dataTables_filter,
div.dataTables_wrapper div.dataTables_paginate {
  float: right;
  display: inline-block;
}

div.dataTables_wrapper div.dataTables_info {
  display: inline-block;
}

div.dataTables_paginate .pagination li {
  font-size: 0.8em;
}

/* Trumbowyg */
.trumbowyg-editor {
  background: var(--white);
}

input.datepicker {
  background: url(../img/calendar.png) no-repeat 95% center / 20px;
}

.form-horizontal .radio-inline {
  margin-right: 10px;
}

.alert {
  border-radius: 0;
  margin-bottom: 20px;
  padding: 4px 15px;
}

p.error {
  color: red;
  font-style: italic;
  padding: 0.6em 0;
}

.breadcrumb {
  border-radius: 0;
  font-size: 11px;
  margin-top: 10px;
  padding: 3px 1em;
}

.slick-slider {
  max-height: 95vh;
  overflow: hidden;
}

.slick-slide img {
  width: 100%;
}

/* Containers */
.container,
.jumbotron .container {
  max-width: 1280px;
}
.container-lg {
  max-width: 1200px !important;
}
.container-md {
  max-width: 960px !important;
}
.container-sm {
  max-width: 768px !important;
}
.container-xs {
  max-width: 576px !important;
}

.page-wrapper {
  padding-bottom: 2em;
}

.accordion .panel-title,
.accordion .panel-title a {
  text-decoration: none;
}

.wrapper {
  padding: 0;
  min-height: 98%;
}

.navbar {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  height: auto;
  margin-bottom: 0;
  min-height: auto;
}

.navbar-default {
  background: transparent;
}

.navbar-brand {
  height: auto;
  margin-right: 20px;
  padding: 2px 15px;
}

.navbar-brand img {
  height: 3.5em;
}

.navbar-custom {
  z-index: 999;
}

.bx-wrapper .bx-controls-direction a {
  z-index: 998;
}

.navbar-custom .navbar-brand {
  opacity: 1;
  padding-left: 0;
}

.navbar-nav > li > a {
  background: transparent;
  font-size: 1em;
  font-weight: bold;
  padding: 15px 20px;
}

.navbar-nav > li:hover > a,
.home-bd .home-lnk,
.vote-bd .vote-lnk,
.results-bd .results-lnk,
.about-bd .about-lnk,
.contact-bd .contact-lnk {
  background: #eee;
  color: #555 !important;
}

.nav > li > a.btn-nav {
  background: #000;
  color: var(--white) !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;
}

.navbar-nav > li.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-toggle {
  background: var(--white) !important;
  border: 0;
  margin-top: 0;
}

.navbar-toggle .icon-bar {
  background: #aaa;
  height: 3px;
  width: 35px;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 6px;
}

.dropdown-menu {
  padding: 0;
  overflow: hidden;
}
.dropdown-menu > li > a {
  font-size: 0.9em;
  padding: 8px 20px;
}
.dropdown-menu .divider:not(:empty) {
  height: auto;
  font-size: 10px;
  font-weight: bold;
  margin: 0;
  padding: 1px 20px;
  text-transform: uppercase;
}

/* Home */
.jumbotron {
  border-radius: 0 !important;
  padding: 2em 0;
}

.jumbotron h1 {
  margin-top: 0;
}

.home-jumbotron {
  margin-bottom: 1em;
}

.home-jumbotron h1 {
  font-size: 3em;
}

.home-box {
  margin: 0 auto;
  max-width: 720px;
  padding: 1em 2em;
}

.home-box img {
  margin-top: 10%;
  width: 200px;
}

.home-button {
  background: no-repeat center 20px / 90px;
  border: 1px solid transparent;
  border-radius: 3px;
  display: inline-block;
  font-size: 1.2em;
  font-weight: bold;
  margin: 1em;
  padding: 9em 2em 1em;
  text-align: center;
  text-transform: uppercase;
  transition: 300ms ease all;
}

.home-button:hover {
  background-size: 96px;
  text-decoration: none;
}

.type-participant {
  background-image: url(../img/participant.png);
  border-color: #0188ff;
  color: #0188ff !important;
}

.type-exhibitor {
  background-image: url(../img/exhibitor.png);
  border-color: #ff0077;
  color: #ff0077 !important;
}

/* Register */
.package-box {
  background: #eee;
  margin-bottom: 8px;
  padding: 0.5em 1em;
}

.flight-inactive {
  position: relative;
}
.flight-inactive .flight-overlay {
  background: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.accompanying-list {
  list-style: none;
  padding-left: 0;
}
.accompanying-list li {
  border: 1px solid #ddd;
  margin-bottom: 10px;
  position: relative;
}
.accompanying-list li .form-horizontal {
  font-size: 0.9em;
  padding: 1em;
}
.accompanying-header {
  background: #eee;
  padding: 1.5em 1em 1em;
}
.accompanying-list li .acctype {
  color: #1494a4;
  font-size: 0.9em;
  font-weight: bold;
  position: absolute;
  top: 6px;
  left: 10px;
  text-transform: uppercase;
}
.accompanying-list li .btn {
  position: absolute;
  right: 6px;
  top: 6px;
}
.accompanying-list .control-label:not(.required) {
  padding-top: 0 !important;
}
.accompanying-list .control-label.required {
  padding-top: 4px;
}
.accompanying-list .control-label.required::after {
  top: -5px;
}
.accompanying-info {
  /* color: #0923b9; */
  font-size: 0.9em;
  /* font-style: italic; */
  margin-top: 1em;
}
.accompanying-info ul {
  margin-top: 0;
}
.accompanying-info ol li {
  margin-bottom: 10px;
}
.accompanying-info ol li ul li {
  margin-bottom: 3px;
}

.option-radio {
  color: #2f3973;
}
.option-description {
  display: none;
  font-size: 0.9em;
  margin-bottom: 1em;
  padding-left: 1.6em;
}
.option-description :is(ul, ol) {
  padding-left: 1em;
}
.option-toggler {
  color: #598af6;
  cursor: pointer;
  font-size: 0.8em;
  float: right;
  position: relative;
  left: 5px;
  top: 5px;
  text-transform: uppercase;
}

.option-toggler::before {
  content: " ";
  position: relative;
  top: -1px;
}

/* Vote */
.vote-form {
  margin-bottom: 5em;
}

.vote-options {
  list-style: none;
  padding-left: 0;
}

.vote-options li {
  background: #eee;
  margin-bottom: 10px;
  max-width: 480px;
}

.vote-options li:hover {
  background: #ffc;
}

.vote-options li label {
  cursor: pointer;
  display: block;
  padding: 0.6em 1em;
}

.vote-options li.poll-winner label {
  border: 1px solid #00e63b;
  padding: 1.5em 1em;
}

/* Login */
.login-box {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  margin-top: 5%;
}

.login-box > div {
  min-height: 30em;
  padding: 2em;
}

.login-banner {
  background: url(../img/login-banner.jpg) no-repeat;
  background-color: #7d55ea;
  background-blend-mode: screen;
  background-size: cover;
  padding: 0;
}

footer {
  color: #aaa;
  font-size: 11px;
  padding: 1em 0;
  position: relative;
  text-align: center;
}

@media (max-width: 992px) {
  body {
    padding-top: 0;
  }

  .navbar-custom .navbar-brand {
    width: auto !important;
    overflow: hidden;
  }
}
