﻿/* 首頁CSS Default.aspx */

h1 {
    padding: 10px 15px;
    background-color: #ffffff;
    font-weight: bold;
    text-align: center;
    border-bottom: #f0efed 3px solid;
    color: #5f4c3e;
    margin-bottom:2rem;
}

/* Section with background image */
section.with-bg {
    /*background-image: url('/Images/section-bg.jpg');*/
    background-position: center;
    background-size: cover;
    margin-top: 40px;
    padding-top: 60px;
    padding-bottom: 30px;
}

    section.with-bg h1 {
        position: absolute;
        top: -90px;
    }

/* Link */
.section-link .image-box {
    margin-bottom: 30px;
}

/* Blog */
.section-blog {
    color: #000000;
}

    .section-blog .image-box .overlay-container {
        border-radius: 30px;
    }

    .section-blog h2,
    .section-blog h3 {
        color: #000000;
        font-weight: bold;
    }

.section-banner.sub {
    display: none;
}

    .section-banner.sub .slick-slide {
        width: 220px;
        border: 5px solid #3a4973;
        border-top: 10px solid #3a4973;
        border-bottom: none;
        height: 120px;
    }

    .section-banner.sub .slick-slide img{
        height: 100%;
    }


@media (max-width:767px) {
}

@media (min-width:768px) {
   
    .section-banner.sub {
        display: flex;
        justify-content: flex-end;
        border-bottom: 10px solid #3a4973;
        position: relative;
        top: -120px;
    }
      
        .section-banner.sub .color-block {
            width: 100px;
            height: 120px;
            background-color: #3a4973;
        }
        .section-banner.sub .slick-wrapper {
            width: 660px;
        }
}

@media (max-width: 991px) and (min-width:768px) {

    .section-banner.sub .slick-wrapper {
        width: 540px;
    }
    .section-banner.sub .slick-slide {
        width: 180px;
        border: 5px solid #3a4973;
        border-top: 10px solid #3a4973;
        border-bottom: none;
    }
    .section-banner.sub .color-block {
        width: 100px;
        height: 120px;
        background-color: #3a4973;
    }

}

@media (min-width:992px) {

}

@media (min-width:1200px) {

}
