.calendar {
    display: flex;
    flex-flow: column;
}

.calendar .header .month-year {
    font-size: 20px;
    font-weight: bold;
    color: #636e73;
    /*padding: 20px 0;*/
}

.calendar .days {
    display: flex;
    flex-flow: wrap;
}

.calendar .days .day_name {
    width: calc(100% / 7);
    border-right: 1px solid #069561;
    padding: 20px;
    text-transform: uppercase;
    font-size: unset;
    font-weight: bold;
    color: #fff;
    background-color: #04AA6D;
    ;
}

.calendar .days .day_name:nth-child(7) {
    border: none;
}

.calendar .days .day_num {
    display: flex;
    flex-flow: column;
    width: calc(100% / 7);
    border-right: 1px solid #e6e9ea;
    border-bottom: 1px solid #e6e9ea;
    padding: 15px;
    font-weight: bold;
    color: #7c878d;
    cursor: pointer;
    min-height: 100px;
}

.calendar .days .day_num {
    background-color: #fff;
}

.calendar .days .day_num .event {
    margin-top: 10px;
    font-weight: 500;
    font-size: x-small;
    padding: 3px 6px;
    border-radius: 4px;
    background-color: #f7c30d;
    color: #fff;
    word-wrap: break-word;
    display: none;
    /*if default show then change this*/
}

.calendar .days .day_num .event.green {
    background-color: #51ce57;
}

.calendar .days .day_num .event.blue {
    background-color: #518fce;
}

.calendar .days .day_num .event.red {
    background-color: #ce5151;
}

.calendar .days .day_num:nth-child(7n+1) {
    border-left: 1px solid #e6e9ea;
}

.calendar .days .day_num:hover {
    background-color: cornsilk;
}

.calendar .days .day_num.ignore {
    background-color: #ccc;
    color: #ced2d4;
    cursor: inherit;
    opacity: .4;
}

.calendar .days .day_num.ignore a {
    color: #ced2d4;
}

.calendar .days .day_num.selected {
    background-color: #D9EEE1;
    cursor: inherit;
}

.bg-green {
    background-color: #04AA6D;
}

.btn-outline-success-ok {
    color: #fff;
    background-color: transparent;
    background-image: none;
    border-color: #fff;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.event a {
    color: #fff;
}

.maudo {
    background: red;
}

.ngayhomnay {
    border: 2px solid red !important;
}

.ngay-amlich {
    margin-top: 2px;
}

.dao {
    font-size: 15px;
    float: right;
    width: 10%;
    opacity: .8;
    font-style: normal;
}

.tot {
    color: red;
}

.xau {
    color: #000;
}

.duong {
    font-size: x-large;
    font-weight: bold;
    text-align: left;
    float: left;
    width: 90%;
    color: black;
}

.am {
    font-size: 13px;
    font-weight: 400;
    text-align: center;
    float: right;
    width: 100%;
    color: black;
}

.h1title {
    font-size: x-large;
}

.box-duong-lich {
    text-align: center;
    padding: 8px 20px 33px;
}

.box-am-lich {
    border-left: 1px solid #d9d9d9;
    text-align: center;
    padding: 8px 20px 33px;
}

.box-lich {
    font-size: 18px;
}

.box-lich #thangduong {
    font-weight: 700;
}

.box-lich #ngayduong {
    color: #d61605;
    font-size: 83px;
    font-weight: 700;
}

.box-lich #thuduong {
    color: #dc5c0b;
}

.box-lich #thangam {
    font-weight: 700;
}

.box-lich #ngayam {
    color: #213f7e;
    font-size: 83px;
    font-weight: 700;
}

body {
    background-color: #eee;
}

.jumbotron {
    background: #fffefe !important;
}

.header-content p:before {
    content: "✦ ";
    color: #006e33;
}

.thong-tin-ngay p:before {
    content: "✦ ";
    color: #006e33;
}

.box-ngay-am {
    font-size: medium;
}

.tieu-de-lich {
    border-bottom: 1px solid #ccc;
    background: aliceblue;
    color: brown;
    font-size: smaller;
}

.ngay-am {
    color: #0b730b;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid #bcccc3;
    padding: 4px 6px 4px 6px;
    letter-spacing: 3px;
    margin-left: 5px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.ngay-duong {
    color: #ff8700;
    font-weight: bold;
    font-size: 20px;
    border: 1px solid #bcccc3;
    padding: 4px 6px 4px 6px;
    letter-spacing: 3px;
    margin-left: 5px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.badge {
    display: inline-block;
    min-width: 10px;
    padding: 3px 7px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #636463;
    border-radius: 10px;
}

.breadcrumb {
    background: #f9f9f9;
    padding: 5px 10px;
    margin-bottom: 10px;
    margin-top: 0px;
    font-weight: 600;
}

.breadcrumb a {
    color: #04aa6d;
}

.breadcrumb>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.flex {
    display: flex;
}

.btnxemlich {
    background: #04aa6d;
    color: #fff;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 6px 12px;
}

.do {
    color: red;
}

.lichtitle {
    display: flex;
    width: 100%;
    background: #04aa6d;
    text-align: center;
    color: #fff;
    border-bottom: 1px solid #ccc;
    padding-bottom: 5px;
}

.lichtitle a {
    color: #fff;
    border: 1px solid #ccc;
    padding: 5px 10px;
    border-radius: 50%;
}

.lichtitle a:hover {
    color: #FFEB3B;
    border: 1px solid #FFEB3B;
}

.truoc {
    width: 10%;
    font-size: 20px;
    padding: 12px 0 2px 0;
    float: left;
    cursor: pointer;
}

.sau {
    width: 10%;
    font-size: 20px;
    padding: 12px 0 2px 0;
    float: right;
    cursor: pointer;
}

.lich-title {
    width: 80%;
    float: left;
}

.lich-title h3 {
    font-size: x-large;
    letter-spacing: 5px;
    padding-top: 10px;
}

.info {
    background: #fff;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px 20px;
}

.navbar-dark .navbar-nav .nav-link {
    color: #fff;
}

.foot {
    border-top: 3px solid #04aa6d;
}

.foot-title {
    width: 60px;
    background-color: #04aa6d;
    height: 2px;
}

.blog-title {
    font-size: large;
}

.ansukien {
    background: #FFEB3B;
    border: 0px;
    font-size: initial;
    text-transform: uppercase;
    border-radius: 3px;
    font-weight: 400;
    cursor: pointer;
}

.lich-nam {
    margin-top: 10px;
}

.list-nam-gan-day {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}

.list-nam-gan-day li {
    color: #fff;
    background-color: #04aa6d;
    border-color: #004239;
    margin-bottom: 5px;
    margin-left: 2px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    padding: 5px;
    font-weight: 600;
}

.list-nam-gan-day li a {
    color: #fff;
    width: 100%;
    display: block;
}

.list-nam-gan-day li a:hover {
    color: #000;
}

.list-nam-gan-day li:hover {
    background-color: #FFF4A3;
}

.nhung-ngay-le {
    list-style-type: none;
}

.nhung-ngay-le li:before {
    content: "✦ ";
    color: #006e33;
}

.duocnghi {
    background-color: #51ce57;
    color: #fff;
    padding: 3px;
    border-radius: 3px;
    font-weight: 600;
}

.nhung-ngay-le li {
    line-height: 1.8em;
    border: 1px solid #ececec;
    margin-top: 3px;
    margin-left: -20px;
    padding: 14px;
    background-color: white;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.listngayle {
    width: 200px;
    display: inline-block;
}

@media (max-width:600px) {
    .box-lich {
        display: block;
        width: 100%;
        margin: 0 auto;
    }

    .thongtinngay {
        max-width: 100%;
        clear: both;
        padding-top: 10px;
        border-top: 1px solid #ccc;
    }

    .box-duong-lich {
        float: left;
        max-width: 50%;
    }

    .box-am-lich {
        float: right;
        max-width: 50%;
    }

    .calendar .days .day_name {
        font-size: small;
        padding: 10px;
    }

    .ngay-amlich {
        margin-top: 5px;
    }

    .lich-title h3 {
        font-size: large !important;
        letter-spacing: 1px;
        padding-top: 10px;
    }

    .flex {
        display: block;
    }

    .calendar .days .day_num {
        padding: 5px !important;
    }

    .dao {
        font-size: 10px;
    }

    .duong {
        font-size: large;
    }

    .btndoilich {
        font-size: small;
    }
}

.colorgreen {
    color: #04aa6d;
}

.me-4 {
    color: #000;
}

.me-4 i {
    width: 16px;
}

.bgnhapnhay {
    color: #000;
    font-weight: bold;
    font-size: 2rem;
    animation: blinkingText 8s infinite;
}

@keyframes blinkingText {
    0% {
        background: yellow;
    }

    50% {
        background: #26c6da;
    }

    100% {
        background: #e0f7fa;
    }
}

.info h3 {
    font-size: revert;
}

.info h4 {
    font-size: revert;
    color: brown;
}

.dongho {
    font-weight: bold;
    color: #fff;
    /* đổi sang màu trắng */
    font-size: 1.3rem;
    /* tăng cỡ chữ lên một chút */
}

.congiap {
    text-align: center;
}

.congiap img {
    padding: 5px;
    border: 1px solid #ccc;
    max-height: 160px;
}

.chunho {
    font-size: smaller;
}

.tet {
    font-weight: bold;
    color: red;
}

.btnxemlich {
    cursor: pointer;
}

.btndoilich {
    background: #04aa6d;
    color: #fff;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 6px 12px;
    cursor: pointer;
}

#thangduong {
    font-size: medium;
}

.loikhongthay {
    font-size: 72px;
    color: red;
    font-weight: bold;
}

.btnquaylai {
    padding: 5px;
    cursor: pointer;
    background: #00BCD4;
    border-radius: 5px;
    font-weight: bold;
    color: #fff !important;
}

.thongbao {
    color: #000 !important;
    background-color: #ffeb3b !important;
    font-weight: 500;
    padding: 5px;
    border-radius: 5px;
}

.info h2 {
    font-size: x-large;
    margin-top: 10px;
    margin-bottom: 10px;
}

.btnshare {
    font-size: 14px;
    padding: 5px;
}

.fbshare {
    background-color: #2196F3;
    color: #fff !important;
}

.twshare {
    background-color: #2196F3;
    color: #fff !important;
}

.zlshare {
    background-color: #2196F3;
    color: #fff !important;
    cursor: pointer;
}

.navbar-brand {
    font-weight: bold;
}

body {
    min-height: auto !important;
}

.tags {
    margin-top: 30px;
    display: grid;
}

.tags span {
    padding: 3px;
    background: beige;
    border: 1px solid #ccc;
    margin-top: 1px;
}

.tieude-trungtam {
    display: flex;
    justify-content: center;
    /* căn giữa ngang */
    align-items: center;
    /* căn giữa dọc */
    text-align: center;
    margin: 0 auto;
    flex-wrap: wrap;
    /* cho phép xuống hàng khi màn hình nhỏ */
    gap: 0;
    /* kiểm soát khoảng cách bằng margin */
}

.h1title,
.h2title {
    margin: 0;
    line-height: 1.4;
    color: orange;
}

/* điện thoại: chữ nhỏ hơn, hiển thị 2 hàng */
@media (max-width: 767px) {
    .h1title {
        font-size: clamp(16px, 4vw, 20px);
        /* co giãn từ 16px đến 20px */
        display: block;
        width: 100%;
        margin-bottom: 0;
        /* bỏ khoảng cách dưới h1 */
        line-height: 1.1;
        /* giảm khoảng cách dòng để sát hơn */
    }

    .h2title {
        font-size: clamp(14px, 3.5vw, 18px);
        /* co giãn từ 14px đến 18px */
        display: block;
        width: 100%;
        margin-top: 0;
        /* bỏ khoảng cách trên h2 */
        line-height: 1.1;
        /* giảm khoảng cách dòng để sát hơn */
    }
}

/* máy tính: chữ to hơn, hiển thị ngang */
@media (min-width: 768px) {

    .h1title,
    .h2title {
        font-size: clamp(20px, 2.5vw, 26px);
        /* co giãn từ 20px đến 26px */
        display: inline-block;
        margin: 0 12px;
        /* khoảng cách ngang giữa 2 tiêu đề */
        width: auto;
        /* giữ chữ nằm ngang */
        line-height: 1.4;
        /* line-height bình thường cho máy tính */
    }
}