@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600&amp;family=Montserrat:wght@100;200;300;400;500;600;700&amp;family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500&amp;display=swap");

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Playfair Display", serif;
}

body {
    font-family: "Montserrat", sans-serif;
/*    font-size: 16px;*/
    
}

section{
    padding: 60px 0;
}

/* Background Colors */
.gray_bg_color{
    background-color: #F7F7F7;
}

/* Heading */
.top-captions {
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
    color: #e05322;
    font-family: "Caveat", cursive;
    margin-bottom: 0.8rem;
}
.section-heading {
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #000000;
}
.section-descr p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: rgba(0, 0, 0, 0.6);
}

.testimonails-comment {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 140%;
    color: #000000;
    position: relative;
    z-index: 999;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    margin-top: 80px;
}
.testimonails-comment::before {
    content: "";
    position: absolute;
    background-image: url(../images/exclamatory.svg);
    width: 126px;
    height: 103px;
    top: -80px;
    left: 0;
    z-index: -1;
    background-size: contain;
    background-repeat: no-repeat;
}
.testimonails-comment::after {
    content: "";
    position: absolute;
    background-color: #a34723;
    height: 2px;
    width: 197px;
    top: 100%;
    left: 0;
}
.testimonails-descr p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    color: #1e1e1e;
}
.testimonails-pics {
    position: relative;
    margin: 1rem 1rem;
    z-index: 99;
}
.testimonails-pics::after {
    content: "";
    position: absolute;
    width: 97%;
    height: 97%;
    top: 1.5rem;
    left: 1.5rem;
    z-index: -1;
    background-color: #e05322;
}
.testimonails-info {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 57.29%, rgba(0, 0, 0, 0.8) 82.29%);
    z-index: 99;
    display: flex;
    padding: 1rem 1rem;
    color: #fff;
    text-align: center;
    flex-direction: column;
    justify-content: end;
}
.testimonails-info h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    /* identical to box height */
    color: #ffffff;
}
.testimonails-info p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #ffffff;
}

.user-block .image {
    margin: 0 1.5rem;
    position: relative;
    transform: translateY(2rem);
    -webkit-transform: translateY(2rem);
    -moz-transform: translateY(2rem);
    -ms-transform: translateY(2rem);
    -o-transform: translateY(2rem);
}
.user-block .user-info {
    position: absolute;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 57.29%, rgba(0, 0, 0, 0.8) 82.29%);
    z-index: 99;
    display: flex;
    padding: 1rem 1rem;
    color: #fff;
    text-align: center;
    flex-direction: column;
    justify-content: end;
}
.user-block .user-info h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    /* identical to box height */
    color: #ffffff;
}
.user-block .user-info p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #ffffff;
}
.user-block .descr {
    border: 3px solid #d9d9d9;
    padding: 3rem 1.5rem 1.5rem;
    text-align: center;
}
.user-block .descr p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 180%;
    text-align: left;
    color: #1e1e1e;
    margin: 0;
    padding: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    padding-bottom: 0;
}
.card-block {
    padding: 1rem;
    background-color: #f7f7f7;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    text-align: center;
    height: 100%;
}
.card-main-box .card-block{
    margin-bottom: 0;
}
.card-block h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #282828;
    margin-top: 1rem;
}
.card-block .title {
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height:14px;
    color: #282828;
    margin-bottom: 1rem;
    text-align: center;
}
.card-block p { 
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    text-align: left;
    color: #1e1e1e;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    padding-bottom: 0;
    /* textOverflow: 'ellipsis',
    display: '-webkit-box',
    lineClamp: 2,
    WebkitLineClamp: 2,
    WebkitBoxOrient: 'vertical', */
}
.left-line{
    border: 8px solid #741D27;
    width: 66.66%;
    margin: 60px 0;
}
.right-line{
    border: 8px solid #741D27;
    width: 66.66%;
    margin: 60px 0;
    float: right;
}

/* card-main-box */
.card-main-box{
    position: relative;
}
.card-main-box .card-block{
    padding: 20px 27px 15px;
    position: relative;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.card-main-box .card-block .card-info{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.363);
    bottom: 0;
    height: 100px;
    width: 100%;
    left: 0;
    border-radius: 0 0 8px 8px;
    -webkit-border-radius: 0 0 8px 8px;
    -moz-border-radius: 0 0 8px 8px;
    -ms-border-radius: 0 0 8px 8px;
    -o-border-radius: 0 0 8px 8px;
    color: #fff;
    padding: 0.5rem 2rem;
}
.card-main-box .card-block .card-info h4{
    color: #ffffff;
    margin-top: 0;
}
.card-main-box .card-block .card-info p.title{
    color: #ffffff;
}
.card-main-box p{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
            line-clamp: 5; 
    -webkit-box-orient: vertical;
    padding: 0;
}
.card-main-box  .description{
    padding: 10px 27px;
}
.card-main-box::before{
    content: "";
    height: 60%;
    width: 5px;
    background-color: #e05322;
    position: absolute;
    bottom: 10px;
    z-index: 9;
    left: 11px;
}
.center-line{
    border: 3px solid #D9D9D9;
    width: 60%;
    text-align: center;
    margin: 60px auto;
}

.read_more_content{
    font-size: 14px;
    color: #741D27 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

.read_more_button{
    font-size: 14px;
    color: #ffffff !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

.sidebar-more-content{
    position: fixed;
    width: 50%;
    height: 100%;
    background-color: #ffffff;
    top: 0;
    right: 0;
    z-index: 9999;
    padding: 0rem;
    overflow-y: scroll;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}
.sidebar-more-content.active{
    visibility: visible;
    opacity: 1;
}
.body-overaly{
    content: "";
    position: fixed !important;;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.432);
    z-index: 9;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease;
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
}
.body-overaly.active{
    visibility: visible;
    opacity: 1;
}
.sidebar-more-content .image{
    text-align: center;
}
.sidebar-more-content img{
    height: 200px;
}
.sidebar-more-content .user-info h4{
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    margin-top: 1rem;
}
.sidebar-more-content .user-info p {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
}
.sidebar-more-content .description{
    text-align: left;
    padding: 2rem;
}
.sidebar-more-content .description p{
    font-size: 14px;
}

.sidebar-more-content .close-sidebarmorecontent{
    cursor: pointer;
    float: right;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    text-align: center;
    padding: 5px;
    position: absolute;
    z-index: 999;
    top: 1rem;
    right: 1rem;
}
/* .close-sidebarmorecontent img{
    
} */

.sidebar-image-block{
    background-color: #DCE5DE;
    display: flex;
    padding: 2rem;
    align-items: end;
}
.user-info{
    position: relative;
}
.user-info::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #741D27;
    width: 40%;
    height: 3px;
}
.text-link-red{
    color:#741D27 !important;
}
.des-list{
    list-style-type: disc !important;
    font-size: 14px;
    line-height: 22px;
}
.desc-title {
    font-weight: 700;
    font-size: 16px;
    line-height: 32px;
    margin-top: 1rem;
}
/* .subnav-container.text-center{
    width: 95%;
    margin: 0 auto;
} */
.subnav-container.text-center{
    width: 88%;
}

/*css for page tilte*/
.pageTitleBlock {
    background: #000000;
    color: #ffffff;
    padding: 1rem 0 2rem;
    height: 182px;
    display: flex;
    align-items: center;
}
.pageTitleBlock .subTitle{
    color: #b16668;
    font-weight: 400;
    font-size: 24px;
    font-family: "caveatregular";
    line-height: 100%;
    margin-bottom: 8px;
    font-family: "Montserrat", sans-serif;
}
.sectionTitle {
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #00022e;
    font-family: "playfairdisplayBold";
}
.pageTitleBlock .sectionTitle {
    color: #ffffff;
    margin-bottom: 0;
}
/* .subbar-nav {
    flex-direction: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
} */
.subbar-nav .nav-link{
    font-weight: 500;
}
.subbar-nav li{
    position: relative;
}
/* .subbar-nav li::before {
    content: "|";
    color: #ccc;
    margin-top: 9px;
    left: -13px;
    position: absolute;
} */
.subbar-nav li:first-child::before {
    content: "";
}

@media (max-width: 1200px){
    .subbar .subhead{
        display: none;
    }
    .subnav-container.text-center {
        width: 100%;
        font-weight: 500;
    }
}
@media (max-width: 1140px){
    .card-main-box .card-block .card-info h4{
        font-size: 16px;
        margin-bottom: 0;
    }
    .user-block .user-info h4{
        font-size: 20px;
        line-height: 24px;
    }
}
@media (max-width: 991px){
    .sidebar-more-content{
        width: 90%;
    }
    .sidebar-more-content .image {
        text-align: center;
        max-width: 50%;
    }
    .sidebar-more-content .user-info h4 {
        font-weight: 700;
        font-size: 16px;
        line-height: 20px;
        margin-top: 1rem;
    }
    .sidebar-more-content img {
        height: auto;
    }
    .subbar-nav li{
        margin: 0 0 0 6px;
    }
}

@media (max-width: 767px){
    .section-heading {
        font-size: 36px;
    }
    .section-descr p{
        font-size: 12px;
        line-height: 180%;
    }
    .testimonails-comment{
        font-size: 24px;
    }
    .testimonails-descr p,  .user-block .descr p, .card-block p, .card-main-box p{
        font-size: 13px;
        line-height: 20px;
    }
    .testimonails-comment::before {
        width: 80px;
        height: 60px;
        top: -40px;
    }
    .testimonails-info h4, .user-block .user-info h4{
        font-size: 20px;
        line-height: 28px;
    }
    section{
        padding: 30px 0;
    }
   
}