@media (min-width: 320px) {
	#index-campaigns {
	padding: 35px 0px 35px 0px;
	background-color: #fff;
	}
	#index-campaigns h2 {
	font-size: 30px;
	margin-bottom: 32px;
	}
	#index-campaigns h3 {
		text-align: center;
	}
	#index-campaigns .card.mode-4 h3 {
		margin-bottom: 36px;
	}
	.card.countdown {
		box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.2);
	}
	#index-campaigns .card {
		min-height: 400px;
	}
	#index-campaigns .card:not(.mode-3) {
		display: flex;
		flex-direction: column;
		justify-content: space-evenly;
	}
	.fund-link-wrapper {
		position: absolute;
		bottom: 15%;
		width: 100%;
		text-align: center;
	}
	.date-table div.start-date {
		border-right: 1px dashed #2d2b2d;
		padding-left: 0px;
		padding-right: 5px;
		font-size: 15px;
		font-weight: bold;
	}
	.date-table div.end-date {
		padding-right: 0px;
		padding-left: 10px;
		font-size: 15px;
		font-weight: bold;
	}
	.date-table div.link-wrapper {
		margin-top: 20px;
		text-align: center;
	}
}
@media (min-width: 992px) {
	#index-campaigns .slick-slide {
	  opacity: 0.6;
	  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
	  background-color: #ffffff;
	  cursor: pointer;
	  transition: 0.1s all;
	}
	#index-campaigns .slick-slide:focus {
	  outline: none;
	}
	#index-campaigns .slick-current.slick-center {
		opacity: 1;
		transform: scale(1.25);
		z-index: 99;
		box-shadow: 0 2px 8px 1px rgba(0, 0, 0, 0.2);
	}
	#index-campaigns .slick-current.slick-center:nth-child(3n+1) {
		transform: scale(1.25) translate(60px, 0px);
	}
	#index-campaigns .slick-current.slick-center:nth-child(3n+3) {
                transform: scale(1.25) translate(-60px, 0px);
        }
	#index-campaigns h2 {
		font-size: 42px;
		margin-bottom: 72px;
	}
	#index-campaigns .slick-track {
		margin-top: 70px;
		padding: 10px 0px;
	}
	#index-campaigns .slick-list {
		height: 560px;
	}
	#index-campaigns h3 {
		font-size: 24px;
	}
	#index-campaigns {
		padding: 76px 0px 90px 0px;
		background-color: #fff;
	}
	.fund-link-wrapper {
		width: 87%;
	}
	.date-table div.start-date {
		border-right: 1px dashed #2d2b2d;
		padding-left: 0px;
		padding-right: 5px;
		max-width: 29%;
		font-size: 16px;
		font-weight: bold;
	}
	.date-table div.end-date {
		padding-right: 0px;
		padding-left: 10px;
		max-width: 29%;
		font-size: 16px;
		font-weight: bold;
	}
	.date-table div.link-wrapper {
		padding-right: 0px;
		padding-left: 0px;
		margin-top: 10px;
		max-width: 40%;
		flex: auto;
	}
	.chart .per-num-wrapper {
		width: 100%;
		position: absolute;
		top: 0;
		height: 200px;
		padding: 22px 61px;
	}
	.chart .per-num {
		height: 156px;
		width: 156px;
		margin: 0 auto;
		border-radius: 85px;
		font-size: 57px;
		font-weight: 800;
		line-height: 0.81;
		border: 3px solid #8b0c26;
		padding-top: 33px;
		position: relative !important;
		top: unset !important;
		left: unset !important;
	}
	.chart .per-num p {
		font-size: 57px;
		line-height: .5;
		margin-top: 15px;
	}
	.chart .per-num p .label {
		font-size: 26px;
	}
	#fund-campagin .slick-prev {
		left: -45px !important;
	}
	#fund-campagin .slick-next {
		right: -45px !important;
	}
	.date-table .link {
                font-size: 13px;
                padding: 10px 7px;
        }
}
@media (min-width: 1280px) {
	.date-table .link {
		font-size: 14px;
    		padding: 15px 20px;
	}
}
@media (min-width: 320px) and (max-width: 992px ){
	.date-range.row {
		max-width: 360px;
		margin: 0 auto;
		margin-top: 50px;
	}
	#fund-campagin {
		padding-left: 10px;
		padding-right: 10px;
	}
	.slick-prev {
		left: 70px !important;
		bottom: -38px;
		top: unset;
		z-index: 99;
	}
	.slick-prev img {
		width: 7px;
	}
	.slick-next {
		right: 70px !important;
		bottom: -38px;
		top: unset;
		z-index: 99;
		
	}
	.slick-next img {
		width: 7px;
	}
	#index-campaigns h3 {
		font-size: 16px;
		text-align: center;
	}
	.fund-link-wrapper a.link {
		font-size: 17px;
		padding: 11px 22px;
	}
	.chart .per-num-wrapper {
		width: 100%;
		position: absolute;
		top: 0;
		height: 200px;
		padding: 22px 61px;
	}
	.chart .per-num {
		height: 156px;
		width: 156px;
		margin: 0 auto;
		border-radius: 85px;
		font-size: 57px;
		font-weight: 800;
		line-height: 0.81;
		border: 3px solid #8b0c26;
		padding-top: 33px;
		position: relative !important;
		top: unset !important;
		left: unset !important;
	}
	.chart .per-num p {
		font-size: 57px;
		line-height: .5;
		margin-top: 15px;
	}
	.chart .per-num p .label {
		font-size: 26px;
	}
}
.countdown {
	padding: 22px;
	background-color: white;
}
.clock {
	margin-top: 45px;
	display: flex;
	flex-direction: row;
	justify-content: center;
	    align-items: center;
}
.clock > div:not(.comma) {
	height: 80px;
	width: 80px;
	background-image: url('/20250218150540oe_/https://cc.cuhk.edu.hk/dev/images/development/countdown/date_red.svg');
	background-size: contain;
	background-repeat: no-repeat;
    padding: 0px;
    font-size: 70px;
    text-align: center;
    color: white;
    vertical-align: top;
    font-weight: 800;
    line-height: 1.25;
	margin: 0px 5px;
}
.clock > div.time {
	height: 80px;
	width: 173px;
	background-image: url('/20250218150540oe_/https://cc.cuhk.edu.hk/dev/images/development/countdown/time_red.svg');
	background-size: contain;
	background-repeat: no-repeat;
    padding: 0px;
    text-align: center;
    color: white;
    vertical-align: top;
    font-weight: 800;
    line-height: 1.25;
	text-align: center;
	margin: 0 auto;
	font-size: 70px;
}
.clock > div.comma {
	margin: 0px 10px;
}
.clock > div.comma img {
	width: 14px;
	height: 50px;
}
.clock-helper {
	margin-top: 12px;
	margin-bottom: 51px;
	text-align: center;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.13;
}
div.clock-helper {
	display: flex;
}
div.clock-helper div:first-child, div.clock-helper div:last-child {
	width: 194px;
}
div.clock-helper div:nth-child(2) {
	width: 286px;
}
.raised-table, .target-table {
	width: 100%;
}
.raised-table {
    border-bottom: 1px solid #2d2b2d;
}
.raised-table td {
	width: 50%;
	padding: 18px 0px;
	font-size: 29px;
	font-weight: 800;
}
.target-table td {
	width: 33%;
	padding: 18px 0px;
	font-size: 29px;
	font-weight: 800;
}
.raised-table .label, .target-table .label {
	font-size: 26px;
	font-weight: normal;
}

.link {
	background-color: #ba8327;
	color: white;
	padding: 20px;
	font-size: 13px;
	font-weight: bold;
}
.link:hover {
	color: white;
}

#index-campaigns h2 {
	text-align: center;
	color: #8b0c26;
    font-weight: 500;
}

.chart {
	position: relative;
	min-height: 207px;
}
.chart canvas {
	transform: rotate(90deg);
}
.arc.chart canvas {
	transform: rotate(180deg);
}
.chart {
	text-align: center;
	position: relative;
}
/*.chart .per-num {
	position: absolute;
	height: 155px;
	width: 155px;
	top: 11%;
	text-align: center;
	padding-top: 33px;
	padding-left: 0px;
	padding-right: 0px;
	left: 28.5%;
	border: 3px solid #8b0c26;
	border-radius: 300px;
	font-size: 57px;
	font-weight: 800;
	line-height: 0.81;
}
.chart .per-num .label {
	font-size: 26px;
	font-weight: bold;
}*/
.date-table {
	border-top: 1px solid #333;
	width: 100%;
	padding-top: 20px;
}
.date-table div .label {
	font-weight: normal;
}
.date-range.row {
	justify-content: space-between;
}
.date-range.row .col-6 {
	text-align: center;
}
.date-bg {
	background-image: url('https://webarchive.lib.cuhk.edu.hk/20250218150540oe_/http://wcms-dev2.yakoo.com.hk/ccc-donation/images/development/countdown/date_red.svg');
	width: 120px;
	height: 120px;
	background-size: contain;
	margin: 0 auto;
}
.date-range.row p {
	margin-bottom: 1px;
}
.date-range.row .date {
	height: 50%;
	font-size: 30px;
	color: white;
	padding-top: 10px;
}
.date-range ~ .link {
	position: absolute;
	bottom: 10%;
	font-size: 13px;
	left: 30%;
}
.fund-static-photo {
	height: 190px;
    overflow: hidden;
}
.fund-static-photo img {
	width: 100%;
}
