/* ==========================================================================
   Consolidated Stylesheet
   ========================================================================== */

/* --- Normalization & Basic Styles (from basic_css, navbar_a) --- */
html {
    box-sizing: border-box;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    margin: 0;
    padding: 0 5%;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
}

hr {
    border: 0;
    border-top: 1px dotted #ccc;
    margin: 10px 0;
    overflow: visible;
    box-sizing: content-box;
    height: 0;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    background-color: transparent;
}

a:hover {
    color: #c54d38;
    text-decoration: none;
}

a:visited {
    color: #555;
}

/* --- Layout Components (from basic_css, nav_and_footer) --- */
.container-fluid {
    margin: 0;
    padding: 0;
}

.img_colum {
    float: right;
    padding: 0px 15px 0px 0px;
}

.top_brakeline {
    margin-top: 1px;
    margin-bottom: 8px;
}

/* --- Top Header & Social Links --- */
.social-links {
    padding: 10px 0;
}

.social-links a {
    font-size: 20px;
    margin-right: 15px;
    color: #053648;
}

.social-links a:hover {
    color: #00f3fc;
}

/* --- Navigation Bar Section --- */
.navbar-custom {
    background-color: #f8f9fa;
    text-align: center;
    font-size: 17px;
    padding: 1% 0;
    margin-bottom: 2%;
    border-bottom: 2px solid #e0e0e0;
}

.scrollmenu {
    background-color: #053648;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

.scrollmenu a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 12px 18px;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 500;
}

.scrollmenu a:hover {
    background-color: #085570;
    color: #fff;
}

/* --- Date Field --- */
.date_area {
    border-left: 1px dotted #ccc;
    border-right: 1px dotted #ccc;
    padding: 10px;
    font-size: 14px;
}

.date_number_row {
    padding: 0;
    margin: 0;
}

.date_number {
    padding: 0;
    margin: 0;
    width: 33.33%;
}

.date {
    font-size: 40px;
    font-weight: bold;
    color: #053648;
}

/* --- Breaking News Marquee --- */
.onoffswitch3 {
    margin-bottom: 20px;
}

.breaking-news-head {
    background-color: #c54d38;
    color: white;
    padding: 5px 10px;
    font-weight: bold;
}

.scroll-text a {
    color: #006caa;
    font-weight: bold;
}

/* --- News Headlines & Content (from basic_css, index.css) --- */
.news_area_row {
    padding: 0;
    margin: 0;
}

.heading_news_types {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.main_news_hr {
    border-top: 2px solid seagreen;
    width: 100%;
    margin: 10px 0;
}

.main_news_image {
    width: 100%;
    height: 200px;
    padding: 5px 0px 5px 0px;
}

.main_news_image_b {
    height: 100px;
    width: 190px;
}

.local_news_image {
    width: 100%;
    height: 200px;
}

.title_head {
    font-family: NotoSansMalayalam-Regular, Arial, sans-serif;
    font-size: 12px;
    color: #006caa;
    font-weight: bold;
    line-height: 18px;
    margin: 0;
    padding: 0 0 0 25px;
    display: inline;
}

.title_head_sm {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
}

.chip img {
    float: left;
    margin: 0 10px 0 -25px;
    height: 60px;
    width: 110px;
}

.news_content {
    font-family: NotoSansMalayalam-Regular, Arial, sans-serif;
    font-size: 15px;
    color: #000000;
    line-height: 22px;
    text-align: left;
}

/* --- District/Local News Box --- */
.district-box {
    border: 1px solid #eee;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    margin-bottom: 15px;
}

.dis_name {
    border-bottom: 2px dotted #e70000;
    color: #e70000;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

/* --- Calendar Plugin (from theme1.css) --- */
.cld-main {
    width: 100%;
    max-width: 250px;
    margin: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.cld-datetime {
    position: relative;
    width: 100%;
    margin: auto;
    overflow: hidden;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.cld-datetime .today {
    text-align: center;
    font-weight: bold;
    float: left;
    width: calc(100% - 40px);
}

.cld-nav {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 0;
    cursor: pointer;
}

.cld-nav:hover svg {
    fill: #c54d38;
}

.cld-rwd {
    left: 0;
}

.cld-fwd {
    right: 0;
}

.cld-labels,
.cld-days {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.cld-label,
.cld-day {
    display: inline-block;
    width: 13.5%;
    text-align: center;
    font-size: 12px;
    padding: 5px 0;
}

.cld-day.today .cld-number {
    display: inline-block;
    height: 25px;
    width: 25px;
    line-height: 25px;
    border-radius: 50%;
    background: #053648;
    color: #fff;
    margin: 0;
}

.cld-day.disableDay {
    opacity: 0.5;
}

.cld-day.nextMonth,
.cld-day.prevMonth {
    opacity: 0.33;
}

.cld-number {
    position: relative;
    display: inline-block;
    height: 25px;
    width: 25px;
    line-height: 25px;
    margin: 2px;
}

.cld-number.eventday {
    border: 1px solid #053648;
    border-radius: 50%;
    color: #053648;
    font-weight: bold;
}

.cld-number.eventday:hover {
    cursor: pointer;
    background: #eef9fa;
}

/* Tooltip Styles */
.cld-title {
    position: absolute;
    z-index: 10;
    display: none;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: #333;
    color: #fff;
    white-space: nowrap;
    border-radius: 4px;
    font-size: 11px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cld-number:hover .cld-title {
    display: block;
}

.cld-title::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #333;
}

/* --- Admin/Login Pages (from login.css) --- */
.container_login {
    padding-top: 90px;
}

.full_align {
    min-height: 350px;
    background-color: whitesmoke;
    border-radius: 25px;
    padding: 20px;
}

.table {
    background-color: whitesmoke;
    border-radius: 25px;
    width: 80%;
    margin-left: 10%;
    border-collapse: collapse;
}

.full_align_edit {
    min-height: 430px;
    background-color: whitesmoke;
    border-radius: 25px;
}

/* --- About Page (from edit_about.css) --- */
.container_about_editor {
    margin: 0;
    padding: 0;
}

.about_content {
    line-height: 2.6rem;
    font-family: 'Gayathri', Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 500;
}

.about_content_div {
    padding: 50px;
}

.about_name,
.content_head {
    font-size: 35px;
    font-weight: bolder;
    padding-bottom: 20px;
}

/*.card {*/
/*    padding: 0px;*/
/*    margin: 0px;*/
/*    text-align: center;*/
/*    width: 18rem;*/
/*}*/

.tab1cards {
    margin: 0px;
    justify-content: center;
    display: flex;
    flex-direction: row;
}

/* --- Footer --- */
#footer {
    background-color: #053648;
    color: whitesmoke;
    padding: 30px 0;
    margin-top: 30px;
    text-align: center;
}

.social-icon {
    font-size: 24px;
    color: white;
    margin: 0 10px;
}

.social-icon:hover {
    color: #00f3fc;
}

/* --- Responsive Utilities (from mobile_view.css, index.css) --- */
@media (max-width: 900px) {
    body {
        padding: 0 1%;
    }   
    .mob_name_row {
        display: contents;
    }

    .scrollmenu {
        margin-top: 10px;
    }

    .news_type {
        display: contents;
    }

    .follow_us {
        display: none;
    }

    .namerow,
    .top_brakeline,
    .carousel_row,
    .carousel_brakeline,
    .date_area,
    .add_area {
        display: none;
    }

    .adv_area_2 {
        display: inline-block;
        padding: 5px;
        margin: 5px;
    }

    .gulf_news_img {
        display: none;
    }
}