/*
Theme Name: Epaper Theme
Theme URI: epaper.dailysunehine.com
Author: Shuman Sheikh
Author URI: https://shumanbd.com
Description: A theme for daily e-paper.
Version: 1.0
*/

/* Global box sizing */
*,
*::before,
*::after {x;  */
    box-sizing: border-box;
}

/* Reset margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

body {
    margin: 0;
    padding: 0;   
    box-sizing: border-box; 
    /* font-family: 'Tiro Bangla', serif !important; */
}

.container {
    width: 1150px;
    margin: 0 auto;
    padding: 0 10px;
}

ul, li {
    list-style-type: none;
    margin: 8px 0;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #f5f5f5;
}

.left-column {
    width: 170px;
    float: left;
    /* margin-top: 20px; */
}

.middle-column {
    width: 695px;
    float: left;
    margin: 0 14px;
  }

.main-epaper {
    border: 1px solid #999;
}

.right-column {
    width: 235px;
    float: right;
}

.footer {
    clear: both;
    text-align: center;
    padding: 10px;
    background-color: #ece9dd;
}

.logo img {
    width: 350px;
}

.footer-logo img {
    width: 200px;
}

.editor-info {
    font-size: 18px;
    color: #333;
    margin-top: 10px;
    padding-top: 5px;
}

.devinfo {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    padding-top: 5px;
    border-top: 1px solid #999;
    font-family: Arial, Helvetica, sans-serif;
}
.devinfo a {
    color: #0073e6;
    text-decoration: none;
}

.page-container {
    margin: 20px 0;
}

/* Page Navigation Styles */
.page-navigation {
    text-align: center; 
    margin: 20px 0; 
    padding: 10px; 
    background-color: #f9f9f9;
    border-radius: 5px; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    /* font-family: Arial, Helvetica, sans-serif; */
}

.page-navigation a {
    display: inline-block; 
    margin: 0 10px;
    padding: 8px 16px; 
    text-decoration: none; 
    color: #0073e6; 
    font-size: 16px; 
    font-weight: bold;
    border: 2px solid #0073e6; 
    border-radius: 5px; 
    transition: all 0.3s ease; 
}

.page-navigation a:hover {
    background-color: #0073e6;
    color: #fff; 
    border-color: #0073e6;
}

.page-navigation .page-numbers {
    display: inline-block; 
    margin: 0 5px; 
    padding: 8px 16px; 
    color: #333; 
    font-size: 16px; 
    font-weight: bold; 
}

.page-navigation .page-numbers a {
    color: #333; 
    border: none; 
    padding: 0; 
    margin: 0; 
}

.page-navigation .page-numbers a:hover {
    background-color: transparent;
    color: #0073e6; 
    
}

.page-navigation a,
.page-navigation span.page-numbers a {
    margin: 0 5px;
    text-decoration: none;
    color: #000;
    border: 2px solid #0073e6;
    padding: 6px 10px !important;
}
.page-navigation a:hover,
.page-navigation span.page-numbers a:hover {
    color: #fff;
    border: 2px solid #0073e6;
    background: #0073e6;
}

.page-numbers a.active {
    background-color: #0073e6;
    color: #fff !important;
}

.page-numbers {
    display: inline-block;
}

.left-column .page-thumbnail img {
    width: 100%;
    height: auto;
    cursor: pointer;
    border: 1px solid #999999;
    margin: 0;
}

.left-column .page-thumbnail.active img {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.middle-column .page-content img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.middle-column .page-content img.zoom {
    transform: scale(1.5);
    cursor: zoom-out;
}

.page-content {
    display: none;
}

.page-content:first-child {
    display: block;
}

.page-navigation {
    text-align: center;
    margin-top: 20px;
}


.page-thumbnail img {
    width: 100%;
    height: auto;
    display: block; 
    margin-bottom: 10px; 
}

.page-thumbnail {
    margin-bottom: 15px;
}

.page-thumbnail a {
    text-decoration: none;
}

.thumbnail-title {
    text-align: center;
    margin-top: 4px;
    color: #333;
    font-size: 16px;
    line-height: 1.2;
    background-color: #ece9dd;
    padding-top: 4px;
    border-radius: 0 0 8px 8px;
}

.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9); 
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 98%;
    cursor: zoom-in; 
    transition: transform 0.3s ease; 
    transform-origin: center center; 
}

.modal-content.zoomed {
    cursor: zoom-out; 
    transform: scale(5.2); 
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: yellow;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.top-head .separator {
    color: black; 
}

/* top-head container */
.top-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ece9dd;
    padding: 5px 0px;
    border-bottom: 2px solid #555;
}

.top-head a {
    color: #333; 
    text-decoration: none;
    padding: 8px 10px; 
    /* margin: 0 5px;  */
    border-radius: 4px;
    transition: background-color 0.3s ease; 
}

.top-head a:hover {
    color: #fff;
    background-color: #0073e6;
}

.top-head-left, .top-head-right {
    display: flex;
    align-items: center;
}

.top-head-right {
    margin-left: auto;
}

/* Responsive layout for tablets */
@media (max-width: 1150px) {
    .container {
        width: 100%;
    }
    .header {
        width: 100%;
    }
    .left-column {
        width: 20%;
    }
    .middle-column {
        width: 50%;
      }
    .right-column {
        width: 26.25%;
        float: right;
    }
    .logo img {
        width: 200px;
    }
    .widget {
        width: 100%;
      }
}

/* Responsive layout for tablets */
@media (max-width: 768px) {
    .footer,
    .header {
        width: 100%;
    }
    .left-column {
        width: 20%;
    }
    .middle-column {
        width: 75.5%;
        margin: 0 0 0 10px;
    }
    .right-column {
        width: 100%;
        float: left;
    }
    .logo img {
        width: 200px;
    }
}

/* Responsive layout for mobile devices */
@media (max-width: 480px) and (min-width: 240px) {
    .container {
        width: 100%;
        padding: 0 15px !important;
    }
    .middle-column {
        width: 75.5%;
        margin: 0 0 0 10px;
    }
}

.calendar-container {
    margin: 0 0 20px 0;
    /* padding: 10px; */
    background: #fff;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
}

#epaper-calendar {
    width: 100%;
    font-size: 14px;
}

.ui-datepicker table {
    overflow: hidden;
}


.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #fff !important;
    text-decoration: none;
    background: #8d4ea1 !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1px solid #dad55e;
    background: #d5f2fa !important;
    color: #777620;
  }
  
option,
.ui-widget button,
.ui-widget select {
    font-family: 'Tiro Bangla', serif !important;
  }

.ui-datepicker .ui-datepicker-title select {
    margin:  1px 3px !important;
    text-align: center;
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center !important;
}

.ui-datepicker {
    width: 100% !important;
    padding: 0;
    font-family: 'Tiro Bangla', serif !important;
}

.ui-datepicker table {
    width: 100%;
    font-size: 12px;
    font-family: 'Tiro Bangla', serif !important;
}

.ui-datepicker td {
    padding: 1px;
    min-width: 30px;
}

.ui-datepicker td span, 
.ui-datepicker td a {
    padding: 3px !important;
    text-align: center;
    font-size: 16px !important;
}

.ui-datepicker th {
    font-size: 14px !important;
    padding: 3px;
}

.ui-datepicker-title {
    font-size: 15px !important;
}

/* Update calendar header style */
.ui-datepicker-header {
    background: #f5f5f5 !important;
    border: none !important;
    padding: 5px !important;
    font-family: 'Tiro Bangla', serif !important;
}

/* Disabled dates styling */
.ui-datepicker .disabled-date span,
.ui-datepicker .disabled-date a {
    color: #999 !important;
    background: #f4f4f4 !important;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Make calendar responsive */
@media (max-width: 768px) {
    .right-column .calendar-container {
        max-width: 300px;
        margin: 0 auto 20px;
    }
}

.date-navigation {
    margin: 20px 0;
    text-align: center;
}

.no-epaper {
    text-align: center;
    padding: 50px;
    font-size: 1.2em;
    color: #666;
}

.post-thumbnail {
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.post-thumbnail img {
    max-width: 50px;
    height: auto;
}

.entry-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.theme-browser .theme .theme-name {
    box-sizing: unset !important;
}

#poststuff .inside {
    margin: 20px 0 0 !important;
  }

#titlediv #title,
.wp-core-ui select {
    font-family: 'Tiro Bangla', sans-serif !important;
 }

 #titlediv #title {
    font-size: 1.8em !important;
 }
.wp-core-ui select {
    font-size: 1.3em !important;
 }