/*
-----------------------------------------------
Grey Box Method - Layout CSS
----------------------------------------------- */

html {
  min-height: 100%;
  display: flex;
}

body {
  background: #ddd;
  color: #224;
  font: 11px sans-serif;
  padding: 0px;
  display: flex;
  flex: 1;
}

body.training_log {
  padding: 0px;
  position: absolute;
  height: 100%;
  width: 100%;
  background: #fafafa;
}

.horizontal {
  display: flex;
  flex-direction: row;
}

paper-toolbar {
  height: 77px;
/*   overflow: hidden !important; */
  background: #555557 !important;
}

paper-toolbar h1 {
  font-weight: normal;
  font-size: 2.5em;
  float: left;
  padding-top: 12px;
}

paper-toolbar img {
  float: right;
}

paper-toolbar paper-icon-button {
  animation: opacity 1s ease-in;
}

paper-dialog {
  padding-left: 24px;
  max-height: 500px !important;
}

paper-dialog div.buttons {
  padding-right: 0px;
}

paper-dialog-scrollable > p, paper-dialog-scrollable > paper-input {
  padding-right: 24px;
}

iron-overlay-backdrop {
  opacity: 0.4 !important;
}

paper-menu {
  border: 1px solid #e5e5e5;
  font-size: 15px;
}

paper-item.header {
  font-size: 14px;
  font-weight: bold;
}

paper-item.selected {
  background: #fafafa;
  font-weight: bold;
}

paper-item.header span.no {
  margin-left: -2px;
}

paper-item .no {
  display: inline-block;
  width: 21px;
  text-align: right;
  margin-right: 19px;
}

paper-item .number {
  display: inline-block;
  width: 46px;
  text-align: right;
}

paper-item .date {
  display: inline-block;
  width: 87px;
}

paper-item .trainer {
  display: inline-block;
  width: 143px;
}

paper-item .signature {
  display: inline-block;
  width: 102px;
}

paper-fab {
  position: fixed;
  bottom: 16px;
  right: 16px;
}

.training_log #traininglogs_page {
  width: 784px;
}

.centered {
  width: 1024px;
  margin: auto;
  text-align: left;
}

.hidden {
  opacity: 0;
}

fieldset {
  background: none !important;
}

fieldset .paper-input-container-0 .floated-label-placeholder.paper-input-container {
  display: none;
}

/* anchors
----------------------------------------------- */
a, .a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  color: #333;
}

hr {
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 0 0;
  clear: both;
  height: 0;
}

#clients_table > div {
  width: 100%;
  padding: 9px;
  float: left;
  box-sizing: border-box;
}

#clients_table paper-material, #client_info {
  padding: 10px 7px;
}

#clients_table paper-material {
  width: 100%;
  float: left;
  cursor: pointer;
  box-sizing: border-box;
}

@media all and (min-width: 540px) {
  #clients_table > div {
    width: 50%;
  }
}
@media all and (min-width: 800px) {
  #clients_table > div {
    width: 33%;
  }
}
@media all and (min-width: 1100px) {
  #clients_table > div {
    width: 25%;
  }
}

/* =Spacing
----------------------------------------------- */

ol {
  list-style: decimal;
}

ul {
  list-style: square;
}

li {
  margin-left: 30px;
}

p, dl, hr, h1, h2, h3, h4, h5, h6, ol, ul, pre, table, address, fieldset {
  margin-bottom: 20px;
}

#mainContainer {
  background: #fafafa;
}

.training_log #search {
  float: right;
  margin-right: 12px;
}

#search div.underline > div {
  background: #fafafa;
}

#search input {
  color: #fafafa;
}

#search_icon {
  float: right;
  top: 30px;
  right: 7px;
}

/* headings
----------------------------------------------- */
h1, h2, h3, h4, h5 {
  line-height:1.2em;
  margin-bottom:.3em;
}

h1 {
  font-size: 25px;
}

h2 {
  font-size: 23px;
}

h2 {
  margin-top:1em;
}

h3 {
  font-size:1.8em;
}

h4 {
  font-size:1.5em;
}

h4.age {
  font-size: 1.4em;
}

h5 {
  font-size:1.2em;
}

.bold {
  font-weight: bold;
}

/* branding (header)
----------------------------------------------- */

#branding {
  background: #454547;
  padding: 0em 0em;
  margin-bottom: 1px;
  height: 150px;
  margin-top: 1px;
  width: calc(100% - 2px);
}

#branding h1{
  font-weight: normal;
  font-size: 2.5em;
  text-align: left;
  margin: 3.5em 0em 0em 0.4em;
  float: left;
  color:#ffffff;
}

#branding .logo { 
  margin: 0;
  float: right;
}

/* boxes
----------------------------------------------- */

#main_container div[data-role='content'] {
/*   box-shadow: -1px 6px 15px rgba(191, 191, 191, 0.2); */
  margin-right: 1px;
  flex: 1;
}

.training_log div[data-role='content'] {
  box-shadow: none;
  float: left;
}

.box {
  padding-bottom: 20px;
  padding: 10px 0px 1px 0px;
}

.box h2 {
  font-size: 1em;
/*  font-weight: normal; */
  text-transform: uppercase;
  background: #fdfffd;
  color: black;
  margin-left: 0px;
  margin-top: -10px;
  padding: 6px 7px;
  border-bottom: 1px solid #777;
  letter-spacing: 1px;
}

.box.fieldset h2 {
  margin: 0;
}

.training_log .box h2 {
  margin-bottom: 10px;
}

.block {
  padding-top: 10px;
}

#distribute_medical_clearance_form .box span {
  display: inline-block;
  width: 90px;
}

/* paragraphs, quotes and lists
----------------------------------------------- */

p, div[data-role='fieldcontain'] {
  margin-bottom: 1em;
}

ul, ol {
  padding-top: 0;
}

/* menus (for list item & section menu)
----------------------------------------------- */

ul[data-role="listview"] {
  list-style: none;
  box-shadow: 1px 1px 15px rgba(191, 191, 191, 0.3);
}

ul[data-role="listview"] li {
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  display: block;
  padding: 5px 11px;
  border-bottom: 1px solid #ededed;
  letter-spacing: 0.6px;
  min-height: 28px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

ul[data-role="listview"] li[data-role="list-divider"] {
  text-transform: uppercase;
  cursor: default;
  background: #fdfffd !important;
  color: black;
  border-bottom: 1px solid #999;
  padding-left: 11px;
  font-weight: bold;
  font-size: 11px;
  letter-spacing: 1px;
}

ul[data-role="listview"] li:active {
  background: #ccc;
}

/* section menus
----------------------------------------------- */

ul[data-role="listview"] li {
  transition: background 250ms;
  color: #222;
  display: flex;
}

ul[data-role="listview"] li:hover {
  background:#d4eba4;
  transition: background 150ms;
}

/* table basic 
----------------------------------------------- */

table {
  width: 100%;
  border: 1px solid;
  border-color: #d7dbd7 #e7e7e7;
  margin-bottom: 20px;
}

col.col-sm {
  width: 3em;
}

th, td {
  padding: 5px 1em;
  text-align: left;
  border-bottom: 1px solid #ddd;
  background: #fafafa;
  transition: background 250ms;
}

th {
  background: #e7ebe7;
  font-weight: bold;
}

thead th {
  border-bottom: 1px solid #888;
}
tfoot th {
  border-top: 2px solid #666;
  background: #eee;
}

/* table styling
----------------------------------------------- */

table.clients tr:hover td {
  background: #effdd0;
  transition: background 150ms;
}

.box-table-borderall td, .box-table-borderall th {
  border: 1px solid #bbb;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

td.green {
  background: #d4eba4;
}

th.darkgrey {
  background: #666;
  color: #fff;
}

/* forms basic
----------------------------------------------- */

.form {
  overflow: hidden;
}

input, select, textarea, input.radio, button {
  width: auto;
  font-size: inherit;
}

.training_log .client_info input {
  width: 97%;
  margin-top: 5px;
}

.form p.notice {
  font-weight: bold;
}

/* forms in fieldset
----------------------------------------------- */

fieldset, .fieldset {
  padding: 0px;
  padding-bottom: 10px;
  position: relative;
}

.fieldset > h3 {
  border-bottom: 1px solid #888;
  background: #ddd;
  font-weight: bold;
  padding: 0.4em 1em;
  margin-bottom: 12px;
  font-size: 1.1em;
}

legend {
  font-size: 1.1em;
  padding: .4em .8em;
  background: #fff;
  border: 1px solid #bbb;
}

fieldset p label, fieldset div label, .fieldset div label {
  float: left;
  width: 33%;
  line-height: 2em;
  margin-right: 3%;
  text-align: right;
  max-width: 300px;
}

td > textarea {
 width: 100%;
}

fieldset p input, fieldset div input, fieldset p textarea, fieldset div textarea,
.fieldset p input, .fieldset div input:not([type='checkbox']), .fieldset p textarea, .fieldset div > textarea,
fieldset div paper-input {
  width: 60%;
}

fieldset div paper-input {
  display: inline-block;
}

fieldset p select, fieldset div select {
  width: auto;
}

fieldset input.button {
  margin-left: 35%;
}

fieldset ul li{
  list-style: none;
}

/* forms styling
----------------------------------------------- */

#login_page {
  box-shadow: none;
  display: flex;
  flex: 1;
}

div.login.form {
  width: 282px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  background-color: #fdfdfd;
  box-shadow: 1px 4px 15px rgba(191, 191, 191, 0.4);
}

div.login h2 {
  margin-top: -10px;
  margin-bottom: 17px;
}

div.login .notice {
  letter-spacing: 1px;
}

div.login label {
  display: inline-block;
  width: 96px;
  letter-spacing: 0.6px;
}

div.login button.submit {
  margin-top: 6px;
}

input.search.text {
  width: 66%;
}

input.search.button {
  width: 28%;
  margin-left: 2%;
}

#client_info {
  box-shadow: 1px 1px 15px rgba(191, 191, 191, 0.3);
  margin-bottom: 20px;
}

.gender_m {
  background-color: #f0f0ff;
}

.gender_f {
  background-color: #fff0f0;
}

/* site information
----------------------------------------------- */

#site_info .box {
  color: #ccc;
  background: #454547;;
  margin-bottom: 1px;
}

#site_info a {
  color: #fff;
}

#site_info a:hover {
  color: #000;
}

input:invalid, select:invalid {
  box-shadow: 0px 0px 3px rgba(255, 0, 0, 0.9)
}
