h2 {
    font-size: 2.5em;
    margin-top: 2em;
}

.map-container {
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    font-size: 62.5%;
    /*overflow: scroll;
    overflow-x: hidden;*/
}

.zoom-outer {
    position: relative;
    width: 80%;
    margin: 0 auto;
}
.zoom-map-container {
    width: 100%;
}

.campus-map {
    position: relative;
    width: 100%;
    padding-bottom: 56%;
}

.campus-map img {
    top: 0%;
    left: 50%;
    max-width: 500%;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    /*transform: translateX(-50%);*/
}

a.cm-tooltip {
    position: absolute;
    color: #333;
    text-decoration: unset;
}

.cmt-pin {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    /* background-color: #333; */
    background: transparent;
    margin: 0 0 5px 10px;
    border-radius: 20px;
    /* box-shadow: 0px 4px 4px rgba(51, 51, 51, 0.3); */
    z-index: 2;
    opacity: 0;
    /*width: 25px;
    height: 38px;
    background-image: url(images/pin.png);
    background-size: contain;
    background-repeat: no-repeat;*/
}

/*
.cmt-pin:after {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 20px;
    z-index: 1;
    background-color: #fff;
    -webkit-transition: -webkit-transform 0.2s, opacity 0.3s;
    -moz-transition: -moz-transform 0.2s, opacity 0.3s;
    transition: transform 0.2s, opacity 0.3s;
    -webkit-transform: scale(1.3);
    -moz-transform: scale(1.3);
    -ms-transform: scale(1.3);
    transform: scale(1.3);
    opacity: 0;
    content: '';
}

.cmt-pin:hover:after {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    opacity: 1;
}

.cm-tooltip.active .cmt-pin {
    background-color: #fff;
}
*/

.cmt-content {
    display: none;
    max-width: 350px;
    width: 100%;
    background: #fff;
    padding: 10px;
    font-size: 1.4em;
    border-radius: 5px;
    box-shadow: 0px 4px 4px rgba(51, 51, 51, 0.3);
}

.cm-tooltip.active .cmt-content {
    display: block;
}

.cmt-heading {
    display: block;
    font-size: 1.6em;
    font-weight: bold;
    padding-bottom: 8px;
}

.wrapper {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

/*.leaflet-marker-icon, .leaflet-marker-shadow{
    opacity: 0 !important;
}*/
.leaflet-marker-icon:after {
    position: relative;
    display: block;
    width: 25px;
    height: 38px;
    background-image: url(https://webarchive.lib.cuhk.edu.hk/20241031170345oe_/https://www.uc.cuhk.edu.hk/wp-content/uploads/campus-map/pin.png);
    background-size: contain;
    background-repeat: no-repeat;
    content: '';
    z-index: 99;
}


/*Accordion*/

.accordion-icon {
    position: relative;
	width:100%;
    cursor: pointer;
}

.accordion-icon span {
    margin-left: 10px;
}

.accordion-icon:after {
    display: block;
    position: absolute;
    content: "";
    right: 13px;
    top: -5px;
    width: 25px;
    height: 25px;
    background-image: url(images/accordion-sprite@2x.png);
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 25px 225px;
    transition: transform 0.3s ease-in-out;
}

.accordion-icon.active:after {
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

h2.accordion-icon {
    font-size: 2em;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.accordion-details {
    display: none;
}

.accordion-details img {
    width: 100%;
    max-width: 650px;
    margin:  20px 0;
}

.accordion-details {
    font-size: 1.6em;
    padding: 10px 13px 10px 0;
}

.accordion-details p {
    font-size: 1em;
}

.accordion-details table {
    margin: 0;
}

.accordion-details.active {
    display: block;
}

.accordion-row {
    padding: 10px 0;
}

.cmt-text {
    display: block;
    line-height: 1.6;
}
.tm-block {
    font-size: 62.5%;
}