@charset "utf-8";

.modal-container {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	text-align: center;
	background: rgba(0, 0, 0, 0.25);
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s ease-out;
	z-index: 15;
	font-size: 0px;
}

.modal-container::before {
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}

.modal-container.active {
	opacity: 1;
	visibility: visible;
}

.modal-body {
	position: relative;
	display: none;
	vertical-align: middle;
}

.modal-frame {
	background: #fff;
	text-align: left;
	max-width: 665px;
	min-width: 410px;
	max-height: 87vh;
	width: 100%;
	margin: 0 auto;
	padding-bottom: 1px;
	font-size: 16px;
	box-shadow: 5px 5px 20px #626262;
}

.modal-body.small-body .modal-frame {
	max-width: 550px;
	min-width: 330px;
	border: 1px solid #a3a3a3;
}

.scroll_on {
	overflow-y: scroll;
}

.modal-frame::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.modal-frame::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background: #d7d7d7;
}

.modal_txt_left {
	text-align: left;
}


/*ダイアログ用のモーダル*/
.modal-ttl {
	background: #ddd;
	text-align: center;
	padding: 10px;
	border-bottom: 1px solid #a3a3a3;
}

.modal-ttl p {
	font-size: 18px;
	font-weight: bold;
}

.modal-content {
	padding: 30px 30px 0px 30px;
	text-align: center;
}

.modal-content p {
	font-size: 17px;
	line-height: normal;
}

.modal-content .points_to_note_txt {
	margin: 15px 0px 0px 0px;
	text-align: left;
	font-size: 15px;
	color: red;
}

.modal-content .points_to_note_txt2 {
	margin: 15px 0px 0px 0px;
	text-align: left;
	font-size: 15px;
	color: #000;
}

.modal-btn-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	padding: 35px 20px 25px 20px;
}

.modal-btn-list a {
	max-width: 125px;
	width: 100%;
	text-align: center;
	cursor: pointer;
	margin: 0px 10px;
	color: #fff;
	padding: 5px 15px;
	border-radius: 4px;
}

.modal-btn-list a:hover {
	opacity: 0.6;
}

.modal-btn-list button {
	max-width: 125px;
	width: 100%;
	text-align: center;
	cursor: pointer;
	margin: 0px 10px;
	color: #fff;
	padding: 5px 15px;
	border-radius: 4px;
}

.modal-btn-list button:hover {
	opacity: 0.6;
}

.modal-btn-list .modal-btn,
.modal-btn-list .modal-btn-done {
	background: #00bcdcff;
}

.modal-btn-list .modal-close {
	background: #a5a5a5;
}

.file_up_pop .modal-btn-list {
	padding-bottom: 60px;
}

.modal-btn-list.btn_flex_column {
	display: flex;
	flex-direction: column;
	padding-top: 20px;
}

.modal-btn-list.btn_flex_column a,.modal-btn-list.btn_flex_column button {
	max-width: 185px;
	margin: 6px 10px;
	padding: 8px 15px;
}

/*お知らせPOP*/
.pop_notice_inner {
	padding: 30px;
}

.pop_notice_data {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: flex-start;
	align-items: center;
}

.pop_notice_time {
	font-size: 14px;
	margin-right: 10px;
}

.pop_notice_category {
	min-width: 125px;
	width: 125px;
	padding: 2px 15px;
	font-size: 14px;
	text-align: center;
	color: #00b1d8;
	border: 1px solid #00b1d8;
	border-radius: 20px;
	background: #fff;
}

.pop_notice_ttl {
	font-size: 20px;
	text-align: center;
	margin: 27px 0px;
}

.pop_notice_img {
	text-align: center;
	margin: 0px auto 25px auto;
}

.pop_notice_img img {
	width: auto;
	max-width: 300px;
}

.pop_notice_txt {
	font-size: 15px;
	margin-bottom: 15px;
	line-height: normal;
}

.pop_notice_link {
	font-size: 15px;
	color: #4a86e8;
	text-decoration: underline;
	word-wrap: break-word;
}

.pop_notice_btn {
	display: flex;
	margin-top: 25px;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}

.pop_notice_btn a {
	cursor: pointer;
	text-decoration: underline;
	font-size: 16px;
}

.pop_notice_btn a:hover {
	opacity: 0.6;
}

/*レシピのコピーPOP*/
.save_recipe_copy_pop,
.confirm_writing_pop,
.device_copy_pop,
.file_up_pop {
	width: 100%;
}

.modal_select_form {}

.modal_form_group {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: center;
	align-items: flex-start;
	line-height: 20px;
	font-size: 15px;
	padding: 5px 0px;
}

.modal_form_group label.control-label {
	min-width: 110px;
	text-align: right;
	padding-top: 5px;
}

.modal_form_group .modal_input_inner {
	max-width: 180px;
	width: 100%;
	text-align: left;
	padding: 0px 10px 0px 20px;
}

.modal_form_group p {
	font-size: 15px;
	line-height: 20px;
	word-break: break-all;
}

.modal_err_txt {
	font-size: 12px !important;
	margin-top: 3px !important;
	color: red !important;
}

.modal_guide_txt {
	font-size: 12px !important;
	margin-top: 3px !important;
}

.modal_form_group .modal_recipe_total {}

.modal_form_group input {
	width: 100%;
	max-width: 250px;
	border: 1px solid #ddd;
	padding: 3px 10px;
}

.modal_form_group textarea {
	width: 100%;
	max-width: 350px;
	height: 100px;
	border: 1px solid #ddd;
	padding: 3px 10px;
}

.modal_form_group select {
	width: 100%;
	border: 1px solid #ddd;
	padding: 3px 10px;

	background-image: url(../img/common/language_icon.png);
	background-size: 10px;
	background-repeat: no-repeat;
	background-position: right 6px bottom 50%;
	max-width: 135px;
}

.modal_arrow_icon {
	width: 20px;
	height: 23px;
	background-image: url(../img/common/arrow_icon.png);
	background-size: 15px;
	background-repeat: no-repeat;
	background-position: center;
}

.file_up_pop .modal_form_group .modal_input_inner {
	max-width: 375px;
}

.modal_form_group.top_label {
	display: flex;
	align-items: flex-start;
}

.modal_form_group.top_label label.control-label {
	padding-top: 5px;
}

.time_select {
	position: relative;
}

.up_time_icon {
	width: 38px;
	height: 28px;
	z-index: 1;
	background-image: url(../img/common/calendar_icon.png);
	background-size: 26px;
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0px;
	cursor: pointer;
}

.time_select input {
	max-width: 220px;
}

.file_select button {
	width: 80px;
	text-align: center;
	background: #a8a8a8;
	color: #fff;
	padding: 3px 5px;
}

.file_select input {
	max-width: 220px;
}

.file_up_pop .modal_form_group label.control-label {
	min-width: 75px;
}


/*選択数エラPOP*/
.device_common_data_pop .modal-btn-list.btn_flex_column a, .device_common_data_pop .modal-btn-list.btn_flex_column button {
	max-width: 300px;
}

.device_common_data_pop .btn_col2 {
	background-color: #f90;
}

@media screen and (max-width: 480px) {
	.modal-frame {
		min-width: unset;
	}
	.modal-body.notice_pop{
		position: absolute;
		display: none;
		vertical-align: middle;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		max-width: 95%;
	}
	.notice_pop .modal-frame{
		max-width: 95%;
	}
}