/*==================================================
 GurujiMantra Lesson Plan CSS v7
 Part 1
==================================================*/

/*==============================
Reset
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    width:100%;
    overflow-x:hidden;
    scroll-behavior:smooth;
}

body{

    width:100%;
    max-width:100%;
    overflow-x:hidden;

    background:#ececec;

    color:#222;

    font-family:
    "Noto Sans Devanagari",
    "Mangal",
    Arial,
    sans-serif;

    font-size:17px;
    line-height:1.8;

}

/*==============================
Main Wrapper
==============================*/

.gmlp-wrapper{

    width:100%;
    max-width:190mm;

    margin:20px auto;

    padding:10mm;

    background:#ffffff;

    border:1px solid #dddddd;

    box-shadow:0 0 12px rgba(0,0,0,.12);

    box-sizing:border-box;

    overflow:visible;

}

/*==============================
Download Button
==============================*/

.gmlp-download{

    text-align:center;

    margin-bottom:25px;

}

#gmlpDownloadPdf{

    background:#1565c0;

    color:#ffffff;

    border:none;

    border-radius:6px;

    padding:12px 28px;

    font-size:17px;

    cursor:pointer;

    transition:.3s ease;

}

#gmlpDownloadPdf:hover{

    background:#0d47a1;

}

/*==============================
Header
==============================*/

.gmlp-header{

    text-align:center;

    margin-bottom:24px;

}

.gmlp-title{

    font-size:34px;

    font-weight:700;

    color:#1a237e;

    margin-bottom:8px;

}

.gmlp-subtitle{

    font-size:16px;

    color:#666666;

}

/*==============================
Lesson Information Table
==============================*/

.gmlp-info-table{

    width:100%;

    border-collapse:collapse;

    table-layout:fixed;

    margin-bottom:28px;

}

.gmlp-info-table tr{

    page-break-inside:avoid;

    break-inside:avoid;

}

.gmlp-info-table td{

    width:16.66%;

    border:1px solid #cccccc;

    padding:10px;

    text-align:center;

    vertical-align:middle;

    word-break:break-word;

    overflow-wrap:anywhere;

}

.gmlp-info-table strong{

    display:block;

    margin-bottom:6px;

    color:#0d47a1;

    font-size:15px;

    font-weight:700;

}

.gmlp-value{

    font-size:17px;

    font-weight:600;

    color:#222222;

    word-break:break-word;

    overflow-wrap:anywhere;

}

/*==============================
Section
==============================*/

.gmlp-section{

    margin-bottom:22px;

    page-break-inside:auto;

}

.gmlp-section-heading{

    background:#fff4c2;

    border-left:6px solid #d4a017;

    padding:12px 16px;

    margin-bottom:16px;

    font-size:22px;

    font-weight:700;

    color:#222;

    page-break-after:avoid;

    break-after:avoid;

}

.gmlp-section p{

    font-size:17px;

    line-height:1.9;

    text-align:justify;

}

/*==================================================
 GurujiMantra Lesson Plan CSS v7
 Part 2
==================================================*/

/*==============================
Lists
==============================*/

.gmlp-list{

    padding-left:22px;

}

.gmlp-list li{

    margin:10px 0;

    line-height:1.8;

}

.gmlp-list strong{

    color:#0d47a1;

}

/*==============================
Highlight Box
==============================*/

.gmlp-box{

    background:#fafafa;

    border:1px solid #e2e2e2;

    border-radius:8px;

    padding:18px;

    margin-top:10px;

    overflow:hidden;

}

/*==============================
Day Heading
==============================*/

.gmlp-day-title{

    text-align:center;

    font-size:30px;

    font-weight:700;

    color:#222;

    margin:35px 0 18px;

    page-break-after:avoid;

    break-after:avoid;

}

.gmlp-day-title strong{

    font-weight:700;

}

/*==============================
Main Teaching Table
==============================*/

.gmlp-table{

    width:100%;

    border-collapse:collapse;

    table-layout:fixed;

    margin:18px 0 30px;

}

.gmlp-table thead{

    display:table-header-group;

}

.gmlp-table tbody{

    display:table-row-group;

}

.gmlp-table tr{

    page-break-inside:avoid;

    break-inside:avoid;

}

.gmlp-table th{

    background:#f3f3f3;

    border:1px solid #bdbdbd;

    padding:10px;

    text-align:center;

    font-size:16px;

    font-weight:700;

    word-break:break-word;

}

.gmlp-table td{

    border:1px solid #bdbdbd;

    padding:10px;

    vertical-align:top;

    font-size:16px;

    line-height:1.7;

    white-space:normal;

    word-break:break-word;

    overflow-wrap:anywhere;

}

/*==============================
Links
==============================*/

.gmlp-table a,
.gmlp-box a,
.gmlp-footer a{

    color:#1565c0;

    text-decoration:none;

    word-break:break-word;

}

.gmlp-table a:hover,
.gmlp-box a:hover,
.gmlp-footer a:hover{

    text-decoration:underline;

}

/*==============================
Signature Table
==============================*/

.gmlp-signature{

    width:100%;

    border-collapse:collapse;

    margin-top:40px;

    page-break-inside:avoid;

    break-inside:avoid;

}

.gmlp-signature th{

    background:#f3f3f3;

    border:1px solid #999;

    padding:12px;

    text-align:center;

    font-size:16px;

    font-weight:700;

}

.gmlp-signature td{

    border:1px solid #999;

    height:80px;

}

/*==============================
Footer
==============================*/

.gmlp-footer{

    text-align:center;

    margin-top:25px;

    padding-top:15px;

    border-top:1px solid #dddddd;

    font-size:15px;

    page-break-inside:avoid;

    break-inside:avoid;

}

/*==============================
Images
==============================*/

.gmlp-wrapper img{

    max-width:100%;

    height:auto;

    display:block;

}

/*==============================
Tables
==============================*/

.gmlp-wrapper table{

    width:100%;

    max-width:100%;

}



/*==================================================
 GurujiMantra Lesson Plan CSS v7
 Part 3
 Responsive + Print + PDF
==================================================*/

/*==============================
Print Page
==============================*/

@page{

    size:A4 portrait;

    margin:10mm;

}

/*==============================
Print Layout
==============================*/

@media print{

    html,
    body{

        width:100% !important;

        background:#ffffff !important;

        overflow:visible !important;

        -webkit-print-color-adjust:exact;

        print-color-adjust:exact;

    }

    .gmlp-download{

        display:none !important;

    }

    .gmlp-wrapper{

        width:190mm !important;

        max-width:190mm !important;

        min-width:190mm !important;

        margin:0 auto !important;

        padding:10mm !important;

        border:none !important;

        box-shadow:none !important;

        background:#ffffff !important;

        overflow:visible !important;

    }

    .gmlp-section{

        page-break-inside:auto;

    }

    .gmlp-section-heading,
    .gmlp-day-title{

        page-break-after:avoid;

        break-after:avoid;

    }

    .gmlp-table tr,
    .gmlp-info-table tr,
    .gmlp-signature,
    .gmlp-box{

        page-break-inside:avoid;

        break-inside:avoid;

    }

}

/*==============================
Mobile Responsive
==============================*/

@media screen and (max-width:768px){

    body{

        font-size:16px;

    }

    .gmlp-wrapper{

        width:100%;

        max-width:100%;

        margin:0;

        padding:16px;

        border:none;

        box-shadow:none;

    }

    .gmlp-title{

        font-size:28px;

    }

    .gmlp-subtitle{

        font-size:15px;

    }

    .gmlp-section-heading{

        font-size:20px;

        padding:10px 12px;

    }

    .gmlp-day-title{

        font-size:24px;

    }

    /* Lesson Information */

    .gmlp-info-table,
    .gmlp-info-table tbody,
    .gmlp-info-table tr{

        display:block;

        width:100%;

    }

    .gmlp-info-table{

        border:none;

    }

    .gmlp-info-table tr{

        display:flex;

        flex-direction:column;

        gap:12px;

    }

    .gmlp-info-table td{

        display:block;

        width:100% !important;

        border-radius:8px;

        padding:12px;

        text-align:left;

        background:#fafafa;

    }

    .gmlp-info-table strong{

        font-size:14px;

    }

    .gmlp-value{

        font-size:16px;

    }

    /* Teaching Table */

    .gmlp-table{

        display:block;

        width:100%;

        overflow-x:auto;

        -webkit-overflow-scrolling:touch;

    }

    .gmlp-table th,
    .gmlp-table td{

        font-size:14px;

        padding:8px;

    }

    .gmlp-signature th,
    .gmlp-signature td{

        font-size:14px;

    }

}

/*==============================
html2pdf Fix
==============================*/

.gmlp-section-heading{

    break-after:avoid;

}

.gmlp-day-title{

    break-after:avoid;

}

.gmlp-box{

    break-inside:avoid;

}

.gmlp-signature{

    break-inside:avoid;

}

.gmlp-footer{

    break-inside:avoid;

}

/*==============================
PDF Mode
==============================*/


.gmlp-pdf{

    width:100% !important;

    max-width:none !important;

    margin:0 !important;

    padding:0 !important;

    box-sizing:border-box;

}



.gmlp-pdf .gmlp-info-table{

    width:100% !important;

    display:table !important;

    border-collapse:collapse;

    table-layout:fixed;

}

.gmlp-pdf .gmlp-info-table tbody{

    display:table-row-group !important;

}

.gmlp-pdf .gmlp-info-table tr{

    display:table-row !important;

}

.gmlp-pdf .gmlp-info-table td{

    display:table-cell !important;

    width:16.66% !important;

    text-align:center;

    vertical-align:middle;

    border-radius:0;

}

.gmlp-pdf table{

    width:100% !important;

    max-width:100% !important;

    table-layout:fixed !important;

}

.gmlp-pdf img{

    max-width:100% !important;

    height:auto !important;

}

.gmlp-pdf *{

    word-break:break-word;

    overflow-wrap:anywhere;

}

/*==============================
Safety
==============================*/

html,
body{

    overflow-x:hidden;

}

.gmlp-wrapper,
.gmlp-pdf{

    transform:none !important;

    zoom:1 !important;

}