/* Stylesheet to bring Material Design Lite elements into the pages */
/*

Colours  
 
rgb(63,81,181) or #3f51b5       Indigo
rgb(232,234,246) or #E8EAF6     Very pale grey
rgb(197,202,233) or #C5CAE9     Moderate grey
rgb(233,30,99) or #E91E63       Pinky red
*/
article, aside, figure, footer, header, hgroup, menu, nav, section { display: block; }  
html,body,textarea,input{
    font-family: 'Roboto', 'Arial', sans-serif;
}
*{box-sizing:border-box;}
.page-content,.mdl-layout__header-row,.mdl-grid{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.corePageWidth{
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
.fingerHover{cursor: pointer;}
.fw{width: 100%;}
.emphasize{
    color: #FF5722;
    font-weight: bold;
    background-color: #FFF3E0;
}
.mdl-layout-title{font-weight: 500;}
.wait{cursor: wait;}
@-webkit-keyframes repaintChrome {from { padding: 0; } to { padding: 0; }}
body {-webkit-animation: repaintChrome infinite 1s;height: 100%;}
.mdl-layout.is-mini-screen .mdl-layout--not-mini-screen {
    display: none; 
}
/* ==================================== Header ===============================*/
/* Hierarchy is                                       */
/*    header .mdl-layout__header                      */
.mdl-layout__header{
    color: rgba(0,0,0,0.87); /* dark grey */
    color: white; /* white */
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
@media screen and /* phone */ (max-width: 639px) {
  .DEPmdl-layout__header{
        min-height: auto;
        height: auto;
    }
}
.mdl-layout__header-row{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding-left: 0;
    height: auto;
}
html.bishop .showDressage,
html.horse_trials .showDressage,
html.pony_club .showDressage{
    display:none;
}
.mdl-layout__header-row.hartpury{
    background-image: url("../images/hartpury.jpg");
    background-position: 10px 0;
}
@media screen and /* phone */ (max-width: 639px) {
    .mdl-layout__header-row .mdl-layout-title{
        font-size:16px;
        min-height: auto;
        height: auto;
        max-width: 100%;
    }
    html.dressage .showLogo{
        background-image: none;
    }
}
.mdl-layout__header-row .clickable,.clickable{
/*    width: 130px;*/
    cursor: pointer;
    min-height: 64px;
    height: 100%;
/*    -webkit-flex: 0 0 130px;
    -ms-flex: 0 0 130px;
    flex: 0 0 130px;*/
    order: 1;
}
.clickable img{
    max-height: 64px;
}
header .mdl-layout__header-row div.stdSpacer{
    order:2;
}
#page_title{
    text-align: center;
    padding-right: 16px;
    order: 3;
}
@media screen and /* small phone */ (max-width: 639px) {
    .mdl-layout__header-row{
        padding-right:0;
        background-size: auto 64px ;
    }
    #page-title{
        padding-right: 4px;
    }
    header ul.mdl-layout--not-mini-screen{
        display:none;
    }
}
/*        div    .mdl_layout-title #event-name        */
a.mdl-layout-title{
    color: rgba(0,0,0,0.87); /* dark grey */
    color: white; /* white */
    text-decoration: none;
}
/*        div    .mdl_layout-spacer                   */
/*        nav    .mdl_layout-spacer .mdl_navigation   */

.link-disabled{
    color: lightgray!important;
}
.link-disabled:hover{
    border-bottom: 4px solid transparent;
    cursor: default;
}
header{
    box-sizing: border-box;
}
.mdl-layout:not(.is-small-screen) .nav > li{
    /* If not a phone, for all node and leaf objects */
    display: inline-block;
}
.mdl-layout:not(.is-small-screen) .nav > li.mdl-layout--small-screen-only{
    /* If not a phone, for node and leaf objects marked for large screen*/
    display: none;
}
.clock{
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    order: 10;
    padding: 4px;
    background-color: yellow;
    color: black;
    /* margin-bottom: 6px; */
}
.mdl-layout__header-row div.clock{flex: 0 1 auto;}
/* ==================================== Cards and Tables =====================*/
.mdl-data-table{
    white-space: normal;
    font-size: 16px;
}
.mdl-layout__content {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
    padding-right: 16px;
    overflow-x: visible;
    flex: 1 0 auto; /* 9 Feb 2016 to cope with short height*/
}
.es-card-wide.mdl-card {
    padding: 15px;
    width: 100%;
  }
.mdl-data-table thead.mdl-color--primary th,
.mdl-card__title{
    font-size: 16px;
    font-weight: 700;
    color: rgba(0,0,0,.87); /* dark grey */
    color: white; /* white */
    padding: 16px 0;
}
.mdl-data-table thead.mdl-color--primary th:first-of-type{
    padding-left: 24px;
}
.mdl-data-table tbody tr.shrinkable,
.mdl-data-table tbody tr.shrinkable td{
    height: auto;
    padding-top: 4px;
    padding-bottom: 4px;
}

.mdl-cell{
    background-color:white; 
    padding:0 8px;
}
.unified.mdl-cell{padding:0;}
.unified .mdl-card__title{
    color: rgba(0,0,0,0.87); /* dark grey */
    color: white; /* white */
}
.mdl-data-table th.mdl-data-table__cell--center{
    text-align: center;
}

.mdl-card__supporting-text{
    padding:15px;
    font-size: 14px;
    color: rgba(0,0,0,0.87); /* dark grey */
    width: 100%;
}
.unified .mdl-card__title, 
.unified .mdl-card__supporting-text{padding: 12px 8px;}
.h3, .mdl-data-table th.h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 30px 20px 24px 0; 
    line-height: 32px;
}
table.mdl-cell{
    /* margin: 8px 8px; */
    display: table;
    border:none;
}
/* Three styles to format the cards with the red button at the bottom right*/
.mdl-cell{
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    flex-flow: column nowrap;
}
.mdl-card__media,
.mdl-card__supporting-text{
     -webkit-box-flex: 1;
     -webkit-flex-grow: 1;
     -ms-flex-positive: 1;
     flex-grow: 1;
}
.mdl-card__actions{
    width:auto;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    /* align-self: flex-start; */
}
.mdl-data-table__text thead tr th,
.mdl-data-table__text tbody tr td{
    text-align:left;
    padding-left:0;
}
table.mdl-cell td.tbSJ{
    padding-left:10px;
}
.mdl-button.mdl-button--icon{
    margin-bottom: 0;
    color: rgba(0,0,0,0.87); /* dark grey */
}
.mdl-button{
    margin-left: 6px;
    margin-top: 6px;
    margin-bottom: 6px;
    color: rgba(0,0,0,0.87); /* dark grey */
    color: white
}
.showTimes{
    font-style: italic;
    font-size: 0.8em;
}
.mdl-data-table td.flag{
    padding: 0;
}
img.flag{
    /* max-height: 30px; */
    height: 100%;
    width:  auto;
}
.mdl-data-table_NOT_YET tr.allPhasesVerified td.score{
    background-color: #C5E1A5;
}
.mdl-data-table_NOT_YET tr.placeVerified td.sectionPlace{
    background-color: #C5E1A5;
}

.mdl-data-table td.bl{
    border-left: 1px solid rgba(0,0,0,.12);
}
.mdl-data-table td.br{
    border-right: 1px solid rgba(0,0,0,.12);
}
.mdl-data-table th.bl{
    border-left: 1px solid rgba(255,255,255,.12);
}
.mdl-data-table th.br{
    border-right: 1px solid rgba(255,255,255,.12);
}
/* ==================================== Forms and Inputs =====================*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
     display: none; /*<- Crashes Chrome on hover */
/*                -webkit-appearance: none;
    margin: 0;  <-- Apparently some margin are still there even though it's hidden */
}
input[type=number] {
    -moz-appearance: textfield;
}
fieldset{
    min-width: 100%;
}
.cmxform fieldset li{
    list-style: none;
    text-align: left;
}
.cmxform input{
    margin-right:16px;
}
.mdl-textfield{
    display: block;
}
.mdl-textfield--floating-label.is-focused .mdl-textfield__label, 
.mdl-textfield--floating-label.is-dirty .mdl-textfield__label{
    font-size: 14px;
}
.mdl-textfield__input{
    font-size: 14px;
    color: rgba(0,0,0,0.87); /* dark grey */
}
.spacedButtons button{margin: 4px 0;}
.uploadZone{
    height: 150px;
    width: 100%;
    background-color: rgba(211, 211, 211,0.4);
}
.uploadifive-queue-item {
	background-color: #F5F5F5;
	border-bottom: 1px dotted #D5D5D5;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
        font-size: 12px;
	margin-top: 3px;
	padding: 15px;
}
.uploadifive-queue-item .close {
	background: url('../css/uploadifive-cancel.png') 0 0 no-repeat;
	display: block;
	float: right;
	height: 16px;
	text-indent: -9999px;
	width: 16px;
}
.uploadifive-queue-item .progress {
	border: 1px solid #D0D0D0;
	height: 3px;
	margin-top: 5px;
	width: 100%;
}
.uploadifive-queue-item .progress-bar {
	background-color: #0072BC;
	height: 3px;
	width: 0;
}

/* =================================== Dialog =============================== */
.mdl-dialog{
    width: 400px;
    min-width: 300px;
    max-width: 100%;
    font-size: 1.5rem;
    padding: 0;
}
.mdl-dialog__title{
    color: white;
    text-align: center;
    padding: 12px;
}
.mdl-dialog__content{padding:12px;}
/* =================================== Phones and tablets ====================*/
/*  Gradually move them into other more relevant sections */
@media screen /* phone */and (max-width: 639px) {
  .mdl-grid {
    padding: 8px; }
  .mdl-cell {
    margin: 8px;
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell {
      width: 100%; }
  .mdl-cell--hide-phone {
    display: none !important; }
  .mdl-cell--1-col {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col {
      width: 25%; }
  .mdl-cell--1-col-phone.mdl-cell--1-col-phone {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col-phone.mdl-cell--1-col-phone {
      width: 25%; }
  .mdl-cell--2-col {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col {
      width: 50%; }
  .mdl-cell--2-col-phone.mdl-cell--2-col-phone {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col-phone.mdl-cell--2-col-phone {
      width: 50%; }
  .mdl-cell--3-col {
    width: calc(100% - 16px); } /* was 75% - 16px*/
    .mdl-grid--no-spacing > .mdl-cell--3-col {
      width: 75%; }
  .mdl-cell--3-col-phone.mdl-cell--3-col-phone {
    width: calc(75% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--3-col-phone.mdl-cell--3-col-phone {
      width: 75%; }
  .mdl-cell--4-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col {
      width: 100%; }
  .mdl-cell--4-col-phone.mdl-cell--4-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col-phone.mdl-cell--4-col-phone {
      width: 100%; }
  .mdl-cell--5-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col {
      width: 100%; }
  .mdl-cell--5-col-phone.mdl-cell--5-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col-phone.mdl-cell--5-col-phone {
      width: 100%; }
  .mdl-cell--6-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col {
      width: 100%; }
  .mdl-cell--6-col-phone.mdl-cell--6-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col-phone.mdl-cell--6-col-phone {
      width: 100%; }
  .mdl-cell--7-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col {
      width: 100%; }
  .mdl-cell--7-col-phone.mdl-cell--7-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col-phone.mdl-cell--7-col-phone {
      width: 100%; }
  .mdl-cell--8-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col {
      width: 100%; }
  .mdl-cell--8-col-phone.mdl-cell--8-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col-phone.mdl-cell--8-col-phone {
      width: 100%; }
  .mdl-cell--9-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col {
      width: 100%; }
  .mdl-cell--9-col-phone.mdl-cell--9-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col-phone.mdl-cell--9-col-phone {
      width: 100%; }
  .mdl-cell--10-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col {
      width: 100%; }
  .mdl-cell--10-col-phone.mdl-cell--10-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col-phone.mdl-cell--10-col-phone {
      width: 100%; }
  .mdl-cell--11-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col {
      width: 100%; }
  .mdl-cell--11-col-phone.mdl-cell--11-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col-phone.mdl-cell--11-col-phone {
      width: 100%; }
  .mdl-cell--12-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col {
      width: 100%; }
  .mdl-cell--12-col-phone.mdl-cell--12-col-phone {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col-phone.mdl-cell--12-col-phone {
      width: 100%; } 
}
@media screen /* tablet */and (min-width: 640px) and (max-width: 969px) {
  .mdl-grid {
    padding: 8px; }
  .mdl-cell {
    margin: 8px;
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell {
      width: 50%; }
  .mdl-cell--hide-tablet {
    display: none !important; }
  .mdl-cell--1-col {
    width: calc(12.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col {
      width: 12.5%; }
  .mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
    width: calc(12.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col-tablet.mdl-cell--1-col-tablet {
      width: 12.5%; }
  .mdl-cell--2-col {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col {
      width: 25%; }
  .mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col-tablet.mdl-cell--2-col-tablet {
      width: 25%; }
  .mdl-cell--3-col {
    width: calc(50% - 16px); } /* was 37.5% - 16px*/
    .mdl-grid--no-spacing > .mdl-cell--3-col {
      width: 37.5%; }
  .mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
    width: calc(37.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--3-col-tablet.mdl-cell--3-col-tablet {
      width: 37.5%; }
  .mdl-cell--4-col {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col {
      width: 50%; }
  .mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col-tablet.mdl-cell--4-col-tablet {
      width: 50%; }
  .mdl-cell--5-col {
    width: calc(62.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col {
      width: 62.5%; }
  .mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
    width: calc(62.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col-tablet.mdl-cell--5-col-tablet {
      width: 62.5%; }
  .mdl-cell--6-col {
    width: calc(75% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col {
      width: 75%; }
  .mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
    width: calc(75% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col-tablet.mdl-cell--6-col-tablet {
      width: 75%; }
  .mdl-cell--7-col {
    width: calc(87.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col {
      width: 87.5%; }
  .mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
    width: calc(87.5% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col-tablet.mdl-cell--7-col-tablet {
      width: 87.5%; }
  .mdl-cell--8-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col {
      width: 100%; }
  .mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col-tablet.mdl-cell--8-col-tablet {
      width: 100%; }
  .mdl-cell--9-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col {
      width: 100%; }
  .mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col-tablet.mdl-cell--9-col-tablet {
      width: 100%; }
  .mdl-cell--10-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col {
      width: 100%; }
  .mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col-tablet.mdl-cell--10-col-tablet {
      width: 100%; }
  .mdl-cell--11-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col {
      width: 100%; }
  .mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col-tablet.mdl-cell--11-col-tablet {
      width: 100%; }
  .mdl-cell--12-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col {
      width: 100%; }
  .mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col-tablet.mdl-cell--12-col-tablet {
      width: 100%; } 
}
@media screen /* monitor */ and (min-width: 970px) {
  .mdl-grid {
    padding: 8px; }
  .mdl-cell {
    margin: 8px;
    width: calc(33.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell {
      width: 33.33333%; }
  .mdl-cell--hide-desktop {
    display: none !important; }
  .mdl-cell--1-col {
    width: calc(8.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col {
      width: 8.33333%; }
  .mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
    width: calc(8.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--1-col-desktop.mdl-cell--1-col-desktop {
      width: 8.33333%; }
  .mdl-cell--2-col {
    width: calc(16.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col {
      width: 16.66667%; }
  .mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
    width: calc(16.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--2-col-desktop.mdl-cell--2-col-desktop {
      width: 16.66667%; }
  .mdl-cell--3-col {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--3-col {
      width: 25%; }
  .mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
    width: calc(25% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--3-col-desktop.mdl-cell--3-col-desktop {
      width: 25%; }
  .mdl-cell--4-col {
    width: calc(33.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col {
      width: 33.33333%; }
  .mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
    width: calc(33.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--4-col-desktop.mdl-cell--4-col-desktop {
      width: 33.33333%; }
  .mdl-cell--5-col {
    width: calc(41.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col {
      width: 41.66667%; }
  .mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
    width: calc(41.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--5-col-desktop.mdl-cell--5-col-desktop {
      width: 41.66667%; }
  .mdl-cell--6-col {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col {
      width: 50%; }
  .mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
    width: calc(50% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--6-col-desktop.mdl-cell--6-col-desktop {
      width: 50%; }
  .mdl-cell--7-col {
    width: calc(58.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col {
      width: 58.33333%; }
  .mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
    width: calc(58.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--7-col-desktop.mdl-cell--7-col-desktop {
      width: 58.33333%; }
  .mdl-cell--8-col {
    width: calc(66.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col {
      width: 66.66667%; }
  .mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
    width: calc(66.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--8-col-desktop.mdl-cell--8-col-desktop {
      width: 66.66667%; }
  .mdl-cell--9-col {
    width: calc(75% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col {
      width: 75%; }
  .mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
    width: calc(75% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--9-col-desktop.mdl-cell--9-col-desktop {
      width: 75%; }
  .mdl-cell--10-col {
    width: calc(83.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col {
      width: 83.33333%; }
  .mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
    width: calc(83.33333% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--10-col-desktop.mdl-cell--10-col-desktop {
      width: 83.33333%; }
  .mdl-cell--11-col {
    width: calc(91.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col {
      width: 91.66667%; }
  .mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
    width: calc(91.66667% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--11-col-desktop.mdl-cell--11-col-desktop {
      width: 91.66667%; }
  .mdl-cell--12-col {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col {
      width: 100%; }
  .mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
    width: calc(100% - 16px); }
    .mdl-grid--no-spacing > .mdl-cell--12-col-desktop.mdl-cell--12-col-desktop {
      width: 100%; } 
}
.hidden,.hide{
    display:none!important;
}
/* ==================================== Site variants ========================*/
.dressage .hideDressage{
    display:none;
}
.dressageOnly{
    display:none;
}
.dressage .dressageOnly{
    display:block;
}
.horse_trials .hideHT{display:none;}
.footer-logo.htOnly{
    display: none;
}
.horse_trials .footer-logo.htOnly{
    display: flex;
}
.bishop .footer-logo a{
    background-color: white;
    padding: 10px;
    border-radius: 10px;
}
/* ==================================== Footer ===============================*/
/* to style the logos */
            /* to style the logos */
.logo-strip{
    min-height: 220px;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: white;
    width:100%;
    max-width: 5000px;
    padding-bottom: 12px;
}
.logo-strip.noLogos{
    display:none;
}
.logo-card{
    max-height: 200px;
/*    max-width: 200px;
    width: auto;
    max-height: 200px;
    min-height: 100px;
    height:auto;*/
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: white;
}
.logo-card img{
    max-height: 200px;
    margin-right: 8px;
    max-width: 200px;
}
/* to style the standard footer */
footer {
    /* height: auto; */
}
footer div{
/*    height:100%; Removed to keep the footer small*/
}
.mdl-mini-footer{
    padding: 16px 12px;
    color: rgba(0,0,0,0.87); /* dark grey */
    color: white; /* white */
}
.mdl-footer-sock{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.mdl-footer-sock div{
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}
.mdl-mini-footer__center-section{
    text-align:center;
}
.mdl-mini-footer__right-section{
    text-align:right;
    padding-right: 16px;
}
.mdl-mini-footer__right-section span{
    white-space: nowrap;
    line-height: normal;
}
.mdl-mega-footer__sock{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-justify-content: space-around;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-align-content: flex-start;
    -ms-flex-line-pack: start;
    align-content: flex-start;
}
.footer-logo{
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
.mdl-mega-footer{
    padding: 8px;
}
.footer-logo h1{
    position: relative;
    width: 100%;
    margin-bottom: 16px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 23.8px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    color: #e0e0e0;
    padding-right: 0;
}
.mdl-mega-footer__link-list{
    width: 100%;
    margin: 0 0 16px;
    padding-left: 6px;
}
.mdl-mega-footer__link-list a{
    white-space: normal;
}
h1.mdl-mega-footer__heading{
    text-align: left;
}
/*.hideDressage{display:none;}*/
