#longines{
    font-family: 'Lato' , sans-serif;
    font-size: 15px;
    padding: 0% 0.6%;
}
#longines td{ padding: 0px !important; vertical-align: top; }
#longines #nav-wrapper{ display: none; }
#longines #header-wrapper h1{
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    font-family: 'Lato' , sans-serif;
    padding: 0% 1%;
}
#longines #content-wrapper{
    margin-top: 15px;
}
#longines #content-wrapper table{
    border-spacing: 0px;
    border-collapse: collapse;
    font-size: 14px;
}
#longines #header-wrapper h1:after{ background: none; }
#longines .hd_header{
    padding: 0px !important;
    margin-top: 10px;
    background-color: none !important;
}
#longines .hd_competitor{
    text-align: left;
}
#longines .hd_header .hd_header_sponsor{
    font-size: 24px;
}
#longines .hd_header .hd_header_name{
    font-size: 18px;
}
#longines .hd_header .hd_header_text{
    font-size: 14px;
    color: #666666;
}
#longines .hd_header .hd_header_nr{
    padding: 2px !important;
    font-size: 24px;
    line-height: 25px;
    white-space: nowrap;
    vertical-align: top;
}
#longines .hd_header .hd_header_money{
    font-size: 14px;
    text-align: center;
    vertical-align: top;
}
#longines .hd_header .hd_header_money .hd_text_money{
    font-weight: bold;
    white-space: nowrap;
    margin-top: 7px;
    margin-right: 8px;
    margin-left: 8px;
}
#longines .hd_header .hd_header_money .hd_value_money{
    margin-right: 10px;
}
#longines .hd {
    color: #FFFFFF;
    padding: 5px 4px !important;
    text-transform: uppercase;
}
#longines td{ border-bottom: none !important; }
#longines .hd_header table{ margin-bottom: 0px !important; }
#longines div.hd_cl_line{
    border-bottom: 1px solid #ddd;
    margin: 15px 0px;
}
#longines .hd_cnr, #longines .hd_startnr, #longines .hd_result, #longines .hd_starttime, #longines .hd_header td, #longines .hd_flagimg, #longines .hd {
    vertical-align: top;
}
#longines .hd_cnr{
    width: 50px;
    text-align: center;
}
#longines .hd_horsename{
    padding-right: 8px !important;
    padding-left: 4px !important;
}
#longines .hd_horsename, #longines .hd_ridername  {
    font-weight: bold !important;
    vertical-align: top;
}
#longines .hd_flag{
    text-align: center;
    text-transform: uppercase;
    vertical-align: top;
}
#longines th{
    border-bottom: 0px;
}
#longines h4.hd_spacer{
    margin-bottom: 15px !important;
}

#longines .hd_breeding{
  font-size:13.5px;
  border-top:5px solid transparent;
  color: #666666;
}

#longines .page_headings{
    text-align: center;
    padding: 12px 0;
    background-color: #efefef;
    margin-bottom: 20px;
}
#longines .page_headings a{
    font-size: 18px;
    padding: 0 20px;
    text-transform: uppercase;
    text-align: center;
    color: #666 !important;
    text-decoration: none;
}
#longines .page_headings a:hover{
    text-decoration: none !important;
    color: #00609d !important;
}
#longines .page_headings a.active_link{
    color: #00609d !important;
    cursor: default;
    position: relative;
}
#longines .page_headings a.active_link::after {
    border-left: solid transparent 12px;
    border-right: solid transparent 12px;
    border-bottom: solid #fff 12px;
    bottom: -13px;
    content: " ";
    height: 0;
    left: 50%;
    margin-left: -13px;
    position: absolute;
    width: 0;
    position: absolute;
}
#longines .page_selecter{
    width: 80%;
    height: 30px;
    margin: 20px 10% 0 10%;
    font-size: 16px;
    display: none;
}
#longines .hd_judges {
    text-align: left;
    margin-top: 7px;
    font-size: 14px;
}
#longines .hd_judges .hd_judge {
    white-space: nowrap;
    display: block;
}
#longines .hd_judges .hd_cap_judge {
    padding-right: 10px;
    padding-left: 8px;
    display: inline;
    font-weight: bold;
}
#longines .hd_break {
    text-align: center;
    text-transform: uppercase;
}
#longines .hd_flagimg span {
    padding: 1px 15px 1px 6px;
    background-repeat: no-repeat;
    background-size: auto 20px;
    margin: 0 5px;
}
#longines .hd_cnr2{
    font-weight: normal;
}
#longines .table_responsive{
    overflow-x: auto;
}
#longines  .overflow_hint{
    margin-top: 15px;
    color: #00609d;
    display: none;
}
#longines th.hd_spacer{
    border-right: 3px solid #ffffff;
}
#longines .hd_starttime{
    padding-right: 4px !important;
}
#longines .hd_download-files {
    text-align: right;
}
#longines .hd_download-files .dl-link {
    font-size: 12px;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 5px;
    margin-bottom: 10px;
    margin-top: 15px;
    border: 1px solid #00609d;
    display: inline-block;
}
#longines .hd_download-files a {
    transition: all .5s ease;
    text-transform: uppercase;
    text-decoration: none;
    color: #00609d;
}
#longines .hd_download-files .dl-link:hover {
    background-color: #00609d;
    color: #ffffff;
}
#longines .hd_page_title {
    background: #efefef;
    padding: 5px;
    font-size: 130%;
    text-align: center;
    margin-bottom: 10px;
}
#longines .hd_startnr {
    text-align: center;
    min-width: 35px;
}

/* -- styles for eventResults template -- */
#longines.event_results tr:first-child .hd_previous_competitor{
   margin-top: 40px !important;
}

#longines.event_results .hd_previous_competitor{
   border-bottom: 1px solid #00609d;
   margin-bottom: 15px !important;
   text-transform: uppercase;
}

#longines.event_results .hd_header{
    margin-bottom: 0px;
}
#longines.event_results .hd{
    font-size: 14px;
}
#longines.event_results h4.hd_spacer{
    font-size: 18px;
    margin-top: 0px !important;
    font-weight: normal;
}
#longines.event_results h4.hd_totalmoney{
    font-size: 18px;
    text-align: right;
    border-top: none;
    font-weight: normal;
    margin-top: 0px;
}
#longines.event_results .hd_result{
    text-align: center;
}
#longines.event_results .hd_result:not(.hd){
    padding: 0 2px !important;
}
#longines.event_results .hd_result .hd_result_text{
    font-weight: bold;
    font-size: 13px;
    width: 140px;
    text-align:right;
    float: right;
}
#longines.event_results .pricemoney, #longines.event_results .hd_result .hd_result_text{
    text-align: right;
}
#longines.event_results .pricemoney{
    font-size: 13px;
    color: #666666;
}
#longines.event_results .hd_total{
    background: #efefef;
    padding: 2px !important;
    color: #00609d;
}
#longines.event_results .hd_result.hd_total{
    background: #efefef;
    padding: 2px !important;
}
#longines.event_results .active{
    padding: 2px 0 !important;
    background: #efefef;
}
#longines.event_results .hd_driving_rank {
    width: 45px;
    background-color: #E7E7E7;
    margin-top: 3px;
    margin-bottom: 3px;
    padding: 2px;
    color: #6f6f6f;
    font-size: 9px;
}
#longines.event_results .open-in-popup{
    color: #00609d;
}
#longines.event_results .hd_driving_section{
    font-size: 11px;
}
#longines.event_results .hd_header .hd_header_nr{
    max-width: 40px;
}
#longines.event_results .hd_horsename a, #longines.event_results .hd_ridername a{
    color: #00609d;
}
/* -- styles for eventResults template -- */


/* -- styles for startingOrder template -- */
#longines.order_of_go .hd_header{
    margin-bottom: 15px;
}
#longines.order_of_go .hd_header .hd_header_nr:after{
    content:"\2001"
}
/*#longines.order_of_go #content-wrapper div:first-child{
  padding:0px
}*/
#longines.order_of_go #content-wrapper > div{
  padding:0px !important;
}
#longines.order_of_go .hd_horsename a, #longines.order_of_go .hd_ridername a{
    color: #00609d;
}
/* -- styles for startingOrder template -- */


/* -- styles for timeSehedule template -- */
#longines.time_schedule .hd_cl_starttime .hd_live_time{
   background:#00609d;
   color: #FFFFFF !important;
   padding: 3px;
   text-align: left;
}

#longines.time_schedule .event-title{
    color: #FFFFFF !important;
    padding: 5px;
    margin: 15px 0px !important;
    font-size: 24px;
    font-weight: 500;
}
#longines.time_schedule .hd_cl_starttime{
    float: left;
    /*width: 70px;*/
    /*margin-right: 5px;*/
}
#longines.time_schedule .hd_cl_starttime:after{
    content: "\00a0";
}
#longines.time_schedule .hd_cl_number{
    float: left;
    width: 70px;
    text-align: left;
    /*padding-right: 5px;*/
    padding-bottom: 5px;
}
#longines.time_schedule .hd_cl_number nobr:before{
    content: "|";
    padding: 0 10px;
}
#longines.time_schedule .hd_cl_content{
    float: left;
    padding-left: 80px;
}
#longines.time_schedule .hd_cl_content .hd_cl_sponsor{
    font-weight: bold;
}
#longines.time_schedule .hd_cl_content .hd_cl_text{
    color: #666666;
    font-size: 12px;
}
#longines.time_schedule .hd_cl_resultlist{
    float: right;
    width: 50px;
    text-align: center;
    border: 1px solid transparent;
}
#longines.time_schedule .hd_cl_startlist{
    float: right;
    width: 50px;
    text-align: center;
    border: 1px solid transparent;
}
#longines.time_schedule .hd_cl_course{
    float: right;
    width: 50px;
    text-align: center;
    border: 1px solid transparent;
}
#longines.time_schedule div.hd_cl_line{
    clear: both;
    /*padding-top: 15px;*/
}
#longines.time_schedule .hd_bg_gray {
    background-color: #f2f2f2 !important;
    padding: 2px !important;
    vertical-align: middle;
    text-align: center;
}
#longines.time_schedule .hd_ridername{
    padding: 2px !important;
    padding-left: 10px !important;
    padding-right: 20px !important;
    vertical-align: middle;
}
#longines.time_schedule .hd_ridername img{
    vertical-align: middle;
}
#longines.time_schedule .hd_disciplin_filter {
    text-align: center;
    padding-top: 20px;
}
#longines.time_schedule .hd_filter_icon {
    cursor: pointer;
    margin: 5px;
    margin-left: 8px;
    margin-right: 8px;
    vertical-align: top;
}
#longines.time_schedule #content-wrapper table{
    min-width: 830px;
}
#longines.time_schedule .hd_day {
    font-weight: bold;
    font-size: 125%;
}
#longines.time_schedule .hd_month {
    font-size: 75%;
}
#longines.time_schedule .overflow_hint{
    margin-top: 0px;
}
#longines.time_schedule .hd_result{
    min-width: 50px;
}
#longines.time_schedule .hd_competitor.hd{
    padding-left: 10px !important;
}
#longines.time_schedule .hidden-md, #longines.time_schedule .hidden-lg{
    display: none !important;
}
#longines.time_schedule .hd_dayname{
    opacity: 0.6;
}
#longines.time_schedule div[class^='hd_disciplin'] div, #longines.time_schedule .event-title{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* -- styles for timeSehedule template -- */

/* -- styles for medals template -- */
#longines.medals *{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
#longines.medals .hidden-md, #longines.medals .hidden-lg{
    display: none !important;
}
#longines.medals .flag-icon {
    padding: 1px 15px 1px 6px;
    background-repeat: no-repeat;
    background-size: auto 20px;
    margin: 0 5px;
}
#longines.medals .flag-icon:before {
    content: '\00a0';
}
#longines.medals.mobile_layout #content-wrapper{
    min-width: 450px;
}
#longines.medals .accordion .competition_panel div{
    line-height: 1.42857;
}
#longines.medals.mobile_layout .accordion .competition_panel div{
    line-height: 1.57857;
}
#longines.medals .accordion a{
    color:#00609d;
}
#longines.medals.mobile_layout .accordion a{
    font-weight: normal;
}
/* -- styles for medals template -- */

#longines #header-wrapper, #longines h4.hd_spacer, #longines .hd_totalmoney, #longines.event_results .hd_previous_competitor{
  color:#00609d;
}

#longines .hd, #longines.time_schedule .event-title, #longines.medals .hd_table_header{
  background:#00609d;
}

#longines h4.hd_spacer {
  border-bottom: 1px solid #00609d;
}
@media (max-width: 991px){
    #longines.time_schedule .hidden-md, #longines.time_schedule .hidden-lg{
        display: block !important;
    }
    #longines.time_schedule hidden-sm, #longines.time_schedule .hidden-xs{
        display: none !important;
    }
}
@media only screen and (max-width : 768px){
    #longines #header-wrapper h1{
        font-size: 26px;
    }
    #longines .hd_header .hd_header_sponsor{
        font-size: 22px;
    }
    #longines .hd_header .hd_header_name{
        font-size: 17px;
    }
    #longines .hd_header .hd_header_text{
        font-size: 14px;
    }
    #longines .hd_header .hd_header_nr{
        font-size: 22px;
        line-height: 22px;
    }
    #longines.time_schedule .hd_cl_number{
        padding-right: 0px;
    }
    #longines.time_schedule .hd_cl_content{
        padding-left: 0px;
    }
    #longines.medals .hidden-md, #longines.medals .hidden-lg{
        display: block !important;
    }
    #longines.medals hidden-sm, #longines.medals .hidden-xs{
        display: none !important;
    }
}

@media only screen and (max-width : 750px){
    #longines.event_results .hd_result .hd_result_text{
        /*width: auto;*/
        float: none;
    }
    #longines.time_schedule .hd_cl_starttime{
      /*margin-right: 15px;*/
    }
}

@media only screen and (max-width : 600px){
    #longines.mobile_layout .page_selecter {
        display: block;
    }
    #longines.mobile_layout .page_headings {
        display: none;
    }
}

@media only screen and (max-width : 414px){
    #longines{
        font-size: 14px;
        padding: 0% 2%;
    }
    #longines #header-wrapper h1{
        font-size: 23px;
        line-height: 24px;
    }
    #longines #content-wrapper table{
        font-size: 14px;
    }
    #longines .hd_header .hd_header_sponsor{
        font-size: 19px;
    }
    #longines .hd_header .hd_header_name{
        font-size: 17px;
    }
    #longines .hd_header .hd_header_text{
        font-size: 14px;
    }
    #longines .hd_header .hd_header_nr{
        font-size: 20px;
        line-height: 20px;
    }

    #longines.time_schedule .event-title{
        font-size: 20px;
    }
    #longines.time_schedule .hd_cl_starttime{
        text-align: left;
        /*width: 60px;*/
        margin-right: 0px;
    }
    #longines.time_schedule .hd_cl_starttime:after{
        content: "";
    }
    #longines.time_schedule .hd_cl_content{
        padding-left: 0px;
    }
    #longines.time_schedule .hd_cl_number{
        width: 60px;
        padding-right: 0px;
    }
    #longines.time_schedule .hd_cl_starttime .hd_live_time{
        padding: 2px;
        width: 50px;
    }
    #longines .page_headings a{
        font-size: 14px !important;
        padding: 0 10px;
    }
    #longines .page_selecter{
        width: 90%;
        margin: 20px 5% 0 5%;
    }
    #longines.event_results h4.hd_spacer, #longines.event_results h4.hd_totalmoney{
        font-size: 16px;
    }
}



/* styles for mark sheet template*/

#markSheetDialog{
    font-family: 'Lato' , sans-serif;
    font-size: 14px;
}
#markSheetDialog .hd_ms_class {
    padding-top: 10px;
    float: left;
}
#markSheetDialog .hd_header_nr {
    padding: 10px;
    padding-top: 15px;
    padding-bottom: 0px;
    vertical-align: top;
    font-size: 24px;
    white-space: nowrap;
}
#markSheetDialog .hd_ms_block {
    padding-top: 15px;
    float: left;
}
#markSheetDialog .hd_ms_block .hd_header_sponsor{
    font-size: 24px;
}
#markSheetDialog .hd_ms_block .hd_ms_rider{
    font-size: 24px;
    padding-top: 7px;
    margin-top: 10px;
    border-top: 1px solid #CCCCCC;

}
#markSheetDialog .hd_ms_block .hd_header_name, #markSheetDialog .hd_ms_block .hd_ms_horse{
    font-size: 18px;
    font-weight: normal;
}
#markSheetDialog .hd_ms_block .hd_ms_horse{
    padding-bottom: 20px;
}
#markSheetDialog .hd_ms_judges {
    float: right;
    text-align: left;
    padding-top: 15px;
    font-size: 14px;
}
#markSheetDialog .hd_ms_judges .hd_judge {
    white-space: nowrap;
    display: block;
}
#markSheetDialog .hd_ms_judges .hd_cap_judge {
    padding-right: 10px;
    padding-left: 8px;
    display: inline;
    font-weight: bold;
}
#markSheetDialog #content-wrapper table{
    border-spacing: 0px;
    border-collapse: collapse;
    font-size: 14px;
}
#markSheetDialog #content-wrapper table td{
    vertical-align: top;
}
#markSheetDialog th.hd {
    background: #00609d;
    text-align: center;
    color: #ffffff;
    padding: 5px;
    text-transform: uppercase;
}
#markSheetDialog .hd {
    font-size: 14px;
}
#markSheetDialog th.hd_competitor {
    text-align: left;
}
#markSheetDialog .hd_cnr {
    width: 80px;
}
#markSheetDialog .hd_ms_result {
    width: 30px;
    text-align: center;
    vertical-align: top;
}
#markSheetDialog div.hd_cl_line{
    border-bottom: 1px solid #ddd;
    margin: 14px 0px;
    clear: both;
}
#markSheetDialog .hd_place {
    text-align: center;
    white-space: nowrap;
}
#markSheetDialog .hd_ms_diff {
    width: 30px;
    text-align: center;
    color: #6f6f6f;
}
#markSheetDialog .hd_ms_judge {
    width: 70px;
    display: inline-block;
    text-align: center;
    margin: 0px;
    margin-top: 15px;
    padding: 5px;
    line-height: 20px;
    font-size: 14px;
}
#markSheetDialog .hd_ms_judge_pos {
    width: 100%;
    background: #EEEEEE;
    font-weight: bold;
    padding: 5px;
    font-size: 90%;
}
#markSheetDialog #close_btn{
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}
#markSheetDialog #markSheet_content{
    margin-top: 7px;
}
#markSheetDialog .overflow_hint{
    color: #00609d;
    display: none;
}
#markSheetDialog .table_responsive{
    overflow-x: auto;
}
@media only screen and (max-width : 768px){
    #markSheetDialog .hd_header_nr{
        font-size: 22px;
        line-height: 22px;
    }
    #markSheetDialog .hd_ms_block .hd_header_sponsor, #markSheetDialog .hd_ms_block .hd_ms_rider{
        font-size: 22px;
    }
    #markSheetDialog .hd_ms_block .hd_header_name, #markSheetDialog .hd_ms_block .hd_ms_horse{
        font-size: 17px;
    }
}

@media only screen and (max-width : 750px){
    #markSheetDialog .hd_header_nr{
        font-size: 20px;
        line-height: 20px;
    }
    #markSheetDialog .hd_ms_block .hd_header_sponsor, #markSheetDialog .hd_ms_block .hd_ms_rider{
        font-size: 19px;
    }
    #longines.event_results .hd_result .hd_result_text{
        float: none;
    }
}

@media only screen and (max-width : 536px){
  #longines.time_schedule .hd_filter_icon:nth-child(8) {
    margin-right: 24px;
    margin-left: 23px;
  }
}

@media only screen and (max-width : 434px){
  #longines.time_schedule .hd_filter_icon{
    height:100px;
  }
}

@media only screen and (max-width : 414px){
    #markSheetDialog .hd_header_nr{
        padding-left: 0px;
    }
}

@media only screen and (max-width : 374px){
  #longines.time_schedule .hd_filter_icon{
    height:95px;
    margin-left:5px;
    margin-right:5px;
  }

  #longines.time_schedule .hd_filter_icon:nth-child(8) {
    margin-right: 16px;
    margin-left: 15px;
  }
}
/* styles for mark sheet template*/