/*
Theme Name:     Project Finance Advisory LTD
Theme URI:      http://PFALimited.com
Author:         LocalEdge
Author URI:     http://LocalEdge.com
Description:    Child Theme for Betheme - Project Finance Advisory LTD
Template:       betheme
Version: 2.0.2
*/

/*ADA STYLES*/
.ada-label {
    font-size: 0;
    height: 1px;
    overflow: hidden;
    display: inline;
}

/* Theme customization starts here
-------------------------------------------------------------- */
h4 {
    font-size: 20px !important;
}

html h1 {
    font-size: 35px !important;
}

.flip {
    transform: scaleX(-1);
}

.icon_box img {
    width: 150px !important;
}

#menu-menu span {
    font-weight: 400 !important;
}

.no-margin {
    margin-left: 0;
    margin-right: 0;
}

.left-margin-adjust {
    margin-left: 2.1%;
}

html body .list li {

    /* Text color */
    color: black;
    list-style-type: none;
    text-indent: -.7em;
    margin-bottom: 0;
}

html body .list li:before {
    content: "\2022";
    /* Unicode of character to precede the list item */
    font-size: 3em;
    /* em or %*/
    padding-right: .1em;
    /* use em*/
    position: relative;
    top: .25em;
    color: #99cb50;
}

.margin-bottom-20 {
    margin-bottom: 20px !important;
}

.margin-top-40-children > div > div {
    margin-top: 20px !important;
}

.middle-border {
    border-right: 1px solid white;
    border-left: 1px solid white;
    margin-left: .5% !important;
    margin-right: .5% !important;
}

.gform_wrapper label {
    color: black;
}

#gform_wrapper_2 .gform_title {
    display: none;
}

.button-center-wide {
    width: 240px !important;
}

.center {
    text-align: center;
}

.callout-section .column_icon_box {
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    min-height: 430px;
}

.callout-section .icon_box {
    padding-top: 0;
}

.callout-section .image_wrapper {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: white;
}

.callout-section .post-item {
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15);
    min-height: 430px;
}

.desc > ul {
    list-style: disc;
}

.team-info-box {
    color: black;
    text-transform: uppercase;
    box-sizing: border-box;
}

.team-info-box:nth-child(even) {
    padding-left: 15px;
}

.team-info-box .box-head {
    background-color: #98cb4f;
    color: white;
    font-weight: bolder;
    padding-left: 10px;
    margin-left: -10px;
}

.team-info-box p {
    margin: 0;
    padding: 0;
}

.team-info-box ul {
    margin: 0;
}

.team-info-box li {
    color: black;
    margin: 0px !important;
}

.team-info-box img {
    padding-right: 5px;
}

.sub-heading {
    font-size: 16px;
    font-style: italic;
    font-weight: 300;
}

.project-title {
    font-size: 18px;
    font-weight: bolder;
}

.grid .post-desc-wrapper {
    width: 100%;
    float: none;
    min-height: 270px;
}

.img-bg-section h2 {
    color: white;
    font-weight: 300;
}

.img-bg-section p {
    color: white;
}

.bg-columns {
    min-height: 400px;
    padding: 50px;
    box-sizing: border-box;
}

.bg-columns a.button,
.bg-columns a.tp-button {
    background-color: #9bcc4d;
    color: white;
}

.bg-columns a.button .button_label {
    padding: 5px 40px;
}

.equal-height-wrap .mcb-wrap.valign-bottom.bg-cover .mcb-wrap-inner {
    -webkit-transform: translateY(-170%);
    -moz-transform: translateY(-170%);
    -ms-transform: translateY(-170%);
    -o-transform: translateY(-170%);
    transform: translateY(-170%);
}

.no-line {
    visibility: hidden;
}

.title {
    margin-top: 0;
    line-height: 140px !important;
}

#Top_bar {
    min-height: 80px;
}

.menu-item {
    z-index: 9999 !important;
}

/****************************************************************
STYLING FOR "DARK" SECTION (checkbox style when editing section)
****************************************************************/
html .dark-logo-color {
    background-color: #53534a !important;
}

.dark {
    background-color: #666868 !important;
}

.dark .callout-section .column_icon_box {
    box-shadow: 0 1px 2px 0 rgba(255, 255, 255, 0.3), 0 1px 3px 1px rgba(255, 255, 255, 0.15);
}

.dark a.button_theme,
.dark a.tp-button.button_theme,
.dark button,
.dark input[type="submit"],
.dark input[type="reset"],
.dark input[type="button"] {
    background-color: rgb(152, 203, 79);
    color: #ffffff;
}

/****************************************************************
STYLING FOR PERSON PAGES
****************************************************************/
.whole .text-container {
    max-width: 800px;
    padding-bottom: 50px;
}

.whole {
    max-width: 1200px;
    margin: 50px auto 0;
}

.whole .outer p {
    font-weight: bold;
    padding-top: 10px;
}

/****************************************************************
STYLING FOR VIDEO SUB HEADERS
****************************************************************/
.subheader-video iframe {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    height: 1000px;
}

.subheader-video > .container {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0;
    width: 100%;
    overflow: hidden;
}

.subheader-video .column.one {
    width: 100%;
    margin: 0;
}

.subheader-video .title {
    z-index: 999;
    position: relative;
    background: rgba(153, 206, 80, .5);
}

.minimalist-header-no #Subheader.subheader-video {
    padding: 0 !important;
}

.person.col-sm-3.slick-slide {
    background: white !important;
    border-left: 15px solid #3b3b49 !important;
    border-right: 15px solid #3b3b49 !important;
    padding-top: 15px !important;
    min-height: 320px !important;
}

.slick-track .img-container {
    height: auto;
    width: auto;
}

.slick-track .img-container {
    height: auto;
    width: auto;
    max-height: 200px;
    overflow: hidden;
}

.slick-track h4 {
    line-height: 20px;
    min-height: 40px;
}

.slick-track span {
    min-height: 40px !important;
    display: block;
}

html body .person-subheader {
    padding: 200px 0 !important;
}

.subheader-both-center #Subheader.person-subheader .title {
    font-size: 35px !important;
    font-weight: 300 !important;
    margin: 0 0 15px;
    line-height: 20px;
}

.project-title {
    margin-top: 7px;
    margin-bottom: 5px;
    display: inline-block;
}

#public-sector-projects {
    background-color: #3b3b49;
}

#public-sector-projects .col-sm-3 {
    background-color: white;
    min-height: 400px;
    border: 10px solid #3a3b49;
    padding-bottom: 30px;
    padding: 0;
}

#private-sector-projects .col-sm-3 {
    background-color: white;
    min-height: 400px;
    border: 10px solid #3b3b49;
    padding-bottom: 30px;
    padding: 0;
}

#public-sector-projects .wp-image-1300,
#private-sector-projects .wp-image-1301 {
    filter: brightness(100);
}

.mcb-item-41564fe47 > div:nth-child(1) > h2:nth-child(3) {
    color: #98cb4f;
}

.mcb-item-c147bcfa1 > div:nth-child(1) > h2:nth-child(3) {
    color: #98cb4f;
}

#public-sector-projects .row p,
#private-sector-projects .row p {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 15px;
    line-height: 17px;
    font-weight: 300;
}

.projects-section p {
    font-size: 15px;
    line-height: 17px;
    font-weight: 300;
}

#public-sector-projects .row a,
#private-sector-projects .row a {
    padding-left: 10px;
}

#public-sector-projects .row .project-title,
#private-sector-projects .row .project-title {
    padding-left: 10px;
}

#public-sector-projects .row .sub-heading,
#private-sector-projects .row .sub-heading {
    padding-left: 10px;
}

.thin-line {
    border-top: 2px solid white;
}

.projects-section .col-sm-3 {
    background: white;
    min-height: 400px;
    padding: 0 0 10px;
    margin: 0;
    min-width: 250px;
}

.projects-section .col-sm-3 *:not(img) {
    padding: 20px;
}

.projects-section .row:nth-child(n+3) {
    display: none;
}

#public-sector-projects .row:nth-child(n+2) {
    display: none;
}

.content-body > p {
    padding-bottom: 20px;
}

.project-title {
    min-height: 120px;
}

.cool-number {
    font-weight: bolder;
    font-size: 48px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}

.image_links {
    display: none;
}

.blog_wrapper .image_frame a {
    cursor: default;
    pointer-events: none;
}

div#wpv-view-layout-1482-TCPID9 .proj {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

div#wpv-view-layout-1482-TCPID9 .proj div {
    margin: 0 10px !important;
    width: calc(25% - 20px);
}

div#wpv-view-layout-1482-TCPID9 .proj div p,
div#wpv-view-layout-1482-TCPID9 .proj div span {
    padding-left: 10px;
}

@media only screen and (max-width:768px) {
    .row {
        text-align: center;
    }

    .img-container {
        width: 100% !important;
    }

    .mcb-wrap-inner {
        text-align: center;
    }

}

@media only screen and (max-width:1080px) {
    .whole .text-container {
        width: 80%;
        float: none !important;
        margin: auto;
        text-align: center;
        max-width: 100%;
    }

    .outer {
        float: none !important;
        max-width: 100% !important;
        width: 100%;
        text-align: center;
        margin-left: 0px !important;
    }

}

.outer .img-container {
    width: 235px !important;
    margin: auto;
}

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

    h1,
    .text-logo #logo {
        font-size: 33px;
        line-height: 40px;
    }

    #wpv-view-layout-1201-TCPID1129 .img-container,
    #wpv-view-layout-1201-TCPID9 .img-container,
    #wpv-view-layout-1482-TCPID9 .img-container {
        height: initial !important;
    }

}

@media only screen and (max-width:641px) {
    .contactForm h2 {
        margin-left: 65px;
    }

    #gform_submit_button_1 {
        width: 75%;
    }

}

.entry-title a {
    pointer-events: none;
    cursor: inherit;
}

@media only screen and (min-width:768px) and (max-width:1240px) {
    .projects-section .col-sm-3 {
        width: calc(50% - 10px) !important;
        min-height: 530px;
        max-height: 530px;
    }

    .col-sm-3:nth-child(n+3) {
        margin-top: 10px !important;
    }

    .projects-section .row {
        margin-top: 10px;
    }

    .col-sm-3:nth-child(2n-1) {
        clear: both;
    }
}

html .subheader-both-center #Subheader .title {
    line-height: 1.5 !important;
    padding: 70px 0;
}

@media only screen and (max-width:767px) {
    .projects-section .col-sm-3 {
        width: calc(95% - 10px) !important;
        min-height: 530px;
        max-height: 530px;
        margin: 10px auto 0px auto !important;
    }

    .projects-section .row {
        margin-top: 0px !important;
    }

    html .subheader-both-center #Subheader .title {
        line-height: 1.5 !important;
        padding: 40px 0;
    }

    #public-sector ul,
    #private-sector ul {
        padding-left: 15px;
    }

}

div#wpv-view-layout-1201-TCPID9 h4,
div#wpv-view-layout-1201-TCPID1129 h4,
#wpv-view-layout-1482-TCPID9 h4 {
    line-height: 1;
}

div#wpv-view-layout-1201-TCPID9 p,
div#wpv-view-layout-1201-TCPID1129 p,
#wpv-view-layout-1482-TCPID9 p {
    margin-bottom: 5px;

}

div#wpv-view-layout-1201-TCPID9,
div#wpv-view-layout-1201-TCPID1129,
div#wpv-view-layout-1482-TCPID9 {
    padding-bottom: 50px;
}

#wpv-view-layout-1201-TCPID1129 img,
#wpv-view-layout-1201-TCPID9 img,
#wpv-view-layout-1482-TCPID9 img {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-height: none;
}

#wpv-view-layout-1201-TCPID1129 .img-container,
#wpv-view-layout-1201-TCPID9 .img-container,
#wpv-view-layout-1482-TCPID9 .img-container {
    height: 323px;
    width: 100%;
    overflow: hidden;
}

.p-cap p {
    vertical-align: top;
}

.p-cap p:nth-child(even) {
    /*     float: right; */
}

/* .p-cap p:nth-child(odd) {
    float: left;
    overflow-wrap: break-word;
} */

.callout-section2 .post-excerpt {
    pointer-events: none;
}

.post-excerpt:before {
    content: 'Read More';
    position: absolute;
    bottom: 10px;
    color: #98c74c;
    font-weight: bold;
    cursor: pointer;
    pointer-events: all;
}

.post-excerpt:after {
    content: '';
}

.home-projects .project-title,
.home-projects p {
    padding: 20px !important;
}

div#wpv-view-layout-1482-TCPID9 .proj div.project-img-wrapper {
    margin: 0 !important;
    margin-left: 0 !important;
    width: 100% !important;
    height: 240px;
    overflow: hidden;
}

.home-projects div#wpv-view-layout-1482-TCPID9 .proj div.col-sm-4 {
    width: calc(33.33% - 20px) !important;
}

.home-projects .proj img {
    /*max-width: none;*/
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}



/*Badge Styles*/

.badge-section .column.mcb-column {
    margin: 0;
    width: 100%;
}

.badges-group {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
    border: 1px solid black;
    padding: 10px 5px;
    margin: 5px;
    flex-basis: calc(14.2857143% - 10px);
    /* Percentage here 1/7 */
}

#Content .badge-item img {
    max-width: 100px;
    margin: 0 0 10px;
}

.badge-item p {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px;
}


@media only screen and (max-width:1240px) {
    .content-img {
        width: 100% !important;
        float: initial;
        text-align: center !important;
    }

    .content-body {
        width: 100% !important;
        float: initial !important;
        margin-left: 0 !important;
        text-align: center !important;
        margin-top: 10px !important;
    }

    .content-img > img:nth-child(1) {
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 1100px) {
    .badge-section .section_wrapper {
        max-width: 95%;
    }
}

@media only screen and (max-width:767px) {
    #Subheader > .container {
        background-color: rgba(0, 0, 79, 0.6);
        width: 100%;
        max-width: none !important;
    }

    #Subheader > div:nth-child(1) {
        padding-right: 0px;
        padding-left: 0px;
    }

    .minimalist-header-no #Subheader {
        padding: 0px 0 !important
    }

    html .minimalist-header-no #Subheader.person-subheader {
        padding: 80px 0 !important;
    }

    #wpv-view-layout-1201-TCPID1129 .col-sm-4,
    #wpv-view-layout-1201-TCPID9 .col-sm-4,
    #wpv-view-layout-1482-TCPID9 .col-sm-4 {
        margin-bottom: 40px;
    }

    div#wpv-view-layout-1201-TCPID9 h4,
    div#wpv-view-layout-1201-TCPID1129 h4,
    div#wpv-view-layout-1482-TCPID9 h4 {
        min-height: initial !important;
    }

    .home-projects div#wpv-view-layout-1482-TCPID9 .proj div.col-sm-4 {
        width: 100% !important;
        margin: 0 !important;
    }

}

@media only screen and (min-width: 768px) {
    .home-projects .proj [class^="col-"] {
        min-height: 600px;
    }
}

@media only screen and (min-width:768px) and (max-width:992px) {

    #wpv-view-layout-1201-TCPID1129 .img-container,
    #wpv-view-layout-1201-TCPID9 .img-container,
    #wpv-view-layout-1482-TCPID9 .img-container {
        height: 200px !important;
    }

}

@media only screen and (min-width:992px) and (max-width:1240px) {

    #wpv-view-layout-1201-TCPID1129 .img-container,
    #wpv-view-layout-1201-TCPID9 .img-container,
    #wpv-view-layout-1482-TCPID9 .img-container {
        height: 280px !important;
    }

}

#public-sector ul,
#private-sector ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
    max-width: 900px;
    margin: auto;
    color: #3b3b49;
    padding-left: 15px;
    height: auto;
    break-inside: avoid;
}

#public-sector ul:nth-child(9) {
    /* 	height: 50px; */
}

.entry-content > div .align_center > p:nth-child(1) {
    font-weight: 400 !important;
}

.content-body {
    margin-bottom: 15px;
}

li {
    list-style-position: inside;
}




