/*@import url(https://fonts.googleapis.com/css?family=Lato);*/

/*general */
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 {
    width: 100%;
    margin: 0;
    padding: 0;
    /*font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, Tahoma, Verdana;*/

    font-size: 12px;
    font-size: 1rem;
    line-height: 24px;
    letter-spacing: .02em;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    color: #182e45;
    background-color: #f2f2f2;

}

.schedule-title h3 {
    font-size: 60px;
    /*font-size: 3.75rem;*/
    line-height: 60px;
    letter-spacing: .02em;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-style: normal;
    margin-bottom: 54px;
    text-transform: uppercase;
}

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

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

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Heavy.b0357e425384.eot");
    src: url("../fonts/Lato-Heavy.b0357e425384.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Heavy.c9cbbdc3762c.woff2") format("woff2"), url("../fonts/Lato-Heavy.2ce4d82354fd.woff") format("woff"), url("../fonts/Lato-Heavy.72c6dd530f0a.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Semibold.8bb939ef8812.eot");
    src: url("../fonts/Lato-Semibold.8bb939ef8812.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Semibold.8b4f872c5de1.woff2") format("woff2"), url("../fonts/Lato-Semibold.c2b50f4a7d90.woff") format("woff"), url("../fonts/Lato-Semibold.3b0cd7254b3b.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-SemiboldItalic.82b587d9f743.eot");
    src: url("../fonts/Lato-SemiboldItalic.82b587d9f743.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-SemiboldItalic.80f6811f6c30.woff2") format("woff2"), url("../fonts/Lato-SemiboldItalic.9fcec04cdba9.woff") format("woff"), url("../fonts/Lato-SemiboldItalic.d5fa302ed37b.ttf") format("truetype");
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Semibold.8bb939ef8812.eot");
    src: url("../fonts/Lato-Semibold.8bb939ef8812.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Semibold.8b4f872c5de1.woff2") format("woff2"), url("../fonts/Lato-Semibold.c2b50f4a7d90.woff") format("woff"), url("../fonts/Lato-Semibold.3b0cd7254b3b.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-MediumItalic.b56b2012c6aa.eot");
    src: url("../fonts/Lato-MediumItalic.b56b2012c6aa.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-MediumItalic.4d295621045b.woff2") format("woff2"), url("../fonts/Lato-MediumItalic.aa1a75124661.woff") format("woff"), url("../fonts/Lato-MediumItalic.96f828791c07.ttf") format("truetype");
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Regular.8ab18d934cfa.eot");
    src: url("../fonts/Lato-Regular.8ab18d934cfa.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Regular.bd03a2cc277b.woff2") format("woff2"), url("../fonts/Lato-Regular.27bd77b9162d.woff") format("woff"), url("../fonts/Lato-Regular.6d4e78225df0.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Regular.8ab18d934cfa.eot");
    src: url("../fonts/Lato-Regular.8ab18d934cfa.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Regular.bd03a2cc277b.woff2") format("woff2"), url("../fonts/Lato-Regular.27bd77b9162d.woff") format("woff"), url("../fonts/Lato-Regular.6d4e78225df0.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-Light.4afee4c98483.eot");
    src: url("../fonts/Lato-Light.4afee4c98483.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-Light.7244318390cc.woff2") format("woff2"), url("../fonts/Lato-Light.90301aa07d78.woff") format("woff"), url("../fonts/Lato-Light.cf44fd55d704.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url("../fonts/Lato-LightItalic.7be5435e82c8.eot");
    src: url("../fonts/Lato-LightItalic.7be5435e82c8.eot?#iefix") format("embedded-opentype"), url("../fonts/Lato-LightItalic.314210a4825a.woff2") format("woff2"), url("../fonts/Lato-LightItalic.b55e385f24f0.woff") format("woff"), url("../fonts/Lato-LightItalic.7865ec9dc1b2.ttf") format("truetype");
    font-weight: 300;
    font-style: italic;
}

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

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

#page-category-logo img {
    /*margin: 20px 0 20px 30%;*/
    width: 100%;
}

a:link, a:visited, a:active, a:hover {
    /*color: #616160 !*#878785*!;*/
    /*text-decoration: underline;*/
}

a:hover {
    text-decoration: underline;
}

img {
    border: none;
}

ul {
    padding: 0;
}

.clearfloats {
    clear: both;
}

sup {
    line-height: 1px;
}

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

#fei-logo-row-2, #fei-logo-row-3 {
    font-weight: 700;
}


/**
* main navigation V2
*/

.navbar .navbar-nav {
    display: inline-block;
    float: none;
}

.navbar .navbar-collapse {
    text-align: center;
}

.navbar-aachen {
    padding-top: 24px;
    color: #000;
    background-color: #fff;
    margin-bottom: 0;
    font-weight: normal;
}

.navbar-aachen form input[type="submit"]{
    padding-top: 15px;
    padding-bottom: 15px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    text-transform: uppercase;
}

.aachen-brand-logo {
    height: 50px;
    margin-top: -18px;
}

.aachen-menu-logo {
    height: 61px;
    margin-top: -28px;
}

.navbar-aachen .navbar-nav > li > a {
    color: #000;
    text-transform: uppercase;
    padding-left: 0;
    padding-right: 0;
}

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

.sponsor-row {
    text-align: center;
    overflow: hidden;
    margin-right: 0;
    margin-left: 0;
    background-color: #f2f2f2;
}

.sponsor-bar {
    display: inline-block;
    float: none;
    text-align: left;
}

.sponsor-bar div {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    width: 420px;
    height: 60px;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
}

.sponsor-bar-image {
    width: auto;
    height: 31px;
    cursor: pointer;
}

.sponsor-bar.sponsor-bar-large div {
    width: 600px;
    height: 100px;
}

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

.footer {
    background-color: #182e45;
    color: #acc8e5;
    font-size: 12px;
    padding-bottom: 16px;
    padding-top: 40px;
}

.footer h4 {
    font-size: 16px;
    color: #fff;
}

.footer .accordion ul {
    list-style: none;

}
.footer .accordion ul li {
    line-height: 20px;
    padding: 5px 0;
}


.footer-social img {
    height: 32px;
    margin-bottom: 20px;
}

.footer-social img:nth-child(-n+3) {
    margin-left: 30px;
}

.footer a {
    color: #acc8e5;

    text-decoration: none;
    font-weight: 400;
    font-style: italic;
}

.footer-address {
    text-decoration: none;
    font-weight: 400;
    font-style: italic;
}

#content-main {
    /*width: 970px;*/
    /* this box-shadow is somewhat similar to page_back, but needs additional margin box-shadow: 0px 0px 9px #ddd; */
}


.cover-image{
    height: 300px;
    margin-bottom: -50px;
}

.cover-image iframe{
    overflow: hidden;
    display: block;
    margin: auto;
    width: 480px;
    height: 300px;
}

.cover-schedule{
    background: url("../img/schedule.3adddd4b0639.jpg") center;
    background-size: cover;
}

.cover-dressage{
    background: url("../img/dressage.e4b19d9db6ad.jpg") center;
    background-size: cover;
}

.cover-jumping{
    background: url("../img/jumping.259bb771352d.jpg") center;
    background-size: cover;
}

.cover-eventing{
    background: url("../img/eventing.11e75973a9e6.jpg") center;
    background-size: cover;
}

.cover-driving{
    background: url("../img/driving.d7cb29f1f367.jpg") center;
    background-size: cover;
}

.cover-vaulting{
    background: url("../img/vaulting.f981352dad29.jpg") center;
    background-size: cover;
}
/*
* Schedule
*/

.title-row {
    margin-top: 20px;
    background-color: #fff;
}

.schedule-title {
    padding-top: 10px;
}

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;
    /*text-decoration: underline;*/
    cursor: pointer;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

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

.filter-description {
    font-size: 18px;
}

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

#day-filter li {
    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;
}

#day-filter li strong {
    color: #182e45;
    font-weight: normal;
}

#day-filter li.is-checked {
    background-color: #182e45;
    color: #FFF;
}

#day-filter li:not(.is-checked):nth-child(1) {
    color: #182e45;
}

#day-filter li.is-checked strong {
    color: #FFF;
    font-weight: normal;
}

#discipline-filter li {
    background-color: #FFF;
    border-left: solid 1px rgb(232, 232, 233);
    padding: 4px;

}

#discipline-filter li.is-checked {
    background-color: #182e45;
    color: #fff;
}

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

.day-separator {
    padding: 2px 15px 5px;
    margin-top: 5px;
    background-color: #f2f2f2;
    color: #182e45;
    text-transform: uppercase;
    /*font-size: larger;*/
}

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

.schedule-item .time {
    text-align: center;
    font-size: 14px;
}

.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;

}

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 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;
    width: calc(100% - 20px);
    object-fit: contain;
}

.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: 0px;
}

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.snr {
    font-weight: normal;
}

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: 80%;
}

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: 12px;
    font-size: 0.75rem;
    line-height: 0.8;
}

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;
    /*margin-left: 10px;*/
    color: #FFFFFF;
    /*padding-bottom: 1000px;*/
    /*margin-bottom: -1000px;*/
    /*height: 100%;*/
}

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: 'Lucida Sans';
    font-size: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #565656;
    line-height: 10px;
}

.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, 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: 42px;
        font-size: 2.625rem;
        line-height: 1;
        letter-spacing: .02em;
        margin-bottom: 34px;
    }

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

    .navbar-aachen .navbar-nav > li > a, .navbar-aachen .navbar-nav > li > form  input{
        padding: 0;
    }

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

    .navbar-aachen {
        font-size: 14px;
        font-size: 0.9rem;
    }

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

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

    .cover-image iframe{
        width: 340px;
        height: 180px;
    }
    .schedule-title h3 {
        font-size: 30px;
        font-size: 1.875rem;
        line-height: 1;
        letter-spacing: .02em;
        margin-bottom: 20px;
    }

    .navbar-aachen {
        padding-top: 0;
    }

    li.aachen-menu-item {

        margin-left: 0 !important;
    }

    .sponsor-bar div {
        margin-right: auto;
        margin-left: auto;
        width: 230px;
        height: 35px;
    }

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

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

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

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

    }
}

@media screen and (min-width:768px) and (max-width:991px) {
    .footer{
        text-align: center;
    }


}

@media (max-width:767px) {
    .footer{
        padding: 40px 25px 18px 25px;
        text-align: center;
    }
    .footer-logo{
        /*text-align: center;*/
        padding-bottom: 20px;
    }

    .competition-info{
        font-size: 0.75rem;
        font-size: 12px;
    }

    .competition-info h3 {
        font-size: 16px;
        font-size: 1rem;
        font-weight: bolder;
    }
    .competition-info h4 {
        font-size: 14px;
        font-size: 0.88rem;
    }

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

#cmh-player{
    height: 300px;
}
