body {
    margin: 0;
    font: normal 13px Arial, sans-serif;
}

.mmpui-search-container {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: absolute;
    z-index: 500;
    width: 100%;
    background: white;
    display: flex;
}
.mmpui-search-input {
    height: 32px;
    margin: 8px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid rgba(0,0,0,0.15);
    flex: 1;
    outline: none;
}
.container	{
    position: absolute;
    top: 66px;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
}
#mainmap {
    height: 100%;
    width: 100%;
    text-align: center;
    color: white;
    flex: 1;
    justify-content: center;
    background: whitesmoke;
}

.ac-renderer {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.15);
    -moz-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
    -webkit-box-shadow: 2px 2px 2px rgba(102, 102, 102, .4);
    z-index: 1100;
    right: 8px;
    overflow: hidden;
}

.ac-row {
    cursor: pointer;
    padding: 6px;
    display: flex;
}

.ac-highlighted {
    font-weight: bold;
}

.ac-active {
    background-color: rgba(0,0,0,0.15);
}

.ac-row-icon {
    flex: 0 0 24px;
    margin-right: 6px;
    display: flex;
    align-items: center;
}

.ac-row-icon > svg {
    fill: rgba(0,0,0,0.5);
    width: 24px;
    height: 24px;
}

.ac-row-details {
    flex: 1 1 100%;
}

.ac-row-details {
    display: flex;
    flex-direction: column;
}

.ac-row-teamcompetitors, .ac-row-craftname {
    font-style: italic;
    color: rgba(0,0,0,0.5);
}

.leaflet-control-container .leaflet-control-layers {
    border-radius: 0;
    min-height: 44px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.leaflet-control-layers-overlays {
    font-size: 16px;
}

.leaflet-control-layers-overlays > label > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaflet-control-layers-overlays .leaflet-control-layers-selector {
    margin: 0 6px 3px 6px;
    position: relative;
    top: 1px;
}

.ac-clearbutton {
    position: absolute;
    right: 9px;
    width: 48px;
    height: 48px;
    top: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    outline: none;
}

.ac-clearbutton > svg {
    width: 36px;
    height: 36px;
    fill: rgba(0,0,0,0.86);
    box-sizing: border-box;
}

.ac-clearbutton.goog-flat-button-hover {
    background-color: rgba(0,0,0,0.15);
}

.ac-clearbutton.goog-flat-button-active {
    background-color: rgba(0,0,0,0.20);
}


.atd-rightdrawer {
    width: 0;
    max-width: 400px;

    box-shadow: inset 1px 0 2px rgba(0, 0, 0, 0.2);
    transition: width 0.3s ease;
    overflow-y: scroll;
}

.atd-rightdrawer .atd-rightdrawer-inner {
    padding: 6px 0;
    opacity: 0;
    transition: opacity 0.1s ease;
}

.atd-rightdrawer.atd-rightdrawer-expanded {
    width: 100%;
}
.atd-rightdrawer.atd-rightdrawer-expanded .atd-rightdrawer-inner {
    opacity: 1;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    border-radius: 5px;
    border: 1px solid;
    padding: 8px;
}

.atd-competitordetails {
    cursor: pointer;
    display: flex;
    outline: none;
    padding: 6px 12px;
}

.atd-competitordetails.goog-control-hover {
    background-color: rgba(0,0,0,0.15);
}
.atd-competitordetails.goog-control-hover {
    background-color: rgba(0,0,0,0.2);
}

.atd-competitordetails-listtext {
    color: rgba(0,0,0,0.5);
    font-style: italic;
}

.atd-competitordetails-listtext em {
    color: rgba(0,0,0,0.7);
}

.atd-competitordetails-icon {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

.atd-competitordetails-icon svg {
    fill: rgba(0,0,0,0.5);
    width: 24px;
    height: 24px;
}

.atd-rightdrawer-teamname {
    padding: 12px 12px 6px 12px;
    font-size: 14px;
    text-transform: uppercase;
}




.atd-modal-wrapper {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.56);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
}

.atd-modal {
    background-color: #fff;
    color: rgba(0,0,0,0.87);
    box-shadow: 0 1px 3px 0 rgba(0,0,0,0.2),0 1px 1px 0 rgba(0,0,0,0.14),0 2px 1px -1px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 400px;
}

.atd-modal-visible {
    display: flex;
}

.atd-modal-heading {
    font-weight: bold;
    padding: 19px 24px 0 24px;
}

.atd-modal-msg {
    padding: 18px 24px 0 24px;
    color: rgba(0,0,0,0.5);
}

.atd-modal-buttons {
    padding: 8px;
    display: flex;
    flex-direction:  row-reverse;
}

.atd-materialflatbutton {
    color: rgba(0,0,0,0.87);
    display: inline-block;
    height: 36px;
    margin: 0 8px 0 0;
    padding: 0 8px;
    text-align: center;
    line-height: 36px;
    text-transform: uppercase;
    font-weight: bold;
    border-collapse: collapse;
}

.atd-materialflatbutton.goog-flat-button-hover {
    background: rgba(158, 158, 158, 0.2);
}
.atd-materialflatbutton.goog-flat-button-focused {
    background: rgba(158, 158, 158, 0.3);
}
.atd-materialflatbutton.goog-flat-button-active {
    background: rgba(158, 158, 158, 0.4);
}
.atd-materialflatbutton.goog-flat-button-disabled {
    color: #ccc;
}



.wrapped-button {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    min-height: 44px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    background-color: white;
    outline: none;
    z-index: 2000;
}

.wrapped-button  svg {
    width: 24px;
    height: 24px;
    fill: rgba(0,0,0,0.86);
    box-sizing: border-box;
}

.wrapped-button .goog-flat-button-hover {
    background-color: rgb(199, 199, 199);
}

.wrapped-button .goog-flat-button-active {
    background-color: rgb(130, 130, 130);
}

.atd-formrow {
    margin-bottom: 8px;
    margin-top: 8px;

    display: flex;
    justify-content: center;
    align-items: center;
}

.atd-formrow label::after {
    content: ':';
}

.atd-formrow label {
    flex: 0 0 auto;
    min-width: 65px;
    margin-right: 4px;
}

.atd-formrow input {
    flex: 1 1 auto;
}

.form-err-msg {
    color: #d80000;
    display:none;
}
.form-err-msg-displayed {
    display:block;
}

.form-err-wrapper {
    height: 16px;
}

.form-err-msg-displayed {
    display: block;
}

.atd-competitormodal-edittracker {
    border-top: 1px solid #ddd;
    padding-top: 8px;
    margin-top: 16px;
    margin-bottom: 0;
}

.atd-popup-buttons {
    margin-top: 8px;
    display: flex;
}

.atd-popup-buttons > .atd-materialflatbutton {
    flex: 1 1 auto;
    margin: 0;
    border: 1px solid #ddd;
}

.circle-icon-inner {
    height: 5px;
    width: 5px;
    border-radius: 5px;
}
.competitor-icon {
    padding:6px;
    border-radius: 6px;
}

.competitor-icon-normal .circle-icon-inner {
    border: 1px solid #00228b;
    background-color: #00baff;
}
.competitor-icon-warning .circle-icon-inner {
    border: 1px solid #8b6c00;
    background-color: #ffd700;
}
.competitor-icon-alert .circle-icon-inner {
    border: 1px solid darkred;
    background-color: red;
}
.competitor-icon-offwater .circle-icon-inner {
    border: 1px solid black;
    background-color: #818181;
}

.competitor-icon-selected .circle-icon-inner {
    height: 10px;
    width: 10px;
    border-radius: 10px;
}
