:root {
  --blue: #132383;
  --red: #d7291d;
  --lightGray: #f5f4f5;
  --darkGray: #a88284; 
}

@font-face {
  font-family: 'Graphik'; 
  src: url('/assets/fonts/graphiklcweb_medium.ttf') format('truetype');
}

@font-face {
  font-family: 'Bebas'; 
  src: url('/assets/fonts/bebas.ttf') format('truetype');
}

@font-face {
  font-family: 'BebasBold'; 
  src: url('/assets/fonts/bebas_h.ttf') format('truetype');
}

body {
    background-color: #faf9fa;
    color: black;
    overflow-x: clip;
}

img {
    max-width: 100%;
    /* height: auto;*/
}

.cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 20px;
    text-align: center;
    background-color: var(--lightGray);
    border: 1px dashed var(--darkGray);
    color: var(--blue);
    font-family: 'Graphik';
    font-size: 12pt;
}

a {
    text-decoration: none;
}

.white {
    color: white;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 90%;
    font-family: 'BebasBold';
    text-transform: uppercase;
    color: var(--red);
}

h1 {
    color: white;
}

h2 {
    margin-bottom: 20px;
}

h5 {
    font-size: 12pt;
}

p {
    font-family: 'Graphik';
    font-size: 12pt;
    color: var(--blue);
}

p.lead {
    font-family: 'Bebas';
    line-height: 90%;
}

.air-container {
    margin: 40px 0px;
}

.btn {
    padding: 10px 20px;
    font-family: 'BebasBold';
    font-size: 14pt;
    border-radius: 0px!important;
}

.btn-sm {
    font-size: 12pt!important; 
    padding: 5px 10px!important;
}

.btn-primary {
    background-color: var(--blue);
    border-color: var(--blue);
    color: white;
}

.btn-primary:hover, .btn-danger:hover {
    background-color: var(--lightGray);
    border-color: var(--darkGray);
    color: black;    
}

.btn-danger {
    background-color: var(--red);
    border-color: var(--red);
    color: white;    
}

.anocard-normal {
    /* border-radius: 15px; */ 
    padding: 20px;
    background-color: var(--lightGray);
    margin-bottom: 20px;
    overflow: hidden;
    position: relative;
}

.card {
    border-radius: 0px!important;
}

.fullHeight {
    margin-bottom: 20px;
    height: calc(100% - 20px);    
}

.anocard {
    padding: 20px;
    background-color: var(--blue);
    margin-bottom: 20px;
    height: calc(100% - 20px);
    overflow: hidden;
    position: relative;
}

.anocard-img-container {
    text-align: right;
    position: absolute;
    bottom: 0px;
    width:100%;
}

.anocard-img-container>img {
    height:110px;
}

.anocard-icon {
    padding-bottom: 80px;
}

.anocard-bi {
    font-size: 18pt;
    padding: 8px 12px;
    color: var(--lightGray);
    border-radius: 10px;
}

.ano-img {
    /* background-image: url('/assets/img/high.png'); */
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

/* Custom accordion */
.accordion-item {
  border: none;
  margin-bottom: 10px;
}

.accordion-header {
    font-weight: normal;
    font-family: 'Bebas';
    font-size: 15pt;
}

.accordion-button::after {
  display: none;
}

.accordion-button::before {
  content: "+";
  background-color: var(--blue);
  color: var(--darkGray);
  padding: 8px 12px;
  transition: transform 0.2s ease-in-out;
  margin-right: 15px;
}

.accordion-button:not(.collapsed)::before {
  content: "-";
  transform: rotate(180deg);
}

footer {
    background-color: var(--blue);
    margin-top: 20px;
    padding: 25px;
    color: white;
}

.page-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-layout__content {
    flex: 1 0 auto;
}

.page-layout__content--offset-nav {
    margin-top: 70px;
}

.page-layout__footer {
    flex-shrink: 0;
}

/* Rating / leaderboard table (event/table) */
.ano-rating-table-wrap {
    --ano-rating-bg: #ffffff;
    --ano-rating-row: rgba(19, 35, 131, 0.04);
    --ano-rating-row-alt: rgba(19, 35, 131, 0.08);
    --ano-rating-muted: rgba(19, 35, 131, 0.55);
    --ano-rating-accent: rgba(215, 41, 29, 0.12);
    --ano-rating-place: rgba(0, 0, 0, 0.28);
    width: 100%;
    background-color: var(--ano-rating-bg);
    color: var(--blue);
    padding: 28px 24px;
    border-radius: 12px;
}

.ano-rating-table-wrap .table-responsive {
    width: 100%;
}

.ano-rating-table-wrap h2,
.ano-rating-table-wrap h3,
.ano-rating-table-wrap h4 {
    color: var(--red);
    margin-bottom: 18px;
}

.ano-rating-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: transparent;
    color: var(--blue);
    font-family: 'Graphik', sans-serif;
    margin-bottom: 0;
}

.ano-rating-table thead th {
    color: var(--ano-rating-muted);
    font-weight: 500;
    font-size: 11pt;
    text-transform: none;
    border: none;
    padding: 10px 12px;
    vertical-align: middle;
    background: transparent;
}

.ano-rating-table thead th a {
    color: var(--ano-rating-muted);
    text-decoration: none;
}

.ano-rating-table thead th a:hover {
    color: var(--red);
    text-decoration: underline;
}

.ano-rating-table tbody tr {
    background-color: var(--ano-rating-row);
}

.ano-rating-table tbody tr:nth-child(even) {
    background-color: var(--ano-rating-row-alt);
}

.ano-rating-table td {
    border: none;
    padding: 16px 12px;
    vertical-align: middle;
    color: var(--blue);
    font-size: 12pt;
}

.ano-rating-table__place {
    width: 8%;
    text-align: center !important;
    font-weight: 700;
    font-size: 13pt;
}

.ano-rating-table__team {
    width: 40%;
    min-width: 40%;
    text-align: left !important;
}

.ano-rating-table__team a {
    color: var(--blue);
    text-decoration: underline;
}

.ano-rating-table__score {
    text-align: center !important;
}

.ano-rating-table__total {
    width: 8%;
    text-align: center !important;
    font-weight: 700;
    background-color: var(--ano-rating-accent) !important;
}

.ano-rating-table thead th.ano-rating-table__total {
    color: rgba(19, 35, 131, 0.75);
}

/* Top-3 teams widget */
.ano-top-teams {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0 0 28px;
    width: 100%;
}

.ano-top-teams__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 1 1 200px;
    min-width: 0;
    padding: 10px 18px 10px 12px;
    background-color: var(--lightGray);
    border-radius: 999px;
    color: var(--blue);
    font-family: 'Graphik', sans-serif;
}

.ano-top-teams__place {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14pt;
    line-height: 1;
    color: #121212;
}

.ano-top-teams__place--1 {
    background-color: #f5c518;
}

.ano-top-teams__place--2 {
    background-color: #c5d0dc;
}

.ano-top-teams__place--3 {
    background-color: #d08945;
}

.ano-top-teams__name {
    color: var(--blue);
    font-size: 13pt;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ano-top-teams__name a,
.ano-top-teams__name a:link,
.ano-top-teams__name a:visited,
.ano-top-teams__name a:hover,
.ano-top-teams__name a:active,
.ano-top-teams__name a:focus {
    color: var(--blue) !important;
    text-decoration: none;
}

.ano-top-teams__name a:hover {
    text-decoration: underline;
}