/*
Theme Name:   GreatMag Child
Theme URI:    https://medicoras.co.in/
Description:  Child theme for GreatMag – all site-specific customisations live here
              so they survive parent-theme updates.
Author:       medicoRAS
Author URI:   https://medicoras.co.in/
Template:     greatmag
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  greatmag-child
*/

/* =========================================================
   Custom CSS – migrated from parent theme's style.css
   ========================================================= */

blockquote {
	font-size: 15px !important;
}
.wp-block-table tr, td, th {
    border: 1px solid #ccc;
    padding: 10px;
}
.wp-block-table{
    width: 100%;
}
.wp-block-table th{
    text-align: left !important;
    padding: 10px 10px !important
}
.wp-block-image img, img.size-full{
    margin-top: 25px;
    margin-bottom: 25px;
    border: 1px solid #f4f4f4;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
li.q-relative{
    margin-top:15px;
    margin-bottom:15px
}
.entry-content .ul, .ol{
    margin-left: 30px
}
.entry-content .ul li{
    list-style: disc;
    margin-bottom: 10px;
}
.entry-content .ol li{
    list-style: decimal;
    margin-bottom: 10px;
}
.tags-links a{
    font-weight: normal !important;
    font-size:12px !important;
}
.single-post-cats{
    display: none;
}
.site-main .page-header{
    margin:0;
    padding: 0;
}
h1.entry-title, h2.page-title, .entry-title a{
    font-size: 24px;
    font-weight: 400;
}
.media-body header, .site-main header{
    background: none !important;
}
.widget.widget_archive ul li a, .widget.widget_categories ul li a{
    float: none !important;
}
.widget.widget_archive ul li, .widget.widget_categories ul li{
    text-align: left !important;
}
.note{
    background: #f4f4f4;
    padding: 10px;
}

h4{
    margin-bottom: 18px;
    margin-top: 18px;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
}
table{
    margin-bottom: 18px;
    margin-top: 18px;
}
.nav-next{
    background: #f4f4f4;
    padding: 5px;
    color: blue;
    font-weight: bold;
    width:49% !important;
}
.nav-previous{
    background: #f4f4f4;
    padding: 5px;
    color: blue;
    font-weight: bold;
    width:49% !important;
}
.site-main footer{
    background: none !important;
}
.site-main header a:hover{
    color: #f8c200 !important;
}
.site-main header h1.page-title{
    font-size: 20px;
}
.site-main header{
    text-transform: none !important;
}
#page .main-menu{
    background: #fff;
    margin-bottom: 25px;
}
#site-navigation{
    display: none;
}
.post, .widget{
    border: 1px solid #ccc;
}
.entry-content{
    padding-top: 20px;
}
.wp-block-image {
    max-width: 100%;
    margin-bottom: 1em;
    margin-left: 0;
    margin-right: 0;
}
.wp-block-image img{
    margin-top:15px;
    margin-bottom: 15px;
}
table.books td, th{
    padding: 10px 52px !important;
}
.wp-shadow{
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
    margin-top: 15px;
    margin-bottom: 15px;
}
table.books img{
    height: 281px;
    width: 250px;
    box-shadow: 0 3px 2px rgba(0, 0, 0, 0.3);
}
#wp-comment-cookies-consent{
    height: auto !important;
    margin-right: 5px;
}
.comment-form-cookies-consent label {
    font-weight: normal;
}
.preloader {
    display: none;
}
.entry-content .read-more{
    color: #fff;
    background-color: #14bdee;
    border-radius: 0;
    padding: 8px 30px;
    letter-spacing: 2px;
    font-weight: bold;
    line-height: 1;
    border: none;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    margin-top: 30px;
}
.entry-content .read-more:hover{
    background-color: #f8c200 !important;
    color: #fff !important;
}

h1,h2,h3,h4,h5,h6 {
    color: #000;
    font-weight: 600;
}

.post-title-standard,
.post-title-small,
.post-title-big,
h1,h2,h3,h4,h5,h6 {
    font-family: 'Lato', sans-serif;
}

a:hover,
a:focus {
    color: #f8c200 ;
}

.entry-date{
     display: none !important;
}

@media (max-width: 767px) {
    .wp-block-image{
        width: 100%;
    }
    table.books img {
        height: 180px;
        width: 120px;
    }
}

@media only screen and (max-width: 959px){
    table.books td, th {
        padding: 5px !important;
    }

    table.books img {
        height: 170px;
        width: 120px;
    }
    .wp-block-image figcaption {
        font-size: 12px;
    }
    .comment-info .small {
        margin-left: 0 !important;
        margin-top: 5px;
        margin-bottom:5px;
    }
    .hentry{
        padding: 22px;
    }
}

@media (max-width: 991px) {
    .entry-content .read-more {
        line-height:4;
        white-space: pre;
    }
}
