.small, small {

    font-size: .775em;

}



/*body {

    background-color: #eeeeee;

}*/



/*header img {

    width: 100%;

}



main {

    background-color: #f6f6f6;

}



main .row {

    margin-left: 20px;

    margin-right: 20px;

}*/





h3 {

    font-size: 40px;

}

.details{

    position: relative;

}

.details p {

    font-size: 18px;

    text-align: left;

}



.content-popup {

    margin: 10px;

    text-decoration: none !important;

    position: relative;

}



.triangle::before {

    content: '';

    position: absolute;

    z-index: 10;

    bottom: 0;

    right: 15px;

    border-right-width: 70px;

    border-right-style: solid;

    border-top: 70px solid transparent;

    border-bottom: 0 solid transparent;

    border-left: 0 solid transparent;

}



.content-popup .card {

    padding: 10px;

    padding-bottom: 40px;

    border-radius: 10px;

    margin-top: -30px;

    box-shadow: rgb(0 0 0 / 35%) 0px 5px 15px;

}



.content-popup .card {

  position: relative;  

}



.content-popup .card .circle {

    position: absolute;

    right: 10px;

    bottom: 20px;

    width: 20px;

    height: 20px;

    border-radius: 10px;

    background-color: #fff;

}



.content-popup .card .circle i {

    display: block;

    margin: 0 auto;

    text-align: center;

    position: relative;

    font-size: 12px;

}



.content-popup .card .circle i::before {

   position: absolute;

   top: 50%;

   left: 50%;

   margin-left: -3px;

   margin-top: 5px;

}



.content-popup .card img {

    width: 50%;

    margin: 0 auto;

    margin-top: 10px;
    margin-bottom: 10px;

    display: block;

}



.content-popup .card .title {

    font-size: 24px;

    font-weight: bold;

    display: block;

    color: #fff;

    padding-top: 15px;

    padding-bottom: 0;

    line-height: 1;

    padding-left: 3%;

    padding-right: 3%;

}



.content-popup .card .title {

    margin-bottom: 0;

}



.content-popup .card .title p {

    margin-bottom: 10px;

}



.content-popup .card .description {

    line-height: 1;

}



/*.content-popup .card .description {

    margin-right: 18px;

    padding-right: 10px !important;

}*/



html[lang="zh-Hant"] .content-popup .card .title {

    font-size: 24px;

    line-height: 28px;

}



html[lang="zh-Hant"] .content-popup .card .title p {

    margin-bottom: 15px;

}



[data-content="content-1"] .card {

    background-color: #89bedb;

}



[data-content="content-1"] .card .circle i {

    color: #89bedb;

}





[data-content="content-2"] .card {

    background-color: #89bedb;

}



[data-content="content-2"] .card .circle i {

    color: #89bedb;

}



[data-content="content-3"] .card {

    background-color: #e99e6f;

}



[data-content="content-3"] .card .circle i {

    color: #e99e6f;

}



[data-content="content-4"] .card {

    background-color: #db3532;

}



[data-content="content-4"] .card .circle i {

    color: #db3532;

}



[data-content="content-5"] .card {

    background-color: #2faf71;

}



[data-content="content-5"] .card .circle i {

    color: #2faf71;

}



[data-content="content-6"] .card {

    background-color: #db3532;

}



[data-content="content-6"] .card .circle i {

    color: #db3532;

}



[data-content="content-7"] .card {

    background-color: #137345;

}



[data-content="content-7"] .card .circle i {

    color: #137345;

}



[data-content="content-8"] .card {

    background-color: #e99e6f;

}



[data-content="content-8"] .card .circle i {

    color: #e99e6f;

}



[data-content="content-9"] .card {

    background-color: #d47f9e;

}



[data-content="content-9"] .card .circle i {

    color: #d47f9e;

}



[data-content="content-10"] .card {

    background-color: #52aa50;

}



[data-content="content-10"] .card .circle i {

    color: #52aa50;

}



[data-content="content-11"] .card {

    background-color: #d47f9e;

}



[data-content="content-11"] .card .circle i {

    color: #d47f9e;

}



.bpopup {

    display: none;

    width: 90%;

    margin-left: -45%;

    left: 50% !important;

    border-radius: 15px;

    position: relative;

}



.bpopup .container {

    position: relative;

}



.bpopup .b-close {

    position: absolute;

    right: 10px;

    top: -20px;

    z-index: 10;

    width: 40px;

    height: 40px;

    border-radius: 40px;

    font-weight: bold;

    font-size: 24px;

    text-align: center;

    background-color: #fff;

    text-decoration: none;

}



    .content-popup .card img {

        width: 19vw;

        height: 19vw;

    }



@media only screen and (max-width: 599px) {

/*    .content-popup .card {

        height: 615px;

    }*/

}

@media only screen and (max-width: 575px) {

/*    .content-popup .card {

       height: auto;

    }*/

}

@media only screen and (min-width: 600px) {





/*    .content-popup .card {

        height: 555px;

    }*/

}



@media only screen and (min-width: 768px) {



    h3 {

        font-size: 40px;

    }

    

    .details p {

        font-size: 20px;

    }



    main .row:first-child {

        padding-top: 15px;

    }



/*    .content-popup .card {

        height: 553px;

    }*/

}



@media only screen and (min-width: 960px) {





/*    .content-popup .card {

        height: 544px;

    }*/

}





@media only screen and (min-width: 1140px) {

    .bpopup .b-close {

        right: 45px;

        top: 20px;

        z-index: 10;

    }



/*    .content-popup .card {

        height: 532px;

    }*/

}



@media only screen and (min-width: 1240px) {







/*    .content-popup .card {

        height: 572px;

    }*/

}



@media only screen and (max-width: 1023px) {

    .content-popup .card img {

        width: 25vw;

        height: 25vw;

    }



}

@media only screen and (max-width: 960px) {

    .content-popup .card img {

        width: 25vw;

        height: 25vw;

    }



}

@media only screen and (max-width: 767px) {

    .content-popup .card img {

        width: 38vw;

        height: 38vw;

    }



}

@media only screen and (max-width: 575px) {

    .content-popup .card img {

        width: 81vw;

        height: auto;

    }



}



