:root {
    --border: #D0D6DC;
    --radius: 0.5em;
    --primary: #ee4036;
    --secondary: #2e368e;
}

@media only screen and (max-width: 600px) {
    .sim-news img {
        width: 4rem !important;
        height: 4rem !important;
        object-fit: cover;
    }

    .carousel-inner {
        height: 18rem !important;
    }

    .slider img {
        height: 18rem !important;
    }

    .slider {
        height: 18rem !important;
    }

    .slide-news-info {
        font-size: 0.7em !important;
    }

    .carousel,
    .carousel-item,
    .carousel-inner {
        height: 20rem !important;
    }
}

/* Home Page Slider */
.slider {
    width: 100%;
    height: 20rem;
    padding: 0 4px;
    /* margin-top: 1rem; */
}

.slider img {
    width: 100%;
    height: 21rem;
    object-fit: cover;
    border-radius: var(--radius);
    object-position: top;
}

.slide-news-info {
    width: 100%;
    position: relative;
    bottom: 40%;
    z-index: 20;
    padding: 16px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
}

.slide-news-info>.slide-category {
    display: block;
    margin-bottom: 10px;
}

.slide-news-info>.slide-category span {
    padding: 5px 20px;
    border-radius: 5px;
    font-size: 0.7em;
    margin-right: 10px;
}

.slide-news-info>.written {
    color: #dde4ea;
    display: block;
    font-size: 0.7em;
}

.slide-news-info>.slide-title {
    display: block;
    font-size: 1.1em;
}

.carousel,
.carousel-item,
.carousel-inner {
    height: 22rem;
    overflow: hidden;
}

*[block] {
    display: block;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: #fff !important;
}

.image-limit {
    height: 13rem;
    object-fit: cover;
    object-position: top;
}

.card-btn {
    cursor: pointer;
}

.nav-item>a {
    color: black;
}

.category {
    display: block;
    margin-bottom: 5px;
}

.category span {
    padding: 5px 16px;
    font-size: 0.5em;
    border-radius: 4px;
    color: white;
}

.category small {
    font-size: 0.7em;
    margin-left: 16px;
}

.category-block {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.category-block a {
    text-decoration: none;
    color: black;
    padding: 7px 20px;
    border-radius: var(--radius);
}

.category-block .active {
    background-color: var(--primary);
    color: #fff;
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0 !important;
    overflow: hidden;
}

.card img {
    border-radius: var(--radius) !important;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 0 !important;
}

.page-title {
    display: block;
    font-size: 1.5em;
    padding: 10px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.page-title span {
    cursor: pointer;
}

.page-title span>i {
    padding-right: 1rem;
}

.border-left {
    border-left: 1px solid var(--border);
}

.border-right {
    border-right: 1px solid var(--border);
}

.details {
    padding-top: 1rem;
}

.details .title {
    padding: 16px 0;
    font-weight: 600;
    font-size: 1.2em;
}

.details img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    background-color: #D0D6DC;
}

.details .publisher {
    padding: 2rem 0 10px 0;
    font-size: 0.8em;
}

.sidebar .title {
    font-size: 0.9em;
    font-weight: 600;
    padding: 7px 15px;
    display: block;
    color: #fff;
    border-radius: 3px;
    background-color: var(--primary);
}

.sim-news {
    display: block;
    margin-top: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
}

.sim-news img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
}

.sim-news .body-block {
    font-size: 0.8em;
}

.sim-news .body-block small {
    font-size: 0.5rem;
    padding-top: 0.5rem;
}

.bg-crataa {
    background-color: var(--primary);
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: var(--primary);
}

.progress-wrapper {
    width: 100%;
    margin: auto;
}

.progress-bar {
    height: 2px;
    background-color: rgba(235, 235, 235, 0.2);
    width: 100%;
    overflow: hidden;
}

.progress-bar-value {
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    animation: indeterminateAnimation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminateAnimation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

.t-btn {
    width: 3rem;
    height: 2.4rem;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 2px;
    text-align: center;
    margin-left: 0.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

#topTheTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--bs-dark);
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}

#myBtn:hover {
    background-color: rgba(var(--bs-dark), 0.7);
}

.scroll-horizontally {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
}

.scroll-horizontally::-webkit-scrollbar {
    display: none;
}

.scroll-tabs {
    flex: 0 0 auto;
    padding: .7rem;
}

.footer {
    clear: both;
    left: 0;
    bottom: 0;
    width: 100%;
    min-height: 40px;
    font-size: 14px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    padding: 10px 1px 10px 20px;
    /* text-align: center; */
    margin-top: 2rem;
}

.footer a {
    text-decoration: none;
    color: #2e368e;
}

/* Animation */
.main-item {
    padding: 10px;
    background-color: #fff;
    width: 100%;
}

.background-masker {
    background-color: #fff;
    position: absolute;
}

.btn-divide-left {
    top: 0;
    left: 25%;
    height: 100%;
    width: 5%;
}

.btn-divide-right {
    top: 0;
    right: 25%;
    height: 100%;
    width: 5%;
}

@keyframes placeHolderShimmer {
    0% {
        background-position: -800px 0
    }

    100% {
        background-position: 800px 0
    }
}

.animated-background {
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background-color: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #bbbbbb 18%, #eeeeee 33%);
    background-size: 800px 104px;
    height: 20rem;
    position: relative;
}

.animated-background-min {
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: linear;
    background-color: #f6f7f8;
    background: linear-gradient(to right, #eeeeee 8%, #bbbbbb 18%, #eeeeee 33%);
    background-size: 800px 104px;
    height: 5rem;
    position: relative;
}

.css-dom:empty {
    width: 280px;
    height: 220px;
    border-radius: 6px;
    box-shadow: 0 10px 45px rgba(0, 0, 0, .2);
    background-repeat: no-repeat;

    background-image:
        radial-gradient(circle 16px, lightgray 99%, transparent 0),
        linear-gradient(lightgray, lightgray),
        linear-gradient(lightgray, lightgray),
        linear-gradient(lightgray, lightgray),
        linear-gradient(lightgray, lightgray),
        linear-gradient(#fff, #fff);

    background-size:
        32px 32px,
        200px 32px,
        180px 32px,
        230px 16px,
        100% 40px,
        280px 100%;

    background-position:
        24px 30px,
        66px 30px,
        24px 90px,
        24px 142px,
        0 180px,
        0 0;
}