﻿/*
 * Extracted from css/widget.css, lines 51359-51521
 * Region label: ot-020
 */
    /* #region ot-020 */
    .ot-020 .report-card {
        box-shadow: 1px 2px 20px rgba(35, 19, 18, .05);
        margin-top: 15px;
        margin-bottom: 15px;
    }

        .ot-020 .report-card .report-title {
            padding-right: 0;
            font-family: "Thongterm-Bold";
            color: #222;
        }

    .ot-020 .text-truncate {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .ot-020 h4 {
        color: #222222;
        font-family: Thongterm-Bold;
        font-size: 16px;
        line-height: 30px;
    }


    .ot-020 .report-card .report-card-thumbnail img {
        /*width: 100%;*/
        max-height: 380px;
        width: 270px;
    }

    .ot-020 .report-card .report-card-thumbnail .image-container {
        width: 270px; /* กำหนดความกว้างของภาพ */
        /*height: 380px;*/ /* กำหนดความสูงของภาพ */
        overflow: hidden; /* ป้องกันภาพเกินขอบ */
    }

        .ot-020 .report-card .report-card-thumbnail .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }


    .ot-020 .report-card .report-card-detail {
        height: 90px !important;
        margin-left: 0;
        margin-right: 0;
        background-color: white;
    }

    .ot-020 .report-card .btn-pdf {
        font-size: 13px;
        color: #fff;
        height: 18px;
        width: 34px;
        border-radius: 3px;
        background-color: #ffc800;
        vertical-align: middle;
        line-height: 19px;
        text-align: center;
        display: block;
        margin: 0 auto;
    }

    .ot-020 .report-card .report-card-detail .report-download-section .download-icon {
        font-size: 24px;
    }

    .ot-020 .report-card .download-icon {
        display: block;
        font-size: 16px;
        margin-top: 5px;
    }

    .ot-020 .badge-pill {
        padding: 0;
        border-radius: 10rem;
    }


    @media (min-width: 768px) {
        .ot-020 .report-card .report-card-thumbnail {
            /*max-height: 380px;
            min-height: 334px;*/
            overflow: hidden;
            /*height: auto;*/
            height: 380px;
        }

        .ot-020 .report-card .report-card-detail {
            padding-top: 15px;
        }

        .ot-020 .text-md-center {
            text-align: center !important;
        }
    }

    @media (max-width: 767px) {
        .ot-020 .report-card {
            margin-top: 0;
            max-width: 100%;
            width: 270px;
            margin-left: auto;
            margin-right: auto;
        }

        .ot-020 .badge-pill {
            padding: 0;
            border-radius: 10rem;
            position: absolute;
            bottom: 13px;
            left: 50%;
        }

        .ot-020 .report-card .report-card-detail .report-download-section .download-icon {
            position: absolute;
            top: 16px;
            left: 24px;
            font-size: 24px;
        }

        .ot-020 .report-card .report-card-detail {
            /*position: relative;
        padding-top: 16px;*/
            position: relative;
            display: flex;
            flex-direction: row-reverse;
        }

        .ot-020 h4 {
            padding-top: 16px;
            padding-right: 10px;
        }

        .ot-020 .report-card .report-card-thumbnail .image-container img {
            width: 270px;
            min-height: 380px;
            object-fit: contain;
            height: auto;
        }


        .ot-020 .report-card .report-card-detail .report-download-section .btn-pdf {
            position: absolute;
            bottom: 16px;
            left: 16px;
        }

        .ot-020 .report-card .btn-pdf {
            margin: 0;
        }

        .ot-020 .offset-2 {
            margin-left: 0;
        }
    }


    /* #endregion */
