/*
 Theme Name:  Divi Child Theme
 Theme URI:    https://divilife.com
 Description:  Child Theme for Divi
 Author:       Barnum Creative
 Author URI:   https://divilife.com
 Template:     Divi
 Version:      1.0.0
*/

/*****Add any custom CSS below this line*****/
.mobile_menu_bar:before {
    content: "\61";
    position: relative;
    left: 0;
    top: 0;
    cursor: pointer;
}

 .new-pte-sidebar .et_pb_column.et_pb_column_2_5.et_pb_column_3_tb_body {
    box-shadow: 0px 2px 18px 0px rgba(0,0,0,0.3);
	 transform: translateX(0px) translateY(-212px);
}

.case-studies-box .case-studies{ background-color:red !important;color: white !important;border-color: red !important;border-radius:10px !important;}
@media only screen and (min-width: 768px) {
	.case-studies-box{ position: absolute !important;float: right;top: 85px;right: 0;}
}

/***09/06/2023***/

.logo-slider-main-div .et_pb_column.et_pb_column_2_3.et_pb_column_5_tb_body.et_pb_css_mix_blend_mode_passthrough {
/*     transform: translateX(0px) translateY(-1000px); */
	
	margin-top:83%;
}

@media only screen and (min-width:768px){
.new-pte-sidebar{ margin-bottom: -185px!important; }
	
	.logo-slider-main-div {
		margin-top: 0 !important;
	}
}

/*11*/
@media only screen and (max-width:767px){
.new-pte-sidebar .et_pb_column.et_pb_column_2_5.et_pb_column_3_tb_body.et_pb_css_mix_blend_mode_passthrough.et-last-child {
   transform: translateX(0px) translateY(0);
}
.logo-slider-main-div .et_pb_column.et_pb_column_2_3.et_pb_column_5_tb_body.et_pb_css_mix_blend_mode_passthrough {
    transform: translateX(0px) translateY(-0);
}

.new-pte-sidebar .et_pb_module.et_pb_blurb.et_pb_blurb_2_tb_body.et_pb_text_align_left.et_pb_blurb_position_left.et_pb_bg_layout_light {
    position: relative !important;
    bottom: 25px;
    top: auto;
    right: 0;
    left: auto;
}
	.et-db #et-boc .et-l .et_pb_column .et_pb_module.what-we-are-text{ margin-top: 30px; }
}
.new-pte-sidebar .button-tab-block .tab-button { padding: 12px;margin: 5px 13px;width: 92%;}

div#image-opocity-one h2,div#image-opocity-one h4,div#image-opocity-one .woocommerce-breadcrumb,div#image-opocity-one .woocommerce-breadcrumb a{color:#fff !important;}
div#image-opocity-one .et_pb_only_image_mode_wrap{border-radius:50% !important;}


/*new css*/

.login-btn,.my-account{display:none !important;}
@media only screen and (max-width: 768px) {
.my-account{display:none !important;}
.logged-in .login-btn{display:none !important;}
.logged-in .my-account{display:block !important;}
}
.woocommerce-view-subscription .woocommerce-order-downloads{ display:none !important; }

/* General Styling for WooCommerce My Account Page */
.woocommerce-MyAccount-content {
    font-family: "Poppins", sans-serif; /* Clean, modern font */
    color: #333; /* Darker text for readability */
}

/* Style the Sidebar Menu */

.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    margin: 8px 0;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 15px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    background: #21225f; /* Theme color */
    transition: all 0.3s ease-in-out;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Hover effect */
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #141545; /* Darker version of theme color */
    transform: translateY(-2px);
    box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.25);
}

/* Active tab style */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #141545; /* Slightly darker for active state */
    transform: scale(1.05);
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}

/* Uniform Styling for All My Account Tables */
.woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Table Header */
.woocommerce-MyAccount-content table thead th {
    background: #21225f; /* Theme Color */
    color: white;
    padding: 15px;
    font-weight: bold;
    text-align: left;
    font-size: 16px;
}

/* Table Rows */
.woocommerce-MyAccount-content table tbody tr {
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease-in-out;
}

/* Alternate Row Colors */
.woocommerce-MyAccount-content table tbody tr:nth-child(even) {
    background: #f8f8ff;
}

.woocommerce-MyAccount-content table tbody tr:hover {
    background: #e0e0ff; /* Light version of theme color */
}

/* Table Data Cells */
.woocommerce-MyAccount-content table tbody td {
    padding: 15px;
    font-size: 15px;
    color: #333;
}

/* Buttons inside Tables */
.woocommerce-MyAccount-content table tbody td .button,
.woocommerce-MyAccount-content table tbody td .download a {
    display: inline-block;
    background: #21225f; /* Theme Color */
    color: white;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    border: none;
    text-align: center;
    min-width: 150px; /* Ensuring uniform button size */
}

/* Button Hover Effect */
.woocommerce-MyAccount-content table tbody td .button:hover,
.woocommerce-MyAccount-content table tbody td .download a:hover {
    background: #141545; /* Darker version of theme color */
}

/* Mobile Responsive Tables */
@media screen and (max-width: 768px) {
    .woocommerce-MyAccount-content table,
    .woocommerce-MyAccount-content table thead,
    .woocommerce-MyAccount-content table tbody,
    .woocommerce-MyAccount-content table th,
    .woocommerce-MyAccount-content table td,
    .woocommerce-MyAccount-content table tr {
        display: block;
        width: 100%;
    }

    .woocommerce-MyAccount-content table thead {
        display: none; /* Hide table headers on mobile */
    }

    .woocommerce-MyAccount-content table tr {
        margin-bottom: 15px;
        border: 1px solid #ddd;
        padding: 10px;
        border-radius: 5px;
        background: white;
    }

    .woocommerce-MyAccount-content table td {
        display: flex;
        justify-content: space-between;
        padding: 10px;
        font-size: 14px;
        font-weight: 600;
    }

    .woocommerce-MyAccount-content table td::before {
        content: attr(data-title) ": ";
        font-weight: bold;
        color: #555;
    }
}


/* Style the Sidebar Menu */
.woocommerce-MyAccount-navigation ul {
    padding: 10px;
}

/* Style Individual Menu Items */
.woocommerce-MyAccount-navigation ul li {
    list-style: none;
    margin: 12px 0;
    border-radius: 8px;
}

/* Default Menu Links */
.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 15px;
    font-weight: bold;
    color: #21225f; /* Theme color text */
    text-decoration: none;
    border-radius: 8px;
    background: #f4f4f4; /* Light grey for default state */
    transition: all 0.3s ease-in-out;
    text-align: center;
}

/* Hover effect */
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #e0e0ff; /* Light version of theme color */
    color: #141545; /* Slightly darker for contrast */
    transform: translateY(-2px);
}

/* Active Tab Style */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: #21225f; /* Theme color */
    color: white;
    transform: scale(1.05);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.woocommerce-MyAccount-navigation ul li:first-child{     margin-top: 0px;
    padding-top: 0px;}
@media screen and (min-width: 768px) {
.et_pb_section_1_tb_footer .et_pb_text_inner p:first-child{float: left;}
.et_pb_section_1_tb_footer .et_pb_text_inner .privacy-policy{float: right;}
}
@media screen and (max-width: 768px) {
 .et_pb_text_3_tb_footer{padding-bottom: 40px;}
}
.et_pb_section_1_tb_footer .et_pb_text_inner .privacy-policy a{color:#fff !important;}

.highly-detailed-section{  background-size: 55%; }
#page-container .et_pb_section .highly-detailed-section .et_pb_button{font-size: 14px !important; min-height: 50px;  padding: 0.5em 0.6em !important;}
.black-color,ul.equalheight1.black-color ul{ color: #000 !important;}


@media (min-width:768px){
	.customslidertutor .et_pb_slider_container_inner { 
		display:grid !important;
  grid-template-columns: 200px 1fr !important; /* Default for larger screens */
}
}

@media (min-width: 768px) {
  .customslidertutor .et_pb_slider_container_inner { 
    display: grid !important;
    grid-template-columns: 200px 1fr !important; 
  }
}

.testimonialvideodiv .testimonialmaindiv {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 992px) {
  .testimonialvideodiv .testimonialmaindiv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}


/* this is for new blog page post start*/
.hzad-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.hzad-blog-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.hzad-thumb {
    display: block;
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9; /* equal proportional height; can adjust (e.g., 4/3) */
    overflow: hidden;
    background: #f7f7f7;
}
.hzad-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hzad-content {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.hzad-title {
    font-size: 1.1rem;
    margin-bottom: .3rem;
    line-height: 1.3;
}
.hzad-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: .6rem;
}
.hzad-excerpt {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 1rem;
}
.hzad-readmore {
    color: #00AEEF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    text-decoration: none;
}
.hzad-pagination {
    text-align: center;
}
.hzad-pagination a,
.hzad-pagination span {
    display: inline-block;
    margin: 0 4px;
    padding: 6px 10px;
    border-radius: 4px;
    background: #f9f9f9;
    color: #333;
}
.hzad-pagination .current {
    background: #00AEEF;
    color: #fff;
}
/* this is for new blog page post start*/
.woocommerce-lost-password .woocommerce-account #main-content{  max-width: 800px; }