body{
    font-family: 'Montserrat', sans-serif;
    margin: 0 auto;
    padding: 0 auto;
}
.card{
    cursor: pointer;
}
#home{
    position: relative;
}
#foot{
    position: absolute;
    bottom: 0;
    width: 100%;
    color: white;
}
.input-field{
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

input[type=range]::-webkit-slider-thumb {
    background-color: #b71c1c;
}
input[type=range]::-moz-range-thumb {
    background-color: #b71c1c;
}
input[type=range]::-ms-thumb {
    background-color: #b71c1c;
}

/***** These are to edit the thumb and the text inside the thumb *****/
input[type=range] + .thumb {
    background-color: #dedede;
}
input[type=range] + .thumb.active .value {
    font-size: 15px;
    margin-left: 5px !important;
    color: #b71c1c;
}

.small-card-image, .map{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
}
#header{
    margin-top: 2vh;
    font-size: 3vh;
    color: #002e66;
}
#footer_text{
    margin-top: 2vh;
    font-size: 2.4vh;
}
.card-text{
    font-size: 2vh;
}
#home{
    width: 100vh;
    height: 78vh;
}
.successimg{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    padding-top: 14vh;
}
.secondhead{
    font-size: 3vh;
    line-height: 1 !important;
    margin-bottom: 0 !important;
}
.cardrow{
    padding: 0 2.5vh;
}
.mobilerow{
    display:none;
}
#over{
    overflow: auto;
}
#mobileSize{
    display:none;
}
@media only screen and (max-device-width: 480px){
    #home{
        width: 100%;
        height: 85vh;
    }
    .card-text{
        font-size: 2vh;
    }
    .cardrow{
        padding: 0 6vh;
    }
    .mobilerow{
        display: inline;
    }
    #over{
        display: none;
    }
    #foot{
        display: none;
    }
    .secondhead{
        overflow: auto;
    }
    #mobileSize{
        display: inline;
    }
    .map{
        width: 80%;
    }
}