/* --> */
/* CUSTOM STYLING: Customisable styles per theme */
/* <-- */

/* BODY ELEMENT */
.scg-body {
    background-color: rgba(24, 46, 68, 0.8);
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 0.8rem;
    line-height: 24px;
    margin-bottom: -80px;
    background-size: cover;
    background-attachment: fixed;
    color: #182e45;
}

/* HEADER */
.scg-header .scg-header-logo {
    background: none;
}

.scg-header .scg-header-title {
    font-family: initial;
    font-size: initial;
}

.scg-body .scg-header::before {
    background: rgba(0, 0, 0, 0.2);
}

.scg-title-row div h3 {
    color: #FFFFFF;
}

/* NAVIGATION BAR */
.scg-nav-bar {
    background: rgba(255, 255, 255, 0.75);
    border: none;
    border-radius: 0;
    color: #000000;
}

.scg-nav-bar-language {
    text-transform: uppercase;
}

/* CONTENT ELEMENTS */
/* Divider of the schedule list items */
.scg-body .filter-item .col-sm-12 {
    background: #f2f2f2;
}

/* Buttons in the lists */
.scg-body .filter-item .links-col .btn {
    background-color: #fff;
    color: #023258;
    font-family: 'Bourrasque', sans-serif;
}

/* Button hover and selected colors */
.scg-body #day-filter .day-button:hover, .scg-body .filter-item .links-col .btn:hover, .scg-body #day-filter .day-button.is-checked,
.scg-body #discipline-filter .discipline-button:hover, .scg-body #discipline-filter .discipline-button.is-checked,
.scg-body #arena-filter .arena-button:hover, .scg-body #arena-filter .arena-button.is-checked
{
    background: #023258;
    color: #FFFFFF;
}

/* Day number text in day filter button */
.scg-body #day-filter .day-button strong,
#discipline-filter .discipline-button strong
{
    color: #023258;
}

/* FOOTER ELEMENTS */
.scg-sponsor-bar {
    background: none;
    display: block;
    margin-bottom: 2rem;
}

.scg-footer {
    padding: 3rem 0;
    background: #FFFFFF;
    color: #000000;
    font-size: 11px;
}

/* --> */
/* DEFAULT STYLING: Not customisable per theme! */
/* <-- */

/* Container, body, block parts */

html {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 1em;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

body {
    margin: 0;
    padding: 0;
    font-style: normal;
    overflow-x: hidden;
    height: 100vh;
    width: 100vw;
}

@media (min-width: 1200px) {
    .container {
        width: 970px
    }
}

.container {
    min-height: calc(100vh - 510px);
}

/* Element Default Styling */

* {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
    font-family: 'Bourrasque', sans-serif;
}

strong, small {
    font-family: 'Arial', sans-serif;
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
}

ul {
    padding: 0;
}

sup {
    line-height: 1px;
}

/* Header */
.scg-header {
    background: none;
    position: relative;
    max-height: 220px;
    height: 220px;
}

.scg-header::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 600px;
    z-index: -1;
}

.scg-header .scg-header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    filter: grayscale(100%);
    opacity: 1;
}

.scg-header .scg-header-title {
    font-size: 4rem;
    position: absolute;
    width: 100%;
    text-align: center;
    line-height: 220px;
    color: #FFFFFF;
    text-shadow: 0 0 2px #000000;
}

.scg-header .scg-header-logo {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 80%;
    max-height: 180px;
}

.scg-header-divider {
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 4px;
}

.scg-body .cover-image {
    height: 240px;
}

/* Titles */

.scg-title-row div {
    width: 100%;
}

.scg-title-row div h3 {
    font-size: 3rem;
    margin: 1rem 2rem 0.6rem;
}

/* Filter */

@media (max-width: 768px) {
    .discipline-filter {
        display: none;
    }
    #arena-filter .arena-button:not(.all) {
        font-size: 0.7rem;
        width: 102px !important;
    }
}

@media (min-width: 992px) {
    .day-filter div {
        text-align: right;
    }

    .day-filter div ul {
        float: right;
    }
}

/* Sponsors Part */

.sponsors-row {
    margin: 3rem 0 1.6rem 0;
}
.sponsors-row .sponsor-slide-show__wrapper {
    margin: auto;
    max-width: 970px;
    width: calc(100% - 100px);
    background: rgba(255,255,255,0.75);
    padding: 1rem;
    border-radius: 12px;
}
.sponsors-row .sponsor-slide-show__wrapper .block {
    background: none;
}
.sponsors-row .sponsor-slide-show__slide {
    max-height: 60px;
    position: relative;
}
.sponsors-row .sponsor-slide-show__slide a {
    width: 100%;
    height: 100%;
    max-height: 60px;
    display: inline-block;
}
.sponsors-row .sponsor-slide-show__slide a img {
    margin: auto;
    max-height: 60px;
    width: 100%;
    object-fit: contain;
}

/* Other */

.schedule-title h3 {
    line-height: 60px;
    letter-spacing: 1px;
    font-style: normal;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: 500;
}

.header-mobile {
    margin-top: 30px;
}

.sub-content li {
    padding: 5px 0 5px 15px;
    list-style: disc inside;
}

/* Schedule Specific Part */

.schedule-title {
    padding-top: 10px;
    margin: auto;
    float: inherit;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.title-row {
    margin-top: 20px;
    color: #fff;
    text-align: center;
    float: inherit;
}

.title-row h3 {
    font-size: 23px;
}

.url-links-row {
    padding-left: 8px;
    padding-right: 8px;
}

.url-links-row .links-col {
    width: calc(50% - 6px);
}

@media (max-width: 768px) {
    .url-links-row {
        margin-top: 10px;
        margin-left: -10px;
    }
    .url-links-row .links-col {
        width: calc(100% - 18px);
    }
}

/* List item element */
.scg-body .filter-item .scg-schedule-item .time img {
    width: 54px;
    height: 54px;
    opacity: 0.5;
    transform: translateY(-16px);
}

.scg-body .filter-item .scg-schedule-item .time .time-col-text {
    display: inline-block;
}

@media (max-width: 768px) {
    .scg-body .filter-item .scg-schedule-item .time {
        padding-left: 15px;
    }
}
@media (max-width: 992px) {
    .scg-body .filter-item .scg-schedule-item .col-discipline {
        transform: scale(0.8) translateX(24px);
    }
}

.schedule-item .time {
    text-align: left;
    font-size: 14px;
    margin-top: 12px;
    height: 60px;
    position: relative;
}

.schedule-item .time .class-code {
    font-size: 18px;
}

.schedule-item .competition-title {
    font-size: 16px;
    font-weight: normal;
}

.schedule-item small {
    font-size: 14px;
    color: #9a9b9c;
}

.schedule-item .btn {
    margin-bottom: 5px;
    color: #182e45;
}

/* Filter Specific */

.day-filter, .discipline-filter, .arena-filter {
    padding-bottom: 10px;
    border-bottom: none !important;
}

ul.filter {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.filter li {
    display: inline;
    float: left;
}

ul.filter li:active, ul.filter li:hover {
    background-color: #9a9b9c;
    cursor: pointer;
}

ul.filter li.sm {
    font-size: 12px;
}

.filter-description {
    font-size: 18px;
    color: white;
    margin-bottom: 6px;
}

.filter-item .links-col .btn {
    font-family: 'Bourrasque', sans-serif;
    line-height: 2.6rem;
    background-color: #fff;
    color: #004b82;
    font-size: 14px;
    -webkit-transition: background 0.5s;
    transition: background 0.5s;
    text-transform: uppercase;
    padding: 4px 1rem 0 1rem;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filter-item .links-col .btn :first-of-type {
    margin-top: 0.8rem;
}

.filter-item .links-col .btn:hover {
    background: #023258;
    color: #fff;
}

.row.day-filter {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(154, 155, 156, 0.15);
}

#day-filter .day-button {
    text-align: center;
    width: 48px;
    height: 52px;
    font-size: 16px;
    line-height: 12px;
    padding: 6px 0;
    background-color: #FFF;
    border-left: solid 1px rgb(232, 232, 233);
    color: #9a9b9c;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

#arena-filter .arena-button {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    min-width: 48px;
    height: 52px;
    padding: 0 3px;
    background-color: #FFF;
    border-left: solid 1px rgb(232, 232, 233);
    color: #023258;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

#arena-filter .arena-button:not(.all) {
    width: 144px;
}


#day-filter .day-button:hover, #arena-filter .arena-button:hover {
    background: #023258;
    color: #FFFFFF;
}

#day-filter .day-button:hover strong, #discipline-filter .discipline-button:hover strong {
    color: #FFFFFF;
}

#day-filter .day-button strong, #discipline-filter .discipline-button strong {
    color: #023258;
    line-height: 1rem;
    font-weight: normal;
}

#day-filter .day-button.is-checked, #arena-filter .arena-button.is-checked {
    background-color: #023258;
    color: #FFF;
}

#day-filter .day-button.is-checked strong, #discipline-filter .discipline-button.is-checked strong {
    color: #FFF;
}

#discipline-filter .discipline-button {
    background-color: #FFF;
    border-left: solid 1px rgb(232, 232, 233);
    padding: 4px;
    -webkit-transition: background 0.2s;
    transition: background 0.2s;
}

#discipline-filter .discipline-button:hover {
    background: #023258;
    color: #FFFFFF;
}

#discipline-filter .discipline-button img {
    opacity: 0.5;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

#discipline-filter .discipline-button:hover img, #discipline-filter .discipline-button.is-checked img {
    opacity: 1.0;
}

#discipline-filter .discipline-button.is-checked {
    background-color: #023258;
    color: #fff;
}

.filter-btn-all {
    width: 40px;
    height: 40px;
    font-size: 16px;
    padding-top: 8px;
}

.day-separator {
    padding: 2px 15px 5px;
    margin-top: 5px;
    color: #182e45;
    text-transform: uppercase;
}

.day-separator h4 {
    line-height: 1rem;
    margin: 1rem 0 0.6rem 0;
}

.schedule-item {
    padding: 10px 0;
    background-color: #fff;
    border-top: 1px solid rgba(154, 155, 156, 0.15);
}

div.tab-content-separator {
    position: relative;
    height: 10px;
    margin: 5px 0 10px 0;
    border-bottom: solid 1px #e0e0e0;
    background-color: #fff;
    -webkit-box-shadow: 0 4px 4px -2px #EDEDED;
    -moz-box-shadow: 0 4px 4px -2px #EDEDED;
    box-shadow: 0 4px 4px -2px #EDEDED;
}

/* Results & Start List Styling */

.competition-info {
    background-color: rgba(255, 255, 255, 1);
}

.competition-info h3 {
    font-weight: 400;
}

.competition-info .sponsor-logo img {
    margin: 10px;
    max-height: 100px;
}

.competition-info .judges {
    margin-top: 10px;
}

.competition-info .judges .flag-16 {
    display: inline;
    float: right;
    margin-left: 2px;
    margin-top: 2px;
}

table.results {
    margin-top: 10px;

}

.sap table.results {
    margin-top: 0;
}

table.results td, table.results th {
    text-align: center;
    vertical-align: middle;
}

table.results thead tr th, table.team-standing thead tr th {
    background-color: #182e45;
    color: #FFF;
    text-shadow: 0 1px 2px rgba(100, 100, 100, .25);
    text-transform: uppercase;
    font-size: 80%;
    vertical-align: bottom;
}

table.results .breed {
    font-weight: normal;
}

table.results .c-r, table.results .c-h {
    text-align: left;
    font-weight: 700;
}

table.results .c-r small {
    font-weight: normal;
}

table.results .c-hs {
    text-align: left;
    font-size: 11px;
}

table.results .c-rk {
    font-weight: 700;
}

table.results td span.c-tf {
    font-size: 0.9em;
}

table.results .c-rk.snr {
    font-weight: normal;
}

table.results .prop {
    font-weight: normal;
    font-size: 0.9em
;
}

table.results .btn {
    color: #FFFFFF;
}

table.results .btn {
    background-color: #182e45;
}

table.results .label {
    background-color: #182e45;
    font-size: 9px;
    color: #fff;
}

table.results a {
    font-weight: bold;
    color: #182e45;
}

table.results sup {
    text-transform: lowercase;
}

table.results div.squad-members {
    font-size: 80%;
    font-weight: normal;
}

table.results a.video-btn {
    font-size: 1.5em;
}

table.marks {
    font-size: smaller;
}

table.marks .c-d {
    text-align: left;
}

table.marks .total {
    font-size: medium;
    font-weight: bold;
}

table.marks .b-r {
    font-weight: bold;
}

table.marks .r-a {
    text-align: right;
}

table tbody tr.even td {
    background-color: #f9f9f9;
}

table tbody tr.odd td {
    background-color: #f2f2f2;
}

table tbody tr.team-member {
    font-size: 0.75rem;
    line-height: 0.8;
}

.links-col-left {
    padding-right: 0;
    padding-left: 0;
    margin-left: 2px;
    margin-right: 2px;
}

.links-col-right {
    padding-right: 0;
    padding-left: 0;
    margin-left: 2px;
    margin-right: 2px;
}

div.competitor {
    font-size: 11px;
}

div.competitor .panel-heading {
    background-color: #182e45;
    color: #FFFFFF;
}

div.competitor strong {
    color: #182e45;
}

div.competitor .name {
    font-size: 120%;
}

div.competitor img.media-object {
    width: 64px;
    height: 64px;
}

div.competitor .horse-name {
    font-size: 14px;
    padding: 0;
}

div.competitor .horse-name .row div {
    padding: 10px;
}

div.competitor .horse-name .lbl {
    background-color: #182e45;
    color: #FFFFFF;
}

div.competitor .horse-name {
    overflow: hidden;
}

div.row.team-presentation {
    background-color: #fff;
}

.c-f {
    padding: 0 10px 0 0;
}

.c-f div {
    margin-top: -3px;
}

.flag-txt {
    font-family: 'Arial', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #565656;
    line-height: 10px;
    font-size: 11px;
    margin-top: 1px !important;
    text-align: center;
}

.competition-info .btn a:hover {
    text-decoration: None;
}

.competition-info div.downloads .btn, .competition-info a, .competition-info div.downloads a {
    color: #182e45;
}

table.teams tr th {
    background-color: #182e45;
    color: #FFFFFF;
}

table.teams .leader {
    background-color: #eeeeee;
}

table.team-standing td.scratch {
    text-decoration: line-through;
}

/* Video Styling */

.video-js {
    width: 950px;
    height: 535px;
}

a.video-btn {
    display: block;
}

a.video-btn, a.close-btn {
    text-decoration: none;
}

a.video-btn:hover, a.close-btn:hover {
    color: #106f9c;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .cover-image {
        height: 220px;
    }

    .cover-image iframe {
        width: 400px;
        height: 220px;
    }

    .schedule-title h3 {
        font-size: 2.625rem;
        line-height: 1;
        letter-spacing: .02em;
        margin-bottom: 10px;
    }

    .event-menu-logo {
        width: 112px;
        height: 40px;
        margin-top: -12px;
    }

    .event-menu-item:not(:first-child) {
        margin-left: 12px;
    }

    .video-js {
        width: 730px;
        height: 410px;
    }
}

/* What is this about? */

@media screen and (max-width: 992px) {
    .event-brand-logo {
        margin: -18px 1rem 6px 1rem;
        height: 44px;
    }
}

@media screen and (max-width: 768px) {
    .cover-image {
        height: 220px;
    }

    .event-brand-logo {
        height: 32px;
        margin-top: -7px;
    }

    .cover-image iframe {
        width: 340px;
        height: 180px;
    }

    .schedule-title h3 {
        font-size: 1.875rem;
        line-height: 1;
        letter-spacing: .02em;
        margin-bottom: 10px;
    }

    .navbar-nav .event-menu-item {
        margin-left: 0 !important;
    }

    .sponsor-bar-image {
        height: 15px;
    }

    .sponsor-bar.sponsor-bar-large div {
        width: 82%;
        height: 75px;
    }

    .sponsor-bar.sponsor-bar-large .sponsor-bar-image {
        height: 25px;
    }

    .video-js {
        width: 300px;
        height: 150px;
    }
}

@media (max-width: 767px) {
    .competition-info {
        font-size: 12px;
    }

    .competition-info h3 {
        font-size: 1rem;
        font-weight: bolder;
    }

    .competition-info h4 {
        font-size: 0.88rem;
    }

    #results-wrapper {
        font-size: 12px;
    }

    .day-separator {
        margin-top: 20px;
    }
}

#cmh-player {
    height: 300px;
}

/* Menu Styling Part */

.menu {
    display: inline-block;
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-family: 'Sectra', sans-serif;
}

.menu-item {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.menu-item a {
    letter-spacing: 2px;
    display: block;
    padding: 22px 25px;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    font-family: 'Bourrasque', sans-serif;
}

.menu-footer-container .menu-item a, .menu-footer-french0-container .menu-item a {
    padding-left: 10px;
    padding-right: 10px;
}

.menu-footer-container .menu-item:last-of-type, .menu-footer-french0-container .menu-item:last-of-type {
    margin-right: 10px;
}

.menu-footer-container .sub-menu, .menu-footer-french0-container .sub-menu {
    display: none;
}

@media print and (min-width: 537px), screen and (min-width: 48em), all {
    .menu-item a {
        padding: 22px 10px;
        font-size: 1em;
    }
}

/*  */

.table-striped > tbody > tr {
    background: #fff;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    background: #f7f7f7;
}

.cover-jumping {
    height: 60px;
}

/* Footer Styling */

.site-footer-logo {
    float: left;
    position: relative;
    margin-left: 40px;
    top: 12px;
}

.site-footer-logo-e {
    top: 14px;
    width: 19px;
    margin-left: 16px;
    margin-top: 8px;
}

.site-footer {
    text-align: right;
    z-index: 4;
    position: relative;
    margin-top: 60px;
    padding: 0;
    height: 74px;
}

.site-footer::after {
    content: '';
    background: red;
    width: 100%;
    height: fit-content;
    display: block;
    overflow: hidden;
}

.site-footer-logo img {
    width: 100%;
    height: auto;
}

.scg-footer-scg-part {
    line-height: 74px;
    margin-right: 3.2rem;
    font-size: 1rem;
}

.scg-footer-scg-part .scg-website-link {
    display: inline-block;
}

.site-footer-show {
    max-width: calc(100vw - 300px);
    display: inline-block;
    text-align: left;
    line-height: 3rem;
    font-size: 16px;
    color: #000000;
}

@media (max-width: 768px) {
    .site-footer-show {
        display: none;
    }
    .scg-website-link {
        margin: auto;
        position: absolute;
        left: 0;
        right: 0;
        text-align: center;
    }
}

.segment-footer__link, .footer-link, .footer-address a {
    color: #a2d4ff !important;
}

.accordion .accordion-content, .accordion .accordion__content {
    list-style: none;
}

/* Used Custom Fonts */

@font-face {
    font-family: 'Poppins', sans-serif;
    src: url("../fonts/Poppins-Regular.e54f6a914cfd.eot");
    src: url("../fonts/Poppins-Regular.e54f6a914cfd.eot?#iefix") format('embedded-opentype'),
    url("../fonts/Poppins-Regular.4702686fb167.woff2") format('woff2'),
    url("../fonts/Poppins-Regular.1ed9a698de5b.woff") format('woff'),
    url("../fonts/Poppins-Regular.b400e683d795.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Sectra';
    src: url("../fonts/GT-Sectra-Regular.8c0278d8bd0b.eot");
    src: url("../fonts/GT-Sectra-Regular.8c0278d8bd0b.eot?#iefix") format('embedded-opentype'),
    url("../fonts/GT-Sectra-Regular.b3340cc470e0.woff2") format('woff2'),
    url("../fonts/GT-Sectra-Regular.00b2e6356a0c.woff") format('woff'),
    url("../fonts/GT-Sectra-Regular.116d84ffbbab.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Bourrasque';
    src: url("../fonts/Bourrasque_WEB-Regular.6d510f89be7e.eot");
    src: url("../fonts/Bourrasque_WEB-Regular.6d510f89be7e.eot?#iefix") format('embedded-opentype'),
    url("../fonts/Bourrasque_WEB-Regular.291e45dc5a0e.woff") format('woff'),
    url("../fonts/Bourrasque_WEB-Regular.211d148d4c94.woff2") format('woff2');
    font-weight: normal;
    font-style: normal;
}
