/*
 Theme Name:   Divi Child
 Theme URI:    https://roletraining.co.uk
 Description:  Divi Child Theme
 Author:       Onion Marketing Ltd
 Author URI:   https://www.squareballoon.co.uk
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  Divi
*/

:root {
    --grey-text: rgb(53, 55, 64);
    --red: #660e36;
    --yellow: #fecc17;
    --grey--blue: #6c8896;
}

body {
    background: #fbfdff;
}
#page-container {
    background: #fff;
}

.grey-text {
    color: rgb(53, 55, 64);
}

input#start_date {
    border-radius: 5px;
    margin-bottom: 50px;
    padding: 10px;
    font-family:'Montserrat', sans-serif;
}

#et-main-area label {
    font-family:'Montserrat', sans-serif;
    color: rgb(53, 55, 64);
}

.sub-menu li {
    border-bottom: 1px solid #f2f2f2;
}

ul.sub-menu {
    padding-top: 0!important;
    padding-bottom: 0!important;
}

#logo {
    max-height:80%!important;
}

.sidebar {
    display:none!important;
}

.wpautoterms-footer {
    display:none!important;
}

#sidebar {
    display:none!important;
}

/*----------Sub Menu----------*/

#top-menu li li a {
    font-size:12px;
}

#top-menu li li a:hover {
    color: #3e007f;
    background: white;
    opacity: 1!important;
}

.nav li ul {
    border-top: 0 solid #3e007f;
    margin-top: -20px;
}



/* FOOTER */

.footercaption {
    padding-bottom:20px;
    font-size: 26px;
    color: #fff!important;
    font-family:'Montserrat', sans-serif;
}

.footer-widget h4{
    padding-bottom:20px;
    font-size: 26px;
    color: #fff!important;
    font-family:'Montserrat', sans-serif;

}

.menu li, a{
    font-family:'Montserrat', sans-serif;

}

.footer-widget p{
    color: #a8b1b8;
    font-family:'Montserrat', sans-serif;
}

.pr-5 {
    color: #a8b1b8;
    font-family:'Montserrat', sans-serif;
}

.footer-widget li{
    list-style-type: none!important;
}


/* END OF FOOTER */

/* WOOCOMMERCE CUSTOM STYLING */
.product_title {
    font-family:'Montserrat', sans-serif;
    text-transform:uppercase!important;
    font-weight:bold;
    margin-bottom:25px!important;
    /*text-decoration:underline;
    text-decoration-color: #fcd21d;*/

}

.woocommerce-product-details__short-description {
    color: #1c1c1c;
    font-family:'Montserrat', sans-serif;
}

.woocommerce-breadcrumb {
    display:none!important;
}

/* END OF WOOCOMMERCE CUSTOM STYLING */

/* PRODUCT TABLE CUSTOM STYLING */
.wptf_product_title {
    font-family:'Montserrat', sans-serif;
    font-weight:bold;
    color:#222222!important;
}

.woocommerce-Price-amount{
    font-family:'Montserrat', sans-serif;
    font-weight:bold;


}

.button {
    font-family:'Montserrat', sans-serif!important;
    text-transform:uppercase!important;
    font-weight:bold!important;
    color:#222222!important;
    border-radius:0!important;
    border-color:#222222!important;
    /*border: 3px solid #222222!important;*/
}

.product-name a{
    color:#222222!important;
}

.wptf_product_title a{
    font-family:'Montserrat', sans-serif;
    font-weight:bold;
    color:#222222!important;

}

.wptf_table_header_row {
    background-color: #f2f2f2;
    text-transform:uppercase!important;
}

tr:nth-child(even) {background-color: #f2f2f2;}
/* END OF PRODUCT TABLE CUSTOM STYLING */



.cscs:hover {
    cursor: pointer;
}

/*JOBS STYLING*/
li.job-type.full-time {
    list-style-type: none;
    border-radius: 5px;
    padding: 7px 20px;
}
body #left-area ul.job-listing-meta.meta, .comment-content ul, .entry-content ul.job-listing-meta.meta{
    list-style-type: none;
    padding-left: 0;
}

body.job_listing-template-default #main-content .container:before,  body.page-id-1978 .container:before, body.page-id-1977 .container:before{
    display: none;
}
body.job_listing-template-default #left-area{
    width: 100%;
}
/*Job Archive Page*/
.search_submit input {
    background: #d3d3d3;
    border: 1px solid #aaa;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 15px;
}
.job_filters .search_jobs input, .job_filters .search_jobs select {
    min-height: 38px;
    padding: 5px 15px;
    border-radius: 4px;
}

.application_details {
    display: block !important;
}


body.page-id-1978 #left-area ul{
    list-style-type: none;
}
li.no_job_listings_found {
    color: red;
}
body .job_listing img {
    max-height: 250px;
    width: auto;
}
body .single_job_listing .company .name{
    margin-top: 0.8em;
}
body.page-id-1977 #left-area {
    width: 100%;
}
body .job_application.application input:hover {
    cursor: pointer;
}
body.home .job_filters{
    background: transparent;
}
body.home .et_pb_section_3.et_pb_section {
    background: url("/wp-content/uploads/2019/02/circle-background-pattern.png");
}


/*HOME NEWS*/
body.home .et_pb_slide.et-pb-active-slide::before {
    content: "";
    background: rgba(0,0,0,0.4);
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    height: 100%;
}

/*SERVICES*/
table.training-courses a{
    text-decoration: underline;
    color: #111;
}
table.training-courses a:hover{
    color: var(--yellow);
}


/* Styling for empty page such as login confirmation */
.page-template-default #et-main-area #content {
    padding: 2rem;
}

/*COURSES ARCHIVE*/
.booking_form .form-group .controls select, .booking_form select, .booking_form textarea, .booking_form input[type="text"] {
    width: 100%;
}
.course-types{
    margin-bottom: 50px;
}
.course-types .course{
    width: 33.3%;
    text-align:center;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
}

.et-db #et-boc .et-l a.popup-trigger {
    color: var(--red);
    border-bottom: var(--red) 1px solid;
    padding-bottom: 0.25rem;
}
.et-db #et-boc .et-l a.popup-trigger:hover {
    border-bottom: none;
}




@media(max-width:480px){
    .course-types .course{
        width: 100%;

    }
    .course-types{
        margin-bottom:15px;
        padding-bottom:35px;
    }
    .job_filters .search_jobs div.search_keywords, .job_filters .search_jobs input, .search_location, body .job_filters .search_jobs div.search_location{
        width: 100%;
        float: left;
    }
    body .search_location, body .search_jobs, .job_filters .search_jobs div.search_keywords{
        padding-left: 0;
        padding-right: 0;
    }
    .job_filters .search_jobs div.search_location{
        margin-top: 15px;
        padding-lefT: 0;
    }
    body.page-id-1978 #left-area ul.meta{
        display: block;
        width: 100%;
        float: left;
        text-align: center;
    }
}



/*SUBMIT RESUME*/
form.apply_with_resume input {
    text-align: center;
    font-size: 1.1em;
    line-height: 1em;
    display: inline-block;
    margin: 0 .5em 0 0;
    padding: .90909091em 2em;
    outline: 0;
    font-family: 'Montserrat', sans-serif!important;
    text-transform: uppercase!important;
    font-weight: bold!important;
    color: #222222!important;
    border-radius: 0!important;
    border-color: #222222!important;
}
.job-manager-form fieldset input.input-text {
    min-height: 37px;
    border-radius: 4px;
    padding-left: 7px;
}
.job-manager-form fieldset input.input-text::placeholder {
    visibility: hidden;
}

.wptf_product_table_wrapper .woocommerce-mini-cart__buttons {
    display: none;
}
.wptf_product_table_wrapper div.tables_cart_message_box {
    margin-top: 0 !important;
}
.wptf_product_table_wrapper div.tables_cart_message_box div.widget_shopping_cart_content {
    margin-top: 0;
}
body .wptf_table_head,
body .custom_table thead .wptf_table_header_row th {
    background: var(--yellow);
    color: #000;
}

.half {
    font-size: 21px;
    color: #353740!important;
    font-family: 'Montserrat', Helvetica,Arial,Lucida,sans-serif;
    width: 50%;
    float: left;
    word-break: break-all;
    padding-top: 25px;
}
.half.first{
    width: 40%;
}
.half.last{
    width: 60%;
}


h1 {
    padding-top: 30px;
}


.et_pb_with_background h1,
.half {
    color: #fff !important;
}

.et_pb_divider_2::before {
    border-color: #fff;
}

.et_pb_row_0 {
    background-image: none !important;
    background-color: var(--red) !important;
}
body .et_pb_text_0.et_pb_text,
body .et_pb_text_2.et_pb_text {
    color: #fff !important;
}

body .et_pb_text_0.et_pb_text.grey-text,
body .et_pb_text_2.et_pb_text.grey-text {
    color: var(--grey-text) !important;
}

.et-db #et-boc .et-l .et_builder_inner_content > .et_pb_section:first-of-type {
    background-image: none !important;
    padding: 40px 0 30px;
}
.page-id-7.et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type {
    padding: 0;
}
.page-id-7 .et_pb_row.et_pb_row_0 {
    width: 100% !important;
}

.et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type .et_pb_module:first-of-type {
    margin-bottom: 0;
}
.et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type .et_pb_module:nth-of-type(2) {
    margin-bottom: 0;
}
.et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type .et_pb_module h1 {
    padding-top: 10px;
    margin-bottom: 10px !important;
    font-size: 28px !important;
    color: #fff !important;
}
.et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type .et_pb_module:nth-of-type(3) {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 3px;
}


body .et_pb_section_0.et_pb_section {
    background-color: var(--red) !important;
}


.et_pb_text_1 h1 span {
    color: #fff;
}

.et-fixed-header #top-menu li.current-menu-ancestor > a,
.et-fixed-header #top-menu li.current-menu-item > a {
    color: var(--yellow) !important;
}

#top-menu li.current-menu-ancestor > a, #top-menu li.current-menu-item > a, .et_color_scheme_red #top-menu li.current-menu-ancestor > a, .et_color_scheme_red #top-menu li.current-menu-item > a, .et_color_scheme_pink #top-menu li.current-menu-ancestor > a, .et_color_scheme_pink #top-menu li.current-menu-item > a, .et_color_scheme_orange #top-menu li.current-menu-ancestor > a, .et_color_scheme_orange #top-menu li.current-menu-item > a, .et_color_scheme_green #top-menu li.current-menu-ancestor > a, .et_color_scheme_green #top-menu li.current-menu-item > a {
    color: var(--yellow) !important;
}

.et_pb_column_2.et_pb_column_1_3 .et_pb_text,
.et_pb_column_2.et_pb_column_1_3 .et_pb_module.et_pb_blurb,
.et_pb_column_2.et_pb_column_1_3 .et_pb_bg_layout_light {
    background-color: var(--red);

}
.et_pb_column_2.et_pb_column_1_3 .et_pb_text h2,
.et_pb_column_2.et_pb_column_1_3 .et_pb_module.et_pb_blurb,
.et_pb_column_2.et_pb_column_1_3 .et_pb_module.et_pb_blurb .et_pb_module_header,
.et_pb_column_2.et_pb_column_1_3 .et_pb_module.et_pb_blurb .et_pb_module_header a,
.et_pb_column_2.et_pb_column_1_3 .et_pb_bg_layout_light h2 {
    color: #fff !important;
    margin-top: 1rem;
}

body .et_pb_column.et_pb_column_2_3 .et_pb_text {
    color: #353740 !important;
}

.et_pb_column_1_3 {
    background: #fff;
}

.training-courses tr:nth-of-type(odd) {
    background: #fff;
}

.training-courses tr:last-of-type {
    background: #fff;
}
.et_pb_column_1_3.et_pb_column_2 .et_pb_button_module_wrapper {
    background: #fff !important;
}

.et_pb_button_module_wrapper {
    background: none !important;
    padding-top: 0;
}


body .et_pb_module {
    padding-top: 0 !important;
}

.et_pb_column_2.et_pb_column_1_3 .et_pb_bg_layout_light:nth-of-type(2) {
    background: #fff;
}
.et_pb_section_2.et_pb_section .et_pb_row_3 h1,
body .et_pb_blog_0 .et_pb_post .entry-title a,
body .et_pb_blog_0 .not-found-title {
    color: var(--red) !important;
}
.post-2544 .et_pb_text_inner h2 {
    padding-top: 10px;
}
.all_check_footer {
    background: none;
}


.notification {
    text-align: center;
    font-size: 18px;
    background: var(--red);
    padding: 10px 0;
}
.notification a {
    text-decoration: underline;
}

.et_pb_section_0 .et_pb_row {
    padding: 0;
}

.et_pb_text_0 h1 {
    padding: 0 10%;
}

body .et_pb_image {
    text-align: center;
}

#footer-bottom {
    background: none;
}


@media (max-width: 768px) {
    .et_boxed_layout #page-container,
    .et_fixed_nav.et_boxed_layout #page-container #top-header
    {
        width: 100%;
    }
}

/* Booking Schedule */
.wc-bookings-availability-event-table .wc-bookings-availability-item {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

.wc-bookings-availability-item-information > div > div:first-of-type {
    display: none;
}

body .wc-bookings-availability-event-table div.wc-bookings-availability-item-subheader {
    display: inline;
    flex-basis: 100%;
}
.wc-bookings-availability-event-table .wc-bookings-availability-item-body {
    flex-basis: 100%;
    flex-wrap: wrap;
}
.wp-block-button {
    padding: 0 2rem;
}
.wc-bookings-availability-item-body .wc-bookings-availability-book-button {
    min-width: revert;
    color: var(--red);
    background: none;
    border-radius: 0;
    padding: 0;
    font-weight: bold;
}
.wc-bookings-availability-item-body .wc-bookings-availability-book-button:hover {
    border-bottom: solid 2px var(--red);
}

.wc-bookings-availability-item-information {
    flex-grow: 1;
    padding: 0;
}
.wc-bookings-availability-item-information > div {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.wc-bookings-availability-item-information div > div,
.wc-bookings-availability-item-information div > h3 {
    flex-grow: 1;
    padding: 0 1rem;
    line-height: 26px;
    flex-basis: 25%;
    font-weight: 600;
}
.wc-bookings-availability-item-information div > h3 {
    flex-basis: 50%;
}

.wc-bookings-availability-item-body {
    margin: 7px 0 10px 0;
}

.wc-bookings-availability-item-subheader {
    padding: 0 1rem;
}
.wc-bookings-availability-event-table div.wc-bookings-availability-item-subheader {
    font-weight: 600;
    color: #fff;
    background: var(--grey--blue);

}

/* Remove From: */
.wc-bookings-availability-item-price,
.wptf_product_price {
    visibility:hidden;
    font-size: 0 !important;
    -webkit-text-size-adjust: none;
}

.wc-bookings-availability-item-price *,
.wptf_product_price * {
    visibility:visible;
    font-size:18px;
}
.wptf_product_price * {
    font-size: 14px;
}

/* End remove From: */




/*
.wc-bookings-availability-item-information span:before {
	content: '\x7d;';
	font-family: 'ETmodules';
	font-size: 16px;
}
*/

.wc-bookings-availability-item-information a {
    color: var(--red);
}

.wc-bookings-availability-item-information a:hover {
    border-bottom: solid 2px var(--red);
}




.wp-block-button__link {
    padding: 7px 18px;
}

.wc-bookings-availability-event-table .wc-bookings-availability-item {
    padding-top: 0;
    margin-top: 0;
}

.wp-block-button__link {
    background-color: var(--red);
}

.wc-bookings-availability-event-table .wc-bookings-availability-item {
    padding: 1rem 0;
}

.wc-bookings-availability-event-table .wc-bookings-availability-item  * {
    font-size: 15px;
}

#left-area ul.wc-bookings-availability-event-table {
    padding-left: 0;
}

.wc-bookings-availability-item:nth-child(odd){
    background: #f9f9f9;
    padding-top: 0;

}
/* End Schedule page */




/* Medicals form */
html body .et_pb_gutters3 .et_pb_column_single.et_pb_column_1_3 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_single.et_pb_column_1_3 .et_pb_module.nomarginbottom {
    margin-bottom: 0;
}

body .et_pb_module.medicals-header {
    padding-top: 10px !important;
}
body .et_pb_module.medicals-header h2 {
    margin-top: 0;
}

.medicals-form {
    color: var(--red);
}
.medicals-form #gform_wrapper_4 {
    margin-top: 0;
}
.medicals-form #gform_wrapper_4 .gform_heading {
    display: none;
}

.medicals-form .gform_wrapper ul li.gfield:first-of-type {
    margin-top: 0;
}
html body .et_pb_gutters3 .et_pb_column_single.et_pb_column_1_3 .et_pb_module.medicals-form {
    margin-bottom: 20px;
}

.et_pb_column_2.et_pb_column_1_3 .et_pb_text.medicals-header,
.et_pb_code_0.medicals-form{
    background: var(--yellow);
}
.et_pb_column_2.et_pb_column_1_3 .et_pb_text.medicals-header h2 {
    font-weight: 600;
    color: var(--red) !important
}
/* End Medicals Registration */

/* Product Migration */
.single-product #page-container #main-content .container {
    width: 100%;
    margin: 0;
}

body.single-product div.product,
body .type-product .et_builder_inner_content {
    padding: 0;
}



/* Styling Products */
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 {
    background-color: #fff !important;
}
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 > div{
    background-color: var(--red);
    color: #fff !important;
}
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 > div:last-of-type {
    background: #fff;
    color: rgb(53, 55, 64) !important;
}

.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 .et_pb_module_header,
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 h4.et_pb_module_header,
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 h3.et_pb_module_header,
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 div h2{
    color: #fff !important;
}

body .wc-bookings-date-picker .ui-datepicker td .ui-state-default {
    background: #fff;
}
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 .et_pb_wc_add_to_cart,.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 .et_pb_wc_add_to_cart #wc-bookings-booking-form,
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 .et_pb_wc_add_to_cart .cart #wc-bookings-booking-form {
    background-color: #fff !important;
}
.type-product #et-boc .et_pb_section_1 .et_pb_column_1_3.et_pb_column_2 img {
    box-shadow: none !important;
}

.single-product div.et_pb_wc_add_to_cart {
    margin-top: 20px;
}

body .type-product #et-boc .et-l div.et_pb_section.et_pb_section_0 ,
body .type-product #et-boc .et-l .et_builder_inner_content >  div:first-of-type {
    background-image: none !important;
    background: var(--red) !important;
}
.single-product #left-area,

body:not(.et-tb) #main-content .single-product .container, body:not(.et-tb-has-header) #main-content .container{
    padding: 0;
}

.et_builder_inner_content > div:first-of-type span {
    color: #fff !important;
}
.irc_mi {
    box-shadow: none !important;
    /* padding-top: 20px; */
    background: #fff;
}

/* Styling Toggle buttons on medical */
.et_pb_module.et_pb_toggle {
    padding-top: 20px !important;
    font-weight: 600;
}
.et-db #et-boc .et-l .et_pb_toggle_close {
    background: var(--red);
    color: #fff;
}
.et-db #et-boc .et-l .et_pb_toggle_close .et_pb_toggle_title, .et-db #et-boc .et-l .et_pb_toggle_close h5.et_pb_toggle_title {
    color: #fff;
    line-height: 1.4rem;
    font-weight: 600;

}

/* End styling on toggle buttons */

/* Individual posts */
#post-143 .et_pb_section {
    padding: 0;
}
#post-143.et_pb_row .et_pb_row_1 {
    padding: 0;
}
#post-143 .wptf_clear:first-of-type {
    display: none;
}
#post-3168 .main_title {
    margin-top: 30px;
}
/* End Individual courses */


@media(max-width:670px){
    .half.first, .half.last{
        width: 100%;
    }
    .wc-bookings-availability-item-information div > div,
    .wc-bookings-availability-item-information div > h3,
    .wc-bookings-availability-item-information,
    .wp-block-button {
        flex-basis: 100%;
    }
    .wc-bookings-availability-event-table .wc-bookings-availability-item h3 {
        margin-bottom: 3px;
    }
    .wp-block-button {
        padding: 0 1rem;
        margin-top: 10px;
    }
    .wptf_product_title > a {
        display: block;
        background: var(--grey--blue);
        color: #fff !important;
        padding: 0 0.25rem;
        margin-bottom: 0.25rem;
    }
    .et_pb_text_1 h1 {
        font-size: 44px;
        line-height: 48px;
    }
    .et_builder_inner_content .et_pb_section:first-of-type .et_pb_column .et_pb_module {
        margin-bottom: 10px;
    }
    .et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type {
        padding: 30px 0 0;
    }


}
@media(min-width: 981px) {
    .half.first, .half.last{
        width: 100%;
    }
    .et_pb_gutters3 .et_pb_column_4_4 .et_pb_module,
    .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_module {
        margin-bottom: 10px;
    }
    .et-db #et-boc .et-l .et_builder_inner_content .et_pb_section:first-of-type .et_pb_module h1 {
        font-size: 60px !important;
    }
    body .et-db #et-boc .et-l > .et_pb_section {
        padding: 0 !important;
    }
    .et-db #et-boc .et-l > .et_pb_section {
        padding: 65px 0;
    }
}

@media only screen and (min-width:1625px) {
    body .et-db #et-boc .et-l > .et_pb_section {
        padding: 0 !important;
    }
}