
.flex-vertical-stack {
    display: flex;
    flex-direction: column;
    margin: auto;
    align-items: stretch;
}

.flex-horizontal-stack {
    display: flex;
    flex-direction: row;
    margin: auto;
    align-items: stretch;
}

.infolink:after {
    content: '?';
    display: inline-block;
    font-family: sans-serif;
    font-weight: 400;
    text-align: center;
    font-size: 0.8em;
    line-height: 1.1em;
    border-radius: 50%;
    margin-left: 6px;
    padding: 0.15em 0.35em 0.095em 0.3em;
    color: white;
    border: 1px solid;
    text-decoration: none;
    background: #ff8c00;
}

.pairButton {
    background-color: #a0a0a0;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    border-radius: 19px;
    width: 38px;
    height: 38px;
}

.actionButton {
    background-color: #ff8c00;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 32px;
    height: 24px;
    border-radius: 4px;
}

.actionButtonLive {
    background-color: #ff8c00;
    border: 1px solid #004872;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 32px;
    height: 24px;
    border-radius: 4px;
}

.stopButton {
    background-color: #ef4135;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 32px;
    height: 24px;
    border-radius: 4px;
}

.acceptButton {
    background: linear-gradient(120deg, #759cb3 0%, #004872 100%);
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 32px;
    height: 24px;
    border-radius: 4px;
}

.nowButton {
    background-color: #a0a0a0;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 46px;
    height: 24px;
    border-radius: 4px;
}

.expandButton {
    background-color: #ff8c00;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 13px;
    font-weight: bold;
    width: 180px;
    height: 24px;
    border-radius: 4px;
}

.upgradeButton {
    background-color: #004872;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 120px;
    height: 32px;
    border-radius: 4px;
}

.downgradeButton {
    background-color: #ff8c00;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 120px;
    height: 32px;
    border-radius: 4px;
}

.restoreButton {
    background-color: #ff8c00;
    border: none;
    color: white;
    padding: 0px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    width: 120px;
    height: 32px;
    border-radius: 4px;
}

.disclaimerA {
    font-family: 'Source Sans Pro';
    font-weight: 400;
    font-size: 13px;
    color: #004872;
    text-decoration: none;
}

.controlLabel {
    font-weight: 400;
    font-size: 14px;
    color: #6d6d6d;
    white-space:nowrap;
}
.controlLabelMinor {
    font-weight: 300;
    font-size: 13px;
    color: #6d6d6d;
    white-space:nowrap;
}
.controlView input[type="text"], input[type="datetime-local"] {
    padding: 2px 2px;
    margin: 2px 0;
    display: inline-block;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-weight: 300;
    font-size: 13px;
    color: #6d6d6d;
}
.control-select {
    font-weight: 300;
    font-size: 13px;
    color: #6d6d6d;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.checkboxes {
    text-align:left;
    accent-color: #004872;
}

.checkboxes input{
    margin: 6px 12px 6px 32px;
}

.checkboxes label{
    margin: 0x 0px 0px 0px;
}

span.psw {
    float: right;
    padding-top: 16px;
}

span.validation {
    color:#EF4135;
    font-size:14px;
    font-weight:500;
}

span.message {
    color:white;
    font-size:15px;
    font-weight:400;
}
div.message {
    background:#ff8c00;
    border-radius: 6px;
    box-sizing: border-box;
    padding-left:16px;
    padding-right:16px;
    padding-top:6px;
    padding-bottom:6px;
    display:inline-block;
    text-align:center
}

span.messageHome {
    color:#666666;
    font-size:15px;
    font-weight:400;
}
div.messageHome {
    background: #eeeeee;
    border-radius: 6px;
    box-sizing: border-box;
    padding-left:32px;
    padding-right:32px;
    padding-top:32px;
    padding-bottom:32px;
    display:inline-block;
    text-align: left;
}
div.addMailingList_mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    align-items: stretch;
}
div.addMailingListItem_mobile {
    padding: 4px;
}

div.addMailingList {
    display: flex;
    align-items: center;
    justify-content: center;
}
div.addMailingListItem1 {
    flex: 75%;
}
div.addMailingListItem2 {
    flex: 25%;
    display: inline-block;
    white-space: nowrap;
}

.modal {
  display: none;
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
  border-radius: 4px;
}
.modal-content_m {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90vw;
  border-radius: 4px;
}
.modal-content-loading {
  background-color: #ececec;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 60%;
}
.modal-content-loading-m {
  background-color: #ececec;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 90%;
}

.modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.bannerMessage {
    font-family: 'Source Sans Pro';
    font-weight: 500;
    font-size: 12px;
    color: black;
    text-decoration: none;
    line-height: 24px;
    vertical-align: middle;
}

.banner {
    background: #ff8c00;
    height: 24px;
    width: 100%;
    margin-bottom: 4px;
    text-align: center;
}

.disclaimerMessage {
    font-family: 'Source Sans Pro';
    font-weight: 500;
    font-size: 12px;
    color: black;
    text-decoration: none;
    line-height: 24px;
    vertical-align: middle;
}

.disclaimer {
    background: #f0f0f0;
    width: 100%;
    margin-bottom: 4px;
    text-align: center;
    border-radius: 4px;
}

.textInput {
    width:100%;
    font-size: 15px;
    font-weight: 300;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #dcdcdc;
}

.textInput:focus{
    outline: none;
    border:2px solid #004872;
}

.loader {
  border: 2px solid #e0e0e0;
  border-top: 2px solid #004872;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: spin 2s linear infinite;
  display: none;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.parentOfFloating {
    display: grid;
    grid-template-columns: 1fr;
}
.parentOfFloating div {
    grid-row-start: 1;
    grid-column-start: 1;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
    span.psw {
        display: block;
        float: none;
    }
    .cancelbtn {
        width: 100%;
    }
    .column {
        width: 100%;
        display: block;
        margin-bottom: 20px;
      }
}

.HolyGrailSnapshot {
    display: flex;
    flex-direction: column;
    height: 98%;
    width: 90%;
    min-width: 1024px;
    margin: auto;
}
.HolyGrailSnapshot_m {
    display: flex;
    flex-direction: column;
    width: 95%;
    margin: 8px;
    min-width: 1024px;
}

.SnapshotGrid {
    width: 100%;
    height: 100%;
}
.SnapshotRows {
    width: 100%;
    height: 2400px;
}

.HolyGrailInsight {
    display: flex;
    flex-direction: column;
    min-width: 1024px;
    width: 90%;
    margin: auto;
}
.HolyGrailInsight_m {
    display: flex;
    flex-direction: column;
    width: 95%;
    min-width: 1024px;
    margin: 8px;
}

.HolyGrail {
    display: flex;
    flex-direction: column;
    height: 98%;
    width: 85%;
    margin: auto;
}
.HolyGrail_m {
    display: flex;
    flex-direction: column;
    height: 98%;
    width: 95%;
    margin: auto;
}
.HolyGrail-header {
    flex: none;
}
.HolyGrail-leader {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
}
.HolyGrail-leaderGridFullPage {
    width: 100%;
    height: 100%; 
    position: relative; 
    flex:1; 
    display:flex
}
.HolyGrail-leaderRows {
    width: 100%;
    position: relative;
    flex:1;
    display:flex
}
.HolyGrail-footer {
    flex: none;
}
.HolyGrail-leader-first {
    order: -1;
}
.HolyGrail-leader-main {
    order: 0;
}
.HolyGrail-leader-last {
order: 0;
}

.card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  padding-top: 16px;
  padding-bottom: 16px;
  background-color: #f1f1f1;
}

.tick {
    color: #004872;
}
.cross {
    color: #ef4135;
}

.cencell {
    text-align: center;
}
.leftcell {
    text-align: left;
    padding-left:16px;
    padding-top:6px;
    padding-bottom:6px;
}

.altrow {
    background-color: #e1e1e1;
}
.altrow2 {
    background-color: #f1f1f1;
}



@media (min-width: 300px) {
    .HolyGrail-leader {
        flex-direction: row;
    }
    .HolyGrail-leader-first {
        flex: 0 0 12em;
    }
    .HolyGrail-leader-main {
        flex: 1;
    }
    .HolyGrail-leader-last {
        flex: 0 0 12em;
    }
}



.time-scales {
  display: flex;
  width: 260px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  z-index: 1;
  font-size: 12px;
  border: 1px solid #004872;
  border-radius: 3px;
  color: #004872;
  height:32px;
}
.time-scales > input {
  display: none;
}
.time-scales > input:checked + label {
  color: #fff;
}
.time-scales > input:nth-of-type(1):checked ~ label:last-of-type:before {
  transform: translateX(calc(0%));
}
.time-scales > input:nth-of-type(2):checked ~ label:last-of-type:before {
  transform: translateX(calc(100%));
}
.time-scales > input:nth-of-type(3):checked ~ label:last-of-type:before {
  transform: translateX(calc(200%));
}
.time-scales > input:nth-of-type(4):checked ~ label:last-of-type:before {
  transform: translateX(calc(300%));
}
.time-scales label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  height:100%;
}
.time-scales label:last-of-type:before {
  content: "";
  display: block;
  max-width: calc(25%);
  margin: 0px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transform: translateX(0);
}
.time-scales label {
  padding: 6px 0px;
  transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.time-scales label:before {
  background: #004872;
  transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.time-scales label:not(:last-child) {
  border-right: 1px solid #004872;
}


.time-scales-less {
  display: flex;
  width: 260px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  z-index: 1;
  font-size: 12px;
  border: 1px solid #004872;
  border-radius: 3px;
  color: #004872;
  height:32px;
}
.time-scales-less > input {
  display: none;
}
.time-scales-less > input:checked + label {
  color: #fff;
}
.time-scales-less > input:nth-of-type(1):checked ~ label:last-of-type:before {
  transform: translateX(calc(0%));
}
.time-scales-less > input:nth-of-type(2):checked ~ label:last-of-type:before {
  transform: translateX(calc(100%));
}
.time-scales-less > input:nth-of-type(3):checked ~ label:last-of-type:before {
  transform: translateX(calc(200%));
}
.time-scales-less label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  height:100%;
}
.time-scales-less label:last-of-type:before {
  content: "";
  display: block;
  max-width: calc(33.33%);
  margin: 0px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transform: translateX(0);
}
.time-scales-less label {
  padding: 6px 0px;
  transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.time-scales-less label:before {
  background: #004872;
  transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.time-scales-less label:not(:last-child) {
  border-right: 1px solid #004872;
}

.snapshot-type {
  display: flex;
  width: 120px;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  z-index: 1;
  font-size: 12px;
  border: 1px solid #004872;
  border-radius: 3px;
  color: #004872;
  height:32px;
}
.snapshot-type > input {
  display: none;
}
.snapshot-type > input:checked + label {
  color: #fff;
}
.snapshot-type > input:nth-of-type(1):checked ~ label:last-of-type:before {
  transform: translateX(calc(0%));
}
.snapshot-type > input:nth-of-type(2):checked ~ label:last-of-type:before {
  transform: translateX(calc(100%));
}
.snapshot-type label {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  height:100%;
}
.snapshot-type label:last-of-type:before {
  content: "";
  display: block;
  max-width: calc(50%);
  margin: 0px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  transform: translateX(0);
}
.snapshot-type label {
  padding: 6px 0px;
  transition: color 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.snapshot-type label:before {
  background: #004872;
  transition: all 250ms cubic-bezier(0, 0.95, 0.38, 0.98);
}
.snapshot-type label:not(:last-child) {
  border-right: 1px solid #004872;
}
