/**
*****************************************
	Theme Name: AMBI
	Author: ANTS Creation
	Author URL: http://www.ants.lk
	Version: 1.0
******************************************
**/


/*  Section Padding
/* =================================== */

.section-p1 {
    padding: 60px 0;
}

.section-p2 {
    padding: 40px 0;
}

.section-p3 {
    padding: 60px 0 40px;
}

.section-p4 {
    padding: 50px 0;
}


/*  Section Title
/* =================================== */

.s-title-1.s-para {
    max-width: 660px;
    margin: 0px auto 60px;
    position: relative;
}

.s-title-1 span {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--main-1);
    display: block;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.s-title-1 h2 {
    margin-bottom: 20px;
    position: relative;
    display: block;
    color: var(--main-2);
}

.s-title-1 p {
    font-size: 15px;
    margin-bottom: 15px;
    font-family: font-1;
    color: var(--main-5);
    line-height: 1.8;
}


/*  background color
/* =================================== */

.bg-color {
    background-color: var(--main-bg);
}


/*  Button
/* =================================== */

.b-style-1,
.b-style-2 {
    overflow: hidden;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    -ms-transition: all 0.3s linear;
    transition: all 0.3s linear;
    background-color: var(--main-1);
    color: var(--white);
    cursor: pointer;
    display: inline-block;
    font-size: 0.9rem;
    line-height: normal;
    margin: 15px 0 0;
    outline: none;
    padding: 9px 30px;
    position: relative;
    text-transform: uppercase;
    z-index: 1;
}

.b-style-1:after {
    background: rgba(0, 0, 0, 0.1);
}

.b-style-1:after {
    width: 35%;
    height: 200%;
    z-index: 1;
    right: 0;
    top: 0;
    margin: -5px 0 0 -5px;
    -webkit-transform-origin: 0 0;
    -webkit-transform: rotate(-20deg);
    -moz-transform-origin: 0 0;
    -moz-transform: rotate(-20deg);
    -ms-transform-origin: 0 0;
    -ms-transform: rotate(-20deg);
    transform-origin: 0 0;
    transform: rotate(-20deg);
    content: '';
    position: absolute;
    z-index: -1;
}

.b-style-1:hover,
.b-style-2:hover {
    color: var(--white);
}

.b-style-2:hover::before {
    left: 0;
}

.b-style-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 50%;
    background-color: var(--main-2);
    z-index: -1;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.b-style-2:hover::after {
    right: 0;
}

.b-style-2::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 100%;
    width: 100%;
    height: 50%;
    background-color: var(--main-2);
    z-index: -1;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.b-style-3 {
    border: 2px solid var(--main-5);
    border-radius: 5px;
    color: #242424;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 20px;
    text-transform: uppercase;
}

.b-style-3:hover {
    border: 2px solid var(--main-1);
}

.b-style-nav {
    border: 2px solid var(--main-5);
    border-radius: 5px !important;
    color: var(--white);
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    font-family: font-5;
    padding: 5px 20px;
    text-transform: uppercase;
    background-color: var(--main-5);
}


/*----slider ------*/

.slider-overlay {
    background: var(--gr-1);
    opacity: 0.7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.rev_slider_wrapper,
.rev_slider,
.tp-fullwidth-forcer,
.rev_slider .tp-bgimg.defaultimg {
    max-height: 540px !important;
}


/*---- welcome-area -------*/

.about-list {
    margin-top: 30px;
}

.about-list .w-list {
    padding: 0 0 15px 60px;
    position: relative;
}

.about-list .w-list img {
    position: absolute;
    top: 2px;
    left: 0;
    font-size: 50px;
    color: #262566;
    line-height: 1;
}

.about-list .w-list span {
    font-size: 15px;
    color: var(--main-4);
    line-height: 1.5;
    font-family: font-3;
}

.w-img {
    visibility: visible;
    animation-delay: 0.2s;
    position: relative;
    float: right;
}

.w-img img {
    border-radius: 0 25% 0 0;
}

.w-img.w-img-1 .img-2 {
    opacity: 0.5;
}

.w-img .w-img-2 {
    position: absolute;
    top: 35px;
    left: -90px;
}


/*--- project-area  ----*/

.p-content {
    text-align: center;
    background-color: var(--white);
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    padding: 15px;
    margin-bottom: 30px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    position: relative;
    z-index: 1;
}

.p-content h6 {
    margin: 25px 0 15px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    color: var(--main-2);
}

.p-content.s-title-1 p {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    font-size: 14px;
}

.p-content span i,
.s-box .s-content .btn-2 {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: var(--main-1);
    border-radius: 50%;
    text-align: center;
    font-size: 15px;
    color: var(--white);
    margin-top: 2px;
    z-index: 1;
}

.p-content:hover {
    background-color: var(--main-1);
}

.p-content:hover p,
.p-content:hover h6 {
    color: var(--white);
}

.p-content:hover span i {
    background-color: var(--main-2);
}


/*----- services-area -----*/

.s-box {
    text-align: center;
    margin-bottom: 30px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.s-box img {
    border-radius: 4px 4px 0 0;
}

.s-box .s-content {
    padding: 50px 10px 15px;
    margin-bottom: 2rem;
    background-color: var(--white);
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    position: relative;
}

.s-box .s-content .icon-s {
    font-size: 35px;
    background-color: var(--main-1);
    line-height: 70px;
    width: 70px;
    height: 70px;
    display: inline-block;
    border-radius: 50%;
    color: var(--white);
    position: absolute;
    top: -36px;
    left: 0;
    right: 0;
    margin: auto;
}

.s-box .s-content h5 {
    margin-bottom: 12px;
    color: var(--main-4);
}

.s-box .s-content .btn-2 i {
    font-size: 20px;
    position: relative;
    line-height: 30px;
    top: 1px;
    left: 1px;
}

.s-box:hover .s-content .icon-s {
    -webkit-animation: bounce 1s linear;
    animation: bounce 1s linear;
}


/*---- testimonials----*/

.testimonial-area,
.staff-area {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.testimonial-area .services-shape1 img,
.staff-area .services-shape1 img {
    left: 0;
    top: 0;
    margin: auto;
    right: 0;
    position: absolute;
}

.s-client:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.testimonial-area .s-client {
    text-align: center;
    padding: 0 30px 30px;
    border-radius: 4px;
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    margin: 34px 10px 25px;
    position: relative;
    z-index: 1;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    background: var(--white);
}

.testimonial-area .s-client img {
    border-radius: 50%;
    margin-bottom: -30px !important;
    position: relative;
    top: -30px;
    width: 70px !important;
    margin: auto;
    background-color: var(--main-3);
}

.testimonial-area .s-client h5 {
    color: var(--main-2);
    margin: 20px 0 5px;
}

.testimonial-area .s-client span {
    margin-bottom: 10px;
    display: block;
    color: var(--main-1);
}

.testimonial-area .s-client .quotes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    display: flex;
    color: var(--main-1);
    font-size: 90px;
    z-index: -1;
    opacity: 0.1;
}


/*---- choose-area----*/

.overlay-bg {
    background: var(--gr-3);
}

.choose-area .s-title-1 {
    margin: 0 0 35px;
}

.choose-area .s-title-1 span,
.choose-area .s-title-1 h2,
.choose-area .s-title-1 p {
    color: var(--white);
}

.choose-area .c-list ul li {
    margin-bottom: 25px;
    position: relative;
    padding-left: 75px;
}

.choose-area .c-list ul li img {
    font-size: 50px;
    color: #2f89fc;
    line-height: 1;
    position: absolute;
    left: 0;
    top: 2px;
}

.choose-area .c-list ul li h6 {
    color: #ffffff;
}

.choose-area .c-list ul li p {
    color: #ffffff;
    font-size: 14px;
}


/*---- breadcrumb-area ---*/

.breadcrumb-area.inner-banner-header {
    position: relative;
}

.inner-banner-header .overlay-banner {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--gr-2);
}

.breadcrumb-area .page-banner {
    display: table;
    vertical-align: middle;
    width: 100%;
    height: 300px;
}

.breadcrumb-area .page-title {
    display: table-cell;
    vertical-align: middle;
    color: var(--white);
}

.breadcrumb {
    font-size: 0.9rem;
    background-color: transparent;
    text-transform: capitalize;
    padding: 15px 0 5px;
    color: var(--white);
    margin: 0;
}

.breadcrumb li a {
    color: var(--white);
}

.breadcrumb li+li:before {
    content: " / ";
    padding: 0 8px 0 8px;
    color: var(--white);
}


/*----- contact-area ----*/

.contact-form {
    background-color: #ffffff;
    -webkit-box-shadow: 0 2px 57px rgba(248, 237, 239, 1);
    box-shadow: 0 2px 57px rgba(248, 237, 239, 1);
    padding: 40px;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 1.4rem;
}

.contact-form .form-control {
    height: 44px;
    color: #262566;
    border: 1px solid #d8d8d8;
    border-radius: 0;
    font-size: 13px;
    padding: 10px 20px;
    width: 100%;
}

.contact-form textarea.form-control {
    height: auto;
}

.c-detail {
    background-color: var(--main-bg);
    padding: 56px 30px;
}

.c-detail .s-title-1 h2 {
    font-size: 24px;
}

.contact-box {
    position: relative;
    margin: 10px 0 30px;
}

.contact-box::after {
    content: "";
    width: 70px;
    height: 1px;
    background: #c9c9c9;
    left: 0;
    bottom: -21px !important;
    position: absolute;
}

.contact-box.line-none::after {
    display: none;
}

.contact-box a {
    color: #505050;
}


/*----- about-area ----*/

.about-area .a-img {
    position: relative;
}

.about-area .a-img::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 30px;
    width: 100%;
    height: 100%;
    border: 5px solid var(--main-1);
    z-index: -1;
}

.vm-area .v-content {
    border-bottom: 1px solid #dfdcdc;
    padding: 30px 0;
}

.vm-area .w-content {
    padding: 10px 0 0 25px;
}

.vm-area .vm-border {
    border-right: 1px solid #dfdcdc;
    padding: 0;
}

.vm-area .vm-content .w-list img {
    padding: 10px;
    display: inline-block;
}

.vm-area .vm-content .w-list h4 {
    padding: 0 10px 10px;
    line-height: 63px;
    display: inline-block;
}


/*------ c-msg-area ------*/

.c-msg-area .chairmen-img {
    position: relative;
    z-index: 1;
    margin-top: 30px;
    border: 4px solid var(--main-1);
    padding: 0px 30px 0;
}

.c-msg-area .chairmen-img img {
    width: 100%;
    box-shadow: 0 0 50px rgb(248, 237, 239);
    position: relative;
    top: -30px;
}

.c-msg-area .w-content span {
    font-family: font-6;
    text-align: left;
    font-size: 2.7rem;
    color: var(--main-4);
    margin: 10px 0 20px 0;
}


/*---- staff --*/

.staff-box {
    margin-bottom: 30px;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.staff-box .staff-content {
    padding: 30px;
    -webkit-box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    box-shadow: 0 0 20px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #ffffff;
    margin: -30px 20px 0;
}

.staff-box .staff-content h5 {
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    line-height: 1.5;
    color: var(--main-2);
}

.staff-box .staff-content span {
    color: var(--main-1);
}

.staff-box .staff-content::before,
.staff-box .staff-content::after {
    content: "";
    position: absolute;
    width: 50%;
    height: 100%;
    background-color: var(--main-1);
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    z-index: -1;
}

.staff-box .staff-content::before {
    top: 0;
    left: -100%;
}

.staff-box .staff-content::after {
    bottom: 0;
    right: -100%;
}

.staff-box:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

.staff-box:hover .staff-content::before {
    left: 0;
}

.staff-box:hover .staff-content::after {
    right: 0;
}

.staff-box:hover .staff-content h5,
.staff-box:hover .staff-content span {
    color: var(--white);
}


/*---- s-detail-area ------*/

.info-area .s-content h3 {
    color: var(--main-2);
    margin: 30px 0 20px;
}

.info-area .s-content p {
    text-align: justify;
}

.info-area .s-detail {
    position: relative;
    margin-bottom: 35px;
    background-color: #ffffff;
    -webkit-box-shadow: 0px 0px 29px 0px rgb(248, 237, 239);
    box-shadow: 0px 0px 29px 0px rgb(248, 237, 239);
}

.info-area .sd-title {
    text-transform: capitalize;
    position: relative;
    margin-bottom: 0;
    background-color: var(--main-bg);
    padding: 10px 20px;
    position: relative;
    font-size: 1.4rem;
}

.info-area .sd-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background-color: var(--main-1);
}

.info-area .sd-box {
    padding: 20px;
}

.info-area .s-detail .item {
    overflow: hidden;
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid #efefef;
}

.info-area .s-detail .item:last-child {
    border-bottom: 0;
}

.info-area .s-detail .item .thumb {
    float: left;
    overflow: hidden;
    position: relative;
    width: 80px;
    margin-right: 15px;
}

.info-area .s-detail .item .thumb img {
    display: inline-block;
    position: relative;
    background-color: var(--main-1);
}

.info-area .s-detail .item .info {
    overflow: hidden;
}

.info-area .s-detail .item .info h4 {
    margin-bottom: 5px;
    line-height: 1.5;
    font-size: 14px;
    font-weight: 600;
    text-transform: capitalize;
    color: var(--black);
}

.info-area .s-detail .item .info span {
    font-size: 13px;
    color: #929292;
    display: block;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.info-area .s-detail li {
    position: relative;
    padding: 0 0 12px 20px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 1px solid #efefef;
}

.info-area .s-detail ul li:last-child {
    border-bottom: 0;
}

.info-area .s-detail ul li::before {
    background: var(--main-1);
    position: absolute;
    height: 10px;
    width: 10px;
    content: '';
    left: 0;
    top: 7px;
    -webkit-clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.info-area .s-detail ul li a {
    display: block;
    color: #666666;
    font-weight: normal;
    font-size: 0.93rem;
}

.info-area .s-detail ul li a:hover {
    color: var(--main-1);
}

.p-detail-area.info-area .sd-title,
.p-detail-area.info-area .s-detail {
    border-top-right-radius: 10px;
}

.p-detail-area .p-img img {
    border-radius: 10px;
    box-shadow: 0px 0px 9px 0px rgb(248, 237, 239);
}