/*
Theme Name: Smart Mag Child
Theme URI: http://theme-sphere.com/
Description: A child theme of SmartMag
Author: ThemeSphere
Author URI: http://theme-sphere.com
Template: smart-mag
Version: 1.0
*/

/**
 * Clearfix
 */

.clearfix:after,
.menu:after,
.row:after {
    content: "";
    display: table;
    clear: both;
}

/**
 * Headers
 */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

/**
 * Topbar
 */

.top-bar-content {
    position: relative;
}

.top-bar-content .advanced-search-toggle {
    float: right;
    margin-left: 10px;
}

.top-bar-content .dr-advanced-search-form {
    position: absolute;
    z-index: 9999;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 10px;
    border: 1px solid #ccc;
    display: none;
    font-size: 12px;
}

/**
 * Menu
 */

.mega-menu .sub-nav li {
    line-height: 140%;
}

/**
 * Set image max width to container
 */

.main img {
    max-width: 100%;
    height: auto;
}

/**
 * Lists
 */

.post-content ul,
.page-content ul {
    list-style-type: square;
    margin-left: 42px;
}

ul.slides {
    list-style-type: none;
    margin-left: 0;
}

.gallery-block .carousel li {
    list-style-type: none;
    margin-left: 0;
}

/**
 * Full slider
 */

.slider.full .flex-direction-nav {
    display: none;
}

@media only screen and (min-width: 780px) {
    .main-featured .flexslider ul li .image-link {
        height: 300px;
    }

    .main-featured .flexslider .slides img {
        margin-top: -60px;
    }
}

@media only screen and (min-width: 1129px) {
    .main-featured .flexslider ul li .image-link {
        height: 336px;
    }

    .main-featured .flexslider .slides img {
        margin-top: -60px;
    }
}

.main-featured .slider h3 a {
    line-height: 140%;
}

/**
 * Category Blocks
 */

.cat-block {
    margin-bottom: 20px;
}

.cat-block-header {
    display: inline-block;
    background-color: #0795ca;
    color: #fff;
    padding: 5px 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.cat-block .entry-meta {
    font-size: 12px;
}

.dr-layout-2 .post-title {
    padding-left: 0;
    font-size: 16px;
}

.dr-layout-2 h2:before {
    display: none;
}

.listing-alt .content .post-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 140%;
}

.cat-block .entry-excerpt {
    font-size: 13px;
}

.cat-block .entry-permalink img {
    max-width: 100%;
    height: auto;
}

.post-header .post-title:before {
    height: 100%;
}

.heading .post-title a {
    vertical-align: sub;
}

.dpe-flexible-posts img {
    width: 100%;
    height: auto;
    overflow: hidden;
}

/* Category 1 */
.block-head.dr-cat-1471 {
    border-bottom-color: #9e0031;
}

.block-head.dr-cat-1471 .heading {
    background-color: #9e0031;
}

.post-header .post-title.dr-cat-1471:before {
    border-left-color: #9e0031;
}

.listing-classic.dr-cat-1471 .read-more a {
    background-color: #9e0031;
}

/* Category 2 */
.block-head.dr-cat-1467 {
    border-bottom-color: #841160;
}

.block-head.dr-cat-1467 .heading {
    background-color: #841160;
}

.post-header .post-title.dr-cat-1467:before {
    border-left-color: #841160;
}

.listing-classic.dr-cat-1467 .read-more a {
    background-color: #841160;
}

/* Category 3*/
.block-head.dr-cat-1479 {
    border-bottom-color: #2929b2;
}

.block-head.dr-cat-1479 .heading {
    background-color: #2929b2;
}

.post-header .post-title.dr-cat-1479:before {
    border-left-color: #2929b2;
}

.listing-classic.dr-cat-1479 .read-more a {
    background-color: #2929b2;
}

/* Category 4 */
.block-head.dr-cat-1475 {
    border-bottom-color: #b1740f;
}

.block-head.dr-cat-1475 .heading {
    background-color: #b1740f;
}

.post-header .post-title.dr-cat-1475:before {
    border-left-color: #b1740f;
}

.listing-classic.dr-cat-1475 .read-more a {
    background-color: #b1740f;
}

/**
 * Single Post
 */

.post-wrap .author-box {
    margin-top: 2em;
}


/**
 * Sidebar
 */

.latest-posts .comments {
    display: none;
}

/**
 * Accordion customizations
 */

.sc-accordion-pane p {
    margin: 0;
}

.dr-accordions {
    margin-top: 20px;
    margin-bottom: 20px;
}

.dr-accordions .sc-accordion-title a,
.dr-accordions .sc-toggle-title a {
    background-color: #0795ca;
    color: #fff;
}

.dr-accordions .sc-accordion-title.active a,
.dr-accordions .sc-toggle-title.active a {
    background-color: #2B4870;
}

.dr-accordions .sc-accordion-title a:before,
.dr-accordions .sc-toggle-title a:before {
    background: transparent;
    margin-right: 6px;
}

.dr-accordions .sc-accordion-title a:after,
.dr-accordions .sc-toggle-title a:after {
    content: '\f078';
    top: 1.2em;
    font-size: 12px;
}

.dr-accordions .sc-accordion-title.active a:after,
.dr-accordions .sc-toggle-title.active a:after {
    content: '\f077';
}

/**
 * ABA sections
 */

.dr-divider {
    margin: 10px 0;
}

.flag-anchors a img.alignnone {
    margin-bottom: 0;
}

.page .builder .two-third .posts-list img,
.page .builder .two-third .posts-list .comments {
    display: none;
}

.page .builder .two-third .posts-list li {
    padding: 10px 0 0 0;
}

.page .builder .two-third .posts-list .content {
    margin: 0;
    min-height: auto;
}

.page .builder .two-third .posts-list .content .listing-meta {
    float: left;
}

.page .builder .two-third .widget-title {
    margin-bottom: 10px;
}

.dr-section-header img.section-flag.alignnone {
    margin: 0;
}

.dr-section-header .section-title {
    font-size: 16px;
    font-weight: bold;
}

.dr-section-header .section-title img {
    vertical-align: middle;
    margin: 0 5px 0 0;
}

.dr-latest-posts {
    margin-top: 20px;
}

.dr-latest-posts.single-latest-posts {
    margin-top: 0;
}

/**
 * Content Footer
 */

.dr-content-footer {
    border-top: 3px solid #0795ca;
    padding-top: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
}

.content-footer-widget .title-widget {
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.content-footer-widget .dr-newsletter-form {
    width: 270px;
    height: 130px;
    background-image: url('img/DR-subscribe.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    box-sizing: border-box;
    padding: 1em 0 0!important;
}

.content-footer-widget .dr-newsletter-form .field-group {
    margin-bottom: 10px;
    padding: 0 1em;
}

.content-footer-widget .btn-submit,
.content-footer-widget #bp-login-widget-submit {
    background-color: #0795ca;
    color: #fff;
    border: 1px solid #0795ca;
}

.content-footer-widget .btn-submit:hover,
.content-footer-widget #bp-login-widget-submit:hover {
    color: #0795ca;
    background-color: #fff;
}

.dr-content-footer p {
    margin: 0;
}

/**
 * Site Index
 */

.post-content .dr-site-index .block-head .heading a:hover {
    color: #fff;
}

.dr-site-index .block-head .heading a {
    line-height: 140%;
}

.dr-site-index .block-head {
    margin-bottom: 10px;
}

.dr-site-index .child-cat-item {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.child-cat-item:last-child {
    border-bottom: 0;
}

/**
 * Footer
 */

.dr-main-footer {
    max-width: 100%;
    width: 539px;
    margin: 0 auto;
    color: #fff;
    text-align: center;
}

.dr-main-footer .social-icons {
    margin-top: 30px;
}

.dr-main-footer .social-icons li {
    display: inline-block;
    float: none;
}

.dr-main-footer .menu {
    margin: 30px auto 0;
}

.dr-main-footer .menu a {
    color: #fff;
}

.dr-main-footer .menu li {
    float: left;
    display: inline-block;
    line-height: 100%;
    border-right: 1px solid #fff;
    padding: 5px;
}

.dr-main-footer .menu li:last-child {
    border-right: none;
}