﻿#ContentPlaceHolder1_div_thumbnails img:hover, #ContentPlaceHolder1_edition_page_option:hover, #ContentPlaceHolder1_editionDate:hover {
    cursor: pointer;
}

.mybtn {
    padding: 3px 7px !important;
    min-width: 22px;
}

.sideImage {
    border: 3px solid rgba(50, 50, 50, .1);
}

.sideImage_active {
    border: 3px solid #ff6c37;
}

.LogoImage {
    max-height: 100px;
    max-width: 220px;
}

#edition_page_pagination .bg-dark {
    background-color: #ff6c37;
}

.form-input, .form-multiselect, .form-select, .form-textarea {
    border-radius: 0;
}

.absoluteclass {
    position: absolute;
    opacity: 0;
}

    .absoluteclass:hover {
        position: absolute;
        opacity: 0.3;
        border: 2px double red;
    }

.Big_newsPaper {
    padding: 0px 5px;
    background-color: #fff;
    border: 1px solid #c7c7c7;
}

#downloadFullEdtPdf {
    border-right: 1px solid !important;
}

#cropAction, #downloadFullEdtPdf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: #ffffff;
    color: #5b5858 !important;
    font-weight: bold;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    user-select: none;
}

    #cropAction:hover {
        background: #f4f4f4; /* darker on hover */
    }

    #cropAction:active {
        transform: scale(0.97); /* click press effect */
    }

#ContentPlaceHolder1_editionDate {
    width: 19px;
    background: #ffffff;
    cursor: pointer;
    color: #000 !important;
}

    #ContentPlaceHolder1_editionDate:hover {
        background: #f4f4f4;
    }

#calc_btn {
    display: flex;
    align-items: center;
    gap: 0px;
    background: #fff;
    color: #000;
    border: 1px solid #c7c7c7 !important;
}

.calendarDate {
    border: 0px solid #ddd;
    padding: 5px;
    cursor: pointer;
    color: #5b5858 !important;
    border-left: 1px solid;
    white-space: nowrap;
}

    .calendarDate:hover {
        background: #f4f4f4;
    }

    .calendarDate:hover {
        background: #f4f4f4;
    }

        /* parent hover → child input background भी बदले */
        .calendarDate:hover input {
            background: #f4f4f4 !important; /* input box का background */
        }

        /* parent hover → अंदर वाले div का background भी बदले */
        .calendarDate:hover .ui.input {
            background: #f4f4f4;
        }

.phone_pg_drop {
    width: 200px;
}

.pageHeader {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-bottom: 6px !important;
}

.social_media_item {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 50%;
    margin-right: 4px;
}

@media (max-width:760px) {
    .phone_pg_drop {
        width: 100px;
    }

    .phone_pagination_div {
        display: none;
    }

    .calendarDate {
        padding: 2px 3px;
    }

    #cropAction {
        padding: 3px 14px;
    }

    .pageHeader {
        padding-bottom: 1px;
    }

    .social_media_item {
        min-width: 20%;
        gap: 5px;
    }
}

.subheader.py-2 {
    padding-top: .35rem;
    padding-bottom: .3rem;
}

#ContentPlaceHolder1_editionDate:focus {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

.social_media_item li:hover {
    cursor: pointer;
}

.attached_video_play_btn {
    width: 30px;
}

@media(max-width: 768px) {
    .attached_video_play_btn {
        width: 20px;
    }

    .pageHeader {
        color: #000;
        padding-left: 4px;
    }
}
#clip_modal {
    position: absolute;
    top: 180px;
    left: 50%;
    width: 300px;
    padding: 4px 8px;
    background: #fff;
    transform: translate(-50%, -0%);
    display: none;
    z-index: 100000;
}

.clip_model_header {
    display: flex;
    justify-content: space-between;
    text-align: center;
    background: #000000;
    padding: 3px;
    color: #fff;
    cursor: move;
}

#crop_img {
    max-width: 100%;
    border: 1px solid #c7c7c7;
    margin-top: 4px;
    padding: 3px;
    max-height: 300px;
}

#clip_modal .form-control {
    display: block;
    width: 100%;
    padding: .1rem .2rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1a1d20;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #dee2e6;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-top: 4px;
}

    #clip_modal .form-control:focus {
        color: #212529;
        background-color: #ffffff;
        border-color: #ff6c37;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgb(255 108 55 / 25%);
    }

#socialsharer_div {
    width: 100%;
    display: flex;
    gap: 2px;
    margin: 4px 0;
}

#open_url_div {
    display: flex;
    justify-content: center;
}

/* Overlay covers the whole image area */
#clipOverlay {
    position: absolute;
    inset: 0;
    z-index: 9998;
    background: rgba(0,0,0,0.05); /* हल्का mask */
    user-select: none; /* selection avoid */
    pointer-events: auto; /* नीचे के anchors को block करेगा */
}
/* Overlay on होने पर नीचे के absolute anchors का pointer बंद */
#main_img_div.overlay-on .absoluteclass {
    pointer-events: none;
}

/* Crop rectangle */
#cropRect {
    position: absolute;
    top: 60px;
    left: 50px;
    width: 280px;
    height: 180px;
    border: 2px dashed #ff6c37;
    background: rgba(255,108,55,0.08);
    box-sizing: border-box;
    cursor: move;
}
    /* Handles */
    #cropRect .handle {
        position: absolute;
        width: 10px;
        height: 10px;
        background: #fff;
        border: 2px solid #ff6c37;
    }

.tl {
    top: -6px;
    left: -6px;
    cursor: nwse-resize;
}

.tr {
    top: -6px;
    right: -6px;
    cursor: nesw-resize;
}

.bl {
    bottom: -6px;
    left: -6px;
    cursor: nesw-resize;
}

.br {
    bottom: -6px;
    right: -6px;
    cursor: nwse-resize;
}

.tm {
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.bm {
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

.ml {
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: ew-resize;
}

.mr {
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    cursor: ew-resize;
}

/* Buttons inside rect */
#cropButtons {
    position: absolute;
    top: -43px;
    left: 0;
    display: flex;
    margin-top: 10px;
    color: #fff;
    cursor: pointer;
}

    #cropButtons span {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        font-weight: 600;
        font-size: 14px;
        padding: 3px 6px;
        cursor: pointer;
        transition: background 0.3s ease;
        color: #fff;
        border: 1px solid #ccc; /* subtle divider */
        border-radius: 0; /* no rounding */
    }

#shareBtn {
    background: #f76935;
    border-right: none; /* merge with cancel */
}

    #shareBtn:hover {
        background: #e05f2d;
    }

#cancelBtn {
    background: #dc3545;
}

    #cancelBtn:hover {
        background: #b92c38;
    }

#cropButtons svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}


.open-download-div {
    display: inline-flex;
    border: 1px solid #ccc;
    font-family: Arial, sans-serif;
    font-size: 14px;
    overflow: hidden; /* removes border-radius per button */
}

    .open-download-div a,
    .open-download-div .download-button {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 3px 6px;
        font-weight: 600;
        text-decoration: none;
        color: #fff;
        cursor: pointer;
        border: none;
        border-radius: 0; /* no radius */
        transition: background 0.3s ease;
    }

    .open-download-div a {
        background: #eaeaec;
        color: #000;
    }

}

.open-download-div a:hover {
    background: #eae8e8;
}

.open-download-div svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.open-download-div .download-button {
    background: #eae8e8;
    color: #000;
    border-left: 1px solid #c7c7c7;
}

    .open-download-div .download-button:hover {
        background: #eae8e8;
    }

.pagechnage:hover {
    background: #675c5c66;
}