@media screen, projection {

    /* Basic Bootstrap overrides
    ================================================================================ */

    body {
        color: #2d3437;
        font-size: 13px;
    }

    a,
    a:link,
    a:visited {
        color: #044f7a;
    }

    a:hover,
    a:focus,
    a:active {
        text-decoration: none;
    }

    a.more {
        white-space: nowrap;
    }

    a.more:after {
        margin-left: 5px;
        font-family: FontAwesome;
        font-size: 13px;
        content: "\f105";
    }

    body,
    h1,
    h2,
    h3,
    h4,
    h5,
    .h4,
    .h5 {
        font-family: 'Open Sans', Calibri, Arial, sans-serif;
    }

    h1 {
        font-size: 30px;
    }

    h1 span {
        color: #a9b5bb;
    }

    /* Set 20px gutter */

    .col-xs-1,
    .col-xs-2,
    .col-xs-3,
    .col-xs-7,
    .col-xs-10,
    .col-md-6,
    .col-md-12,
    .col-lg-2,
    .col-lg-4,
    .col-lg-5,
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .row {
        margin-right: -20px;
        margin-left: -20px;
    }

    /* Header
    ================================================================================ */

    #main #content-1 {
    }

    #content-1 .content {
        float: left;
    }

    #content-1 .content h1:first-child {
        margin-top: 0;
    }

    #content-2 .content {
        float: right;
        width: 100%;
    }

    #content-2 .sidebar {
        float: left;
    }

    #content-2 > h1 {
        float: left;
        xxx-width: 20%;
        margin: 0;
        padding: 30px 0;
        background: #fff;
    }

    /* Tab navigation
    ================================================================================ */

    .nav-tabs {
        border-bottom: 6px solid #044f7a;
    }

    .m .nav-tabs li,
    .m-dailymanna .nav-tabs,
    .m-dailymanna .nav-tabs li {
        margin-top: 0;
        margin-bottom: 0;
    }

    .nav-tabs > li > a,
    .nav-tabs > li > a:hover,
    .nav-tabs > li > a:focus,
    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        margin: 0 10px 0 0;
        padding: 2px 10px;
        color: #fff;
        background: #464646;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        font-size: 15px;
        line-height: 25px;
    }

    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        background: #044f7a;
    }

    .tab-content {
        background: #f0f1f2;
    }

    .tab-pane {
        padding: 20px;
    }

    .m .tab-content h2 {
        color: #717f86;
    }

    .tab-content form h2 {
        margin-bottom: 20px;
    }

    .tab-pane.no-gutter {
        padding: 0;
    }

    .m-dailymanna .tab-content {
        background: #fff;
    }

    .m-dailymanna .tab-content .table thead {
        border-top: none;
    }

    .no-gutter .table {
        margin: 0;
    }

    /* Main navigation
    ================================================================================ */

    /* Mega menu */

    .dropdown-menu {
        max-height: 320px;
        overflow: auto;
        font-size: 13px;
        background: #f0f1f2;
        border-top: 6px solid #c2c2c2;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        background: #044f7a;
    }

    .mega-menu {
        padding: 20px 10px;
        color: #fff;
        background: #464646;
        border-style: solid;
        border-color: #c2c2c2;
        border-width: 6px 0 0;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        text-transform: none;
        font-size: 12px;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    #online-bible .mega-menu {
        padding: 0;
    }

    .mega-menu a,
    .mega-menu a:link,
    .mega-menu a:visited {
        color: #fff;
    }

    .mega-menu a:hover,
    .mega-menu a:focus,
    .mega-menu a:active {
        color: #00aef0;
        background: none;
    }

    .mega-menu ul {
        list-style: none;
        padding: 0;
        margin-bottom: 10px;
    }

    .mega-panel {
        float: left;
        min-width: 140px;
        padding: 0 20px;
        border-left: 1px solid #485156;
    }

    .mega-panel:first-child {
        border: none;
    }

    .mega-panel strong {
        display: block;
        margin: 0 0 5px;
        color: #00aef0;
        text-transform: uppercase;
    }

    .mega-panel.cols-2 {
        min-width: 220px;
    }

    .mega-panel.cols-6 {
        width: 100%;
    }

    .mega-panel.cols-2 ul {
        -webkit-columns: auto 2;
        -moz-columns: auto 2;
        columns: auto 2;
    }

    .mega-panel.cols-6 ul {
        -webkit-columns: auto 6;
        -moz-columns: auto 6;
        columns: auto 6;
    }

    /* Tabbed mega menu */

    .mega-menu .nav-tabs {
        padding: 5px 30px 0;
        background: #576368;
        border: none;
        text-transform: uppercase;
    }

    .mega-menu .nav-tabs > li,
    .mega-menu .nav-tabs > li > a,
    .mega-menu .nav-tabs > li > a:hover,
    .mega-menu .nav-tabs > li > a:focus {
        margin-bottom: 0;
        background: none;
        border: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        line-height: 16px;
    }

    .mega-menu .nav-tabs > li > a,
    .mega-menu .nav-tabs > li > a:hover,
    .mega-menu .nav-tabs > li > a:focus {
        padding: 7px 10px;
        font-size: 13px;
    }

    .mega-menu .nav-tabs > li > a:hover,
    .mega-menu .nav-tabs > li > a:focus,
    .mega-menu .nav-tabs > li > a:active {
        background: #727f85;
    }

    .mega-menu .nav-tabs > li.active > a,
    .mega-menu .nav-tabs > li.active > a:hover,
    .mega-menu .nav-tabs > li.active > a:focus {
        color: #c3c8cc;
        background: #464646;
        border: none;
    }

    .mega-menu .tab-content {
        background: none;
        padding: 20px;
    }

    .mega-menu .tab-pane {
        padding: 0;
    }

    /* Search bar */

    .search button {
        padding: 0;
        border: none;
        background: none;
    }

    .search button img {
        width: 16px;
        height: 16px;
    }

    .search .search-submit {
        margin-left: -30px;
    }

    .quick-search .search-submit {
        width: 26px;
        margin-left: -26px;
        text-align: left;
    }

    .quick-search {
        min-width: 300px;
        text-align: right;
    }

    .quick-search input,
    .quick-search button {
        display: inline-block;
        width: auto;
    }

    /* Modules and blocks
    ================================================================================ */

    /* Basic module structure */

    .m {
        margin: 0 0 20px;
    }

    .m h2 {
        margin: 0;
        color: #044f7a;
        font-size: 18px;
        font-weight: bold;
    }

    .m ul {
        margin: 10px 0 0;
        padding: 0;
        list-style: none;
    }

    .m li {
        margin: 0 0 6px;
    }

    .m-c p {
        margin: 10px 0 0;
    }

    /* Module arrays */

    .m-a {
        padding: 30px 0;
    }

    .content .m-a {
        padding: 30px 20px;
    }

    /* Purple with bar --> grey with blue bar */

    .m-a-alt-3 {
        padding: 20px 0;
        background: #e7e7e7;
        border-top: 6px solid #044f7a;
    }

    /* Green bar only */

    .m-a-alt-4,
    .content .m-a-alt-4 {
        padding: 0 0 20px;
        border-top: 6px solid #044f7a;
    }

    /* Bible reader widget */

    .m-biblereader h2 {
        margin-bottom: 15px;
        color: #717f86;
    }

    .m-biblereader .form-group {
        margin-bottom: 20px;
    }

    .m-biblereader .form-group:first-child {
        margin-bottom: 4px;
    }

    .m-biblereader .row {
        margin: 0 -2px;
    }

    .m-biblereader .col-xs-2,
    .m-biblereader .col-xs-3,
    .m-biblereader .col-xs-7,
    .m-biblereader .col-xs-10 {
        padding: 0 2px;
    }

    .m-biblereader .search .form-control {
        margin-bottom: 10px;
    }

    /* Daily Manna */

    #daily-manna h1 {
        margin: 0;
        padding: 0 0 30px 0;
        line-height: 1;
    }

    .m-dailymanna .m-h h2 {
        float: left;
    }

    .m-dailymanna .m-c {
        padding-top: 20px;
        clear: both;
    }

    .m-dailymanna .m-c img {
        float: left;
        width: 125px;
        margin: 2px 15px 10px 0;
    }

    .m-dailymanna .m-c blockquote:before {
        position: absolute;
        top: 0;
        right: 25px;
        color: rgba(0,0,0,0.06);
        content: '”';
        font-family: Georgia, "Times New Roman", serif;
        font-style: italic;
        font-size: 100px;
        z-index: 1;
    }

    .m-dailymanna .m-c blockquote.verse {
        width: auto;
        margin: 0;
        padding: 0 20px 5px 0;
    }

    .m-dailymanna .verse p {
        text-align: left;
        font-size: 13px;
        z-index: 2;
    }

    .m-dailymanna .verse p:first-child {
        margin: 0;
    }

    .m-dailymanna .verse cite {
        text-align: left;
        font-family: sans-serif;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .m-dailymanna .verse cite:before,
    .m-dailymanna .verse cite:after {
        content: none;
    }

    .m-dailymanna-full {
        margin: 0 30px 30px;
        border-top: 6px solid #044f7a;
        background: #e7e7e7;
    }

    .m-dailymanna-full .m-c {
        position: relative;
        padding: 20px 30px;
    }

    .m-dailymanna-full .m-h h2 {
        padding: 8px 10px;
        color: #717f86;
        font-size: 15px;
    }

    .m-dailymanna-full .m-h h2 span {
        font-size: 13px;
    }

    .m-dailymanna-full .m-h h2 strong {
        display: block;
        padding-top: 5px;
        color: #2d3437;
        font-size: 18px;
        font-weight: normal;
    }

    .m-dailymanna-full .paging {
        border-top: 1px solid #e3e5e7;
        text-align: center;
    }

    .m-dailymanna-full .paging .btn .fa {
        display: inline-block;
    }

    .m-dailymanna-full .paging .btn-default {
        margin: 0;
        padding: 0 10px;
    }

    .m-dailymanna-full .paging .btn-group + .btn-group {
        border-left: 1px solid #e3e5e7;
    }

    .m-dailymanna-full .paging .btn-default,
    .m-dailymanna-full .paging .btn-default:hover,
    .m-dailymanna-full .paging .btn-default:focus {
        color: #717f86 !important;
        background: none !important;
        box-shadow: none;
    }

    .m-dailymanna-full .paging .btn-default:focus {
        background: #eae6f3 !important;
    }

    .m-dailymanna-full .paging .dropdown-menu {
        text-align: left;
    }

    .m-dailymanna-full .m-c > .table {
        margin-top: 0;
        margin-bottom: 30px;
    }

    .m-subscribe form .help-block {
        position: static;
        top: auto;
    }

    .no-js .date-selector .btn-default {
        display: none;
    }

    .paging .date-selector .btn-primary {
        display: none;
    }

    .paging .date-selector form {
        position: relative;
    }

    .paging .date-selector input {
        position: absolute;
        top: 20px;
        left: 0;
        width: 10px;
        height: 0;
        background: #fff;
        border: none;
    }

    .paging .date-selector input:focus {
        outline: none;
    }

    /* Subscribe widget */

    #content-1 .m-subscribe {
        margin: 0 30px 30px;
    }

    /* Reading Plans */

    #reading-plans h1 {
        margin: 0;
        padding: 0 0 30px 0;
        line-height: 1;
    }

    .m-reading-plans-full.m-dailymanna-full .m-c {
        position: relative;
        padding: 10px;
    }

    /* Bible Search Page */

    #bible-search h1 {
        margin: 0;
        padding: 0 0 30px 0;
        line-height: 1;
    }

    /* Bootstrap widgets styling
    ================================================================================ */

    /* Buttons */

    .btn,
    a.btn {
        padding: 5px 10px;
        color: #fff;
        background-color: #044f7a;
        border: none;
        border-radius: 0;
        font-size: 13px;
    }

    form .btn {
        padding: 4px 10px;
    }

    .btn:hover,
    .btn:focus {
        color: #fff !important;
        background-color: #05649b;
    }

    .btn:active {
        margin-top: 1px;
        margin-bottom: -1px;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

    .btn.dropdown-toggle:active {
        margin-top: 0;
        margin-bottom: 0;
    }

    .btn-default {
        color: #fff;
        background-color: #464646;
    }

    .btn-default:active {
        background-image: none;
    }

    .btn-default:hover,
    .btn-default:focus,
    .btn-default:active {
        background-color: #575757;
    }

    .btn-primary {
        color: #fff;
        background-color: #044f7a;
    }

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        color: rgba(255,255,255,0.8);
        background-color: #05649b;
    }

    /* Button sizes */

    .btn-lg,
    form .btn-lg {
        padding: 8px 12px;
        font-size: 15px;
        font-weight: bold;
        text-transform: uppercase;
    }

    /* Forms
    ================================================================================ */

    /* Form controls */

    .form-control {
        height: 27px;
        padding: 0 6px;
        border: 1px solid #ddd;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transition: none;
        font-size: 13px;
    }

    .form-control:focus {
        border-color: #00aef0;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 174, 241, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 174, 241, 0.6);
    }

    .form-horizontal .control-label,
    .form-horizontal .radio,
    .form-horizontal .checkbox {
        padding-top: 4px;
    }

    .form-horizontal .control-label {
        padding-right: 0;
    }

    .form-horizontal input[type="radio"],
    .form-horizontal input[type="checkbox"] {
        margin-top: 8px;
    }

    /* Errors */

    .help-block {
        margin-bottom: 0;
        top: 70%;
        position: absolute;
        z-index: 100;
        display: none;
    }

    /* Custom select
    -------------------------------------------------------------- */

    /* Wrapper element to enable positioning */

    .custom-select-container {
        position: relative;
    }

    /*
     * Set the height of the select element to match the replacing span element
     * and make it transparent.
     */

    select.custom.replaced {
        position: relative;
        z-index: 10;
        width: 100%;
        height: 26px;
        border: 0;
        opacity: 0;
        filter: alpha(opacity=0);
        line-height: 26px;
    }

    /* The span elements that are inserted underneath the real select */

    .custom-select {
        display: block;
        position: absolute;
        z-index: 1;
        top: 0;
        left: 0;
        width: 100%;
    }

    .custom-select > span {
        position: relative;
        display: block;
        padding: 0 20px 0 7px;
        border: solid 1px #d4dadd;
        background: #fff url(../images/custom-select-bg.png) no-repeat 100% 50%;
        line-height: 25px;
        font-size: 13px;
    }

    .custom-select span span {
        display: block;
        height: 25px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: #2d3437;
    }

    /* Select in search bar */

    .sort .custom-select-container {
        display: inline-block;
    }

    /* Story article
    ================================================================================ */

    #content-1 div.article {
        padding-left: 30px;
        padding-right: 30px;
    }

    .table {
        margin-top: 20px;
        background: #fff;
    }

    .table thead {
        border-top: 5px solid #044f7a;
    }

    .table th,
    .table td {
        padding: 5px 8px;
        border-bottom: 1px solid #d0d6d9;
    }

    .table th,
    .table .active {
        background: #f7f8f8;
    }

    /* Share to social media
    ---------------------------------------- */

    .share-tools {
        padding: 30px 0 20px;
        min-width: 250px;
        text-align: center;
    }

    .modal .share-tools {
        padding: 20px 0;
    }

    .modal .share-tools > div {
        display: inline-block;
    }

    .share-tools * {
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
    }

    /* Missing content
    ---------------------------------------- */

    .missing-content {
        margin:20px 0;
        padding:20px;
        border:5px dashed #f0f1f2;
        text-align:center;
        -webkit-border-radius:20px;
        -moz-border-radius:20px;
        border-radius:20px;
    }

    /* Online Bible
    ================================================================================ */

    /* Header */

    #online-bible > .header {
        background: #fff;
    }

    #online-bible .header h1 {
        margin: 0;
        padding: 0 0 30px 0;
        line-height: 1;
    }

    .bible-nav {
        padding: 5px 30px;
        background: #e7e7e7;
    }

    .bible-nav .books,
    .bible-nav .quick-search,
    .bible-nav .index {
        float: left;
    }

    .bible-nav .quick-search {
        min-width: 170px;
        margin-left: 10px;
    }

    .bible-nav .toggle-link {
        float: left;
        margin: -5px 0 -5px 15px;
        padding: 10px;
    }

    .bible-nav .btn-group {
        padding-top: 2px;
    }

    .bible-nav .dropdown-toggle {
        padding: 0 20px 0 7px;
        border: solid 1px #d4dadd;
        color: #2d3437;
        background: #fff url(../images/custom-select-bg.png) no-repeat 100% 50%;
        line-height: 25px;
        font-size: 13px;
        text-align: left;
    }

    .bible-nav .dropdown-toggle:hover,
    .bible-nav .dropdown-toggle:focus {
        color: #2d3437 !important;
    }

    .bible-nav .large .dropdown-toggle {
        min-width: 195px;
    }

    .bible-nav .small .dropdown-toggle {
        min-width: 50px;
    }

    .js #bible-index {
        display: none;
    }

    /* Reading interface */

    .bible-reader {
        float: left;
        width: 100%;
        padding: 20px 0 0 0;
    }

    .bible-reader .version {
        position: relative;
    }

    .bible-reader .header {
        background: #f0f1f2;
    }

    .bible-reader .header h2,
    .bible-reader .header h3 {
        margin: 0;
        color: #717f86;
        font-size: 15px;
    }

    .bible-reader .header > h2 {
        float: left;
        margin: 0;
        padding: 8px 10px;
    }

    .bible-reader .header .tools,
    .m-dailymanna .m-h .tools {
        float: right;
    }

    .bible-reader .header .btn-group,
    .bible-reader .header .btn-close {
        float: left;
    }

    .bible-reader .header .btn {
        padding: 2px 30px 2px 10px;
        background: #044f7a url(../images/dropdown-arrows-md.png) no-repeat 100% 12px;
        font-size: 18px;
        line-height: 25px;
        font-weight: bold;
        text-align: left;
    }

    .bible-reader .header .bible-api-info-container {
        background-color: #fff;
        padding-bottom: 10px;
    }

    .bible-reader .header .bible-api-info {
        color: #ffffff;
        font-size: 15px;
        text-align: left;
        line-height: 25px;
        padding: 2px 10px;
        background-color: #cc0000;
    }

    .bible-reader .header .btn-close {
        min-width: 0;
        width: 24px;
        padding: 2px 0;
        background: #044f7a;
        text-align: center;
    }

    .bible-reader .header .btn-close span {
        color: rgba(255,255,255,0.6);
    }

    .bible-reader .header .btn-close:hover span {
        color: #fff;
    }

    .bible-reader .version-secondary .header .btn,
    .bible-reader .header .tab-secondary .btn {
        background-color: #464646;
    }

    .bible-reader .version-secondary .header .btn-close,
    .bible-reader .header .tab-secondary .btn-close {
        background-color: #464646;
    }

    .bible-reader .header .paging,
    .m-dailymanna .paging {
        clear: both;
        padding: 10px 8px;
        background: #fff;
        border-bottom: 1px solid #e3e5e7;
    }

    .bible-reader .version-selector {
        background: #fff;
        border-bottom: 6px solid #044f7a;
    }

    .bible-reader .version-secondary .version-selector {
        border-color: #464646;
    }

    .bible-reader .tab-header .version-selector {
        border-bottom: none;
    }

    .bible-reader .tab-header .tab-primary {
        float: left;
    }

    .bible-reader .tab-header .tab-secondary {
        float: right;
    }

    .bible-reader .header .compare-selector {
        float: right;
    }

    .bible-reader .header .compare-selector .btn {
        background-color: #464646;
        font-weight: normal;
        font-size: 15px;
        line-height: 25px;
    }

    .bible-reader .header .compare-selector .dropdown-menu,
    .bible-reader .tab-secondary .version-selector .dropdown-menu {
        left: auto;
        right: 0;
    }

    .bible-reader .tab-header {
        background: none;
    }

    .bible-reader .footer {
        margin-top: 10px;
        padding: 10px 38px 30px;
        border-top: 1px solid #e3e5e7;
    }

    .bible-reader .footer strong {
        color: #2d3437;
    }

    .bible-reader .version-secondary .footer strong {
        color: #464646;
    }

    /* Cited verses */

    blockquote.verse {
        width: 50%;
        margin: 0 auto;
        padding: 40px 0;
        border: none;
        font-size: 15px;
    }

    blockquote.verse p {
        font-size: 15px;
        text-align: justify;
    }

    blockquote.verse cite {
        display: block;
        color: #717f86;
        text-align: center;
    }

    blockquote.verse cite:before,
    blockquote.verse cite:after {
        content: " — ";
    }

    blockquote.verse .action {
        margin-top: 20px;
        text-align: center;
    }

    /* Tool buttons */

    .bible-reader .tools,
    .m-dailymanna .tools {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .bible-reader .header .tools li,
    .m-dailymanna .tools li {
        float: left;
        margin: 0;
    }

    .bible-reader .tools a,
    .m-dailymanna .tools a {
        display: block;
    }

    .bible-reader .header .tools a,
    .m-dailymanna .tools a {
        width: 30px;
        height: 34px;
    }

    .bible-reader .header .tools a span,
    .m-dailymanna .tools a span {
        display: block;
        text-align: center;
        line-height: 34px;
        font-size: 18px;
    }

    /* Verse tools menu */

    .bible-reader .verse-tools {
        position: absolute;
        min-width: 150px;
        left: 0;
        padding: 8px 0;
        background: #e7e7e7;
        border: 1px solid #e7e7e7;
        border-top: 6px solid #c2c2c2;
        z-index: 1000;
    }

    .bible-reader .verse-tools:focus {
        outline: none;
    }

    .bible-reader .verse-tools a {
        padding: 4px 10px;
        color: #044f7a;
        background: none;
    }

    .bible-reader .verse-tools a:hover,
    .bible-reader .verse-tools a:focus,
    .bible-reader .verse-tools a:active {
        color: #fff;
        background-color: #044f7a;
    }

    /* Audio player */

    div.listen {
        clear: both;
        border: 1px solid #e3e5e7;
        border-top: 4px solid #464646;
    }

    /* Paging */

    .bible-reader .paging h3,
    .bible-reader .paging span,
    .m-dailymanna .paging span {
        display: block;
        margin: 0;
        text-align: center;
    }

    #online-bible .paging > a,
    #online-bible .paging a span,
    .m-dailymanna .paging > a,
    .m-dailymanna .paging a span {
        display: block;
        width: 20px;
        height: 20px;
        font-size: 20px;
        text-align: center;
    }

    #online-bible .paging a,
    .m-dailymanna .paging a {
        margin-top: -1px;
    }

    #online-bible .paging .prev,
    #online-bible .paging .first,
    .m-dailymanna .paging .prev {
        float: left;
    }

    #online-bible .paging .next,
    #online-bible .paging .last,
    .m-dailymanna .paging .next {
        float: right;
    }

    #online-bible .paging .last {
        margin-left: 10px;
    }

    #online-bible .paging .first {
        margin-right: 10px;
    }

    #online-bible .bible-nav .next {
        margin-left: 10px;
    }

    #online-bible .bible-nav .prev {
        margin-right: 10px;
    }

    #online-bible .bible-nav .prev,
    #online-bible .bible-nav .first,
    #online-bible .bible-nav .next,
    #online-bible .bible-nav .last {
        margin-top: 3px;
    }

    /* Biblical content styling */

    .bible-reader .content,
    .bible-reader .references {
        padding: 10px 8px;
    }

    .bible-reader .content h5,
    .bible-reader .references h4 {
        font-size: 16px;
        font-weight: bold;
        font-family: sans-serif;
    }

    .bible-reader .content h5:first-child {
        margin-top: 0;
    }

    .bible-reader .content sup {
        top: auto;
        padding: 0 3px;
        font-size: inherit;
        line-height: inherit;
        color: #00aef0;
        font-weight: bold;
    }

    .bible-reader .content p > span:first-child .versenum {
        margin-left: 20px;
    }
/*
    .bible-reader .col-md-12 .content {
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
    }
*/

    /* Footnotes and references */

    .bible-reader .references li {
        margin-bottom: 5px;
    }

    /* Store
    ================================================================================ */

    /* Store product listing */

    #content-2 .content .header {
        margin-bottom: 30px;
    }

    #content-2 .content .header {
        padding-top: 5px;
    }

    #content-2 .content .header h2 {
        margin-bottom: 20px;
        color: #717f86;
        font-size: 24px;
        font-weight: normal;
    }

    #content-2 .content .header h2 {
        float: left;
        margin: 0;
    }

    .list-tools {
        float: right;
    }

    .list-tools label {
        display: inline;
        margin: 0;
        padding: 0;
        color: #717f86;
        font-weight: normal;
        line-height: 1;
        vertical-align: middle;
    }

    .list-tools .sort,
    .list-tools .quick-search {
        float: left;
        margin-left: 20px;
    }

    .list-tools .quick-search input {
        width: 170px;
    }

    .list-tools .quick-search input,
    .bible-nav .quick-search input,
    .m-biblereader .search input {
        overflow: visible;
        padding-right: 30px;
    }

    .list-tools .sort label,
    .list-tools .sort .form-control {
        display: inline;
        width: auto;
    }

    .list-tools .sort label {
        margin-right: 10px;
    }

    /* Search/store filters */

    .sidebar {
        float: right;
        width: 25%;
        background: #e7e7e7;
    }

    .search-filter {
        float: left;
    }

    .search-filter .header {
        padding: 20px;
    }

    .search-filter .header h2 {
        float: left;
        margin: 0;
        font-size: 13px;
        font-weight: bold;
        line-height: 1;
    }

    .search-filter .facet {
        padding: 6px 8px;
        margin-bottom: 1px;
    }

    .search-filter .facet a {
        float: left;
        width: 70%;
    }

    .search-filter .facet .num {
        float: right;
    }

    .search-filter .facet.active {
        background: #eae6f3;
    }

    .search-filter .facet.active a.active {
        font-weight: bold;
    }

    .search-filter .facet.active a:before {
        display: inline-block;
        width: 16px;
        font-family: FontAwesome;
        content: "\f00c";
    }

    .accordion .panel-default {
        background: none;
        border: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .accordion .panel-heading {
        padding: 0;
        background: #044f7a;
        border-bottom: 1px solid #e7e7e7;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .accordion .panel-heading h4 {
        font-size: inherit;
    }

    .accordion .panel-heading a.accordion-toggle {
        display: block;
        padding: 10px 20px 13px;
        color: #ffffff;
        background: url(../images/arrows-togglepanel.png) no-repeat 100% 16px;
    }

    .accordion .panel-heading a:hover,
    .accordion .panel-heading a:focus,
    .accordion .panel-heading a:active {
        background-color: transparent;
    }

    #filter-group .num {
        color: #717f86;
    }

    .accordion .panel-body,
    .accordion .panel-heading + .panel-collapse .panel-body {
        padding: 10px 20px;
        border: none;
    }

    /* Search Results
    ================================================================================ */

    .search-results .m-a {
        margin-bottom: 20px;
    }

    .search-results h3 {
        margin-bottom: 20px;
        color: #717f86;
    }

    .search-results ul {
        list-style: none;
        margin: 0 0 10px;
        padding: 0;
    }

    .search-results li {
        border-bottom: 1px solid #e3e5e7;
    }

    .search-results li h4 {
        margin-bottom: 2px;
        font-weight: bold;
    }

    /* Pagination
    ================================================================================ */

    .pagination {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .search-results .pagination {
        margin: 20px 0;
    }

    .pagination li a {
        border-color: #e3e5e7;
    }

    .pagination > li:first-child > a,
    .pagination > li:last-child > a {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .pagination > .active > a,
    .pagination > .active > a:hover,
    .pagination > .active > a:focus {
        background: #044f7a;
        border-color: #044f7a;
    }

    .pagination > li > a:hover,
    .pagination > li > a:focus {
        background: #f3f1f4;
    }

    /* Modals and modal arrays (modal carousels)
    ================================================================================ */

    .modal .modal-content {
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
    }

    .modal .modal-header {
        min-height: 38px;
        padding: 8px 10px;
        background: #f0f1f3;
        border-top: 5px solid #c3c8cc;
        border-bottom: none;
    }

    .modal .close {
        color: #044f7a;
        font-size: 18px;
    }

    .modal .modal-title {
        font-size: 13px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1;
    }

} /* End screen, projection */

/* MEDIA QUERIES
 * Adjustments for various viewport sizes
================================================================================ */

@-ms-viewport {
  width: auto!important;
}

/* 1199px
================================================================================ */

@media screen and (max-width:1199px) {
    /* Header and navigation */

    .mega-panel {
        width: 33%;
        margin-bottom: 10px;
    }

    .mega-panel:nth-child(3n+4) {
        clear: left;
        border-left: none;
    }

} /* End max-width: 1199px */

/* 991px
================================================================================ */

@media screen and (max-width:991px) {

    /* Reset floats, widths and gutters */

    .sidebar {
        margin-left: -20px;
        margin-right: -20px;
    }

    .content,
    .sidebar,
    .bible-reader {
        float: none !important;
        width: auto !important;
    }

    #main #content-1,
    #main #content-2,
    #online-bible {
        background: none;
    }

    .bible-reader {
        padding: 20px 0 0;
    }

    .bible-nav {
        padding: 10px;
    }

    #content-2 .content {
        padding-left: 0;
    }

    /* Modules */

    .m {
        margin-bottom: 30px;
    }
/*
    .bible-reader .col-md-12 .content {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-gap: 0;
        column-gap: 0;
    }
*/
    #content-2 > h1 {
        float: none;
        width: auto;
        padding: 20px 0;
    }

    #content-2 .content {
        padding-top: 0;
    }

    .quick-search {
        min-width: 0;
    }

} /* End max-width: 991px */

/* 767px
================================================================================ */

@media screen and (max-width:767px) {

    /* Hide elements */

    #online-bible .bible-nav .paging .next,
    #online-bible .bible-nav .paging .prev,
    #online-bible .bible-nav .paging .first,
    #online-bible .bible-nav .paging .last,
    .bible-nav .index {
        display: none;
    }

    /* Reset floats, widths and gutters */

    .container .content {
        padding: 20px 0 0 !important;
    }

    .article {
        padding: 0 0 20px !important;
    }

    .mega-menu .nav-tabs {
        padding: 5px 5px 0;
    }

    .mega-menu .nav-tabs li {
        margin-bottom: 5px;
    }

    #content-1 div.article {
        padding-left: 0;
        padding-right: 0;
    }

    #content-2 .content .header h2,
    .list-tools,
    .list-tools .quick-search,
    .list-tools .sort {
        float: none;
    }

    .list-tools .quick-search,
    .list-tools .sort {
        margin: 10px 0 0;
    }

    #content-2 .content .header {
        margin-bottom: 10px;
    }

    /* General styling */

    h1,
    h2 {
        font-size: 24px;
    }

    #online-bible .header h1 {
        padding: 20px 40px 0 0;
    }

    h1 span {
        display: inline-block;
    }

    #content-2 > h1 {
        float: none;
        width: auto;
        padding: 20px 0;
    }

    #content-2 > h1 {
        padding-bottom: 0;
    }

    #content-2 .content .header {
        margin-top: -20px;
    }

    #content-2 .content .header h2 {
        margin: 0;
        font-size: 18px;
    }

    .btn-primary {
        margin-bottom: 3px;
    }

    blockquote.verse {
        width: auto;
    }

    .m-biblereader h2 {
        margin-bottom: 15px;
        color: #717f86;
    }

    .mega-panel {
        float: none;
        width: auto;
        margin: 0 0 10px;
        padding: 0;
        border: none;
    }

    /* Layout */

    .nav-tabs > li > a,
    .nav-tabs > li > a:hover,
    .nav-tabs > li > a:focus,
    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        font-size: 13px;
    }

      /* Online Bible */

    .bible-nav {
        margin-top: 15px;
    }

    .bible-nav,
    #bible-index {
        margin-left: -20px;
        margin-right: -20px;
    }

    .bible-nav .books,
    .bible-nav .quick-search,
    .bible-nav .index {
        float: none;
        width: auto;
        margin-left: 0;
    }

    .quick-search {
        text-align: left;
    }

    .bible-nav .quick-search {
        margin-top: 10px;
    }

    .bible-nav .quick-search input {
        width: 95%;
    }

    .bible-nav .large .dropdown-toggle {
        min-width: 140px;
    }

    .bible-reader .header > h2 {
        padding-top: 10px;
        font-size: 13px;
    }

    .bible-reader .footer {
        padding: 10px 0 30px;
    }

    .bible-reader .version {
        padding: 0;
    }

    .bible-reader .version .content {
        padding: 20px !important;
    }

    .bible-reader .tab-header {
        margin: 0 -20px;
    }

    #online-bible > .header {
        position: relative;
    }

    #online-bible .nav-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: -20px;
        width: 44px;
        height: 44px;
        background: #f0f1f2;
        text-indent: -9999px;
    }

    #online-bible .nav-toggle:after {
        display: block;
        width: 44px;
        margin-top: -10px;
        color: #717f86;
        font-family: FontAwesome;
        content: "\f107";
        font-size: 24px;
        text-indent: 0;
        text-align: center;
    }

    #online-bible .single-verse {
        padding: 0 20px;
    }

    /* Modules */

    .m-dailymanna .m-c img {
        width: 75px;
        height: auto;
    }

    .content .m-a {
        padding: 0;
    }

    .content .m-a-alt-3 {
        margin-left: -20px;
        margin-right: -20px;
        padding: 20px;
    }

    .cols-2,
    .cols-6,
    .cols-2 ul,
    .cols-6 ul {
        min-width: 0 !important;
        width: auto !important;
        -webkit-columns: 1 !important;
        -moz-columns: 1 !important;
        columns: 1 !important;
        -webkit-column-gap: 0 !important;
        -moz-column-gap: 0 !important;
        column-gap: 0 !important;
    }

    .m-dailymanna-full,
    #content-1 .m-subscribe {
        margin: 0 -20px 20px;
    }

    .m-dailymanna-full .m-h h2 {
        width: 67%;
    }

    .m-dailymanna-full .paging {
        padding: 10px 0;
    }

    .m-dailymanna-full .paging .btn-group button {
        font-size: 11px;
    }

    .m-dailymanna-full .paging .btn-group + .btn-group {
        border: none;
    }

    .m-dailymanna-full th {
        font-size: 11px;
    }

    /* Modals */

    .btn-group,
    .btn-group > .btn {
        position: static;
    }

    .btn-group .dropdown-menu,
    .bible-reader .tab-secondary .version-selector .dropdown-menu {
        top: auto;
        left: 0;
        right: 0;
        margin-top: 28px;
    }

    .btn-group .dropdown-menu > li > a {
        white-space: normal;
    }

} /* End max-width: 767px */

/* 479px
================================================================================ */

/* End max-width: 479px */

/* Retina graphics
================================================================================ */

/* End Retina graphics */

/* Override WordPress theme styles
================================================================================ */

#listen p {
    margin: 0;
}

input#bible-keywords[type="search"] {
    height: 27px;
    padding: 0 6px;
}

#online-bible h1, #online-bible h2, #online-bible h3,
#online-bible h4, #online-bible h5, #online-bible h6,
#online-bible .h1, #online-bible .h2, #online-bible .h3,
#online-bible .h4, #online-bible .h5, #online-bible .h6,
#daily-manna h1, #daily-manna h2, #daily-manna h3,
#daily-manna h4, #daily-manna h5, #daily-manna h6,
#reading-plans h1, #reading-plans h2, #reading-plans h3,
#reading-plans h4, #reading-plans h5, #reading-plans h6 {
    text-transform: none;
    letter-spacing: normal;
}

#online-bible form,
#daily-manna form,
#reading-plans form,
#bible-search form {
    margin: 0;
}

#online-bible button {
    vertical-align: inherit;
}

input#bible-keywords {
    margin: 0;
}

#bible-widget button[type="submit"] {
    border-radius: 0;
    font-size: 13px;
}

#online-bible blockquote {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.428571429;
    color: #333333;
}

#online-bible hr {
    margin-top: 15px;
    margin-bottom: 15px;
    border-color: #ddd;
}

#online-bible ol[type="a"] {
    list-style: lower-alpha;
}

#bible-search input#shop-keywords {
    height: 27px;
    padding: 0 6px;
    margin: 0;
}

#daily-manna .form-horizontal input[type="text"],
#daily-manna .form-horizontal input[type="email"] {
    height: 27px;
}

#daily-manna .verify-image {
    max-width: none;
}

#daily-manna .missing-content p {
    margin: 10px 0 0 0;
}

/* Bible Search Page */

.search-results .hit {
    font-family: sans-serif;
    font-size: 16px !important;
    margin: 0 0 10px;
}

.search-results h4 a {
    color: #044f7a;
}

/* FB Like Button padding */

@media screen and (max-width:767px) {
    .fb-like {
        padding: 15px 0 15px 0;
    }
}

@media screen and (min-width:768px) {
    .fb-like {
        padding: 0 0 15px 0;
    }
}
