body {
   margin: 0;
}

.disabled a,
a.disabled {
    pointer-events: none;
}

a:hover {
    color: #2e6e9e;
}

a {
    color: #2e6e9e;
}

.side-nav {
	//margin: 20px 0px 10px 0px;
}

.side-nav li a:not(.button) {
    color: #2e6e9e;
}

.side-nav li a:not(.button):hover {
    color: #2e6e9e;
}

header {
    background-color: #D33C44;
    color: #ffffff;
    font-size: 30px;
    height: 84px;
    line-height: 64px;
    padding: 16px 0px;
    box-shadow: 0px 1px rgba(0, 0, 0, 0.24);
}

header .header-title {
    padding-left:80px
}

legend {
    color:#2e6e9e;
}

.row {
    //max-width: 80rem;
}

.actions.columns {
    //margin-top:1rem;
    margin-top: 10px;
    border-left: 5px solid #2e6e9e;
    padding-left: 15px;
    padding: 32px 20px;
}

.actions.columns h3 {
    color:#2e6e9e;
}

.related table {
    border: 0;
    //width: 100%;
    table-layout: fixed;
}

.index table thead {
    //height: 3.5rem;
    height: 20px;
}

.header-help {
    float: right;
    //margin-right:2rem;
    margin-right: 15px;
    margin-top: -80px;
    font-size:16px;
}

.header-help span {
    font-weight: normal;
    text-align: center;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    #padding: 0.25rem 0.5rem 0.375rem;
    padding: 2.5px 5px 3.75px;
    //font-size: 0.8rem;
    font-size: 10px;
    background-color: #0097a7;
    color: #FFF;
    border-radius: 1000px;
}

.header-help a {
    color: #fff;
}

ul.pagination li a {
    color: rgba(0, 0 ,0 , 0.54);
}

ul.pagination li.active a {
    background-color: #DCE47E;
    color: #FFF;
    font-weight: bold;
    cursor: default;
}
ul.pagination .disabled:hover a {
    background: none;
}

.paginator {
    text-align: center;
}

.paginator ul.pagination li {
    float: none;
    display: inline-block;
}

.paginator p {
    text-align: right;
    color: rgba(0, 0 ,0 , 0.54);
}

.asc:after {
    content: " \2193";
}
.desc:after {
    content: " \2191";
}

.form .error-message {
    display: block;
    //padding: 0.375rem 0.5625rem 0.5625rem;
    padding: 3.75px 5.625px 5.625px;
    margin-top: -1px;
    //margin-bottom: 1rem;
    margin-bottom: 10px;
    //font-size: 0.75rem;
    font-size: 10px;
    font-weight: normal;
    font-style: italic;
    color: rgba(0, 0, 0, 0.54);
}

.required > label {
    font-weight: bold;
}
.required > label:after {
    content: ' *';
    color: #C3232D;
}

select[multiple] {
    min-height:150px;
    background: none;
}
input[type=checkbox],
input[type=radio] {
    margin-right: 0.5em;
}

.date select,
.time select,
.datetime select {
    display: inline;
    width: auto;
    margin-right: 10px;
}

.error label,
.error label.error {
    color: #C3232D;
}

.view h2 {
    color: #6F6F6F;
}

.view .columns.strings {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    //margin-right:0.7rem;
    margin-right: 7px;
}

.view .numbers {
    background-color: #B7E3EC;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    //margin-right: 0.7rem;
    margin-right: 7px;
}

.view .columns.dates {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    //margin-right:0.7rem;
    margin-right: 7px;
    background-color:#DCE47E;
    color: #fff;
}

.view .columns.booleans {
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    //margin-right:0.7rem;
    margin-right: 7px;
    background-color: #8D6E65;
    color: #fff;
}

.view .strings p {
    border-bottom: 1px solid #eee;
}
.view .numbers .subheader, .view .dates .subheader {
    color:#747474;
}
.view .booleans .subheader {
    color: #E9E9E9
}

.view .texts .columns {
    //margin-top:1.2rem;
    margin-top: 12px;
    border-bottom: 1px solid #eee;
}

/** Notices and Errors **/
.cake-error,
.cake-debug,
.notice,
p.error,
p.notice {
    display: block;
    clear: both;
    background-repeat: repeat-x;
    margin-bottom: 18px;
    padding: 7px 14px;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
}

.cake-debug,
.notice,
p.notice {
    color: #000000;
    background: #ffcc00;
}

.cake-error,
p.error {
    color: #fff;
    background: #C3232D;
}

pre {
    background: none repeat scroll 0% 0% #FFF;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin: 15px 0px;
    color: rgba(0, 0 ,0 , 0.74);
    padding:5px;
}

.cake-error .cake-stack-trace {
    margin-top:10px;
}

.cake-stack-trace code {
    background: inherit;
    border:0;
}

.cake-code-dump .code-highlight {
    display: block;
    background-color: #FFC600;
}

.cake-error a,
.cake-error a:hover {
    color:#fff;
    text-decoration: underline;
}

.checks {
    padding:30px;
    color: #626262;
    background-color: #B7E3EC;
    border-radius: 3px;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.24);
    margin-bottom: 2em;
}

.checks h4 {
    //margin-bottom: 1.5rem;
    margin-bottom: 15px;
}

.checks hr {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.checks .success,
.checks .problem {
    margin-left: 10px;
}
.checks .success:before,
.checks .problem:before {
    line-height: 0px;
    font-size: 28px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
}

.checks .success:before {
    content: "✓";
    color: green;
    margin-right: 9px;
}

.checks .problem:before {
    content: "✘";
    color: red;
    margin-right: 9px;
}

.top-bar.expanded .title-area {
    background-image: url('/webroot/img/poolBackground.png?v=20191114');
    background-color: #2e6e9e;
    position: relative;
    //background-size: cover;
    background-position: left top;
    background-repeat: no-repeat;
    //background-size: 100% auto;
    height: 82px;
}

.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
    background: #ffffff;
}

.top-bar-section li:not(.has-form) a:not(.button):hover {
    background-color: #308e97;
    background: #308e97;
}

.side-nav li.heading {
    color: #2e6e9e;
    //font-size: 0.875rem;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    //padding: 0.4375rem 0.875rem;
    padding: 4.375px 8.75px;
}

#actions-sidebar {
    //background: #fafafa;
}

.index table {
    //margin-top: 0rem;
    margin-top: 0px;
    border: 0;
    //width: 100%;
    table-layout: fixed;
}

table {
    background: #fff;
    //margin-bottom: 1.25rem;
    margin-bottom: 20px;
    border: none;
    table-layout: fixed;
    //width: 100%;
}

table thead {
    background: none;
}

table tr {
    border-bottom: 1px solid #ebebec;
}

table thead tr {
    border-bottom: 1px solid #2e6e9e;
}

table tr th {
    padding: 5px 15px 0 0;
    font-size: 0.875rem;
    color: #2e6e9e;
    text-align: left;
    border-bottom: 2px solid #2e6e9e;
}

table tr:nth-of-type(even) {
    //background: none;
}

fieldset {
    border: none;
    padding: 1.25rem;
    margin: 1.125rem 0;
}

fieldset legend {
    border-bottom: 2px solid #2e6e9e;
    width: 100%;
    line-height: 2rem;
}

.form button[type="submit"] {
    float: left;
    text-transform: uppercase;
    box-shadow: none;
}

.form button:hover, .form button:focus {
    background: #BE840B;
    box-shadow: none;
}

//button {
  // background: #966600;
//}

div.message {
    text-align: center;
    cursor: pointer;
    display: block;
    font-weight: normal;
    padding: 0 1.5rem 0 1.5rem;
    transition: height 300ms ease-out 0s;
    background-color: #a0d3e8;
    color: #626262;
    top: 15px;
    right: 15px;
    z-index: 999;
    overflow: hidden;
    height: 50px;
    line-height: 2.5em;
}

div.message:before {
    line-height: 0px;
    font-size: 20px;
    height: 12px;
    width: 12px;
    border-radius: 15px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    position: relative;
    left: -11px;
    background-color: #FFF;
    padding: 12px 14px 12px 10px;
    content: "i";
    color: #a0d3e8;
}

div.message.error {
    background-color: #C3232D;
    color: #FFF;
}

div.message.error:before {
    padding: 11px 16px 14px 7px;
    color: #C3232D;
    content: "x";
}
div.message.hidden {
    height: 0;
}


.vertical-table th {
    padding: 0.5625rem 0.625rem;
    font-size: 0.875rem;
    color: #2e6e9e;
    border: none;
    text-align: left;
}

.vertical-table {
    vertical-align: middle;
}

.vertical-table td {
    text-align: right;
}

.content {
    padding: 10px 20px;
}

/* Use 'one true layout' methods to get equal height columns */
.container {
//    overflow: hidden;
    min-height: 92%; /* full height almost always */
    display: unset;
}

/* Force equal height by overflowing */
.content,
#actions-sidebar {
    //margin-bottom: -99999px;
    //padding-bottom: 99999px;
}
@media(max-width: 640px) {
    #actions-sidebar {
        //padding-bottom: 2rem;
        padding: 15px 15px;
        margin-bottom: 0;
        font-size: 18px;
        font-weight: bold;
    }
}

h3 {
    //color: #e17009;
    color: #2e6e9e;
}

.content h3 {
    //color: #e17009;
    color: #2e6e9e;
    padding-bottom: 0.5rem;
    //margin-bottom: 20px;
    margin: 0;
}

.content h4 {
    //color: #e17009;
    color: #2e6e9e;
    padding-bottom: 0.5rem;
    margin-bottom: 20px;
    border-bottom: 2px solid #e17009;
}

.content .related h4 {
    color: #4d8f97;
    padding-bottom: 0.5rem;
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 0px;
}

table td {
    padding: 5px 15px 0 0;
    vertical-align: middle;
    //word-break: break-all;
    width: auto;
}

.site-title {
    text-transform: uppercase;
    padding-top: 30px;
    padding-left: 25px;
    font-family: "Lato", sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: white;
    text-align: left;
}

#team-standings-button,
#player-standings-button,
#team-matches-button,
#teams-button,
#schedule-button,
#players-button,
#ranks-button,
#venues-button,
#seasons-button,
#games-button,
#users-button,
#bonus-payouts-button {
    width: 140px;
    margin: 0 auto;
    display: block;
}

#rack-1-win-type-controlgroup span.ui-button,
#rack-2-win-type-controlgroup span.ui-button,
#rack-3-win-type-controlgroup span.ui-button,
#rack-4-win-type-controlgroup span.ui-button,
#rack-5-win-type-controlgroup span.ui-button,
#rack-6-win-type-controlgroup span.ui-button,
#rack-7-win-type-controlgroup span.ui-button,
#rack-8-win-type-controlgroup span.ui-button,
#rack-9-win-type-controlgroup span.ui-button,
#rack-10-win-type-controlgroup span.ui-button,
#rack-11-win-type-controlgroup span.ui-button {
    width: 4em;
}

#rack-1-controlgroup span.ui-button,
#rack-2-controlgroup span.ui-button,
#rack-3-controlgroup span.ui-button,
#rack-4-controlgroup span.ui-button,
#rack-5-controlgroup span.ui-button,
#rack-6-controlgroup span.ui-button,
#rack-7-controlgroup span.ui-button,
#rack-8-controlgroup span.ui-button,
#rack-9-controlgroup span.ui-button,
#rack-10-controlgroup span.ui-button,
#rack-11-controlgroup span.ui-button {
    width: 10em;
}

#game-select-button {
    width: 6em;
}

tr.bg-row-color {
    background: #c5dbec;
}

tr.expired-row-color {
    background: darkgrey;
}

td.season-value {
    text-align: left;
}

nav#actions-sidebar {
    //background: #2e6e9e;
    //color: #ffffff;
    padding: 0 0 0 0px;
}

#nav-table a {
    text-decoration: none;
}

#menu {
  overflow : hidden;
  //width : 500px;
  width : auto;
  padding-top: 5px;
}

#menu > li {
  float : left;
  //width : 100px !important;
  width : auto !important;
}

#menu .ui-menu {
  //width : 200px;
  width : auto;
}

#menu li.ui-menu-item {
    margin-right: 10px;
}

#menu li.ui-menu-item a,
#menu li {
    color: #2e6e9e;
    font-weight: bold;
    text-decoration: none;
}

#schedule-table {
    cellspacing: 0;
    cellpadding: 0;
    border: 5px;
}

.index.content {
    margin: 0 auto;
    width: fit-content;
}

footer {
    display: block;
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}

#caption {
    font-style: italic;
    font-size: 12px;
    text-align: center;
}
