/*********************

 共通

**********************/
/** マージン **/
.ml-10{ margin-left: 10px; }
.ml-20{ margin-left: 20px; }

/** フォントサイズ **/
.fs-14{ font-size:14px; }


/** 左サイドカラム **/
ul.news{
    max-height: 180px;
    overflow-y: auto;
    padding:0 5px 3px 0;
    list-style: none;
}
ul.news li {
    border-bottom: 1px dotted #ccc;
    margin-bottom: 10px;
    padding-bottom: 8px;
}
ul.news li span.date {
    display:block;
}
.sidebar .nav li a {
    display:inline-block;
    padding-left:5px;
    line-height:14px;
}

/** オーダーテーブル **/
table.order-detail{
	flex: 1;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
}
table.order-detail th,table.order-detail td{
	padding: 10px 10px 8px;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
}
table.order-detail th{
	width: 120px;
	padding: 10px 5px 8px;
	background: #f2f4f7;
	text-align: center;
	vertical-align: middle;
	border-right: none;
}
.order-detail table.syubetu td{
    padding:0; margin:0;
    border:0;
    width:auto;
}
.order-detail table.syubetu td span{
    background: #000;
    color: #fff;
    font-size:10px;
    border-radius: 100%;
    padding: 1px 5px;
    margin: 0 10px 0 0;
}
.order-detail table.syubetu td hr{
    margin-top:8px;
    margin-bottom:8px;
}
div.order-detail {
	flex: 1;
	display: flex;
	flex-wrap: wrap;
	border-top: 1px solid #CCC;
	border-left: 1px solid #CCC;
	box-sizing: border-box;
}
div.order-detail dl {
	display: flex;
	width: 33.3%;
	margin: 0;
	padding: 0;
	border-right: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	box-sizing: border-box;
}
div.order-detail dl.double {
	width: 66.6%;
}
div.order-detail dl.full {
	flex: none;
	width: 99.9%;
}
div.order-detail dl dt {
	width: 120px;
	padding: 10px 5px 8px;
	background: #f2f4f7;
	text-align: center;
}
div.order-detail dl dd {
	flex: 1;
	padding: 10px 10px 8px;
}

/** コンテンツタイトル **/
div.panel-uppper {
    margin-bottom:12px !important;
}
div.panel-lower {
    font-size:1.8em;
    font-weight:bold;
}
span.panel-uppper-item {
    margin-right:20px;
}
span.panel-uppper-item span {
    background: #fff;
    padding: 0 6px;
    border: 1px solid #aaa;
    font-size: 0.9em;
    margin-right: 5px;
}

/** 日別リスト **/
.acf-label{
	display:none !important;
}
div.daily-list-content {
    margin-bottom:40px;
}
div.daily-order-list {
	border-left: 3px solid #91a5b9;
	margin-left: 20px;
}
div.daily-order-list-content {
	position: relative;
	display: flex;
	align-items: flex-start;
  padding: 18px 0 18px 20px;
}
div.daily-order-list-content:before {
	content: '';
	position: absolute;
	top: 26px;
	left: 0;
	width: 18px;
	height: 1px;
	background: #91a5b9;
}
div.daily-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.daily-title-place{
	flex: 1;
  margin-right:30px;
  color:#999;
}
.daily-title-place span:first-child{
    font-size: 1.6em;
    font-weight:bold;
    margin-right:10px;
    color:#000;
}
.daily-title-place span.new{
    display: inline-block;
    font-size: 0.5em;
    background: #eb8585;
    color: #fff;
    padding: 0 5px;
    margin-right: 3px;
    vertical-align: middle;
    border-radius: 10px;
}
div.daily-title-actions {
    width: 10%;
    display: flex;
    justify-content: flex-end;
}
div.daily-title-actions a {
    margin-left:5px;
}
div.daily-title-form-wrapper {
	position: relative;
	flex: none;
	width: 100%;
}
div.daily-title-form-wrapper .daily-title-form {
    justify-content: flex-end;
}
.daily-title-form {
    margin-right:30px;
}
.daily-title-form, .daily-title-form * {
    display:flex;
		margin-bottom: 0;
}
.daily-time {
	font-size: 14px;
	font-weight: bold;
}
.daily-title-manager-af {
	position: relative;
	flex: none;
	width: 100%;
	padding: 10px 0 20px 20px; 
}
.daily-title-form-wrapper:before,.daily-title-manager-af:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	width: 3px;
	background: #91a5b9;
}
.daily-title-manager-af dl {
	display: flex;
	align-items: center;
	margin: 0 0 0 15px;
	padding: 10px 20px;
	background: #dbe2e9;
	color: #1e5a76;
	font-size: 15px;
}
.daily-title-manager-af dt {
	margin-right: 20px;
	font-weight: normal;
}
.daily-title-manager-af dd {
	font-weight: bold;
}
.daily-title-manager-af dd .icon {
	display: inline-block;
	padding: 2px 7px 0;
	margin-right: 6px;
	background: #1e5a76;
	color: #FFF;
	font-size: 12px;
	line-height: 1.2;
	border-radius: 100px;
}

/** 日別リストの時間とフォームの部分※未完成 **/
.daily-order-list-content-header{
	width: 90px;
	margin-right: 20px;
}
.daily-order-list-content-header .acf-field {
	width: auto !important;
	display: block;
}
.daily-order-list-content-header > span {
	display: block;
}
.daily-order-list-content-header > span.daily-time {
	margin-bottom: 5px;
}
.daily-order-list-content-header .acf-field {
	width: 100% !important;
}
.daily-order-list-content-header .acf-form-submit {
	margin: 10px 0 0;
	text-align: center;
}
.message{
    border: 1px solid #87d4d1;
    background: #d7f0ef;
    padding: 8px 10px 0;
}


/** disable **/
.disable .acf-switch{
	cursor: default;
    border:0;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    cursor: default !important;
}
.disable *{
    border-radius:0 !important;
}
.disable .acf-switch.-on {
    background: #17aa81;
    color: #fff;
}
.disable .acf-switch:not(.-on) {
    background: #ea354f;
    color: #fff;
}
.disable .acf-switch .acf-switch-off {
    width:72px;
}
.disable .acf-form-submit input,
.disable .acf-switch-slider,
.disable .acf-switch:not(.-on) .acf-switch-on,
.disable .acf-switch.-on .acf-switch-off {
    display:none;
}


/** acf-form のスタイル調整 **/
.acf-fields > .acf-field {
	padding: 0 12px !important;
	border-top: none !important;
}
.acf-switch {
	height: 34px !important;
}
.acf-switch span {
	line-height: 26px !important;
}
/*.acf-form {
}
.acf-fields * {
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
}
.form-control {
    height:24px;
}
.acf-field input[type=text] {
    font-size:12px;
}
.acf-switch{
    height:24px !important;
    padding: 2px 5px !important;
}
.acf-switch span{
    font-size:11px !important;
}*/
@media (min-width:992px) {
.acf-input input[type=text]{
	width:500px !important;
}
}
@media (max-width:991px) {
.header .logo {
	padding-bottom:0;
}
.header .navbar {
	display: none;
}
.content-box-nav {
	position: relative;
	margin: -30px -15px 30px;
	padding-top: 42px;
}
.content-box-nav .content-box-wrapper {
}
.content-box-wrapper .content-box-header {
	position: absolute;
	top: 0;
	width: 50%;
	padding: 10px 30px 8px 15px;
	background: #2c3742;
	color: #FFF;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-left: none;
	border-right: none;
	z-index: 100;
}
.content-box-wrapper.trader .content-box-header {
	left: 0;
	border-right: 1px solid #eee;
}
.content-box-wrapper.matter .content-box-header {
	right: 0;
}
.content-box-wrapper .content-box-header:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 12px;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -4px;
	border-top: 1px solid #FFF;
	border-right: 1px solid #FFF;
	transform: rotate(135deg);
	transition: 0.2s;
}
.content-box-wrapper .content-box-header.open:after {
	top: 55%;
	transform: rotate(-45deg);
}
.content-box-wrapper.trader .content-box-header {
	border-right: 1px solid #eee;
}
.content-box-wrapper .content-box-header .panel-title {
	float: none;
	padding: 0;
}
.content-box-wrapper .sidebar,.content-box-wrapper content-box {
	margin-bottom: 0;
}
.content-box-wrapper .box-with-header {
	display: none !important;
	height: 0;
	transition: 0.2s;
}
.content-box-wrapper .box-with-header.open {
	display: block !important;
	height: auto;
}
.content-box-wrapper .box-with-header .btn-group {
	display: block;
}
a.day-link {
	width: 90% !important;
	height: auto !important;
	border-radius: 6px !important;
}
a.day-link li {
	padding: 5px 0 !important;
	font-size: 11px !important;
}
a.day-link li:nth-child(2) {
	padding: 5px 0 !important;
}
a.day-link li span {
	font-size: 16px !important;
}
.content-box-large {
	padding: 10px !important;
}
.panel-body {
	padding: 0 !important;
}
div.daily-title {
	flex-direction: column;
}
.daily-title-place {
	width: 100%;
	margin: 0 0 5px;
}
.daily-title-place span:first-child {
	display: block;
	margin: 0;
}
.daily-title-form {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 10px 0 10px 43px;
	box-sizing: border-box;
}
.daily-title-actions {
	position: relative;
	width: 100% !important;
	text-align: center;
}
.daily-title-actions:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 20px;
	width: 3px;
	background: #91a5b9;
}
.daily-title-form, .daily-title-form * {
	display: block;
}
.daily-title-manager-af {
	padding: 15px 0 15px 20px;
}
.daily-title-manager-af dl {
	display: block;
}
.daily-title-manager-af dt {
	margin: 0 0 5px; 
}
form.acf-form {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}
.acf-fields > .acf-field {
	padding: 0 !important;
}
.acf-fields > .acf-field.acf-field-true-false {
	flex:none;
	width: 100%;
}
.acf-field .acf-input {
	margin: 0 auto 10px;
}
.acf-fields.acf-form-fields {
	width: 85%;
}
.acf-form-submit {
	margin: 0 0 10px;
}
.acf-form-submit input {
	line-height: 28px;
}
div.daily-order-list-content {
	display: block;
}
.daily-order-list-content-header {
	width: auto;
	margin: 0;
}
table.order-detail th, table.order-detail td {
	display: block;
}
table.order-detail tr {
	display: flex;
	flex-wrap: wrap;
}
table.order-detail th {
	width: 40%;
}
table.order-detail td {
	width: 60%;
}
div.order-detail {
	display: block;
}
div.order-detail dl,
div.order-detail dl.double,
div.order-detail dl.full {
	width: 100%;
}
}