/* Initial style for table generated at http://tablestyler.com/# */

/* Mobile screen sizes */

body {
  background-image: url('wood-1024.jpg');
  font: normal 20px/200% Arial, Helvetica, sans-serif;
}

.datagrid {
  width: 100%;
  min-width: 400px;
  max-width: 400px;
  margin: 0 auto;
}

table {
  width: 100%;
}

.title {
  font-size: 38px;
  margin: 2px;
  padding: 2px;
  text-align: center;
  text-shadow: 0px 4px 3px rgba(0,0,0,0.4),
  0px 8px 13px rgba(0,0,0,0.1),
  0px 18px 23px rgba(0,0,0,0.1);
}

.loader {
  opacity: 0.2;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('standings-viewer-loader.gif') 50% 50% no-repeat rgb(100,100,100);
}

a {
  font-size: 125%;
  text-decoration: none !important;
  color: #00557F;
}

input[type=text] {
  width: 90%;
  padding: 6px;
  margin: 0 auto;
  display: inline-block;
  border: 1px solid #006699;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  display: inline-block;
  border: 1px solid #006699;
  border-radius: 4px;
  box-sizing: border-box;
  background: #00557F;
  font-size: 20px;
  margin: 2px;
  padding: 6px;
  text-align: center;
  color: white;
}

.datagrid table {
  border-collapse: collapse;
  text-align: left;
}

.datagrid {
  background: rgba(255,255,255,0.9);
  overflow: hidden;
  border: 3px solid #006699;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border-radius: 18px;
}

.datagrid table td, .datagrid table th {
  padding: 5px;
}

.datagrid table thead th {
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );
  background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
  background-color:#006699;
  color:#FFFFFF;
  font-weight: bold;
  border-left: 3px solid #0070A8;
}

.datagrid table thead th:first-child {
  border: none;
}

.datagrid table tbody td {
  color: #00557F;
  border-left: 3px solid #E1EEF4;
  font-weight: normal;
}

.datagrid table tbody .alt td {
  background: #E1EEf4;
  color: #00557F;
}

.datagrid table tbody td:first-child {
  border-left: none;
}

.datagrid table tbody tr:last-child td {
  border-bottom: none;
}

.datagrid table tfoot td div {
  border-top: 3px solid #006699;
  background: #E1EEf4;
}

.datagrid table tfoot td {
  padding: 0;
}

.datagrid table tfoot td div{
  padding: 2px;
}

.datagrid table tfoot td ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: right;
}

.datagrid table tfoot  li {
  display: inline;
}

.datagrid table tfoot li a {
  text-decoration: none;
  display: inline-block;
  padding: 2px;
  margin: 1px;
  color: #FFFFFF;
  border: 3px solid #006699;
  -webkit-border-radius: 18px;
  -moz-border-radius: 18px;
  border-radius: 18px;
  background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #006699), color-stop(1, #00557F) );
  background:-moz-linear-gradient( center top, #006699 5%, #00557F 100% );
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#006699', endColorstr='#00557F');
  background-color:#006699;
}

.datagrid table tfoot ul.active, .datagrid table tfoot ul a:hover {
  text-decoration: none;
  border-color: #00557F;
  color: #FFFFFF;
  background: none;
  background-color:#006699;
}

div.dhtmlx_window_active, div.dhx_modal_cover_dv {
  position: fixed !important;
}



/* Larger Mobile / Tablet / Desktop screen sizes */

@media all and (min-width: 700px) {
  .datagrid {
    max-width: 500px;
  }
}

@media all and (min-width: 850px) {
  .datagrid {
    max-width: 600px;
  }
}

@media all and (min-width: 1000px) {
  .datagrid {
    max-width: 700px;
  }
}

@media all and (min-width: 1200px) {
  .datagrid {
    max-width: 800px;
  }
}
