* {

}

html {
    height: 100%;
}

body {
    color: grey;
    background-color: white;
    font-family: montserrat,sans-serif;
    font-size: 16px;
    margin: 0 auto;
    min-height: 100vh; 
    min-width: 380px;
    overflow: scroll;
    width: 100%;
}


/*Begin of main navbar*/
.navbar_top_container {
    min-height: 65px;
    margin: auto;
    text-align: center;
}

.navbar_top_span {
    color: #005da6;
    display: inline-block;
    margin-top: 25px;
    font-size: 16px;
    margin-right: 20px;
    min-width: 160px;
}

.navbar_middle_container {
    background-image: url("../resources_images/background_van.jpg");
    height: 400px;
    width: 100%;
}

.navbar_middle_navbar {
    min-height: 50px;
    margin: auto;
    text-align: center;
    background-color: black;
}

.navbar_middle_navspan {
    color: white;
    display: inline-block;
    margin-top: 15px;
    margin-right: 10px;
    font-size: 18px;
}

.navbar_middle_navspan a{
    color: white;
    text-decoration: none;  
}

.navbar_middle_navspan:hover a {
    color: #005da6;
    cursor: pointer;
}

.navbar_middle_navspan:hover {
    color: #005da6;
    cursor: pointer;
}

.navbar_middle_textarea {
    margin: auto;
    text-align: center;
}

.navbar_middle_textspan_a {
    color: white;
    display: inline-block;
    font-size: 32px;
}

.navbar_middle_textspan_b {
    color: white;
    display: inline-block;
    font-size: 20px;
}

.navbar_middle_textspan_c {
    background-color: #C32032;
    outline-color: red;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin: auto;
    padding: 10px;
    width: 250px;
}

.navbar_middle_textspan_c a{
    text-decoration: none;
    color: white;
}
/*Emd of main navbar*/


/*Start of Main content*/
.main_box {
    min-height: 100px;
}

.even {
    background-color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

.odd {
    background-color: #E8F8FF;
    padding-top: 10px;
    padding-bottom: 10px;
}

.last {
    background-color: black;
}

.right_image_box {
    float: right;
    height: 300px;
    width: 300px;
    box-shadow: 2px 2px 5px black;
    border-radius: 5px;
    margin: 20px
}

.left_image_box {
    float: left;
    height: 300px;
    width: 300px;
    box-shadow: 2px 2px 5px black;
    border-radius: 5px;
    margin: 20px
}

.clear {
    clear: both;
}

.border_images {
    margin: 0;
    min-height:100px;
}

.h1_icons {
    font-size: 32px;
}

.h1_icons_aboutus {
    font-size: 32px;
    color: #C32032;
}

.h1_headings {
    margin-left: 10px;
    display: inline-block;
    white-space: normal;
}

.checkcolor {
    color: red;
}

.checkmark_div {
    width: 100%;
    margin: auto;
}

.checkmark_div span {
    text-align: left;
    display: inline-block;
    font-size: 18px;
    width: 300px;
}



.services_offered {
    padding-top: 10px;
    font-size: 32px;
    text-align: center;
    height: 75px;
    width: 100%;
    color: #C32032;  
}

.main_first {
    min-height: 65px;
    margin: auto;
    text-align: center;    
}

.main_first_span {
    color: #005da6;
    display: inline-block;
    margin-top: 25px;
    font-size: 16px;
    margin-right: 20px;
    min-width: 160px;
}

.main_second {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;
}

.main_third {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_fourth {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_fifth {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_sixth {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_seventh {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_eighth {
    min-height: 65px;
    margin: auto;
    text-align: left; 
    width: 80%;   
}

.main_eighth h1 {
    text-align: center; 
}

.main_nineth {
    min-height: 65px;
    margin: auto;
    text-align: center; 
    width: 80%;   
}

.navbar_bottom_div {
    text-align: center;
    margin: auto;
}


.navbar_bottom_span {
    color: #005da6;   
    display: inline-block;
    font-size: 16px;
    font-weight: bold;
    margin-right: 15px;
}

.navbar_bottom_span:hover {
    color: #C32032;
    cursor: pointer;
}

.navbar_bottom_span a {
    color: #005da6;   
    text-decoration: none;
}
/*End of Main content*/



/*Start of footer content*/
.footer_box {
    height: 65px;
    margin: auto;
    text-align: center;
}

.footer_box p {
    color: white;
    display: inline-block;
    font-size: 12px;
}

.footer_box a {
    color: white;
    text-decoration: none;
}
/*End of footer content*/




.water_link {
    background-color: #005DA6;
    outline-color: red;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin: auto;
    padding: 10px;
    width: 150px;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
}

.fire_link {
    background-color: #C32032;
    outline-color: red;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin: auto;
    padding: 10px;
    width: 150px;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
}

.mold_link {
    background-color: green;
    outline-color: red;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin: auto;
    padding: 10px;
    width: 150px;
    display: inline-block;
    text-align: center;
    margin-bottom: 15px;
}

.water_link a {
    color: white;
    text-decoration: none;
}

.fire_link a {
    color: white;
    text-decoration: none;
}

.mold_link a {
    color: white;
    text-decoration: none;
}




@media screen and (max-width: 600px) {

    .size_hide {
        display: none; 
    } 

    body {
        font-size: 14px;
    }

    .h1_headings {
        font-size: 24px;
    }

    .span_hide {
        visibility: hidden; display: none;
    }

}

/*residential page start*/
.flip-card {
  float: left;
  background-color: transparent;
  width: 30%;
  min-width: 300px;
  height: 500px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  /*background-color: #bbb;*/
  background-color: #E8F8FF;
  border: 1px solid black;
  color: black;
}

.flip-card-front p {
    padding-left: 10px;
    padding-bottom: 10px;
    text-align: left;
}

/* Style the back side */
.flip-card-back {
    background-color: dodgerblue;
    color: white;
    transform: rotateY(180deg);
    overflow: scroll;
}

.flip-card-back p {
    padding-left: 10px;
    padding-bottom: 10px;
    text-align: left;
}