/*
Theme Name:     Typology Child
Theme URI:      https://mekshq.com/theme/typology
Description:    Child theme for Typology theme
Author:         meks
Author URI:     https://mekshq.com
Template:       typology
Version:        0.1.0
*/

.single .typology-section:first-child .section-content, .section-content-page, .section-content.section-content-a {max-width : 75% !important}





/* =====================================================
   ACCOUNTING DIARY - LESSON LAYOUT
===================================================== */


/*
 * Overall lesson area.
 * Wider than a normal Typology article because
 * we need room for the TOC.
 */
/* =====================================================
   ACCOUNTING DIARY LESSON TABLE OF CONTENTS
===================================================== */

.single-lesson .ad-lesson-toc-wrapper {
    position: fixed;

    top: 150px;
    right: 35px;

    width: 300px;

    z-index: 20;
	background-color : #fff;
	box-shadow : 0 30px 50px 0 rgba(1,1,1,.15);
}


/* TOC */

.single-lesson .ad-lesson-toc {

      overflow-y: auto;

    padding: 22px 22px;

    border-left: 1px solid #e5e5e5;
	
}


/* Heading */

.single-lesson .ad-toc-heading {

    margin-bottom: 18px;

     text-transform: uppercase;

    letter-spacing: 1.4px;
}


/* List */

.single-lesson #ad-toc ul {

    list-style: none;

    margin: 0;

    padding: 0;
}


.single-lesson #ad-toc li {

    margin: 0 0 10px;

    padding: 0;
	
	border-bottom : 1px solid #e5e5e5;
}


/* H3 */

.single-lesson #ad-toc li.ad-toc-h3 {

    padding-left: 14px;
}


/* Links */

.single-lesson #ad-toc a {

    display: block;
	
	font-size : 14px; 

    line-height: 1.45;

    text-decoration: none;

}


.single-lesson #ad-toc a:hover {

    font-weight: 600;
}


.single-lesson #ad-toc a.active {

    opacity: 1;

    font-weight: 600;
}


/* Heading scroll offset */

.single-lesson .entry-content h2,
.single-lesson .entry-content h3 {

    scroll-margin-top: 120px;
}


/* Hide TOC where there isn't enough horizontal space */

@media (max-width: 1250px) {

    .single-lesson .ad-lesson-toc-wrapper {

        display: none;

    }

}