/********** Reset **********/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
:focus {
  outline: 0;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
@-ms-viewport {
  width: auto;
}

/********** Common **********/

body {
  font-family: 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  font-weight: 500;
  font-size: 14px;
}
html, body {
  height: 100%;
}
a:hover {
  text-decoration: none;
}
::-webkit-input-placeholder{
  color: #CCC!important;
}
:-moz-placeholder {
  color: #CCC!important;
  opacity: 1;
}
::-moz-placeholder {
  color: #CCC!important;
  opacity: 1;
}
:-ms-input-placeholder{
  color: #CCC!important;
}
ul{
  margin-bottom:0;
}
input[type=file] {
  position: fixed;
  left: 5000px;
}
textarea {
  resize: none;
}
img{
  max-width: 100%;
}
.btn{
  font-weight: bold;
}

/********** Bootstrap **********/

.radio input[type=radio],
.radio-inline input[type=radio] {
  top: -3px;
}
.input-group-addon{
  padding: 6px;
}
.multiselect-container{
  margin-top:2px;
}
.multiselect {
  background: #FFF;
  border: 1px solid #ccc;
}
.multiselect-container>li>a {
  font-size: 13px;
}
.multiselect-container>li>a>label>input[type=checkbox] {
  margin-bottom: 5px;
  display: none;
}
.multiselect-container>li>a>label {
  padding: 3px 10px;
  width: 100%;
}
.dropdown-menu{
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
}
.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn.active,
.btn:active{
  -webkit-box-shadow: none;
  box-shadow: none;
}

/********** header **********/

#header{
  background: #218f7d;
  color: #FFF;
  padding: 5px;
  position: fixed;
  width: 100%;
  z-index:2;
}
#header h1{
  display: inline-block;
  padding: 6px;
  margin-right: 20px;
}
#header .btn{
  float: right;
  padding: 4px 8px;
  font-size: 12px;
  margin-left: 10px;
}
#message{
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
  padding: 5px 10px;
  border-radius: 3px;
  display: none;
}
#loader{
  display:none;
  position: fixed;
  top: 40%;
  left: 45%;
  z-index: 2000;
}

/********** main **********/

#main {
  margin: 0 auto;
  padding: 60px 10px 10px 10px;
  overflow:hidden;
}
#main h2{
  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
}
#print_date{
  position: absolute;
  right: 0;
  font-size: 11px;
  top: 3px;
  display: none;
}

/********** sidemenu **********/

#sidemenu{
  width:240px;
  float:left;
  border:1px #E5E5E5 solid;
  padding:5px;
}
#sidemenu .form-group .search-title{
  padding: 5px;
}
#calendar{
  display: none;
}
#side_control{
  text-align: center;
}
#side_control .btn{
  width:150px;
  margin:10px 0;
}

/********** contents **********/

#right_contents{
  margin-left:250px;
}
.list {
  margin: 0 auto 20px auto;
  height: 440px;
  border-top: 1px #ccc solid;
  border-bottom: 1px #ccc solid;
  font-size: 14px;
}
.list table{
  table-layout: fixed;
  border-left: 1px #ccc solid;
  border-right: 1px #ccc solid;
  width: 100%;
}
.list table>tbody>tr>td{
  vertical-align: top;
  padding: 5px;
}
.list table>tbody>tr>td.date{
  text-align: center;
  width: 20%;
  font-weight: bold;
  color: #16A6B6!important;
}
.list table>tbody>tr.end>td.date{
  border-bottom: 1px #ccc solid;
}
.list table>tbody>tr>td.time{
  text-align: center;
  width: 15%;
  color: #EE6557!important;
  border-bottom: 1px #ccc solid;
}
.list table>tbody>tr>td ul li{
  color:#8e44ad!important;
  padding: 5px 0 5px 20px;
  border-bottom: 1px #ccc solid;
}
.list table>tbody>tr>td.allday{
  padding: 0;
}
.list table>tbody>tr>td.title{
  border-bottom: 1px #ccc solid;
  width: 65%;
}
.list table>tbody>tr>td.title.title-cancel{
  background:#DDD!important;
}
.list table>tbody>tr>td.title.title-mark{
  color:#0E7AC4!important;
}
#bottom_control{
  text-align: center;
}
#bottom_control .btn{
  min-width:150px;
  margin: 10px 30px;
  font-size: 15px;
}
#staff{
  float: left;
}
#search_count{
  float: right;
}
#staff_print{
  display: none;
}

/********** Media Query **********/

@media (max-width: 767px) {
  .navbar-brand{
    font-size: 14px;
  }
  #sidemenu, #right_contents{
    width:100%;
    float: none;
    margin: 0 auto 10px auto;
  }
  .search-result {
    margin: 0 auto 10px auto;
  }
  .form-group {
    margin-bottom: 5px;
  }
}
