/***
Template Style: Buyers
***/

.custom-ip-banner {
    margin-bottom: 6px;
    background-size: cover !important;
    position: relative;
    background-position: center;
    background-size: cover;
}

.custom-ip-banner:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
}

.custom-ip-banner canvas {
    width: 100%;
    display: block;
    min-height: 250px;
}

#content .custom-page-title {
    font-size: 55px;
    text-align: left;
    padding-top: 16px;
    font-weight: 400;
    margin-bottom: 17px;
    margin-top: 3px;
    display: block;
    padding-left: 0;
}

#content .custom-page-title::after {
    left: 0;
}

.custom-breadcrumbs p {
    font-size: 14px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 10px 0;
}

#content {
    position: relative;
}

#content > div {
    position: relative;
    z-index: 2;
}

.buyers-bg {
    position: absolute !important;
    top: 0;
    bottom: 297px;
    right: 0;
    left: 0;
    background-size: cover !important;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.22;
}

.buyers-bg:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: -moz-linear-gradient(top,  rgba(255,255,255,1) 0%, rgba(255,255,255,0.89) 22%, rgba(255,255,255,0.52) 77%, rgba(255,255,255,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.89) 22%,rgba(255,255,255,0.52) 77%,rgba(255,255,255,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,0.89) 22%,rgba(255,255,255,0.52) 77%,rgba(255,255,255,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff',GradientType=0 ); /* IE6-9 */
}

.buyers-bg:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: -moz-linear-gradient(top,  rgba(255,255,255,0) 0%, rgba(255,255,255,0.52) 23%, rgba(255,255,255,0.89) 78%, rgba(255,255,255,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.52) 23%,rgba(255,255,255,0.89) 78%,rgba(255,255,255,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.52) 23%,rgba(255,255,255,0.89) 78%,rgba(255,255,255,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

#breadcrumbs a:hover, #breadcrumbs a:focus {
    color: #666666;
    opacity: 0.6;
}

.page-template-buyers {
    counter-reset: iPtitleNo;
}

.page-template-buyers h2:before {
    counter-increment: iPtitleNo;
    content: "0" counter(iPtitleNo);
    display: none;
}

.buyers-wrap {
    max-width: 1280px;
    margin: 37px auto 100px;
    display: flex;
    font-size: 0;
    position: relative;
}

.buyers-wrap::before {
    content: '';
    width: 187px;
    height: 207px;
    background: #000 url(../../images/logo-lg.png) center center no-repeat;
    background-size: 131px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    box-shadow: 0px 0px 27px 0px rgba(0, 0, 0, 0.35);
}

.buyers-wrap > div {
    width: 50%;
}

.buyers-img img {
    height: 100%;
    object-fit: cover;
}

.buyers-img {
    display: flex;
    align-items: center;
}

.buyers-text {
    background: #163788;
    color: #fff;
    padding: 39px 100px 32px 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.buyers-text h3 {
    color: #fff;
    font-size: 40px !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-family: var(--font-family-title);
    font-weight: 400 !important;
    margin: 0 !important;
}

.buyers-text p {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.9 !important;
    margin: 11px 0 !important;
}

p.p-lg {
    /* font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em; */
    margin: 32px 0 !important;
}

.buyers-text p:first-of-type {
    margin-top: 9px !important;
}

.flex-btn {
    display: flex;
}

.buyers-wrap .primary-btn {
    color: #fff;
    padding: 22px 20px;
    margin-top: 15px;
    margin: 0 5px;
    width: 200px;
    font-size: 12px;
    text-align: center;

}

.buyers-wrap .primary-btn:hover, .buyers-wrap .primary-btn:focus {
    background: #000 !important;
    border-color: #000;
}

.qs-text {
    font-weight: 400;
}

.qs-bg {
    background-attachment: initial !important;
}

/*** Media Queries ***/
@media only screen and (max-width: 1300px) {
    .buyers-wrap::before {
        width: 140px;
        height: 160px;
        background-size: 100px;
    }

    .buyers-text {
        padding: 39px 70px 32px 103px;
    }
}

@media only screen and (max-width: 1199px) {
    .buyers-wrap::before {
        width: 110px;
        height: 130px;
        background-size: 80px;
    }

    .buyers-text {
        padding: 39px 30px 32px 70px;
    }

    .buyers-text h3 {
        font-size: 30px !important;
    }

    .buyers-text p {
        font-size: 12px;
    }

    .buyers-wrap .primary-btn {
        padding: 15px 47px;
        margin-top: 15px;
    }
}

@media only screen and (max-width: 991px) {
    #content .custom-page-title {
        font-size: 45px;
    }

    .buyers-wrap {
        max-width: 500px;
        flex-direction: column;
    }

    .buyers-wrap > div {
        width: 100%;
    }

    .buyers-wrap:before {
        display: none;
    }

    .buyers-text {
        padding: 40px 20px;
        text-align: center;
    }

.flex-btn {
    display: block;
}

h2 span:nth-child(1) {
    padding-left: 0; 
    display: block;
}

.buyers-wrap {
    margin: 37px auto 0px;
}


}

@media only screen and (max-width: 480px) {
    .buyers-wrap .primary-btn {
        padding: 15px 20px;
    }

    #content .custom-page-title {
        font-size: 35px;
    }
}