/*Making our website mobile/cross-device responsive*/

/*big tablet to 1200px(widths smaller than the 1140px row) from 1024 to 1200px*/
@media only screen and (max-width: 1200px) {
    .heroTextBox {
        width: 100%;
        padding: 0 2%;
    }
    
    .row {padding: 0 2%;}   
}

/*small tablet to big tablet from 768 to 1023px*/
@media only screen and (max-width: 1023px) {
    body {font-size: 18px;}
    section {padding: 60px 0;}
    .longCopy {
        width: 80%;
        margin-left: 10%;
    }
    .stepsBox { margin-top: 10px;}
    .stepsBox:last-of-type {margin-top: 10px;}
    .worksStep {margin-bottom: 40px;}
    .worksStep:last-of-type {margin-bottom: 80px;}
    .appScreen {width:50%;}
    .iconSmall {
        width: 17px;
        margin-right: 1px;
    }
    .cityFeature {font-size: 90%};
    .planBox {
        width: 100%;
        margin-left: 0%;
    }
    .planPrice {font-size: 250%;}
    .contactForm {width: 90%;}
}

/*small phones to small tablets from 481 to 767px*/
@media only screen and (max-width: 767px) {
    body {font-size: 16px;}
    section {padding: 30px 0;}
    
    .row,
    .heroTextBox {padding: 0 4%;}
    .col {
        width: 100%;
        margin: 0 0 4% 0;
    }
    
    .mainNav {display: none;}
    .mobileNavIcon {display: inline-block;}
    .mainNav {
        float: left;
        margin-top: 35px;
        margin-left: 25px;
    }
    .mainNav li {
        display: block;
    }
    .mainNav li a:link,
    .mainNav li a:visited {
        display: block;
        border: 0;
        padding: 10px 0;
        font-size: 100%;
    }
     
    .sticky .mainNav {margin-top: 10px;}
    
    .sticky .mainNav li a:link,
    .sticky .mainNav li a:visited {padding: 10px 0;}
    .sticky .mobileNavIcon {margin-top: 10px;}
    .sticky .mobileNavIcon i {color: #555;}
    
    
    h1 {font-size: 180%}
    h2 {font-size: 150%}
    
    .longCopy {
        width: 100%;
        margin-left: 0%;
    }
    
    .worksStep {margin-bottom: 20px;}
    .worksStep:last-of-type {margin-bottom: 20px;}
    
    .worksStep div {
        height: 35px;
        width: 35px;
        padding: 4px;
        margin-right: 15px;   
        font-size: 120%;
    }
    
    .appScreen {width:40%;}
    .stepsBox:first-child {text-align: center;}
    
    .mapBox {
        width: 100%;
        height: auto;
        position: relative;
    }

    .map {
        width: 100%;
        height: 300px;
        position: relative;
        z-index: 0;
    }

    .formBox{
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 0;
    }
}

/*small phones from 0 to 480px*/
@media only screen and (max-width: 480px) {
    section{padding: 25px 0;}
    contactForm{width: 100%;}
}