﻿html, body {
  font-family: 'Roboto', 'Helvetica', sans-serif;
}
.demo-avatar {
  width: 48px;
  height: 48px;
  border-radius: 24px;
}
.demo-layout .demo-header .mdl-textfield {
  padding: 0px;
  margin-top: 41px;
}
.demo-layout .demo-header .mdl-textfield .mdl-textfield__expandable-holder {
  bottom: 19px;
}
.demo-layout .mdl-layout__header .mdl-layout__drawer-button {
  color: white;
}
.mdl-layout__drawer .avatar {
  margin-bottom: 16px;
}
.demo-drawer {
  border: none;
}
/* iOS Safari specific workaround */
.demo-drawer .mdl-menu__container {
  z-index: -1;
}
.demo-drawer .demo-navigation {
  z-index: -2;
}
/* END iOS Safari specific workaround */
.demo-drawer .mdl-menu .mdl-menu__item {
  display: flex;
  align-items: center;
}
.demo-drawer-header {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  height: 151px;
}
.demo-avatar-dropdown {
  display: flex;
  position: relative;
  flex-direction: row;
  align-items: center;
  width: 100%;
}

.demo-navigation {
  flex-grow: 1;
}
.demo-layout .demo-navigation .mdl-navigation__link {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  color: white;
  font-weight: 500;
}
.demo-layout .demo-navigation .mdl-navigation__link:hover {
  background-color: #00BCD4;
  color: #37474F;
}
.demo-navigation .mdl-navigation__link .material-icons {
  font-size: 24px;
  color: white;
  margin-right: 32px;
}

.mdl-navigation__link.is-active {
    font-weight: 700;
    background-color: #e0e0e0;
}

.mdl-navigation__link {
    color:black !important;
}


.demo-content {
  max-width: 1080px;
}

.demo-charts {
  align-items: center;
}
.demo-chart:nth-child(1) {
  color: #ACEC00;
}
.demo-chart:nth-child(2) {
  color: #00BBD6;
}
.demo-chart:nth-child(3) {
  color: #BA65C9;
}
.demo-chart:nth-child(4) {
  color: #EF3C79;
}
.demo-graphs {
  padding: 16px 32px;
  display: flex;
  flex-direction: column;
  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 .demo-graphs {
  min-height: 664px;
}
_:-ms-input-placeholder, :root .demo-graph {
  max-height: 300px;
}
/* TODO end */
.demo-graph:nth-child(1) {
  color: #00b9d8;
}
.demo-graph:nth-child(2) {
  color: #d9006e;
}

.demo-cards {
  align-items: flex-start;
  align-content: flex-start;
}
.demo-cards .demo-separator {
  height: 32px;
}
.demo-cards .mdl-card__title.mdl-card__title {
  color: white;
  font-size: 24px;
  font-weight: 400;
}
.demo-cards ul {
  padding: 0;
}
.demo-cards h3 {
  font-size: 1em;
}
.demo-updates .mdl-card__title {
  min-height: 200px;
  background-image: url('images/dog.png');
  background-position: 90% 100%;
  background-repeat: no-repeat;
}
.demo-cards .mdl-card__actions a {
  color: #00BCD4;
  text-decoration: none;
}

.demo-options h3 {
  margin: 0;
}
.demo-options .mdl-checkbox__box-outline {
  border-color: rgba(255, 255, 255, 0.89);
}
.demo-options ul {
  margin: 0;
  list-style-type: none;
}
.demo-options li {
  margin: 4px 0;
}
.demo-options .material-icons {
  color: rgba(255, 255, 255, 0.89);
}
.demo-options .mdl-card__actions {
  height: 64px;
  display: flex;
  box-sizing: border-box;
  align-items: center;
}

/* アイコンサイズ */
.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }
 
/* 背景が明るいとき用のアイコン色 */
.material-icons.md-dark { color: rgba(0, 0, 0, 0.54); }
.material-icons.md-dark.md-inactive { color: rgba(0, 0, 0, 0.26); }
 
/* 背景が暗いとき用のアイコン色 */
.material-icons.md-light { color: rgba(255, 255, 255, 1); }
.material-icons.md-light.md-inactive { color: rgba(255, 255, 255, 0.3) }


/* cards */

.mdl-demo .mdl-card {
  height: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
   min-height:0;
}
.mdl-demo .mdl-card > * {
  height: auto;
}
.mdl-demo .mdl-card .mdl-card__supporting-text {
  margin: 12px;
  -webkit-flex-grow: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  padding: 0;
  color: inherit;
  /* 下記設定はSSUで使っていない画面へのための設定であり、
     SSUのアンケートのスマートフォンでの見切れ表示の原因のため
     コメントアウトしている */
  /* width: calc(100% - 80px); */
}
.mdl-demo.mdl-demo .mdl-card__supporting-text h4 {
  margin-top: 0;
  margin-bottom: 20px;
}
.mdl-demo .mdl-card__actions {
  margin: 0;
  padding: 4px 40px;
  color: inherit;
}
.mdl-demo .mdl-card__actions a {
  color: #00BCD4;
  margin: 0;
}
.mdl-demo .mdl-card__actions a:hover,
.mdl-demo .mdl-card__actions a:active {
  color: inherit;
  background-color: transparent;
}
.mdl-demo .mdl-card__supporting-text + .mdl-card__actions {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

/* circle */
.mdl-demo .section__circle-container > .section__circle-container__circle {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin: 8px 0;
  color: white;
  font-size: 25px;
  line-height: 40px;
  text-align: center;
}
.mdl-demo section.section--footer .section__circle--big {
  width: 100px;
  height: 100px;
  border-radius: 50px;
  margin: 8px 32px;
}
.mdl-demo .is-small-screen section.section--footer .section__circle--big {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  margin: 8px 16px;
}

.demo-list-three {
    width:100%;
}

.section__text, .mdl-list__item {
    position:relative;
}

.date-info {
    position:absolute;
    right:0px;
    top:10px;
    color:gray;
}

.mdl-card h5 {
    margin:10px 0;
    font-size:16px;
}

.mdl-card p {
    font-size: 14px;
    line-height: 16px;
    height: 16px;
    margin: 4px 0px 0px;
    color: rgba(0, 0, 0, 0.541176);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mdl-layout__drawer-button i{
color:white;
}

dialog {
  position: fixed;
  top: 50%;
  transform: translate(0, -50%);
}

.clickable {
    cursor:pointer;
}

.yu-breadcrumb .current{
    font-weight:bold;
}

.yu-breadcrumb i{
    margin-right:5px;
}

.yu-breadcrumb a {
    color:white;
}

.yu-breadcrumb .yu-breadcrumb-bracket {
   margin: 0 10px;   
}

.field-validation-error {
    color:red;
}

.mdl-card__title h4 {
    margin:0;
}

.trumbowyg-editor p, .yu-chart p{
    height:initial;
    overflow:visible;
    text-overflow:inherit;
    white-space:normal;
}

#multiselect-panel .mdl-checkbox {
    width:inherit;
}

.yu-exam-status {
    background-color:#f5f5f5;
}

.yu-exam-status.yu-expired, .class_question-notstarted {
    background-color:gray;

}

.yu-exam-status.yu-expired .mdl-chip__text{
    color:white;
}

.yu-exam-status.yu-scheduled {    
    background-color:rgb(153, 191, 255);
    color:white;
    font-weight:bold;
}

.yu-exam-status.yu-published, .class_quesstion-started {
    background-color:rgb(68,138,255);
    color:white;
    font-weight:bold;
}

.yu-class-question-summary {
    margin-left:1em;
}

.yu-exam-status.yu-rate, .yu-class-question-summary{
    background-color:#bf360c;
    color:white;
    font-weight:bold;
}

.yu-exam-status.yu-unpublished,  .class_quesstion-end{
    background-color:green;
    color:white;
    font-weight:bold;
}

dd {
    margin-bottom: 15px;
}

.mdl-layout__header {
    background-color:#005e5b;
}

input {
    color:black !important;

}

textarea {
    color:black !important;

}

.yu-unanswered_view * {
    color:black !important;
}

.mdl-tooltip {
    color:white !important;
}

table.yu-attend-table {
    border-collapse: collapse;
}

.yu-attend-table th {
    border:1px solid gray;
    text-align:center;
    background-color:rgba(0, 94, 91, 0.38) ;
} 

.yu-attend-table td {
    border:1px solid gray;
    white-space:nowrap;
}

.yu-attend-table .yu-department {
    white-space:nowrap;
    overflow:hidden;
    max-width:10em;
}

.yu-attend-table tbody tr:nth-child(odd) {
    background-color:rgba(0, 94, 91, 0.15) ;
}

.yu-attr-s1, .yu-attr-s2, .yu-attr-s3, .yu-attr-s4 {
    text-decoration:underline;
}

.yu-attr-s1 {
    font-weight: bold;
    color: black;
}

.yu-attr-s2 {
    font-weight:bold;
    color:red;
}

.yu-attr-s3 {
    font-weight:bold;
    color:blue;
}

.yu-attr-s4 {
    font-weight:bold;
    color:green;
}

td.yu-beacon-attend {
    background-color:lightyellow;
}

.chart_png {
    display: none;
}


@media print {

    .chart_png {
        display: block;
    }

    .chart_png img {
        width:100%;
    }


    .chart_html {
        display:none;
    }

    .mdl-layout__drawer, .mdl-layout__header, .mdl-tabs__tab-bar {
    display: none;
}

    .mdl-layout--fixed-drawer > .mdl-layout__content {
        margin-left:0;
    }
    .mdl-layout__content {
        overflow:initial;
        position:initial;
        display:inherit;
        flex-grow:inherit;
    }

    .mdl-layout__container {
        position:inherit;
        height: inherit;
        width: inherit;
    }

.mdl-layout {
    overflow-x: inherit;
    overflow-y: inherit;
    display:inherit;
    height: inherit;
    width: inherit;
}

body {
    width: inherit;
    min-height: inherit;
}

.mdl-tabs.is-upgraded .mdl-tabs__panel {
    display:inherit;
}

.mdl-demo .mdl-card > * {
    height:inherit;
}

html { 
    height:inherit;
    width:inherit;
}

    table.mdl-data-table th, table.mdl-data-table td, table.mdl-data-table {
        border-collapse: collapse;
        border: 1px solid #333;
    }

  }

td.yu-modified-attend {
    background-color: lightgray;
}

.yu-attend-table .mdl-button {
    background-color: white;
    padding: 0;
    height: 25px;
    line-height: 25px;
}

.yu-attend-table .mdl-button--raised.mdl-button--colored {
    background: rgb(76,175,80);
}


.yu-modify-attend {
    text-align: center;
}


.back-force-portal {
    position: absolute;
    top: 0;
    left: 0;
    height: 48px;
    width: 48px;
    line-height: 56px;
    display: block;
    text-align: center;
    margin: 4px;
    color:black;
    z-index:4;
}

    .back-force-portal i {
        font-size: 30px;
        line-height: 50px;
    }

.trumbowyg-editor, .take_statement {
    font-family: "ＭＳ ゴシック", sans-serif;
}

.mdl-card .take_statement p {
    height:inherit;
    white-space: normal;
}

#admin-settings {
    position: absolute;
    right: 10px;
}

#admin-settings {
    font-size: 20px;
}
