﻿/* Loader overlay styling */
.loader-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    z-index: 9999; /* Ensure it appears above other elements */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner styling */
.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue color for the spinner */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.bg-white {
    margin: 10px;
}

.mt-2 {
    margin-left: 10px;
}

.name {
    margin-top: 7px;
}

.user-info {
    margin-left: 10px;
}
/* Modal styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 500px;
    text-align: center;
}


.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    padding: 0px !important;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0
}

.modal-backdrop {
    position: initial!important;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000
}

.close {
    color: #aaa;
    float: right;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
/* Styling for the comment section */
.comment-section {
    margin: 0 auto;
    margin-top: 20px;
    border-radius: 8px;
}

.comment-form textarea {
    resize: none;
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    font-weight: bold;
}

.comment-time {
    font-size: 0.9em;
    color: #888;
}

.footer .newsletter .newsletterForm {
    position: relative;
    width: 100%;
}

.nl-img img {
    height: 68px;
    width: 100px;
}

.tn-img img {
    height: 68px;
    width: 100px !important;
}

.dataContainer .tn-img img {
    height: 100px;
    width: 140px !important;
}

.sliderImage img {
    height: 100% !important;
    width: 100% !important;
}

.rightsliderImage img {
    height: 100% !important;
    width: 100% !important;
}

.cn-img img {
    height: 170px;
    width: 100px;
}
.mn-img img {
    height: 170px;
    width: 100px;
}
.rightsliderImage img {
    height: 169px !important;
}

.sliderImage img {
    height: 345px !important;
}
.articleDetailImage {
    width: 720px;
    height: 427px;
    margin-bottom: 10px;
}