/* 課題提出画面 */

form .webform-submission-information, form #webform-submission-navigation-submit_report{
    display: none;
}

.SubmitForm{
    margin-top: 4rem;
}

h1#ReportName {
    font-size: 30px;
    margin: 3rem 0 1rem;
    border-left: 1.5rem solid deepskyblue;
    padding: 1rem 0 1rem 1.5rem;
}

.ReportFiles {
    text-align: right;
}

.ReportFiles a {
    color: #fff;
    background-color: green;
    border-color: green;
    display: inline-block;
    text-decoration: none;
    margin-left: 1rem;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 0.5rem 1.5rem;
    font-size: 14px;
    border-radius: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.ReportFiles a::before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 800;
    font-size: 16px;
    content: "\f56d";
    margin-right: 1rem;
}

.ReportFiles a:hover{
    background: mediumseagreen;
    border: 1px solid mediumseagreen;
}

div#teacher{
    font-size: 24px;
    float: left;
}

div.field--name-field-teacher::before{
    content: "担当 : ";
}

div#ReportId {
    font-size: 18px;
    text-align: right;
    line-height: 2;
}

div.field--name-field-report-id::before{
    content: "課題 ID : ";
}

div#edit-processed-text {
    font-size: 24px;
    margin-top: 1rem;
}

div#edit-processed-text i.fas{
    margin-right: 0.5rem;
}

.webform-elements .js-form-wrapper{
    margin-bottom: 2rem;
}
.webform-elements .js-form-wrapper .js-form-type-webform-document-file{
    margin-bottom: 4rem;
}


.webform-elements {
    border: 1px solid #999;
    border-radius: 6px;
}

.webform-elements > div{
    margin-left: 2rem;
}

/* 提出者一覧ページ */
.view-report-name .views-field{
    font-size: 32px;
    border-left: 1.5rem solid skyblue;
    padding-left: 2rem;
    margin: 4rem 0 1rem;
}

.Message{
    margin: 2rem 1rem;
}

.view-report-name .views-field span::after{
    content: " 提出者一覧";
}

.view-submitted{
    margin-bottom: 4rem;
}


/* 課題 ID 入力画面 */
.field--name-body h3.Title{
    font-size: 30px;
    border-left: 1.5rem solid darkorange;
    padding: 1rem;
}

.field--name-body .Text{
    margin-left: 1.5rem;
}

button#submit {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
    display: inline-block;
    margin-left: 1rem;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
button#submit:hover{
    background-color: #286090;
    border-color: #204d74;
}

.field.field--name-field-only-teacher{
    margin-top: 3em;
}


button#list {
    color: #fff;
    background-color: coral;
    border-color: rgb(235, 115, 71);
    display: inline-block;
    margin-left: 1rem;
    font-weight: normal;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 8px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
button#list:hover{
    background-color: tomato;
    border-color: rgb(224, 87, 63);
}



/* 提出者一覧画面 */

div.view-submitted div#edit-actions {
    text-align: right;
}

div.view-submitted td.Files ul{
    list-style: none;
    padding: 0;
}

div.view-submitted td.views-field.views-field-webform-submission-notes-edit {
    width: 360px;
}


.ForTeacher h4{
    font-size: 30px;
    border-left: 1.5rem solid darkorange;
    padding: 1rem;
    
}

p#MakeReport {
    text-align: right;
    margin-right: 1rem;
}

#MakeReport a {
    display: inline-block;
    font-size: 18px;
    color: #fff;
    background-color: coral;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 8px;
    border-color: rgb(235, 115, 71);
    margin-left: 1rem;
    padding: 6px 12px;
    font-weight: normal;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#MakeReport a:hover{
    background-color: tomato;
    border-color: rgb(224, 87, 63);
}

.ReportList table{
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    border-spacing: 0;
}

.ReportList table thead th{
    border-top: 0;
    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
    padding: 8px;
    text-align: left;
}

.ReportList table tbody tr:nth-of-type(odd){
    background-color: #f9f9f9;
}

.ReportList table tbody tr td{
    padding: 8px;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
