:root {
    --main-color: #eb4a36;
    --star-color: #fbc418;
}

blockquote {
    font-size: 1rem;
}

/*** custom css***/
.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5, .uk-h6, .uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge, h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* uikit css changer */

@media (min-width: 960px) {
    .uk-h1, h1 {
        font-size: 1.75rem;
    }

    .uk-h2, h2 {
        font-size: 1.4rem;
    }

    .uk-h3, h3 {
        font-size: 1.2rem;
    }
}

.uk-h1, h1 {
    font-size: 1.75rem;
}

.uk-h2, h2 {
    font-size: 1.4rem;
}

.uk-h3, h3 {
    font-size: 1.2rem;
}

.main-color {
    color: var(--main-color);
}

.uk-logo, .uk-logo:hover {
    font-weight: 600;
    color: var(--main-color);
}

.uk-navbar-nav>li.uk-active>a {
    color: var(--main-color);
}

.uk-navbar-nav>li>a {
    text-transform: capitalize;
}

.uk-button-primary, .uk-button-primary:focus, .uk-button-primary:hover{
    background-color: var(--main-color);
}

.uk-border-rounded-large, .uk-border-rounded-medium {
    border-radius: 10px;
}

.uk-text-xsmall {
    font-size: 0.75rem;
}

.uk-margin-xsmall-left {
    margin-left: 6px;
}

.uk-rating-filled svg polygon {
    fill: var(--star-color);
}

.uk-rating-filled svg {
    color: var(--star-color);
}

a, .uk-link {
    color: var(--main-color);
    text-decoration: none;
    cursor: pointer;
}

a:hover,
.uk-link:hover,
.uk-link-toggle:hover .uk-link,
.uk-link-toggle:focus .uk-link {
    color: var(--main-color);
    text-decoration: underline;
}

.pointer {cursor: pointer}

em {
    color: var(--main-color);
}

.uk-nav-filter > .uk-parent > a {
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 0;
}

.uk-nav-default > li > a {
    color: #000;
}

.uk-nav-default .uk-nav-sub a {
    color: #999;
}

.uk-nav li>a {
    display: block;
    text-decoration: none;
}
.uk-nav-default .uk-nav-sub a {
    color: #000;
}

.uk-nav li > a {
    display: block;
    text-decoration: none;
}
.uk-nav-sub a {
    padding: 8px 0;
}
.uk-nav-parent-icon > .uk-parent > a::after {
    content: "";
    width: 1.5em;
    height: 1.5em;
    float: right;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='9' y='2' width='2' height='17' /%3E%3Crect x='1' y='9' width='17' height='2' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.uk-nav-parent-icon > .uk-parent.uk-open > a::after {
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Crect height='2' width='18' y='9' x='1' /%3E%3C/svg%3E");
}

/*
* Rating star, from: https://codepen.io/demchenko/pen/GmLmwR
*/
.ratings {
    display: inline-block;
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 110px;
    direction: rtl;
    text-align: left;
}

.star {
    position: relative;
    line-height: 18px;
    display: inline-block;
    transition: color 0.2s ease;
    color: #ebebeb;
    cursor: pointer;
}

.star:before {
    content: '\2605';
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.star:hover,
.star.selected,
.star:hover ~ .star,
.star.selected ~ .star{
    transition: color 0.8s ease;
    color: var(--star-color);
}

.cst-tag-active {
    text-decoration: line-through;
    color: #b0b0b0;
}

.text-large {
    font-size: 1.125rem;
}

.heart:before {
    cursor: pointer;
    content: "\2661";
    font-size: 1.2rem;
    font-weight: 100;
    color: #787878;
    vertical-align: -10%;
}

.heart.active:before {
    content: "\2665";
    color: orange;
    vertical-align: -10%;
}

img[data-src][src*='data:image'] {
    background: #eee;
}

.word-break {
    word-break: break-word;
}

.order {
    font-size: 1.175rem;
    font-weight: 600;
    color: var(--main-color) !important;
}

.meta-title {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-weight: 500;
}
.detail-main-image {
    border-radius: 20px;
    object-fit: cover;
}

.list-box{
    width: 100%;
}

.list-item-image {
    object-fit: cover;
    background-color: #f0f0f0;
    height: 280px;
    width: 100%;
}

.list-item-title {
    margin-bottom: 10px !important;
    margin-top: 20px !important;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.4;
}

.uk-nav-sub a.active {
    color: #eb4a36;
}

.uk-navbar-toggle {
    width: 50px;
    max-width: 50px;
}

@media print {
    .uk-article img {margin: 10px auto;}
    .not-print, .not-print *{ display:none; }
}

/* ad */
.top-ad {
    display: block;
    max-width: 970px;
    max-height: 90px;
    height: 90px;
    overflow: hidden;
}

.uk-button {
    text-transform: capitalize;
}

.content-img {
    position: relative;
    width: fit-content;
    height: fit-content;
}

.content-img a {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.4s linear;
}

.content-img:hover a {
    visibility: visible;
    opacity: 1;
}

.height-140 {height: 140px;}
.height-150 {height: 150px;}
.height-170 {height: 170px;}
.height-175 {height: 175px;}
.height-180 {height: 180px;}
.height-200 {height: 200px;}