@font-face { /* for titles */
    font-family: FEI;
    src: url("FEI-Regular.otf") format("opentype");
}
@font-face {
    font-family: FEI;
    font-weight: bold;
    src: url("FEI-Bold.otf") format("opentype");
}
@font-face { /* for body text */
    font-family: Gotham;
    src: url("Gotham-Book.otf") format("opentype");
}
:root{
    --indigo: #3f51b5;
    --primary: #003B4A;
    --secondary: #7986cb;
    --accent: #F44336;
    --disabled: #6c757d;
    --background: #e8eaf6;
}
#dRefresh{
    display:none!important;
}
header div.dropdown-menu a:first-child{
    display:none;
}
header ul.nav{
    display:none;
}
/*
header{
    display:none;
} */ 

/* Hide the header with the clickable logo */
header div.container-fluid div.flex-row{
    display: none!important; 
}

/* Display the header with the logo that can be styled */
header div.container-fluid div.row.d-none{
    display: flex!important;
}


/* https://inside.fei.org/system/files/FEI_Brand_Guidelines_2023.pdf */
main.jumbotron{
    background:var(--fei-purple);
    font-family: FEI;
    color: white;
}
main.jumbotron .event-logo{
    background-image: url("event_logo_white.png");
}
main.jumbotron.fei-event-logo{
    background-image: url("event_logo_white.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: auto 60%;
}
main.jumbotron.event-banner{
    background-image: url("event_banner_white.jpg");
    background-repeat: no-repeat;
    background-position: top;
    background-size: contain;
    padding-top:80px;
}
main.jumbotron.fei-banners{
    background-repeat: no-repeat;
    /* background-image: url("event_banner_white_header.png"),url("event_banner_white_footer.png");
    background-position: top,bottom; */
    background-image: url("event_banner_white.jpg");
    background-position: top;
    background-size: contain;
    padding-top:80px;
    padding-bottom:80px;
}
main.jumbotron .competitor.top-row{
    min-height: 0px;
}
/* =============================================================== Individual */
main.jumbotron .competitor .owners{
    font-size: 5rem; 
    color: var(--fei-grey);
}
main.jumbotron .competitor .owners-groom{
    font-size: 5rem; 
    color: var(--fei-grey);
}
main.jumbotron .competitor .world-ranking{
    font-size: 5rem; 
}
main.jumbotron img.top-ten-flag{
    height: 40px;
}
main.jumbotron .competitor .make-wider{
    min-width:70%;
    width:auto;
    text-align: right;
    padding-right: 30px;
}
main.jumbotron table.individual-results{
    background-color: transparent;
    margin: 0 auto;
}
main.jumbotron table.individual-results th{
    color: var(--fei-grey);
    text-align: center;
    padding-left: 12px!important;
    padding-right: 12px!important;
    font-size: 5rem;
}
main.jumbotron table.individual-results td{
    color:white;
    padding-left: 12px!important;
    padding-right: 12px!important;
    text-align: center;
    font-size: 5rem;
    font-weight: bold;
}
/* =============================================================== Start Lists */
main.jumbotron .is-break{
    color: var(--fei-grey);
}
/* =============================================================== Top Ten Individuals */
.top-ten-owners{
    font-size: 0.7em;
    font-style: italic;
    line-height: 0.9em;
}
main.jumbotron .scoreboard-heading{
    min-height: 0;
    /* height: 6rem; */
}
/* main.jumbotron .scoreboard-heading #heading-center.css-content{
    display: inline-block;
    font-size: 6rem;
    font-weight: bold;
    text-align: center;
    width: 100%;
} */
/* main.jumbotron .scoreboard-heading #heading-center.css-content:after{
    content: "Leaderboard";
} */
/* =============================================================== Top Three Individuals */
main.jumbotron .scoreboard-table.top-three td.flag{
    padding-top: 1.5rem;
    padding-bottom: 1rem
}
main.jumbotron .scoreboard-table.top-three td.flag img.flag{
    min-width:100px;
    max-width: 100px;
}
.groom{
    font-size: 0.7em;
    font-style: italic;
    line-height: 0.7em;
}
/* =============================================================== One Team */
main.jumbotron table.table.border-fei td.border{
    border-color: var(--fei-grey)!important;    
}
/* =============================================================== ScorePanels */
.showBoards {
    font-family: FEI;
    background-color: var(--fei-purple)!important;
    color: white;
}
.showBoards .table {
    color: white;
}
.showBoards main.default{
    /* put the banner on Scorepanels */
    padding: 0!important;
}
.showBoards main.default #hCentre{
    height: 70px;
    background-color: white!important;
}
.showBoards #sbCentre{
    /* ScorePanels get rid of overflow */
    margin-left: 0!important;
    margin-right: 0!important;
}
.showBoards table.scoreboard-table{
    color: white;
}
.showBoards #sbCentre h1{
    /* heading */
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 4rem;
}
.showBoards table.scoreboard-table thead th {
    font-weight: bold;
}
.showBoards #hCentre img,
.showBoards #hCentre span{
    /* put the banner on Scorepanels */
    display:none;
}
.showBoards #hCentre{
    /* put the banner on Scorepanels */
    padding: 0!important;
    height: 70px;
    background-image: url("event_banner_white.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-color: white;
    margin-bottom: 20px;
}
#teamBoardsHeader{
    /* put the banner on TeamPanels */
    height: 70px;
    background-image: url("event_banner_white.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100%;
    background-color: white;
    margin-bottom: 20px;
}
.showBoards table.table{
    margin-left: 150px;
    margin-right: 150px;
}
.showBoards table.team-summary{
    margin-top: 50px;
}
.showBoards table.team-summary td{
    font-size: 4rem;
    font-weight: bold;
}
.showBoards table.team-summary tr td.col-for-flag img{
    margin-bottom: 10px!important;
}
.showBoards table.team-summary tr td:last-child{
    text-align: right;
}
.showBoards table.team-details td{
    font-size: 1.8rem;
}
.showBoards .teamboard-table.team-details img.flag{
    height: 25px;
}
.showBoards .teamboard-table.team-details img.flag{
    height: 25px;
}
.showBoards .teamboard-table .country-heading h3{
    font-size: 1.8rem;
}
.showBoards .teamboard-table .country-heading td{
    font-size: 1.8rem;
}
.showBoards .teamboard-table .country-heading td:first-child{
    font-weight: bold;
}
.showBoards .teamboard-table.team-details tr.country-member td:first-child span{
    display:none; /* hide the bridle number */
}
.showBoards .teamboard-table.team-details tr.filler-row,
.showBoards .teamboard-table.team-details tr.filler-row td{
    line-height: 2px;
}
/* =============================================================== Individual results on a phone */
table.scoreboard-table tr.resultsTable ul.list-group {
    border-color: var(--fei-purple) !important;
}
table.scoreboard-table tr.resultsTable li.bg-danger {
    background-color: var(--fei-grey) !important;
}
table.scoreboard-table tr.resultsTable li.list-group-item-danger {
    background-color: var(--fei-grey) !important;
}
/* =============================================================== The safe Event Page*/
.stored-results-page header{
    display:none;
}
#dSearchCard div.card{
    /* Hide the Search bar because it isn't too great. Use /results/media instead. */
    display:none;
}
#dSectionResultsTable{
    height: calc(100vh - 70px);
    background-color: white;
}
/* .fei-logo{
"/uploads/logos/fei-white-transparent.png"
} */