@charset "utf-8";
// @import "compass";

$text-size : 14px;
$line-height : 1.7;

body{margin:0;}
.text-left {
	text-align: left;
}
.text-center {
	text-align: center;
}
.text-right {
	text-align: right;
}
.text-warning {
	color: #a94442;
}

#dashboard-widgets .vk-metabox-sub-title,
.vk-metabox-sub-title {
	display: block;
	overflow: hidden;
	border-bottom: 1px solid #e5e5e5;
	margin-top: 1em;
	padding-bottom: 0.3em;
	.dashicons {
		position: relative;
		top: -2px;
		margin-left: 3px;
	}
}
.vk-metabox-more-link {
	float: right;
	font-size: 12px;
}
.vk-metabox-post-list {
	margin-bottom: 2em;
	li {
		border-bottom: 1px dotted #ccc;
		padding-bottom: 3px;
		display: flex;
		.date {
			font-size: 11px;
			margin-right: 1em;
			width: 75px;
			white-space: nowrap;
		}
		a {
			width: 100%;
		}
	}
}

.vk-admin-banner {
	display: block;
	overflow: hidden;
	a.admin_banner {
		display: block;
		margin-bottom: 1em;
		border: 1px solid #ccc;
		box-shadow: inset 0px 0px 0px 1px rgba(255, 255, 255, 1);
		img {
			max-width: 100%;
			height: auto;
			display: block;
			&:hover {
				opacity: 0.7;
			}
		}
	}
	.vektor_logo {
		margin-top: 1em;
		img {
			width: 150px;
			float: right;
		}
	}
}

#vk_dashboard_widget {
	.vk-admin-banner-grid {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		a.admin_banner {
			width: 48%;
		}
	}
}

.wp-core-ui .button-block {
	display: block;
	width: 100%;
	text-align: center;
}

.logo_exUnit {
	display: block;
	overflow: hidden;
	text-align: center;
	margin-bottom: 10px;
	border-bottom: 1px solid #ccc;
	img {
		width: 150px;
		max-width: 100%;
	}
}

.vk_option_nav {
	display: block !important;
	overflow: hidden;
}
.vk_option_nav ul {
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.vk_option_nav ul li {
	display: block;
	border: 1px solid #ccc;
	margin-bottom: 0;
	border-bottom: none;
	background-color: #fff;
}
.vk_option_nav ul li:first-child {
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}
.vk_option_nav ul li:last-child {
	border-bottom-left-radius: 3px;
	border-bottom-right-radius: 3px;
	border-bottom: 1px solid #ccc;
}
.vk_option_nav ul li:hover {
	background-color: #666;
}
.vk_option_nav ul li a {
	display: block;
	overflow: hidden;
	padding: 0.5em;
	text-decoration: none;
	color: #666;
	font-size: 12px;
}
.vk_option_nav ul li:hover a {
	color: #fff;
	border: none;
}
.vk_option_nav ul li.current {
	background-color: #333;
	color: #fff;
	a {
		color: #fff;
	}
}

.vk_admin_page {
	padding-top: 1em;

	p,li,td {
		line-height: $line-height;
		font-size: $text-size;
	}
	h2.page_title {
		font-size: 16px;
		text-align: center;
		line-height: 140%;
		margin: 10px 0 20px;
	}
	h3 {
		background-color: #333;
		color: #fff;
		padding: 10px 15px;
		font-size: 150%;
		margin-top: 0;
		border-left: 5px solid #e50000;
		border-radius: 4px;
	}
	h5{
		font-size:16px;
		margin-bottom:1em;
	}
	.form-table td p,
	p {
		margin-bottom:1em;
		font-size: $text-size;
		line-height: $line-height;
		&:last-child {
			margin-bottom:0;
		}
	}
	input[type="text"] {
		width: 50%;
	}
	select {
		width: 50%;
	}
	dl {
		line-height: 1.5;
		dt {
			font-weight: bold;
			margin-bottom: 5px;
		}
		dd {
			margin-left: 0;
		}
	}
	tr.dev_object {
		display: none;
	}
	.pageLogo {
		text-align: center;
		img {
			max-width: 150px;
			margin: 0 auto;
		}
	}
	.adminMain {
		display: block;
		overflow: hidden;
		width: 74%;
		float: left;
		#adminContent_sub {
			display: block;
			overflow: hidden;
			width: 23%;
			float: left;
			padding-bottom: 10px;
		}
		#adminContent_main {
			display: block;
			overflow: hidden;
			width: 74%;
			float: right;
			min-height: 300px;
			.form_horizontal_item {
				margin-right: 1em;
			}
			.setting-content{
		
			}

		}
		&.column_2 {
			#adminContent_main {
				width: 100%;
			}
		}
		&_main {
			ul,ol {
				margin-top:0;
				margin-left:1.5em;
				padding-top:0;
			}
			ol > li{
				list-style: decimal;
			}
			ul > li {
				list-style: disc;
			}
			li ul,
			li ol {
				margin-top:0.5em;
			}
			ul.no-style {
				margin-left:0;
				ul {
					margin-left:1.5em;
				}
				li {
					list-style: none;
				}
			}
			&_content {
				margin-bottom:3em;
			}
			input[type=text] {
				margin-bottom:5px;
			}
		}
	}

	.adminSub {
		display: block;
		overflow: hidden;
		width: 24%;
		float: right;
		padding-bottom: 10px;
		.infoBox {
			display: block;
			overflow: hidden;
			padding: 1em;
			margin-bottom: 1em;
			background-color: #fff;
			border-radius: 4px;
		}
		.vk-metabox-sub-title {
			background-color: #ccc;
			width: auto;
			padding: 5px 10px;
			border-radius: 3px;
			margin-top: 0;
			margin-bottom: 15px;
		}
		.vk-metabox-more-link {
			display: none;
		}
		@media (max-width: 991px) {
			.adminMain table.form-table {
				th,
				td {
					display: block;
				}
				th {
					background-color: #ccc;
					width: auto;
					padding: 10px;
					border-radius: 3px;
				}
			}
		}
	}
	.alert {
		border-radius: 4px;
		padding:0.8em;
		font-weight: normal;
		&-danger{
			border: 1px solid #ebccd1;
			background-color: #f2dede;
			color: #a94442;
		}
	}
}

/*-------------------------------------------*/
/* Widget css
/*-------------------------------------------*/
/*
.admin_widget_ は pr-content ウィジェットなどで利用されているので、
アップデートが浸透するまで消さない
2019.5 以降削除
 */
.admin_widget_section,
.admin-custom-section {
	display: block;
	overflow: hidden;
	margin: 1.5em 0;
	p {
		margin-top: 0.5em;
	}
}
.admin_widget_h2,
.admin-custom-h2 {
	box-sizing: border-box;
	margin: 1em 0 1em;
	padding: 0.8em 1em;
	width: 100%;
	border: solid 1px #ddd;
	border-radius: 5px;
	background: #555;
	color: #fff;
	font-size: 1.1em;
}
.admin_widget_h3,
.admin-custom-h3 {
	box-sizing: border-box;
	padding: 0.4em 0;
	margin-bottom: 0.3em;
	width: 100%;
	border-bottom: solid 1px #ddd;
	// background: #EDEDED;
	font-size: 1em;
}
.admin-custom-discription{
	margin-top:0.5em;
}
input[type="text"],
input[type="search"],
input[type="radio"],
input[type="tel"],
input[type="time"],
input[type="url"],
input[type="week"],
input[type="password"],
input[type="checkbox"],
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
select,
textarea {
	&.admin_widget_input,
	&.admin-custom-input {
		width: 100%;
		margin: 0.3em 0;
	}
}

.admin_widget_thumb_outer,
.admin-custom-thumb-outer {
	position: relative;
	overflow: hidden;
	z-index: 2;
	margin: 3px 0;
	min-height: 70px;
	border: 1px solid #e5e5e5;
	background-color: #f5f5f5;
	width: 100%;
}
.admin_widget_thumb_outer:before,
.admin-custom-thumb-outer:before {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	margin: -8px 0 0 -30px;
	color: #999;
	content: "No Image";
}
.admin_widget_thumb,
.admin-custom-thumb {
	position: relative;
	z-index: 3;
	display: block;
	width: 100%;
	height: auto;
}

.vk_checklist_item {
	&-style-vertical {
		display: flex;
	}
	// & & にしないと指定が負けるため特別
	& &_input {
		margin-top: 0;
	}
}

/*トグル風ラジオボタン*/
.vk-admin-inline-radio {
	display: flex;
	border-radius: 3px;
	overflow: hidden;
	border: 1px solid #b6b6b6;


	div {
	  position: relative;
	  flex: 1;
	}

	input {
	  width: 100%;
	  height: 60px;
	  opacity: 0;
	}

	label {
	  position: absolute;
	  top: 0; left: 0;
	  color: #b6b6b6;
	  width: 100%;
	  height: 100%;
	  background: #fff;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  pointer-events: none;
	  border-right: 1px solid #b6b6b6;
	}

	div:last-child label {
	  border-right: 0;
	}

	input:checked + label {
	  background: #d81b60;
	  font-weight: 500;
	  color: #fff;
	}
}