/*
 Theme Name:     Pearl Jade Marketing Development
 Description:    A Custom Theme by Pearl Jade Marketing
 Author:         Pearl Jade Marketing
 Author URI:     https://pjademkt.com/
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

/* GENERAL */
ul#menu-primary-menu li{
    padding-top: 40px;
    border-top: 3px solid #ffffff;
    margin-top: 0px;
}

ul#menu-primary-menu li.current-menu-item,
ul#menu-primary-menu li:hover{
    border-top: 3px solid #d02030;
}

li.menu-btn{
    background: #d02030;
    color: #ffffff !important;
    padding: 20px 25px !important;
    margin-top: 18px !important;
    margin-left: 20px !important;
}

li.menu-btn:hover{
    border-top: 3px solid #ffffff !important;
    background: #212d65;
}

ul#menu-primary-menu li ul li.current-menu-item{
    border-top: 0px;
}

.et_pb_menu ul#menu-primary-menu li.menu-btn a{
    color: #ffffff !important;
    font-family: 'Red Hat Display',Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px;
    padding-bottom: 0px;
}

.et-menu .menu-item-has-children>a:first-child:after{
    content: "";
}

.et-menu .menu-item-has-children>a:first-child{
    padding-right: 0px;
}

ul#menu-primary-menu li ul{
    min-width: 20rem;
}

ul#menu-primary-menu li ul li{
    padding: 0px;
    border-bottom: 1px solid #e2e2e2;
    width: 86%;
    margin-left: 7%;
    margin-right: 7%;
}

ul#menu-primary-menu li ul li a{
    padding-right: 0px;
    padding-left: 0px;
}

ul#menu-primary-menu li ul li,
ul#menu-primary-menu li ul li:hover{
    border-top: none;
}

ul#menu-primary-menu li ul li a:hover{
    background: rgba(0,0,0,0) !important;
}

/* MOBILE MENU */
.mobile-menu .et_pb_column{
    width: 30% !important;
    margin-bottom: 10px !important;
}

.mobile-menu .et_pb_column:nth-child(2){
    width: 40% !important;
}

.mobile-menu #mobile_menu2{
    width: 350px;
}

.mobile-menu ul#mobile_menu2,
.mobile-menu ul#mobile_menu2 li{
    background: #eeeeee !important;
}

.mobile-menu ul#mobile_menu2 li ul{
    padding-left: 0px;
}

.mobile-menu ul#mobile_menu2 li.menu-btn{
    display: flex;
    justify-content: center;
    margin-left: 0px !important;
}

.mobile-menu ul#mobile_menu2 li.menu-btn a{
    background: #d02030;
    width: 200px;
    color: #ffffff !important;
    text-align:center;
}

.et_pb_menu .et_pb_menu__menu>nav>ul>li.mobile-btn,
.et_pb_menu .et_pb_menu__menu>nav>ul>li.mobile-social{
    display: none !important;
}

@media (max-width: 981px) {
    .mobile-menu ul#mobile_menu2 li.mobile-btn{
        display: flex !important;
        justify-content: center;
    }
}

.mobile-menu ul#mobile_menu2 li.mobile-btn a{
    background: #000000;
    width: 200px;
    color: #ffffff !important;
    text-align:center;
}

.mobile-menu ul#mobile_menu2 li.mobile-social{
    margin-top: 20px;
}

.mobile-menu ul#mobile_menu2 li.mobile-social,
.mobile-menu ul#mobile_menu2 li.mobile-btn{
    text-align: center;
}

.mobile-menu ul#mobile_menu2 li.mobile-social a{
    text-align: center;
    text-transform: capitalize;
    color: #5ca2d3 !important;
    font-size: 16px;
    margin-top: 20px;
    display: inline;
    padding: 5px;
}

.mobile-menu ul#mobile_menu2 li.mobile-social img{
    width: 20px;
}

.et_pb_scroll_top.et-pb-icon.et-visible:hover,
.et_pb_scroll_top.et-pb-icon.et-visible{
    background: #d02030;
    color: #ffffff;
}

/* HOMEPAGE */
.three-col-cta .et_pb_column:hover .cta-btn{
    background: #000000 !important;
}

.scrollable-container {
    height: 300px; /* Fixed height for scrolling */
    overflow-y: scroll; /* Enables vertical scrolling */
}

.scrollable-container::-webkit-scrollbar {
  width: 5px; /* Width of the scrollbar */
}

.scrollable-container::-webkit-scrollbar-thumb {
  background-color: #d02030; /* Color of the scrollbar thumb */
  border-radius: 4px;         /* Rounded corners for the scrollbar thumb */
}

.scrollable-container::-webkit-scrollbar-track {
  background: #646C94;  /* Color of the scrollbar track */
    border-radius: 20px;
}

.two-column-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 10px; /* Space between items */
    padding: 0;
    margin: 0;
    list-style-type: none; /* Remove default bullets */
}

@media (max-width: 981px) {
    .two-column-list {
        display: block;
    }
}

ul.two-column-list li{
    color: #ffffff;
    padding-left: 20px;
}

ul.two-column-list li::marker{
    content: ' \2015';
    position: absolute;
    top: .7rem;
    left: 0;
    width: 1.01rem;
    height: 3px;
    color: #d02030;
}

.et-pb-slider-arrows a.et-pb-arrow-prev,
.et-pb-slider-arrows a.et-pb-arrow-next {
	opacity: 1;
}

.et-pb-slider-arrows a.et-pb-arrow-prev {
	left: 22px;
    top: 89%;
}

.et-pb-slider-arrows a.et-pb-arrow-next {
	right: 22px;
    top: 89%;
}

/* ABOUT */
.about-sidebar a {
  position: relative; /* Make sure the anchor tags can position the triangle correctly */
  color: #ffffff; /* Text color */
  text-decoration: none; /* Optional: removes underline */
  display: inline-block; /* Makes the link behave like a block element for positioning */
}

.about-sidebar a:hover {
    color: #5ca2d3 !important;
    padding-right: 20px;
}

.about-sidebar a:hover {
  color: #ffffff; /* Maintain text color on hover */
}

.about-sidebar a:hover::after {
  content: ''; /* Necessary for the pseudo-element */
  position: absolute;
  right: -10px; /* Adjust based on your design */
  top: 50%;
  transform: translateY(-50%); /* Center the triangle vertically */
  width: 0;
  height: 0;
  border-left: 10px solid red; /* This creates the triangle */
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

/* DIRECTORY */
.company-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 10px; /* Space between items */
    padding: 0;
    margin: 0;
    list-style-type: none; /* Remove default bullets */
}

.company-list div {
    display: block; /* Each company entry is a block-level element */
  margin-bottom: 10px; /* Adds space between entries */
}

@media (max-width: 981px) {
    .company-list {
    	display: block;
    }
}

/*** wrap row in a flex box ***/
.custom-row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 

/*** custom classes that will designate the order of columns in the flex box row ***/
@media (max-width: 765px) {
    .first-on-mobile {
        -webkit-order: 1;
        order: 1;
    }

    .second-on-mobile {
        -webkit-order: 2;
        order: 2;
    }
}

/* FORM */
.gchoice label,
.gfield_label{
    color: #ffffff !important;
}

.gfield_label{
    font-size: 16px !important;
}

.gform_button.button{
    background: #d02030 !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    font-family: 'Red Hat Display',Helvetica,Arial,Lucida,sans-serif;
    border-radius: 0px;
}

.gform-theme--foundation .gfield input,
.gform-theme--foundation .gfield select{
    height: 50px;
    border-radius: 0px;
}

.gform-theme--foundation .gfield input.gfield-choice-input{
    height: 20px;
}

.gform-footer{
    display: flex;
    justify-content: center;
    align-items: center;
}

.gform-footer .gform_button{
    border-radius: 0px !important;
    font-weight: 700 !important;
    padding: 15px 30px !important;
    font-size: 16px !important;
}

.gform-footer .gform_button:hover{
    background: #ffffff !important;
    color: #000000 !important;
}

.gform-theme--foundation .gform_fields{
    row-gap: 18px;
}


/*-------------------------------------------------------------------*/
/*-----------------------Header/Menu Styles--------------------------*/
/*-------------------------------------------------------------------*/

@media (min-width: 981px) {
    span#et-info-phone {
        float: right;
    }
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Desktop */
    #logo {
        max-height: 85%;
        width: auto;
    }
}
@media (max-width:981px) {
    .container.clearfix.et_menu_container {
        width: 95%;
        max-width: 100%;
        margin:auto;
    }
    /* Increase Logo Size on Mobile */
    #logo {
        max-height: 80%;
        width:auto;
    }
}
span#et-info-phone:before {
    margin-right: 5px;
}
span#et-info-phone {
    font-weight: bold;
}
div#et-info {
    width: 100%;
}

/*------------------------------------------*/
/*-----------Scroll to Top Button-----------*/
/*------------------------------------------*/

/* Default button appearance */
.et_pb_scroll_top.et-pb-icon {
    right: 15px; /* space from right */
    bottom: 20px; /* space from bottom */
    padding: 6px; /*padding size*/
    border-radius: 30px; /* make the circle */
    background: #000000 /* button color */;    
    font-size: 32px; /* icon size */
    transition: all .1s ease-in-out; /* add transition */
}
/* Button Appearance on Mouseover */
.et_pb_scroll_top.et-pb-icon:hover {
    bottom: 25px /* space from bottom */;
    background: #000000 /*button hover color*/; 
    transition: all .1s ease-in-out; /*add transition*/
    box-shadow: 0 10px 15px #162c4e4a; /*box shadow on hover*/
}
/* Animation tweaks */
.et_pb_scroll_top.et-visible {
    -webkit-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    -moz-animation: fadeInBottom 2s 1 cubic-bezier(.50,0,.160,1);
    -o-animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
    animation: fadeInBottom 1s 1 cubic-bezier(.50,0,.160,1);
}
.et_pb_scroll_top.et-hidden {
    opacity: 0;
    -webkit-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -moz-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    -o-animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
    animation: fadeOutBottom 1s 1 cubic-bezier(.77,0,.175,1);
}

/*------------------------------------------*/
/*------Nesting Mobile Menu Settings--------*/
/*------------------------------------------*/

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 85vh!important;
}
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(0,0,0,0.03);
    z-index: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    top: 3px;
    right: 10px;
    cursor: pointer;
    text-align: center;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(0,0,0,0.1);
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" ;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 40px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
    background-color:#DEDEDE;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
    color:#000000!important;
}
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
    background-color: rgba(0,0,0,0.03);
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
#main-header #mobile_menu.et_mobile_menu li a,
#main-header #mobile_menu.et_mobile_menu li li a,
#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 20px;
    padding-right: 20px;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children .sub-menu-toggle + a {
    padding-right: 20px;
    color:#000000;
}
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}
#main-header #mobile_menu.et_mobile_menu li.current-menu-item > a {
    font-weight: bolder;
}

/*-------------------------------------------------------------------*/
/*-------MOBILE MENU SLIDE IN EFFECT - FIXED MOBILE HEADER-----------*/
/*-------------------------------------------------------------------*/

/* Fix the mobile header */
@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed;
    }
}
/* Set the mobile menu full height and move it down so it doesn't overlap the fixed header */
#mobile_menu {
    display: block!important;
    height:auto;
    right: 0;
    position: fixed;
    overflow: auto;
    z-index:2!important;
    -webkit-transition: -webkit-transform 0.4s 0s;
    -moz-transition: -moz-transform 0.4s 0s;
    transition: transform 0.4s 0s;
    -overflow-scrolling:touch!important;
    -webkit-overflow-scrolling:touch!important;
}
/* Move the mobile menu fully off the screen when closed using translateX(100%) */
.mobile_nav.closed #mobile_menu {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
}
/* Move the mobile menu back onto the screen when open using translateX(0%) */
.mobile_nav.opened #mobile_menu {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
}
/* Switch the menu icon to a CROSS when opened */
.mobile_nav.opened .mobile_menu_bar:before {
    content: "\4d";
}

/*-------------------------------------------------------------------*/
/*--------------------------Footer Styles----------------------------*/
/*-------------------------------------------------------------------*/

footer#main-footer {
    display: none;
}