@import url('https://webarchive.lib.cuhk.edu.hk/20240726070645cs_/https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/*------------------------------------*\
    MAIN
\*------------------------------------*/


/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}
.clear:after { clear:both;}

.clear {*zoom:1; clear:both;}

img {max-width:100%;	vertical-align:bottom;}

a {	color:#444;	text-decoration:none;}

a:hover {text-decoration:none;}

a:focus {outline:0;text-decoration:none;}

a:hover, a:active {	outline:0;}

input:focus, textarea:focus, button:focus {	outline:0;	border:0;}

ul,li,h1,h2,h3,h4 {list-style-type:none;margin:0;padding:0}

a{display: inline-block;}
a:hover{color:#b2ada9}
li{ list-style-type: none;}
body {
	font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #000;
    line-height: 28px;
}
.container{
    width: 98%;
    max-width: 1200px;
}
.more-btn{
    position: absolute;
    right: 5%;
    bottom: 80px;
    color: #fff;
    z-index: 1;
    font-weight: 600;
    font-size: 20px;
}
.more-btn:hover{
    color:#b21c3d;
}
.bg-black{background-color: #000;}
.red-bg{background-color: #b21c3d;}
.bg-gray{background-color: #5e5e5e;}
.text-w{color: #fff;}
.h32{font-size: 32px;font-weight: 600;}
.h48{font-size: 48px;}
.h26{font-weight: 600;font-size: 26px;}
.z-index2{z-index: 2;}
.line-w{color: #fff;}
.line-w:hover,.text-red{color:#b21c3d}
.h-black:hover,.black-text{color: #000;}
.clip-l{clip-path: polygon(0 0, 100% 0, 100% 100%, 25% 100%);}
.clip-r{clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);}
.clip-b{clip-path: polygon(20% 0%, 100% 0, 100% 100%, 0% 100%);}
.w-55{width: 55%;}
.icon-shadow img{
    box-shadow: 0px 2px 10px #ddd;
    border-radius: 0 0 150px 150px;
    padding: 0 10px 10px;
}
.img-clip::before {
    content: "";
    position: absolute;
    clip-path: polygon(75% 0%, 100% 0, 100% 100%, 0% 100%);
    background-color: #b21c3d;
    width: 190px;
    height: 100%;
    left: -189px;
    top: 0;
}
.mtm-50{margin-top: -50px;}
.cms_content .det-btn {
    display: block;
    background: #ba8328;
    color: #fff;
    text-align: center;
    padding: 15px;
    margin-left: 15px;
}
/*---------------header----------------------*/
.header{
	width:100%;
	background-color:#efefef;
    display: none;
    max-width: 450px;
}
.header.open{
    display: block;
}
.col-menu{
    font-size: 12px;
}
.main-menu{
    font-size: 17px;
}
.main-menu li a{
    display: block;
    padding: 5px 30px;
    font-size: 17px;
}
.main-menu > li > a:hover,.main-menu > li.active > a,.social-icons a:hover{
    background-color: #b21c3d;
    color: #fff;
}
.sub-menu-main{
    font-size: 13px;
}
.social-icons a{
display: inline-block;
width: 35px;
height: 35px;
background-color:808080 ;
border-radius: 100%;
color: #fff;
margin-right: 10px;
}
.social-icons a i{
    line-height: 35px;
}
.drop-menu li a{
    border-bottom: 1px solid #ddd;
    padding: 5px 15px;
    font-size: 14px;
    color: #000;
}
.drop-menu li a:hover{
    background-color: #b21c3d;
    color: #fff;
}
.drop-menu img,.main-menu > li .arrow{display: none;}

@media (min-width: 992px){
    #topNavBtn{display: none;}
    .wrapper{
        padding-right:245px;
    }
    .header{
        width:245px;
        background-color:#efefef;
        display: block;
    }
    .drop-menu{
        background-color: #efefef;
        width: 244px;
        position: absolute;
        right: 244px;
        top:0;
        bottom: 0;
        height: 100%;
        border-right: 1px solid #ddd;
        opacity: 0;
        transition: 0.5s;
        display: none;
    }
    .drop-menu img{display: block; padding:10px 0;}
    .main-menu > li:hover .drop-menu{
        opacity: 1;
        display: block;
    }
    .close-menu{display: none;}
    .home #topNavBtn{
        display: block;
        z-index: 9;
    }
    .home .header{opacity: 0;transition: 0.3s;right:-244px !important}
    .home .wrapper{padding-right: 0;transition: 0.5s;}
    .home.move-div .wrapper,.home.sticky .wrapper{padding-right: 244px;}
    .home .header.open,.home.sticky .header{right:0 !important;opacity: 1;z-index: 99;}
    .home .header.open .close-menu{right: 244px !important;display: block;z-index: 0;}
    
}
@media (max-width: 991px){
    .main-menu > li{
        position: relative;
    }
    .main-menu > li .arrow {
        display: block;
        position: absolute;
        right: 15px;
        top: 13px;
        text-align: center;
        cursor: pointer;
    }
    .drop-menu{
        display: none;
    }
    .drop-menu li a{
        padding: 5px 30px;
    }
}
/*---------------footer----------------------*/
.footer {
    color: #000;
    font-size: 17px;
}
.footer a{
    color: #000;
    font-size: 15px;
    line-height: 21px;
    padding: 5px 0;
}
.footer h2{
  margin-bottom: 15px;
  position: relative;
  font-size: 17px;
  line-height: 25px;
  font-weight: 600;
}
.footer h2::after{
    content: "";
    border-bottom: 2px solid #b21c3d;
    width: 80px;
    display: block;
    padding-top: 5px;
}
.footer-link a{
    display: inline-block;
    padding:0 20px;
    border-right: 1px solid #000;
    font-size: 14px;
    line-height: 10px;
}
.footer-link a:first-child{padding-left: 0;}
.footer-link a:last-child{border: 0;}
.copyright-text{font-size: 14px;}
/*---------------index-page-------------------*/
.slider-section,.banner-section{position: relative;}
.home-slider::after,.banner-section::after{
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #00000059;
    content: "";
    width: 100%;
    height: 100%;
}
.logo{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1;
    color:#fff;
}

.home-slider .owl-dots{
    position: absolute;
    bottom: 80px;
    left: 5%;
    z-index: 1;
}
.home-slider .owl-dot{
    width: 90px;
    height: 7px;
    background-color: #fff !important;
    margin: 0 2px;
}
.home-slider .owl-dot.active{
    background-color: #b21c3d !important;
}
.notices-icon{
    /* width: 108px; */
    width: 78px;
    background-color: #b21c3d;
    /* padding: 30px 25px 25px 25px; */
    padding: 10px 15px 15px 15px;
    text-align: center;
}
.notices-details span{
    font-size: 16px;
    color: #666;
}
.notices-details p{
    margin: 0;
    color: #000;
    font-weight: 400;
}
.link-section{
    background-color: #000100;
}
.mid-link li{
    display: inline-block;
    padding: 5px 25px;
    border-right: 1px solid #777776;
}
.mid-link li:last-child{
    border-right: none;
}
.mid-link li a{
    color: #fff;
    font-weight: 600;
    font-size: 25px;
}
.top-details,.img-overlay{
    position: relative;
}
.img-overlay::after{
    position: absolute;
    top:0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    width: 100%;
    height: 100%; 
    background: linear-gradient(0deg, #0000007d, transparent);
}
.top-details h2{
    position: absolute;
    bottom: 30px;
    font-size: 40px;
    font-weight: 600;
    width: 100%;
    text-align: center;
    text-transform:uppercase;
    color: #fff;
    z-index: 1;
}
.section-title {
    color: #fff;
    font-size: 48px;
    letter-spacing: 1px;
    font-weight: 400;
    padding: 60px 0;
}
.snapshots-section .img-overlay h2{
    position: absolute;
    bottom: 10px;
    font-size: 19px;
    font-weight: 400;
    width: 100%;
    color: #fff;
    z-index: 1;
    padding-left: 8%;
}
.news-section{
    padding-left:30px;
    padding-right: 20px;
    position: relative;
    font-size: 17px;
}
.section-title-b-line{
    color: #000;
    font-size: 36px;
    letter-spacing: 1px;
    font-weight: 400;
    position: relative;
    border-bottom: 1px solid #777776;
    padding-bottom: 8px;
}
.section-title-b-line::after{
    content: "";
    background-color: #b21c3d;
    width: 83px;
    height: 5px;
    position: absolute;
    bottom:-2px;
    left: 0;
}
.date{
    font-size: 17px;
    color: #777776;
}
.date span{
    font-size: 48px;
    color: #b21c3d;
    display: block;
    font-weight: 700;
    line-height: 40px;
}
.news-details{
    padding: 0 15px;
}
.news-section col:first-child .news-details{
    padding-left: 0;
}
.news-details h2{
    font-size: 20px;
    font-weight: 700;
    color: #000;
}
.news-details .meta,.meta a{
    color: #b21c3d;
    font-size: 15px;
}
.news-section .more-btn{
    bottom: 0;
    color: #000;
    left: 0;
}
.news-section .more-btn i{
    color: #b21c3d;
    font-size: 25px;
    display: inline-block;
    vertical-align: middle;
}
.news-section .more-btn:hover{color: #b21c3d;}
.news-section .right-part,.news-section .left-part{
    position: relative;
    padding-bottom: 40px;
}
.news-section .right-part .more-btn{
    left: 30px;
}
.right-part{
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}
.right-part h3{
    font-size: 26px;
}
.right-part span{
    display: inline-block;
    border-top: 1px solid #fff;
    font-size: 18px;
    padding-right: 15px;
    margin-top: 25px;
}
.hghlights-section{
position: relative;
}
.bg1{
    background-image:url(/20240726070645oe_/https://www.ccc.cuhk.edu.hk/image/hb-1.png);
    background-position: right top;
}
.bg2{
    background-image:url(/20240726070645oe_/https://www.ccc.cuhk.edu.hk/image/hb-2.png);
    background-position: left top;
}
.bg3{
    background-image:url(/20240726070645oe_/https://www.ccc.cuhk.edu.hk/image/hb-3.png);
    background-position: right top;
}
.bg4{
    background-image:url(/20240726070645oe_/https://www.ccc.cuhk.edu.hk/image/hb-4.png);
    background-position: left top;
}
.row-bg{
    background:#b21c3d url(/20240726070645oe_/https://www.ccc.cuhk.edu.hk/image/support-row-bg.png) no-repeat center top / cover;
}
.hb-row{
    background-repeat: no-repeat;
    background-color: #000;
    background-size: 80% 100%;
    height: 350px;
    position: relative;
}
.hb-row h2{
    font-size: 40px;
    color: #fff;
    max-width: 500px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.l-5 h2{
    left: 10%;
}
.r-5 h2{
    right: 10%;
}
/**** About********/
.sub-heading{
    font-size: 32px;
    text-align: center;
}
.sub-heading h2{
    font-size: 48px;
}
.bradcurm {
    position: absolute;
    top: 15px;
    width: 100%;
    text-align: center;
    z-index: 1;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.bradcurm a{
    color:#fff;
    font-weight: bold;
    padding: 0 10px;
}
.bradcurm a.atv{
    color: #b21c3d;
}
.intro-section h2{
    font-size: 25px;
    font-weight: bold;
    text-transform: uppercase;
    text-align:center;
    letter-spacing: 1px;
}
.intro-section h3{
    font-size: 22px;
    font-weight: bold;
}
.h-inner{
    max-width: 500px;
}
.h-inner .more-btn{
    position: relative;
    left:0 ;
    bottom: 0;
}
.h-inner  h2{font-size: 32px;}
.college-section{
    background-color: #bebebe;
    color:#000 ;
    position: relative;
}
.college-section h2{
    text-align: center;
    font-size: 35px;
}
.college-section .more-btn {
    position: relative;
    left: 0;
    bottom: -50;
    margin: 0 auto;
    text-align: center;
    width: 100%;
}
.college-section .mm-t{
    margin-top: -150px;
}
.text-center.section-title-b-line::after{
    left: 0;
    margin: 0 auto;
    right: 0;
}
.pastoral-care .col:last-child .news-details{
    padding-right: 0;
}
.service-row {
    overflow: hidden;
}
.mid-info{
    position: absolute;
    /* top: -20%; */
    top: -22%;
    width: 350px;
    /* width: 400px; */
    padding-bottom: 30px;
    height: 400;
    left: 0;
    right: 0;
    margin: 0 auto;
    border-radius:100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* padding-top: 8%; */
    padding-top: 12%;
    padding-left: 2%;
    padding-right: 2%;
    
}
.mid-info h2{
    /* text-transform: uppercase; */
    font-size: 30px;
}
.mid-info a{
    color: #fff;
}
.mid-info a:hover{
    color: #ddd;
}
.bg-red-t{
    background-color: #b21c3dc7;
}
.black-bg-t {
    background-color: #000000d6;
}
.gold-bg-t {
    background-color: #d4b424eb;
}
.cnt-section{
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
}
/*------------------media query---------------*/

@media (max-width:1199px){
	.cms_content .border-end{border-right:0 !important}
}

@media (max-width:991px){}

@media (max-width:767px){
    .mid-link li{border:none;}
    .top-details h2{font-size: 20px;}
    .home-slider .owl-dots{bottom: 10%;}
    .more-btn{
        width: 100%;
    text-align: center;
    bottom: 20%;
    right: 0;
    }
    .border-end{border: none !important;}
    .hb-row{height: 200px;}
    .sub-heading h2{font-size: 25px;}
    .sub-heading{font-size: 18px;}
    .news-m-innner img {
        height: 300px;
        object-fit: cover;
    }
    .section-top-bg .position-absolute,.mobile-responsive .position-absolute{
        position: relative !important;
    }
    .clip-l,.clip-r,.clip-b {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    .w-55{width: 100%;}
    .order-mobile .last-row{order: 2;}
	.cms_content .border-end{border-right:0 !important}
	.news-section .right-part .more-btn{
	    left:0;
	}
	.div-class-frm_newsletter .newsletter_title{
	    line-height:normal;
	}
	.shop-div h3{font-size:25px;}
	.shop-div{padding:0 15px;}
	.tow-col-section h2 {
    text-align: center;
}
}
@media (max-width:520px){
    .footer-link a{
        display:block;
        padding:6px 0;
        border:none;
    }
}
    
@media only screen and (min-width:768px) {}