﻿/**************/
/* Common     */
/**************/
@import url(https://fonts.googleapis.com/css?family=Lato:400,700);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);

body {
  font-family: Lato, "Noto Sans JP", "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size:   normal;
  line-height: 1.42857;
  color:       #333;
}

.error {
  color:       #e00;
  font-size:   x-large;
  font-weight: bold;
}

ul.errorlist {
  color:           #e00;
  list-style-type: disc;
  font-size:       normal;
  padding-left:    20px;
  margin:          0px;
}

.vspace {
  padding:         4px;
}

div.category-title {
  padding-top:  20px;
  margin-left: -10px;
  font-weight:  bold;
}

.hide {
  display: none;
}

tbody > tr.highlight_row:nth-of-type(2n+1) {
  background-color:#fff9e0;
}
tbody > tr.highlight_row:nth-of-type(2n) {
  background-color:#f9f2d9;
}
tbody > tr.highlight_row:nth-of-type(2n+1):hover {
  background-color:#efe9d0;
}
tbody > tr.highlight_row:nth-of-type(2n):hover {
  background-color:#e9e2c9;
}

/**************/
/* Navi Bar   */
/**************/
nav.navbar {
  height: 15px;
  min-height: 40px;
}

.nav > .user-info-table {
  display: none;
}
@media (min-width: 768px) {
  .nav > .user-info-table {
    display: inline;
  }
}

/**************/
/* Caption    */
/**************/
label.title {
  font-size:        large;
  font-weight:      bold;
  color:            #666;
  padding:          2px 5px;
  vertical-align: top;
}
h4.subtitle {
  font-weight:      bold;
  color:            #ffffff;
  background-color: #004080;
  padding:          10px 5px;
  margin-top:     -5px;
}

/**************/
/* Table Thin */
/**************/
table.table-thin {
  font-size:   small;
  width:       auto;
  margin:      5px;
}
table.table-thin tr > td,th {
  padding:     2px 10px;
}
table.table-thin tr > th {
  text-align: center;
}

/**************/
/* Table      */
/**************/
table > tbody > tr > td.caption {
  font-weight:      bold;
  background-color: #f4f4f4;
  color:            #111;
}
table tr > th {
  background-color: #f4f4f4;
  color:            #111;
}

/**************/
/* Button     */
/**************/
/*input[type=submit].btn:not(.btn-xs) {*/
button[type=submit].btn {
  font-weight:      bold;
  margin: 0px 1px;
}
/*input[type=button].btn:not(.btn-xs) {*/
button[type=button].btn {
  font-weight:      bold;
}
button[disabled].btn,
button[disabled].btn:hover {
  background-color: #888;
  border-color:     #444;
}

/**************/
/* Checkbox   */
/**************/
div.chkbox {
  display:block;
  padding-right:0px;
}
@media (min-width: 768px) {
  div.chkbox {
    display:inline-block;
    padding-right:10px;
  }
}

/***************/
/* RadioButton */
/***************/
div.radiobtn label {
  padding-right:10px;
}

/**************/
/* Side Menu  */
/**************/
/* div.sidebar {
  display:    none;
  position:   fixed;
  top:        40px;
  width:      300px;
  bottom:     0;
  left:       0;
  z-index:    1000;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #f5f5f5;
  border-right:     1px solid #eee;
}
@media (min-width: 768px) {
  div.sidebar {
    display:    inline;
  }
} */

/**************/
/* Main       */
/**************/
div.main {
  padding-top:  40px;
  padding-left: 0px;
}
@media (min-width: 768px) {
  div.main {
    /* padding-left: 300px; */
  }
}

/****************************/
/* PDF Viewer Dialog        */
/****************************/
.modal-dialog.fullmode {
  width:  98%;
  height: 80%;
}
.modal-dialog.fullmode > .modal-content > .modal-body {
  height: 100%;
}

/****************************/
/* Bootstrap Customize      */
/****************************/
.modal-header {
  border-radius:    5px 5px 0px 0px;
  background-color: #0050a0;
  color:            #ffffff;
  padding:          8px;
}
.modal-body {
  padding: 4px;
}
.modal-footer {
  border-radius:    0px 0px 5px 5px;
  background-color: #eee;
  color:            #666;
  padding:          8px;
}

.panel-heading {
    padding: 2px 10px;
}
.btn-sm {
    padding: 1px 10px;
}
/****************************/
/* Django Formset Customize */
/****************************/
td.no-delete-checkbox input[type=checkbox] {
  display: none;
}

.notice .center{
   text-align:center;
}

modal-content{
  height:500px;
}

.line-break {
  word-wrap: break-word;
}

.sidebar {
  position: fixed;
  top: 40px;
  left: -410px;
  width: 400px;
  height: auto;
  z-index:    1000;
  background-color: #f5f5f5;
  border-right:     1px solid #eee;
}

.button a {
    position: absolute;
    top: 70px;
    left: 400px;
    display: block;
    width: 30px;
    height: 70px;
    color: #FFF;
    background-color: #004080;
    text-align: center;
    text-decoration: none;
    line-height: 70px;
}

.open:after {
    content: "";
    display: block;
    position: absolute;
    top: 30px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #CCC;
    border-right: 1px solid #CCC;
    transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-tansform: rotate(45deg);
}

.close_menu:after {
    content: "";
    display: block;
    position: absolute;
    top: 30px;
    right: 10px;
    width: 10px;
    height: 10px;
    border-top: 1px solid #CCC;
    border-left: 1px solid #CCC;
    transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-tansform: rotate(-45deg);
}


.sidebar ul {
  list-style-type: none;
  padding: 0px 0px 0px 0px;
}
.sidebar li.grand {
  padding:     0px 0px 0px 20px;
  cursor:      pointer;
  font-size:   large;
  font-weight: bold;
  color:       #333;
}
.sidebar li.selected {
  background-color: #aaddff;
  padding-top: 10px;
}
.sidebar ul.parent {
  display:   none;
}
.sidebar li.parent {
  padding:   0px 0px 0px 35px;
  cursor:    pointer;
}
.sidebar ul.child {
  display:   none;
}
.sidebar li.child {
  padding:   0px 0px 0px 35px;
  cursor:    pointer;
  font-size: small;
}
.sidebar li.active > a {
  font-weight: bold;
}
.sidebar li {
  position: relative;
}
.sidebar li i {
  position:      absolute;
  margin-left:   -17px;
}

.title a {
 text-decoration:none;
 color:#666
}

canvas {
  border:3px solid #000;
  position: absolute;
}

.canvas-wrapper {
    position: relative;
    overflow:scroll;
    height: calc(100% - 50px);
}
.canvas-wrapper canvas {
    position: absolute;
    top: 0;
    left: 0;
}

.container{
  width: 100%;
  height: 400px;
  overflow: auto;
}

.inner{
  background-repeat: no-repeat;
  width:100%;
  height:800px;
}

.sig {
    width:100px;
    height:50px;
    font-size: 20px;
}

@media (max-width: 1400px) {
    /*スクロールバー全体*/
    ::-webkit-scrollbar {
        width: 40px;
    }

    /*スクロールバーの軌道*/
    ::-webkit-scrollbar-track {
      border-radius: 40px;
      box-shadow: inset 0 0 6px rgba(0, 0, 0, .1);
    }

    /*スクロールバーの動く部分*/
    ::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 50, .5);
      border-radius: 40px;
      box-shadow:0 0 0 1px rgba(255, 255, 255, .3);
    }
}

.webtest img.maru {
    z-index: 100;
    position: relative;
    left: -70px;
}

.webtest img.batu {
    z-index: 100;
    position: relative;
    left: -35px;
}

.webtest img.maru_result {
    z-index: 100;
    position: relative;
    left: 0px;
}

.webtest img.batu_result {
    z-index: 100;
    position: relative;
    left: 0px;
}

.webtest table {
  margin: 20px auto;
}
.tbl-r02 th {
  background: #2a7ed2;
  border: solid 1px #ccc;
  color: #fff;
  padding: 10px;
}
.tbl-r02 td {
　border: solid 1px #ccc;
  padding: 10px;
}

@media screen and (max-width: 1080px) {
  .last td:last-child {
    border-bottom: solid 1px #ccc;
    width: 100%;
  }
  .tbl-r02 {
    width: 80%;
  }
  .tbl-r02 th,
  .tbl-r02 td {
　　border-bottom: none;
    display: block;
    width: 100%;
    font-size: 30px;
  }
  input[type="radio"]{
  transform: scale(2.5); /* 2.5倍 */
  margin:10px;
 }
 .webtest img.maru {
    z-index: 100;
    position: relative;
    left: -170px;
  }

  .webtest img.batu {
      z-index: 100;
      position: relative;
      left: -90px;
  }

 .login{
  min-width:90%
  }

}

.box-img,
.box-text{
  display: inline-block;
  vertical-align: middle;
}

 .test_alert{
  font-size: large;
 }

 .tr_detail{
  height:40px;
 }

.container_login{
  width: 95%;
}

.navbar-default .navbar-div {
  background-color: #f7f7f7;
  border-color: #4e3b56;
}
.navbar-brand {
  background: url("../image/header_title.png") no-repeat left center;
  background-size: contain;
  height: 50px;
  width: 110px;
  margin-top: -5px;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #e9e2f0;
}
.navbar-default .navbar-text {
  color: #2d3233;
}
.navbar-default .navbar-nav > li > a {
  color: #2d3233;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #e9e2f0;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: #e9e2f0;
  background-color: #4e3b56;
}
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #e9e2f0;
  background-color: #4e3b56;
}
.navbar-default .navbar-toggle {
  border-color: #4e3b56;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #4e3b56;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #2d3233;
}
.navbar-default .navbar-collapse,
.navbar-default .navbar-form {
  border-color: #2d3233;
}
.navbar-default .navbar-link {
  color: #2d3233;
}
.navbar-default .navbar-link:hover {
  color: #e9e2f0;
}
.navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
    max-height: 40px;
}

@media (max-width: 767px) {
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    color: #2d3233;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
    color: #e9e2f0;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
  .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
    color: #e9e2f0;
    background-color: #4e3b56;
  }
  .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse {
      max-height: 200px;
  }

  h4.subtitle {
      font-weight: bold;
      color: #ffffff;
      background-color: #004080;
      padding: 10px 5px;
      margin-top: 5px;
  }
}