/** GENERAL **/
.textwidget p{
    margin-bottom: 0;
}
.button.link{
    cursor: pointer;
}
.widget_ajp_members_widget span.button,
.widget_ajp_comments_widget .button{
    margin-right: 10px;
}

.widget_ajp_members_widget span.button{
    padding: 0;
}

#custom_html-3 h3.widget-title{
    display:none;
}

.login-register{
    display: inline-block;
}

.vw-content-main table{
    max-width: 100%;
}

/** JetPack **/
#jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post .jp-relatedposts-post-title a{
    color: #ed3029;
}
#jp-relatedposts h3.jp-relatedposts-headline{
    font-size: 16px!important;
}
/** Related Posts Plugin **/
.related-gallery .gallery-item{
    opacity: 0.8;
    width: 31% !important;
    margin-right: 8px;
    padding: 4px;
}
.related-gallery .gallery-item:hover{
    opacity: 1;
}
.related-gallery .gallery-item:last-child {
    margin-right: 0;
}
.related-gallery .gallery-item .wp-caption-text{
    padding: 0;
}
.related-gallery .gallery-item a{
    font-size: 14px;
    color: #ed3029;
}


/** MOBILE MENU **/
#wprmenu_bar, #wprmenu_bar *{
    text-align: center;
}
#wprmenu_bar .menu_title{
    top: 0;
}


/** LEARNDASH TRAINING **/
#learndash_profile{
    clear: none;
}
.learndash_profile_quizzes .statistics {
    display: none;
}
input#btn-join {
    display: block;
    width: 100%;
    padding: 12px 24px!important;
    font-size: 20px;
}
@media (max-width: 767px){

    #learndash_profile.dashboard dd.course_progress,
    #course_list h4 div.right,
    .learndash_profile_quizzes .certificate{
        display: table-cell !important;
    }
}
.learndash_post_sfwd-lessons .fluid-width-video-wrapper{
    margin-bottom: 20px;
}

.learndash a.btn-blue {
    color: #fff;
}

#ld-profile .ld-icon.ld-icon-certificate{
    font-size: 20px;
}


/*!******** LEARNDASH 4 CHANGES **********************!*/

.learndash-wrapper .ld-item-lesson-item .ld-item-title,
.learndash-wrapper .ld-item-list-item-quiz .ld-item-title{
    padding-top:4px;
}

section.ld-course-status-segment.ld-course-status-seg-price.ld-course-status-mode-free{
    display: none;
}

/* COURSE CHANGES */
.learndash-wrapper .ld-item-lesson-item .ld-item-title::before{
    content: 'Lesson: ';
}
.learndash-wrapper .ld-item-list-item-quiz .ld-item-title::before{
    content: 'Quiz: ';
}


/* QUIZ CHANGES */
.ld-quiz-status .ld-breadcrumbs{
    display: none;
}

.learndash-wrapper .ld-button:not([disabled]):not(.ld-button-reverse):not(.ld-button-transparent):not(.ld--ignore-inline-css),
.learndash-wrapper .ld-course-status-action #btn-join,
#wpProQuiz_user_content table.wp-list-table thead th, #wpProQuiz_overlay_close:not([disabled]),
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button:not([disabled]):not(.wpProQuiz_button_reShowQuestion):not(.wpProQuiz_button_restartQuiz),
.wpProQuiz_button.wpProQuiz_QuestionButton{
    background: #ed3029 !important;
    color:#fff !important;
    font-size: 14px !important;
    font-family: Oswald !important;
    text-transform: uppercase !important;
}
.learndash-wrapper .ld-course-status-action #btn-join{
    font-size: 16 !important;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_certificate a.btn-blue:not([disabled]){
    background-color: #3c66ff !important;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
}
.learndash-wrapper .ld-item-list .ld-item-list-item .ld-item-list-item-expanded .ld-item-contents {
    padding: 0 20px;
}
.wpProQuiz_quiz{
    margin-top: 60px;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_reShowQuestion:hover,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_button_restartQuiz:hover{
    background-color: #333 !important;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerCorrectIncomplete label{
    background: none;
    border-color: #e2e7ed;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label.is-selected,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item) label:focus-within{
    border-color: #333;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerCorrectIncomplete .ld-quiz-question-item__status--missed{
    display: none;
}
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerCorrect label input,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerCorrectIncomplete label input,
.learndash-wrapper .wpProQuiz_content .wpProQuiz_questionListItem:not(.ld-sortable__item).wpProQuiz_answerIncorrect label input {
    margin-left: 0;
}

/* PROFILE CHANGES */
.ld-profile .ld-table-list-column.ld-column-stats,
.ld-profile .ld-table-list-column.ld-table-list-column-stats{
    display: none;
}
.learndash-wrapper #ld-profile button.ld-icon-search.ld-icon, .learndash-wrapper #ld-profile button.ld-icon-search.ld-icon:hover{
    color:#333 !important;
    background-color: #fff !important;
}

.ld-profile span.ld-icon.ld-icon-certificate {
    background: url(https://ajp.com.au/certificate-images/ld-certificate-icon-small.png);
    width: 26px;
    height: 26px;
    background-size: contain;
}
.ld-profile span.ld-icon.ld-icon-certificate:before{
    content: none;
}


/** AUDIO PLAYLIST **/

.ajp-audio-download {
    position: absolute;
    right: 20px;
    margin-top: -38px;
    font-size: 22px;
    padding: 0 8px;
}
.ajp-audio-download:hover,
.ajp-audio-download:focus{
    text-decoration: none!important;
}
.wp-playlist-item {
    margin-right: 30px;
}
.disabled{
    /*cursor: not-allowed!important;*/
    color: lightgrey!important;
}


/** APP Map **/
.mapplic-popup-link {
    background-color: #ed3029!important;
}

.mapplic-container {
    width: 100%;
}

.mapplic-container {
    width: 100%;
    height: auto;
}

.mapplic-not-found {
    position: static;
}

.mapplic-list-thumbnail {
    /*width: 70px!important;*/
    height: auto!important;
}

.mapplic-lightbox{
    margin-top: 50px;
}

.mapplic-lightbox img.alignleft{
    margin: 0 12px 12px 0
}


/** APP SOCIAL BOARD PLUGIN WIDGET **/
.sboard.sb-widget .sb-content ul{
    overflow-y: scroll!important;
    overflow-x: hidden!important;
}

.sboard .sb-content{
    padding: 0;
}

.sboard.sb-widget{
    border-right: 0;
}


/** RESPONSIVE LIGHTBOX **/
.tos-close{
    top: 48px;
}


/** SELECT2 **/
.select2-results{
    max-height: 340px!important;
}



/** Gravity Forms **/
.gform_wrapper li.gfield.field_description_below+li.gsection{
    margin-top: 44px!important;
}

.gform_confirmation_message > :first-child{
    margin: 0 !important;
    padding: 0 !important;
}

.gf-hidden .gfield_label{
    display: none!important;
}

.gform_wrapper select {
    padding: 8px 2px 8px 8px !important;
}

.su-lightbox-content .gform_wrapper .field_description_below .gfield_description{
    padding: 0;
}

table.gsurvey-likert{
    margin: 0;
}

.gpoll_container {
    word-wrap: normal;
}



/** Events Calendar **/
.post-type-archive-ajp_events_calendar .post-box-classic .post-box-inner {
    width: 100% !important;
}
.post-type-archive-ajp_events_calendar  .vw-post-box--block-i .vw-post-box__inner{
    min-height: 0;
}

.post-type-archive-ajp_events_calendar .vw-loop .vw-post-box {
    border-bottom: 1px solid #b7b7b7;
}
.post-type-archive-ajp_events_calendar .vw-post-box__excerpt h4,
.post-type-archive-ajp_events_calendar .vw-post-box__excerpt p{
    margin: 0 0 12px;
    font-weight: normal;
}

.post-type-archive-ajp_events_calendar .dashicons, .post-type-archive-ajp_events_calendar .dashicons-before:before{
    width: auto;
    height: auto;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.post-type-archive-ajp_events_calendar .vw-post-box__excerpt .dashicons{
    font-size: 20px;
    padding-right: 6px;
    line-height: 1px;
    vertical-align: middle;
    position: relative;
    top: -2px;
}



/** ULTIMATE SHORTCODES PLUGIN **/
.mfp-content .su-lightbox-content, #su-generator .su-lightbox-content {
    max-width: 100%;
}


/** HOME PAGE STICKY COURSES FIX **/
.home .sfwd-courses .vw-categories .vw-sticky-label{
    display: none;
}



/** CPD Countdown Timer **/

.ajp-cpd-ad{
    /*float: left;*/
    box-sizing: border-box;
    display: inline-block;
    /*border:1px solid #999;*/
    width:480px;
    margin-right:20px;
    /*height:140px;*/
    line-height:1px;
    text-align:left;
}

.ajp-cpd-timer{
    box-sizing:border-box;
    display:inline-block;
    /*border:1px solid #999;*/
    width:200px;
    height:140px;
    line-height:0;
}

.countdown-timer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 0;
    position: relative;
    top: -24px;
}

/*.countdown-timer span{*/
    /*display: inline-block;*/
/*}*/

.countdown-section {
    display: block;
    line-height: 0;
    margin-bottom: 12px;
}

.countdown-section:nth-child(2){
    margin-left: -12px;
}

a.ajp-cpd:hover{
    color: #ed3029;
    text-decoration: none;
}

span.countdown-amount {
    padding: 22px 10px;
    color: #333;
    border: 3px solid #ed3029;
    font-size: 26px;
    border-radius: 6px;
    font-weight: bold;
    display: inline-block;
    background-color: #fff;
}

span.countdown-period {
    font-weight: bold;
    font-size: 14px;
    margin-left: 6px;
    position: relative;
    top: -4px;
}

@media (min-width:990px) and ( max-width: 1200px ){

    .sitewide-inline-1 .countdown-timer,
    .sitewide-inline-2 .countdown-timer{
        top: 0;
    }

    .sitewide-inline-1 .countdown-section,
    .sitewide-inline-2 .countdown-section{
        display: inline-block;
        line-height: 0;
        margin-bottom: 12px;
    }
    .sitewide-inline-1 .countdown-section:nth-child(2),
    .sitewide-inline-2 .countdown-section:nth-child(2){
        margin-left: 12px;
    }

}

@media ( max-width: 768px ){

    .ajp-cpd-ad{
        float: none;
        margin-bottom: 12px;
        width: auto;
    }

    .countdown-timer{
        top: 0;
    }

    .countdown-section {
        display: inline-block;
        line-height: 0;
        margin-bottom: 12px;
    }

    .countdown-section:nth-child(2){
        margin-left: 12px;
    }
}
/* CDP MREC */
.mrec .countdown-timer {
    top: 10px;
}
.mrec .countdown-section {
    display: inline-block;
}
.mrec .countdown-section:nth-child(2) {
    margin-left: 12px;
}


/** ABOUT US PAGE **/
.about-page-icon img{
    padding: 35px;
}


/** PODCAST **/
iframe#ajp-podcast {
    height: 41px;
}

.podlove-logo {
    display: none!important;
}

#ajp-podcast-archive-subscribe{
    text-align: left;
}

#ajp-podcast-logo{
    float: left;
    text-align: center;
}

@media ( max-width: 700px ){

    #ajp-podcast-logo{
        float:none;
    }
}

.underline{
    text-decoration: underline;
}

/* RESPONSIVE VIDEO */
.app-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.app-video-wrapper iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.jetpack_widget_social_icons ul{
    text-align: center;
}


/* GAinWP on the frontend */
.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.gainwp button {
    background: #999;
}


/** Fix for sponsored post featured image not showing correctly */
.category-adcheck-hub .vw-post-box__background{
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
}



/** Podcast Reviews **/
.glsr-form-message{
    margin: 20px 0;
}
.glsr-form-message.glsr-has-success {
    color: seagreen;
}

.glsr-reviews{
    display: none;
}

.glsr-reviews .glsr-review {
    border-bottom: solid 1px #ddd;
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.mfp-close-btn-in .mfp-close {
    color: #333!important;
}

button.mfp-close:hover {
    background: #ccc!important;
}

.grey-button{
    border: #555;
    border-radius: 5px;
    background: #555!important;
    color: #FFF;
    font-weight: normal;
    text-transform: uppercase;
    padding: 10px 20px;
}

.glsr-review-author::before {
    content: '- '!important;
}

@media (max-width: 480px ){
    .stars-link-wrapper {
        text-align: center;
    }
    .glsr-star-rating.glsr-stars {
        display: block!important;
        padding-left: 0!important;
        text-align: center;
        margin-top: 4px;
    }
}

/** Sponsored posts custom title font size **/
.post-106397 .vw-post-title,
.post-106405 .vw-post-title{
    font-size:44px;
}

/** LOGIN FORM SHOW PASSWORD **/

.login-password .button.wp-hide-pw {
    background: #bbb !important;
    border: 1px solid transparent;
    box-shadow: none;
    font-size: 14px;
    min-width: 40px;
    padding: 5px 9px;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

.login-password .button.wp-hide-pw:hover {
    background: #aaa !important;
}

.login-password .button.wp-hide-pw:focus {
    background: transparent;
    border-color: #007cba;
    box-shadow: 0 0 0 1px #007cba;
    /* Only visible in Windows High Contrast mode */
    outline: 2px solid transparent;
}

.login-password .button.wp-hide-pw:active {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.login-password .button.wp-hide-pw .dashicons {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 4px;
    margin-top: -3px;
    line-height: 1.4;
}
span.toggle-text {
    /* padding-bottom: 4px; */
    display: inline-block;
    line-height: 1.4;
}


.login-password .wp-pwd {
    position: relative;
}

.no-js .hide-if-no-js {
    display: none;
}
.login-password input[type=password]{
    font-size: 14px !important;
    padding: 6px !important;
}


/** HELP SECTION **/
.ajp-red{color:#ed3029;}