/* ------------------------ レコメンド全画面 ------------------------ */

#recommends .rec_container {
    display: block;
    position: fixed;
    min-width: 268px;
    bottom: 0;
    border-radius: 8px 8px 0px 0px;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #FFFFFF;
    z-index: 60;
    max-width: calc(100vw - 32px);
}

#recommends .rec_font_ja {
    font-family: Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
}

#recommends .rec_font_en {
    font-family: Helvetica, Arial, "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
    min-width: 330px !important;
}

#recommends .rec_container .rec_body {
    overflow: auto;
}

#recommends .pb25 {
    padding-bottom: 25px;
}

#recommends .rec_container.toBottom {
    animation-name: slide-down;
    animation-fill-mode: forwards;
}

@keyframes slide-down {
    0% {
        height: var(--c);
        width: 26em;
    }
    100% {
        height: 99px;
        width: 268px;
    }
}

@media (max-width: 992px) {
    @keyframes slide-down {
        0% {
            height: var(--c);
            width: 26em;
        }
        100% {
            height: 50px;
            width: 268px;
        }
    }
}

#recommends .rec_container.float {
    animation-name: slide-up;
    resize: vertical;
    animation-fill-mode: forwards;
}

@keyframes slide-up {
    0% {
        height: 99px;
        width: 268px;
    }
    100% {
        height: var(--c);
        width: 26em;
    }
}

@media (max-width: 992px) {
    @keyframes slide-up {
        0% {
            height: 50px;
            width: 268px;
        }
        100% {
            height: var(--c);
            width: 26em;
        }
    }
}


/* ------------------------ レコメンドヘッダー部分 ------------------------ */

#recommends .resizer {
    position: absolute;
}

#recommends .resize_t {
    height: 100%;
    top: 0;
    left: 0;
    width: 85%;
    z-index: 50;
}

#recommends .rec_header {
    position: relative;
    cursor: grab;
    top: 0;
    min-height: 50px;
    background-color: #337ab7;
    border-radius: 8px 8px 0px 0px;
    display: flex;
    align-items: center;
    z-index: 50;
}

#recommends .rec_header_title {
    width: 85%;
    padding-left: 12px;
    padding-bottom: 7px;
    padding-top: 7px;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
}

#recommends .title_cn {
    /* Chinese */
    font-size: 17px;
}

#recommends .title_en {
    /* English */
    font-size: 17px;
}

#recommends .list_number {
    color: #000000;
    background-color: #FEE501;
    border-radius: 10px;
    padding: 2px 5px;
    font-weight: 500;
    font-size: .80em;
}


/* 小さめボタン */

#recommends .minimize {
    cursor: pointer;
    position: relative;
    width: 15%;
    text-align: center;
    z-index: 60;
}


/* ------------------------ レコメンド各コンテンツ ------------------------ */

#recommends a {
    width: 100%;
    text-decoration: none;
}

#recommends .rec_card {
    position: relative;
    display: flex;
    height: 90px;
    border-top: 1px solid #ACA8A8;
}

#recommends .rec_card .rec_title {
    color: #333333;
}

#recommends .rec_card .rec_type_date {
    color: #42526E;
}

#recommends .rec_card:hover {
    background-color: #EDF4FC;
}

#recommends .rec_card_read {
    position: relative;
    display: flex;
    height: 90px;
    border-top: 1px solid #ACA8A8;
    background-color: #f1f1f1;
}

#recommends .rec_card_read:hover {
    background-color: #EDF4FC;
}

#recommends .rec_card_read .rec_title {
    color: #70777c;
    font-weight: normal;
}

#recommends .rec_card_read .rec_type_date {
    color: #768089;
}

#recommends .rec_detail {
    position: relative;
    padding: 16px 0px 0px 15px;
    height: 100%;
    width: 100%;
}

#recommends .rec_title {
    position: absolute;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 40px;
    width: 85%;
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
}

#recommends .rec_type_date {
    position: absolute;
    bottom: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 17px;
}


/* バッツボタン */

#recommends .rec_body img {
    cursor: pointer;
    vertical-align: middle;
    position: absolute;
    right: 8px;
    top: 35px;
    z-index: 90;
}


/* ------------------------ レコメンド各コンテンツ ------------------------ */

#recommends .rec_none {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}