/* popup -----------------------------------------------------------------------------------------*/
.popup_wrap {
	width: 100%; /*height: 100%;*/
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	background: #fff
}

/* 타이틀 */
.pop_tit {
	width: 100%;
	height: 60px;
	padding: 0 20px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	background: #322192
}

.pop_tit h1 {
	font-size: 20px;
	margin-top: 5px;
	color: #fff;
	font-weight: 500
}

.pop_tit .btn_close {
	display: block;
	width: 30px;
	height: 30px;
	cursor: pointer;
	background:
		url(/resources/toctocmath/userImages/common/icon_popup_close-3e16ebc7961fb5bb2fa592c8982e9259.png) 50%
		50% no-repeat
}

/* 팝업내용 */
.pop_con {
	background: #fff;
	padding: 20px;
}

.pop_con .box_wrap {
	display: flex;
	width: 100%;
	height: auto;
	flex-flow: row nowrap;
	justify-content: space-between;
}

.pop_con .box_wrap>* {
	align-items: stretch;
	flex: 1 1;
}

/* 비밀번호 생성 탭 */
.tab_pwd {
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	color: #333
}

.tab_pwd li {
	width: 33.3%
}

.tab_pwd li a {
	padding: 10px 0;
	height: 60px;
	padding-bottom: 6px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	border: 1px solid #ddd;
	border-right: 0;
	transition: .2s;
	font-size: 18px
}

.tab_pwd li:last-of-type a {
	border-right: 1px solid #ddd
}

.tab_pwd li a.on {
	background: #5743cb;
	border: 1px solid #5743cb;
	color: #fff
}

/*초대코드+구성원 영역*/
.code_wrap {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between
}

.code_wrap>div {
	width: 49%;
	margin-top: 20px
}

.code_wrap>div>div {
	padding: 20px;
	text-align: center
}

.code_wrap>div>div>button {
	width: 200px;
	height: 50px;
	font-size: 18px
}

.code_wrap>div>div>button.disabled{
	background: gray;
	cursor: auto;
}

.code_wrap .code_txt {
	text-align: center;
	font-size: 20px;
	padding: 30px 0;
	word-break: keep-all
}

.code_wrap .code_txt span {
	color: #5743cb
}

/*초대코드*/
.input_code {
	width: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	margin-bottom: 30px
}

.input_code div {
	margin: 0 4px;
	background: #efefef;
	border-radius: 10px;
	height: 80px;
	width: 80px;
	line-height: 85px;
	color: #333;
	text-align: center;
	font-size: 30px;
	font-weight: 700
}

/*오류개선의견등록*/
.view_wrap {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between
}

.view_wrap>div {
	width: 50%;
	padding: 20px
}

.view_wrap>div>div {
	padding: 20px
}

}
.view_wrap>div>div>button {
	width: 200px;
	height: 50px;
	font-size: 18px
}

/*프로그레스바*/
.info_wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: all .2s;
	margin-bottom: 20px;
}

.info_wrap.active {
	opacity: 1;
}

.info_wrap .progress_bar_wrap {
	width: 100%;
	padding: 20px 40px;
	background: #F5F5F5;
	border-radius: 37px;
}

.info_wrap .progress_bar2 { -
	-progress-bar-per: 100%;
	position: relative;
	width: 100%;
	height: 18px;
	background: #E2E2E2;
	border-radius: 10px;
	overflow: hidden;
}

.progress_bar2 .active_bar {
	position: absolute;
	width: 100%;
	height: 18px;
	border-radius: 10px;
	right: calc(100% - var(--progress-bar-per));
	background: #db5200;
	transition: all .2s;
}

.info_wrap .time_info {
	color: #A4A4A4;
	font-size: 20px;
	margin-top: 20px;
}

.info_wrap .time_info em {
	color: #db5200;
	font-weight: 700;
	font-style: normal;
}

/*구성원*/
.code_member {
	height: 350px;
	overflow: auto;
	border: 1px solid #ddd;
	border-top: 2px solid #4d399c
}

.code_member li {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	margin: 0 10px;
	padding: 5px;
	border-bottom: 1px solid #ddd
}

.code_member li:last-child {
	border-bottom: none
}

.code_member .profile {
	width: auto;
	display: flex;
	margin: 0;
	flex-flow: row nowrap;
	justify-content: flex-start
}

.code_member .profile .profile_img {
	width: 50px;
	height: 50px;
	/*padding: 5px;*/
	border: 1px solid #bababa;
	margin: 0
}

.code_member .profile>.name {
	text-align: left;
	padding-left: 10px
}

.code_member li button {
	font-size: 12px;
	width: 70px
}

/*버튼*/
.popup_btn button {
	width: 250px;
	height: 55px;
	font-size: 25px;
	line-height: 59px
}

.popup_btn button:nth-of-type(2n) {
	margin-left: 10px;
}

.popup_btn button:first-of-type {
	margin-left: 0px;
}

.popup_btn2 button {
	min-width: 180px;
	padding: 0 20px;
	height: 55px;
	font-size: 25px;
	line-height: 59px
}

.popup_btn2 button:nth-of-type(2n) {
	margin-left: 10px;
}

.popup_btn2 button:first-of-type {
	margin-left: 0px;
}

.popup_btn3 {
	text-align: right;
	margin-bottom: 10px
}

.popup_btn3 button {
	padding: 0 20px
}

/* 모달팝업 */
.body_fixed {
	height: 100%;
	min-height: 100%;
	overflow: hidden !important;
}

.overlay {
	background-color: rgba(0, 0, 0, 0.5);
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 99998;
}

.modal_box .pop_con::-webkit-scrollbar {
	width: 8px; /* 스크롤바의 너비 */
}

.modal_box .pop_con::-webkit-scrollbar-thumb {
	height: 30%; /* 스크롤바의 길이 */
	background: #5743cb; /* 스크롤바의 색상 */
	border-radius: 20px;
}

.modal_box .pop_con::-webkit-scrollbar-track {
	background: #e5e5e5; /*스크롤바 뒷 배경 색상*/
}

.modal_box {
	position: fixed;
	z-index: 99999;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 50px 5px rgba(0, 0, 0, 0.3)
}

.modal_box.login {
	width: 90%;
	max-width: 400px;
	height: auto;
}

.modal_box.social {
	width: 90%;
	max-width: 650px;
	height: auto;
}

.modal_box.w700 {
	width: 90%;
	max-width: 700px;
	height: auto;
}


.modal_box.w1200 {
	width: 90%;
	max-width: 1200px;
	height: auto;
}

.modal_box.social .pop_con {
	padding: 20px 30px;
}

.modal_box .pop_con {
	height: calc(100% - 60px);
	overflow: hidden;
	overflow-y: auto;
}

.modal_box .pop_con .tit {
	font-size: 22px;;
	text-align: center;
	line-height: 1.4;
}

.modal_box .pop_con .txt {
	font-size: 20px;
	margin: 15px auto;
	text-align: center;
	line-height: 1.4;
}

.modal_box .pop_con .txt_s {
	font-size: 16px;
	margin: 10px auto;
	text-align: center;
	line-height: 1.4;
}

.modal_box .pop_con p i {
	color: #322192;
	font-style: normal;
}

.modal_box .pop_con .warning_s {
	display: block;
	margin: 10px auto 0;
}

.social_btn {
	display: inline-block;
	width: 60px;
	height: 60px;
	padding: 5px;
	margin-right: 30px;
}

.social_btn:last-of-type {
	margin-right: 0px;
}

.social_btn img {
	width: 100%
}

.modal_box .tbl_form td, .modal_box .tbl_form th {
	padding: 12px
}

/*학교 찾기 리스트*/
.school_list {
	height: 250px;
	overflow: hidden;
	overflow-y: auto;
	border: 1px solid #ddd;
	border-top: 2px solid #5743cb
}

/*커버이미지 변경*/
.img_change {
	width: 100%;
	height: 400px;
	overflow: auto;
	box-sizing: border-box;
	border: 1px solid #ddd;
}

.img_change img {
	width: 100%
}

.img_change p {
	width: 100%;
	height: 100%;
	background: #e6e9ec
		url('/resources/toctocmath/userImages/sub/fallback-c23841cf8947e62be05d578ad6798632.png') 50% 50%
		no-repeat;
	background-size: 250px
}

/* 미디어쿼리 -----------------------------------------------------------------------------------------*/

/* 1500 */
@media ( max-width : 1500px) {
	/*오류개선의견등록*/
	.view_wrap>div {
		width: 100%
	}
}

/* 770 */
@media ( max-width : 770px) {
	/*초대코드+구성원 영역*/
	.code_wrap {
		flex-flow: column nowrap
	}
	.code_wrap>div {
		width: 100%
	}
	.code_wrap>div>div {
		padding: 15px
	}
}

/* 600 */
@media ( max-width : 530px) {
	.modal_box .tbl_form .text, .modal_box .tbl_form select {
		width: 100%;
		margin-bottom: 5px;
	}
	.modal_box .tbl_form .text:last-of-type, .modal_box .tbl_form select:last-of-type
		{
		margin-bottom: 0;
	}
	.modal_box.scroll {
		height: 90%
	}
}

/* 500 */
@media ( max-width : 500px) {
	/* 비밀번호 생성 탭 */
	.tab_pwd li a {
		height: 50px;
		font-size: 15px
	}

	/*초대코드*/
	.input_code {
		margin-bottom: 20px
	}
	.input_code div {
		margin: 0 2px;
		background: #efefef;
		border-radius: 7px;
		height: 50px;
		width: 80px;
		line-height: 55px;
		font-size: 25px
	}

	/*구성원*/
	.code_member {
		height: 250px
	}

	/*버튼*/
	.popup_btn button {
		width: 100%;
		font-size: 22px
	}
	.popup_btn button:nth-of-type(2n) {
		margin-left: 0px;
		margin-top: 5px;
	}
	.popup_btn button:first-of-type {
		margin-left: 0px;
		margin-top: 0px;
	}
	.popup_btn2 button {
		width: 100%;
		font-size: 22px
	}
	.popup_btn2 button:nth-of-type(2n) {
		margin-left: 0px;
		margin-top: 5px;
	}
	.popup_btn2 button:first-of-type {
		margin-left: 0px;
		margin-top: 0px;
	}
	.social_btn {
		margin-right: 10px;
	}

	/*커버이미지 변경*/
	.img_change {
		width: 100%;
		height: 300px;
		overflow: auto;
		box-sizing: border-box;
		border: 1px solid #ddd;
	}
}

/* 핸드폰 가로모드 팝업 세로길이 적용 */
@media ( orientation : landscape) and (max-width: 850px) {
	.modal_box.scroll {
		height: 90%
	}
}


/** 메인화면 팝업 */
.popup-root {
	border: 3px solid #389ADB;
	display: none;
	flex-direction: column;
	position: fixed;
	z-index: 10000;
	background-color: #fff;
	overflow: hidden;
	border-radius:20px;
    overflow: auto;
    max-height: 90vh;
}
.popup-root .popup-header {
	padding: 8px;
	background-color: #389ADB;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
}
.popup-root .popup-body {
	flex: 1;
	font-size: 20px;
	overflow: auto;
}
.popup-root .popup-footer {
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
.popup-root .popup-footer label {
	display: flex;
	align-items: center;
}
.popup-root .popup-footer input {
	margin: 8px;
}
.popup-root .popup-close-button {
	padding: 4px 14px;
	background-color: #000;
	color: #fff;
	border: none;
	border-radius: 8px;
	margin-left: 12px;
	font-size: 12px;
	cursor: pointer;
}
.popup-root .popup-close-button:focus,
.popup-root .popup-close-button:active {
	outline: none;
}
/* 20250926 수정- 팝업에서 헤더는 스크롤에 제외하기 위함.

.popup-root::-webkit-scrollbar {
  width: 12px;
}
.popup-root::-webkit-scrollbar-track {
  background-color: #F5F5F5;
  border-radius: 10px;
}
.popup-root::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #FFDF3D;

}
.popup-root::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  
}
*/

.popup-body::-webkit-scrollbar {
  width: 12px;
}
.popup-body::-webkit-scrollbar-track {
  background-color: #F5F5F5;
  border-radius: 10px;
}
.popup-body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-color: #FFDF3D;

}
.popup-body::-webkit-scrollbar-button {
  width: 0;
  height: 0;

}


/*모바일용 팝업*/
.popup-body img {
    width: -webkit-fill-available;
}

@media screen and (max-width: 1198px) {
    .popup-root .popup-body {
        font-size: 15px;
    }
    #popup-dim {
        position: fixed;
        left: 0;
        bottom: 0;
        display: flex;
        user-select: none;
        z-index: 9999999;
        width: 100%;
        height: 100%;
        background-color: #0000008f;
        align-items: center;
        justify-content: center;
    }
    .popup-root {
        display: none;
        position: fixed;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        min-width: 350px;
        max-height: 90%;
        max-width: 90%  !important;
        width: fit-content;
    }
}
@media screen and (max-width: 270px) {
    .popup-root {
        display: none !important;
    }
}
