/* Typography */

body,
ul,
li,
p,
a,
label,
input,
div {
    font-family: 'Roboto', sans-serif;
    font-size: 18px !important;
    font-weight: 300 !important;
}

body{
    background-color: #f8f9fa;
}

.h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 48px !important;
    font-weight: 200 !important;
}

.h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 30px !important;
    font-weight: 300;
}

.h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 22px !important;
}

/* General */

.logo {
    font-weight: 500 !important;
}

.text-warning {
    color: #ede861 !important;
}

.text-muted {
    color: #bcbcbc !important;
}

.text-success {
    color: #0A6375 !important;
}

.text-light {
    color: #cfd6e1 !important;
}

.bg-dark {
    background-color: #212934 !important;
}

.bg-light {
    background-color: #fefefe !important;
}

.bg-black {
    background-color: #1d242d !important;
}

.bg-success {
    background-color: #0A6375 !important;
}

/* 确保橙色背景上的文字是白色 */
.bg-success,
.bg-success * {
    color: white !important;
}

.bg-success .text-success {
    color: white !important;
}

.btn-success {
    background-color: #0A6375 !important;
    border-color: #0A6375 !important;
    color: white !important;
}

.btn-success:hover {
    background-color: #085461 !important;
    border-color: #085461 !important;
    color: white !important;
}

.pagination .page-link:hover,
.pagination .page-link.active {
    background-color: #0A6375 !important;
    border-color: #0A6375 !important;
    color: white !important;
}

/* Nav */

#top-bar {
    min-height: 40px;
}

#top-bar * {
    font-size: .9em !important;
}

#main-menu a {
    color: #212934;
}

#main-menu a:hover {
    color: #0A6375;
}

/* 当前页面导航高亮 */
#main-menu .nav-link.active {
    color: #0A6375 !important;
    font-weight: 700 !important;
    pointer-events: none;
    cursor: default;
    position: relative;
}

#main-menu .nav-link.active::before {
    width: 80% !important;
}

#main-menu .navbar .nav-icon {
    margin-right: 20px;
}

/* Hero Carousel */

#banner-carousel {
    background: #fefefe !important;
}

/* Accordion */

.accordion-list a {
    color: #000;
}

.accordion-list a:hover {
    color: #333d4a;
}

/* Shop */

.menu-header a:hover {
    color: #0A6375 !important;
}

/* Product */

.product-item {
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.10);
}

.product-item .product-color-dot.color-dot-red {
    background: #f71515;
}

.product-item .product-color-dot.color-dot-blue {
    background: #6db4fe;
}

.product-item .product-color-dot.color-dot-black {
    background: #000000;
}

.product-item .product-color-dot.color-dot-light {
    background: #e0e0e0;
}

.product-item .product-color-dot.color-dot-green {
    background: #0A6375;
}

.card.product-item .card .product-overlay {
    background: rgba(0, 0, 0, .2);
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.card.product-item:hover .card .product-overlay {
    visibility: visible;
    opacity: 1;
}

.card.product-item a {
    color: #000;
}

#carousel-related-items .slick-slide:focus {
    outline: none !important;
}

#carousel-related-items .slick-dots li button:before {
    font-size: 15px;
    margin-top: 20px;
}

/* Brand */

.brand-logo {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: .5s;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Carousel Hero */

#banner-carousel .carousel-indicators li {
    margin-top: -50px;
    background-color: #0A6375;
}

#banner-carousel .carousel-control-next i,
#banner-carousel .carousel-control-prev i {
    color: #0A6375 !important;
    font-size: 2.8em !important;
}

/* Carousel Brand */

.carousel-slider .h1 {
    font-size: .5em !important;
    color: #000 !important;
}

/* Services */

.service-box {
}

.service-box:hover {
    background: #0A6375;
}

/* 确保悬停时所有内容都是白色 */
.service-box:hover,
.service-box:hover *,
.service-box:hover i,
.service-box:hover h2,
.service-box:hover h5,
.service-box:hover p,
.service-box:hover .text-success {
    color: white !important;
}

/* Contact map */

.leaflet-control a,
.leaflet-control {
    font-size: 10px !important;
}

.form-control {
    border: 1px solid #e8e8e8;
}

/* Footer */

#page-footer a {
    color: #dcdde1;
}

#page-footer a:hover {
    color: #0A6375;
}

#page-footer ul.footer-nav li {
    padding-top: 10px;
}

#page-footer ul.social-links li {
    width: 2.6em;
    height: 2.6em;
    line-height: 2.6em;
}

#page-footer ul.social-links li:hover {
    background-color: #cfd6e1;
    transition: .5s;
}

#page-footer ul.social-links li:hover i {
    color: #212934;
    transition: .5s;
}

#page-footer .border-light {
    border-color: #2d343f !important;
}

/*
// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap
*/

/* Small devices (landscape phones, 576px and up)*/

.product-item .h3,
.product-item li,
.product-item i,
.product-item p {
    font-size: 12px !important;
}

.product-item .product-color-dot {
    width: 6px;
    height: 6px;
}

@media (min-width: 576px) {
    .carousel-slider .h1 {
        font-size: 1em !important;
    }
}

/*// Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {
    #main-menu .navbar-nav {
        max-width: 450px;
    }
}

/* Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    #main-menu .navbar-nav {
        max-width: 550px;
    }
    #banner-carousel .carousel-item {
        min-height: 30rem !important;
    }
    .product-item .h3,
    .product-item li,
    .product-item i,
    .product-item p {
        font-size: 18px !important;
    }
    .product-item .product-color-dot {
        width: 12px;
        height: 12px;
    }
}

/* Extra large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {}