:root {
    --color-blue: #1669C9;
    --color-dark: #222;
    --color-grey: #888;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: #666;

    min-width: 320px;
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0;
    margin-top: 5px;
}
h1 {
    font-size: 2rem;
    line-height: 2.2rem;
}
    h1.large {
        font-weight: 700;
        font-size: 4rem;
        line-height: 4rem;
        margin-bottom: 24px;
    }
h2 {
    font-size:  1.6rem;
    line-height:  2rem;
}
h3 {
    font-size:  1.3rem;
    line-height: 1.8rem;
    margin-bottom: 5px;
}
h4 {
    font-size:  1.2rem;
    line-height:  1.7rem;
}
h5 {
    font-size: 1rem;
}
hr {
    height: 1px;
    background: #ddd;
    border: 0;
    margin: 15px 0;
}
p {
    margin: 0 0 10px 0;
}
section {
    margin-bottom: 120px;
}
section.compact {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    padding: 40px 40px 0;
    margin-bottom: 40px;
}

strong {
    font-weight: 600;
}

ul, ol {
    margin-bottom: 15px;
}
ul li,
ol li {
    margin-bottom: 5px;
}


a {
    text-decoration: none;
    color: var(--color-blue);
}
    a:hover {
        color: var(--color-dark);
    }
    a.inv, .inv a {
        color: var(--color-dark);
    }
    a.inv:hover, .inv a:hover {
        color: var(--color-blue);
    }


a img {
    border: 0;
}

.alignleft {
    float: left;
    margin: 5px 10px 5px 0;
}
.alignright {
    float: right;
    margin: 5px 0 5px 10px;
}
.aligncenter,
div.aligncenter {
    display: block;
    margin: 10px auto;
    text-align: center;
}
img.alignleft {
    float: left;
    margin: 5px 10px 5px 0;
}
img.alignright {
    float: right;
    margin: 5px 0 5px 10px;
}
img.aligncenter {
    display: block;
    margin: 10px auto;
    text-align: center;
}

.nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
    .nav li {
        display: inline-block;
        margin-left: 30px;
    }
    .nav li.current-menu-item a {
        color: var(--color-blue);
    }
    .nav li a {
        font-weight: 600;
    }
    .nav #burger {
        display: none;
        position: fixed;
        font-size: 1.5rem;
        top: 15px;
        right: 15px;
    }

.wp-caption {
    box-shadow: 1px 1px 0 #f3f3f3;
    border: 1px solid #e7e7e7;
    padding: 15px;
    border-radius: 3px;
    text-align: center;
    margin-bottom: 30px !important;
    width: auto !important;
}
    .wp-caption img {
        border: none;
        margin: 0;
        padding: 0;
        width: auto;
        height: auto;
        max-width: 100% !important;
    }
    .wp-caption p.wp-caption-text {
        color: #999;
        margin: 0;
        padding: 0 4px 5px;
    }

.noul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.clear {
    clear: both;
    line-height: 0;
    padding: 0;
    margin: 0;
}

.small {
    font-size: .85em;
}

.text-small {
    font-size: 0.9rem;
    line-height: 1.3rem;
    color:  #777;
}

.text-tiny {
    font-size: 0.9rem;
    line-height: 1.2rem;
    color:  #777;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.float-right {
    float: right;
}
.avatar {
    overflow: hidden;
    border-radius: 50%;
    vertical-align: middle;
}

.button, button {
    border: 2px solid var(--color-blue);
    border-radius: 50px;
    padding: 10px 30px;
    cursor: pointer;
}
.button.button-primary {
    background: var(--color-blue);
    color: #fff;
}
    .button.button-primary:hover {
        border-color: var(--color-dark);
        background: var(--color-dark);
    }

input[type="submit"].button-primary, input[type="reset"].button-primary, input[type="button"].button-primary {
    background: var(--color-blue);
    color: #fff;
    padding: 10px;
}

.columns img {
    max-width: 100%;
    height: auto;
}

.user-nav {
    font-size: .75em;
    text-transform: uppercase;
    text-align: right;
}
    .user-nav a {
        margin-left: 15px;
    }

#header {
    background: #fff;
    padding: 24px 0 15px;
    margin-bottom: 60px;
    position: relative;
    box-shadow: none;
}
    #header .searchform {
        margin: 5px 0 0 0;
        text-align: right;
    }
    #header .searchform .submit {
        display: none;
    }
    #header .searchform input.q {
        background: url('images/ico-search.png') no-repeat 0 6px;
        padding: 4px 15px 4px 20px;
        height: auto;
        width: 100px;
        font-size: .875em;
        width: 20px;
        border: 0;
        transition: width .3s ease-in-out;
    }
        #header .searchform input.q:focus {
            width: 200px;
            border-bottom: 1px solid #eee;
        }
    #header .searchform .q:focus {
        border-color: #ccc;
    }

    #header .menu {
        position: absolute;
        right: 0;
        top: 32px;
    }
    #header .menu #burger {
        font-size: 2.5em;
        display: inline-block;
        line-height: .55em;
        display: block;
        text-align: right;
        color: #999;
    }
    #header .menu #burger:hover {
        color: var(--color-blue);
    }
    #header .logo-small {
        display: none;
    }

.intro {
    min-height: 30vh;
    margin-bottom: 30px;
}
    .intro .large {
        margin: 0;
        font-size: 4rem;
        line-height: 1;
    }
    .intro .large span {
        display: block;
        font-size: 1.7rem;
        font-weight: 600;
        margin: 18px 0 30px 0;
    }
    .intro .subtitle {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

.intro-icons {
    margin-bottom: 100px;
}
.intro-icons .item {
    display: block;
    position: relative;
    border-radius: 10px;
    padding: 20px 15px 0;
    transition: ease-in-out 200ms;
    font-size: 1.2rem;
    min-width: 190px;
}
    .intro-icons .item:hover {
        transform: translate(0, -10px);
    }
    .intro-icons span {
        display: block;
        min-height: 60px;
        vertical-align: bottom;
    }
    .intro-icons strong {
        margin: 20px -15px -15px;
        display: block;
        background: #fff;
        padding: 15px;
        box-shadow: 2px 4px 8px #ddd;
        border-radius: 0 0 10px 10px;
        color: var(--color-dark);
    }
    .intro-icons img {
        position: absolute;
        bottom: 72px;
    }
    .intro-icons .row .columns {
    padding: 10px;
    margin: 10px 5px;
    }
.mobile {
    background: #F5F5F7;
    padding: 32px 64px;
}
    .mobile img {
        height: auto;
        max-width: 180px;
        margin: 0 10px;
    }
    .row .mobile {
        box-sizing: border-box;
        display: flex;
        flex: 0 1 auto;
        flex-flow: row wrap;
        align-items: center;
    }
#certified img {
    width: 200px;
    position: relative;
    left: -85px;
    top: 10px;
}
#modules img {
    width: 420px;
}
.box {
    border: 1px solid #e6e6e6;
    box-shadow: 2px 2px 2px #efefef;
    padding: 20px;
}
    .box .thumb {
        margin: -20px -20px 20px -20px;
    }

section.modules ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 50px;
    font-size: .9rem;
    line-height: 1.3rem;
}
    section.modules ul li {
        padding-top: 50px;
        display: block;
    }
    section.modules {
        margin-top: 80px;
    }
    section.modules .module {
        position: relative;
        flex-grow: 1;
        border-top: 5px solid #eee;
        padding-top: 10px;

        display: flex;
        flex-direction: column;
    }
    section.modules .module .title {
        margin-bottom: 0;
    }
    section.modules .number {
        top: -22px;
        position: absolute;
        left: -8px;
        background: #fff;
        display: inline-block;
        padding: 5px;
        font-size: 2rem;
    }
    section.modules .description {
        color: var(--color-grey);
    }
    section.modules .module-opts {
        margin-top: 15px;
    }
    section.modules img {
        max-width: 100%;
    }
    section.modules .video-thumb img {
        max-width: 100%;
    }

        .module-opts a {
            display: inline-block;
            margin-right: 20px;
        }
        .chapter-count {
            display: block;
            margin: 5px 0 10px 0;
        }


.video-thumb {
    position: relative;
    margin: 16px 0;
}
    .video-thumb .play {
        position: absolute;
        width: 40px;
        height: auto;
        bottom: 40px;
        right: 30px;
    }

.tag {
    font-size: 14px;
    background: #f6f6f6;
    box-shadow: 1px 1px 0 #ddd;
    border: 1px solid #ddd;
    color: #888;
    margin-right: 15px;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 3px;
    line-height: 1em;
}
.tag:hover {
    opacity: 0.6;
}
.tag.tag-video {
    background: #E0EEFF url('images/play.svg') no-repeat;
    background-size: 14px;
    background-position: 8px 4px;
    padding-left: 30px;
    box-shadow: 1px 1px 0 #bbd0e9;
    border: 1px solid #bbd0e9;
    color: var(--color-blue);
}

.icon {
    display: inline-flex;
    align-items: center;
}
    .icon img {
        margin-right: 8px;
    }
    .play-icon {
        height: 16px;
        width: 16px;
    }

#homepage .recent .title {
    margin: 0;
}
    #homepage .recent-updates li {
        margin-bottom: 25px;
        padding: 15px;

        border-width: 0 0 0 4px;
        border-style: solid;
        border-color: #eee;
    }
    #homepage .recent-updates .label a {
        color: #888;
    }
    #homepage .app-banner {
                display: inline;
        width: 100%;
        }
        #homepage .app-banner-responsive {
                display: none;
        }

#homepage .bytes {
}
    #homepage .bytes .box {
        min-height: 210px;
    }
    #homepage .bytes .box a {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    #homepage .bytes .date {
        color: var(--color-grey);
        margin: 10px 0 0 0;
    }

#homepage .recent-comments {    
}
    #homepage .recent-comments li {
        margin-bottom: 25px;
        border-bottom: 1px solid #eee;
    }
    #homepage .recent-comments .author {
        font-weight: 700;
    }
    #homepage .recent-comments .post-title {
        display: block;
    }
    #homepage .recent-comments .description {
        margin: 10px 0 15px 0;
    }
    #homepage .recent-comments .eleven {
        margin-left: 20px;
    }
    .comment .text-right {
    margin-bottom: 10px;
    }

.single-module header {
    margin-bottom: 45px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
section.single-module {
    padding: 0 120px;
}
    .single-module header .video-module {
        color: var(--color-blue);
    }
    .single-module .title {
        margin-top: 0;
    }
    .chapter-list .item {
        margin-bottom: 20px;
        padding-bottom: 10px;
        clear: both;
    }
    .chapter-list .title {
        margin: 0 0 10px 0;
    }
    .chapter-list .video-thumb {
        float: left;
        margin: 0 30px 45px 0;
        position: relative;
    }
    .chapter-list .selected {
        font-weight: 600;
    }
    .chapter-list h5 {
        margin: 0 0 5px 0;
    }

.chapter-list.videos {
    background: #F5F5F7;
    max-height: 65vh;
    overflow-y: scroll;
    padding: 20px;
    border-radius: 15px;
}
    .chapter-list.videos .title {
        margin: 0 0 5px 0;
    }
    .chapter-list.videos .item {
        border-bottom: 1px solid #ddd;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .chapter-list.videos .item .text-small {
        margin-top: 10px;
    }
    .chapter-list.videos a.selected {
        color: var(--color-blue);
    }

.single-chapter header {
    margin-bottom: 60px;
}
    .single-chapter header .module-number {
        padding-bottom: 10px;
        border-bottom: 5px solid #eee;
    }
    .single-chapter .title-wrap {
        border-bottom: 1px solid #ddd;
        padding: 10px 0 0 0;
    }
    .single-chapter .chapter-nav-links a {
        display: inline-block;
        margin-left: 15px;
    }
    .single-chapter.video .title {
        margin-top: 0;
    }
    .single-chapter .title {
        margin: 0 0 15px 0;
    }
    .single-chapter .chapter-body.text {
        max-width: 700px;
        margin: 0 auto;
    }

.rupeetales-books .row {
    margin-bottom: 30px;
}
    .rupeetales-books img {
        box-shadow: 0 0 10px #d5d5d5;
    }
    .rupeetales.box {
        padding: 45px;
    }
    .rupeetales.box h1 {
        margin-top: 0;
    }
    .rupeetales .press img {
        max-width: 120px;
        opacity: .5;
        margin: 0 15px;
    }

/* Chapter post body */
.post p {
    margin: 0 0 15px 0;
}
    .post ul,
    .post ol {
        margin: 0 0 15px 0;
    }
    .post h1,
    .post h2,
    .post h3,
    .post h4,
    .post h5 {
        margin: 40px 0 15px 0;
    }
    .post h1:first-of-type,
    .post h2:first-of-type,
    .post h3:first-of-type,
    .post h4:first-of-type,
    .post h5:first-of-type {
        margin-top: 0;
    }
    .single-chapter img {
        height: auto;
        max-width: 100%;
    }

    .post iframe {
        width: 100%;
        min-height: 450px;
        margin: 0 0 30px 0;
        border: 1px solid #eee;
        box-shadow: 1px 1px 4px #eee;
        border-radius: 5px;
        padding: 10px;
    }

    .post table {
        width: 100%;
        font-size: .875em;
        margin: 20px 0 45px 0;
        border-radius: 3px;
        overflow: hidden;
    }
        .post table th {
            background: #222;
            color: #fff;
            font-size: .875em;
        }
        .post table th,
        .post table td {
            text-align: center;
            padding: 3px 6px;
        }
        .post table tr:hover td {
            background: #eee;
        }


.chapter-sidebar {
    background: #fff;
    display: none;
    position: absolute;
    top: 95px;
    text-align: left;

    padding: 30px 30px 30px 15px;
    font-size: 0.875em;
    list-style-type: none;

    min-height: 100vh;
    border: 1px solid #eee;
    box-shadow: 1px 1px 4px #eee;
    border-radius: 5px;
}
    .chapter-sidebar.visible {
        display: block;
    }
    .chapter-sidebar .sidebar-item {
        overflow: hidden;
    }
    .chapter-sidebar .hide {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 0.875em;
    }
    .chapter-sidebar .num {
        display: block;
        width: 25px;
        margin-right: 10px;
        height: 30px;
        float: left;
        text-align: right;
    }
    .chapter-sidebar .selected {
        font-weight: bold;
    }

section.comments {
    margin-top: 90px;
}
#respond {
    margin-top: 30px;
}
#respond textarea {
    width: 100%;
    min-height: 200px;
}

.commentlist {
    margin: 0;
    padding: 0;
}
    .commentlist ul {
        margin: 0;
        padding: 0 0 0 15px;
        border-left: 2px solid #eee;
    }
    .commentlist li {
        list-style-type: none;
    }
    .commentlist > li.comment {
        margin-bottom: 15px;
    }
    .commentlist .comment-body {
        border-bottom: 2px solid #f2f2f2;
        padding: 15px 0;
    }

    .commentlist li .avatar { 
        padding: 2px;
    }
    .commentlist .comment-meta {
        margin-bottom: 10px;
        color: #999;
    }
    .commentlist .comment-meta a {
        color: #999;
    }
    .commentlist cite {
        font-weight: 500;
        font-style: normal;
    }
    .commentlist li .comment-reply-link {
        color: #428bca;
    }
        .commentlist li a:hover {
            color: var(--color-dark);
        }

.innerworth {
    width: 100%;
    font-size: 0.875em;
}
    .innerworth td {
        vertical-align: top;
        padding: 5px 0;
        border-color: #eee;
    }
    .innerworth tr:hover td {
        background: #f9f9f9;
    }
    .innerworth .desc {
        font-size: 0.875em;
        line-height: 1.3em;
        color: #999;
    }
    .innerworth a {
        font-weight: bold;
    }

#footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin: 60px 0 30px 0;
    font-size: .9em;
}
    #footer .buttons {
        text-align: right;
    }
    #footer .buttons img {
        max-height: 28px;
    }

/* ________________________________________________________ */

.bigpic {
    margin: 40px 0;
}
.bigpic img {
    height: auto;
    max-width: 100%;
}

.module-tag {
    border-bottom: 5px solid #eee;
    display: inline-block;
    margin-bottom: 10px;
    color: var(--color-dark);
    min-width: 28%;
}
    .module-tag .module-number {
        background: #fff;
        padding-right: 15px;
        font-size: 5rem;
        font-weight: 600;
        float: left;
        margin: 0 0 -40px 0;
    }

.comment-count .num {
    position: relative;
    background-color: var(--color-blue);
    color: #fff;
    text-align: center;
    font-weight: 500;
    line-height: 0.75rem;
    font-size: 0.75rem;
    border-radius: 5px;
    padding: 4px 5px 15px 5px;
    height: 15px;
    display: inline-block;
    min-width: 25px;
}
    .comment-count .num:after {
        border: 6px solid var(--color-blue);
        border-right-color: transparent;
        border-top-color: transparent;
        border-bottom-color: transparent;
        height: 0;
        width: 0;
        position: absolute;
        bottom: -6px;
        right: 0;
        content: "";
    }
    .comment-count:hover .num {
        background: #222;
    }
    .comment-count:hover .num:after {
        border-left-color: #222;
    }
    .comment-count .num a {
        color: #fff;
    }


#sitemap ul {
    list-style-type: none;
}
    #sitemap .cat .sitemap,
    #sitemap .cat .posts {
        margin-left: 30px;
    }
#sitemap > ul {
    margin: 0;
    padding: 0;
}
#sitemap ul ul {
    margin: 0 0 15px 0;
}
#sitemap ul ul h2 {
    font-size: 22px;
}
#sitemap .posts li {
    border-bottom: 1px solid #ddd;
    margin-bottom: 2px;
    padding-bottom: 2px;
}


/* Pages */
.certified {
    max-width: 1000px;
    margin: 0 auto;
    color: #888;
}
    .certified .text {
        margin-top: 120px;
    }
    .certified .certified-intro {
        font-weight: normal;
        color: #888;
        max-width: 500px;
    }
    .certified  .certified-intro strong {
        color: #222;
    }
    .certified .certified-image {
        float:  right;
    }
    .certified .certified-button {
        margin-top: 30px;
    }
    .certified-form input {
        width: 100%;
    }
    .certified-form {
        background: #fff;
        box-shadow:  1px 1px 20px #eee;
        border:  2px solid #ddd;
        padding: 30px;
        max-width: 750px;
        margin: 45px auto 0 auto;

        z-index: 999;
        position: absolute;
        left: 50%;
        top: 10%;
        transform: translate(-50%, -30%);
    }
    .certified-complete {
        padding: 15px;
        background: #f7ffd6;
    }

    #certified-wait {
        text-align: center;
        font-size: 1.6rem;
        color: var(--color-blue);
        display: none;
    }

    .certified-loader {
        display: inline-block;
        border: 4px solid #ddd;
        border-top: 4px solid var(--color-blue);
        border-radius: 50%;
        width: 20px;
        height: 20px;
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

@media screen and (max-width: 1200px) {
    body {
        padding: 10px;
    }
    #header {
        box-shadow: none;
        border-bottom: none;
    }
}

@media screen and (max-width: 650px) {
    .box {
        padding: 15px;
    }
    .text-right {
        text-align: left;
    }

    .nav #burger {
        display: block;
        float: right;
        font-size: 1.5rem;
        z-index: 1000;
    }
    #header {
        margin: 0 0 30px 0;
        padding: 0;
    }
    #header .menu {
        display: none;
        position: fixed;
        background: #fff;
        top: 0;
        left: 0;
        right: 0;
        padding: 15px;
        z-index: 900;

        text-align: center;
        box-shadow: 2px 2px 3px #ddd;
    }
    #header .menu li {
        display: block;
        margin: 0 0 15px 0;
    }
    .mobile .row .columns {
        text-align: left;
    }
    section.compact {
        max-width: none;
        padding: 0;
    }
    section {
        margin-bottom: 45px;
    }

    section.modules ul {
        display: block;
    }
        section.modules ul li {
            margin-bottom: 30px;
        }
    section.single-module {
        padding: 0 10px;
    }

    h1.large {
        margin: 0 0 30px 0;
    }

    .single-chapter header .module-number {
        padding: 0;
    }
    .chapter-list {
        max-width: none;
    }
    .chapter-list.text {
        max-width: 86%;
    }
    .chapter-list.videos {
        max-height: none;
    }
    .single-module .title {
        margin: 0;
    }
    .module-tag {
        min-width: 90%;
    }

    .intro-icons .row .columns {
        margin-bottom: 20px;
    }

    .box .thumb {
        margin: -15px -15px 15px -15px;
    }
    .single-chapter .title-wrap {
        padding: 0;
    }
}