@import url("https://fonts.googleapis.com/css2?family=Alata&display=swap");

.mbr-parallax-background-fixed{
    position: relative;
    background-attachment: fixed;
    background-position: 50% top;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-color: #000;
    background-image: url(https://edm.bnext.com.tw/martech-trends/assets/img/bg-01.jpg);
}

/*第一屏*/
#main-p{
    padding-top: 12rem;
    padding-bottom: 4rem;
}
#main-p:after{
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #0c16c700 5%, #0c16c7 80%);
    position: absolute;
    top:0;
    left: 0;
    z-index: -1;
}
#main-p img.martech-logo {
    max-width: 350px;
}
#main-p .p-title {
    font-size: 5rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 2px;
}
#main-p .p-txt {
    font-size: .9rem;
}
#main-p .p-txt h5{
    font-weight: bold;
}

#exhibition .accordion-item{
    margin-bottom: 10px;
    border:none;
    border-radius: 15px 0 15px 0;
    color: #000;
    background: #e4e8ff;
}
#exhibition .accordion-button{
    padding-left: 30px;
    padding-right: 30px;
    border-radius: 15px 0 15px 0;
    color: #000;
    background: #e4e8ff;
}
.accordion {
    --bs-accordion-btn-focus-border-color: #ffffff00;
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #ffffff00;
}
.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #ffffff00; 
    box-shadow: none;
}
.accordion-button:focus {
    border-color: #ffffff00;
}
#exhibition .flex-coll{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
/*    justify-content: space-between;*/
    align-items: center;
    width: 100%;
}
#exhibition .flex-coll .box {
    flex-basis: 45%;
}
#exhibition .flex-coll .box2{
    flex-basis: 50%;
}
#exhibition .flex-coll .box img{
    max-width: 240px;
    border-radius: 15px;
}
#exhibition .flex-coll .box2{
    padding-right: 30px;
}
#exhibition .box .tag{
    position: absolute;
    top: 0;
    font-size: 14px;
    font-weight: 500;
    padding: 4px 13px;
    color: #fff;
    background: #0c16c7;
    border-radius: 0 0 15px 0;
}
#exhibition .box2 img{
    max-width: 150px;
}
#exhibition .box2 p{
    font-size: 14px;
}
#exhibition .accordion-body{
    padding: 20px 30px;
}
#exhibition .accordion-body .contact p, #exhibition .accordion-body .news p{
    font-size: 14px;
    color: #000;
}
#exhibition .accordion-body .contact a{
    color: #000;
    display: inline-flex;
    align-items: center;
}
#exhibition .accordion-body .contact img.co {
    width: 28px;
    margin: 5px;
}
#exhibition .accordion-body .contact img:hover, #exhibition .accordion-body .contact img:focus {
    opacity: .7;
}
#exhibition .accordion-body .news .flex-news{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#exhibition .accordion-body .news img{
    max-width: 120px;
    border-radius: 15px;
    margin-right: 10px;
}
#exhibition .accordion-body .news img{
    max-width: 120px;
    border-radius: 15px;
    margin-right: 10px;
    height: 80px;
    margin-bottom: 5px;
}
#exhibition .accordion-body .news a:hover .flex-news,#exhibition .accordion-body .news a:focus .flex-news{
    opacity: .7;
}
.joinex{
    padding-bottom: 40px;
    margin-bottom: 40px;
/*    border-bottom: 1px dashed #ffffffbd;*/
    background: #0c16c7a1;
    border-radius: 20px;
    padding-top: 30px;
}
.joinex h2{
    margin-bottom:10px;
}

.back {
    background-color: #5b6cdb;
    padding: 10px 0;
}
.back h5 {
    margin: 0;
    font-weight: 700;
    color: #fff;
}
#footer {
    background: #000;
}

/* ==================================================*/


@media (max-width: 992px) {
    #exhibition .forpc{
        display: none;
    }
}

@media (max-width: 768px) {
    .mbr-parallax-background-fixed {
        background-image: url(https://edm.bnext.com.tw/martech-trends/assets/img/bg-sm.png);
        background-position: -99999px -99999px;
    }
    .mbr-parallax-background-fixed:before {
        content: "";
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100vh;
        background-image: url(https://edm.bnext.com.tw/martech-trends/assets/img/bg-sm.png);
        -webkit-background-size: cover;!important;
        -o-background-size: cover;
        background-size: cover;!important;
        background-position: 50% top;
    }
    #main-p {
        padding-top: 9rem;
    }
    #exhibition .flex-coll .box{
        flex-basis: 100%; 
    }
    #exhibition .flex-coll .box2{
        flex-basis: 100%;
        padding-right: 0px;
        padding-top: 10px;
    }
    #exhibition .accordion-body .news .col-12:nth-child(1) .flex-news{
        margin-bottom: 10px;
    }
    #exhibition .accordion-body .contact img{
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    #main-p img.martech-logo {
        max-width: 320px;
    }
    #main-p .p-title {
        font-size: 4.5rem;
    }
    #exhibition .accordion-button {
        padding-left: 20px;
        padding-right: 20px;
    }
    #exhibition .accordion-body {
        padding: 20px;
    }
    #exhibition .accordion-body .news img {
        max-width: 100px;
        height: 67px;
    }
    #exhibition .box2 p, #exhibition .accordion-body .contact p, #exhibition .accordion-body .news p {
        font-size: 13px;
    }
}

@media (max-width: 414px) {
    #main-p .p-title {
        font-size: 4rem;
    }
    #exhibition .flex-coll .box img {
        max-width: 200px;
    }
    #exhibition .accordion-body .news .flex-news {
        padding: 12px 15px;
    }
    #exhibition .accordion-body .news img {
        max-width: 90px;
        height: 60px;
    }
}
