/* Custom CSS styles */

@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300;400&display=swap');

:root {
    --swiper-theme-color: white;
}

html,
body {
    height: 100%;
    font-family: 'Work Sans', sans-serif;
}

ol, ul {
    padding-left: 1.5rem;
}

.text-muted-yellow {
    color: #D6CC81;
}

.text-muted-dark {
    color: var(--bs-gray-600);
}

.parent-container {
    height: 100%;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
}

/*.bg-black {*/
/*    background: black;*/
/*}*/

.bg-mustard-yellow {
    background: #D4BF5B;
}

.bg-dusty-yellow {
    background: #C7B97D;
}

.bg-soft-butter-yellow {
    background: #E0DAA9;
}

.bg-warm-vanilla-yellow {
    background: #F2E7C1;
}

.bg-pale-sunflower-yellow {
    background: #F4DF76;
}

.bg-newsx-gray {
    background: #363B3F;
}

.text-newsx-gray {
    color: #363B3F;
}

.swiper-pagination-toast {
    position: absolute;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
    padding: 10px 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    z-index: 9999;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/*.loader-spinner {*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    border-radius: 50%;*/
/*    border-top: 4px solid lightslategray;*/
/*    border-right: 4px solid lightslategray;*/
/*    border-bottom: 4px solid rgb(var(--bs-warning-rgb));*/
/*    border-left: 4px solid rgb(var(--bs-warning-rgb));*/
/*    animation: loader-rotate 1s linear infinite, loader-color 4s ease-in-out infinite;*/
/*}*/

/*@keyframes loader-rotate {*/
/*    0% {*/
/*        transform: rotate(0deg);*/
/*    }*/
/*    100% {*/
/*        transform: rotate(360deg);*/
/*    }*/
/*}*/

/*@keyframes loader-color {*/
/*    0%, 100% {*/
/*        border-top-color: lightslategray;*/
/*        border-right-color: lightslategray;*/
/*        border-bottom-color: lightslategray;*/
/*        border-left-color: rgb(var(--bs-warning-rgb));*/
/*    }*/
/*    25% {*/
/*        border-top-color: tomato;*/
/*        border-right-color: royalblue;*/
/*        border-bottom-color: greenyellow;*/
/*        border-left-color: rgb(var(--bs-warning-rgb));*/
/*    }*/
/*    50% {*/
/*        border-top-color: rgb(var(--bs-warning-rgb));*/
/*        border-right-color: lightslategray;*/
/*        border-bottom-color: lightslategray;*/
/*        border-left-color: lightslategray;*/
/*    }*/
/*    75% {*/
/*        border-top-color: greenyellow;*/
/*        border-right-color: rgb(var(--bs-warning-rgb));*/
/*        border-bottom-color: tomato;*/
/*        border-left-color: royalblue;*/
/*    }*/
/*}*/
.loader-spinner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 4px solid rgb(var(--bs-warning-rgb));
    animation: loader-scale 2s ease-in-out infinite;
}

@keyframes loader-scale {
    0%, 100% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
}
.swiper-slide img {
    max-width: 100%;
    height: auto;
    min-height: 20vh;
}

/* timeline */
.timeline {
    /* border-left: 1px solid hsl(0, 0%, 90%); */
    /* border-right: 1px solid hsl(0, 0%, 90%); */
    position: relative;
    list-style: none;
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #6c757d;
    display: inline-block;
    position: absolute;
    left: 0.55rem;
    width: 1px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    /*margin: 20px 0;*/
    margin-top: 10px;
    padding-left: 5px;
    padding-right: 5px;
    border-bottom: 2px solid rgba(0, 0, 0, .5);
}

ul.timeline > li:before {
    content: ' ';
    background: rgba(255, 193, 7, var(--bs-bg-opacity, 1)) !important;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    /*border: 2px solid #6c757d;*/
    left: 0.1rem;
    width: 15px;
    height: 15px;
    z-index: 400;
}

.published-time {
    color: var(--color-primary);
    margin-bottom: 10px;
    font-size: 0.8em;
    display: table;
}

.highlight {
    color: rgb(var(--bs-info-rgb));
    font-weight: 400 !important;
}

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

.btn-micro {
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.25;
}


.custom-select {
    background: rgb(var(--bs-dark-rgb)) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'><path fill='%23ffffff' d='M2 0L0 2h4zm0 5L0 3h4z'/></svg>") right .75rem center/8px 10px no-repeat !important;
}

.navbar-toggler:focus,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}


.lh-sm-x {
    line-height: 0.5 !important;
}

.lh-sm-xx {
    line-height: 0.25 !important;
}

.input::placeholder {
    color: red !important;
    opacity: 1;
}

.icon-bold {
    -webkit-text-stroke: 0.5px;
}

.swiper-button-next, .swiper-button-prev {
    position: fixed;
    background-color: rgba(51, 51, 51, 0.5); /* Background color with transparency */
    color: #aaaaaa; /* Icon color */
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 20px;
}
