/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");

:root {
    --primary: #c27b7f;
    --secondary: #1a555c;
}
.text-center {
    text-align: center;
}
.text-white {
    color: #fff !important;
}
.py-20 {
    padding: 20px 0 !important;
}
.pt-lg-6 {
    padding-top: 60px;
}
.pb-lg-6 {
    padding-bottom: 60px;
}
.pt-lg-5 {
    padding-top: 50px;
}
.pb-lg-5 {
    padding-bottom: 50px;
}
.pb-lg-4 {
    padding-bottom: 40px;
}
.pt-lg-4 {
    padding-top: 40px;
}
.pt-lg-3 {
    padding-top: 30px;
}
.pb-lg-3 {
    padding-bottom: 20px;
}
.pt-lg-2 {
    padding-top: 20px;
}
.pb-lg-2 {
    padding-bottom: 20px;
}
.mt-lg-6 {
    margin-top: 60px;
}
.mt-lg-5 {
    margin-top: 50px;
}
.mt-lg-4 {
    margin-top: 40px;
}
.mb-40{
	margin-bottom:40px !important;
}
.p-0 {
    padding: 0 !important;
}
.mb-0{
	margin-bottom:0 !important;
}
.mt-0{
	margin-top:0 !important;
}

/* Start Hero section  */
/* .hero-section {
    display: flex;
    align-items: center;
    padding: 50px 0;
} */
.hero-section {
    position: relative;
}
.hero-left p {
    padding: 20px 0px 30px;
}
.author-img img {
    border-radius: 200px 200px 0px 0px;
    padding: 4px 2px 2px;
    border-top: 5px solid var(--primary);
    border-left: 1px solid var(--primary);
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.hero-section .section_inner_margin {
    display: flex;
    align-items: center;
    padding: 50px 0;
}
.hero-right {
    display: flex;
    justify-content: end;
}
.author-img {
    position: relative;
}
.book {
    position: absolute;
    bottom: 0;
    left: 20px;
}
.sec-circle {
    position: absolute;
    bottom: 0;
    left: 100px;
    height: 100px;
    width: 100px;
    background: var(--secondary);
    display: flex;
    border-radius: 50%;
    align-items: center;
    color: #fff;
    justify-content: center;
    outline: 1px dashed #fff;
    outline-offset: -8px;
}
.sec-circle img {
    height: 60px;
}
.big-circle {
    height: 70px;
    width: 70px;
    border: 5px solid #c27b7f3b;
    border-radius: 50%;
    position: absolute;
    top: -50%;
    left: -15%;
}
.small-circle {
    height: 40px;
    width: 40px;
    border: 5px solid #c27b7f3b;
    border-radius: 50%;
    position: absolute;
    top: -30%;
    left: 10%;
}
/* End Hero section  */

/*  Start web btn */
.web-btn {
    background: var(--secondary);
    color: #fff !important;
    padding: 5px 15px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
}
.web-btn:hover {
    background: var(--primary);
}
/*  End web btn */

/* Start title */
.web-title {
    padding: 20px;
    background: url(https://dipanpreet.com/wp-content/uploads/2024/01/hand-writing-bg.png);
    background-repeat: no-repeat;
    background-position: center;
}
.small-text {
    font-size: 18px;
}
/* End title */

/* Start Books */
.book-sec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fbf4f1;
    padding: 30px;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.book-sec::after {
    content: "";
    position: absolute;
    height: 180px;
    width: 180px;
    border-radius: 50%;
    right: -25px;
    top: -30px;
    background: #c27b7f59;
    z-index: -1;
}
.book-sec img {
    height: auto;
    width: 200px;
}
.price-name {
    color: var(--primary);
}
.book-name {
    font-size: 22px;
    margin-bottom: 25px;
    width: 85%;
    line-height: 1.5;
}
.book-sec img {
    height: 215px;
    width: 100%;
    object-fit: contain;
}

/* End books */

/*Start bestseller*/
.bestseller .web-title {
    padding-left: 0 !important;
}
.bestseller .small-text a {
    display: flex;
    border-bottom: 1px solid #000;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}
.bestseller .web-btn {
    margin-top: 20px;
}
/*End bestseller*/

/* testimonials */
.testimonial .book-sec {
    background: #ffffff !important;
    padding: 20px !important;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0.1px 12px #0106210f;
    margin-bottom: 20px;
}
.testimonial a{
	display:inline-block;
	color:var(--primary);
}
.testimonial .book-sec::after {
    display: none;
}
.testi-client{
	display:flex;
	align-items:center;
	gap:10px;
}
.testi-client img{
  width: 80px !important;
  height:80px !important;
  border-radius : 50%;
}
.testi-client p{
	margin:0 !important;
}
.testi-client p:nth-child(1) {
    position: relative;
    /* color: var(--primary); */
    padding-left: 25px;
    margin-top: 10px;
}

.testi-client p:nth-child(1)::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 0;
    background: var(--primary);
    width: 15px;
    height: 2px;
}

/*  Journey */
.main-timeline:after {
    content: "";
    display: block;
    clear: both;
}

.main-timeline .timeline {
    width: 50%;
    padding: 60px 0 0 0;
    margin: 0 5px 25px 0;
    float: left;
}

.main-timeline .timeline-content {
    min-height: 100px;
    padding: 0 15px 0 0;
    border-right: 2px solid var(--primary);
    display: block;
    position: relative;
}

.main-timeline .timeline-content:hover {
    text-decoration: none;
}

.main-timeline .timeline-content:before,
.main-timeline .timeline-content:after {
    content: "";
    background-color: var(--primary);
    height: 6px;
    width: 6px;
    border-radius: 50%;
    position: absolute;
    right: -4px;
    top: 0;
}

.main-timeline .timeline-content:after {
    top: auto;
    bottom: 0;
}

.main-timeline .timeline-year {
    color: #fff;
    background-color: var(--primary);
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 3px 20px 3px 50px;
    position: absolute;
    right: -2px;
    top: -60px;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 15% 100%, 0 50%);
}

.main-timeline .title {
    color: #000;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: capitalize;
    margin: 0 0 7px;
    height: auto;
}
.main-timeline .description {
    color: #555;
    /* font-weight: 500; */
    /* line-height: 22px; */
    text-align: left;
    /* letter-spacing: 0.5px; */
    margin: 0;
}

.main-timeline .timeline:nth-child(even) {
    margin: 0 0 25px 5px;
    float: right;
}

.main-timeline .timeline:nth-child(even) .timeline-content {
    text-align: left;
    padding: 0 0 0 15px;
    border-left: 2px solid var(--primary);
    border-right: none;
}

.main-timeline .timeline:nth-child(even) .timeline-content:before,
.main-timeline .timeline:nth-child(even) .timeline-content:after {
    right: auto;
    left: -4px;
}

.main-timeline .timeline:nth-child(even) .timeline-year {
    right: auto;
    left: -2px;
    clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%);
}

.main-timeline .timeline:nth-child(even) {
    --primary: #1a555c;
}

@media screen and (max-width: 767px) {
    .main-timeline .timeline,
    .main-timeline .timeline:nth-child(even) {
        width: 100%;
        margin: 0 0 25px;
    }
}

/* Blog */
.wppsac-post-carousel.design-1 a.wppsac-readmorebtn {
    border-radius: 40px;
}
.wppsac-post-categories .wppsac-post-categories-list li:nth-child(4n + 1) a {
    background: #cd9397;
}

/* Footer  */
.footer_top h5 {
    color: #000;
    margin: 0 0 10px;
    font-size: 18px;
}
.foot-links ul li {
    margin-bottom: 10px;
}

.top-social-icon li {
    display: inline-block;
    margin-top: 20px;
}
.top-social-icon li a {
    align-items: center;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    height: 28px;
    justify-content: center;
    margin-right: 5px;
    width: 28px;
}
.top-social-icon li a:hover {
    background: #000;
}
.top-social-icon li a:hover svg {
    fill: #fff;
}
.about-sec-text img {
    height: 140px;
}
.wpcf7-response-output {
    color: #000 !important;
}
/* page css */
h3 {
    padding-bottom: 10px;
}
.vc_custom_1708620824037 {
    padding: 20px;
}
.q_accordion_holder.accordion .ui-accordion-header:hover {
    color: #288c98;
}
ul li {
    margin-bottom: 15px;
}
ul li h4 {
    margin-bottom: 15px;
}
.wpcf7 form.wpcf7-form p {
    margin: 0 !important;
}
.about-sec-bg {
    background: #fff;
    padding: 50px;
    margin: 20px !important;
}
.card-type {
    background: #f5ebe6;
    padding: 30px;
    border-radius: 10px;
	height: 240px;
}
.card-type p {
    margin-top: 0;
}
.desk-none {
    display: none;
}
.about-bg-d {
    background: url(https://dipanpreet.com/wp-content/uploads/2024/02/about-bg-sec.png);
}
.journey ul {
    position: relative;
}
.journey ul::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 1px;
    background: #c27b7f;
    top: 0;
    left: 4px;
}
.q_tabs .tabs-nav {
    margin-bottom: 30px;
    padding-bottom: 25px;
    display: flex;
    border-bottom: 1px solid #ccc;
    justify-content: center;
    flex-wrap: wrap;
}
.q_tabs.horizontal.center {
    border: 1px solid #ccc;
    padding: 40px;
    border-radius: 10px;
}
.q_tabs.horizontal .tabs-nav li:first-child a {
    padding-left: 30px;
}
.q_tabs .tabs-nav li a {
    margin: 0px 10px;
    border-radius: 50px;
    padding: 0px 30px;
    font-size: 17px;
    font-weight: 500;
    color: #000;
    text-transform: capitalize;
    border: 2px solid #1a555c;
}
.q_tabs .tabs-nav li.active a {
    color: #fff;
    background: #1a555c;
}
.journey ul li::marker {
    font-size: 32px;
    color: #c27b7f;
}
.journey ul li ul li::marker {
    font-size: 16px;
    color: #000;
}
.journey ul ul {
    padding: 0 0 0 50px;
}
.flex-button {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.books-sec {
    border: 1px solid #ccc;
    padding: 20px;
}
.hero-left h1 {
    margin-bottom: 30px;
}
ul.wppsac-post-categories-list {
    display: none;
}
span.date.entry_date.updated {
    display: none;
}
.foogallery .fg-caption-title {
    white-space: normal!important;
    overflow: visible!important;
}

.foogallery .fg-caption a {
    font-size: 20px;
}
@media screen and (max-width: 1024px) {
    i.qode_icon_font_awesome.fa.fa-bars {
        font-size: 16px;
        color: #000;
        padding: 8px;
        border: 1px solid #ababab;
    }
    .hero-section .section_inner_margin {
        display: block;
    }
    .hero-right {
        margin-top: 30px;
    }
    h1 {
        font-size: 28px;
    }
    h2 {
        font-size: 22px;
    }
    .small-text {
        font-size: 16px;
    }
    .mt-lg-6 {
        margin-top: 30px;
    }
    .pt-lg-5 {
        padding-top: 30px;
    }
    .pb-lg-5 {
        padding-bottom: 30px;
    }
    .mt-lg-5 {
        margin-top: 30px;
    }
    .book-sec img {
        height: 125px;
        width: 100%;
        object-fit: contain;
    }
    .book-sec {
        margin-bottom: 20px !important;
    }
    .book-name {
        font-size: 20px;
    }
    .about-sec-text.text-center {
        text-align: left;
        padding: 30px 0;
    }
    .footer_top {
        padding: 35px 0 35px;
    }
    .pt-lg-2 {
        padding-top: 0;
    }
    .pt-lg-4 {
        padding-top: 15px;
    }
    h3 {
        padding-bottom: 0;
    }
    .pb-lg-3 {
        padding-bottom: 15px;
    }
    .pb-lg-2 {
        padding-bottom: 10px;
    }
    .wpb_content_element.wpb_single_image img {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .pb-lg-4 {
        padding-bottom: 15px;
    }
    .q_accordion_holder.accordion div.accordion_content {
        padding: 0 0 0 0px;
        margin: 0;
    }
    .accordion_content_inner h3 {
        padding-bottom: 15px;
    }
    .blog_vertical_loop article {
        margin: 0 0 80px;
    }
    .card-type {
        margin-bottom: 20px !important;
    }
    .text-center {
        text-align: left;
    }
    .card-type p {
        margin-top: 15px;
    }
    .about-sec-bg {
        background: #fff0;
        padding: 0;
        margin: 0px !important;
    }
    .desk-none {
        display: block;
    }
    .about-bg-d {
        background: 0 !important;
    }
    .q_tabs .tabs-nav {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
        gap: 10px;
    }
    .q_tabs.horizontal.center {
        padding: 20px;
    }
    .journey ul ul {
        padding: 0 0 0 20px;
    }
    .journey h3 {
        padding-bottom: 15px;
    }
    #tab-5df1b99f-ed16-1 .pt-lg-3 {
        padding-top: 10px;
    }
.about-hero-section {
    margin-bottom: -45px !important;
}
	.card-type {
	height: 100%;
}
}

/* about-biography-section */
.shadow-box {
    background: #ffffff !important;
    padding: 20px !important;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0.1px 12px #0106210f;
    border-radius: 5px;
}
.shadow-box .top-social-icon li {
    margin: 0 !important;
}
[class*="boi-sect"] {
    position: relative !important;
}

[class*="image-position"] {
    position: absolute;
}
.image-position-left {
    left: -150px;
}
.image-position-right {
    right: -20px;
}
.boi-sect-1 .shadow-box {
}
.boi-sect-3 .shadow-box {
    width: 68%;
    margin: 65px 0 0 370px;
}

.boi-sect-1 .position-box {
    margin: 50px -80px 0 0;
    z-index: 2;
}

.image-position-right img {
    max-width: 150% !important;
}
.position-social {
    position: absolute;
    top: 365px;
    right: -10px;
}
.position-social p {
    margin-top: 0 !important;
}
/* about-hero-section */
.about-hero-section {
    position: relative !important;
}
.hero-title span {
    display: block;
}
/* .hero-title {
    position: absolute;
    top: 25px;
    right: -55px;
} */
.hero-title {
    position: absolute;
    top: 25px;
    right: 5px;
    text-align: center;
}

.about-hero-section .hero-content-box {
    background: #ffffff !important;
    padding: 20px !important;
    border: 1px solid #e8e8e8;
    box-shadow: 0 0.1px 12px #0106210f;
    border-radius: 5px;
    width: 90%;
    position: absolute;
    left: 27%;
    top: 150px;
    z-index: 9999;
}
.about-hero-section .hero-content-box p {
    margin-top: 0 !important;
}

/* @media (min-width:768px) and (max-width:1280px){
	.hero-title {
		top: 10px !important;
    left:100px !important;
}
	.about-hero-section .hero-content-box {
    top: 100px !important;
}
} */

@media (max-width: 768px) {
    .hero-title,
    .about-hero-section .hero-content-box {
        position: unset !important;
    }
    .about-hero-section .hero-content-box,.shadow-box {
        padding: 0px !important;
        border: unset !important;
        box-shadow: unset !important;
        border-radius: unset !important;
        width: 100%;
    }
    .about-hero-section .hero-content-box p {
        margin-top: 15px !important;
    }

    [class*="image-position"],
    .position-social,
    .position-box {
        position: unset !important;
    }
    .boi-sect-3 .shadow-box,
    .position-box {
        width: 100%;
        margin: 0 !important;
    }

    .boi-sect-1 .vc_col-sm-4,
	.boi-sect-3 .vc_col-sm-6, {
        width: 100% !important;
    }
	.image-position-right img {
    max-width: 100% !important;
}
	.wpb_single_image.vc_align_right {
		text-align:left;
	}
	.event-page h3 {
	margin-bottom: 20px!important;
   font-size: 20px;
}
 .event-page .vc_col-sm-4 {
		margin-bottom: 25px!important;	
	}
	 .event-page h4 {
	 margin-top :15px;
	}
}
