@font-face {
    font-family:transducertest-medium;
    src: url("/bea/css/fonts/TransducerTest-Medium-BF645c3dd896377.woff") format("woff");
}

@font-face {
    font-family:transducertest-regular;
    src: url("/bea/css/fonts/TransducerTest-Regular-BF645c3dd843c3b.woff") format("woff");
}

html {
    /* background-color: #24356a;*/
}

body {
    font-family: "transducertest-regular", serif;
    line-height: 1.5;
    color: #FFFFFF;
    font-size: 1rem;
}

.flatpickr-wrapper {
    width: 100%;
}

/* Loader */
.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal boxes */

.modal-header, .modal-body, .modal-footer {
    /*background-color: rgba(25,19,19,.5);*/
}

.helpmodal:hover {
    cursor: pointer;
    cursor: hand;
}

/* Calendar */

.fc-scrollgrid {
    background-color: #f1f1f1;
}

.fc-scrollgrid-section.fc-scrollgrid-section-header {
    background-color: #2b3445;
}

.fc-event-time, .fc-event-title {
    padding: 0 1px;
    white-space: normal !important;
}

.fc-cell-shaded {
    background-color: #2b3445 !important;
}

.fc .fc-list-event.fc-event-forced-url {
    background-color: #FFFFFF !important;
    color: #e5003d;
}

/* Calendar */
.calendar-full-width {
    width: 90vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -45vw;
    margin-right: -45vw;
}

.notification .badge {
    /*position: absolute;*/
    top: -10px;
    right: -10px;
    padding: 5px 10px;
    border-radius: 50%;
    background: #11121d;
    color: white;
}

/* NEW secondary navigation */

.secondarynavtop li a {
    color: #717171;
}

.secondarynavtop li a:hover {
    color: #e52629;
    text-decoration: none;
    transition: color 0.75s;

}

.secondarynavtop li {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 30px;
    border-style: solid;
    border-color: #213451;
    border-width: thin;
    /*background-color: rgba(25,19,19);*/
    background-color: #eeeeee;
    /*background-color: rgba(51,51,51,0.5);*/
    margin-bottom: 10px;
}

.secondarynavtop li.selected a {
    color: #e52629;
    /* background-color: rgba(25,19,19);*/
    /*background-color: #333333;*/
    /* background-color: rgba(51,51,51,0.5);*/
}

.secondarynavtop .selected {
    display: inline-block;
}

.secondarynavtop .selected li a {
    color: #e52629;
}



.secondarynavtop a:active {
    /*    background-color: dodgerblue;
        color: white;*/
}

#container {
    /*    width: 990px;
        margin: 0 auto;*/
    min-height: calc(100vh - 553px);
    padding-top: 40px;
    position: relative;
    background-color: #11121d;
    /*background: linear-gradient(to right, rgba(28,24,25,0.7) 20%, rgba(78,34,42,0.7)), url('/bea/img/Red-Gradient-Dark-A3-.png');*/
    /*background-size: cover;*/
}

.thinredline {
    height: 5px;
    background-color: #2b3445;
    min-width: 990px;
}

#content .tournamentpage dl {
    display: block;
    clear: none;
}

#navigation {
    font-family: "transducertest-medium", serif;
    height: 47px;
    /*padding: 7.5px 0;*/
    font-size: 16px;
    background-color: #DB092E;
    min-width: 990px;
    box-shadow: 0px 5px 10px 0px rgb(0 0 0 / 36%);
    position: absolute;
    z-index: 10;
    width: 100%;

}

#quote {
    height: 32px;
    background-image: url('/images/quote-bg.gif');
}

#quote p {
    margin: 0;
    padding: 7px 8px;
    font-style: italic;
    font-size: 1.1em;
    text-align: right;
}

#content {
    padding: 40px 0;
    min-height: calc(100vh - 460px);
    min-width: 990px;

}

.maincontent {
    width: 1250px;
    margin: 0 auto;
}


#footer {
    color: #000000;
    font-size: 14px;
    height: 215px;
    min-width: 990px;
    /*background: linear-gradient(to right, rgba(43,52,69,0.7) 20%, rgba(26,52,92,0.7)), url('/bea/img/Blue-Gradient-Dark-A3-.png');*/
    background-color: #14181F;
    background-size: cover;
}

.footercontainer {
    width: 1250px;
    margin: 0 auto;
}

#copyright {
    color: #000000;
    font-size: 14px;
    background-color: #EFEFEF;
    min-width: 990px;
    /*padding-bottom: 10px;*/
}

#copyright .columnterms {
    /*  width: 50%;*/
    float: right;
}

a {
    text-decoration: none;
    color: #DB092E;
}
.column {
    /*width: 50%;*/
    float: left;
}

#footer p {
    padding: 0 1em;
    margin: 0;
    color: #ffffff;
}

a:hover {
    text-decoration: underline;
    color: #990029;
}

#footer ul {
    margin-top: 20px;
}

#footer ul li {
    float: right;
    padding: 0 10px;
    color: #FFFFFF;
}

#footer a {
    color: #ffffff;
}

/* Primary Navigation */
/*, .navbar **/

/* Primary Navigation */

.myaccount {
    /*	max-width: 32px;
        max-height: 32px;*/
    font-size: 32px !important;
}


.navbar {
    margin: 0;
    padding: 0;
    list-style: none;
    z-index: 1000000;
    text-transform: uppercase;
    font-family: Rubik,sans-serif;
    display: flex;
    /*justify-content: space-evenly*/
}

.navbar_container {
    width: 1200px;
    margin: 0 auto;
}

.navbar ul {
    position: absolute;
    top: -999em;
    min-width: 200px;
    white-space: nowrap;
}

.navbar ul li {
    width: 100%;
}

.navbar li li {
    background-color: var(--epic-orange);
}

.navbar li:hover {
    visibility: inherit;
    background-color: #11121d;
    background-position: 0 29px;
    transition: background 0.3s ease 0s;
    color: #ffffff;
}

.navbar li:hover > a {
    color: #ffffff;
    background-color: #11121d;
}

.navbar > li {
    text-align: center !important;
}

.navbar li {
    float: left;
    position: relative;
    /*background-color: #f07c02;*/
    text-align: left;
}

.navbar > li > a {
    line-height: 48px;
}

.navbar a {
    display: block;
    position: relative;
    color: #ffffff;
    line-height: 47px;
    padding: 0 20px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}

.navbar li:hover ul, .navbar li.sfHover ul {
    left: 0;
    top: 47px;
    background-color: #DB092E;
    list-style: none;
}

.navbar li:hover li ul, .navbar li.sfHover li ul {
    top: -999em;
}

.navbar li li:hover, li li.sfHover {
    background-color: #333333;
    border-color: #DB092E;
    border-style: solid;
    border-width: thin;
}

.navbar li li:hover ul, .navbar li.sfHover ul {
    left: 12em;
    top: 0;
    margin-left: 1px;
}

.navbar li li:hover li ul, .navbar li li.sfHover li ul {
    top: -999em;
}

.navbar li li li:hover ul, .navbar li li li.sfHover ul {
    left: 12em;
    top: 0;
    background-color: #333333;
}

.navbar > li > a.haschild {
    background-image: url('/images/haschild.gif');
    background-repeat: no-repeat;
    background-position: center bottom;
}

.navbar ul a.haschild {
    background-image: url('/images/hassubchild.gif');
    background-repeat: no-repeat;
    background-position: center right;
}

.navbar a:hover {
    color: #ffffff !important;
}

.nav {
    display: block;
}

/* Footer */

#footer ul.links {
    padding: 10px 20px;
}

#footer ul.links li {
    float: left;
    margin-right: 20px;
}

#footer a:hover {
    color: #ffffff;
}

/* Generic Content Styles */

#content .center {
    text-align: center;
    color: #000000;
}

#prefooter {
    color: #8c94a1;
    padding: 10px 0;
}

#prefooter p {
    line-height: 1.2em;
    color: #8c94a1;
    margin: 10px 0;
    font-size: 1.1em;
}

#prefooter h2 {
    font-size: 1.4em;
    line-height: 1.4em;
    font-weight: bold;
}

#footer .logo {
    /* width: 20%;*/
    float: left;
    padding: 10px 10px 0px 10px;
    text-align: center;
}


#footer .bea-logo img {
    max-height: 170px;
}

#footer .aoc-logo img {
    max-width: 200px;
}
#footer .twitch-logo img {
    max-width: 80px;
}

#footer .cdn-logo img {
    max-width: 200px;
}

#footer .beasummary {
    width: 35%;
    float: left;
    padding: 20px 0;
    /*text-align: center;*/
    color: #FFFFFF;
}

#footer .socialicons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    float: left;
    padding-top: 40px;
    width: 40%;
    padding-left: 50px;
}


#footer .socialicon {
    width: 22%;
    padding: 20px;
}



#content h1 {
    font-size: 1.7em;
    margin: 0 0 7.5px 0
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6, p,
#content blockquote, #content form, #content label, #content ul, #content ol,
#content dl, #content fieldset, #content address {
}

#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
    font-weight: bold;
}

#content h1 a:hover, #content h2 a:hover, #content h3 a:hover, #content h4 a:hover, #content h5 a:hover, #content h6 a:hover {
    text-decoration: none;
}

#content h2 {
    font-size: 1.5em;
    line-height: 1.4em;
}

#content h3 {
    font-size: 1.5em;
    line-height: 1.6em;
}

#content h4 {
    font-size: 1.4em;
    line-height: 1.5em;
    margin-top: 10px;
}

#content h5 {
    font-size: 13pt;
    line-height: 1.6em;
}

#content .orange {
    color: #24356a;
}

colorwhite {
    color: #FFFFFF;
}

colorblack {
    color: #000000;
}


#content p {
    line-height: 1.5em;
    margin: 20px 0;
}

#content strong, #content .strong {
    font-weight: bold;
}

#content em {
    font-style: italic;
}

#content .grey {
    color: #c0c0c0;
}

#content span.highlight {
    background-color: #24356a;
    border-bottom: 1px dotted #ffffff;
    border-top: 1px dotted #ffffff;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 3px;
}

#content blockquote {
    background-color: #fefbf3;
    border: 1px solid #cccccc;
    padding: 10px;
}

#content blockquote.quote {
    background-color: #ffffff;
    background-image: url('/images/quote.gif');
    background-repeat: no-repeat;
    border: none;
    color: #999999;
    padding: 6px 10px 10px 65px;
}

#content div.hr {
    height: 1px;
    margin: 10px 0;
    background-color: #dfe2ff;
}

#content pre {
    background: #eeeeee;
    border-left: 5px solid #cccccc;
    color: #777777;
    margin: 0.5em 0;
    padding: 10px;
}

#content .morelink {
    text-align: right;
}

#content .epicText {
    font-weight: bold;
    color: #e44c0f;
}

#content .clear {
    clear: both;
}

#content .clear_left {
    clear: left;
}

/* Lists */

#content ul.li-arrow li, #content ul.li-arrow2 li, #content ul.li-arrow3 li, #content ul.plus li, #content ul.exclamation li {
    background-position: 5px 5px;
    background-color: transparent;
    background-repeat: no-repeat;
    padding: 2px 0 2px 23px;
    background-image: url('/images/li-star.gif');
    margin-left: 1em;
}

#content ul.li-arrow li {
    background-image: url('/images/li-1.png');
}

#content ul.li-arrow2 li {
    background-image: url('/images/li-2.png');
}

#content ul.li-arrow3 li {
    background-image: url('/images/li.png');
}

#content ul.li-plus li {
    background-image: url('/images/li-plus.gif');
    background-position: 7px 7px;
}

#content ul.li-exclamation li {
    background-image: url('/images/exclamation.png');
    padding: 4px 0 0 25px;
    margin-left: 0;
}

#content ol {
    padding: 0;
}

#content ol li {
    padding: 2px 0 2px 5px;
    list-style-type: decimal;
    list-style-position: inside;
    margin-left: 1em;
    color: #e44c0f;
}

#content ol li span {
    color: #666666;
}

#content ul.horizontal li {
    float: left;
    background-image: none;
    padding: 2px;
    margin: 0 10px 0 0;
}

#content dl {
    display: block;
    clear: both;
}

#content dt {
    width: 100px;
    font-weight: bold;
    float: left;
    padding: 2px 0;
    clear: left;
    margin-left: 1em;
}

#content dd {
    width: auto;
    padding: 2px 0;
}

#content dl.star dt {
    padding-left: 23px;
    background-image: url('/images/li-star.gif');
    background-repeat: no-repeat;
    background-color: transparent;
    background-position: 5px 5px;
}

#content ul {
    list-style-type: disc;
    padding-left: 1rem;
}

#content li {
    list-style-type: disc;
    list-style-position: outside;
}
/* Flash Notices */

#content div.error {
    background-color: #ffcfab;
    border-left: 5px solid #b40300;
    color:#b40300;
    padding: 5px 7px;
}

#content div.notice {
    background-color: #daf7d4;
    border-left: 5px solid #c1ee71;
    color: #7e8e50;
    padding: 5px 7px;
}

#content div.tip {
    background-color: #ffffcc;
    border-left: 5px solid #ffe78b;
    color: #ff9900;
    padding: 0 7px 5px 7px;
    margin-bottom: 10px;
}

#content div.help {

    background-color: #dee8ff;
    border-left: 5px solid #b8d9ff;
    color: #6699ff;
    padding: 0 7px 5px 7px;
    margin-bottom: 10px;
}

/* Paragraphs */

#content p.error {
    background-color: #ffcfab;
    border-left: 5px solid #b40300;
    color:#b40300;
    padding: 5px 7px;
}

#content p.notice, #content div.notice {
    background-color: #daf7d4;
    border-left: 5px solid #c1ee71;
    color: #7e8e50;
    padding: 5px 7px;
}

#content p.tip {
    background-color: #ffffcc;
    border-left: 5px solid #ffe78b;
    color: #ff9900;
    padding: 5px 7px;
}

#content p.help {
    background-color: #dee8ff;
    border-left: 5px solid #b8d9ff;
    color: #6699ff;
    padding: 5px 7px;
}

#content p.lightgreen {
    background-color: #daf7d4;
    border: 1px solid #c1ee71;
    color: #7e8e50;
    padding: 5px 7px;
}

#content p.lightorange {
    background-color: #ffffcc;
    border: 1px solid #ffe78b;
    color: #ff9900;
    padding: 5px 7px;
}

#content p.lightblue {
    background-color: #dee8ff;
    border: 1px solid #b8d9ff;
    color: #6699ff;
    padding: 5px 7px;
}

#content p.lightgrey {
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    color: #999999;
    padding: 5px 7px;
}

#content p.whitedotted {
    border: 1px dashed #e44c0f;
    color: #e44c0f;
    padding: 5px 7px;
}

#content p.lushorange {
    padding: 6px 7px;
    color: #ffffff;
    background-image: url('/images/nav-bg.gif');
    background-repeat: repeat-x;
    background-color: #e44c0f;
}

#content p.lushgrey {
    padding: 5px 7px;
    color: #ffffff;
    border: 1px solid #999999;
    background-image: url('/images/lushgrey.png');
    background-repeat: repeat-x;
    background-color: #9b9b9b;
}

/* Styled Divs */

#content h3.styled {
    color: #ffffff;
    font-weight: bold;
    background-color: #e44c0f;
    background-image: url('/images/nav-bg.gif');
    margin-bottom: 0;
    font-size: 12px;
    line-height: 17px;
    padding: 4px 5px;
}

#content div.odd, #content div.even {
    margin-top: 0;
    padding: 5px;
}

/* Tables */

#content table.styled {
    width: 100%;
}

#content table.styled th {
    color: #ffffff;
    font-weight: bold;
    background-color: #DB092E;
}

#content table.styled th a {
    color: #ffffff;
    text-decoration: none;
}

#content table.styled td, #content table.styled th {
    border-bottom: 1px solid #FFFFFF;
    padding: 4px 0;
    height: 20px;
}

#content table.styled th {
    text-indent: 5px;
}

#content table.styled td {
    padding-left: 5px;
    color: #000000;
}

#content table.styled img.twitch-logo {
    max-height: 20px;
}

#content tr.odd, #content div.odd {
    background-color: #f1f1f1;
}

#content tr.even, #content div.event {
    background-color: #f6f6f6;
}

#content table.styled tr:hover {
    background-color: #e9e9e9;
}

#content th a.arrow {
    background-image: url('/images/haschild.gif');
    background-repeat: no-repeat;
    background-position: right 7px;
    padding-right: 15px;
}

#content th.center a.arrow {
    padding-left: 15px;
}

#content table.items td {
    vertical-align: top;
}

#content table.items .price {
    font-weight: bold;
    font-size: 13pt;
}

#content table.styled td.alertmessage {
    background-color: #f1f1f1;
}

/* Forms */

#content input[type='text'], #content input[type='password'], #content select {
    padding: 2px 3px;
    background-repeat: repeat-x;
    background-image: url('/images/input-bg.jpg');
    border: 1px solid #c0c0c0;
    height: 34px;
}

#content input[type='text'], #content input[type='password'] {
    width: 300px;
}

#content .submitbutton button, #content input[type='submit'] {
    /*    background-image: url('/images/button-bg.gif');
        height: 31px;
        border: 1px solid #cccccc;*/
    color: #ffffff;
    text-align: center;
    /*text-transform: lowercase;*/
    font-weight: bold;
    padding: 0 20px;
    font-family: avenir, sans-serif;
    border-width: 0px;
    background-color: #E00D40;
    /*border-radius: 0px 0px 0px 0px;*/
    /*padding: 15px 20px 14px 20px;*/
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
}

#content .submitbutton button:hover, #content input[type='submit'] {
    background-color: #BA0B2E;
}


#content label {
    font-weight: bold;
    color: white;
}

#content label.plain {
    font-weight: normal;
    color: #000000;
}

#content .items label.plain {
    margin-top: 0;
}

#content .checkbox label {
    font-weight: normal;
}

#content div.terms {
    height: 200px;
    overflow-y: scroll;
    border: 1px solid #cccccc;
    padding: 5px;
}

#content textarea {
    background-color: #f3f3f1;
    background-image: url('/images/input-bg.jpg');
    background-position: top left;
    background-repeat: repeat-x;
    border: 1px solid #c0c0c0;
    padding: 3px;
}

#content textarea.large {
    width: 100%;
    height: 200px;
}

#content input[type='text'].smalltextbox, #content input[type='password'].smalltextbox {
    width: 100px !important;
}

#content input[type='text'].mediumtextbox, #content input[type='password'].mediumtextbox {
    width: 50% !important;
}

#content td.emptytable {
    height: 40px;
    vertical-align: middle;
    text-align: center;
    background-color: #f1f1f1;
    color: #000000;
}

#content table.items td label {
    color:black;
}

/* Front Page */

.fpmodule {
    width: 505px;
    height: 240px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
    background-color: #e9e9e9;
    background-image: url('/images/nextevent_bg.png');
    position: relative;
    background-position: top right;
    background-repeat: no-repeat;
}
.fpleft, .fpright {
    background-repeat: no-repeat;
    height: 240px;
    top: 0;
    position: absolute;
    width: 5px !important;
    z-index: 10000;
}

.fpright {
    background-image: url('/images/rightside240.png');
    right: 0;
}

.fpleft {
    background-image: url('/images/leftside240.png');
    left: 0;
}

.nextevent p {
    padding: 5px 10px;
    font-size: 14pt;
    font-weight: bold;
    margin: 5px !important;
}

.media2 {
    width: 120px;
    height: 240px;
    position: relative;
    margin-bottom: 10px;
    float: left;
    margin-right: 10px;
}

/* News Slideshow */

#news_slideshow {
    width: 300px;
    height: 240px;
    position: relative;
    float: left;
}

#news_slideshow ul {
    position: absolute;
    top: 0;
    right: 0;
    margin: 5px;
    z-index: 10;
}

#news_slideshow ul li.slideshow {
    float: left;
    width: 30px;
    height: 20px;
    overflow: hidden;
    margin: 2px 2px 0 0;
    background-image: none;
    padding: 0;
}

#news_slideshow ul li.slideshow a {
    display: block;
    width: 30px;
    height: 20px;
    background-image: url('/images/slideshow-buttons.png');
}

#news_slideshow ul li.slideshow a:hover, #news_slideshow ul li.current a {
    background-position: 0 20px;
}

#news_slideshow > div {
    width: 300px;
    height: 240px;
    position: absolute;
    overflow: hidden;
}

#news_slideshow h1 {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 2px 5px;
    background-image: url('/images/opaque.png');
}

.news_slideshow_body {
    position: absolute;
    bottom: 0;
    left: 0;
    color: #ffffff;
    font-size: 1.5em;
    font-weight: bold;
    width: 300px;
    background-image: url('/images/opaque.png');
}

.news_slideshow_body p {
    padding: 3px 6px;
    margin: 0 !important;
}

/* News */

.news-content img[width='300'] {
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-header {
    background-image: url('/images/dotted-line.png');
    background-repeat: repeat-x;
    background-position: bottom left;
    clear: both;
    padding-top: 5px;
    margin-bottom: 5px;
    padding-bottom: 5px;
    margin-top: 5px;
}

.article-header p {
    margin: 5px 0 0 0 !important;
    font-size: 10px;
}

.article-header h2, .article-header h1 {
    margin: 0 !important;
    line-height: 1.35em !important;
}

.news-footer {
    background-image: url('/images/dotted-line.png');
    background-repeat: repeat-x;
    background-position: top left;
    height: 20px;
    padding-top: 1px;
    margin-bottom: 30px;
    clear: both;
    padding-bottom: 20px;
}

.news-footer ul {
    float: left;
    margin: 0 !important;
}

.news-footer p {
    float: right;
    text-align: right;
    margin: 0 !important;
}

.news-footer ul.social li a {
    display: block !important;
    height: 16px !important;
    width: 16px !important;
    background-position: -16px 0 !important;
}

.news-footer ul.social a:hover {
    background-position: 0 0 !important;
}

.news-footer ul.social li, .news-footer ul.tags li {
    background-image: none !important;
    padding: 0 !important;
    margin: 2px !important;
    float: left !important;
}

.tags {
    clear: both;
}

.tags li {
    width: auto;
    padding: 1px;
}

.tags li a {
    width: auto;
    display: block;
    margin-left: 10px;
}

/* Seating Plan */

.seating_plan_v1 {
    border: 1px solid #c0c0c0;
    position: relative;
    background-image: url('/images/seating.png');
    background-position: top left;
    background-repeat: no-repeat;
}

.seating_plan_v2 {
    border: 1px solid #c0c0c0;
    position: relative;
    overflow: visible;
}

.seating_plan_1 {
    background-image: url('/images/seating.png');
}

.seating_plan_2 {
    background-image: url('/images/seating2.png');
}

.seating_plan_3 {
    background-image: url('/images/seating3.png');
}

.seat {
    border: 1px solid #c0c0c0;
    text-align: center;
    position: absolute;
    padding: 1px 2px;
    width: 30px;
    height: 18px;
    cursor: pointer;
    background-color: #ffffff;
}

.seating_plan_v2 .seat {
    width: 8px;
    height: 10px;
}

.seat:hover {
    border: 1px solid #e44c0f;
}

.seat_label {
    position: absolute;
    padding: 0 8px 9px 0;
    height: 18px;
    z-index: 500;
    background-image: url('/images/shadow.png');
    background-position: bottom right;
    background-repeat: repeat-y;
    white-space: nowrap;
}

.seat_label div {
    padding: 1px 3px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    background-image: url('/images/input-bg.jpg');
    background-position: bottom left;
    background-repeat: repeat-x;
}

.seat_taken {
    background-color: #ffcfab;
}

.seat_available {
    background-color: #daf7d4;
}

.seat_disabled {
    background-color: #eeeeee;
}

.seat_info {
    z-index: 3000000;
    position: fixed;

    background-color: #ffffff;
    background-image: url('/images/input-bg.jpg');
    background-position: bottom left;
    background-repeat: repeat-x;
    border: 1px solid #c0c0c0;

    padding: 0 5px 5px 5px;

    top: 50%;
    left: 50%;
    margin-left: -135px;
    margin-top: -58px;
    width: 270px;
    height: 116px;
}

.seat_info_close {
    width: 16px;
    height: 16px;
    top: 1px;
    right: 1px;
    position: absolute;
    background-image: url('/images/close.png');
    background-position: 0 -16px;
    background-repeat: no-repeat;
    cursor: pointer;
}


.seat_info_close:hover {
    background-position: 0 0;
}

#blackout {
    background-image: url('/images/opaque.png');
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000000;
}

.devnotice {
    width: 100%;
    background-color: #333333;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    padding: 2px 0;
    font-size: 12px;
    border-bottom: 1px solid #000000;
}

#content .right {
    text-align: right;
}

td.right, th.right {
    padding-right: 4px !important;
}

tr.total {
    background-color: #c0c0c0;
    font-weight: bold;
}

div.quarter_column {
    width: 25%;
    float: left;
}

a:hover.grey {
    color: #e44c0f !important;
}

/* Front Page */

.sidebar {
    width: 300px;
    margin-left: 10px;
    float: left;
    padding-left: 5px;
    background-image: url('/images/dotted-line.png');
    background-position: top left;
    background-repeat: repeat-y;
}

.news {
    width: 635px;
    float: left;
}

#feed p {
    margin-top: 0;
    background-position: 3px 0;
    background-repeat: no-repeat;
    padding-left: 20px;
}

#feed p.twitter {
    background-image: url('/images/twitter.png');
}

#feed p.achievement {
    background-image: url('/images/achievement.png');
}

#feed h4 {
    font-weight: bold;
    font-size: 9px;
    background-image: url('/images/dotted-line.png');
    background-position: bottom left;
    background-repeat: repeat-x;
    text-align: right;
}

/* Lightboxes */
.lightbox {
    z-index: 3000000;
    position: fixed;
    background-color: #ffffff;
    background-image: url('/images/input-bg.jpg');
    background-position: bottom left;
    background-repeat: repeat-x;
    border: 1px solid #c0c0c0;
    padding: 0 5px 5px 5px;
    color: #000000;
}

#lightbox label {
    color: #000000;
}

.lightbox h4 {
    margin-top: 0 !important;
}

#lightbox_image  {
    cursor: pointer;
    cursor: hand;
}

.lightbox_close {
    width: 16px;
    height: 16px;
    top: 1px;
    right: 1px;
    position: absolute;
    background-image: url('/images/close.png');
    background-position: 0 -16px;
    background-repeat: no-repeat;
    cursor: pointer;
    cursor: hand;
}

.lightbox_close:hover {
    background-position: 0 0;
    cursor: pointer;
    cursor: hand;
}

/* Columns */

.two_columns {
    width: 40%;
    float: left;
}

.left_columns {
    width: 20%;
    float: left;
}

.next_columns {
    width: 16%;
    margin-left: 20px;
    float: left;
}

.guid_column {
    margin-left: 20px;
    width: 20%;
}

span.required {
    color: #ff0000;
    font-size: 10px;
    font-weight: normal;
}

h4.error {
    color: #ff0000;
}

/* Elimination Tree */

table.tree {
    border-collapse: separate;
}

table.tree td {
    padding: 3px;
}

table.tree th {
    text-align: center;
}

table.tree tr {
    height: 14px;
}

table.tree td.team {
    height: 28px;
    border: 1px solid #c0c0c0;
    background-color: #eeeeee;
    text-align: center;
}

table.tree td.match {
    vertical-align: bottom;
    width: 200px;
    font-size: 9px;
}

table.tree td.score {
    width: 35px;
    height: 28px;
    text-align: center;
    border: 1px solid #c0c0c0;
    background-color: #eeeeee;
}

table.tree td.winner {
    font-weight: bold;
}

table.tree td.bracket {
    border-top: 1px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

table.tree td.line {
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

table.tree td.firstbracket, table.tree td.firstline {
    border-bottom: 1px solid #FFFFFF;
}

table.tree td.lastbracket, table.tree td.lastline {
    border-top: 1px solid #FFFFFF;
}

table.tree td.blankbracket {
    border-top: 1px solid #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

table.tree td.team.default {
    font-size: 9px;
}

table.tree th {
    padding-bottom: 10px;
}

div.elimtree {
    overflow-x: auto;
    padding: 0 0 20px 0;
}

/* TabList */

#tablist {
    width: 100%;
    border-bottom: 1px solid #c0c0c0;
    height: 25px;
    margin: 20px 0 10px 0 !important;
    padding: 0 !important;
}

#tablist li.tab, #tablist li.tab-last {
    float: left;
    min-width: 130px;
    height: 25px;
    border: 0;
    border-right: 0;
    background-color: #eeeeee;
    margin: 0 !important;
    background-image: none;
    list-style-type: none;
    text-align: center;
}

#tablist li.tab-last {
}

#tablist a {
    display: block;
    height: 25px;
    padding: 1px 4px 0 4px;
}

#tablist a:hover, #tablist li.selected a {
    padding: 0px 3px 0 3px;
    background-color: #2b3445;
    text-decoration: none;
    color: #dfe2ff;
}

#tablist li.selected a {
    color: #ffffff;
}

div.tab {
    clear: both;
}

/* Tournament Pages and Navigation */

.tournamentpage {
    width: 1250px;
    float: left;
    clear: left;
}

.secondarynav {
    width: 190px;
    float: right;
    clear: right;
    font-weight: bold;
}

.secondarynav a {
    display: block;
    border-left: 5px solid #c0c0c0;
    background-color: #eeeeee;
    padding: 5px;
    color: #666666;
}

.secondarynav a:hover, .secondarynav li.selected a {
    text-decoration: none;
    color: #24356a;
    border-color: #2b3445;
}

span.error {
    color: #b40300;
}

span.ok {
    color: #009900;
}

.winner {
    font-weight: bold;
}

.unconfirmed {
    font-style: italic;
}

.score.winner {
    color: #009900;
}

.score.loser {
    color: #b40300;
}

.match .score {
    font-weight: bold;
}

.matchpage div.hometeam, .matchpage div.awayteam {
    float: left;
    width: 355px;
}

.matchpage div.score {
    font-size: 48pt;
    font-weight: bold;
    text-align: center;
    margin: 40px 0;
}

.matchpage div.hometeam h3, .matchpage div.awayteam h3 {
    text-align: center;
}

.matchpage div.central {
    width: 240px;
    margin: 0 10px;
    float: left;
}

.matchpage div.map {
    -moz-border-radius: 5px;
    background-color: #efefef;
    background-repeat: no-repeat;
    position: relative;
    margin-bottom: 1em;
}

.matchpage div.map {
    padding: 0.5em;
    color: #000000;
}

.matchpage div.mapimage {
    padding: 0 !important;
    background-size: contain;
}

.matchpage img.twitch-logo {
    max-width: 100px;
}

.matchpage div.map div.name {
    position: absolute;
    top: 215px;
    font-size: 13pt;
    font-weight: bold;
    color: #ffffff;
    background-image: url('/images/opaque.png');
    width: 240px;
    height: 23px;
    padding: 1px 0;
    text-align: center;
}

.matchpage div.map li {
    list-style-type: none !important;
}

.matchpage div.map ul.mapinfo {
    padding-top: 240px !important;
}

.matchpage div.map ul {
    list-style-type: none;
    padding-bottom: 5px;
}

.matchpage div.map li {
    padding: 0 !important;
    margin: 0 !important;
    text-align: center;
    background-image: none !important;
}

.matchpage div.map li.space {
    margin: 10px 0 0 0 !important;
}

.matchpage div.map dl {
    padding: 5px 0;
}

.matchpage div.map dt {
    width: 100px !important;
    margin-left: 5px !important;
}

.map p {
    padding: 5px;
    color: #000000;
}

.map input[type='text'] {
    width: 50px !important;
}

.map textarea {
    width: 222px;
    height: 60px;
}

table.options td {
    padding: 10px 5px !important;
}

table.options td input {
    margin-top: 3px;
}

.matchpage div.map div.hr {
    border-top: 1px solid #dddddd;
    background-image: none !important;
    margin: 0 10px !important;
    width: 220px;
}

.matchpage div.map h5.submatch {
    padding: 5px;
    margin: 0 !important;
}

.matchpage div.map .submatch {
    text-align: center;
}

.matchpage div.map .submatch .winner {
    color: #009900;
}

.matchpage div.map .submatch .loser {
    color: #b40300;
}

/* Pagination */

#content div.pagination {
    width: 100%;
    height: 20px;
}

#content div.pagination ul {
    float: left;
}

#content div.pagination p {
    float: right;
    margin: 0 !important;
}

#content div.pagination ul.pagination {
    padding: 2px 0 !important;
    margin: 0 !important;
}

#content div.pagination ul.pagination li {
    float: left;
    list-style-type: none !important;
    padding: 0 !important;
    background: none !important;
    margin-right: 10px !important;
}

div.ticket h4 {
    padding: 6px 7px;
    color: #ffffff;
    background-image: url('/images/nav-bg.gif');
    background-repeat: repeat-x;
    background-color: #e44c0f;
    font-size: 12px !important;
    margin-bottom: 0 !important;
    clear: both;
}

div.ticket p {
    background-color: #f1f1f1;
    margin-top: 0 !important;
    padding: 10px 5px;
}

/* Surveys */

.survey input[type='text'], .survey textarea {
    width: 700px !important;
}

.survey textarea {
    height: 80px;
}

.survey input[type='submit'] {
    margin-top: 30px;
}

.survey label.radio {
    font-weight: normal !important;
    padding-right: 20px;
}

.survey label.checkbox {
    font-weight: normal !important;
    display: block;
}

span.required {
    color: #ff0000;
    font-size: 10px;
    font-weight: normal;
}

h4.error {
    color: #ff0000;
}

div.twocol-one {
    width: 460px;
    float: left;
    margin-right: 20px;
}

div.twocol-one.last {
    margin-right: 0;
}

textarea#conflict_reason {
    width: 400px;
    height: 80px;
}

.media-lb {
    width: 728px;
    height: 90px;
    margin: 0 auto;
}

dl.widelist dt {
    width: 150px !important;
}

#masthead {
    padding: 25px 0;
    text-align: center;
    background-color: #11121d;
    background-position: top;
    background-image: url('/bea/img/BEF_Banner.png');
    background-repeat: no-repeat;
    background-size: cover;
    /*background-image: linear-gradient(90deg, #2B3445 0%, #1A345C 100%);*/
    min-width: 990px;
    height: 200px;
}

#masthead img {
    max-height: 150px;
}

#masthead .mastheadoverlay {
    /*background-image: url(https://britishesports.voteq.dev/wp-content/uploads/2021/08/Symbols-1-transparent.png);*/
    /*background-image: url('/bea/img/Symbols-1440p-20opacity.png');*/
    background-size: 100% auto;
    opacity: 1;
    min-width: 990px;
    height: 207px;
}

#social {
    background-color: #e5003d;
    padding: 1rem;
    color: #ffffff;
    font-size: 28px;
    text-align: center;
    min-width: 990px;
}

#social a {
    color: #ffffff;
    margin: 0 10px;
}

#social a:hover {
    color: #bbbbbb;
}

#content hr {
    margin: 2rem 0 2rem 0;
    background-color: #DB092E;
    height: 1px;
    overflow: hidden;
    border: 0 !important;
}

#content form.styled p {
    color: #000000;
}

form.styled {
    background-color: #e1e1e1;
    width: 100%;
    padding: 0.5rem 1.5rem 0.5rem 1rem;
    color: #000000;
}

form.styled label {
    font-weight: normal !important;
    color:#000000 !important;;
}

form.styled input[type='text'], form.styled input[type='email'], form.styled input[type='password'], form.styled textarea {
    background-image: none !important;
    background-color: #ffffff !important;
    width: 100% !important;
    border-radius: 5px;
    padding: 4px !important;
    border: 1px solid #c0c0c0 !important;
}

form.styled button {
    background-image: none !important;
    background-color: #e5003d;
    border-radius: 5px;
    text-transform: none !important;
    padding: 6px 12px;
    font-family: Lato,"Helvetica Neue",Helvetica,Arial,sans-serif !important;
    cursor: pointer;
    font-size: 1.1rem;
    height: 40px;
    border: none;
}

form.styled button:hover {
    background-color: #bf0033;
    border-color: #b2002f;
}

.secondarynav li {
    margin: 1px !important;
    padding: 0 !important;
    background-image: none !important;
    list-style-type: none !important;
}

.column-news {
    width: 60%;
    float: left;
    border-style: solid;
    border-color: #DB092E;
    border-width: medium;
}

.news-article {
    padding: 20px;
}

.column-tweets {
    width: 400px;
    float: right;
}

.hero {
    font-size: 24px;
    text-align: center;
}

.hero p {
    font-weight: bold;
}

a.btn {
    background-color: #DB092E;
    border-radius: 5px;
    color: #ffffff;
    padding: 6px 12px;
}

a.btn:hover {
    text-decoration: none;
    background-color: #bf0033;
}

.hero a.btn {
    font-size: 36px;
    padding: 12px 24px;
}

ul.resources {
    height: 530px;
    padding: 0 !important;
    clear: both;
}
ul.resources li {
    float: left;
    width: 316px;
    margin: 0 21px 21px 0;
    padding: 0;
    list-style-type: none !important;
}

ul.resources li.endrow {
    margin-right: 0 !important;
}

.gamelogos {
    clear: both;
    margin-top: 50px;
}
.gamelogos div {
    width: 150px;
    margin-left: 45px;
    float: left;
}
.gamelogos img {
    max-width: 150px;
}
.gamelogos div:first-child {
    margin-left: 0!important;
}

.fixedselect {
    width: 30%;
    display: block;
    float: left;
}

#content .fullwidth {
    width: 100%;
    box-sizing: border-box;
}

.fileupload > input[type='text'].prompt {
    width: calc(100% - 7em) !important;
    float: left;
    margin: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    background-color: #eeeeee;
    cursor: default;
}

.fileupload > div.btn {
    float: left;
    width: 6em;
    overflow: hidden;
    margin: 0;
    background-color: #333333;
    color: #ffffff;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 0 !important;
    position: relative;
    text-align: center;
    cursor: pointer;
    height: 29px;
    font-weight: bold;
}

.fileupload input[type='file'] {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

form.styled select {
    width: 60%;

    border-radius: 3px;
}

form.styled .gender {
    width: 105%;
    padding: 3px 3px !important;
    border-radius: 3px;
}

form.styled .yeargroup {
    width: 100%;
    padding: 3px 3px !important;
    border-radius: 3px;
}

dl.wide dt {
    margin-left: 0 !important;
    width: 10em !important;
}

.stagepage h4 {
    margin-top: 1em !important;
    margin-bottom: 1em;
}

.social img {
    width: 14px;
}

.team-logo {
    max-width: 175px;
    max-height: 175px;
    float: right;
}

.team-profile-image-logo-edit {
    margin: 0 auto;
    object-fit: scale-down;
    max-height: 150px;
    max-width: 150px;
}


/* Event Boxes */

.event-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 40px;
    width: 100%; }
.event-boxes.set-width {
    grid-template-areas: "a";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-self: flex-start; }
@media screen and (min-width: 460px) {
    .event-boxes.set-width {
        grid-template-areas: "a a";
        grid-template-columns: 1fr 1fr; } }
@media screen and (min-width: 720px) {
    .event-boxes.set-width {
        grid-template-areas: "a a a";
        grid-template-columns: 1fr 1fr 1fr; } }
@media screen and (min-width: 1000px) {
    .event-boxes.set-width {
        grid-template-areas: "a a a a";
        grid-template-columns: 1fr 1fr 1fr 1fr; } }
@media screen and (min-width: 1320px) {
    .event-boxes.set-width {
        grid-template-areas: "a a a a a";
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr; } }
.event-boxes .event-box {
    max-width: 100%;
    min-width: 100%;
    /*border: 1px solid #292F3D;*/
    background: #e1e1e1;
    text-decoration: none;
    display: flex;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    flex-direction: column;
    padding: 10px; }
.event-boxes .event-box .event-box-banner-wrapper {
    box-sizing: border-box;
    position: relative;
    overflow: hidden; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-action {
    position: absolute;
    top: 0.2em;
    left: 0.2em;
    height: 2em;
    z-index: 1; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-action.right {
    right: 0.2em;
    left: auto; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.5em;
    z-index: 2;
    overflow: visible; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info:after {
    content: '';
    bottom: -100%;
    right: -100%;
    position: absolute;
    height: 200%;
    width: 200%;
    z-index: -1; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info h1, .event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info div.presented-by {
    margin: 0 1em;
    color: #E6EAFF;
    font-weight: 400;
    font-size: 0.8em;
    margin-right: 0.2em;
    text-transform: uppercase; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info .event-box-banner-info-images {
    display: flex;
    align-items: center;
    justify-content: flex-end; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-info .event-box-banner-info-images img {
    align-self: center;
    width: 20%; }
.event-boxes .event-box .event-box-banner-wrapper .event-box-banner-image {
    width: 100%;
    display: block; }
.event-boxes .event-box .event-box-banner-wrapper:before {
    content: '';
    top: -100%;
    right: -100%;
    position: absolute;
    height: 200%;
    width: 200%;
    z-index: 1; }
.event-boxes .event-box .event-box-body {
    padding: 0.2em 0.5em; }
.event-boxes .event-box .event-box-body .event-box-title {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    color: #000000;
    opacity: 0.8;
    /*white-space: nowrap;*/
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: center }
.event-boxes .event-box .event-box-footer {
    background-color: #292F3D;
    display: flex;
    padding: 0.2em 0.5em;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-grow: 1; }
.event-boxes .event-box .event-box-footer .event-box-footer-item {
    display: flex;
    flex-direction: row;
    margin-right: 1em;
    font-size: 0.8em;
    color: #E6EAFF; }
.event-boxes .event-box .event-box-footer .event-box-footer-item.justify {
    justify-content: space-between;
    flex-grow: 1;
    margin-right: 0; }
.event-boxes .event-box .event-box-footer .event-box-footer-item .event-box-footer-item-title {
    text-transform: uppercase;
    margin-right: 0.5em; }
.event-boxes .event-box .event-box-footer .event-box-footer-item .event-box-footer-item-value {
    opacity: 0.6; }
.event-boxes .event-box .event-box-footer.justify {
    justify-content: space-between; }
.event-boxes .event-box .event-box-footer.justify > .event-box-footer-item:last-of-type {
    margin-right: initial; }
@media only screen and (max-width: 720px) and (orientation: portrait) and (max-height: 860px), only screen and (max-width: 860px) and (orientation: landscape) and (max-height: 720px) {
    .event-boxes .event-box {
        min-width: initial; } }

.magic {
    opacity: 0;
    transform: translateY(-1em); }
.magic.in {
    animation: magic 500ms ease-in-out forwards; }

@keyframes magic {
    0% {
        opacity: 0;
        transform: translateY(-1em); }
    100% {
        opacity: 1;
        transform: translateY(0); } }



/* ==========================================================================
   Registration landing page (BEF)
   Page markup lives in the CMS page content; this block goes in the BEF
   customer stylesheet. Everything is scoped under .bef-reg at two-class
   specificity so it beats theme rules like `.page-content h3`.

   Map the two accent properties to the theme's existing variables
   (grep the BEF stylesheet for `--` to find the right names).
   ========================================================================== */

.bef-reg {
    --bef-reg-accent: var(--theme-primary, #4b2bbf);
    --bef-reg-accent-text: var(--theme-primary-contrast, #ffffff);
    --bef-reg-line: rgba(127, 127, 127, 0.3);

    max-width: 60rem;
    margin: 0 auto 3rem;
}

.bef-reg .bef-reg__intro {
    max-width: 40rem;
    margin: 0 auto 2rem;
    text-align: center;
}

.bef-reg .bef-reg__intro p {
    margin: 0;
}

/* Two primary paths, stacking below ~600px */
.bef-reg .bef-reg__paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
    gap: 1.25rem;
    margin: 0 0 1.25rem;
}

.bef-reg .bef-reg__path {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--bef-reg-line);
    border-top: 4px solid var(--bef-reg-accent);
    border-radius: 6px;
    text-align: left;
    transition: border-color 0.15s ease;
}

.bef-reg .bef-reg__path:hover,
.bef-reg .bef-reg__path:focus-within {
    border-color: var(--bef-reg-accent);
}

.bef-reg .bef-reg__title {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

/* flex-grow keeps both buttons aligned when descriptions differ in length */
.bef-reg .bef-reg__desc {
    flex-grow: 1;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.bef-reg .bef-reg__btn {
    display: block;
    padding: 0.85rem 1.25rem;
    border-radius: 4px;
    background: var(--bef-reg-accent);
    color: var(--bef-reg-accent-text);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.bef-reg .bef-reg__btn:hover {
    color: var(--bef-reg-accent-text);
    text-decoration: none;
    filter: brightness(1.12);
}

.bef-reg .bef-reg__btn:focus-visible,
.bef-reg .bef-reg__link:focus-visible {
    outline: 3px solid var(--bef-reg-accent);
    outline-offset: 3px;
}

/* Secondary option: deliberately quieter than the two paths above */
.bef-reg .bef-reg__interest {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding: 1.25rem 1.75rem;
    border: 1px dashed var(--bef-reg-line);
    border-radius: 6px;
    text-align: left;
}

.bef-reg .bef-reg__interest p {
    flex: 1 1 20rem;
    margin: 0;
    line-height: 1.5;
}

.bef-reg .bef-reg__link {
    color: var(--bef-reg-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    .bef-reg .bef-reg__path {
        transition: none;
    }
}

/* Teams */

#team-wrapper {
    width: 100%;
    display: flex;
}

#player-wrapper {
    width: 100%;
    display: flex;
}

.team-banner {
    /*height: 300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);*/
    position: relative;
    z-index: 0; }

.team-banner .team-banner-background {
    width: 100%;
    z-index: -1;
    position: relative; }

.team-banner .team-banner-background img {
    width: 100%;
    opacity: 0.5;
    display: block; }

.team-banner .team-banner-background .banner-image {
    height: 200px;
    object-fit: cover; }

.team-banner .team-banner-content {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    box-sizing: border-box;
    padding: 1em 0;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); }

.team-logo {
    margin: 0 auto;
    display: block;
    object-fit: scale-down;
    max-height: 100%;
    height: 100%; }

.team-info {
    padding: 1em;
    width: 49%;
    float: left;
    position: relative;
    min-height: 1px;
    box-sizing: border-box;
    font-size: 1.4rem;
    background-color: #ededed;
    min-height: 300px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin-right: 25px;
}

.team-matches {
    padding: 1em;
    width: 49%;
    float: left;
    position: relative;
    min-height: 1px;
    box-sizing: border-box;
    font-size: 1.4rem;
    background-color: #ededed;
    min-height: 300px;
    margin-bottom: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.team-matches img {
    object-fit: scale-down;
    max-height: 50px;
}

.team-players {
    padding: 1em;
    width: 100%;
    float: left;
    position: relative;
    min-height: 1px;
    box-sizing: border-box;
    font-size: 1rem;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.team-players a {
    color: var(--epic-orange);
}

.team-players a:hover {
    color: var(--epic-orange);
    text-decoration: underline;
}

.team-players .player-profile-image img {
    max-width: 130px;
    max-height: 130px;
    border-radius: 50%;
}

.team-info-social {
    position: absolute;
    bottom: 0;
}

.team-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.team-website{
    padding-bottom: 10px;
}

.team-social img {
    /*background-color: #292d31;*/
    margin-right: 5px;
    fill: currentColor;
    height: 22px;
    width: 22px;
}

.team-social-link {
    display: flex;
    padding-right: 10px;
}

.team-info a {
    color: #3abda9;
}

.team-info a:hover {
    color: #3abda9;
    text-decoration: underline;
}

.player-social-link {
    display: flex;
    justify-content: center;
}

.player-social img {
    background-color: #292d31;
    margin-right: 5px;
}

.player-info {
    text-align: center;
}

.player-profile-top .player-profile-image .player-profile-image-logo {
    margin: 0 auto;
    object-fit: scale-down;
    max-height: 150px;
    max-width: 150px;
    border-radius: 50%;
}

/* Team Profiles */

.team-profile-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

}

.team-profile-image-logo {
    margin: 0 auto;
    object-fit: scale-down;
    max-height: 150px;
    max-width: 150px;
    /*float:left;*/
    margin-right: 20px;
}

.team-profile-image-logo-edit {
    margin: 0 auto;
    object-fit: scale-down;
    max-height: 150px;
    max-width: 150px;
}

.team-profile-social {
    display: flex;
    padding-right: 10px;
}

.team-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.team-social img {
    margin-right: 5px;
    fill: currentColor;
    height: 22px;
    width: 22px;
}

.team-social-link {
    display: flex;
    padding-right: 10px;
    align-items: center
}

.team-social-link .bi {
    color: white;
    padding-right: 3px;
    font-size: 1.2rem
}

.team-flag {
    display: flex;
    align-items: center;
}
.team-flag .team-flag-country {
    padding-left: 5px;
}

.team-details {
    margin-left: 10px;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    line-height: 170%;
}

/* User Profiles */

.player-profile-image {
    min-height: 150px;
    min-width: 150px;
    text-align: center;
}

.player-profile-top {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;

}

/*.player-profile-image-logo {
	margin: 0 auto;
	object-fit: scale-down;
	max-height: 150px;
	max-width: 150px;
	!*float:left;*!
	margin-right: 20px;
}*/

.player-profile-image-logo-edit {
    margin: 0 auto;
    object-fit: scale-down;
    max-height: 150px;
    max-width: 150px;
}

.player-profile-social {
    display: flex;
    padding-right: 10px;
}

.player-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.player-social img {
    margin-right: 5px;
    fill: currentColor;
    height: 22px;
    width: 22px;
}

.player-social-link {
    display: flex;
    padding-right: 10px;
    align-items: center
}

.player-social-link .bi {
    color: black;
    padding-right: 3px;
    font-size: 1.2rem
}

.user-flag {
    display: flex;
    align-items: center;
}
.user-flag .user-flag-country {
    padding-left: 5px;
}

.user-details {
    margin-left: 10px;
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
}
/* ------------------------------------------------------------------
   Team invite modal — link only. Matches the EPIC.LAN dark/red theme.
   --epic-orange isn't actually defined anywhere live on the site (the
   real brand accent is the red used by `a { color: #DB092E }` site-wide),
   so we reference --epic-orange with a red fallback: it'll pick up a
   real value if one's ever defined, and matches the live theme now.
   ------------------------------------------------------------------ */
.epic-invite {
    --epic-invite-accent: var(--epic-orange, #DB092E);
    --epic-invite-accent-dark: var(--epic-orange-dark, #990029);
    --epic-invite-dark: #11121d;
    --epic-invite-grey: #6c757d;
}

.epic-invite .modal-content { border: 0; border-radius: 2px; }

.epic-invite .modal-header {
    background: var(--epic-invite-dark);
    color: #fff;
    border-bottom: 3px solid var(--epic-invite-accent);
    border-radius: 0;
}
.epic-invite .modal-header,
.epic-invite .modal-title {
    color: #fff;
}
.epic-invite .modal-title {
    font-weight: 700; text-transform: uppercase; letter-spacing: .02em; font-size: 1rem;
}

.epic-invite-label {
    display: block; font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .04em; color: var(--epic-invite-grey); margin-bottom: .35rem;
}

/* link + copy icon */
.epic-invite-linkbox { display: flex; align-items: stretch; }
.epic-invite-linkbox .form-control {
    border-radius: 2px 0 0 2px; border-right: 0;
    font-family: SFMono-Regular, Consolas, Menlo, monospace; font-size: .85rem;
    background: #fff;
    color: #212529;
    flex: 1 1 auto;
    min-width: 0;
}
.epic-invite-linkbox .form-control:focus { box-shadow: none; border-color: var(--epic-invite-accent); }

.epic-invite-copy {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; flex: 0 0 44px;
    border: 1px solid var(--epic-invite-accent); border-radius: 0 2px 2px 0;
    background: var(--epic-invite-accent); color: #fff; cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.epic-invite-copy:hover { background: var(--epic-invite-accent-dark); border-color: var(--epic-invite-accent-dark); }
.epic-invite-copy:focus-visible { outline: 2px solid var(--epic-invite-dark); outline-offset: 2px; }
.epic-invite-copy.is-copied { background: #3d8b40; border-color: #3d8b40; }

.epic-invite-help { font-size: .8rem; color: var(--epic-invite-grey); margin: .5rem 0 0; }

.epic-invite-status {
    display: block; min-height: 1.2em; margin-top: .35rem;
    font-size: .8rem; font-weight: 600; color: #3d8b40;
}
.epic-invite-status.is-error { color: #c9302c; font-weight: 400; }

/* buttons */
.btn-epic {
    background: var(--epic-invite-accent); border-color: var(--epic-invite-accent); color: #fff;
    font-weight: 600; text-transform: uppercase; font-size: .8rem; letter-spacing: .03em;
    transition: background-color .15s ease, border-color .15s ease;
}
.btn-epic:hover, .btn-epic:focus {
    background: var(--epic-invite-accent-dark); border-color: var(--epic-invite-accent-dark); color: #fff;
}

/* Bootstrap 5 close button used in show.tpl (btn-close-white already makes
   it white against the dark header — just add a hover state) */
.epic-invite .modal-header .btn-close { opacity: .8; }
.epic-invite .modal-header .btn-close:hover { opacity: 1; }

/* trigger icon next to the PLAYERS heading */
.js-add-players { color: var(--epic-invite-accent); cursor: pointer; }
.js-add-players:hover { color: var(--epic-invite-accent-dark); }

@media (prefers-reduced-motion: reduce) {
    .epic-invite .modal.fade .modal-dialog,
    .epic-invite-copy,
    .btn-epic { transition: none; }
}

/* Select2 dropdown popup: this site's `body { color: #FFFFFF; }` was bleeding
   into the popup, making unselected option text invisible against its white
   background. Scoped to the popup only - doesn't touch the rest of the theme. */
.select2-container .select2-dropdown,
.select2-container .select2-results__option {
    color: #212529;
}

.select2-container .select2-search--dropdown .select2-search__field {
    color: #212529;
}

.select2-container .select2-results__option--highlighted[aria-selected] {
    color: #FFFFFF;
}