/* container & scrollbar */
.circuit-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.circuit-scrollbar::-webkit-scrollbar-track {
    border-radius: 10px;
}

.circuit-scrollbar::-webkit-scrollbar-thumb {
    background-color: #D0D2D3;
    border-radius: 10px;
}

@media only screen and (min-width: 768px) {
    .breadcrumb {
        padding-left: 0;
    }
}

@media only screen and (min-width: 992px) {
    .container-custom {
        padding-left: 0;
        padding-right: 0;
    }

    .breadcrumb {
        padding-left: 40px;
    }

    .container-circuit-bg {
        background-image: url(../images/corporate/75_circuit.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        overflow: visible;
        height: 693px;
        width: 100%;
    }

    .container-circuit-content {
        margin-left: 59px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
    }

    .circuit-scrollbar {
        max-height: 542px;
        width: 817px;
        overflow-y: auto;
        padding-right: 30px;
    }

    .force-overflow {
        max-height: 542px;
        background-color: white;
    }
}

@media only screen and (min-width: 1200px) {
    .breadcrumb {
        padding-left: 21px;
    }

    .container-circuit-bg {
        background-image: url(../images/corporate/75_circuit.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        overflow: visible;
        height: 823px;
        width: 100%;
    }

    .container-circuit-content {
        margin-left: 70px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
    }

    .circuit-scrollbar {
        max-height: 657px;
        width: 968px;
        overflow-y: auto;
        padding-right: 30px;
    }

    .force-overflow {
        max-height: 657px;
        background-color: white;
    }
}

@media only screen and (min-width: 1400px) {
    .breadcrumb {
        padding-left: 30px;
    }

    .container-circuit-bg {
        background-image: url(../images/corporate/75_circuit.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        overflow: visible;
        height: 953px;
        width: 100%;
    }

    .container-circuit-content {
        margin-left: 81px;
        padding-left: 30px;
        padding-right: 30px;
        padding-bottom: 10px;
    }

    .circuit-scrollbar {
        max-height: 771px;
        width: 1120px;
        overflow-y: auto;
        padding-right: 30px;
    }

    .force-overflow {
        max-height: 771px;
        background-color: white;
    }
}

/* end of container & scrollbar */

/* content */
.content-img {
    width: 100%;
    height: auto;
    object-fit: fill;
    border: none;
}

.circle-button-plus {
    background-color: #CECECE !important;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    z-index: 1;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.33);
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.circle-button-plus i {
    color: #919497 !important;
    font-size: 1rem;
    line-height: 1;
    position: relative;
    top: 0.5px;
    left: 0.5px;
    -webkit-text-stroke-width: 2px;
}

.xc-font-sm .circle-button-plus i {
    font-size: 0.9rem;
}

.xc-font-lg .circle-button-plus i {
    font-size: 1.1rem;
}

/* end of content */

/* modal */
.modal-dialog {
    max-width: 850px;
}

.modal-body {
    padding: 0;
}

.modal-content {
    margin-left: auto;
    margin-right: auto;
    background-image: linear-gradient(180deg, #D4EFFC 0%, #E9BED9 100%);
    border: 0;
    border-radius: 25px 25px 0 25px;
    width: 850px;
    height: 520px;
}

.btn-modal-close {
    background-color: #CECECE !important;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    z-index: 1;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.33);
    position: absolute;
    top: 20px;
    right: 20px;
}

.btn-modal-close i {
    color: #919497 !important;
    font-size: 1.1rem;
    line-height: 1;
    position: relative;
    top: 2px;
    -webkit-text-stroke-width: 2px;
}

.xc-font-sm .btn-modal-close i {
    font-size: 1rem;
}

.xc-font-lg .btn-modal-close i {
    font-size: 1.2rem;
}

/* end of modal */

/* carousel */
.carousel-item {
    padding-top: 25px;
}

.carousel-item img {
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    height: auto;
    width: 90%;
    max-width: 650px;
}

.carousel-item .carousel-description {
    margin-left: auto;
    margin-right: auto;
    padding-top: 5px;
    font-family: 'FrutigerLTStd-Light';
    font-size: 13px;
    width: 90%;
    max-width: 650px;
}

html[lang="zh-Hans-HK"] .carousel-item .carousel-description {
    font-family: 'NotoSansSC-Light';
}

html[lang="zh-Hant-HK"] .carousel-item .carousel-description {
    font-family: 'NotoSansHK-Light';
}

.xc-font-sm .carousel-item .carousel-description {
    font-size: 11px;
}

.xc-font-lg .carousel-item .carousel-description {
    font-size: 15px;
}

.carousel-item .carousel-description .carousel-description-content {
    width: 100%;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 25px;
    border-top: 2px solid;
}

.carousel-item.carousel-item-2in1 {
    padding-top: 100px;
}

.carousel-item.carousel-item-2in1 img {
    max-width: 650px;
}

.carousel-item.carousel-item-2in1 .carousel-description {
    max-width: 650px;
}

/* carousel */
.carousel-control-next,
.carousel-control-prev {
    font-family: 'FrutigerLTStd-Light';
    color: #FFF;
    opacity: 1;
    top: 200px;
    width: 60px;
    height: 60px;
}

html[lang="zh-Hans-HK"] .carousel-control-next,
html[lang="zh-Hans-HK"] .carousel-control-prev {
    font-family: 'NotoSansSC-Light';
}

html[lang="zh-Hant-HK"] .carousel-control-next,
html[lang="zh-Hans-HK"] .carousel-control-prev {
    font-family: 'NotoSansHK-Light';
}

.carousel-control-prev {
    left: 45px;
}

.carousel-control-next {
    right: 45px;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    background: none;
    width: 60px;
    height: 28px;
    border-radius: 10px;
    font-size: 3rem;
    color: #FFF;
    -webkit-text-stroke-width: 2px;
}

@media only screen and (max-width: 767px) {
    .carousel-control-prev {
        left: 0;
    }

    .carousel-control-next {
        right: 0;
    }
}

@media only screen and (max-width: 575px) {
    .container-custom {
        padding-left: 15px;
        padding-right: 15px;
    }

    .modal-content {
        height: 420px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        display: none;
        top: 160px;
    }
}

/* end of carousel */

/* finetune for landscape mobile */
@media only screen and (orientation: landscape) and (max-height: 575px) {
    .modal-dialog {
        max-width: 80%;
        max-height: 90%;
    }

    .modal-content {
        height: 100%;
    }

    .carousel-item img {
        width: 50%;
    }

    .carousel-item.carousel-item-2in1 {
        padding-top: 50px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        display: none;
    }
}

/* end of finetune for landscape mobile */