.donate-yw {
	background: #e8e8e8;
}


.donate-yw .donate-box {
	max-width: 768px;
	margin: 0 auto;
	padding-bottom: 60px;
	overflow: hidden;
	background: #e8e8e8;
	position: relative;
}


.donate-yw .donate-box .top {
	position: relative;
	background: url(../images/yw-1.png) top center no-repeat;
	background-size: contain;
}

.donate-yw .donate-box .top .logo {
	padding-top: 15px;

}

.donate-yw .donate-box .top .logo img {
	max-width: 100%;
	height: auto;

}

.donate-yw .donate-box .top .name {
	background: #fff url(../images/yw-7.png) bottom center no-repeat;

}

.donate-yw .donate-box .top .name img {
	max-width: 100%;
	height: auto;
	padding: 15px;
	padding-bottom: 50px;

}

.donate-yw .donate-box .project {
	border: #fff 7px solid;
	background: #fff url(../images/yw-8.png) bottom center no-repeat;
	background-size: cover;
	padding-bottom: 25px;
	-webkit-border-bottom-right-radius: 16px;
	-webkit-border-bottom-left-radius: 16px;
	-moz-border-radius-bottomright: 16px;
	-moz-border-radius-bottomleft: 16px;
	border-bottom-right-radius: 16px;
	border-bottom-left-radius: 16px;
}

.donate-yw .donate-box .project .p-name {
	padding-top: 0;
	padding-bottom: 10px;
	font-size: 21px;
	font-weight: bold;
	line-height: 22px;
	text-align: center;

}

.donate-yw .donate-box .project .p-target {
	padding: 0 50px;
	font-size: 16px;
	color: #707070;

}


.donate-yw .donate-box .project .p-target .text-per {
	width: 41px;
	font-size: 18px;
	color: #707070;
}

.donate-yw .donate-box .project .p-target .percent {
	position: relative;
	height: 8px;
	width: 225px;
	margin-top: 10px;
	background: #D2D2D2;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

overflow: hidden;}

.donate-yw .donate-box .project .p-target .percent .tube {
	height: 8px;
	background: #18A2F3;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}


.donate-yw .donate-box .project .p-icon {
	text-align: center;
	padding-top: 20px;

}

.donate-yw .donate-box .project .p-icon .box-icon {
	width: 122px;

}


.donate-yw .donate-box .project .p-icon .box-icon .pic {
	width: 65px;
	margin: 0 auto;

}

.donate-yw .donate-box .project .p-icon .box-icon .pic img {
	max-width: 100%;

}

.donate-yw .donate-box .project .p-icon .box-icon .text {
	padding-top: 5px;

}

.donate-yw .donate-box .box-all {
	margin-top: 10px;
	padding: 7px;
	background: #fff;

	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
}

.donate-yw .donate-box .box-all .top-all-1 {

	background: #18A2F3;
	font-size: 20px;
	color: #fff;
	padding: 7px;

	-webkit-border-top-left-radius: 12px;
	-webkit-border-top-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-topright: 12px;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;

}

.donate-yw .donate-box .box-all .mid-all-1 {
	padding: 10px;
}


.donate-yw .donate-box .box-all .mid-all-1 .box-user {
	width: 85px;
	margin-right: 20px;

}


.donate-yw .donate-box .box-all .mid-all-1 .box-user .pic {
	margin: 0 auto;
	width: 75px;
	height: 75px;

}

.donate-yw .donate-box .box-all .mid-all-1 .box-user .pic img {
	max-width: 100%;

}

.donate-yw .donate-box .box-all .mid-all-1 .box-user .text {
	padding-top: 5px;
	text-align: center;
	font-size: 12px;
	line-height: 18px;

}

/***************************************************************/

.donate-yw .donate-box .box-all .top-all-2 {

	background: #FB030A;
	font-size: 19px;
	color: #fff;
	padding: 7px;

	-webkit-border-top-left-radius: 12px;
	-webkit-border-top-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-topright: 12px;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;

}

.donate-yw .donate-box .box-all .mid-all-2 {
	padding: 0 0 5px 0;
}


.donate-yw .donate-box .box-all .donate-btn {
	font-size: 16px;
	line-height: 32px;
	color: #fff;
	padding-right: 25px;
	background: url(../images/yw-3.png) 100% 3px no-repeat;

}

.donate-yw .donate-box .box-all .donate-title {
	font-size: 16px;
	line-height: 20px;
	color: #707070;
	padding: 5px 0;
}


.donate-yw .donate-box .box-all .donate-room {
	background: #fff;
	margin: 5px;
	padding: 10px 4px;

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;

	box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.15);
}


.donate-yw .donate-box .box-all .donate-room .room-name {
	width: 35%;
	font-size: 13px;
	font-weight: bold;
	color: #212121;
}

.donate-yw .donate-box .box-all .donate-room .pc-box {
	width: 65%;
}

.donate-yw .donate-box .box-all .donate-room .percent {
	position: relative;
	height: 8px;
	width: 100%;
	margin-top: 7px;
	background: #D2D2D2;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

}

.donate-yw .donate-box .box-all .donate-room .percent .tube {
	height: 8px;
	background: #18A2F3;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.donate-yw .donate-box .box-all .donate-room .percent .success {
	height: 8px;
	background: #92E404;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.donate-yw .donate-box .box-all .donate-room .donate-aff {
	padding-top: 3px;
	text-align: right;
	font-size: 14px;
	line-height: 20px;
	color: #707070;
}


/*************************/
.donate-yw .donate-box .popup {
	position: relative;
	margin: 15px auto 7px;
	padding-bottom: 30px;
	max-width: 397px;

	background: #fff;

	-webkit-border-radius: 11px;
	-moz-border-radius: 11px;
	border-radius: 11px;
	border: #707070 1px solid;


}

.donate-yw .donate-box .popup .box-pop {
	padding: 10px 7px;
	border-bottom: #C5C5C5 6px solid;
}

.donate-yw .donate-box .popup .topic-1 {
	font-size: 22px;


}

.donate-yw .donate-box .popup .topic-2 {
	font-size: 18px;


}


.donate-yw .donate-box .popup .list {}

.donate-yw .donate-box .popup .list ul {
	padding: 0;
	margin: 0;
}

.donate-yw .donate-box .popup .list ul li {
	list-style: none;
	padding: 10px 0px;
}

.donate-yw .donate-box .popup .topic2 {
	font-size: 20px;
	line-height: 20px;
	font-weight: bold;
}

.donate-yw .donate-box .popup .topic2 .form-check-label {
	margin-top: 8px;
	font-size: 20px;
	line-height: 20px;
	padding-left: 10px;
}

.donate-yw .donate-box .popup .topic2 .form-check-input {
	width: 24px;
	height: 24px;
}

.donate-yw .donate-box .popup .topic2 .form-check {
	position: relative;
	padding-left: 20px;
	margin: 0;
}

.donate-yw .donate-box .popup .box-pop.thin-line {
	border-bottom-width: 1px;
}

.donate-yw .donate-box .popup .detail {}

.donate-yw .donate-box .popup .detail span {
	color: #2E2E84;
	font-size: 18px;
	line-height: 18px;
}

.donate-yw .donate-box .popup .detail .h-donate {
	font-size: 14px;
	color: #68AA04;
	padding-left: 35px;
}

.donate-yw .donate-box .popup .detail .h-status {
	font-size: 14px;
	color: #F17210;
	white-space: nowrap;
}

.donate-yw .donate-box .popup .donate-unit {
	display: none;
}

.donate-yw .donate-box .popup .checked .donate-unit {
	display: block;
}

.donate-yw .donate-box .popup .donate-unit .money {
	color: #18A2F3;
	font-size: 19px;
	line-height: 18px;
	width: 100%;
	text-align: right;
}

.donate-yw .donate-box .popup .donate-unit .money span {
	color: #000;
	font-size: 14px;
	padding-left: 5px;

}

.donate-yw .donate-box .popup .donate-unit .unit-price {
	padding-left: 35px;
	font-size: 10px;
	color: gray;
	white-space: nowrap;
}

.donate-yw .donate-box .popup .donate-unit .unit-count {
	height: 28px;
	margin: 0 12px;
}

.donate-yw .donate-box .popup .donate-unit .unit-count .btn-step {
	cursor: pointer;
	text-align: center;
	width: 24px;
	font-size: 20px;
	line-height: 26px;
	border: 1px solid #888;
}

.donate-yw .donate-box .popup .donate-unit .unit-count input[type=number] {
	border: 1px solid #888;
	border-right: 0;
	border-left: 0;
	text-align: center;
	width: 36px;
	border-radius: 0;
	-moz-appearance: textfield;
}

.donate-yw .donate-box .popup .donate-unit .unit-count input::-webkit-outer-spin-button,
.donate-yw .donate-box .popup .donate-unit .unit-count input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.donate-yw .donate-box .popup input[type=checkbox] {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.donate-yw .donate-box .popup .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #D8D8D8;

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: #707070 1px solid;
}

/* On mouse-over, add a grey background color */
.donate-yw .donate-box .popup input~.checkmark {
	background-color: #D8D8D8;
}

/* When the checkbox is checked, add a blue background */
.donate-yw .donate-box .popup input:checked~.checkmark {
	background-color: #FB030A;
}

/* Create the checkmark/indicator (hidden when not checked) */
.donate-yw .donate-box .popup .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkmark when checked */
.donate-yw .donate-box .popup input:checked~.checkmark:after {
	display: block;
}

/* Style the checkmark/indicator */
.donate-yw .donate-box .popup .checkmark:after {
	left: 7px;
	top: 3px;
	width: 10px;
	height: 15px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}


.donate-yw .donate-box .popup .item-name {
	font-size: 17px;
	padding-left: 15px;
	font-weight: normal;
}

.donate-yw .donate-box .popup .donate-product {
	width: 50px;
margin: 0 12px;}

.donate-yw .donate-box .popup .donate-product .percent {
	position: relative;
	height: 6px;
	width: 100%;
	margin-top: 7px;
	background: #D2D2D2;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;

}

.donate-yw .donate-box .popup .donate-product .percent .tube {
	height: 100%;
	background: #18A2F3;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
}

.donate-yw .donate-box .popup .donate-product .percent .success {
	background: #92E404;
}

/*************************/

.sum {
	margin: 0;
	padding: 0;

}

.sum-left {
	padding-top: 10px;
	font-size: 22px;
	line-height: 22px;
	font-weight: bold;
}

.sum-right {
	color: #18A2F3;
	font-size: 26px;
}

.sum-right span {
	font-size: 19px;
	color: #000;
	padding-left: 5px;
}

.cc-btn {
	margin: 5px;
	padding: 8px 30px;
	font-size: 22px;
	color: #000;
	background: #fff;

	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;


}

.ok-btn {
	margin: 5px;
	padding: 8px 30px;
	font-size: 22px;
	color: #fff;
	background: #18A2F3;
	-webkit-border-radius: 50px;
	-moz-border-radius: 50px;
	border-radius: 50px;


}

.donate-yw .donate-box .popup .box-form {}

.donate-yw .donate-box .popup .box-form input {
	width: 100%;
	border: none;
	border-bottom: #707070 1px solid;
	font-size: 18px;
	padding: 12px 7px;
}

/***************************************************/
.pay2 {
	margin: 0;
	padding: 0;
}

.pay2 .top {
	margin: 0;
	padding: 10px 15px;
	border-bottom: 6px solid #C5C5C5;
	color: #2E3095;
}

.pay2 .top .topic {
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.pay2 .top .year {
	font-size: 20px;
	line-height: 24px;
	font-weight: bold;
}

.pay2 .mid {
	margin: 0;
	padding: 10px 15px;
	border-bottom: 6px solid #C5C5C5;
}

.pay2 .mid .sum {
	font-size: 20px;
	line-height: 20px;
	color: #2E3095;
	font-weight: bold;
}

.pay2 .mid .sum span {
	font-size: 13px;
	line-height: 20px;
	color: #D26900;
	font-weight: normal;
}

.pay2 .detail-pay {
	margin: 0;
	padding: 10px 5px;
}

.pay2 .detail-pay .top2 {
	font-size: 20px;
	line-height: 20px;
	color: #2E3095;
	font-weight: bold;
	margin-bottom: 10px;
}

.pay2 .detail-pay .mid2 {
	font-size: 20px;
	line-height: 20px;
	color: #2E3095;
	font-weight: bold;
}

.pay2 .detail-pay .mid2 img {
	max-width: 100%;
	height: auto;
}

.pay2 .detail-pay .mid2 .text {
	margin-top: 10px;
	font: 16px/20px 'kanit', Arial, sans-serif;
	color: #707070;
}

.pay2 .detail-pay .top3 {
	font-size: 18px;
	line-height: 20px;
	color: #2E2E84;
	margin-bottom: 10px;
}

.pay2 .detail-pay .mid3 {
	font-size: 20px;
	line-height: 20px;
	color: #2E3095;
	font-weight: bold;
}

.pay2 .detail-pay .top4 {
	font-size: 18px;
	line-height: 20px;
	color: #2E2E84;
	margin-bottom: 10px;
}

.pay2 .detail-pay .mid4 {
	font-size: 20px;
	line-height: 20px;
	color: #2E3095;
	font-weight: bold;
}


.pay2 .detail-pay .mid4 .block {
	padding: 5px;
	border: 1px solid #D4D4D4;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}

.pay2 .detail-pay .mid4 .block .textbox-block {
	width: 80%;
}

.pay2 .detail-pay.mid4 .block .calendar-block {
	width: 20%;
	text-align: right;
	padding-top: 5px;
	padding-right: 5px;
}

.pay2 .detail-pay .mid4 .block input {
	border: none;
}

.pay2 .detail-pay .mid4 .block .form-group {
	margin-bottom: 0px;
}

.pay2 .detail-pay .ex-top {
	margin-top: 10px;
	padding: 10px 0px;
	font-size: 18px;
	line-height: 20px;
	color: #2E2E84;
	margin-bottom: 10px;
	text-align: center;
}

.pay2 .detail-pay .ex-mid {
	margin: 0;
	padding: 0;
}

.pay2 .detail-pay .ex-pic {
	margin: 0 auto;
	width: 172px;
	height: 169px;
}

.pay2 .detail-pay .ex-pic img {
	max-width: 100%;
	height: auto;
}

/*************************/
.thankyou {}

.thankyou .thx-1 {
	font-size: 26px;
	line-height: 30px;
}

.thankyou .thx-2 {
	font-size: 20px;
	line-height: 30px;
	color: #18A2F3;
}

.thankyou .thx-3 {
	font-size: 20px;
	line-height: 30px;
	color: #000;
}

/*************************/

.name-list {}

.name-list .nn-tab {}

.name-list .nn-tab .tab-select {
	font-size: 16px;
	background: #18A2F3;
	padding: 5px 10px;
	color: #fff;
	margin: 0 5px 0 0;

	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.name-list .nn-tab .tab-normal {
	font-size: 16px;
	background: #fff;
	padding: 5px 10px;
	color: #000;
	margin: 0 5px 0 0;

	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.name-list .nn-mid {
	padding-top: 15px;
}

.name-list .nn-mid .bar {
	text-align: center;
	font-size: 14px;
	background: #e3f4fe;
	-webkit-border-radius: 30px;
	-moz-border-radius: 30px;
	border-radius: 30px;
}

.name-list .nn-mid .it-list {
	padding: 6px 3px;
}

.name-list .more-nna {
	font-size: 14px;
	color: #18A2F3;
	padding-right: 20px;
	background: url(../images/yw-9.png) 100% 3px no-repeat;
}

.donate-yw .noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
		 -moz-user-select: none; /* Old versions of Firefox */
		  -ms-user-select: none; /* Internet Explorer/Edge */
			  user-select: none; /* Non-prefixed version, currently
									supported by Chrome, Edge, Opera and Firefox */
  }

/*************************/
@media (max-width: 480px) {
	.donate-yw .donate-box .project .p-icon .box-icon {
		width: 105px;	
	}
}

@media (max-width: 425px) {
	.name-list .nn-tab .tab-select,
	.name-list .nn-tab .tab-normal {
		font-size: 14px;
		padding: 5px 8px;
	}

	.name-list .nn-mid .it-list {
		font-size: 14px;
		padding: 6px 0;
	}

	.donate-yw .donate-box .project .p-icon .box-icon {
		width: 100px;	
	}	
	
}

@media (max-width: 375px) {
	.donate-yw .donate-box .project .p-icon .box-icon {
		width: 88px;	
	}
}


@media (min-width: 768px) and (max-width: 991px) {

	.donate-yw .donate-box .top .logo {
		padding-top: 117px;
	}

	.donate-yw .donate-box .project .p-target {
		padding: 0px 240px;
	}

	.donate-yw .donate-box .popup {
		max-width: 397px;
	}

}

@media (min-width: 992px) and (max-width: 1920px) {
	.donate-yw .donate-box .project .p-target {
		padding: 0px 240px;
	}
}