/*--------------------------------------------------------------
Add your css here
---------------------------------------------------------------*/
#buddypress #mobile-item-nav ul li a{ top: 0;}
/******23-05-16**********/
.post-type-archive-sfwd-courses .site-content article.type-sfwd-courses:last-child {
  border-bottom: medium none;
}
div#header_section_customclass {
    height: 125px;
    top: 0;
    z-index: 9999;
    width: 100%;
}
div#header_section_customclass.fixed{
position:fixed;
}

@media only screen and (min-width:780px){ 
.post-type-archive-sfwd-courses .entry-post-thumbnail {
  clear: left;
  display: block;
  float: left;
  height: 200px;
  margin-bottom: 30px;
  overflow: hidden;
  position: relative;
  width: 40%;
}
.post-type-archive-sfwd-courses .post.no-results.not-found, .post-wrap {
    float: right;
    padding: 20px 30px 30px;
    width: 51%;
}
.post-type-archive-sfwd-courses .archive-header h1.main-title {
  font-size: 40px !important;
}
.post-type-archive-sfwd-courses .type-sfwd-courses .post-wrap .entry-title > a {
  font-size: 25px !important;  
} 
  .post-type-archive-sfwd-courses .entry-post-thumbnail img {
  border: 5px solid #3c7a90;
  width: 80% !important;
}
  .post-type-archive-sfwd-courses .entry-post-thumbnail {
  background-color: #fff;
}
  .post-type-archive-sfwd-courses .site-content article.type-sfwd-courses {
  border-bottom: 3px solid rgba(0, 0, 0, 0.11);
  float: left;
  width: 100%;  
  margin-bottom: 10px;
}
}
@media screen and (max-width: 767px) {
div#header_section_customclass {
    height: auto;
}
}


/* Courses icon on mobile nav */

@media screen and (max-width: 480px) {
	#mobile-item-nav ul li#nav-experiences-groups-li:before,
	body.single-sfwd-courses #mobile-item-nav ul li#home-groups-li.current:before{
		content: "\f19d";	
	}
}

@media screen and (max-width: 780px) {
   #wp-admin-bar-my-account-courses a.ab-item[aria-haspopup=true]:before,
.mobile-item-nav-wrapper #courses-personal-li:before {
	    content: "\f19d";	
	    font-family: 'FontAwesome';
}
 
}
@media screen and (max-width: 779px){
/**23-05-16**/ 
  .post-type-archive-sfwd-courses .entry-post-thumbnail img {
  border: 5px solid #3c7a90;
  margin-left: 10%;
  width: 80% !important;
}
  .post-type-archive-sfwd-courses .entry-title {
  font-size: 25px !important;
  text-align: center !important;
}
  .post-type-archive-sfwd-courses .entry-meta.mobile {
  border-bottom: medium none;
  border-top: medium none;
}

.post-type-archive-sfwd-courses .entry-content.entry-summary {
  border-bottom: 3px solid rgba(0, 0, 0, 0.11);
  font-size: 14px;
  margin-bottom: 10px;
}
  
}

.bb-global-search-ac.ui-autocomplete.ui-widget-content {
    left: auto !important;
    margin-top: -30px;
    position: absolute;
    right: 30px;
    top: 100% !important;
	height:500px;
	max-height: none;
}
#search-4 {
    overflow: visible !important;
    position: relative;
}

/* login button */
#menu-item-6960 a{
    display: inline-block;
    background-color: #2080e0;
    border-radius: 3px;
}
#menu-item-6960 a:hover{
    color: #fff;
    background-color: #1C6FC2;
}

/*checkout custom style */
.woocommerce #customer_details,
.woocommerce #order_review{
    width: 47%;
    display: inline-block;
    vertical-align: top;
}
.woocommerce #order_review{
    margin-left: 30px;
    float: right;
}
.woocommerce #order_review_heading{
    display: none;
}
.woocommerce #order_review:before{
    content: "Your order";
    font-size: 18px;
    font-family: "LeagueSpartan";
    color: #2080e0;
    margin-bottom: 30px;
    display: block;
}
.woocommerce #customer_details .col-1{
    width: 100%;
}
.woocommerce #customer_details .col-2{
    display: none;
}
@media (max-width: 767px){
    .woocommerce #customer_details,
.woocommerce #order_review{
        width: 100%;
    }
    .woocommerce #order_review{
        margin-top: 30px;
        margin-left: 0;
        float: none;
    }
}

/* logged out message box */
.logged-out-alert{
    display: inline-block;
    background-color: #cccccc;
    max-width: 500px;
    width: 100%;
    border-radius: 5px;
    padding: 15px 10px;
    margin: 20px 0;
}
.logged-out-alert a.butn{
    display: inline-block;
    background-color: #2080e0;
    border-radius: 3px;
    color: #fff;
    padding: 2px 10px;
    margin-top: 10px;
}
.logged-out-alert a.butn:hover{
    background-color: #3f9bf6;
    color: #fff;
}

/* main menu edits */
.entry-content li, .comment-content li, .mu_register li {
margin: 0 0 0 6px;
}
@media (min-width: 768px) {
    #menu-public-header-menu{
        display: flex;
        justify-content: flex-end;
    }
}

/* style fixed menu */
div#header_section_customclass.fixed{
    left: 0;
    background-color: #082935;
    height: 70px;
}
div#header_section_customclass.fixed .fl-module-content{
    max-width: 1100px;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-top: 9px;
    background: rgba(8,41,53, 1);
}
div#header_section_customclass.fixed .fl-module-content .fl-menu{
    margin: 0 10px !important;
}

/* fix homepage footer */
#footer3share-row .facebook .fb-like.fb_iframe_widget{
    top: initial;
    left: initial;
}
#footer3share-row .facebook .fb-like.fb_iframe_widget>span{
    width: 90px !important;
}
#footer3share-row .sm-title{
    margin-bottom: 10px;
}

/* add styling to blockquote to make it look nicer */
blockquote.special-block{
    background-color: #fff !important;
    border-radius: 5px !important;
}

a.special-button{
    display: inline-block;
    background-color: #2080e0;
    border-radius: 3px;
    color: #fff;
    padding: 10px;
    line-height: 1;
    margin-top: 10px;
}
a.special-button:hover{
    background-color: #1C6FC2;
    color: #fff;
}

/* hide ld course material */
#learndash_course_materials{
    display: none !Important;
}

/* T&C modal */
body:not(.fl-builder-edit) .modal_wrapper {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 0 70px;
    background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(rgba(255,255,255,0.3)),
  to(rgba(41, 26, 73, 0.5)));
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 999999;
    opacity:0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    pointer-events: none;
}
body:not(.fl-builder-edit) .modal_wrapper:target {
    opacity:1;
    pointer-events: auto;
}
.modal_wrapper .fl-module-content {
    width: auto;
    max-width: 800px;
    position: relative;
    margin: 130px auto;
    padding: 5px;
    border-radius: 6px;
    background: #fff;
    -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.6);
}
.modal_wrapper .fl-module-content .fl-rich-text{
    width: auto;
    height: auto;
    max-height: 70vh;
    overflow-x: hidden;
    padding: 0 0 0 15px;
}
.modal_wrapper .close {
    position: absolute;
    right: -38px;
    top: -37px;
    font-size: 0;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.modal_wrapper .close:after {
    content: "\f00d";
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
    color: #000;
    font-size: 35px;
    padding-right: 0.5em;
    position: absolute;
    top: -6px;
    left: 7px;
}

@media (max-width: 600px){
    .modal_wrapper .fl-module-content{
        margin: 50px auto;
    }
}


/* fix download box styling */
.download-box,
.download-box .download-text{
    width: auto !important;
}
.download-box .download-icon{
    width: auto !important;
    float: none !important;
}
.download-box .download-icon>a{
    width: auto !important;
    float: none !important;
    padding: 12px 15px !important;
    margin-top: 10px;
}

/* enable  forum posting */
.bbp-topic-form,
.bbp-reply-form,
.bbp-admin-links{
    display: block !important;
}

/* unify forum sidebar styling */
#secondary #text-2,
#secondary #text-5{
    padding: 0!important;
}

#secondary .widget .textwidget>h3{
    background-color: #1D73C9;
    color: #fff;
    padding: 20px 30px;
}
#secondary .widget #lesson_heading{
    background-color: #1966b5;
    color: #fff;
}
#secondary .widget #learndash_lessons{
    border: none !important;
}

#secondary .widget #lesson_heading .expand_collapse a{
    color: #fff;
}
#secondary .widget #lesson_heading>span{
    padding-right: 20px;
}
#secondary .widget #lesson_heading .expand_collapse{
    float: none !important;

}
#secondary .widget #lessons_list .lesson h4{
    padding: 10px 10px 10px 76px;
}
#secondary .widget #lessons_list .lesson h4 a{
    font-size: 15px !important;
    font-weight: 600 !important;
}
#secondary .widget #lessons_list .lesson h4 a:before{
    font-size: 20px !important;
}


#secondary .widget #searchform #searchsubmit{
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 18px;
}
#secondary .widget #searchform input[type="text"]{
    background-color: #fff;
}

body.search-results article .entry-summary>p{
    font-size: 16px;
}
body.search-results article header .entry-title a{
    font-size: 24px;
}

/**
 * Modify Pricing Table to add custom button
 */

.uo-pricing-box {}

    .uo-pricing-box.uo-pricing-box--hide-button .fl-button-wrap,
    .uo-pricing-box.uo-pricing-box--hide-button br {
        display: none;
    }

    .uo-pricing__footer {}

        .uo-pricing__footer p {
            margin-bottom: 0;
        }

        .uo-pricing__button {
            width: auto;
            font-size: 16px;
            line-height: 18px;
            padding: 8px 16px;
            border-radius: 4px;
            color: #fff;
            background: #00a94e;
            border: 1px solid #009d42;
            text-align: center;
            display: block;
        }

        .uo-pricing__notice {
            padding: 10px;
            border-radius: 4px;
            text-align: center;
            line-height: 1.4;
            background: #fd8317;
        }

/**
 * Checkout
 * Fix layout
 */

@media screen and (min-width: 770px){
    .woocommerce-page .gift-certificate.sc_info_box {
        width: 47% !important;
        float: right !important;
        display: inline-block !important;
        vertical-align: top;
    }

    .woocommerce-page  #customer_details {
        float: left !important;
    }
}

@media screen and (max-width: 769px){
    .woocommerce-page .gift-certificate.sc_info_box {
        margin-top: 30px;
    }
}