:root {
    --main-color: #2D99CD;
}

::-webkit-scrollbar {
    width: 3px;
}

::-webkit-scrollbar-track {
    background-color: #0000001c !important;
}

::-webkit-scrollbar-thumb {
    background-color: var(--main-color) !important;
}

.faded-scroll::-webkit-scrollbar {
    width: 2px;
}

.faded-scroll::-webkit-scrollbar-track {
    background-color: transparent !important;
}

.faded-scroll::-webkit-scrollbar-thumb {
    background-color: #2d99cd5c !important;
}

img {
    border-radius: 7px !important;
}

.lh-md {
    line-height: 1.4rem !important;
}

.lh-lg {
    line-height: 1.7rem !important;
}

/**********  Main Page  **********/

.modal {
    z-index: 1002 !important;
}

.grBar {
    border-radius: 5px !important;
    height: 0px !important;
    margin-top: 4px;
}

#main-logo {
    width: 130px;
}

#scene > .logo {
    top: 7% !important;
}

#scene .menuBox {
    top: 75%;
}

#scene .socialIcons {
    bottom: -5px !important;
}

#scene .socialIcons > .wrapper {
    display: flex;
}

#scene .socialIcons > .wrapper .item {
    margin: 0 7px;
}

#scene .socialIcons > .wrapper .item.opacity-50 {
    opacity: 0.5;
}

#fpMenu .box .menuItems .mitem:hover {
    color: #222 !important;
}

#scene > .logo .slogan > .wrapper {
    margin-top: 7%;
}

@media screen and (max-width: 1400px) {
    #scene > .logo .slogan > .wrapper {
        margin-top: 4%;
    }
}

@media screen and (max-width: 1200px) {
    #scene > .logo .slogan > .wrapper {
        margin-top: 2%;
    }
}

.mPage:not(#mPageContact) .logo , .modal .logo {
    left: 6% !important;
}

@media screen and (max-width: 1250px) {
    .mPage:not(#mPageContact) .logo , .modal .logo {
        left: 3% !important;
    }
}

.mPage:not(#mPageContact) .logo img , .modal .logo img , #fpMenu .logo img {
    width: 95px !important;
}

/**********  Tabs (Design and Permiting)  **********/

.mPage .box .contents .wrapper {
    padding: 40px 2% !important;
    height: 98% !important;
}

#ConsTabContents .tab-content .contents .item .wrapper {
    padding: 0px 10px 10px 10px !important;
}

#mPageDesign .box {
    overflow: auto !important;
    height: auto !important;
}

#designTabContents .tab-content {
    height: 40vh !important;
    overflow: auto;
}

#mPageCons #tabsPanel , #mPageDesign #tabsPanel , #mPageRealstate #tabsPanel {
    padding: 10px 0 !important;
    background-color: #f2f2f2;
}

#designTabContents .box-recent {

}

#designTabContents .box-recent .to-click {
    cursor: pointer;
    margin-top: 60px;
}

#designTabContents .box-recent .to-click img {
    display: block;
    margin: 0 auto;
    border-radius: 20px !important;
    width: 400px;
    width: 380px;
    max-height: 180px;
    object-fit: cover;
}


#designTabContents .box-recent .to-click .subtitle {
    display: block;
    text-align: center;
    color: #444;
    margin-top: 15px;
    font-size: 18px;
}   

#designTabContents .box-recent .show-process-text {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #444;
    margin-top: 40px;
}

#designTabContents .box-recent .show-process-text svg {
    fill: var(--main-color);
    width: 15px;
    height: 15px;
    stroke: var(--main-color);
    stroke-width: 3px;
    margin-bottom: -3px;
}

/**********  Construction Projects Page  **********/

#mPageCons .box {
    overflow: auto !important;
    height: auto !important;
}

#mPageCons .box .contents .wrapper {
    padding: 10px 2% !important;
}

#ConsTabContents .tab-content .contents {
    align-items: flex-start !important;
    overflow: auto;
    height: 45vh;
}

#ConsTabContents .tab-content .contents .item {
    display: inline-block;
    vertical-align: top;
    width: 32%;
    margin-bottom: 10px;
}

#ConsTabContents .tab-content .contents .item .title {
    border-bottom: none !important;
    padding-bottom: 0px;
}

#ConsTabContents .tab-content .contents .item .thumb img {
    width: 100%;
    object-fit: cover;
    max-height: 140px;
}

#mPageCons.mPage .box > .contents {
    height: auto !important;
}

/**********  Design and Permiting Recent Projects  **********/

#modalRecentProjectsFromDnP {
    z-index: 1001 !important;
}

#modalRecentProjectsFromDnP .box .greenFrame > .wrapper > .content {
    overflow: auto;
    direction: ltr;
}

#modalRecentProjectsFromDnP .section-title {
    background-color: #f2f2f2;
    padding: 10px 0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 900;
    color: #444;
}

#modalRecentProjectsFromDnP .recent-section .simple-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#modalRecentProjectsFromDnP .recent-section .simple-list .item {
    width: 32%;
    cursor: pointer;
    padding: 7px 25px;
    margin-bottom: 20px;
}

#modalRecentProjectsFromDnP .recent-section .simple-list .item img {
    border-radius: 15px !important;
    display: block;
    width: 100%;
    object-fit: cover;
}

#modalRecentProjectsFromDnP .recent-section .simple-list .item .title {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/**********  Contact Page  **********/

#mPageContact .logo {
    width: 50%;
    background-color: #fff;
}

#mPageContact .box .contents > .wrapper {
    padding: 60px 0 0 !important;
}

#mPageContact .formSpace {
    width: 50% !important;
}

@media screen and (max-width: 1400px) {
    #mPageContact .formSpace {
        width: 60% !important;
    }
    
    #mPageContact .box .contents > .wrapper {
        padding: 70px 0 0 !important;
    }
}

@media screen and (max-width: 1250px) {
    #mPageContact .formSpace {
        width: 70% !important;
    }
    
    #mPageContact .box .contents > .wrapper {
        padding: 90px 0 0 !important;
    }
}

#mPageContact input , #mPageContact textarea {
    font-family: 'FertigoPro' !important;
    background-color: #f1f1f1 !important;
    padding: 10px 8px !important;
}

#mPageContact button {
    display: block !important;
    width: 260px !important;
    color: #fff !important;
    box-shadow: 0px 4px 5px 0px #cfcfcf !important;
    padding: 10px 0 !important;
    transform: translateY(-12px);
    background-color: var(--main-color);
    margin-right: auto;
    margin-left: auto;
}

#mPageContact .formSpace .msg {
    margin-top: 25%;
}

#mPageContact .formSpace .successMsg .head {
    color: var(--main-color);
}

#mPageContact .error {
    background-color: #ffc9c9 !important;
}

#mPageContact .logo img {
    width: 100px !important;
}

/**********  Construction Project Modal  **********/

#modalProject #galList , #modalRealState #galList {
    height: 50vh !important;
    overflow: auto;
    direction: rtl;
}

#modalProject #galList > .wrapper, #modalRealState #galList > .wrapper {
    padding: 0px 30px 0px 10px;
}

#modalProject .box .contents > .wrapper, #modalRealState .box .contents > .wrapper {
    padding-top: 80px;
}

#modalProject .box .greenFrame > .wrapper > .content {
    text-align: left !important;
}

#modalProject #galList img {
    object-fit: cover;
    height: 55px !important;
}

#modalProject #picStage img {
    width: 100%;
    height: auto !important;
    margin: 0px auto;
    height: 36vh;
    object-fit: cover;
}

#modalProject #picStage video {
    width: 100%;
    margin: 0px auto;
    box-shadow: 1px 4px 6px 0px #00000038;
}

#modalProject #picStage .video-action-btn {
    display: inline-block;
    background-color: var(--main-color);
    color: #fff;
    width: 30px;
    height: 30px;
    line-height: 0;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    margin-top: 5px;
}

#modalProject .box .greenFrame > .wrapper {
    height: auto !important;
}

#modalProject #info .project-meta {
    margin-bottom: 12px !important;
    font-size: 13px !important;
    color: #4e4e4e;
}

#modalProject #info .project-meta .data {
    margin-bottom: 2px;
}

/**********  Real State Page  **********/

#mPageRealstate .box {
    overflow: auto !important;
    height: auto !important;
}

#mPageRealstate.mPage .box > .contents {
    height: auto !important;
}

#mPageRealstate .box .contents > .wrapper {
    padding: 0px 2% 30px !important;
    height: 60vh !important;
    overflow: hidden !important;
}

#mPageRealstate .topTitleBox .page-title {
    padding: 0 0 10px 0;
}

#mPageRealstate .topTitleBox {
    padding-bottom: 20px;
}

#mPageRealstate .tab-content {
    overflow: auto;
    height: 40vh;
}

#mPageRealstate .tab-content > .contents {
    overflow: auto;
    height: 250px;
}

#mPageRealstate #tabOurWork  .item {
    width: 32% !important;
}

#mPageRealstate #tabOurWork .item .wrapper {
    padding: 10px !important;
}

#mPageRealstate #tabOurWork .item .title {
    border-bottom: none;
    font-size: 14px;
}

#mPageRealstate #tabOurWork .item .surtitle {
    font-size: 14px;
    color: #4d4d4d;
    margin-top: 5px;
}

#mPageRealstate #tabOurWork .item img {
    display: block;
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    margin-bottom: 15px;
}


/**********  RealState Work Modal  **********/

#modalRealStateWork {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    z-index: 1001;
    background: white;
    display: none;
    left: 0;
}

#modalRealStateWork .logo {
    left: 5%;
    top: 8%;
    position: absolute;
}

#modalRealStateWork .box {
    width: 100%;
    height: 62%;
    margin: 9% auto;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

#modalRealStateWork .box > .contents {
    width: 100%;
    height: 100%;
    text-align: left;
    transition: 0.5s ease all;
    overflow-y: auto;
}

#modalRealStateWork .box .contents > .wrapper {
    padding: 20px 0%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
}

#modalRealStateWork #picStage {
    height: 100%;
    text-align: center;
    margin-right: 15px;
    width: 60%;
}

#modalRealStateWork .box .greenFrame {
    height: 100%;
    transition: 0.5s ease all;
    overflow-y: auto;
    text-align: right;
    position: relative;
    overflow: hidden;
}

#modalRealStateWork .box .greenFrame > .wrapper {
    height: 100%;
    border-left-width: 3px;
    border-left-style: solid;
    border-right-width: 3px;
    border-right-style: solid;
    border-image: linear-gradient(to bottom, #fff0, var(--main-color), #fff0) 1 100%;
    text-align: left;
    transition: 0.5s ease all;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    position: absolute;
    right: 0px;
}

#modalRealStateWork .box .greenFrame > .wrapper > .content {
    padding: 0px 30px;
    height: 100%;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalRealStateWork #picStage .sliderItem {
    padding: 15px;
}

#modalRealStateWork #picStage img {
    width: 100%;
    height: auto !important;
    margin: 0px auto;
    box-shadow: 1px 4px 6px 0px #00000038;
}

#modalRealStateWork #info {
    font-size: 85%;
    color: #585858;
}

#modalRealStateWork #info .title {
    color: var(--main-color);
    font-size: 20px;
    margin-bottom: 10px;
}

#modalRealStateWork #info .work-meta {
    margin-bottom: 8px;
    font-size: 13px;
    color: #4e4e4e;
}

#modalRealStateWork #info .work-meta .data {
    margin-bottom: 2px;
}

#modalRealStateWork .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    height: 50px;
    width: 50px;
    border-radius: 50% 0 0 50%;
    padding: 5px 15px 0 0;
    background-color: #2D99CD;
    border: none;
    color: #fff;
    cursor: pointer;
}

#modalRealStateWork .arrow.prev {
    left: -20px;
    border-radius: 0 50% 50% 0;
    padding: 5px 0 0 15px;
}

/**********  Our Story Page  **********/

#mPageOurStory .box .wrapper {
    padding: 40px 4% !important;
}

#mPageOurStory .box .start {
    padding: 0 30px;
}

#mPageOurStory .box .start img {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: cover;
    margin-bottom: 20px;
}

#mPageOurStory .box .start h1 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

#mPageOurStory .box h2 {
    margin-bottom: 30px;
}

#mPageOurStory .box .border-right {
    border-right-width: 3px;
    border-right-style: solid;
    border-image: linear-gradient(to bottom, #fff0, var(--main-color), #fff0) 1 100%;
    padding-right: 40px;
    margin-right: 40px;
}

#mPageOurStory .box .split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#mPageOurStory .box .margin-y {
    margin: 40px 0;
}

#mPageOurStory .box .split.all-50 > * {
    width: 50%;
}

#mPageOurStory .box .split > * {
    width: 45%;
}

#mPageOurStory .member-simple {
    text-align: center;
    cursor: pointer;
}

#mPageOurStory .member-simple:hover {
    color: var(--main-color);
}

#mPageOurStory .member-simple img {
    display: block;
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    margin: 0 auto 20px;
    box-shadow: 1px 4px 6px 0px #00000038;
}

.text-justify {
    text-align: justify !important;
}

/**********  Blog Posts Page  **********/

#mPageBlog .post {
    padding: 0 30px;
    cursor: pointer;
}

#mPageBlog .post h3 {
    font-size: 22px;
    color: var(--main-color);
    margin-bottom: 5px;
}

#mPageBlog hr {
    height: 4px;
    border: 0px;
    background: linear-gradient(to left, #fff0, var(--main-color), #fff0);
    margin: 30px;
}

#mPageBlog .post .meta {
    display: inline-block;
    margin: 0 5px 5px 0;
    font-size: 14px;
    color: #6f6f6f;
}

/**********  Page Content Styles (For Dashboard Editor Content) **********/

.page-content-styles {
    padding-bottom: 10px;
}

.page-content-styles table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 15px !important;
}

.page-content-styles table td {
    border: 2px solid var(--main-color) !important;
    padding: 5px !important;
}

.page-content-styles.design-and-permiting-pricing table {
    width: 80% !important;
    margin: 0 auto 15px !important;
}

.page-content-styles.design-and-permiting-pricing table td {
    padding: 15px !important;
}

.page-content-styles.design-and-permiting-pricing tr:first-child ,
.page-content-styles.design-and-permiting-pricing tr td:first-child {
    background-color: #e6fcff !important;
}

.page-content-styles.contact-info {
    padding-bottom: 0px !important;
}

.page-content-styles.contact-info table {
    margin-bottom: 0 !important;
}

.page-content-styles.contact-info table td {
    border: none !important;
    padding: 2px !important;
}

/**********  Simple Modal 1 **********/

.modal-2 {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: absolute;
    z-index: 1001;
    background: white;
    display: none;
    left: 0;
}

.modal-2 .logo {
    left: 5%;
    top: 8%;
    position: absolute;
}

.modal-2 .box {
    width: 100%;
    height: 62%;
    margin: 9% auto;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.modal-2 .box > .contents {
    width: 100%;
    height: 100%;
    text-align: left;
    transition: 0.5s ease all;
    overflow-y: auto;
}

.modal-2 .box .contents > .wrapper {
    padding: 20px 0%;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
}

.modal-2 #picStage {
    height: 100%;
    text-align: center;
    margin-right: 15px;
    width: 60%;
}

.modal-2 .box .greenFrame {
    height: 100%;
    transition: 0.5s ease all;
    overflow-y: auto;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.modal-2 .box .greenFrame > .wrapper {
    height: 100%;
    border-left-width: 3px;
    border-left-style: solid;
    border-right-width: 3px;
    border-right-style: solid;
    border-image: linear-gradient(to bottom, #fff0, var(--main-color), #fff0) 1 100%;
    text-align: left;
    transition: 0.5s ease all;
    overflow-y: auto;
    direction: rtl;
    text-align: right;
    position: absolute;
    right: 0px;
}

.modal-2 .box .greenFrame > .wrapper > .content {
    padding: 0px 30px;
    height: 100%;
    overflow: hidden;
    text-align: left;
    display: block;
}


/**********  Process Modal  **********/

#modalProcess {
    z-index: 1200;
}

.process-title {
    text-align: center;
    color: var(--main-color);
    font-size: 26px;
    margin: 30px 0 5%;
}

.process-content {
    overflow: auto;
    height: 43vh;
    direction: ltr;
    padding-right: 5px;
}

@media screen and (max-width: 1200px) {
    .process-content {
        height: 40vh;
    }
}

/**********  Simple Modal 2 **********/

.modal-3 .logo {
    left: 5%;
    top: 8%;
    position: absolute;
}

.modal-3 .btnCloseModal {
    right: 21%;
    top: 18%;
}

.modal-3 .back-drop {
    background-color: #e6e6e6bd;
    width: 500%;
    height: 500%;
    position: absolute;
    z-index: 1;
}

.modal-3 .box {
    height: 68%;
    margin: 6% auto 9%;
}

.modal-3 #picStage {
    position: relative;
    z-index: 99;
    background-color: #fff;
    border-radius: 25px;
    width: 67%;
}

.modal-3 .box .greenFrame > .wrapper {
    border: none;
    width: 100%;
}

.modal-3 .box .greenFrame > .wrapper > .content {
    width: 100%;
}

/**********  Blog Post Modal  **********/

#modalBlogPost #post-title , #modalTeamMember #member-name {
    font-size: 30px;
}

#modalBlogPost .post-meta , #modalTeamMember .member-meta {
    font-size: 14px;
    color: #444;
    display: inline-block;
    margin: 5px 5px 0 0;
}

#modalBlogPost #post-content , #modalTeamMember #member-description {
    direction: ltr;
    height: 40vh;
    overflow: auto;
    margin-top: 20px;
    padding-right: 10px;
    text-align: justify;
}

/********** Team Member Modal  **********/

#modalTeamMember .split {
    display: flex;
    align-items: start;
    justify-content: center;
}

#modalTeamMember .split > * {
    width: 48%;
}

#modalTeamMember #member-image {
    display: block;
    width: 80%;
    object-fit: cover;
    max-height: 450px;
    margin-right: 5%;
    box-shadow: 1px 4px 6px 0px #00000038;
}