/*
	Theme Name: AJP Presso - Child
	Theme URI: http://envirra.com/themes/presso
	Author: envirra
	Author URI: http://envirra.com
	Description: Magazine WordPress Theme
	Version: 2.2
	License: GPL
	License URI: http://www.gnu.org/licenses/gpl.html‎
	Tags: black, white, one-column, two-columns, three-columns, right-sidebar, flexible-width, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready, photoblogging
	Text Domain: envirra
	Template: presso
    Bitbucket Theme URI: https://haleeben@bitbucket.org/haleeben/ajp-presso-child-theme
*/


/* Mac font issue */
html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    font-weight: 400;
}

p{
    word-break: break-word;
}

strong{ font-weight: bold;}

@media (min-width: 767px) {

    .vw-header__logo{
        padding-right: 15px!important;
    }
}

.vw-post-box__title {
    font-weight: 400;
    text-transform: uppercase;
}

.vw-post-box__title a:hover {
    text-decoration: none;
}

.vw-post-content h1,
.vw-post-content h2,
.vw-post-content h3,
.vw-post-content h4,
.vw-post-content h5,
.vw-post-content h6 {
    text-transform: none;
}

h1.vw-post-title {
    text-transform: uppercase;
}

@media (min-width: 992px){
    .vw-post-header .vw-post-title {
        font-size: 45px;
    }
}


/** FIX HIGHTLIGHT COLOR **/
.vw-post-content th, .vw-comment__content th, .no-touch input[type="button"]:hover, .no-touch input[type="reset"]:hover, .no-touch input[type="submit"]:hover, .no-touch .woocommerce a.button:hover, .no-touch .woocommerce button.button:hover, .no-touch .woocommerce input.button:hover, .no-touch .woocommerce #respond input#submit:hover, .no-touch .woocommerce-page a.button:hover, .no-touch .woocommerce-page button.button:hover, .no-touch .woocommerce-page input.button:hover, .no-touch .woocommerce-page #respond input#submit:hover, .no-touch .vw-button:hover, .vw-button--accent, .no-touch .vw-button--outline.vw-button:hover, .vw-top-bar .vw-social-icon:hover, .vw-title-area__nav-button:hover, .vw-menu-top .menu-item:hover, .vw-menu-main .menu-item:hover, .vw-menu-top .main-menu-link:hover, .vw-menu-main .main-menu-link:hover, .vw-pagination__links .page-numbers.current, .vw-post-box--block-d .vw-post-views, .vw-post-box--slide-1:hover .vw-post-box__read-more, .vw-categories a, .vw-page-links > span:not(:first-child), .vw-scroll-to-top, .vw-content-slider .slick-prev, .vw-content-slider .slick-next, .vw-dropcap-circle, .vw-dropcap-box, .vw-review--points .vw-review__item-score-bar, .vw-review--percentage .vw-review__item-score-bar, .vw-review-summary, .sk-folding-cube .sk-cube:before, #wp-calendar tbody td:hover, .widget_product_tag_cloud .tagcloud a:hover, .widget_tag_cloud .tagcloud a:hover, .vw-category-list__count, .widget #sb_instagram .sbi_follow_btn a {
    background-color: #ed3029;
}

.vw-footer-sidebar .widget-title,
.vw-menu-mobile .menu-link:hover,
.vw-404-box__hero-title,
.vw-accordion .ui-state-hover span,
.vw-404-text,
.widget_ajp_comments_widget a.post-link,
.vw-post-box__excerpt a,
a.vw-post-author__name,
.vw-post-box .vw-post-box__meta .vw-post-author__name {
    color: #ed3029;
}

.vw-post-content th, .vw-comment__content th {
    background: #bbb;

}

.vw-content-area {
    padding-top: 30px;
}

span.vw-scroll-to-top {
    display: none !important;
}

.vw-loop.vw-loop--slider{
    max-height: 400px;
}

/****************************************************
 * Parent theme Alignment fix
 ***************************************************/
.alignleft,
.alignright,
a img.alignleft,
a img.alignright {
    max-width: 100% !important;
}

@media (max-width: 767px) {
    .alignleft,
    .alignright {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        float: none;
        display: block;
    }
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

h1.page-title {
    margin-top: 0;
}

#page-wrapper {
    margin-top: 30px;
    padding-left: 56px;
}

.social-share {
    width: 28%;
}

.post-page-links {
    font-size: 18px;
}

h1 sup {
    font-size: 54%;
    top: -0.8em;
}

.post-content h1:first-child,
.post-content h2:first-child,
.post-content h3:first-child,
.post-content h4:first-child {
    margin-top: 0;
}


/** MOBILE CONTAINER FIXES **/
@media (min-width: 544px){
    .container {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 790px;
    }
}

@media (max-width: 728px) {

    #page-wrapper {
        margin-top: 20px;
    }

    h1.post-title {
        font-size: 2.4em !important;
    }

    .back-to-top {
        bottom: 60px;
        right: 10px;
        padding: 4px 8px !important;
    }
}

@media (min-width: 992px){
    .vw-content-area--right-sidebar .vw-content-main, .vw-content-area--left-sidebar .vw-content-main, .vw-content-area--right-extra-sidebar .vw-content-main, .vw-content-area--left-extra-sidebar .vw-content-main {
        float: none;
        width: 100%;
    }

    .vw-bar {
        display: block;
    }

    .vw-content-sidebar {
        float: none;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .vw-content-sidebar {
        margin-top: 48px;
    }
    .vw-content-sidebar .widget:first-child {
        padding-top: 36px;
        border-top: 6px solid #333333;
        border-top-style: solid !important;
    }
}


@media (max-width: 1200px) {
    .container {
        width: 100%;
    }

    .vw-header-area{
        margin-top:20px;
    }

    .vw-header__ads {
        margin-bottom: 24px;
    }

    .vw-header__main-menu {
        display: none;
    }
}

@media (max-width: 1800px) {

    .vw-menu #menu-item-149829 .sub-menu-wrapper{
       left:-100%;
    }
}


@media (min-width: 1200px){

    .container {
        /*width: 1200px;*/
        max-width: 1200px;
    }

    .vw-bar.container {
        /*width: 1200px;*/
        max-width: 1200px;
    }

    .vw-bar {
        display: flex;
        flex-wrap: wrap;
        flex-wrap: nowrap;
    }

    .vw-header__ads {
        margin-bottom: 24px;
    }

    .vw-content-area--right-sidebar .vw-content-main, .vw-content-area--left-sidebar .vw-content-main, .vw-content-area--right-extra-sidebar .vw-content-main, .vw-content-area--left-extra-sidebar .vw-content-main {
        float: left;
        width: 66.6666666667%;
    }

    .vw-content-sidebar {
        float: left;
        width: 33.3333333333%;
    }
}

.image-border img{
    border: solid 1px #ccc;

}




/** STICKY MENU **/
.main-nav-bar {
    z-index: 9999;
    width: 100%;
}


/** MENU **/
.main-nav > .menu-item > .menu-link {
    padding: 15px;
    font-size: 15px;
}

.main-nav .menu-link,
.vw-menu-main .sub-menu-link {
    font-size: 15px;
    text-transform: uppercase;
}

.vw-menu-main .sub-menu-wrapper{
    min-width: 320px;
}


/** MOBILE MENU **/
.icon-entypo-menu:after {
    content: 'MENU';
    font-size: 16px;
    position: relative;
    top: -1px;
}

.menu-description {
    display: none;
}

/** TOP SEARCH RESULTS BOX **/
.instant-search-panel {
    z-index: 1000;
}

/** SLIDER **/
.slick-slide {
    max-height: 400px;
}

.vw-loop--slider-full-1 .vw-post-box--full .vw-post-box__background {
    height: 400px;
}

.post-slider .post-box-inner,
.vw-post-box--slide-1 .vw-post-box__inner {
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.5);
}

.post-slider .post-box-inner h3 {
    font-size: 3rem;
}

.vw-post-box--slide-1 .vw-post-box__title {
    font-size: 32px;
    padding-right: 0 !important;
}


/** PDL LINK TOP MENU **/
div#pdl-link {
    display: inline-block;
    padding-right: 8px;
    margin: 4px 0;
}

div#pdl-link img {
    max-height: 30px;
}

a#open-mobile-nav {
    margin-left: -15px;
}


/** HELP PAGE **/
.post-content .su-tabs-nav span {
    font-size: 16px;
    font-weight: bold;
}

.img-border,
.page-id-9280 .post-content img {
    border: 2px solid #555;
    margin-top: 0 !important;
}

.post-content .su-tabs-pane {
    font-size: 14px;
}

.mkb-search .mkb-root {
padding-top: 2em;
}
.mkb-shortcode-container .kb-header,
.mkb-shortcode-container .kb-header{
    padding:0 !important;
}

/** PRINT **/

@media print {

    article {
        width: 96%;
        margin: 20px 2%;
    }

    aside,
    .sidebar-wrapper,
    footer,
    header .slides,
    .post-thumbnail-wrapper,
    .vw-header__ad,
    .header-ads,
    .wpadsup,
    .post-nav,
    .top-bar,
    .rpbt_shortcode,
    .addthis_responsive_sharing,
    #ajp_disqus_notice,
    #disqus_thread,
    #learndash_course_content,
    .uo-done-redirect,
    .vw-top-bar,
    .mkb-floating-helper-wrap,
    .back-to-top,
    .vw-post-share,
    .learndash_quizzes,
    .vw-mobile-nav-button{
        display: none !important;
    }

    .main-bar {
        padding: 0;
    }

    #logo img {
        max-height: 80px;
        height: 80px;
        width: auto;
        margin: auto;
    }

    header .header-ads,
    header .slides {
        opacity: 0 !important;
        height: 10px !important;
        line-height: 10px !important;
    }

    .post .post-title {
        font-size: 2.4em;
    }

}


/** ADS **/
.ajp-ads {
    position: relative;
}

.header-ads {
    position: relative;
    max-width: 728px;
    /*height: 140px;*/
    /*line-height: 140px;*/
    display: inline-block;
}

.header-ads .ajp-ad, .header-ads .wpadsup {
    float: right;
    max-height: 140px;
}

.header-ads img {
    max-height: 140px;
    width: auto;
}

.header-ads .ajp-ad object, .header-ads .wpadsup object {
    max-width: 728px;
    max-height: 140px;
}

.footer-ads {
    max-width: 728px;
    margin: 0 auto;
    padding: 20px 10px 0 10px;
    position: relative;
}

.lb_flash.footer_leaderboard {
    margin-top: 20px;
}

@media all and (max-width: 768px) {
    .header-ads object.leaderboard {
        width: 100%;
    }

    /* This is the fix for Safari on iPhone issue */
    .header-ads {
        height: 100%;
        /*max-height: 140px!important;*/
        line-height: normal;
    }
}

@media all and (max-width: 1200px) {
    .header-ads {
        float: none !important;
        text-align: center !important;
        margin: 0 auto 0 !important;
        display: block !important;
    }

    .header-ads .ajp-ad, .header-ads .wpadsup {
        display: inline-block !important;
        float: none;
    }

}

.mrec-container {
    margin: 0 auto 15px;
    text-align: center;
    max-width: 300px;
}

/** FLASH ADS LINK **/
.mrec-container, .auspharm-ads .grid-item--width2 {
    position: relative;
}

a.flash.header_leaderboard {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    z-index: 1000;
}

a.mrec-flash {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 1000;
}

.flash.interstitial {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 1000;
}


/** FLEXSLIDER ***********************************/

.header-ads {
    /*opacity: 0;*/
    /*max-height: 140px;*/
}

.header-ads li {
    /*display: inline!important;*/
    /*line-height: 140px;*/
}

/* BASE */
.flex-container a:hover,
.flex-slider a:hover {
    outline: none;
}

.slides,
.slides > li,
.flex-control-nav,
.flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-pauseplay span {
    text-transform: capitalize;
}

div[class*="-flexslider"] {
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

div[class*="-flexslider"] .slides > li {
    display: none;
    -webkit-backface-visibility: hidden;
    max-height: 140px;
}

div[class*="-flexslider"] .slides img {
    /*width: 100%;*/
    /*display: block;*/
}

div[class*="-flexslider"] .slides:after {
    content: "\0020";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

html[xmlns] .leaderboard-flexslider.slides {
    display: block;
}

* html .leaderboard-flexslider .slides {
    height: 1%;
}

.no-js div[class*="-flexslider"] .slides > li:first-child {
    /*display: block;*/
}


/** LOGO **/
#logo {
    max-width: 374px;
}

#logo img {
    max-height: 140px;
    width: auto;
    margin: auto;
}

#site-tagline {
    display: none;
}

@media all and (max-width: 1200px) {
    #logo {
        float: none !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: block !important;
    }
}


/** LOGIN/REGISTER FORM **/
#loginform label {
    display: block;
}

p.error,
span.error,
.gpls-limit-message{
    padding: 20px;
    background-color: #ed3029;
    color: #fff;
    margin-bottom: 30px;
    line-height: 2;
}

p.error a,
span.error a {
    color: #fff;

}

.ajp-box {
    padding: 20px;
    border: 1px solid #989898;
    background: #fafafa;
}

input[type="text"], input[type="password"], input[type="email"], textarea, select {
    color: #333;
    margin: 0;
}


/** GRAVITY FORMS **/
.gform_wrapper .gfield {
    margin-top: 16px !important;
}
#field_208_31{
    margin-top: 0 !important;
}

.gform_fields input {
    margin-bottom: 0;
}

.gform_button {
    font-size: 14px !important;
}

ul.gsurvey-rank{
    margin-left: 0;
}
li.gsurvey-rank-choice{
    margin: 3px 0;
}

.gfield_label {
    margin-top: 24px;
}

input[type=text], textarea {
    font-size: 14px !important;
    padding: 6px !important;
}

table.gsurvey-likert th.gsurvey-likert-choice-label {
    background-color: #999;
}

.gsurvey-rating {
    margin-bottom: 20px;
}

table.gsurvey-likert td.gsurvey-likert-choice,
table.gsurvey-likert td.gsurvey-likert-choice.gsurvey-likert-selected{
    background-size: 19px 19px;
}

.gsurvey-rating > input:checked ~ label {

    background-size: 22px 22px;
}
.gsurvey-rating:not(:checked) > label,
.gsurvey-rating:not(:checked) > label:hover,
.gsurvey-rating:not(:checked) > label:hover ~ label {

    width: 25px;
    font-size: 22px!important;
    line-height: 22px;
    background-size: 22px 22px;
}

.gform_confirmation_message,
p.success {
    padding: 20px;
    background-color: #88ca75;
    color: #fff;
    margin: 20px 0;
}

.auspharm .gform_confirmation_message,
.gform_widget .gform_confirmation_message {
    background-color: #f9f9f9;
}

.gform_wrapper .top_label .gfield_label {
    margin: 10px 0 0 0;
}

#field_2_13 {
    margin-top: 20px;
}

#field_2_13 label.gfield_label {
    /*float: left;*/
    margin: 5px 10px 0 0;
}

label#label_2_13_1 {
    line-height: 2;
}

.gform_wrapper .gfield_checkbox input[type=checkbox],
.gform_wrapper .ginput_container_consent input[type=checkbox],
.gform_wrapper .gfield_radio input[type=radio]{

    width: 20px !important;
    height: 20px !important;
    margin-top: 3px;
}

.gform_wrapper .ginput_container_consent .gfield_consent_label{
    position: relative;
    top: -6px;
}
.ginput_container.ginput_container_checkbox{
    margin-top: 16px;
}

li.gsurvey-rank-choice {
    border: 1px solid #ddd;
    border-radius: 5px;
}
li.gsurvey-rank-choice:active {
    box-shadow: 0 0 4px #666;
}
.gform_wrapper.gravity-theme .gfield_checkbox label,
.gform_wrapper.gravity-theme .gfield_radio label{
    padding-left: 10px;
}
.gform_wrapper.gravity-theme .gfield-choice-input{
    vertical-align: middle;
}
.gform_wrapper.gravity-theme .gform_show_password{
    color: inherit !important;
}
.gform_wrapper.gravity-theme .gform_show_password:focus,
.gform_wrapper.gravity-theme .gform_show_password:hover {
    color: #FFF !important;
}

.gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message {
    padding: 4px 20px !important;
}

p.gform_required_legend{
    margin: 0;
}

#field_258_1 {
    margin-top: 0;
}



/* WIDGET */
.gform_wrapper ul.gfield_checkbox li label,
.gform_wrapper ul.gfield_radio li label {
    vertical-align: top !important;
    padding: 3px 0 0 7px;
    font-size: 14px;
}

/** Footer categories widget **/
.vw-category-list__item:not(:first-child) .vw-category-list__count {
    top: 0px;
}

.vw-category-list__title {
    font-size: 15px !important;
    color: #9a9a9a !important;
    text-transform: uppercase;
}

.widget_vw_widget_categories li {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/** RESPONSIVE MENU CHANGES **/
@media (min-width: 1200px) {
    #mobile-nav-wrapper {
        display: none !important;
    }

}

@media (max-width: 1200px) {
    #undefined-sticky-wrapper {
        display: none !important;
    }

    #open-mobile-nav {
        display: inline-block;
    }

    #top-nav-wrapper {
        display: none;
    }

    #mobile-nav-wrapper {
        display: block !important;
    }

}

.main-nav-bar {
    max-height: 51px;
}


/** ADD THIS SHARE **/
.addthis_responsive_sharing {
    margin-top: 12px;
}

@media (max-width: 960px) {

    #page-wrapper {
        padding: 0 20px;
    }
}


/* lightbox fix */
div#swipebox-overlay {
    z-index: 99999999 !important;
}

.tos-uibg, .tos-wrapper.tos-fx-slide.tos-fixed .tos-slider {
    top: 40px;
}

/** SIDEBAR **/
.widget {
    padding: 20px 0 !important;
    margin-top: 0 !important;
    border-top: none !important;
}

.vw-content-sidebar .widget:first-child {
    border: none !important;
}

.widget + .widget {
    border-top: 4px solid #444 !important;
}

.widget:first-of-type {
    border-top: none !important;
}

hr.section-hr {
    margin-bottom: 20px !important;
}

hr.thin-light {
    border-top: 1px solid #bbb;
}

h3.widget-title {
    font-size: 1.6em !important;
    text-align: center;
}

.widget_ajp_adveriser_mrec_widget,
.widget_sp_image {
    text-align: center;
}

.widget .widget-title {
    margin-bottom: 6px;
}

/** MEMBERS **/
.widget_ajp_members_widget h3.widget-title {
    margin-bottom: 20px;
}

.widget_ajp_members_widget {
    text-align: center;
}

.widget_ajp_members_widget .btn {
    margin-right: 4px;
}

.btn,
.btn-join,
.ajp-button {
    background: #ed3029 !important;
    padding: 8px 14px !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    cursor: hand;
}

a.button,
.button a{
    padding: 10px 26px;
}
a.button{
    margin: 0 10px 10px 0;
}

a.wp-block-button__link{
    font-size: 14px;
}

button.search-button {
    font-size: 16px;
    line-height: 14px;
    min-height: 14px;
    padding: 10px 14px;
}

.button a,
.red-btn a,
a.button,
.btn-join,
.vw-post-content a.button {
    color: #fff !important;
    display: inline-block;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 0;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
    font-family: Oswald, 'sans-serif';
    font-weight: 700;
    letter-spacing: 0;
}

.button a:hover,
a.button:hover,
.btn-join:hover {
    text-decoration: none;
    border-color: #666;
}

span.button {
    background: #ed3029 ;
    padding: 6px 12px;
    border: none;
    color: #fff ;
    border-radius: 0;
}

.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/** MAG IMAGE WIDGET **/
.ajp-mag-widget {
    text-align: center;
}

.ajp-mag-widget a {
    color: #222;
    text-decoration: none;
    text-transform: none;
}

.ajp-mag-widget img {
    width: 300px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.ajp-mag-widget p {
    font-size: 14px;
    /*font-weight: bold;*/
    max-width: 300px;
    margin: auto;
    margin-bottom: 12px;
}
.ajp-mag-widget .button{
    padding: 10px;
    width: 100%;
}

.pdl-button{
    background: #f99439!important;

}

/* end mag */

.uncanny-cert-widget-list ul {
    list-style-type: none;
    text-align: center;
    padding-left: 0;
}

.uncanny-cert-widget-list {
    text-align: center;
    margin-top: 20px;
}

/** Popular Comments Widget **/

#ajp-comments-tabs .ui-widget-content {
    border: none !important;
    background: none !important;
    color: #222222 !important;
}

#ajp-comments-tabs ul {
    margin-bottom: 12px;
    padding: 0;
    text-align: center;
    background: none;
}

#ajp-comments-tabs ul li {
    list-style-type: none;
    display: inline;
    font-size: 12px;
}

#ajp-comments-tabs ul li.ui-tabs-active a {
    text-decoration: underline;
}

.ajp-recent-comment, .ajp-popular-post {
    margin-bottom: 12px;
    border-bottom: 1px solid #999;
    padding-bottom: 12px;
}

.ajp-recent-comment:last-of-type, .ajp-popular-post:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#ajp-comments-tabs .content {
    margin-bottom: 0;
    font-style: italic;
}

p.author {
    margin-bottom: 0;
    text-align: right;
}


/****************** LOGIN ********************/
.login-msg {
    padding: 6px;
    background: #ee5048;
    border: 1px solid #ed3029;
    color: #efefef;
}

/* login logo fix */
#login h1 a {
    background-size: contain;
}

form#loginform {
    /*display: inline-block;*/
}

#loginform input[type="text"],
#loginform input[type="password"]{
    width:320px;
}

p.login-submit {
    display: inline-block;
    margin-right: 12px;
}

input#wp-submit {
    width: 120px;
}

.wp-core-ui .button-primary,
.wp-core-ui .button-primary:focus,
#loginform input.button-primary {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-shadow: none;
    font-size: 14px;
}


/****************************************************
 *  FOOTER
 ***************************************************/
.bmwd-link {
    padding-right: 12px;
}

@media all and (max-width: 1024px) {
    #footer {
        margin-bottom: 40px;
    }
}


/****************************************************
 * GRAVITY FORMS - POLLS
 ***************************************************/
.red .gpoll_ratio_box {
    background-color: #E42E2E !important;
}

#gform_widget-2 .gform_wrapper {
    display: none;
}

#page-content .gpoll_field_label {
    display: none;
    font-size: 20px;
    line-height: 30px;
}

.gpoll_wrapper .close {
    padding: 0px 6px;
    border: 1px solid #ed3029;
    border-radius: 72px;
    position: relative;
    top: -45px;
}


/****************************************************
 * CO AUTHORS
 ***************************************************/
.single #page-content .post-meta .avatar {
    width: 48px;
    height: 48px;
}

.avatar.wp-post-image {
    margin-bottom: 0;
}

.vw-post-author .vw-post-author__name:first-of-type {
    padding-left: 4px;
}

.vw-post-box .wp-post-image.avatar {
    width: auto;
}


/****************************************************
 * MEDIA PLAYER
 ***************************************************/
.wp-playlist-item-length {
    line-height: 3 !important;
}

.wp-playlist-tracks > div {
    padding: 12px 0;
}


/****************************************************
 * BBPRESS
 ***************************************************/
#bbpress-forums .ajp-new-reply,
.gdbbx-badge-new-topic,
.gdbbx-badge-unread-topic,
#bbpress-forums .gdbbx-badge-unread-forum,
#bbpress-forums .gdbbx-badge-unread-topic,
#bbpress-forums .gdbbx-badge-new-topic{
    margin-left: 4px;
    padding: 4px 8px;
    color: #fff !important;
    background: #ed3029;
    font-size: 10px;
    border-radius: 3px;
    text-transform: uppercase;
}

.gdbbx-badge-new-topic, .gdbbx-badge-unread-topic {
    margin: 0 2px 0 0;
}

.topic .gdbbx-badge-new-reply-topic {
    display: none;
}

#bbpress-forums div.bbp-forum-content,
#bbpress-forums div.bbp-topic-content,
#bbpress-forums div.bbp-reply-content {
    position: relative;
}

#bbpress-forums .bbp-reply-content .wpulike .counter a.image,
#bbpress-forums .bbp-reply-content .wpulike .counter a.image-unlike {
    padding: 0.8em 1.2em;
}

form#bbp-search-form div {
    text-align: center;
}

span.bbp-admin-links a {
    color: #ddd;
}

span.bbp-admin-links a:hover {
    color: #ed3029;
}

.bbp-topic-author .bbp-author-avatar{
    display: block;
}

#bbpress-forums > #subscription-toggle:before {
    content: '';
}
#bbpress-forums > #subscription-toggle:after {
    content: '';
}

#bbpress-forums div.bbp-forum-author img.avatar,
#bbpress-forums div.bbp-topic-author img.avatar,
#bbpress-forums div.bbp-reply-author img.avatar{
    display: block;
}

.mce-primary button {
    color: #FFF!important;
}
.mce-btn button {
    color: #595959!important;
}

/* Rating Thumbs */
.gdrts-thumbs-theme-plain .gdrts-thumb {
    background: none;
}

.gdrts-inner-wrapper {
    text-align: right;
}

.red-btn,
.red-btn a,
.button a,
#bbpress-forums #bbp-your-profile fieldset.submit button,
#bbp_user_edit_submit,
.gform_button.button,
input[type=submit],
button,
.button,
a.button,
span.button,
#bbpress-forums > #subscription-toggle a,
.elementor-button{
    background: #ed3029;
    color: #fff;
    border-color: #fff;
    display: inline-block;
}

.button.small {
    padding: 3px 8px;
    font-size: 12px;
    font-family: 'Open Sans';
    position: relative;
    right: -15px;
    box-sizing: border-box;
    cursor: pointer;
}

a.small-text {
    font-size: 13px;
    margin-bottom: 12px;
    display: inline-block;
    font-weight: bold;
}

.red-btn:hover,
.red-btn a:hover,
.button a:hover,
.no-touch button:hover,
#bbpress-forums #bbp-your-profile fieldset.submit button:hover,
#bbp_user_edit_submit:hover,
.gform_button.button:hover,
input[type=submit]:hover,
.ajp-button button:hover,
.button:hover,
a.button:hover,
span.button:hover,
.wpProQuiz_button:hover,
.wpProQuiz_QuestionButton:hover,
.button.small:hover,
.elementor-button:hover{
    text-decoration: none;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
    background-color: #333 !important;
    color: #FFF !important;
}

#bbpress-forums > #subscription-toggle a {
    display: inline-block;
    padding: 6px 12px;
}

#bbpress-forums table#user-profile {
    border: none;
}

#bbpress-forums #bbp-your-profile fieldset label[for]{
    width: 200px;
}

span.bbp-header {
    color: #ccc;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta {
    font-size: 14px;
}

body#tinymce {
    font-family: Open Sans, sans-serif;
}

#bbpress-forums > #subscription-toggle:before,
#bbpress-forums > #subscription-toggle:after {
    content: none;
}

div.bbp-breadcrumb {
    line-height: 2.2em;
}

body.bbp-user-edit option#display_username {
    display: none;
}

#bbpress-forums #bbp-your-profile fieldset input,
#bbpress-forums #bbp-your-profile fieldset textarea {
    background: #ffffff;
}

#bbpress-forums #bbp-your-profile fieldset input[disabled="disabled"] {
    background: #f9f9f9;
}

#bbpress-forums fieldset.bbp-form label[for="nickname"],
#bbpress-forums fieldset.bbp-form input#nickname {
    display: none;
}

.back-to-forum.right {
    /*margin-bottom: 20px;*/
    position: absolute;
    right: 12px;
}

.back-to-forum.left {

}

div.back-to-forum.bottom {
    margin-top: 20px;
    text-align: center;
}

.bbpress #wp-link-close {
    right: 50px;
}

.bbpress #wp-link-update {
    line-height: 8px;
}

.bbpress #link-selector p.howto {
    display: none;
}

.has-text-field #wp-link .query-results {
    top: 260px !important;
}

/* Reply editor tabs */
.wp-editor-tabs {
    display: none;
}

/* Unread */
.bbp-body .hentry.bbppu-unread > li:first-child {
    border-left: 5px solid #ed3029;
}

/* Notices */
.bbp-template-notice {
    display: block;
}

/* Forum help closed fix */
#bbpress-forums .status-closed a,
#bbpress-forums #bbp-topic-10470.status-closed a,
#bbpress-forums #bbp-topic-9306.status-closed a {
    color: #ed3029;
}

#bbpress-forums .status-closed,
#bbpress-forums #bbp-topic-10470.status-closed,
#bbpress-forums #bbp-topic-9306.status-closed,
#bbpress-forums #bbp-topic-10470 a.bbp-topic-permalink,
#bbpress-forums #bbp-topic-9306 a.bbp-topic-permalink,
#bbpress-forums #bbp-topic-9306 .bbp-topic-freshness > a,
#bbpress-forums #bbp-topic-10470 .bbp-topic-freshness > a {
    color: inherit !important;
}


/* bbPress Pencil Unread Plugin */
.bbp-body .hentry.bbppu-unread > li:first-child {
    border-left: 5px solid #ed3029;
}

/* bbPress Go To First Unread Post Plugin*/
.gtf-new-post {
    border: none;
}

.gtf-new-post:before {
    content: " - ";
    font-size: 12px;
    position: relative;
    top: -3px;
}

.gtf-new-post:after {
    content: "New Replies";
    font-size: 12px;
    position: relative;
    top: -2px;
}

.bbp-attachments {
    display: none;
}

.bbppu-mark-as-read {
    display: inline-block;
    float: right;
}

/* Custom Widget */
.ajp-bbp-rr-excerpt {
    font-style: italic;
}

#ajp-bbp-replies-tabs ul {
    padding-left: 0;
}

.ui-tabs-nav {
    list-style-type: none;
}

ul.ui-tabs-nav {
    text-align: center;
    margin: 12px 0;
}

ul.ui-tabs-nav li {
    display: inline;
}

.ui-tabs-active a {
    text-decoration: underline;
}

#bbpress-forums div.bbp-topic-content ul li,
#bbpress-forums div.bbp-reply-content ul li {
    margin: 10px;
}

@media only screen and (max-width: 480px) {

    #bbpress-forums div.bbp-forum-author,
    #bbpress-forums div.bbp-topic-author,
    #bbpress-forums div.bbp-reply-author {
        float: none;
        width: 100%;
        text-align: left;
    }

    #bbpress-forums div.bbp-forum-content,
    #bbpress-forums div.bbp-topic-content,
    #bbpress-forums div.bbp-reply-content {
        margin-left: 0;
    }

    #bbpress-forums div.bbp-reply-author img.avatar {
        position: relative;
        top: 0;
        float: left;

    }

    #bbpress-forums div.bbp-reply-author a.bbp-author-name {
        margin-top: -12px;
        display: block;
        margin-left: 70px;
    }

    #bbpress-forums div.bbp-reply-author .bbp-author-role {
        margin-top: -20px;
        margin-left: 70px;
    }

    .bbp-reply-ip {
        margin-left: 70px;
    }
}

.bbp-user-edit .acf-field-58bfad2963760 .message,
.bbp-user-edit .acf-field-58bfad3863761 .message {
    /*display: none;*/
}



/****************************************************
 * LEARNDASH - Course / Lesson / Quiz
 ***************************************************/
.wpProQuiz_questionListItem input {
    width: 15px;
    height: 15px;
    vertical-align: middle;
}

.wpProQuiz_button,
.wpProQuiz_QuestionButton {
    background: #ed3029 !important;
    padding: 10px 16px !important;
    border: none !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-sizing: border-box;
    border: 3px solid #fff !important;
    box-shadow: none !important;
}

.wpProQuiz_button:hover,
.wpProQuiz_QuestionButton:hover {
    background: #333 !important;

    text-decoration: none;
    text-decoration: none;
    box-sizing: border-box;
    padding: 10px 16px !important;
}

#learndash_profile .profile_info,
#learndash_profile .learndash_profile_heading {
    display: none !important;
}

#learndash_profile {
    border-top: 0;
}

#learndash_lessons,
#learndash_quizzes,
.expand_collapse,
.notavailable_message,
#learndash_lesson_topics_list div > strong,
#learndash_lesson_topics_list div ul > li .sn,
.learndash_profile_heading,
#learndash_profile a,
#learndash_profile div
#learndash_profile div.expand_collapse a {
    font-size: 14px !important;
}

.expand_collapse a,
#learndash_profile .expand_collapse a {
    color: #515151;
    font-size: 13px;
}

#quiz_heading,
#lesson_heading {
    font-weight: bold !important;
}

span#learndash_course_status {
    font-size: 18px;
}

p#learndash_already_taken {
    padding: 12px 20px;
    background: #ed3029;
    color: #fff;
    font-weight: bold;
}

.post-content .certificate-list a {
    font-size: 16px;
    line-height: 1.6;
}

ol.wpProQuiz_list li:before {
    display: none;
}

nav.sfwd-breadcrumbs.clr.lms-breadcrumbs a {
    color: #ed3029;
}


/****************************************************
 * APP HEADER SLIDER
 ***************************************************/
.app-slider {
    opacity: 0;
}

.app-flexslider {
    line-height: 1.3;
    text-align: left;
}

.app-flexslider img {
    float: left;
    margin: 0 12px 0 0;
}

.app-flexslider h2 {
    margin: 0 0 10px 0;
    line-height: 1;
    font-size: 24px;
    white-space: nowrap;
}

.app-flexslider p {
    margin-bottom: 10px;
}

.app-flexslider a {
    color: #515151;
}

.app-flexslider a:hover {
    text-decoration: none;
    /*color: #ed3029;*/
}

@media ( max-width: 728px ) {

    .app-flexslider {
        text-align: center;
    }

    .app-flexslider img {
        float: none !important;
    }

    .app-flexslider h2 {
        margin-top: 10px;
        white-space: normal;
        font-size: 18px;
    }

    .app-flexslider p {
        font-size: 12px;
    }

    div[class*="-flexslider"] .slides > li {
        max-height: 100%;
    }
}


/** DISQUS **/
#disqus_thread {
    padding-top: 0px !important;
    margin-bottom: 40px;
    margin-top: 0px !important;
    border-top: none !important;
}

#ajp_disqus_notice p {
    display: none;
    padding: 12px 20px;
    margin-bottom: 40px;
    background-color: rgba(240, 210, 40, 0.5);
}


/** ACF USER PROFILE **/
.form-table > tbody > .acf-field > .acf-label {
    padding: 20px 10px;
}

.form-table > tbody > .acf-field td {
    background: #fefefe;
}


/** SINGLE POST **/
.vw-main-post:not(:last-child),
.vw-about-author:not(:last-child),
.vw-related-posts:not(:last-child),
.vw-our-picks-posts:not(:last-child),
.vw-post-navigation:not(:last-child),
.vw-comments-area:not(:last-child),
.vw-post-footer-section-custom:not(:last-child){
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.vw-post-footer{

    margin-top: 24px;
}
/*.vw-post-navigation:not(:last-child) {*/
/*    margin-bottom: 0;*/
/*    padding-top: 48px;*/
/*    border-top: 1px solid rgba(0, 0, 0, 0.05);*/
/*    border-bottom: none;*/
/*}*/

/* ELEMENTOR */
.elementor p a{
    color: #ed3029;
}


/** Knoledgebase Plugin **/

.helpsection .vw-post-header{
    margin-bottom: 20px;
}

.mkb-root h1, .mkb-root h2, .mkb-root h3, .mkb-root h4, .mkb-root h5, .mkb-root h6 {
    line-height: 1.4em;
}

.page .mkb-page-header,
.mkb-archive .mkb-page-header,
.mkb-search .mkb-page-header {
    font-size: 1.3em;
    text-align: left;
    margin-bottom: 1em;
}

.mkb-root h1,
.kb-search__title{
    text-transform: uppercase;
}

.main-nav .menu-link, .vw-menu-main .sub-menu-link {
    font-size: 15px;
    text-transform: uppercase;
}

.mkb-article-item--simple .mkb-entry-title {
    font-size: 1.1em;
}

.kb-search__results {
    left: 2px;
    right: 2px;
}

input.kb-search__input::placeholder {
    color: #333;
}

.mkb-floating-helper-wrap {

}

.mkb-floating-helper-btn{
    width: 122px !important;
    height: 44px !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
    border-radius: 0 !important;
}

i.mkb-floating-helper-btn-icon.fa.fa-question:after {
    content: 'NEED HELP';
    font-size: 12px;
    padding-left: 7px;
    position: relative;
    top: -2px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    display: inline-block;
}

.mkb-floating-helper-bottom-html {
    padding: 10px 20px;
}

a.back-to-top.button {
    bottom: 2em !important;
}

.mkb-article-extra__like, .mkb-article-extra__like:focus, .mkb-article-extra__like:active, .mkb-article-extra__like:visited, .mkb-article-extra__like:hover, .mkb-article-item__likes i {
    color: #4BB651 !important;
}

.mkb-article-extra__dislike, .mkb-article-extra__dislike:focus, .mkb-article-extra__dislike:active, .mkb-article-extra__dislike:visited, .mkb-article-extra__dislike:hover, .mkb-article-item__dislikes i {
    color: #C85C5E !important;
}