html, body {
	font-family: 'Lato', 'Helvetica', sans-serif;
}

li.nav-item {
    margin-left: 10px;
    margin-right: 10px;
}

.jumbotron {
  padding-top: 3rem;
  padding-bottom: 3rem;
  margin-bottom: 0;
  background-color: #2B3E50;
}
@media (min-width: 768px) {
  .jumbotron {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron h1 {
  font-weight: 300;
}

.jumbotron .container {
  max-width: 40rem;
}

footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

footer p {
  margin-bottom: .25rem;
}

.mdl-navigation__link > .mdl-list__item-avatar {
  height: 24px;
  width: 24px;
}

.mdl-navigation__link > .mdl-list__item-avatar > .fas {
  padding-left: 3px;
  padding-right: 2px;
  padding-top: 5px;
  vertical-align: text-bottom;
  font-size: 14px;
  display: block;
}

.poolparty-layout-transparent {
  background: url('https://source.unsplash.com/bClr95glx6k/1600x900') center / cover;
}
.poolparty-layout-transparent .mdl-layout__header,
.poolparty-layout-transparent .mdl-layout__drawer-button {
  /* This background is dark, so we set text to white. Use 87% black instead if
     your background is light. */
  color: white;
}

.poolparty-layout .poolparty-header .mdl-textfield {
  padding: 0px;
  margin-top: 41px;
}

.poolparty-layout .poolparty-header .mdl-textfield .mdl-textfield__expandable-holder {
  bottom: 19px;
}

.poolparty-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}

.poolparty-avatar-label {
    width: 120px;
    float: right;
}

.poolparty-avatar-label h6 {
    line-height: 48px;
    margin: 0 auto;
}

.poolparty-layout .poolparty-header .mdl-textfield {
  padding: 0px;
  margin-top: 41px;
}

.scrolling-wrapper {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;

  .card {
      display: inline-block;
  }
}

.scrolling-wrapper .card {
  display: inline-block;
  color: black;

}

.scrolling-wrapper-flexbox {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;

  .card {
    flex: 0 0 auto;
    margin-right: 3px;
  }
}

.card {
  border: 2px solid $red;
  width: 100px;
  height: 35px;
  background: white;
  text-align: center;
}

.scrolling-wrapper, .scrolling-wrapper-flexbox {
  height: 35px;
  margin-bottom: 20px;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  &::-webkit-scrollbar {
    display: none;
  }
}

/* from pools.scala.html*/
.poolparty-pool-list {
  width: 100%;
}
.mdl-list__item > .poolparty-actions {
  display: inline-block;
  vertical-align: middle;
}
.poolparty-actions > .poolparty-action {
  width: 120px;
  text-align: right;
  padding-top: 12px;

}
.mdl-list > .mdl-list__item > .mdl-list__item-primary-content > a > .mdl-list__item-avatar {
  height: 50px;
  width: 50px;
}
.mdl-list > .mdl-list__item > .mdl-list__item-primary-content > a > .mdl-list__item-avatar > .fas {
  padding-left: 5px;
  padding-right: 8px;
  vertical-align: text-bottom;
  font-size: 30px;
}

.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}

.poolparty-drawer {
  border: none;
}
/* iOS Safari specific workaround */
.poolparty-drawer .mdl-menu__container {
  z-index: -1;
}
.poolparty-drawer .poolparty-navigation {
  z-index: -2;
}
/* END iOS Safari specific workaround */
.poolparty-drawer .mdl-menu .mdl-menu__item {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}
.poolparty-drawer-header {
  box-sizing: border-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: block;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-justify-content: flex-end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  padding: 16px;
  padding-left: 40px;
}
.poolparty-avatar-dropdown {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}

.poolparty-navigation {
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
.poolparty-layout .poolparty-navigation .mdl-navigation__link {
  display: -webkit-flex !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-flex-direction: row;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  color: rgba(255, 255, 255, 0.56);
  font-weight: 500;
}
.poolparty-layout .poolparty-navigation .mdl-navigation__link:hover {
  background-color: #00BCD4;
  color: #37474F;
}
.poolparty-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.56);
  margin-right: 32px;
}

.poolparty-content {
  max-width: 1080px;
}

.poolparty-charts {
  -webkit-align-items: center;
      -ms-flex-align: center;
              -ms-grid-row-align: center;
          align-items: center;
}
.poolparty-chart:nth-child(1) {
  color: #ACEC00;
}
.poolparty-chart:nth-child(2) {
  color: #00BBD6;
}
.poolparty-chart:nth-child(3) {
  color: #BA65C9;
}
.poolparty-chart:nth-child(4) {
  color: #EF3C79;
}
.poolparty-graphs {
  padding: 16px 32px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
/* TODO: Find a proper solution to have the graphs
 * not float around outside their container in IE10/11.
 * Using a browserhacks.com solution for now.
 */
_:-ms-input-placeholder, :root .poolparty-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder, :root .poolparty-graph {
  max-height: 300px;
}
/* TODO end */
.poolparty-graph:nth-child(1) {
  color: #00b9d8;
}
.poolparty-graph:nth-child(2) {
  color: #d9006e;
}

.poolparty-cards {
  -webkit-align-items: flex-start;
      -ms-flex-align: start;
              -ms-grid-row-align: flex-start;
          align-items: flex-start;
  -webkit-align-content: flex-start;
      -ms-flex-line-pack: start;
          align-content: flex-start;
}
.poolparty-cards .poolparty-separator {
  height: 32px;
}
.poolparty-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.poolparty-cards ul {
  padding: 0;
}
.poolparty-cards h3 {
  font-size: 1em;
}
.poolparty-updates .mdl-card__title {
  min-height: 200px;
  background-image: url('images/dog.png');
  background-position: 90% 100%;
  background-repeat: no-repeat;
}
.poolparty-cards .mdl-card__actions a {
  color: #00BCD4;
  text-decoration: none;
}

.poolparty-options h3 {
  margin: 0;
}
.poolparty-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.poolparty-options ul {
  margin: 0;
  list-style-type: none;
}
.poolparty-options li {
  margin: 4px 0;
}
.poolparty-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.poolparty-options .mdl-card__actions {
  height: 64px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  box-sizing: border-box;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
}


input[type=date] {
  // Prevent overlap with date fields
  &::-webkit-datetime-edit-year-field:not([aria-valuenow]),
  &::-webkit-datetime-edit-month-field:not([aria-valuenow]),
  &::-webkit-datetime-edit-day-field:not([aria-valuenow]),
  &:invalid::-webkit-datetime-edit-text {
    color: transparent;
  }
}

.poolparty-datefield {
    bottom: 0;
    font-size: 16px;
    left: 0;
    right: 0;
    pointer-events: none;
    position: absolute;
    display: block;
    top: 0px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-align: left;
    color: rgba(0,0,0,.26);
}

.mdl-textfield__error {
    visibility: visible;
}

.mdl-data-table tbody tr {
	font-size: 12px;
}

.mdl-data-table th {
    font-size: 12px;
    font-weight: 400;
    color: darkgrey;
}


.poolparty .mdl-layout__content section:not(:last-of-type) {
    position: relative;
    margin-bottom: 48px;
}

.poolparty section.section--center {
    max-width: 860px;
}

.poolparty .login {
	display: block;
	padding-top: 50px;
}

i.mdl-list__item-avatar.material-icons {
	padding: 8px;
	font-size: 24px;
	color: orange;
}

.mdl-list__item-secondary-info .action {
	display: inline;
	padding: 8px;
	float: right;
} 

ul.poolparty-list-pools a, a:link, a:visited, a:hover {
	text-decoration: none;
	color: rgba(0,0,0,.54);
}

div.poolparty-actions.mdl-list__item-secondary-content {
	display: block;
	align-items: initial;
}

.poolparty-action {
	display: block;
	//float: left;
	padding-bottom: 6px;
}

.poolparty-pool {
	display: table-row;
	width: 100%;
}

.poolparty-pool-list {
	display: block;
}

.mdl-data-table.poolparty-pool-table {
	border-width: 0px;
	/*display: table; */
	  max-width: -moz-fit-content;
      max-width: fit-content;
      margin: 0 auto;
      overflow-x: auto;
      white-space: nowrap;
}

.poolparty-pick {
	display: table-row;
}

.poolparty-pick-picks {
	height: 400px;
}

.poolparty-pick-picks-left {
	float: left;
}

.poolparty-pick-picks-right {
	float: right;
}

.poolparty-pool .poolparty-pool-padding {
	width: 50%;
	display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0;
    text-align: center;
}

.poolparty-pool-header {
	width: 100%;
	vertical-align: middle;
}

.poolparty-pool-header-name {
	float: left;
}

.poolparty-pool-header-date {
	text-align: right;
	padding-top: 24px;
	vertical-align: middle;
}

.poolparty-pool-header-date > span {
    display: inline-flex;
    vertical-align: middle;
    line-height: 27px;
}

.poolparty-pool-description {
    margin-top: 24px;
    padding-left: 56px;
	padding-bottom: 20px;
}

.poolparty-pool-accepted.mdl-data-table__cell--non-numeric {
	text-align: center;
}

.poolparty-pool-mail.mdl-list__item-icon.material-icons {
	color: #A50B0B;
}

.poolparty-pool-verified.mdl-list__item-icon.material-icons {
	color: #0BA51F;
}

.poolparty-pool-winner.mdl-list__item-icon.material-icons {
	color: #0BA51F;
}

.poolparty-pool-admin.mdl-list__item-icon.material-icons {

    color: #0BA51F;
}

.poolparty-pool-edit-picks.mdl-list__item-icon.material-icons {
    color: #283593;
}

.poolparty-pool-lock-picks.mdl-list__item-icon.material-icons {
    color: #71000c;
}

.pick.mdl-list {
  font-size: 12px;
  display: table;
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.mdl-list__item.pick.pickItem {
    display: table-row;
    width: 100%;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: darkgray;
}


.mdl-list__item.pick.pickItem.sortable-chosen {
    background-color: #cccccc;
}

#picker {
    margin: 0 auto;
    display: block;
    width: 90%;
}

.mdl-list.pick.picklist-header {
    margin-block-end: 12px;
    margin-block-start: 12px;
    margin-inline-end: 0;
    margin-inline-start: 0;
    position: relative;
    letter-spacing: normal;
    line-height: 24px;
    min-height: 24px;
    padding-inline-start: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.picklist-header .pick.pickItem {
    font-weight: 400;
    color: darkgrey;
    text-align: left;
    border-top-width: 0;
}

.picklist-header .pick.pickLogo {
    padding: 0 0 0 20px;
}

.picklist-header .pick.pickHandle {
    width: 50px;
}

.picklist-header .pick.pickName {
}


.mdl-list__item-primary-content.pick {
  font-size: 12px;
  display: table-cell;
  vertical-align: middle;
}

.mdl-list__item-primary-content.pick.pickRank,  .mdl-list__item-primary-content.pick.pickOrdinal {
   width: 100px;
    padding: 0 12px;
    text-align: center;
}

.mdl-list__item-primary-content.pick.pickName {
    text-align: left;
    width: 250px;
    padding-left: 16px;
}

.mdl-list__item-primary-content.pick.pickLogo {
    padding-left: 20px;
    text-align: left;
}

.mdl-list__item-primary-content.pick.pickPoints {
    padding-right: 36px;
    text-align: center;
    width: 100px;
}

.mdl-list__item-primary-content.pick.pickHandle {
    text-align: center;
    margin: 0 auto;
    cursor: move;
    width: 50px;
}

.mdl-list__item-primary-content.pick.pickHandle .material-icons.mdl-list__item-icon {
    margin: 0 auto;
}

#pick-side-left {
    text-align: left;
    padding-left: 12px;
    color: rgba(0,0,0,.54);
}

#pick-side-left .poolparty-pool-header-name {
    float: none;
    padding-bottom: 24px;
}
#pick-side-left .poolparty-pool-header-admin {
    float: none;
    padding-top: 6px;
    padding-left: 18px;
    padding-bottom: 8px;
}

#pick-side-left .poolparty-pool-header-date {
    padding: 6px 0 6px 18px;
    text-align: left;
}

#pick-side-left i {
    margin-right: 10px;
}

//.mdl-grid .picklist div {
//    text-align: center;
//    display: flex;
//    justify-content: center;
//}

#pick-side-left .poolparty-pool-header-updated  {
    padding: 6px 0 6px 18px;
    vertical-align: middle;
    text-align: left;
}


#pick-side-left .poolparty-pool-header-date i {
    color: blue;
}

#pick-side-left .poolparty-pool-header-updated i {
    color: crimson;
}

#pick-side-left .poolparty-pool-header-admin  i {
    color: green;
}

#pick-side-left .poolparty-pool-header-updated > span {
    display: inline-flex;
    vertical-align: middle;
    line-height: 27px;
}

.poolparty-pool-card-wrapper {
	padding: 0 40px 40px;
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    margin: 0;
}

.poolparty-card-square.mdl-card {
  width: 320px;
  height: 320px;
}
.poolparty-card-square > .mdl-card__title {
  color: #eee;
  background:
    url('../img/mask.png') center no-repeat rgb(255,171,64);
}

.home {
	color: white;
}

.score {
    width: 90%;
    margin: auto;
    padding: 10px;
/*    overflow-x: auto;*/
}
div.div1 {
    width: 55%;
    margin-right: 3%;
    float: left;
    padding: 30px;
    }
    
table.mdl-data-table {
	display: block;
	overflow: auto;
	width: 100%;
}

div.div2 {
	margin-top: 30px;
	background-color: white;
	padding: 30px;
    height: 100%;
    overflow:hidden;
}

.div2#ul {
	width: 95%;
}

.mdl-list-item {
  cursor: move;
  cursor: -webkit-grabbing;
}

#pickList {
  border: 2px dashed #f60;
  min-height: 100px;
  position: relative;
  width: 460px;
}

#picklist {
  min-height: 100px;
  position: relative;
}

#teamList {
  border: 2px dashed #f60;
  min-height: 100px;
  position: relative;
  width: 460px;
}

#pickList::before {
  color: #ccc;
  font-size: 40px;
  content: 'Picks';
  display: block;
  text-align: center;
  padding-top: 10px;
}

#email_field > dd.error {
  color: red;
  font-size: 11px;
  font-style: italic;
}

.poolparty-list-item {
    vertical-align: middle;
}

.poolparty-list-rank {
    padding-right: 12px;
    padding-left: 16px;
    vertical-align: middle;

}

.poolparty-list-icon {
    padding-top: 4px;
    padding-bottom: 4px;
     padding-right: 12px;
     padding-left: 16px;
}

.poolparty-list-item-span {
    margin-top: 8px;
    margin-bottom: 8px;
    padding-left: 12px;
    display: inline-block;
    vertical-align: middle;
    width: 360px;
}

.poolparty-list-delete {
    vertical-align: middle;
}

.poolparty-footer-icon {
    padding-left: 12px;
}

th.rotate {
  /* Something you can count on */
  height: 100px;
  white-space: nowrap;
}

th.rotate > div {
  transform:
    /* Magic Numbers */
    translate3d(20px, 1px, 0) rotate(-55deg);
    /*translate(25px, 51px)
     45 is really 360 - 45
    rotate(315deg); */
  width: 10px;
  box-sizing: border-box;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
  box-sizing: border-box;
  transform-origin: left bottom;
  display: inline-block;
}

.ppb {
  border-right: 1px solid rgba(0,0,0,.12);
  text-align: center;
}

.pp-grid {
  height: 30px;
}

.poolparty-pool-header-name > .mdl-list__item-avatar {
  height: 50px;
  width: 50px;
  vertical-align: -7px;
  margin-right: 4px;
}
.poolparty-pool-header-name > .mdl-list__item-avatar > .fas {
  padding-left: 5px;
  padding-right: 8px;
  vertical-align: text-bottom;
  font-size: 30px;
}

.poolparty-pool-header-name  > h4 {
  display: inline-block;
}

.poolparty-poolies {
  width: 100%;
}

.poolparty-poolies-input {
  float: left;
  width: 85%;
}

.poolparty-poolies-delete {
  color: gray;
  cursor: pointer;
}

.mdl-mini-footer {
  margin: 4px 0;
  padding: 8px 0;
}

.poolparty-pool #fab {
  float:right;
}

.score .div1 thead .mdl-data-table__cell--non-numeric h6{
    text-align: center;
    margin: 0;
}

.poolparty-drawer .mdl-navigation__link .material-icons {
    font-size: 24px;
    margin-right: 18px;
}



#pools .mdl-data-table__cell--non-numeric .fas.fa-swimming-pool.mdl-color-text--white {
    font-size: 24px;
    padding: 8px 4px;
    height: 35px;
    display: block;
}}



.table-responsive {
    min-height: .01%;
    overflow-x: auto;
}
@media screen and (max-width: 767px) {
    .table-responsive {
        width: 100%;
        margin-bottom: 15px;
        overflow-y: hidden;
        -ms-overflow-style: -ms-autohiding-scrollbar;
        border: 1px solid #ddd;
    }
    .table-responsive > .table {
        margin-bottom: 0;
    }
    .table-responsive > .table > thead > tr > th,
    .table-responsive > .table > tbody > tr > th,
    .table-responsive > .table > tfoot > tr > th,
    .table-responsive > .table > thead > tr > td,
    .table-responsive > .table > tbody > tr > td,
    .table-responsive > .table > tfoot > tr > td {
        white-space: nowrap;
    }
    .table-responsive > .table-bordered {
        border: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:first-child,
    .table-responsive > .table-bordered > tbody > tr > th:first-child,
    .table-responsive > .table-bordered > tfoot > tr > th:first-child,
    .table-responsive > .table-bordered > thead > tr > td:first-child,
    .table-responsive > .table-bordered > tbody > tr > td:first-child,
    .table-responsive > .table-bordered > tfoot > tr > td:first-child {
        border-left: 0;
    }
    .table-responsive > .table-bordered > thead > tr > th:last-child,
    .table-responsive > .table-bordered > tbody > tr > th:last-child,
    .table-responsive > .table-bordered > tfoot > tr > th:last-child,
    .table-responsive > .table-bordered > thead > tr > td:last-child,
    .table-responsive > .table-bordered > tbody > tr > td:last-child,
    .table-responsive > .table-bordered > tfoot > tr > td:last-child {
        border-right: 0;
    }
    .table-responsive > .table-bordered > tbody > tr:last-child > th,
    .table-responsive > .table-bordered > tfoot > tr:last-child > th,
    .table-responsive > .table-bordered > tbody > tr:last-child > td,
    .table-responsive > .table-bordered > tfoot > tr:last-child > td {
        border-bottom: 0;
    }
}

/* cut and pasted from home.scala.html
.mdl-button > .fas {
  padding-right: 7px;
}
.splash,
.splash > .mdl-cell,
.splash > .mdl-cell > .mdl-cell--8-col {
text-align: center;
}

.splash .mdl-data-table {
    padding-left: 8px;
    width: 195px;
}
.splash .mdl-data-table tr {
 height: 35px;
}
.splash .mdl-data-table th {
font-size: 11px;
padding: 2px 6px;
height: unset;
}
.splash .mdl-data-table td {
font-size: 11px;
padding: 2px 6px;
height: unset;
word-wrap: break-word;
max-width: 130px;
white-space: normal;
}

.score {
 padding-top: 0;
}

.splash .pools .mdl-data-table {
    padding-left: 8px;
    width: 225px;
    table-layout: fixed;
}
.pools .score .div1 {
 text-align: center;
 float: left;
 padding-top: 0;
 margin-right: unset;
 margin-left: 3%;
 padding-left: 10px;
 padding-right: 20px;
 width: 89%;
}

.splash .mdl-data-table td.pool-name {
  width: 130px;
}

.pools .score .div1 .mdl-color--indigo-800.material-icons.mdl-list__item-avatar {
  height: 28px;
  width: 28px;
  font-size: 16px;
  text-align: center;
  padding-top: 4px;

}

.teams .score .div1 {
 text-align: center;
 float: right;
 padding-top: 0;
 margin-right: 3%;
 margin-left: unset;
 width: 90%;
}

.splash .mdl-cell.mdl-cell--7-col {
padding-right: 12px;
}

.poolparty .mdl-grid {
max-width: 1380px;
}

.div1 table {
  margin: 0 auto;
}

.div1 h6 {
margin: 0;
}
*/