/* 모달css */

.modal-backdrop {
	z-index: 800;
}

.modal {
	padding: 0 !important;
	width:100%;
	height:100vh;
	z-index: 850;
}

.modal .modal-dialog {
	position:absolute;
	top:50%;
	left: 50%;
	transform: translate(-50% , -50%) !important;
	margin:auto;
	max-height: calc(100% - 60px);
	width:initial;
	max-width:1200px;
}

.modal-content {
	padding: 15px;
	border-radius: 4px;
}

.second_overlay {
	width:100%;
	height:100%;
	background-color: rgba(0,0,0,0.5);
	position:absolute;
	display: none; 
	top:0;
	left:0;
	z-index: 900; 
}

#second_modal{
	position: fixed; 
	left:50%; 
	top:50%;
	transform: translate(-50%, -50%);
	width:500px; 
	padding:15px;
	background: #fff; 
	border-radius:4px;
	display: none; 
	z-index: 950; 
}



.modal-header {
	padding: 10px;
	border-bottom: 2px solid #e1e5ea;
}

.modal-header .modal-title {
	font-weight: 600;
	color: #3F4254;
}

.modal-header button.close,
.modal-header button.close2 {
	float: right;
	border-radius: none;
	border: none;
	background: none;
	opacity: 1;
}

.modal-header .fa-close {
	font-size: 2.4rem;
	color: #3F4254;
}

.modal-header .fa-close:hover {
	color: #b5b5c3;
}

.modal-info .modal-header,
.modal-info .modal-footer {
	background-color: #fff !important;
	border-color: #fff;
}


.modal-body {
	padding: 0 10px;
	margin: 10px 0;
	max-height: calc(100vh - 209px);
	overflow: auto;
}

.modal-body .table-wrapper {
	min-height: inherit;
}

.modal-body .table-body {
	overflow-y: scroll;
	min-height:180px;
}

.modal-body .table-body::-webkit-scrollbar {
	display: none;
}



/* 모달 그룹 */
.modal-group {
	padding: 5px 0;
}

.flex-between .modal-block {
	width: 48%;
}

.modal-block .modal-group {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* .flex-between .modal-group {
	width: 48%;
} */

/* .flex-between:last-child>.modal-group {
	height: auto;
} */

.modal-group label {
	width: 100px;
}

.modal-group .checkLabel label {
	width: initial;
}

.modal-group .modal-block .checkLabel label {
	line-height: initial;
}

.modal-full .modal-group>input,
.modal-full .modal-group>select,
.modal-full .modal-group>textarea,
.modal-full .modal-group>div,
.modal-full .modal-group>span,
.modal-block .modal-group>input,
.modal-block .modal-group>select,
.modal-block .modal-group>textarea,
.modal-block .modal-group>div,
.modal-block .modal-group>span{
	width: calc(100% - 100px);
}

.modal-full .modal-group {
	width: 100%;
	height: auto;
	min-height: 40px;
	padding: 4px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.modal-group .mailbox-attachments input,
.modal-group .mailbox-attachments select,
.modal-group .mailbox-attachments div,
.modal-group .mailbox-attachments span {
	width: initial;
}



.modal-inline {
	display: inline-flex;
}

.modal-sfield {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.modal-sfield .modal-group {
	margin-right: 7px;
	padding:0;
}

.modal-sfield .modal-group label {
	width: initial;
	margin-right: 3px;
}

.modal-box {
	margin-bottom: 30px;
}

.modal-box:last-child {
	margin-bottom: 0;
}

.modal-box .box-body {
	width: 100%;
}

.modal-box .box-guide {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.modal-box .box-title {
	width: 130px;
	float: left;
	text-align: right;
}

.modal-sub-title {
	font-size: 1.8rem;
	height: 30px;
	color: #3f4254;
}


.imageBox-left {
	width: 158px;
	text-align: center;
}

.imageBox-left img {
	width:158px;
	height:200px;
	padding:5px;
	border:1px solid #e1e5ea;
}

.imageBox-left a,
.imageBox-left button {
	margin-top:10px;
}

.imageBox-right {
	width:calc(100% - 170px);
} 



.modal-footer {
	padding: 10px;
	border: none;
}





/* QR코드 모달 */
.QRcodeModal {
	overflow: hidden;
	height: 180px;
	width: 165px;
	background-color: #ffffff;
	border: 1px solid #e7e7e7;
	border-radius: 4px;
}

.QRcodeModal img {
	width: 80px;
}

.QRcodetext {
	margin-top: 10px;
}

/* 안전교육 모달 */

.time_setting section {
	width: 100%;
}

.time_setting select {
	width: calc(50% - 10.1px);
}

/* 안전관리 잠재위험 모달 */
#schUserModal .modal-dialog {
	width: 500px;
}

#usererrow {
	height: 90px;
}

#usererrow .schuser_left {
	float: left;
	width: 20%;
	text-align: center;
	color: #fe4e1f;
}

#usererrow .schuser_right {
	float: right;
	width: 80%;
	height: 100%;
	padding: 11px;
	cursor: pointer;
	font-size: 1.2rem;
}

#usererrow .schuser_right_info {
	text-align: left;
	width: 100%;
}

.schuser_right .schuser_right_info span:FIRST-CHILD {
	display: inline-block;
	text-align: center;
	background-color: #a2a3b7;
	border-radius: 4px;
	color: #fff;
	font-size: 1rem;
	width: 60px;
	padding: 2px 3px;
	margin-right: 4px;
}

#myRiskModal .mailbox-attachments li {
	width: 146px;
}


/* 시스템 > 사용자 관리 모달 */
#userview .flex-between .modal-block {
	width: 60%;
}

#userview .flex-between .modal-info {
	width: 37%;
}

@media (max-width : 767px) {
	#userview .flex-between .modal-info {
		width: 100%;
		text-align: right;
		margin-bottom: 7px;
	}
}


/* 근로자 정보 모달 */

#myWorkerModal .modal-dialog {
	width:820px;
}

.address #zipcode {
 margin-right:4px;
}

/* #myWorkerModal .worker-wrapper #address1 {
	width: 86.3%;
	margin-bottom: 5px;
} */

/* #myWorkerModal .worker-wrapper #address2 {
	width: 79.3%;
} */

@media (max-width : 767px) {

	#myWorkerModal .worker-wrapper #zipcode,
	#myWorkerModal .worker-wrapper #address1,
	#myWorkerModal .worker-wrapper #address2 {
		width: 100%;
		margin-bottom: 5px;
	}
}

#boardListModal .modal-dialog {
	width: 100%;
	max-width: 850px;
}

#inputACSData .modal-dialog {
	width: 497px;
}

#acsRegModal .modal-dialog {
	width: 390px !important;
}

#schAcsModal .modal-dialog {
	width: 650px;
}


/* navbar sms 모달 */
#sms_box {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
}

#sms_box_left {
	width: 73%;
}



#sms_box_right {
	width: 25%;
}

.sms-checkbox {
	text-align: center;
}

.sms-checkbox>div {
	display: inline-block;
	align-items: center;
	margin: 0 8px;
}

.double-body {
	position: absolute;
	top: 40px;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
}

.sms-text {
	width: 100%;
	height: 250px;
}

.sms-text input {
	width: 100%;
	text-align: center;
}

.sms-text textarea {
	resize: none;
	border: none;
	width: 100%;
	height: 200px;
	padding-top: 10px;
}

#master7 {
	width: 100%;
}

#messageSMS88 {
	resize: none;
	height: 143px;
}