@import "card_type.css";
/*********general style of line card*************/
body {
	background: #edf3f8;
}

.croppie-container .cr-boundary {
	width: 95% !important;
}

.msg_footer > div {
	background: #fff;
	padding: 10px 20px;
	border-left: 6px solid #6ebbd1;
	margin: 20px 0px;
}
.gbk_msg_footer {
	/*background: white;*/
    /*padding: 20px;*/
	margin-top:10px;
    /*border-left: 7px solid var(--success);*/
}
.gbk_msg_footer h6 {
	font-weight: 700;
    color: #48637e;
    font-size: 16px;
}
.gbk_ws_list {
	max-height: 200px;
	overflow: auto;	
	margin: 10px auto;
	border: 1px solid #e1e1e1;
    border-radius: 4px;
    padding: 10px;
	background: white;
	/*display: none;*/
}
.gbk_ws_list>div {
	padding: 3px 15px;
	height: 30px;
	border:1px solid #aaa;
	border-radius: 4px;
}
.gbk_ws_list>div:hover {
	background: #ffc7f7;
	transition: all 0.5s;
	transform: scale(1.02);
}
.gbk_ws_list>div:active {
	transform: scale(1.00);
	transition: all 0.5s;
}
.gbk_ws_list>div i {
	color:#ccc;
	left: 12px;
    position: relative;
}
.gbk_ws_list>div i:hover {
    color:orangered;
}
.gbk_ws_list * {
	cursor:pointer;
}
.gbk_ws_list > div{ 
  float: left;
}
.gbk_msg_footer .fa-arrow-down {
  color:deeppink;
  cursor: pointer;
}
.gbk_msg_footer .fa-arrow-down.rotate180{
  transform: rotateX(180deg);
  transition: all 0.5s;
}
.gbk_title span{
  display: inline-block;
}
.gbk_title+div,
.gbk_booking+div,
.gbk_modify+div,
.gbk_survey+div {
  display: inline-block;

}
.gbk_title.disable+div,
.gbk_booking.disable+div,
.gbk_modify.disable+div,
.gbk_survey.disable+div {
  display: none;
  transition: all 0.5s;
}
.msg_footer .btn_bar > label {
	background: #ffc107;
	padding: 4px 10px;
	border-radius: 4px;
	font-weight: 700;
	letter-spacing: 2px;
	-webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.75);
	box-shadow: 5px 5px 5px 0px rgba(0, 0, 0, 0.75);
	margin-right: 60px;
}

.btn_bar + div {
	clear: both;
}
.msg_footer div:nth-child(1) .btn_bar div > button:nth-child(1),
.msg_footer div:nth-child(1) .btn_bar div > button:nth-child(2) {
	display: none;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;	
}

.msg_footer div:last-of-type .btn_bar div > button:nth-child(3) {
	display: none;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;	
}

.fun_bar {
  padding:10px 0;
}

.fun_bar .fa-plus {
	font-size: 1.2rem;
	padding-top: 4px;
}

.fun_bar > div button:nth-child(1),
.fun_bar > div button:nth-child(3) {
	display: none;
}

.fun_bar div > button.active{
    color: #212529 !important;
    background-color: #d39e00 !important;
    border-color: #c69500 !important;
}

.btntool {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	position: relative;
}
.btntool,
.opentoolbtn {
	width:154px;
	background-color: #ffc107;
	word-break: keep-all;
}
.opentoolbtn:active,
.opentoolbtn:focus {
	background-color: #ffc107 !important;
	border-color: #ffc107 !important;
	-webkit-box-shadow:unset !important;
	box-shadow:unset !important;
}
body > div.m-2.p-4 > div._model_.active > div > div.mb-4 > h6,
body > div.m-2.p-4 > div.mb-4 > h6,
.msg_body h6 ,
.msg_footer h6,
.cardConcept h6 {
	font-weight: 700;
	color: #48637e;
	font-size: 16px;
}
.opentoolbtn.active {
/*	background: red !important;*/
}

[data-preview=btn_txt] {
/*	display: inline-block;*/
/*	border:1px solid #ccc;*/
	display: block;
	width:100%;
/*
	padding:4px;
	margin:6px;
*/
	text-align: center;
	cursor: pointer;	
	border-radius: 4px;	
	overflow: hidden;
}

.swal2-actions {
	width: 200px;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

[data-fields] {
/*	background: white;*/
}
[data-fields].req,
.req {
	background: #f31700;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
.msg_body [data-fields=img_addr] {
	pointer-events: none;   
	-webkit-user-select: none;   
	-moz-user-select: none;   
	-ms-user-select: none;  
	-o-user-select:none;
	user-select: none;
}

.delsharebtn, 
.deltelbtn {
	margin: 0px 10px 0 2px;
	position: relative;
  top: -4px;
	cursor: pointer;
	-webkit-transition: all 0.2s;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
	color: red;
}
.delsharebtn:hover,
.deltelbtn:hover {
	font-size: 1.2rem;
}
[data-fields=btn_url] {
/*	color:#fff;*/
	background: white;
	pointer-events: auto;
/*
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
*/
}
.share_act {
	pointer-events: none;
	color:#ccc;
	background: #ccc;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select:none;
	user-select: none;
	
}


._model_ {
	display: none;
}
._model_.active {
	display:block;
}

/*********Preview of line card*************/
.line_color {
	background-color: #829bc2;
	overflow: hidden;
	padding:0 20px;
}

.cur_title {
	background: #fff;
	margin-bottom: 20px;
	padding: 10px 10px;
	border-radius: 10px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
}

.cur_title > div:first-child {
	border-radius: 50%;
	overflow: hidden;
	width: 80px;
	height: 80px;
}

.cur_title > div:first-child img {
	width: 100%;
}
body > div.pt-4.line_color > div.cur_title > div.mx-3 > h5 {
	font-weight: 700;
}
[id^=cur_view] {
	padding-bottom: 40px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	overflow: auto;
}

[id^=cur_view] > div {
	margin: 0px 20px 0 0;
	min-width: 300px;
/*	max-width: 300px;*/
}

[id^=cur_view] > div:last-child {
/*	margin: 0px;*/
}

[id^=cur_view] .cur_body,
[id^=cur_view] .cur_footer {
	padding:10px 10px 0;
}
[id^=cur_view] [class^=case] .boxflex {
	margin: 6px 0px;
}
[id^=cur_view] .cur_body_title {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
}
[id^=cur_view] .cur_body_cont {
	font-size: 16px;
}
/*.cur_footer .boxflex > div{*/
.cur_footer .boxflex > div{
	border-radius: 4px;
	margin:4px 0;
	border:1px solid #ccc;
	text-align: center;
	padding: 2px;
	height: 32px;
	overflow: hidden;
	width: 100%;
}
.code_view {
	display: none;
}
.gbk_booking,
.gbk_modify,
.gbk_survey,
.shortlink,
.sharetel,
.sharebtn,
.shortpage {
	margin-right:10px;
	padding: 2px 6px;
	margin-bottom: 10px;
	font-size: 14px;
}
.gbk_booking.disable,
.gbk_modify.disable,
.gbk_survey.disable {
	background: cadetblue!important;
	border-color:white!important;
}
.gbk_booking,
.gbk_modify,
.gbk_survey {
	margin:0px 10px;
	word-break: keep-all;
}
.gbk_msg_footer input[type=color]+.sp-replacer {
	margin-top:2px;
	margin-left:10px;
}
.titleflex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: end;
	-webkit-align-items: flex-end;
	-ms-flex-align: end;
	align-items: flex-end;
	-webkit-box-pack: justify;
	-webkit-justify-content: space-between;
	-ms-flex-pack: justify;
	justify-content: space-between;
}
.titleflex a {
	-webkit-text-decoration-line: underline;
	text-decoration-line: underline;
	letter-spacing: 1px;
}
.imgaround {
	font-size: 0.9rem;
	font-weight: 700;
	color:#8f0000;
	margin-left: 10px;
}
.sizeformat {
		width: 20%;
	}

@media screen and (max-width: 425px){
	.sizeformat {
		width: 50%;
	}
	.modal-body > label{
		width: 100%;	
	}
	body > div.m-2.p-4 > div._model_.active > div > session.msg_body > h6:nth-child(16) {
		position: relative;
	}
	.pluspreson {
		position: absolute;
    top: -6px;
    left: 110px;
	}
	body > div.m-2.p-4 > div._model_.active > div > session.msg_body > h6:nth-child(16) > span {
		display: block;
    width: 100%;
    margin-top: 16px;
	}
	
/*
	.modal-body label {
		width:100%;
	}
	#customModal .modal-dialog {
			width: 800px;
			margin: 30px auto;
	}
*/
}

@media screen and (max-width: 576px){ 
	.person > div:nth-child(1) {
		width: 20% !important;
	}
	.person > div:nth-child(2) {
		width: 36% !important;
	}
	.person > div:nth-child(3) {
		width: 22% !important;
	}
	.person > div:nth-child(4) {
		width: 22% !important;
	}
}

@media screen and (max-width: 820px) { 
	.modal-dialog {
    max-width: unset; 
    margin: auto; 
	}	
}
/*v2.0*/
[id^=start_]::before,	[id^=center_]::before, [id^=end_]::before {
	font-family: 'FontAwesome';
	content: "\f036";
	display: block;
	position: relative;
	left: 20px;
	top: -5px;
	color: #48637e;
	cursor: pointer;
}
[id^=center_]::before {
	content: "\f037";
}
[id^=end_]::before {
	content: "\f038";
}
[id^=start_],	[id^=center_], [id^=end_] {
	margin-right:24px;
}
[for^=start_],	[for^=center_], [for^=end_] {
	color: #48637e;
	cursor: pointer;
	font-weight: 700;
	display: flex;
	align-items: center;
}	
.borderStyle,
.ftszStyle {
	-webkit-box-flex: inherit;
	-webkit-flex: inherit;
	-ms-flex: inherit;
	flex: inherit !important;
	width: 100px !important;
	margin-left: 10px;
}
[data-fields=cont_align] {
	background:transparent !important;
}
#customModal [data-toggle=modal] {
	position: relative;
	top:-2px;	
}
#newImg {
	text-align: center;
	width:200px;
}
#newImg img {
	max-width: 100%;
}
#customModal2 li {
	list-style: decimal;
	padding: 6px;
	border-radius: 4px;
	background: #d2e8ff;
	margin: 4px 50px 4px 50px;
	cursor: pointer;
}
#customModal2 li:hover {
	background: #b6daff;
}
#customModal2 li::marker {
  color: blue;
  font-size: 1.4em;
}
[data-fields=cont_text],
[data-fields=cont2_text] {
	min-width: 220px !important;
	width: 220px !important;
	-webkit-box-flex: unset;
	-webkit-flex: unset;
	-ms-flex: unset;
	flex: unset !important;
	border-width: 0px;
	outline-width: 0px !important;
	color: #495057;
	resize: none;
}
[data-fields=cont_text]:focus,
[data-fields=cont2_text]:focus {
	color: #495057;
	border-radius: 0.25rem;
	background-color: #fff;
	border-color: #80bdff;
	outline: 0;
	-webkit-box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.bg_white {
	background: white;
	display: block;
	width: 100%;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	-webkit-transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
	resize: none;
}
.sortTitle::after {
	content: '';
	display: block;
	height:1px;
	width:100%;
	background: #d7d7d7;
}
.sortTitle li {
	list-style: none;
	display: inline-block;
	color: #040404;
	font-weight: 700;
}
.sortTitle li:first-child{
	width:14%;
	margin:0px !important;
	text-align: center;
	background: transparent !important;
}
.sortTitle li:last-child{
	width:80%;	
	text-align: center;
	margin:0px !important;
	background: transparent !important;
}

.show_oldImg > p {
	margin-bottom: 0px;
	margin-top: 10px;
	font-size: 12px;
}

.show_oldImg > p:nth-child(1) {
	float: left;
	color: #720000;
}

.show_oldImg > p:nth-child(2) {
	float: right;
	color: #505050;
}
	
input[data-fields=projimg_addr],
input[data-fields=vert_projimg_addr],
input[data-fields=img_addr] {
	width: 0px !important;
	padding: 0px !important;
	margin-left: 4px !important;
	border-width: 0px !important;
}

[name^=btnAlign_]+label,
[name^=btnRadius_]+label,
[name^=saletagAlign_]+label,
[name^=saletagRadius_]+label,
[name^=salecostAlign_]+label,
[name^=saletagWidth_]+label,
[name^=geoAlign_]+label,
[name^=txtAlign_]+label,
[name^=btnWidth_]+label {
	margin-left:10px;
}

.cur_footer > .boxflex {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	-ms-flex-pack: center;
	justify-content: center;
}

input[type=color]+.sp-replacer {
	margin-left: 6px;
	margin-top:6px;	
	margin-right: 20px;
}

.proj_fmat {
	border: 1px solid #ccc;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-webkit-align-items: center;
	-ms-flex-align: center;
	align-items: center;
	width: calc( 400px * 0.6 );
	margin-top:10px;
	margin-left: 16px;
	border-radius: 20px;
	overflow: hidden;
}
.proj_fmat [class^=proj_l] {
	width:calc( 200px * 0.6 );
	height:calc( 400px * 0.6 );
	overflow: hidden;
}

.proj_fmat [class^=proj_r] img {
	width:100%;
	margin: 0px !imporant;
}
.proj_fmat [class^=proj_r] {
	width: calc( 200px * 0.6 );
	margin:0px !important;
	border-color: #ccc;
	border-style: solid;
	border-width: 0px;
	border-left-width: 1px;
	border-bottom-width: 1px;
}
.proj_fmat [class^=proj_r1] {
	border-bottom-width: 0px;
}

[data-fields^=person_] {
	color: #48637e;
}
[data-toggle=modal] {
/*	margin-left: 16px;*/
}
.person {
	margin-left: 10px;
}
.person [data-fields=person_txt]~input,
.person [data-fields=person_url]~input {
	margin: 2px 0px;
}
.person [data-fields=person_color] ~ div,
.person [data-fields=person_bgcolor] ~ div {    
	padding:8px;
}
.person label{
	word-break: keep-all;
	width: 100%;
	text-align: center;
}
.person input[type=color]+button{
	margin-top: 0px;
}
.openlegend {
	position: relative;
	top: -2px;
	font-size: 0.85rem;
	padding:4px 10px;
	margin-left:10px;
}
#legend {
	text-align: center;
}
#legend .putImg {
	border-radius: 10px;
  border: 2px solid #ddddff;
	width: 300px;
	margin: 10px 4px 4px;
}
#legend .putImg strong{
  color:#00366c;
}
#legend .putItem {
	height: 120px;	
}
#legend .putItem p {
	text-align: left;
	font-size: 1rem;
}
#legend .putItem::before {
	content: '';
	display: block;
	margin-top: 6px;
	margin-bottom: 10px;
	width: 300px;
	height: 2px;
	background: #ddddff;
	position: relative;
	left: -14px;
}

.cardConcept label {
  cursor: pointer;
}
.copyjson, .delcard {
	padding: 4px;
}

.case2 .msg_body div:has(>.share_act)::after,
.case4 .msg_body div:has(>.share_act)::after,
.case7 .msg_body div:has(>.share_act)::after,
.case8 .msg_body div:has(>.share_act)::after,
.case10 .msg_body div:has(>.share_act)::after,
.case12 .msg_body div:has(>.share_act)::after,
.case13 .msg_body div:has(>.share_act)::after,
.case14 .msg_body div:has(>.share_act)::after,
.case15 .msg_body div:has(>.share_act)::after,
.case20 .msg_body div:has(>.share_act)::after,
.case22 .msg_body div:has(>.share_act)::after
{ 
	content: "已建立轉分享功能";
	display: block;
	position: absolute;
	bottom: 0px;
	line-height: 40px;
	left: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	color:red;
}
.case18 .msg_body h6:has(+.share_act)::before {
    content: "已建立轉分享功能";
    display: block;
    position: absolute;
    bottom: 54px;
    line-height: 40px;
    left: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    color: red;
    z-index:1;
}
body > div.m-2.p-4.blkh > div._model_.active > .case18 > session.msg_body > div.ml-2.mb-3.vertical2pic > div.input-group.mb-1.ml-2.mt-2 > div:nth-child(2) > h6:has(+.share_act)::before,
body > div.m-2.p-4.blkh > div._model_.active > .case18 > session.msg_body > div.ml-2.mb-3.vertical2pic > div.input-group.mb-1.ml-2.mt-2 > div:nth-child(6) > h6:has(+.share_act)::before {
    bottom:40px;
    left:20px;
}
.case23 .msg_body h6:has(+.share_act)::after {
    content: "已建立轉分享功能";
    display: block;
    position: absolute;
    bottom: -10px;
    line-height: 40px;
    left: 80px;
    font-weight: 700;
    letter-spacing: 1px;
    color: red;
    z-index: 1;
    width: 140px;
}
.msg_footer div:has(>.share_act)::after{
	content: "已建立轉分享功能";
	display: block;
	position: absolute;
	top: 0px;
	line-height: 40px;
	left: 10px;
	font-weight: 700;
	letter-spacing: 1px;
	color:red;
}
.search_txt,
[name=importUrls] {
	font-size: 16px;
}