/*
 * 拡張した定義
 *
 */
/**
 * Body CSS
 */

html,
body {
  height: 100%;
  background-color: #eee;
}

html,
body,
input,
textarea,
buttons {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}

p {
   line-height: 1.8em;
   margin : 2 0 2 0;
}

@media (max-width: 768px) {
  p > br {
    display:none;
  }
}

/**
 * Layout CSS
 */

/*  add bkcokor by baba */
#header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  transition: left 0.2s;
  background-color: #0288D1;
}

#sidedrawer {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 250px;
  left: -250px;
  overflow: auto;
  z-index: 2;
  background-color: #fff;
  transition: transform 0.2s;
}

#content-wrapper {
  min-height: 100%;
  overflow-x: hidden;
  margin-left: 0px;
  transition: margin-left 0.2s;
  
  /* sticky bottom */
  box-sizing: border-box;
  margin-bottom: -160px;
  padding-bottom: 160px;
}

#footer {
  box-sizing: border-box;
  height: 160px;
  margin-left: 0px;
  transition: margin-left 0.2s;
}

@media (min-width: 768px) {
  #header {
    left: 250px;
  }
  
  #sidedrawer {
    transform: translate(250px);
  }
  
  #content-wrapper {
    margin-left: 250px;
  }
  
  #footer {
    margin-left: 250px;
  }
  
  body.hide-sidedrawer #header {
    left: 0;
  }
  
  body.hide-sidedrawer #sidedrawer {
    transform: translate(0px);
  }
  
  body.hide-sidedrawer #content-wrapper {
    margin-left: 0;
  }
  
  body.hide-sidedrawer #footer {
    margin-left: 0;
  }
}


/**
 * Toggle Sidedrawer
 */
#sidedrawer.active {
  transform: translate(250px);
}


/**
 * Header CSS
 */

.sidedrawer-toggle {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
  margin-right: 10px;
}

.sidedrawer-toggle:hover {
  color: #fff;
  text-decoration: none;
}


/**
 * Sidedrawer CSS
 */

#sidedrawer-brand {
  padding-left: 20px;
}

#sidedrawer ul {
  list-style: none;
}

#sidedrawer > ul {
  padding-left: 0px;
}

#sidedrawer > ul > li:first-child {
  padding-top: 15px;
}

#sidedrawer > ul > li > ul {
  padding-left: 15px;
}

#sidedrawer strong {
  display: block;
  padding: 5px 8px;
  cursor: pointer;
}

#sidedrawer strong:hover {
  background-color: #E0E0E0;
}

#sidedrawer strong + ul > li {
  padding: 0px 0px;
}


/**
 * Footer CSS
 */

#footer {
  background-color: #0288D1;
  color: #fff;
}

#footer a {
  color: #fff;
  text-decoration: underline;
}


/**
 * MUI Table Component
 *
 */
.mui-table-1 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.mui-table-1 > thead > tr > th,
.mui-table-1 > tbody > tr > th,
.mui-table-1 > tfoot > tr > th {
  text-align: left;
}

.mui-table-1 > thead > tr > th,
.mui-table-1 > thead > tr > td,
.mui-table-1 > tbody > tr > th,
.mui-table-1 > tbody > tr > td,
.mui-table-1 > tfoot > tr > th,
.mui-table-1 > tfoot > tr > td {
  padding: 10px;
  line-height: 1.429;
}

.mui-table-1 > thead > tr > th {
  border-top: 2px solid rgba(0, 0, 0, 0.12);
  border-left: 2px solid rgba(0, 0, 0, 0.12);
  border-right: 2px solid rgba(0, 0, 0, 0.12);
  border-bottom: 2px solid rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

.mui-table-1 > tbody + tbody {
  border-top: 2px solid rgba(0, 0, 0, 0.12);

}

.mui-table-1.mui-table--bordered > tbody > tr > td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  border-right: 1px solid rgba(0, 0, 0, 0.12);
  border-left: 1px solid rgba(0, 0, 0, 0.12);
}

