/* 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: #F0F7FF;
}

.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: #3881FA !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: #3881FA !important;
}

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

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

.btn-success {
    background-color: #3881FA !important;
    border-color: #3881FA !important;
    color: white !important;
}

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

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

/* Nav */

#rm_nav_top {
    min-height: 40px;
}

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

#rm_main_nav a {
    color: #212934;
}

#rm_main_nav a:hover {
    color: #3881FA;
}

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

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

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

/* Hero Carousel */

#rm-hero-carousel {
    background: #fefefe !important;
}

/* Accordion */

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

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

/* Shop */

.rm-menu-top a:hover {
    color: #3881FA !important;
}

/* Product */

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

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

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

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

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

.rm-product .product-color-dot.color-dot-green {
    background: #3881FA;
}

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

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

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

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

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

/* Brand */

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

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

/* Carousel Hero */

#rm-hero-carousel .carousel-indicators li {
    margin-top: -50px;
    background-color: #3881FA;
}

#rm-hero-carousel .carousel-control-next i,
#rm-hero-carousel .carousel-control-prev i {
    color: #3881FA !important;
    font-size: 2.8em !important;
}

/* Carousel Brand */

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

/* Services */

.rm-service-card {
    transition: .3s;
}

.rm-service-card:hover {
    background: #3881FA;
}

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

/* Contact map */

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

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

/* Footer */

#rm_footer a {
    color: #dcdde1;
}

#rm_footer a:hover {
    color: #3881FA;
}

#rm_footer ul.rm-footer-links li {
    padding-top: 10px;
}

#rm_footer ul.rm-social-icons li {
    width: 2.6em;
    height: 2.6em;
    line-height: 2.6em;
}

#rm_footer ul.rm-social-icons li:hover {
    background-color: #cfd6e1;
    transition: .5s;
}

#rm_footer ul.rm-social-icons li:hover i {
    color: #212934;
    transition: .5s;
}

#rm_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)*/

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

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

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

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

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

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

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

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

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