/*******************************************************
 *
 * General
 *
 *******************************************************/
 #content .about-heading h2 {
    position: relative;
    display: inline-block;
    font-family: var(--font-family-title);
    font-weight: 600;
    font-size: var(--font-size-title);
    color: var(--font-color-title);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0;
}
  
#content .about-heading h2 span {
    font-weight: 100;
    color: var(--secondary-color);
}
  
#content .about-heading.heading-line-left h2, 
#content .about-heading.heading-line-center h2, 
#content .about-heading.heading-line-right h2 {
    padding-bottom: 21px;
}
  
#content .about-heading.heading-line-left h2::before, 
#content .about-heading.heading-line-left h2::after, 
#content .about-heading.heading-line-center h2::before, 
#content .about-heading.heading-line-center h2::after, 
#content .about-heading.heading-line-right h2::before, 
#content .about-heading.heading-line-right h2::after {
    content: '';
    position: absolute;
    bottom: 0;
}
  
#content .about-heading.heading-line-left h2::before, 
#content .about-heading.heading-line-center h2::before, 
#content .about-heading.heading-line-right h2::before {
    width: 115px;
    height: 3px;
    background: #000;
    z-index: 1;
}
  
#content .about-heading.heading-line-left h2::after, 
#content .about-heading.heading-line-center h2::after, 
#content .about-heading.heading-line-right h2::after {
    width: 100%;
    height: 1px;
    background: #d2d2d2;
}
  
#content .about-heading.heading-line-left h2::before, 
#content .about-heading.heading-line-left h2::after {
    left: 0;
}
  
#content .about-heading.heading-line-right h2::before, 
#content .about-heading.heading-line-right h2::after {
    right: 0;
}
  
#content .about-heading.heading-line-center h2 {
    text-align: center;
}
  
#content .about-heading.heading-line-center h2::before, 
#content .about-heading.heading-line-center h2::after {
    left: 0;
    right: 0;
    margin: auto;
}
  
#content .about-heading.light-style h2,
#content .about-heading.light-style h2 span {
    color: #fff;
}
  
#content .about-heading.light-style.heading-line-left h2::before, 
#content .about-heading.light-style.heading-line-center h2::before, 
#content .about-heading.light-style.heading-line-right h2::before {
    background: #fff;
}

.page-template-template-about #inner-page-wrapper > .container {
    padding: 0;
    width: 100%;
}

.page-template-template-about #content-sidebar,
.page-template-template-about #content-full {
    margin-top: 39px;
}

#inner-page-wrapper {
    overflow: hidden;
}

.ip-about #welcome {
    font-size: 0;
    position: relative;
    padding-top: 40px;
}
.ip-about #welcome  p {
    font-size: 15px;
}
    .ip-about .welcome-text {
        width: 100%;
    }
    .ip-about .welcome-text .section-title-a{
        padding: 40px 0 20px;
        margin: 0;
    }
    .ip-about #content .welcome-text .section-title-a h2{
        font-weight: 600;
        font-size: 40px;
        margin: 0;
    }
    .ip-about #welcome .welcome-right{
        display: inline-block;
        vertical-align: top;
        width: 50%;
        padding: 0 0 2% 3%;
    }
        .ip-about #welcome .welcome-right .welcome-agent {
            position: relative;
        }
            .ip-about #welcome .welcome-right .welcome-agent img{
                width: 100%;
                display: block;
            }

            .ip-about #welcome .welcome-button{
                text-align: center;
            }

                .ip-about #welcome .welcome-button .ip-default-btn{
                    margin-top: 15px;
                } 

    .ip-about #welcome .welcome-left{
        display: inline-block;
        vertical-align: top;
        width: 50%;
    }

    .ip-about  .welcome-text .section-title-a{
            text-align: center;
            font-family: var(--font-family-title);
            letter-spacing: .06em;
            line-height: 1;
            color: var(--font-color-title);
            font-weight: 600;
            font-size: 40px;
            text-transform: uppercase;
    }
    #content p{
        text-align: center;
        margin: 28px 0;
        line-height: 1.7;
        letter-spacing: .02em;
    }

    #ip-git {
        padding: 39px 39px;
    }
    
#contact-us {
    /*margin-top: 152px;*/
}

#contact-us .section-title-a {
    text-align: center;
}

.contact-form {
    width: 50%;
    margin: 0 auto;
    padding-bottom: 30px;
}

.contact-form-inner {
    max-width: 514px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.contact-form p {
    font-size: 15px;
    text-align: center;
    line-height: 1.75;
    letter-spacing: .02em;
    font-weight: 300;
    margin: 11px 0 29.5px;
}

.contact-form div.wpcf7{
    position: relative;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    height: 51px;
    border: none;
    border-bottom: 1px solid var(--secondary-color);
    font-style: italic;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--font-color-title);
    margin: 3.5px 0;
}

.contact-form textarea {
    padding-top: 19px;
    height: 85px;
    resize: none;
}

.contact-form .default-btn-a {
    margin-top: 48px;
}

.contact-form div.wpcf7 .ajax-loader {
    position: absolute;
    top: calc(100% + 5px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

#cta-section {
    padding: 60px 0;
}

/* Testimonial */
.about-testi {
    position: relative;
    padding: 85px 0 120px;
    background: url(../../images/bg-testi.jpg) no-repeat center center;
    background-size: cover;
}
  
.about-testi::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    pointer-events: none;
    opacity: .4;
}
  
#content .about-testi .about-heading {
    max-width: 560px;
    margin: 0 auto;
}
  
#content .about-testi .about-heading h2 {
    display: block;
    font-weight: 500;
    letter-spacing: .05em;
    padding-bottom: 0;
}
  
#content .about-testi .about-heading.heading-line-left h2::before {
    display: none;
}
  
#content .about-testi .about-heading.heading-line-left h2::after {
    bottom: initial;
    left: initial;
    top: 50%;
    right: calc(100% + 30px);
}
  
.testi-list {
    margin: 45px auto 0;
}
  
#content .testi-item p {
    font-weight: 400;
    font-size: 16px;
    letter-spacing: .02em;
    color: #fff;
    line-height: 1.8;
    margin: 0;
    text-align: left;
}
  
.testi-item .testi-author {
    font-family: var(--font-family-title);
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    margin-top: 35px;
}
  
.testi-btn-wrap {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 62px;
}
  
.testi-btn-wrap .default-btn {
    margin-right: auto;
}
  
.testi-navigation {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
  
.testi-navigation .slick-arrow {
    position: relative;
    font-weight: 300;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    display: block;
    font-size: 32px;
    background: transparent;
    color: #fff;
    opacity: .5;
    border: none;
    z-index: 1;
    padding: 0;
    margin-left: 15px;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    outline: none;
}
  
.testi-navigation .slick-arrow.testi-next {
    left: initial;
    right: 0;
}
  
.testi-navigation .slick-arrow:hover, .testi-navigation .slick-arrow:focus {
    opacity: 1;
}
/* #Testimonial */

/* Popup */
.aiosp-gallery .aiosp-close{
    color: #fff;
}
.about-popup-content {
    padding: 50px 15px;
    max-width: 1140px;
    width: 80%;
    margin: 0 auto;
    text-align: center;
    line-height: 1.7;
    color: #fff;
    background: #000;
}
/* #Popup */

.welcome-info {
    font-size: 15px;
    margin: 10px 0;
    text-align: center;
    letter-spacing: .02em;
}

/*******************************************************
 *
 * Mobile styles and other media queries
 *
 *******************************************************/

@media only screen and (max-width: 1440px) {
    
}

@media only screen and (max-width: 1366px) {
    
}

@media only screen and (max-width: 1280px) {
    
}
 
@media only screen and (max-width: 1199px) {
    
}

@media only screen and (max-width: 991px) {
    .ip-about #welcome .welcome-right{
        float: none;
        width: 100%;
        padding: 0;
    }
    .contact-form, .contact-photo {
        width: 100%;
    }
    #cta-section {
        padding: 50px 0;
    }
    #ip-git {
        padding: 39px 15px;
    }
    .about-testi {
        padding: 80px 0;
        text-align: center;
    }
    #content .about-testi .about-heading.heading-line-left h2 {
        padding-bottom: 21px;
    }
    #content .about-testi .about-heading.heading-line-left h2::after {
        top: initial;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #content .testi-item p {
        font-size: 15px;
        text-align: center;
    }
    .testi-btn-wrap {
        margin-top: 40px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: reverse;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
    .testi-btn-wrap .default-btn {
        margin: 30px auto 0;
    }
    .testi-navigation .slick-arrow {
        margin: 0 10px;
    }
    .ip-about #welcome .welcome-left {
        width: 100%;
    }
} 

@media only screen and (max-width: 767px) {
    .about-heading h2 {
        font-size: 40px !important;
    }
}

@media only screen and (max-width: 480px) {
    .about-heading h2 {
        font-size: 30px !important;
    }
    .about-popup-content {
        padding: 50px 35px;
        width: 95%;
    }
    .about-popup-content br{
        display: none;
    }
} 