/************************************************************************
  schedule page
************************************************************************/
.weekly{
	margin:0 auto;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.weekly li{
	float:left;
	padding:0 0 10px 0;
}
.weekly .active {
  background: #62c462 !important;
  color:#FFF !important;
}
.weekly .active.week_0 {
  background: #da4f49 !important;
}
.weekly .active.week_6 {
  background: #006dcc !important;
}
@media(max-width: 599px) {
	.staff_list_wrap.sub-layout .event-hidden-sp {
		display: block !important;
    background: none;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 10;
	}
	.weekly {
		width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    font-size: 0;
	}
  .staff_list_wrap.sub-layout {
    display: block;
    margin: 0 0 2rem;
    padding: 0;
  }
  .staff_list_wrap.sub-layout .staff_list {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #ccc;
    text-align: left;
  }
  .staff_list_wrap.sub-layout .staff_list:first-child {
    border-top: 1px solid #ccc;
  }
  .staff_list_wrap.sub-layout .staff_list a, .staff_list_wrap.sub-layout .staff_list .border.rank {
    display: -webkit-flex;
    display: flex;
    align-items: center;
  }
  .staff_list_wrap.sub-layout .staff_list .border {
    justify-content: space-between;
  }
  .staff_list_wrap.sub-layout .staff_list .staff_list_img {
    width: 100%;
    max-width: 26%;
  }
  .staff_list_wrap.sub-layout .staff_list .border {
    width: 100%;
    max-width: 74%;
    background: none;
    padding: 0 1rem;
    position: relative;
  }
  .staff_list_wrap.sub-layout .staff_list .border .staff_list_name:after, .staff_list_wrap.sub-layout .staff_list .event-btn:before,
  .staff_list_wrap.sub-layout .event-btn,
  .staff_list_wrap.sub-layout .staff_list:after,
  .staff_list_info span {
    display: none;
  }
  .staff_list_wrap.sub-layout a .staff_list_name,
  .staff_list_wrap.sub-layout a .staff_list_size,
  .staff_list_wrap.sub-layout a .staff_list_info div {
    font-size: 16px;
  }
  .staff_list_wrap.sub-layout a .staff_list_name {
    color: #000;
  }
  .staff_list_wrap.sub-layout .arrow {
    width: 12px;
    height: 12px;
    border: 2px solid;
    border-color: #fff #fff transparent transparent;
    transform: rotate(45deg);
    position: absolute;
    top: 6px;
    left: 4px;
  }
  .staff_list_wrap.sub-layout .arrow-bg {
    background: rgba(0,0,0,.3);
    padding: 1rem;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    position: relative;
  }
  .weekly li {
		width: 20%;
    padding: 0;
    display: inline-block;
    list-style: none;
    height: 70px;
    margin: 0;
		float: none;
  }
  .weekly li a {
    width: 100%;
    padding: 0;
    background-color: #333;
    border-color: #1f1f1f;
    color: #fff;
    text-shadow: 0 1px 0 #111;
    border-radius: 0;
  }
  .weekly li a span {
    display: block;
  }
  .weekly li a span.fa-stack {
    margin: 0 auto;
    font-size: 14px;
  }
  .weekly li a span .fa-stack-2x {
    color: #000;
  }
  .weekly li a:hover {
    color: #fff;
  }
  /*.weekly li:nth-of-type(6), .weekly li:nth-of-type(7){
    display: none;
  }*/
  .weekly li a.today {
    background-color: #2ad;
    border-color: #2ad;
    color: #fff;
    text-shadow: 0 1px 0 #08b;
  }
  .weekly li a.today .fa-stack-2x {
    color: #08b;
  }
}
@media(min-width: 600px) {
  .weekly li a {
    padding: 4px 8px;
  }
  .weekly li a.week_0{
  	color:red;
  }
  .weekly li a.week_6{
  	color:#08c;
  }
  .weekly li a.today{
  	color:white;
  }
  .weekly li a span.fa-stack {
    display: none;
  }
  .weekly .btn {
    text-shadow: 0 1px 1px rgba(255,255,255,0.75);
    vertical-align: middle;
    cursor: pointer;
    background-color: #f5f5f5;
    *background-color: #e6e6e6;
    background-image: -moz-linear-gradient(top,#fff,#e6e6e6);
    background-image: -webkit-gradient(linear,0 0,0 100%,from(#fff),to(#e6e6e6));
    background-image: -webkit-linear-gradient(top,#fff,#e6e6e6);
    background-image: -o-linear-gradient(top,#fff,#e6e6e6);
    background-image: linear-gradient(to bottom,#fff,#e6e6e6);
    background-repeat: repeat-x;
    border: 1px solid #ccc;
    *border: 0;
    border-color: #e6e6e6 #e6e6e6 #bfbfbf;
    border-color: rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);
    border-bottom-color: #b3b3b3;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff',endColorstr='#ffe6e6e6',GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
      *zoom: 1;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
    -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),0 1px 2px rgba(0,0,0,0.05);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 1px 2px rgba(0,0,0,0.05);
  }
  .weekly li.select a {
    color: #fff;
    background: #5cb85c !important;
    border-color: #4cae4c !important;
  }
  .weekly .btn-primary {
    color: #fff;
  }
  .weekly .btn-danger {
    color: #fff;
  }
}
