/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.1
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

.woopack-product-action a {
    background: #00588a !important;
	color: #ffffff !important;
}

.gform_legacy_markup_wrapper .gf_progressbar_wrapper .gf_progressbar_title {
    color: #000000 !important;
    font-weight: bold;
}

label {
    color: #000000;
}


.service-box > .fl-col-content {
    position: relative;
    min-height: 300px !important;
    overflow: hidden;
}



.service-box .fl-col-content {
    min-height: 300px !important;
}

.service-box .fl-col-group-nested {
    position:  absolute;
    min-height: 300px !important;
    left: 0;
    top: 300px;
    width: 100%;
    transition: all .5s ease;
    background: rgba(0, 128, 138, 0.8);
    padding-top: 0;
}


.service-box:hover .fl-col-group-nested{
    top:0 !important;
    background: rgba(0, 128, 138, 0.8);
}


.service-box .h-title {
    opacity:1;
    transition: all .5s ease;
    background: rgba(0, 128, 138, 0.8);
    align-self: flex-end;
}

.service-box:hover .h-title{
    opacity: 0;
}

.service-box a{
    text-decoration: none;
}

.service-box > .fl-col-content  {
    justify-content: flex-end !important;
}



.service-box > .fl-col-content > a > .fl-module-heading a{
    font-weight: 500;
}

.service-box .fl-col-group-nested .fl-col-content > a {
    padding: 0 14%;
}

.service-title h1{
    text-transform: uppercase;
}

.odd-s:hover .fl-col-group-nested, .odd-s .h-title {
    background: rgba(0, 88, 138, 0.8);
}

/*==============*/

.service-box2 > .fl-col-content {
    position: relative;
    overflow: hidden;
    border-radius: 50%;

    border: 9px #00588a solid;
}

.fl-builder-edit .service-box > .fl-col-content, .fl-builder-edit .service-box2 > .fl-col-content {
    overflow: visible;
}

.fl-builder-edit .service-box:hover .h-title, .fl-builder-edit .service-box2:hover .h-title, .service-box2:hover .pack-icon{
    opacity: 1;
}


.service-box2 .fl-col-group-nested {
    position:  absolute;
    left: 0;
    top: 440px;
    width: 100%;
    transition: all .5s ease;
    background: rgba(19,168,158, 0.8);
    padding-top: 0;
    border-radius: 50%;
}




.service-box2:hover .fl-col-group-nested{
    top:-10px !important;
    background: rgba(93,169,221,0.8);
}


.service-box2 .h-title {
    opacity:1;
    transition: all .5s ease;
    /*    background: rgba(19,168,158, 0.8);*/
}

.service-box2:hover .h-title{
    opacity: 0;
}

.service-box2 .pack-icon{
    opacity:1;
    transition: all .5s ease;
}
.service-box2:hover .pack-icon{
    opacity: 0;
}

.service-box2 a{
    text-decoration: none;
}

.service-box2 > .fl-col-content > a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}

.service-box2 > .fl-col-content > a > .fl-module-heading{
    align-self: center;
}

.service-box2 > .fl-col-content > a > .fl-module-heading a{
    font-weight: 500;
}

.service-box2 .fl-col-group-nested .fl-col-content > a {
    padding: 0 14%;
}

.service-title h1{
    text-transform: uppercase;
}

.service-box2 > .fl-col-content, .service-box2 .fl-col-group-nested, .service-box2 .fl-col-group-nested .fl-col-content{
    height: 440px;
    width: 440px;
}


/*News section*/

.news-m {
    position: relative;
}

.news-t{
    position: absolute;
    top: 46%;
    left: 0;
    width: 100%;
    background: rgba(235, 137, 35, 0.9);
}

.news-m img {
    transition: all 0.5s ease;
    filter: grayscale(0%);
}

.news-m:hover img {
    filter: grayscale(100%);
}



.home-vacan .uabb-module-content{
    justify-content: center;
}

.home-vacan .uabb-post-wrapper {
    height: 450px;
    width: 450px;
    border-radius: 50%;
    margin: 20px;
    border: 4px solid transparent;
    transition: all 0.5s ease;
}

.home-vacan .uabb-post-wrapper:hover {

    border: 4px solid #5DA9DD;
}

.home-vacan .uabb-blog-post-inner-wrap{
    height: 100%;
}

.circle-b-b .fl-col-content {
    border-radius: 50%;
    min-height: 30vw;
}


.nur-blue-row .service-box .fl-col-content {
    min-height: 420px;
}

a {
    transition: all 0.5s ease;
}

/*============================News Page===================================*/

.news-row .pp-content-grid-post-title h2 {
    color: #00588A;
    font-weight: 500;
}

.news-row .pp-content-grid-post-excerpt p {
    font-size: 24px;
}

.news-row .pp-content-grid-post-more-link a{
    float: right;
    color: #fff;
    background: #00588A;
    border: 3px solid #FFFFFF;
    padding: 10px 20px;
    font-size: 27px;
}

.news-row .pp-content-grid-post-more-link a:hover{
    color: #00588A;
    background: #fff;
    border: 3px solid #00588A;
}

.news-row .pp-content-grid-post-image img{
    border-radius: 30px;
}

.news-row li[data-filter=".category-early-years-guidance-blogs"], .news-row li[data-filter=".category-infant-nutrition-blogs"], .news-row li[data-filter=".category-physical-activity-blogs"], .news-row li[data-filter=".category-pregnancy-blogs"], .news-row li[data-filter=".category-recipe-blogs"], .news-row li[data-filter=".category-toddler-nutrition-blogs"], .news-row li[data-filter=".category-top-tips-blogs-nutrition-services"], .news-row li[data-filter=".category-training"], .news-row li[data-filter=".category-home-news"], .news-row li[data-filter=".category-nutrition-news"]{
    display: none;
}

.jobs-acc .jobs-meta p{
    margin: 0;
    font-weight: bold;
}
.jobs-acc .fl-post-excerpt{
    margin-bottom: 20px;
}

.jobs-acc .job-link{
    cursor: pointer;
}

.jobs-acc .card {
    margin: 25px 0;
    border: none;
}

.jobs-acc  .card  .collapsed .card-header{
    border: 2px solid #5DA9DD;
    background-color: transparent;
    transition: all 0.5s ease;
}

.jobs-acc  .card   .card-header{
    border: 2px solid #5DA9DD;
    background-color: transparent;
    transition: all 0.5s ease;
    border-bottom:  0  ;
}

.jobs-acc .collapse{
    border: 2px solid #5DA9DD;
    border-top:  0  ;
}

.jobs-acc .job-link:hover .card-header {
    background-color: rgba(93,169,221, 0.3);
}

.jobs-acc .job-des {
    margin-top: 20px;
}

.jobs-acc .show-more, .jobs-acc .fl-post-excerpt {
    display: none;
}


.jobs-acc .collapsed .show-more, .jobs-acc .collapsed .fl-post-excerpt {
    display: block;
}


.jobs-acc .show-more {
    text-align: right;
    margin: 20px 0;
}

.jobs-acc .show-more span {
    color: #fff;
    padding: 10px 40px;
    background: #00588A;
    font-weight: bold;
    border: 3px solid #FFFFFF;
}

.jobs-acc .apply-link {
    margin-right: 30px;
    padding: 10px 40px;
    color: #ffffff;
    background-color: #00588A;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid #FFFFFF;
}

.jobs-acc .jobs-apply .job-link{
    padding: 10px 40px;
    color: #fff;
    background-color: #00588A;
    font-weight: bold;
    border: 3px solid #FFFFFF;
}

.jobs-acc .jobs-apply {
    text-align: right;
    margin: 20px 0;
}

.jobs-acc .jobs-apply .job-link:hover, .jobs-acc .apply-link:hover, .jobs-acc .show-more span:hover, .direct-form input[type="submit"]:hover{
    color: #00588A;
    background-color: #fff;
    border: 3px solid #00588A;
}

.direct-form {
    display: flex;
}

.direct-form input[type="submit"] {
    margin: 0 10px;
    cursor: pointer;
    background-color: #00588A;
    font-weight: bold;
    border: 3px solid #FFFFFF;
    transition: all 0.5s ease;
}

.guest-blog-row .fl-col-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between !important;
}


.work-with-us-boxes .service-box:hover .h-title {
    opacity: 1;
}

.work-with-us-boxes a:hover span{
    color:rgb(235, 137, 35) !important ;
}

.testimonial-box .uabb-testimonial {
    border-radius: 50px;
}

.uabb-tab-acc-title:hover .uabb-tabs-icon i{
    transition: all 0.5s ease;
}

.service-box3 {
    min-height: 300px !important;
    background-size: cover !important;
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
}

.related-pages .fl-post-grid .fl-post-column:nth-child(even) .h-title{
    background: rgba(0, 128, 138, 0.8);
}

.related-pages .fl-post-grid .fl-post-column:nth-child(odd) .h-title{
    background: rgba(0, 88, 138, 0.8);
}

.service-box3 .h-title h3{
    font-size: 20px;
    text-align: center;
    min-height: 50px;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.service-box3 .h-title a{
    color: #fff;
}

.service-box3 .h-title a:hover{
    color: #00588a;
}

/*
.blog-of-month img{
    border-radius: 50%;
}*/

/*============================Course Boxes===================================*/

.course-boxes .service-box {
    background-size: cover !important;
    background-position: center center !important;
}

.course-boxes .h-title h3, .course-boxes .h-title2 h3 {
    color: #fff;
    line-height: 3em;
}

.course-boxes .service-box .fl-col{
    width:100%;
}

.course-boxes .fl-module-content{
    margin: 0;
}

.course-boxes .service-box > .fl-col-content {
    justify-content: flex-end;
    display: flex;
    flex-direction: column;
}

.course-boxes .h-title{
    width: 100%;
}

.course-boxes  .service-box .fl-col-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.course-boxes .fl-col-group-nested a{
    color: #EB8923;
    font-weight: bold;
    transition: all 0.5s ease;
} 

.course-boxes .fl-col-group-nested a:hover{
    color: #fff;
}

.news-grid img{
    height:260px;
}

.cookie-b {
    background: #fff !important;
    color: #000 !important;
    text-shadow: none !important;
}

.subcat .col-md-4 {
    text-align: center;
    padding: 15px;
}

.subcat .cat-img {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.subcat .cat-title {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 88, 138, 0.8);
    color: #fff;
    line-height: 2em;
    transition: all 0.5s ease;
}

.subcat a:hover .cat-title {
    color: #00588a;
}

.subcat .row{
    justify-content: center;
}

/*============================Online Courses===================================*/

.alter-course  .pp-content-post-grid > .pp-grid-custom:nth-child(even) .service-box {
    float: right;
    margin-left: 50px;
}

.alter-course  .pp-content-post-grid > .pp-grid-custom:nth-child(odd) .service-box .fl-col-group-nested, .alter-course  .pp-content-post-grid > .pp-grid-custom:nth-child(odd) .service-box .h-title{
    background: rgba(0, 88, 138, 0.8);
}

.alter-course .pp-content-post-grid > .pp-grid-custom:nth-child(odd) .service-box {
    float: left;
    margin-right: 50px;
}

.alter-course .service-box {
    min-width: 525px;
    text-align: center;
}

.alter-course .course-boxes .pp-content-grid-post-text {
/*    float: left;*/
    padding: 20px 20px 0 20px;
}

.alter-course .woocommerce-product-details__short-description, .alter-course .pp-content-grid-post-excerpt {
    font-size: 18px;
}





.single-course .fl-html {
    text-align: center;
}

.single-course  #btn-join:hover {
    background: #fff;
    color: #00588a;
    border: 1px solid #00588a;
    transition: all 0.5s ease;
}

.single-course  #btn-join {
    background: #00588a;
    color: #fff;
    border: 1px solid #fff;
    transition: all 0.5s ease;
}

.single-course #learndash_course_content {
    margin-top: 20px;
}

.course-nav .ld-course-navigation-widget-content-contaiiner {
    font-size: 16px;
}

.learndash_content a{
    text-decoration: underline
}

#learndash_next_prev_link a {
    background: #00588a;
    color: #fff;
    padding: 20px 40px;
    border: solid 2px #fff;
    transition: all 0.5s ease;
}

#learndash_next_prev_link a:hover {
    background: #fff;
    color: #00588a;
    border: solid 2px #00588a;
}

.profile_avatar, .woocommerce-MyAccount-navigation-link--downloads, #menu-item-5030 > a:nth-child(1), .fl-page-header-primary, #menu-item-5429 > a:nth-child(1) {
    display: none;
}

.woocommerce-Address {
    max-width: 100%; 
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
}

.centred-r {
    justify-content: center;
}



/*Browsers*/

#all-courses-btn-1 > div > div > a > span, #all-courses-btn-2 > div > div > a > span{
    color: #00588a!important;
}
#all-courses-btn-1 > div > div > a.fl-button:hover > .fl-button-text, #all-courses-btn-2 > div > div > a.fl-button:hover > .fl-button-text{
    color:white!important;
}


/*Header*/

@media(min-width:1124px) and (max-width:1255px){
    #menu-main-menu > li:nth-child(n){
        margin-left:0;
        
    }
}

@media(max-width:991px){
    .esg-logo > div{
        margin-bottom:0!important;
    }
}

@media(max-width:798px){
    #menu-login-1{
        display:flex;
    }
    .small-esg-logo > div{
        margin-bottom:0!important;
        margin-top:0!important;
    }

}

@media(min-width:320px) and (max-width:384px){
    #menu-login-1 > li:nth-child(n) > a{
        padding-right:1px;
        padding-left:0;
    }
}


/*Responsiveness*/

@media (max-width: 768px){
    .fl-col-small {
        max-width:100%;
    }
}

/*Home*/
@media (max-width: 768px){
    .news-m{
        max-width:400px;
        margin: 0 auto;
    }
}

@media(max-width:814px) and (min-width: 769px){
    .service-box.odd-s > div > div.fl-module.fl-module-heading.h-title, .service-box.odd-s > div > div.fl-module.fl-module-heading.h-title > div > h3 > span, .service-box > div > div.fl-module.fl-module-heading.h-title > div > h3 > span{
        font-size:0.9em;
    }
}


@media(max-width: 1527px){
    .news-m > div > h3 > a{
        font-size:0.9em!important;
    }
}





.health-award{
    max-width:100%;
}


@media (max-width: 798px){
#menu-login-1 {
    display: flex;
    justify-content: flex-end;
}
}

@media (max-width:550px){
	.jobs-acc .jobs-apply .job-link, .jobs-acc .apply-link{
		float: right;
		margin-right:0;
	}
}


.service-box > .fl-col-content > a, .service-box2 > .fl-col-content > a, .service-box3 > .fl-col-content > a   {
    width: 100%;
}

@media (max-width: 550px){
    .alter-course .service-box {
    min-width: 335px;
    text-align: center;
    
}
    
    .course-boxes .h-title h3, .course-boxes .h-title2 h3 {
    color: #fff;
    line-height: 1.3em;
}
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .checkout .col-1, .checkout .col-2{
         max-width: none;
    }

}


.jobs-acc * {
    width: 100% !important;
}