/*
 Theme Name:     Brian Bell - Corporate
 Theme URI:      https://www.brianbell.com.pg
 Description:    Divi Child Theme
 Author:         Colony Group LTD
 Author URI:     https://www.colonygroupltd.com
 Template:       Divi
 Version:        1.0.0
*/


/* =Theme customization starts here
------------------------------------------------------- */


/* Disable load animation */

.et-pb-active-slide .et_pb_slide_description {
    animation-name: unset !important;
}

.clear {
    clear: both
}

.clear:after {
    content: ".";
    height: 0;
    display: block;
    clear: both;
    visibility: hidden;
    font-size: 0
}

.et_fixed_nav.et_show_nav #page-container {
    padding-top: 0px !important;
}


/* CHANGED ROW DEFAULT */

.et_pb_row {
    width: 100%;
    padding-left: 25px;
    padding-right: 25px;
}

a {
    transition: all .3s ease;
}

.more-cta {
    color: #000;
}

.more-cta:hover {
    color: #ea1947;
}


/* Sidebar Navigation Design */

#page_navigation_sidebar {
    font-family: 'Urbane Medium', Helvetica, Arial, Lucida, sans-serif;
}

#page_navigation_sidebar ul,
#page_navigation_sidebar li,
#page_navigation_sidebar ol,
#page_navigation_sidebar li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#page_navigation_sidebar a {
    display: block;
}

#page_navigation_sidebar ul.page_navigation_sidebar_menu li {
    border-bottom: 1px solid #F3EBDE;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

#page_navigation_sidebar ul.page_navigation_sidebar_menu li a {
    color: #666;
}

#page_navigation_sidebar li a.page_navigation_sidebar_menu_home {
    font-family: 'Urbane - Demi Bold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 17px;
    color: #cba44e !important;
    text-transform: uppercase;
}

#page_navigation_sidebar ul.page_navigation_sidebar_menu li.current_page_item a,
#page_navigation_sidebar ul.page_navigation_sidebar_menu li a:hover {
    color: #ea1947;
}

#page_navigation_sidebar ul.page_navigation_sidebar_menu li.current_page_item a::before,
#page_navigation_sidebar ul.page_navigation_sidebar_menu li a:hover::before {
    content: "▶ ";
}


/* Footer social icons */

.footer_social_icons {
    display: flex;
}

.footer_social_icons a {
    margin: 0 25px;
}

.footer_social_icons a:first-child {
    margin-left: 0;
}

.footer_social_icons a:last-child {
    margin-right: 0;
}

@media (max-width: 766px) {
    .footer_social_icons {
        grid-template-columns: 1fr !important;
    }
}


/* Custom Headers */

.et_fixed_nav.et_show_nav #page-container,
.et_non_fixed_nav.et_transparent_nav.et_show_nav #page-container {
    padding-top: 0px;
}

#bb-custom-header {
    background: #333;
    background-size: cover;
    background-position: center center;
    position: relative;
}

#bb-custom-header::before {
    position: absolute;
    top: 0px;
    display: block;
    left: 0px;
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    content: " ";
}

#bb-custom-header::after {
    content: " ";
    position: absolute;
    bottom: -20px;
    width: 100%;
    height: 39px;
    background: transparent url("assets/img/g-gold-lines.png") top left repeat-x;
    z-index: 7;
}

#bb-custom-header .bb-custom-header-wrap {
    max-width: 1600px;
    width: 80%;
    margin: 0 auto;
    z-index: 10;
    position: relative;
}

#bb-custom-header.frontpage_header .bb-custom-header-wrap::before {
    content: " ";
    bottom: -20px;
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 1px;
    margin: 0 auto;
    background: #fff;
}

#bb-custom-header.frontpage_header .et_pb_slides .et_pb_slider_container_inner {
    height: 70vh;
}

#bb-custom-header #bb-navigation {
    background: rgba(25, 25, 25, 0.7);
    padding: 20px 0 0px 0px;
    position: absolute;
    width: 100%;
    top: 0px;
    left: 0px;
    z-index: 20;
}

#bb-custom-header.frontpage_header #bb-navigation {
    background: transparent;
}

#bb-custom-header #bb-navigation::before {
    background: rgba(204, 204, 204, 0.8);
    content: " ";
    display: none;
    width: 50vw;
    bottom: -149px;
    height: 150px;
    position: absolute;
    right: 0;
}

#bb-custom-header #bb-navigation.active::before {
    display: block;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half {
    padding-bottom: 20px;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half a {
    float: left;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half .bb-navigation-first-half-side {
    float: right;
    display: flex;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half a img {
    width: 220px;
    height: auto;
    display: block;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half form {
    position: relative;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half form input {
    background: transparent;
    border: 1px solid #b3b3b3;
    color: #b3b3b3;
    padding: 5px 20px;
    position: relative;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half form::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 1px 6px;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half a.contact-us {
    border: 1px solid #cba44e;
    color: #cba44e;
    padding: 0px 10px;
    text-transform: uppercase;
    margin-left: 20px;
}

#bb-custom-header #bb-navigation .bb-navigation-first-half a.contact-us:hover {
    background: #cba44e;
    color: #fff;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half {
    width: 100%;
    font-size: 14px;
    text-transform: uppercase;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul {
    margin: 0;
    padding: 0;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul.sub-menu {
    display: none;
    position: absolute;
    top: 45px;
    left: -10px;
    width: 300px;
    background: rgba(204, 204, 204, 0.8);
    padding-left: 10px;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul.sub-menu.active {
    display: block;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul.sub-menu li {
    margin-left: 0px;
    margin-right: 0px;
    display: block;
    width: 100%;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul.sub-menu a {
    color: #000;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul li {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half ul li a {}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left {
    display: inline-block;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left li {
    margin: 0 10px;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left a {
    color: #cba44e;
    font-size: 12px;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right {
    display: inline-block;
    float: right;
    font-family: "Urbane - Demi Bold";
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right li {
    margin: 0px;
}

#primary_menu li {
    padding: 0px 10px 20px 10px !important;
}

#primary_menu li.menu-item-511 {
    padding: 0px 0px 20px 10px !important;
}

#primary_menu li ul li {
    padding: 5px !important;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left li:first-child,
#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right li:first-child {
    margin-left: 0;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left li:last-child,
#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right li:last-child {
    margin-right: 0;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right li:last-child {
    padding-right: 0px !important;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right a {
    color: #fff;
}

#bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-right a:hover {
    color: #ea1947;
}

#bb-custom-header h1 {
    color: #fff;
    font-size: 50px;
    position: absolute;
    top: 60%;
    left: 0px;
    transform: translateY(-40%);
}

#bb-custom-header p {
    color: #fff;
    font-size: 18px;
    position: absolute;
    bottom: 10%;
    left: 0px;
    transform: translateY(-10%);
    font-family: "Urbane - Demi Bold";
}

#bb-custom-header.frontpage_header h1 {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
}

#bb-custom-header.frontpage_header p {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    color: #cba44e;
    font-family: 'Urbane Light', Helvetica, Arial, Lucida, sans-serif;
}

#bb-custom-header .bb-content-wrap {
    height: 70vh;
}

#bb-custom-header.search_results .bb-content-wrap {
    height: 400px;
}


/* Footer */

.footer_menu ul li {
    width: 100%;
    display: block;
}

.footer_panel_social_icons {
    display: flex;
    float: right;
}

.footer_panel_social_icons a {
    margin: 0 18px;
}

.footer_panel_social_icons img {
    height: 25px;
    width: auto;
    display: block;
}

.footer_panel_social_icons a:first-child {
    margin-left: 0;
}

.footer_panel_social_icons a:last-child {
    margin-right: 0;
}

.et_pb_code_1_tb_footer .et_pb_code_inner {
    width: 250px;
    float: right;
}

.footer_store_locator {
    color: #808080;
    text-transform: uppercase;
    font-family: "Urbane - Demi Bold";
    font-size: 15px;
    background: transparent url('assets/img/i-map-icon.png') center right no-repeat;
    background-size: contain;
    display: block;
    margin-bottom: 20px;
}

.et_pb_code_1_tb_footer .et_pb_code_inner form {
    position: relative;
}

.et_pb_code_1_tb_footer .et_pb_code_inner form input {
    width: 100%;
    background: #191919;
    border: 1px solid #808080;
    padding: 6px;
    color: #808080;
    text-transform: uppercase;
}

.et_pb_code_1_tb_footer .et_pb_code_inner form::before {
    content: '\55';
    position: absolute;
    font-family: 'ETModules';
    z-index: 1;
    right: 0;
    font-size: 20px;
    padding: 1px 6px;
}


/* Sliders */

.et_pb_slider.vertical-dots .et-pb-controllers {
    position: absolute;
    transform: translateY(50%);
    bottom: 80%;
    left: 90px;
    display: inline-block;
    text-align: center;
    width: 15px;
    height: auto;
}

#bb-custom-header.frontpage_header .et_pb_slider.vertical-dots .et-pb-controllers {
    left: auto;
    right: 200px;
    bottom: 10%;
    transform: none;
}

.et_pb_slider.vertical-dots .et-pb-controllers a {
    display: block;
    background-color: rgba(255, 255, 255, .4);
    width: 12px;
    height: 12px;
    margin: 12px 0;
    border-radius: 50%;
    border: 2px solid #fff;
}

.et_pb_gallery.et_pb_slider.vertical-dots .et-pb-slider-arrows {
    display: none;
}

.et_pb_slider.vertical-dots h2 {
    position: relative;
}

.et_pb_slider.vertical-dots h2::before {
    content: " ";
    width: 100px;
    height: 12px;
    display: block;
    position: absolute;
    top: 6px;
    left: -136px;
    background: #fff;
}

#bb-custom-header.frontpage_header .et_pb_slider.vertical-dots h2::before {
    display: none;
}

#bb-custom-header.frontpage_header h1 {
    position: relative;
}

#bb-custom-header.frontpage_header h1::before {
    position: absolute;
    top: 0px;
    content: " ";
    left: -65%;
    display: block;
    background: transparent url('assets/img/l-bb-logo-with-text.png') 0 0 no-repeat;
    background-size: auto;
    width: 310px;
    height: 65px;
    background-size: cover;
}

.et_pb_slider.vertical-dots.first_slider h2::before {
    background: #CBA44E;
}

.et_pb_slider.vertical-dots.second_slider h2::before {
    background: #1A1A1A;
}

.et_pb_slider.vertical-dots h2,
.et_pb_slider.vertical-dots p {
    text-shadow: none;
}

.et_pb_slider.vertical-dots .et-pb-controllers a {
    background: #fff;
    border: 2px solid #fff;
    opacity: 1;
}

.et_pb_slider.vertical-dots .et-pb-controllers a.et-pb-active-control {
    background: #808080;
    border: 2px solid #808080;
}

#bb-custom-header.frontpage_header .et_pb_slider.vertical-dots .et-pb-controllers a.et-pb-active-control {
    background: #CBA44E;
    border: 2px solid #CBA44E;
}

#bb-custom-header.frontpage_header a.explore-more {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-transform: uppercase;
    color: #fff;
    font-size: 10px;
    text-align: center;
    line-height: 15px;
}

#bb-custom-header.frontpage_header a.explore-more span {
    display: block;
    color: #CBA44E;
}


/* Search Results */

body.search-results {
    counter-reset: searchcount;
}

body.search-results article {
    padding-left: 40px;
    position: relative;
}

body.search-results article::before {
    counter-increment: searchcount;
    content: counter(searchcount);
    position: absolute;
    top: 0px;
    left: 0px;
    background: #cba44e;
    color: #191919;
    -webkit-border-radius: 200%;
    -moz-border-radius: 200%;
    border-radius: 200%;
    width: 30px;
    height: 30px;
    text-align: center;
}


/* WYSIWYG inner columns */

.flex-grid {
    display: flex;
    flex-wrap: wrap;
}

.flex-grid-sub {
    background: #231f20;
    padding-bottom: 20px;
}

.flex-grid-content {
    padding: 15px 15px 0 15px;
    min-height: 130px;
}

.flex-grid-content p {
    color: #fff !important;
}

.flex-grid-content strong {
    color: #cba44e !important;
}

.col {
    flex: 33%;
    max-width: 33%;
    padding: 0 25px 25px 0px;
}


/* Store Locator */

#store_locator_result_list {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 10px;
}

#store_locator_result_list::before {
    content: none;
    display: none !important;
}


/* Responsive layout - makes a two column-layout instead of four columns */

@media (max-width: 1024px) {
    .col {
        flex: 50%;
        max-width: 50%;
        padding: 0 5px 25px 0px;
    }
}


/* Responsive layout - makes a one column-layout instead of four columns */

@media (max-width: 768px) {
    .col {
        flex: 100%;
        max-width: 100%;
        padding: 0 5px 25px 0px;
    }
}


/*store_locator_embedded_search .css */

.store_locator_embedded_search #store_locator_address_field,
.store_locator_embedded_search #store_locator_get_my_position {
    display: none;
}

.store_locator_embedded_search .store_locator_filter {
    margin: 0 !important;
}

.store_locator_embedded_search .store-locator-col-sm-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}

.store_locator_embedded_search .store_locator_find_stores_button {
    color: #808080 !important;
    text-transform: uppercase !important;
    font-family: "Urbane - Demi Bold" !important;
    font-size: 15px !important;
    background: transparent url(assets/img/i-map-icon.png) center right no-repeat !important;
    background-size: contain !important;
    border: 0 !important;
    text-align: left !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 3px 0 0 0 !important;
    cursor: pointer;
}

.store_locator_embedded_search .store_locator_find_stores_button:hover {
    color: #fff !important;
    transition: 1s !important;
}

.store_locator_embedded_search .et_pb_button:after {
    display: none;
    content: " " !important;
}

.store_locator_embedded_search .store_locator .select {
    border-radius: 0;
}

.store_locator_embedded_search select option:first-child {
    display: none;
}

.et_pb_code_inner form::before {
    display: none;
}

.store_locator_embedded_search .category_filter h5 {
    display: none;
}


/* Store finder - store_locator */

.store_locator_filter_title {
    font-family: 'Urbane - Demi Bold', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    font-size: 15px;
    color: #cba44e!important;
}

#store_locator_result_list_box hr {
    display: none;
}

#store_locator_dragged_button {
    display: none !important;
}

.store_locator_icon {
    display: none;
}

#store_locator_result_list {
    max-height: 1000px !important;
}

.store_locator_result_list_item {
    background: none;
}

.store_locator_details a {
    color: #cba44e!important;
    font-weight: 900;
}

.store_locator_details p {
    font-size: 14px;
}

.store_locator_details h3 {
    font-size: 15px;
}

.store-locator-categories h5 {
    font-size: 15px;
}

.store_locator_actions {
    display: none;
}

.store-locator-col-12 {
    padding: 0;
}

.store-locator-row {
    margin: 0;
}

.modal-body {
    padding: 0;
}


/* Styling for side menu */

nav#menu {
    display: none;
}

#bb-custom-header.innerheader #menu-hamburger {
    margin-bottom: 24px;
}

.mm-ocd nav#menu {
    display: block;
}

#menu-hamburger {
    display: none;
}

#menu-close {
    display: none;
}

#menu-close img {
    width: 16px;
    height: 16px;
    max-width: 16px;
}

.fa-times {
    content: "\f00d";
}

.mm-spn li:hover {
    color: #ea1947;
}

.mm-spn.current-menu-parent li:before {
    color: #ea1947;
}

.mm-spn a:hover {
    color: #ea1947;
}

.mm-ocd-opened #menu-close {
    display: block;
    z-index: 10;
    position: absolute;
    top: 3px;
    width: 20px;
    height: 20px;
    font-size: 20px;
    color: #000 !important;
    right: 10px;
    left: unset;
}

.mm-ocd-opened #menu-close:after {
    content: unset !important;
}

.external-link {
    background: url('https://www.brianbell.com.pg/wp-content/uploads/2022/02/link.png') no-repeat right 3px;
    background-size: 16px;
    padding-right: 30px;
}


/* All Job Styling */

.application_button,
.button,
.job_filters .search_jobs div.search_submit input,
.job-manager-jobs tfoot tr a {
    border: 1px solid #cba44e;
    color: #fff;
    background-color: #cba44e;
    padding: 0px 10px;
    text-transform: uppercase;
    cursor: pointer;
}

.application_button:hover,
.button:hover,
.job_filters .search_jobs div.search_submit input:hover,
.job-manager-jobs tfoot tr a:hover {
    background-color: transparent;
    color: #cba44e;
}

.wp_job_manager_send_application_button,
.job_filters .search_jobs div.search_submit input,
.job-manager-jobs tfoot tr a,
.button {
    padding: 10px 20px;
}

.job_filters input[type="text"] {
    padding: 10px;
}

.single_job_listing .meta .location::before,
.google_map_link,
.website {
    color: #cba44e;
}

.single_job_listing .meta .full-time {
    background-color: #696666;
}

.job-manager-jobs {}

.job-manager-jobs tr {
    border-bottom: 1px solid #d9d9d9;
}

.job-manager-jobs td {
    display: table-cell;
    padding: 8px;
}

.job-manager-jobs tfoot tr {
    border-bottom: 0;
}

.job-manager-jobs tfoot tr a {}

.job-manager-jobs tfoot tr td {
    padding-top: 20px !important;
}

.job-manager-jobs a,
.chart-item-action a {
    color: #cba44e;
}

.job-manager-applications-applied-notice {
    background-color: #B1D7B4;
    color: #1a7621 !important;
    font-size: 13px !important;
    padding: 5px;
}

.wpjms-date-range-field input[type=text] {
    width: 200px;
    max-width: 100%;
    float: right;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 5px 10px;
}

.wpjms-legend-search-wrap {
    margin-bottom: 10px;
}

.ui-autocomplete-input {
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 5px 10px;
}

div.job_listings .load_more_jobs {
    background: #cba44e;
    border: 1px solid #cba44e;
    padding: 10px;
    color: #fff;
    transition: none;
}

div.job_listings .load_more_jobs:hover {
    background-color: transparent;
    border: 1px solid #cba44e;
    color: #cba44e;
}

.single-job_listing #bb-custom-header .bb-content-wrap {
    max-height: 300px;
}


/* Responsive Fixes */

@media (max-height: 1000px) {
    #frontpage_slider .et_pb_slides .et_pb_slide>div {
        height: 700px !important;
    }
}

@media (max-width: 1500px) {
    #menu-hamburger {
        display: block;
        margin-top: 8px;
    }
    #primary_menu li {
        display: none !important;
    }
    #bb-custom-header.frontpage_header h1::before {
        top: -90px;
        left: 0%;
    }
    #bb-custom-header.frontpage_header .et_pb_slide_description {
        padding-left: 5% !important;
    }
    .footer_social_icons {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .footer_social_icons a {
        margin: 10px auto !important;
    }
}

@media (max-width: 1100px) {
    #bb-custom-header.frontpage_header .et_pb_slide_description {
        padding-right: 0 !important;
    }
    #bb-custom-header.frontpage_header .et_pb_slider.vertical-dots .et-pb-controllers {
        right: 100px;
    }
}

@media (max-width: 980px) {
    .footer_social_icons {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer_social_icons a {
        margin: 20px auto !important;
    }
    #page_navigation_sidebar {
        display: none;
    }
    .et_pb_column_1_4 et_pb_column_0_tb_body {
        margin-bottom: 0px;
    }
    #bb-custom-header.innerheader .bb-content-wrap {
        height: 50vh;
    }
}

@media (max-width: 780px) {
    #bb-custom-header #bb-navigation .bb-navigation-second-half .bb-navigation-menu-left {
        display: none;
    }
    #bb-custom-header.innerheader .bb-content-wrap {
        height: 40vh;
    }
    #bb-custom-header.frontpage_header .bb-custom-header-wrap::before {
        bottom: -40px;
    }
    #bb-custom-header #bb-navigation .bb-navigation-first-half .bb-navigation-first-half-side {
        display: none;
    }
    #bb-custom-header.frontpage_header h1 {
        font-size: 55px !important;
    }
    .single-job_listing #bb-custom-header h1 {
        font-size: 28px;
        line-height: 1.5;
    }
    #bb-custom-header h1 {
        font-size: 40px;
    }
    #bb-custom-header p {
        font-size: 16px;
    }
    #bb-custom-header.frontpage_header .et_pb_slides .et_pb_slider_container_inner {
        height: 50vh;
    }
    #bb-custom-header #bb-navigation .bb-navigation-second-half {
        position: absolute;
        top: 4px;
        right: 0px;
        width: auto;
    }
}

@media (max-width: 640px) {
    #bb-custom-header.frontpage_header .et_pb_slides .et_pb_slider_container_inner {
        height: 650px !important;
    }
    #bb-custom-header.frontpage_header h1::before {
        height: 48px;
        width: 230px;
    }
}