@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prata&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playwrite+DE+Grund:wght@100..400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


:root {
    --primary: #de4440;
    --secondary: #0f0d15;
    --white: #ffffff;
    --text-color:#222222;
    --dark-color:#1a1a1a;
    --text-hover:#565656;
    --text-color-light:#636363;
    --primary-transparent : #16283aeb;
    --small-font:14px;
    --yellow-color:#f14e48;
    --light-bg:#f6f6f6;
}
body
{
    background-color:#f7f8f9;
}
*
{
    margin: 0px;
    padding: 0px;
    font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  box-sizing: border-box;
}
a
{
    text-decoration: none;
}


/* Bootstrap */

.container
{
    background-color: var(--white);
}





/* Navbar */
.main-navbar .logo
{
    width: 200px;
    margin: auto;
}
.main-navbar nav
{
    background-color: var(--light-bg);
    border-bottom: 2px solid var(--dark-color);
    border-top: 1px solid #ececec;
}
.main-navbar nav ul 
{
    display: flex;
    align-items: center;
    list-style: none;
    justify-content: center;
    margin: 0px;
    padding: 0px;
}
.main-navbar nav ul li
{
    font-size: var(--small-font);
    display: block;
}
.main-navbar nav ul li a
{
    padding: 15px 10px;
    display: block;
    color: var(--dark-color);
    font-weight: 600;
}
.main-navbar nav ul li a:hover
{
    /* color: var(--text-hover); */
    color: var(--primary);
}


.logo_title
{
    font-size: 30px;
    font-weight: 400;
    display: block;
    padding-top: 10px;
    color: var(--text-color);
}





.trending-slider {
    display: flex;
    align-items: center;
    overflow: hidden; /* Hides overflowing content */
    position: relative;
    white-space: nowrap; /* Prevents items from wrapping to the next line */
}

.trending-slider-content {
    display: flex;
    animation: scroll 20s linear infinite;
}

.trending-slider-content:hover {
    animation-play-state: paused; /* Pause on hover */
}

.trending-slider .trending-slider-item {
    background-color: var(--light-bg);
    white-space: nowrap;
    border: 1px solid #ccc;
    border-radius: 10px;
    margin-right: 10px;
    flex-shrink: 0; /* Prevent items from shrinking */
}

.trending-slider .trending-slider-item a {
    color: var(--dark-color);
    padding: 5px 10px;
    font-size: var(--small-font);
    line-height: 27px;
}
.trending-slider .trending-slider-item:hover
{
    background-color: var(--primary);
}
.trending-slider .trending-slider-item:hover > a 
{
    color: #fff;
}
/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% / 2)); /* Ensure seamless looping */
    }
}








/* Badge Container */
.trending-badge {
    display: inline-flex;
    align-items: center;
    background-color: #555; /* Dark Gray */
    color: #fff; /* White Text */
    padding: 5px 15px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    border-radius: 5px 0px 0px 5px;
    margin-right: 15px;
}

/* Add a Tail/Arrow on the Right */
.trending-badge::after {
    content: "";
    position: absolute;
    right: -10px; /* Position the arrow to the right */
    top: 0;
    width: 0;
    height: 0;
    border-top: 17px solid transparent; /* Arrow height */
    border-bottom: 17px solid transparent; /* Arrow height */
    border-left: 10px solid #555; /* Arrow width and same color as background */
    border-radius: 0 5px 5px 0; /* Rounds only the arrow edge */
}

/* Icon Style */
.trending-icon {
    color: #ff3e3e; /* Red lightning color */
    margin-right: 8px;
    font-size: 16px;
}

/* Text */
.trending-text {
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.trending-wrapper
{
    display: flex;
    align-items: center;
    overflow: hidden;
}





.top-bar
{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 .social-icons
{
    display: flex;
    align-items: center;
    gap: 5px;
}
.social-icons a
{
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 30px;
}
.social-icons a.facebook
{
    background-color:#4966AB;
    color: #fff;
}

.social-icons a.instagram
{
    background-color: #C23365;
    color: #fff;
}

.social-icons a.twitter
{
    background-color: #35ACDB;
    color: #fff;
}

.social-icons a.linkedin
{
    background-color: #0675B1;
    color: #fff;
}

.top-bar .contact-meta
{
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar .contact-meta a 
{
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.pinterest{
    background: red;
    color: #fff;
}

a.youtube {
    background: red;
    color: #fff;
}








/* News list */

.new-list-item
{
    display: flex;
    padding: 10px 0px;
    border-bottom: 1px dotted #ccc;
}
.new-list-item .left
{
    width: 65%;
    display: flex;
    align-items: center;
    padding-right: 10px;
}
.new-list-item .left a 
{
    color: var(--dark-color);
    font-size: var(--small-font);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.new-list-item .image-element
{
    width: 35%;
    min-height: 100px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    cursor:pointer;
}
.hero-news .image-element-v1
{
    width: 100%;
    min-height: 245px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 10px;
    cursor:pointer;
}
.hero-news .image-element-v2
{
    width: 100%;
    min-height: 100px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    margin-bottom: 10px;
    cursor:pointer;
}

.hero-news .image-element-v3
{
    width: 100%;
    min-height: 150px;
    border-radius: 4px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: 10px;
    cursor:pointer;
}


.hero-news img 
{
    border-radius: 5px;
    margin-bottom: 10px;
}

.hero-news a 
{
    color: var(--dark-color);
    font-size: var(--small-font);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.alist-news-item
{
    padding: 10px 0px;
    border-bottom: 1px dotted #ccc;
}
.alist-news-item h4, .alist-news-item h4 a
{
    font-size: 15px;
    color: var(--dark-color);
}
.alist-news-item h4 a:hover 
{
    color: var(--primary);
}
.alist-news-item .meta-item
{
    font-size: 12px;
    color: var(--text-color-light);
}










/* Page Details */


.breadcrumb-item
{
    font-size: var(--small-font);
}
.page-title, .content-body h1
{
    font-size: 28px;
}
.meta-content 
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--small-font);
}
.meta-content .post-share
{
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 8px;
    cursor: pointer;
}
.meta-content .meta-action-btn
{
    display: flex;
    align-items: center;
    gap: 8px;
}
.meta-content .post-print
{
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
}


.header-headline-bar
{
    background-color: #e21b22;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 8px 10px;
    border-radius: 7px;
    color: #fff;
}
.header-headline-bar .label 
{
    background-color: #fff;
    color: #e21b22;
    padding: 3px 8px;
    white-space: nowrap;
    border-radius: 5px;
}
.header-headline-bar a 
{
    color: #fff;
}
.header-headline-bar .content
{
    width: 90%;
}


.content-body  p 
{
    color: var(--text-color-light);
}

.content-body h2
{
    font-size: 24px;
}
.content-body h3
{
    font-size: 20px;
}
.content-body h4, .content-body h5, .content-body h6
{
    font-size: 18px;
}

/* General styles for the content-body */
.content-body {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* Add some space between rows */
}

/* Image and first paragraph side-by-side on larger screens */
.content-body img {
    width: 45%;
    border-radius: 8px; /* Add rounded corners */
    margin-bottom: 16px;
    float:left;
    height: fit-content;
    /* Add spacing */
}

.content-body p:first-of-type {
    width: 50%;
    margin-bottom: 16px; /* Add spacing */
    text-align: justify;
}

/* Full width for remaining paragraphs */
.content-body p:not(:first-of-type) {
    width: 100%;
    text-align: justify;
}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .content-body img,
    .content-body p {
        width: 100%; /* Stack image and paragraphs */
    }
    .content-body p:first-of-type {
        width: 100%;
        margin-bottom: 16px; /* Add spacing */
        text-align: justify;
    }
}


/* footer */

.main-footer 
{
    font-size: var(--small-font);
}
.main-footer .container {
    background-color: var(--dark-color);
    color: var(--white) !important;
    background-image: url(https://techtimesnews.com/footer-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}
.footer-widget-title
{
    font-weight: 600;
    font-size: var(--small-font);
    margin-bottom: 15px;
    display: block;
}
.footer-widget ul 
{
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.footer-widget ul li a 
{
    color: var(--white);
    margin-bottom: 5px;
    display: block;
    font-size: 13px;
}
.footer-widget ul li a:hover
{
    color: var(--primary);
}





.social_share_icons a:hover
{
    text-shadow: none;
    color: #fff;
}


.fa {
  padding: 9px;
  font-size: 20px;
  width: 50px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa:hover {
    opacity: 0.7;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-whatsapp {
  background: green;
  color: white;
}
.fa-instagram {
  /*background: #000;*/
  color: white;
}
.fa-envelope-o {
  background: #125688;
  color: white;
}

.fa-pinterest {
  background: #cb2027;
  color: white;
}

.fa-snapchat-ghost {
  background: #fffc00;
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.fa-skype {
  background: #00aff0;
  color: white;
}

.fa-android {
  background: #a4c639;
  color: white;
}

.fa-dribbble {
  background: #ea4c89;
  color: white;
}

.fa-vimeo {
  background: #45bbff;
  color: white;
}

.fa-tumblr {
  background: #2c4762;
  color: white;
}

.fa-vine {
  background: #00b489;
  color: white;
}

.fa-foursquare {
  background: #45bbff;
  color: white;
}

.fa-stumbleupon {
  background: #eb4924;
  color: white;
}

.fa-flickr {
  background: #f40083;
  color: white;
}

.fa-yahoo {
  background: #430297;
  color: white;
}

.fa-soundcloud {
  background: #ff5500;
  color: white;
}

.fa-reddit {
  background: #ff5700;
  color: white;
}

.fa-rss {
  background: #ff6600;
  color: white;
}








.toggle-menu
{
    display: none;
}



@media (max-width:991px)
{
    body
    {
        overflow-x: hidden !important;
    }
    .toggle-menu
    {
        display: block;
        width: 50px;
        text-align: center;
        float: inline-end;
        font-size: 22px;
        line-height: 55px;
    
    }
    .main-navbar-menu.active
    {
        left: 0px;
    }
    .main-navbar-menu
    {
        position: absolute;
        top: 0px;
        left: -100%;
        width: 250px;
        z-index: 9999;
        height: 100vh;
        overflow-y: auto;
        transition: 0.5s;
    }
    .main-navbar-menu ul
    {
        display: block !important;
    }
    .main-navbar-menu ul li a
    {
        padding: 10px;
    }
    .header-headline-bar
    {
        display: block;
        text-align: center;
        padding-top: 15px;
    }
    .header-headline-bar .content
    {
        width: 100%;
        margin-top: 10px;
        padding: 5px;
    }
    .main-navbar .logo
    {
        margin: 0px;
        margin-left: 10px;
    }
}





.search_wrapper_model
{
    display: none;
    background: #fff;
    border: 1px solid #ccc;
    position: absolute;
    top: -10px;
    right: 0px;
    z-index: 9999;
    width: 200px;
    margin-bottom: 0px;
    padding: 5px 10px;
}
.search_wrapper_model.active
{
    display: block;
}

.serach_wrapper_icon
{
    cursor: pointer;
}


.desktop-header-ui
{
    display:flex;
}
.mobile-header-ui
{
    display:none;
}


@media(max-width:769px)
{
    .desktop-header-ui
    {
        display:none;
    }
    .mobile-header-ui
    {
        display:flex;
    }
}



