

/********************** 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%;
    padding-bottom: 45%;
    margin-top: 132px !important;
    background-image: url('../images/homepage_hero_V01.jpg');
    background-size: 100% auto;
    background-position: 0% 50%;
}

.sectionA {
    padding: 26px;
    background-color: #111211;
    color: #DDD;
    text-align: center;
}
    .card01 {
        background-image: url('../images/JIL_homepage_grid_01.jpg') !important;
    }
    .card02 {
        background-image: url('../images/JIL_homepage_grid_02.jpg') !important;
    }
    .card03 {
        background-image: url('../images/JIL_homepage_grid_03.jpg') !important;
    }
    .card04 {
        background-image: url('../images/JIL_homepage_grid_04.jpg') !important;
    }
    .card05 {
        background-image: url('../images/JIL_homepage_grid_05.jpg') !important;
    }
    .card06 {
        background-image: url('../images/JIL_homepage_grid_06.jpg') !important;
    }

    .cardservices01 {
        background-image: url('../images/JIL_services_heroimage_design.jpg') !important;
    }
    .cardservices02 {
        background-image: url('../images/JIL_services_heroimage_engineering.jpg') !important;
    }
    .cardservices03 {
        background-image: url('../images/JIL_services_heroimage_reno.jpg') !important;
    }
    .cardservices04 {
        background-image: url('../images/JIL_services_heroimage_walkthroughs.jpg') !important;
    }

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

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

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

    .mainlogo {
        width: 80%;
        height: auto;
        background-color: #111211;
        border-radius: 50%;
        padding: 24px;
        margin: -100px auto 36px auto;
    }
    .sectionA h1 {
        font-weight: 700;
        font-size: 1.25em;
        text-transform: uppercase;
    }
    .gridcontainer {
        width: 100%;
        height: auto;
        margin: 48px auto;
    }
        .gridcontainer a {
            text-decoration: none;
            text-align: center;
        }
        .gridcard {
            width: 100%;
            height: auto;
            padding: 15vw 0 !important;
            margin-bottom: 12px;
            background-size: 100% auto;
            background-position: 50% 50%;
            transition: 0.3s;
            text-transform: uppercase;
            color: #fff;
            text-align: center !important;
        }
            .gridcard:hover {
                background-size: 110% auto;
                color: #FFDD00;
            }
            .gridcard h2 {
                text-align: center !important;
                margin: auto;
                font-weight: 300;
            }

}

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

@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%;
        padding-bottom: 35%;
        background-size: 100% auto;
        background-position: 0% 50%;
    }

    .mainlogo {
        width: 40%;
        padding: 40px;
        margin: -200px auto 24px auto;
    }

    .sectionA {
        padding: 48px 45px 0 45px;
    }
        .sectionA h1 {
            font-weight: 700;
            font-size: 1.5em;
        }

    .gridcontainer {
        margin-bottom: 0px;
    }
        .gridcard {
            float: left;
            width: 48%;
            height: 150px;
            padding: 0 !important;
            margin: 0 1% 18px 1%;
        }
        .gridcard h2 {
            font-size: 1.75em;
        }

}

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

@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)  {

    .sectionA {
        padding: 48px 36px 0 36px;
    }

    .mainlogo {
        width: 40%;
        padding: 50px;
        margin: -250px auto 24px auto;
    }

    .gridcontainer {
    }
        .gridcard {
            width: 30.3%;
            margin: 0 1.5% 24px 1.5%;
            background-size: 120% auto;
        }
            .gridcard:hover {
                background-size: 130% auto;
            }

}

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

@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: 1115px)  {
				
}

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

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

}

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

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

    .sectionA .sectioncontainer {
        width: 1180px;
        margin: auto;
    }
        .heroimage {
            padding-bottom: 400px;
            background-position: 50% 80%;
        }
        .mainlogo {
            margin: -300px auto 24px auto;
        }
        .gridcontainer {

        }
            .gridcard {
            }

}

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

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

}

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


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

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

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

}

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














