

/********************** DEFAULT STYLES **********************/

html { 
  scroll-behavior: smooth; 
}

*, body {
    margin: 0;
    padding: 0;
}

body {
    background-color: #111211;
    font-family: 'Montserrat', sans-serif;
}

.clear {
    clear: both;
}

/*************/

.heroimage {
    width: 100%;
    margin-top: 132px;
/*    background-image: url('../images/JIL_services_heroimage.jpg');*/
    background-size: 110% auto;
    background-position: 0% 100%;
}
    .heroimage.designhero {
        background-image: url('../images/JIL_services_heroimage_design.jpg');
    }
    .heroimage.engineeringhero {
        background-image: url('../images/JIL_services_heroimage_engineering.jpg');
    }
    .heroimage.renohero {
        background-image: url('../images/JIL_services_heroimage_reno.jpg');
    }
    .heroimage.walkthroughhero {
        background-image: url('../images/JIL_services_heroimage_walkthroughs.jpg');
    }
    .heroimage h1 {
        text-align: center;
        display: block;
        padding: 12vw 0;
        font-size: 3em;
        font-weight: 700;
        color: #dddddd;
        margin-bottom: 0px;
    }

.sectionA {
    background-color: #111211;
    color: #DDD;
}
    .category {
        width: 100%;
        height: auto;
        scroll-margin-top: 120px;
    }
        .category .sectionimage {
            width: 100%;
            padding-bottom: 90%;
            background-size: auto 100%;
            background-position: 50% 50%;
            background-color: lightblue;
        }
            .design .sectionimage {
                background-image: url('../images/JIL_services_02.jpg');
            }
            .engineering .sectionimage {
                background-image: url('../images/JIL_services_01.jpg');
            }
            .renoconstruction .sectionimage {
                background-image: url('../images/JIL_services_03.jpg');
            }
            .homewalkthroughs .sectionimage {
                background-image: url('../images/JIL_services_04.jpg');
            }
        .maintext {
            padding: 48px 26px 48px 26px;
        }
            .renoconstruction .maintext {
                padding: 48px 26px 26px 26px;
            }
            .maintext h2 {
                font-size: 2.5em;
                line-height: 1em;
                font-weight: 700;
                margin: 0 0 24px 0;
            }
            .maintext p {
                margin-bottom: 0;
            }
        .subsection {
            width: 100%;
            height: auto;
            margin: 0 0 48px 0;
            padding: 0 26px;
        }
            .subbox {
                width: 100%;
                height: auto;
                padding: 36px 26px;
                background-color: #2F2F2F;
                border-radius: 15px;
                margin-bottom: 24px;
            }
                .subbox h3 {
                    font-size: 1.5em;
                    line-height: 1.125em;
                    font-weight: 700;
                    text-transform: uppercase;
                    width: 50%;
                    margin-bottom: 18px;
                }
                .subbox p {
                    font-size: 0.9em;
                    margin-bottom: 0px;
                }

        .modalbuttons {
            width: 100%;
            height: auto;
        }
            .modalbuttons .btn-primary {
                background-color: #2F2F2F;
                border: 1px solid #2F2F2F;
                margin-top: 5px;
                transition: 0.3s;
            }
                .modalbuttons .btn-primary:hover {
                    background-color: #FFD400 !important;
                    border: 1px solid #FFD400 !important;
                    margin-top: 5px;
                    transition: 0.3s;
                }
            .modal-dialog {
                margin-top: 20vh !important;
            }
                .modal-content {
                    padding: 24px;
                    background-color: #2F2F2F;
                }
                    .modal-header {
                        border-bottom-style: none;
                    }
                    .modal-title {
                        font-size: 2em !important;
                        line-height: 1em;
                        width: 80%;
                    }
                    .btn-close {
                        background: transparent url('../images/close.svg') !important;
                        background-size: 100% auto !important;
                    }

/*************/

/************************************************************/

@media screen and (min-width: 280px)  {

    

}

/************************************************************/

@media screen and (min-width: 320px)  {

}

/************************************************************/

@media screen and (min-width: 375px)  {

}

/************************************************************/

@media only screen 
    and (device-width : 375px) 
    and (device-height : 812px) 
    and (-webkit-device-pixel-ratio : 3) {

}

/************************************************************/

@media screen and (min-width: 414px)  {
        
}

/************************************************************/

@media screen and (min-width: 480px)  {

}

/************************************************************/

@media screen and (min-width: 568px) {

}

/************************************************************/

@media screen and (min-width: 667px) {

   

}

/************************************************************/

@media screen and (min-width: 736px)  {


}

/************************************************************/

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

    .heroimage {
        width: 100%;
        background-size: 110% auto;
        background-position: 0% 60%;
    }
        .heroimage h1 {
            padding: 8vw 0;
            font-size: 3em;
        }

    .sectioncontainer {
        height: auto;
        padding: 48px 45px 0 45px;
    }

    .category {
/*        padding-bottom: 60px;*/
/*  border-bottom: 0.5px solid #DDDDDD;*/
        margin-bottom: 60px;
    }
        .category.renoconstruction .sectionimage {
            margin-bottom: 12px;
        }
        .category.homewalkthroughs {
            border-bottom: 0;
            padding-bottom: 0px;
        }
        .category .sectionimage {
            float: left;
            width: 50%;
            padding-bottom: 40%;
        }
        .category .maintext {
            float: right;
            width: 50%;
            padding: 0px 0 0px 36px;
        }
        .subsection {
            padding: 0px;
            margin-top: 24px;
            margin-bottom: 0px;
            -moz-column-count: 2;
            -webkit-column-count: 2;
            column-count: 2;
            -moz-column-gap: 1em;
            -webkit-column-gap: 1em;
            column-gap: 1em;
        }
            .subbox {
                display: inline-block;
                margin: 0 0 1em;
                width: 100%;
            }

}

/************************************************************/

@media screen and (min-width: 820px)  {

}

/************************************************************/

/*ipad pro portrait*/
@media only screen 
    and (min-device-width: 820px) 
    and (max-device-width: 1180px) 
    and (-webkit-min-device-pixel-ratio: 2)  
    and (orientation: portrait)  {

}

/************************************************************/

@media only screen 
    and (device-width : 812px) 
    and (device-height : 375px) 
    and (-webkit-device-pixel-ratio : 3) {

}

/************************************************************/

/*ipad air portrait*/
@media only screen 
    and (min-device-width: 820px) 
    and (max-device-width: 1180px) 
    and (-webkit-min-device-pixel-ratio: 2)  
    and (orientation: portrait)  {

}

/************************************************************/

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

    .heroimage h1 {
        padding: 60px 0;
    }

    .sectioncontainer {
        padding: 48px;
    }

        .subbox h3 {
            width: 100%;
        }
        .subbox p {
            font-size: 1em;
        }

}

/************************************************************/

@media screen and (min-width: 1024px)  {

}

/************************************************************/

/*ipad pro portrait*/
@media only screen 
    and (min-device-width: 1024px) 
    and (max-device-width: 1366px) 
    and (-webkit-min-device-pixel-ratio: 2)  
    and (orientation: portrait)  {


}

/************************************************************/

@media screen and (min-width: 1180px)  {

    .flexcontainer {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .category .sectionimage {
        width: 40%;
        padding-bottom: 30%;
    }
    .category .maintext {
        width: 60%;
        padding: 0px 0 0px 100px;
    }

        .subsection {
            padding: 0px;
            margin-top: 24px;
            margin-bottom: 0px;
            -moz-column-count: 3;
            -webkit-column-count: 3;
            column-count: 3;
            -moz-column-gap: 1em;
            -webkit-column-gap: 1em;
            column-gap: 1em;
        }
            .subbox h3 {
                font-size: 1.25em;
                width: 100%;
            }
            .subbox p {
                font-size: 0.85em;
                margin-bottom: 0px;
            }
				
}

/************************************************************/

@media screen and (min-width: 1266px)  {

}

/************************************************************/

@media screen and (min-width: 1280px)  {

    .sectioncontainer {
        width: 1280px;
        margin: auto;
    }
        .category { margin-bottom:0px }

    .maintext h2 {
        width: 80%;
        font-size: 3em;
    }

    .homewalkthroughs {
        margin-bottom: 0px;
    }

}

/************************************************************/

@media screen and (min-width: 1366px)  {

}

/************************************************************/


@media screen and (min-width: 1367px)  {
}

/************************************************************/

@media screen and (min-width: 1920px)  {

}

/************************************************************/














