/* =====================================================
   BASE
   ===================================================== */
:root {
  /* Cyprus Airways Retro Brand Colours */
  --brand:       #162060;   /* Cyprus Airways blue */
  --brand-dark:  #2d2a63;   /* darker shade for hover */
  --brand-light: #283882;   /* lighter shade */
  --gold:        #E0C943;   /* mouflon yellow */
  --gold-dark:   #c8b22e;   /* darker gold for hover */

  --nav-bg:      #162060;   /* nav uses the brand blue */
  --nav-bg2:     #283882;   /* footer slightly darker */
  --accent:      #E0C943;   /* yellow accent */
  --text:        #1e1c3a;
  --text-light:  #6c757d;
  --surface:     #ffffff;
  --surface-2:   #f8f9fa;
  --border:      #e9ecef;
  --panel-head:  #3A377D;
  --strip1:      #E0C943;
  --strip2:      #3A377D;
  --strip3:      #2d2a63;
  --radius:      10px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg:   0 10px 25px rgba(0,0,0,.1), 0 4px 10px rgba(0,0,0,.06);
  --transition:  0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Lato', arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #f4f6f9;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--text);
}

a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--brand-light); text-decoration: none; }

.carousel-inner a { font-weight: 500; }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn,
a.btn {
  font-family: 'Montserrat', arial, sans-serif;
  padding: 8px 20px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 14px;
  letter-spacing: .3px;
}

.btn-default{
  color: #E0C943;
}
.btn .fa, a.btn .fa { margin-right: 5px; }
a.btn { text-decoration: none !important; }
a.scrollto { color: white; text-decoration: none; }

.btn-success, .btn-info, .btn-danger { color: white !important; }
.btn-success:hover, .btn-success:focus, .btn-success.focus,
.btn-success:active, .btn-success.active { color: white; }

.btn:focus, a.btn:focus { color: #fff; }

a.btn-cta-primary, .btn-cta-primary {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  box-shadow: 0 4px 12px rgba(224,201,67,.35);
}
a.btn-cta-primary:hover, .btn-cta-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--brand);
  box-shadow: 0 6px 16px rgba(224,201,67,.45);
  transform: translateY(-1px);
}

a.btn-cta-secondary, .btn-cta-secondary {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
a.btn-cta-secondary:hover, .btn-cta-secondary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--brand);
  transform: translateY(-1px);
}

/* =====================================================
   PANELS (Bootstrap 3 override — used throughout)
   ===================================================== */
.panel {
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--surface);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.panel-default > .panel-heading {
  background: var(--panel-head);
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 12px 12px 0 0;
}
.panel-default > .panel-heading .panel-title {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .4px;
}
.panel-body {
  padding: 10px 10px;
  overflow-x: auto;
  border-radius: 0 0 12px 12px;
  flex: 1;
}

/* =====================================================
   TABLES
   ===================================================== */
.table {
  margin-bottom: 0;
  font-size: 14px;
}
.table > thead > tr > th {
  background: #f1f3f8;
  color: var(--text-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border) !important;
  border-top: none !important;
  white-space: nowrap;
}
.table > tbody > tr > td {
  padding: 11px 16px;
  vertical-align: middle;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  color: var(--text);
}
.table-striped > tbody > tr:nth-child(odd) { background: var(--surface); }
.table-striped > tbody > tr:nth-child(even) { background: #fafbfd; }
.table-striped > tbody > tr:hover { background: #eef4fa; transition: background .15s; }
.table i { color: var(--brand); }
.table a { color: var(--brand); font-weight: 600; text-decoration: none; }
.table a:hover { color: var(--brand-light); }
.red-row { background-color: #8C0000 !important; color: white; }
.red-row a { color: white; }

/* =====================================================
   JUMBOTRON (pilot centre)
   ===================================================== */
.jumbotron {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-lg);
  border-left: 5px solid var(--gold);
}
.jumbotron h1 { color: #fff; font-size: 32px; margin-top: 0; }
.jumbotron p { color: rgba(255,255,255,.85); margin-bottom: 8px; font-size: 15px; }
.jumbotron strong { color: #fff; }
.jumbotron a.btn { color: #fff; border-color: rgba(255,255,255,.5); }
.jumbotron a.btn:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* =====================================================
   HEADER / NAV
   ===================================================== */
.header {
  background: var(--nav-bg);
  padding: 0;
  position: fixed;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.header .container { padding-top: 0; padding-bottom: 0;, width:100%, padding-right:30px, padding-left:30px }
.header .logo { margin: 0; padding: 10px 0; }
.header .logo a { color: #fff; font-size: 28px; font-weight: 700; }
.header .logo a:hover { text-decoration: none; opacity: .9; }
.logo-white { filter: brightness(0) invert(1); }
.header a { text-decoration: none; font-weight: 500; }


.header.navbar-fixed-top { background: var(--nav-bg); }

.navbar { margin-bottom: 0; padding: 0; border: none; border-radius: 0; }
.navbar-default { background: transparent; border: none; top: 0; }
.navbar a { text-decoration: none; font-size: 14px; font-family: 'Montserrat', sans-serif; font-weight: 500; }

.header .main-nav .navbar-collapse { padding: 0; }

.header .main-nav .nav .nav-item { font-weight: normal; font-family: 'Montserrat', sans-serif; }
.header .main-nav .nav .nav-item a {
  color: var(--gold);
  font-size: 14px;
  padding: 10 10;
  transition: color var(--transition), background var(--transition);
  display: block;
  border-bottom: 3px solid transparent;
}

.header .main-nav .nav .nav-item a:hover {
  color: var(--gold);
  background: rgba(255,255,255,.06);
  border-bottom-color: var(--gold);
}
.header .main-nav .nav .nav-item a:focus,
.header .main-nav .nav .nav-item a:active { outline: none; background: none; }
.header .main-nav .nav .nav-item.active a { color: var(--gold); border-bottom-color: var(--gold); background: none; }
.header .main-nav .nav .nav-item.active { color: #fff; }
.header .main-nav .nav .nav-item.last { margin-right: 0; }

.header .main-nav button {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff !important;
  border-radius: 4px;
  margin-top: 14px;
}
.header .main-nav button:focus { outline: none; }
.header .main-nav button .icon-bar { background-color: #fff; }

/* Dropdown */
.dropdown-menu {
  z-index: 20000;
  border: none;
  /* border-radius: var(--radius); */
  box-shadow: var(--shadow-lg);
  min-width: 150px;
  padding: 0px 0 ;
  background: #fff;
  animation: fadeDown .2s ease;
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dropdown-menu > li > a {
  padding: 10px 10px;
  font-size: 13.5px;
  color: var(--text) !important;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
  transition: background var(--transition), color var(--transition);
}
.dropdown-menu > li > a:hover {
  background: #f0eeff;
  color: var(--brand) !important;
}
.dropdown-menu .btn { text-align: left; }
.header .dropdown-menu a { color: var(--text) !important; }
.header .dropdown-menu a:hover { color: var(--brand) !important; }

.nav > li > a { padding: 22px 14px; }
.nav .dropdown-menu > li > a { padding: 10px 10px !important; }

/* Badge in nav */
.nav .badge {
  background: var(--gold);
  color: var(--brand);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 4px;
}

/* Clock in nav */
#ct { color: rgba(255,255,255,.6); font-size: 13px; font-family: 'Montserrat', sans-serif; min-width: 100px; line-height: 22px; padding: 22px 14px; }

/* =====================================================
   OFFSET HELPERS
   ===================================================== */
.offset-header-banner { padding-top: 70px; }
.offset-header { padding-top: 100px; }
.offset-banner { padding-top: 70px; }

/* =====================================================
   STRIP DIVIDER
   ===================================================== */
.strip {
  height: 4px;
  background: linear-gradient(to right, var(--strip1), var(--strip2), var(--strip3));
}

/* =====================================================
   CAROUSEL / PROMO SECTION
   ===================================================== */
.promo {
  background: #111;
  color: #fff;
  height: auto;
}
.img-responsive,
.thumbnail > img,
.thumbnail a > img,
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}
#myCarousel { margin: auto; }
.carousel-indicators li { border-color: rgba(255,255,255,.6); width: 10px; height: 10px; }
.carousel-indicators .active { background-color: var(--gold); border-color: var(--gold); }
.carousel-caption {
  bottom: 80px;
  background: rgba(0,0,0,.55);
  width: 700px;
  border-radius: 12px;
  margin: 0 auto;
  padding: 24px 32px;
  backdrop-filter: blur(4px);
  left: 50%;
  transform: translateX(-50%);
  right: auto;
  text-align: center;
}
.carousel-caption h3 { color: white; font-size: 36px; margin-bottom: 10px; }
.carousel-caption p  { color: rgba(255,255,255,.9); font-size: 20px; margin: 0; }
.carousel-control { opacity: 0; transition: opacity .3s; }
#myCarousel:hover .carousel-control { opacity: .8; }

.promo .title { font-size: 80px; color: #074f66; margin-top: 0; }
.promo .intro { font-size: 30px; max-width: 750px; margin: 0 auto; margin-top: 50px; text-shadow: black .1em .1em .2em; }
.promo .btns .btn { margin-right: 15px; margin-top: 50px; font-size: 18px; padding: 8px 30px; }
.promo .meta { margin-top: 20px; margin-bottom: 30px; color: white; }
.promo .meta li { margin-right: 15px; }
.promo .meta a { color: #0a7396; }
.promo .meta a:hover { color: #074f66; }

/* =====================================================
   ABOUT / MINI STATS BAR
   ===================================================== */
.about {
  padding: 60px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.about img { display: block; margin: 0 auto; margin-bottom: 50px; }
.about .title { color: #074f66; margin-top: 0; margin-bottom: 40px; }
.about .intro { max-width: 1100px; margin: 0 auto; margin-bottom: 60px; }
.about .item { position: relative; margin-bottom: 30px; }
.about .item .icon-holder { position: absolute; left: 30px; top: 0; }
.about .item .icon-holder .fa { font-size: 24px; color: #074f66; }
.about .item .content { padding-left: 60px; }
.about .item .content .sub-title { margin-top: 0; color: var(--text-light); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; text-align: center; margin-bottom: 6px; }

.mini-stats-bar { width: 1400px; }

.stat-numbers {
  font-size: 36px;
  font-weight: 700;
  color: var(--nav-bg);
  text-align: center;
  line-height: 36px;
  letter-spacing: -1px;
}
.stat-mini { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 4px; }
.stat-mini strong { color: var(--brand); }
.text-brand { color: var(--brand); }

/* =====================================================
   FEATURES SECTION
   ===================================================== */
.features {
  padding: 100px 0;
  background: var(--nav-bg);
  background-image: url(../images/about-bg.png);
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
  font-size: 16px;
}
.features .title { color: white; margin-top: 0; margin-bottom: 30px; }
.features .item { position: relative; margin-bottom: 30px; }
.features .item .icon-holder { position: absolute; left: 30px; top: 0; }
.features .item .icon-holder .fa { font-size: 45px; color: white; }
.features a { color: rgba(255,255,255,.8); }
.features a:hover { color: #fff; }
.features .item .content { padding-left: 70px; }
.features .item .content .sub-title { margin-top: 0; color: rgba(255,255,255,.6); font-size: 25px; text-align: center; font-weight: 200; }

/* =====================================================
   MAP SECTION
   ===================================================== */
.map {
  padding-bottom: 30px;
  background: white;
  color: var(--text);
  font-size: 14px;
}
.map .title { color: #074F66; margin-top: 0; margin-bottom: 30px; }
#map-container { height: 500px; overflow: hidden; }

/* =====================================================
   STATS WIDGETS (homepage panels)
   ===================================================== */
.stats {
  padding: 40px 0;
  background: #f4f6f9;
  color: var(--text);
  font-size: 15px;
}
.stats > .container { padding-top: 0; padding-bottom: 0; }
.stats .title { color: #074F66; margin-top: 0; margin-bottom: 20px; font-weight: 200; }

/* =====================================================
   JOIN SECTION
   ===================================================== */
.join {
  padding: 56px 0;
  background: var(--nav-bg);
  color: #fff;
}
.join .title { color: white; margin-top: 0; margin-bottom: 0; font-weight: 400; font-size: 22px; }
.join .btn-cta-primary {
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(14,154,201,.4);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  padding: 48px 0;
  background: var(--nav-bg2);
  color: rgba(255,255,255,.7);
}
.footer a { color: var(--brand); }
.footer a:hover { color: #fff; }
.footer .copyright { opacity: .7; font-size: 13px; }
.footer .fa-heart { color: #fb866a; }
.footer i { color: rgba(255,255,255,.6); font-size: 24px; margin-left: 12px; transition: color var(--transition), transform var(--transition); }
.footer i:hover { color: var(--brand); transform: scale(1.2); }
.social-icons { color: rgba(255,255,255,.6) !important; }
.footer small { font-size: 13px; line-height: 1.9; }

/* =====================================================
   CONTENT PAGES
   ===================================================== */
.cp { z-index: 10; }
section.cp { background: #f4f6f9; min-height: 80vh; }

/* =====================================================
   PROGRESS / MISC
   ===================================================== */
.progress-bar { background-color: var(--brand); }
.progress { border-radius: 20px; background: #ddd; }
.text-highlight { color: #074f66; }
.panel-title { font-family: 'Lato', arial, sans-serif; font-weight: 600; font-size: 15px; }
.metar-table table { width: 95%; }
.metar-table td { padding: 5px; }
pre code { font-size: 15px; }

/* =====================================================
   STATUS BADGES
   ===================================================== */
.badge { border-radius: 20px; font-size: 11px; font-weight: 700; padding: 4px 10px; letter-spacing: .3px; }
.bg-green-soft { background: #d1fae5; }
.text-green { color: #047857; }
.bg-yellow-soft { background: #fef3c7; }
.text-yellow { color: #92400e; }

/* =====================================================
   PROFILE
   ===================================================== */
.profile .name { font-size: 26px; }
.profile .social { font-size: 30px; color: #333; }
.profile .row { margin-bottom: 8px; }
.profile-container i { font-size: 35px; color: var(--brand); margin-right: 6px; }
i.profile { font-size: 80px; color: rgba(255,255,255,.5); }
img.pilot-profile-image { max-height: 200px; border-radius: 50%; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
i.profile-small { font-size: 28px; color: var(--text-light); }
img.pilot-profile-image-small { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; vertical-align: middle; }
.profile-icon { width: 36px; height: 36px; }

/* =====================================================
   ROSTER
   ===================================================== */
.roster .gold   { font-size: 24px; color: var(--gold); }
.roster .silver { font-size: 24px; color: #c0c0c0; }
.roster .bronze { font-size: 24px; color: #cd7f32; }

/* =====================================================
   ACTIVITY CARDS
   ===================================================== */
.activity-card-container {
  width: 300px; height: 200px;
  float: left; margin-right: 24px; margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.activity-card-hidden {
  display: none; opacity: 0.9;
  background: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, rgba(0,0,0,.85) 100%);
  font-size: 18px; z-index: 99; width: 300px; height: 200px; cursor: pointer;
}
.activity-card-hidden div {
  position: absolute;
  bottom: 0; opacity: 1; color: white; background: transparent;
  width: 300px; padding: 20px; font-size: 16px; z-index: 100;
}
.activity-card-hidden a { color: white; text-decoration: none; opacity: 1; }

/* =====================================================
   MISC UTILITY
   ===================================================== */
.row-space .row { margin-bottom: 8px; }
.hidden { display: none; }
.purple { color: #A300D9; font-weight: 500; }
.messageResponse { display: none; }
.gold { color: var(--gold); }
.white { color: #fff !important; }
.error { color: red; font-size: 16px; }
.pass { color: #28a745; }
.fail { color: #dc3545; }
.lg-text { font-size: 28px; }

.news-posted-by, .news-posted-by-main { margin-left: 30px; color: #555; font-size: 12px; }
.news-posted-by-main { margin-left: 0; }
.news-link { text-decoration: none !important; font-size: 20px !important; font-weight: 600 !important; margin-left: 8px; }

.align-right { float: right; }

.flightlog { max-height: 280px; overflow-y: scroll; }
.activity-history { max-height: 300px; overflow-y: scroll; }

.interest-panel { font-size: 12px; line-height: 30px; }
.interest-panel .row { min-height: 37px; }
.interest-panel hr { margin-top: 3px; margin-bottom: 3px; }
.interest-panel button { margin-top: 5px; }
.interest-users { max-height: 120px; overflow-y: scroll; }
.registrations-panel { font-size: 14px; line-height: 30px; }
.registrations-panel .row { min-height: 37px; }
.registrations-panel hr { margin-top: 3px; margin-bottom: 3px; }
.registration-items { max-height: 250px; overflow-y: scroll; }
.event-panel { min-height: 165px; }

.container { position: relative !important; }

/* =====================================================
   LEAFLET MAP
   ===================================================== */
.label_content {
  position: relative; border-radius: 4px; padding: 3px;
  color: #fff; background-color: var(--brand);
  width: 44px; font-size: 11px; line-height: 16px; text-align: center;
}
.label_content:after {
  content: ''; position: absolute; top: 100%; left: 50%;
  margin-left: -5px; width: 0; height: 0;
  border-top: solid 5px var(--brand);
  border-left: solid 5px transparent;
  border-right: solid 5px transparent;
}
.leaflet-popup-content p { font-size: 13px; line-height: 20px !important; padding: 0 !important; margin: 0 !important; }
.leaflet-popup-content div { margin-bottom: 10px; }
.plane-icon { font-size: 24px; color: #163B4B; }

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pagination > li > a { color: var(--brand); }
.pagination > li > a:hover { background: #f0eeff; color: var(--brand); border-color: var(--border); }

/* =====================================================
   COOKIE BANNER
   ===================================================== */
.cookie-banner {
  position: fixed; bottom: 0; width: 100%;
  padding-top: 12px; height: 58px;
  display: flex; align-items: center; color: white;
  background: rgba(26,26,46,.97);
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0,0,0,.3);
  font-size: 14px;
}
.cookie-banner p { width: 100%; margin: 0; }
.cookie-banner button { margin-left: 12px; }

/* =====================================================
   LOADER
   ===================================================== */
#loader {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,.8);
  z-index: 10312; display: none;
}
#loader:before {
  content: ''; z-index: 10314;
  position: absolute; top: 50%; left: calc(50% - 2.5em);
  transform: translate(-50%, -50%);
  border-top: .25em solid var(--gold);
  border-right: .25em solid var(--brand);
  border-bottom: .25em solid var(--brand);
  border-left: .25em solid transparent;
  border-radius: 50%; width: 5em; height: 5em;
  display: inline-block;
  animation: loading 1.1s infinite linear;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal { z-index: 10311; }
.modal-content { border-radius: var(--radius); border: none; box-shadow: var(--shadow-lg); }
.modal-header { background: var(--panel-head); color: #fff; border-radius: 12px 12px 0 0; }
.modal-header .close { color: #fff; opacity: .7; }
.modal-header .close:hover { opacity: 1; }
.modal-title { color: #fff; font-weight: 600; }

/* =====================================================
   LICENCE PAGE
   ===================================================== */
.license { padding: 40px 0; background: var(--surface-2); }
.license .title { margin-top: 0; margin-bottom: 60px; color: #074f66; }
.license .license-inner { max-width: 800px; background: #fff; padding: 30px; border-radius: var(--radius); margin: 50px auto 0; box-shadow: var(--shadow); }
.license .info { max-width: 760px; margin: 0 auto; }
.license .cta-container { max-width: 540px; margin: 60px auto 0; border-radius: var(--radius); }
.license .cta-container .speech-bubble { background: #d6f3fc; color: #074f66; padding: 30px; margin-bottom: 30px; position: relative; border-radius: var(--radius); }
.license .cta-container .speech-bubble:after { position: absolute; left: 50%; bottom: -10px; margin-left: -10px; content: ""; display: inline-block; width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 10px solid #d6f3fc; }
.license .cta-container .icon-holder { margin-bottom: 15px; }
.license .cta-container .icon-holder .fa { font-size: 56px; }
.license .cta-container .intro { margin-bottom: 30px; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes loading {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@-webkit-keyframes loading {
  0%   { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}
.bounce {
  display: inline-block; position: relative;
  animation: bounce .5s infinite linear;
}
@keyframes bounce {
  0%   { top: 0; }
  50%  { top: -.2em; }
  70%  { top: -.3em; }
  100% { top: 0; }
}

/* =====================================================
   DATATABLES OVERRIDE
   ===================================================== */
table.dataTable thead th { background: #f1f3f8; border-bottom: 1px solid var(--border) !important; }
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
  border-radius: 4px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #f0eeff !important;
  border-color: var(--border) !important;
  color: var(--brand) !important;
}

/* =====================================================
   RESPONSIVE — 1380px
   ===================================================== */
@media (max-width: 1380px) {
  .mini-stats-bar { width: 100%; }
  .stat-numbers { font-size: 28px; }
  .about .item .content .sub-title { font-size: 13px; }
  .about .item { margin-bottom: 0; }
  .stat-mini { font-size: 13px; }
  .carousel-caption { width: 560px; }
  .carousel-caption h3 { font-size: 26px; }
  .carousel-caption p  { font-size: 17px; }
  .carousel-caption { bottom: 30px; }
}

/* =====================================================
   RESPONSIVE — 767px (mobile)
   ===================================================== */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .about .item .content { padding-left: 0; }
  .about .item .content .sub-title { font-size: 12px; }
  .stat-numbers { font-size: 30px; line-height: 30px; }
  .stat-mini { font-size: 13px; }
  .about .item { margin-bottom: 20px; }
  .stats { font-size: 14px; }
  .mini-stats-bar { width: 100%; }
  .panel-body { overflow-x: scroll; }
  .carousel-caption { display: none; }
  .header .main-nav button { margin-right: 0; margin-top: 12px; }
  .header .main-nav .navbar-collapse { padding-left: 15px; padding-right: 15px; background: var(--nav-bg); }
  .header .main-nav .nav .nav-item a { padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .header .navbar-collapse .dropdown-menu > li > a { color: var(--gold) !important; }
  .promo .btns .btn { margin-right: 0; clear: both; display: block; margin-bottom: 30px; margin-top: 5px; }
  .promo .title { font-size: 50px; }
  #platformimg { display: none; }
  .promo .intro { font-size: 20px; text-shadow: none; }
  .promo .meta { margin-top: 5px; }
  .promo .meta li { float: none; display: block; margin-bottom: 5px; }
  .contact .author-message { text-align: center; }
  .contact .author-message .profile { position: static; margin: 0 auto 30px; }
  .contact .author-message .speech-bubble { margin-left: 0; }
  .contact .author-message .speech-bubble:after { display: none; }
  .join .title { font-size: 17px; }
  .carousel-caption { display: none; }
  .jumbotron { padding: 24px 20px; }
  .jumbotron h1 { font-size: 24px; }
  .activity-card-container { width: 100%; }
  .activity-card-hidden { width: 100%; }
  .activity-card-hidden div { width: 100%; }
}

.error { color: red; font-size: 16px; }

/* Form padding */
.form { padding: 20px 10px; }
.form-group { padding: 0 8px 8px; }
.form-control { padding: 10px 10px; min-height:40px;}
label { padding-bottom: 4px; }
