/* 20220817 merge from https://technews.tw/subscribe/css/style.css Laravel Project */
tnNewsLetterContainerInner2{
	font-family: "微軟正黑體", "新細明體";
}
a{
	text-decoration: none;
}
input[type="checkbox"]{
	cursor: pointer;
}
/* The Modal (background) */
.modal {
	/*display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 7; /* Sit on top */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0,0,0); /* Fallback color */
	background-color: rgba(0,0,0,0.5); /* Black w/ opacity */
}
.popup_modalContent{
	padding: 20px;
	border-radius: 10px;
}
.popup_modalContent p{
	line-height: 1.5
}
#adNewsLetter{
	position: absolute; 
	height: auto; 
	width: 550px; 
	display: block;
	left: 50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	border-radius: 12px;
	box-shadow: 0px 25px 15px -20px rgba(0,0,0,0.2);
	overflow: visible;

}
/*-- 內文字體大小 --*/
.myDialog{
	font-size: 1rem;
	line-height: 1.5;
}

.SubscribeSuccess_img{
	width: 40%;
	height: auto;
	display: block;
	margin:20px auto;
	
}
.closeBtn{
    float: right;
    cursor: pointer;
    margin: 8px;
	background-color: #fff;
	border: 0px;
	padding: 4px 8px;
	position: absolute;
	top: -20px;
	right: -20px;
	border-radius: 50%;
}

#adNewsLetter .closeBtn{
	background-color: #fff;
	border: 2px solid #2D2D2D;
	background-color: #2D2D2D;
	color: #fff	;
}

#adNewsLetter .closeBtn:hover{
    background-image: none;
	box-shadow: none;
}
#adNewsLetter .closeBtn:active{
    background-image: none;
	box-shadow: none;
}

#adNewsLetter .tnNewsLetterContainerInner1{
	width: 46%;
	margin: -7px;
}
#adNewsLetter .tnNewsLetterContainerInner2{
	width: 54%;
	align-self: center;
}
#adNewsLetter .tnNewsLetterContainer .tnNewsLetterContainerInner{
	display: flex;
}
#adNewsLetter .tnNewsLetterContainer .buttonGroup .buttonGroupInner{
	display: flex;
}
#adNewsLetter .tnNewsLetterContainer .buttonGroup{
	margin-bottom: 0px;
	margin-top: 10px;
}

/*-----
from css
-----*/
.tnNewsLetterContainer .tnNewsLetterContainerInner{
	margin: 10px;
}
.tnNewsLetterContainer .tnNewsLetterContainerInner .emailInput{
	width: 100%;
}
.tnNewsLetterContainer .tnNewsLetterContainerInner .emailCheck{
	color: #ff0000;
	font-size: 10px;
	display: none;
}
.tnNewsLetterContainer .formItem .checkboxTitle{
	margin-top: 10px;
}
.tnNewsLetterContainer .formItem .checkboxTitleNote{
	font-size: 10px;
}
.tnNewsLetterContainer .formItem .checkbox{
	display: block;
	margin: 5px auto;
	cursor: pointer;
}
.privacyPoliciesBtnOuter{
	margin-top: 20px;
}
.tnNewsLetterContainer .buttonGroup{
	margin-bottom: 10px;
}
.tnNewsLetterContainer .buttonGroup .buttonGroupInner, .tab-inner .tnNewsLetterContainerInner2, .tab-inner .formItem{
	width: 100%;
}
.buttonGroup .tnNewsLetterBtn{
	font-size: 18px;
	line-height: 1.5;
	border: 1px solid #e3e3e3;
	border-radius: .1em;
	padding: .1em 1em;
	cursor: pointer;
	width: 100%;
	display: block;
	margin-bottom: .4em;
	background-image: none;
}
.buttonGroup .tnNewsLetterBtn:hover{
	background-image: none;
}
.tnNewsLetterContainer .tnNewsLetterBtn.subscribe{
	background-color: #CC000C;
	color: #fff;
}
.tnNewsLetterContainer .tnNewsLetterBtn.subscribe:hover{
	background-color: #E20C21;
}
.tnNewsLetterContainer .formItem .checkbox .privacyPoliciesBtnNote{
	color: #f00;
}
input.emailInput.formText.required {
	width: 100%;
	margin-bottom: 10px;
	margin-top: 10px;
	border: 1px solid #d7d7d7;
	padding-top: 5px;
	padding-bottom: 5px;
	color: #131313;
}
.privacyPoliciesBtnOuter a{
	transition: all 1s;
	font-weight: 700;
}
.privacyPoliciesBtnOuter a:hover{
	color: #B12023;
}
.tnNewsLetterContainer .formItem .required{
	color: #131313;
}

/*------
右側欄位
------*/
.edmSection{
	border: 1px solid #333;
}


/*---訂閱電子報視窗ver1---*/
.popup_modalContent1{
	background-image: -webkit-linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 45.60%,#2D2D2D 45.60%,#2D2D2D 100%);
	background-image: -moz-linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 45.60%,#2D2D2D 45.60%,#2D2D2D 100%);
	background-image: -o-linear-gradient(180deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 45.60%,#2D2D2D 45.60%,#2D2D2D 100%);
	background-image: linear-gradient(270deg,rgba(255,255,255,1.00) 0%,rgba(255,255,255,1.00) 54%,#2D2D2D 54%,#2D2D2D 100%);	
}
.tnNewsLetterContainerInner2{
	margin-left: 25px;
}
.tnNewsLetterContainerInner1 img{
	display: block;
	width: 80%;
	margin: auto;
}
.tnNewsLetterContainerInner1 .titleH1,.tnNewsLetterContainerInner1 h4{
	color: #fff;
	text-align: center;
}

.tnNewsLetterContainerInner1 h4 {
    display: block;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.tnNewsLetterContainerInner1 .titleH1{
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;

}
.tnNewsLetterContainer ul.tab-title{ display:block; margin:0 auto;list-style:none; width: 110px;padding: 0px;}
.tab-title{list-style:none;}
.tnNewsLetterContainer ul.tab-title > li{ display:inline-block; vertical-align:top;  height:25px; line-height:25px;padding:0 10px;list-style:none; box-sizing:border-box;}
.tnNewsLetterContainer ul.tab-title > li:last-child{border-left: 1px solid ;}
.tnNewsLetterContainer ul.tab-title > li a{ color:#e3e3e3; text-decoration:none;}
.tnNewsLetterContainer ul.tab-title > li.active > a{ color:#000; }
.tnNewsLetterContainer ul.tab-title > li a:hover{cursor: pointer;}

/*------
內文欄位
------*/
.newsLetter_articleContent{
	/*background-color: #F7F7F7;*/
}
.newsLetter_articleContent .logo{
	padding: 20px;
}
.newsLetter_articleContent .logo img{
	display: block;
	margin: auto;

}
.newsLetter_articleContent .articleContent_hr{
	border: 1px solid #AD1A1A;
	height: 0;
	margin: 24px 0;
}

.newsLetter_articleContent .articleContent_text{
	text-align: center;
	color: #404040;
	font-size: 1.3em !important;
	font-weight: 800;
	margin-top: -10px;
	letter-spacing: 5px;
	margin-bottom: 20px;
}
.newsLetter_articleContent .btnGroup{
	margin: 0px auto;
	width: 330px;
	padding-bottom: 20px;

}
.newsLetter_articleContent .articleContentBtn{
	border: 1px solid #404040;
	color: #fff;
	padding: 8px;
	margin: 3px;
	border-radius: 4px;
	font-size: 1em;
	transition: all .3s;

}
.newsLetter_articleContent .articleContentBtn.socialBtn{
	background-color: #3b5998;
	border-color: #3b5998;
}
.newsLetter_articleContent .articleContentBtn.socialBtn:hover{
	cursor: pointer;
	background-color: #4E6FB4;
	color: #fff;
	border-color: #4E6FB4;
}
.newsLetter_articleContent .articleContentBtn.newsLetterBtn{
	background-color: #404040;
	padding-left: 10px;
	padding-right: 15px;
}
.newsLetter_articleContent .articleContentBtn.newsLetterBtn:hover{
	background-color: #AD1A1A;
	border-color: #AD1A1A;
}

.newsLetter_articleContent .articleContentBtn.newsLetterBtn img{
	margin: -4px;
	margin-left: 5px;
}


@media (max-width: 600px){
	#newsLetter_SubscribeSuccess,.adNewsLetter2,#adNewsLetter{
		width: 85%; 
		/*top: 250px;*/
	}
	#adNewsLetter .tnNewsLetterContainer .tnNewsLetterContainerInner{
		display: block;
	}
	
	.popup_modalContent1{
		background-image: none;
		background-color: #fff;
	}
	#adNewsLetter .containerInner{
		width: 90%;
		margin: auto;
	}
	.tnNewsLetterContainerInner1 img{
		width: 50%;
	}
	.popup_modalContent{
		padding: 20px 5px;
	}
	.tnNewsLetterContainerInner1 .titleH1, .tnNewsLetterContainerInner1 h4{
		margin: 5px;
		color: #000;
	}
	.tnNewsLetterContainerInner1 h4{
		margin-bottom: 10px;
		color: #CC000C;
	}
}

