 

/*  side navigation  */

.header {
  background-image: url("mImage/Installation.png");
  min-height: 350px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

div.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
}

#navbar {
  overflow: hidden;
  background-color: #333;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.2);
}


#navbar a {
  float: right;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

#navbar a:hover {
  background-color: #ddd;
  color: black;
}

#navbar a.active {
  background-color: grey;
  color: white;
}

.content {
  padding: 8px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.sticky + .content {
  padding-top: 60px;
}




/*  side navigation  */

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 60px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.sidenav a:hover {
  color: #f1f1f1;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.main {
  display: none;
  transition: margin-left .5s;
  margin-left: 12px;
  padding: 6px;
  color: #FFFFFF;
}

@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}


body {
  margin: 0;
   background-color: white;
   font-family: Arial;
}




/*--------------------*/


* {
  box-sizing: border-box;
}

.bodya{
  max-width: 960px;
  margin: auto;
}
  
  .row {
    display: -ms-flexbox; /* IE10 */
    display: flex;
    -ms-flex-wrap: wrap; /* IE10 */
    flex-wrap: wrap;
    padding: 0 4px;
  }

  .imga{
    width: 100%;
    min-height: 270px;
    max-height: 270px;
    height: 270px;
    padding: 20px;
  }

  .card {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: -1;

   }

   .card-b {
    margin: 30px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    background-color: white;
    z-index: -1;

   }

   .card-b:hover{
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);  
  }
    
    .card:hover img {
    transition: all .5s ease-out;
    transform: scale(1.03);
    cursor: pointer;
  }  
  
  .card:hover{
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.3);  
  } 
  
  /* Create four equal columns that sits next to each other */
  .column {
    -ms-flex: 33%; /* IE10 */
    flex: 33%;
    max-width: 33%;
    padding: 15px;
  }

  .h11{
    position: absolute;
    text-align: right;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .column {
      -ms-flex: 50%;
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .column {
      -ms-flex: 100%;
      flex: 100%;
      max-width: 100%;
    }
    .modalimg{
      width: 80%;
    }
  }

  @media screen and (max-width: 750px) {

    .column {
        width: 100%;
        display: block;
    }
  
    #navbar a{
        display: none;
    }
    #main{
        display: block;
    }
  
  }
  

  /* Buttton style Know more */

  .column {
    position: relative;
  }
  
  .container {
    position: absolute;
    bottom: 33px;
    width: auto;
    max-width: 88%;
    margin-bottom: 30px;
    max-height: 50px;
    background-color: #ffffffd2;
    overflow: hidden;
    transition: 0.5s ease-out;
    z-index: 0;
    padding: 7px;
  }
  
  .container:hover {
   max-height: 200px;
  }

  .pa{
    white-space: normal; 
    display: inline;  
}

h2{
  margin: 0;
  padding: 0;
}

.title {
  color: grey;
}

.button {
    border: none;
    outline: 0;
    display: inline-block;
    padding: 8px;
    margin-top: 40px;
    margin-bottom: 0;
    color: white;
    background-color: #000;
    text-align: center;
    cursor: pointer;
    width: 100%;
    z-index: 2;
}


.button:hover {
  background-color: #555;
}

/*--------Popup Product Model------------------------------------------*/

/* The Modal (background) */
.modal {
  
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  /*padding-top: 100px;  Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  backdrop-filter: blur(3px);
}

/* Modal Content */
.modal-content {
  border:white;
  position: relative;
  display: auto;
  margin: 1px;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 70%;
  background-color: #fefefe; 
  height: max-content;  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.3),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.1s;
  animation-name: animatetop;
  animation-duration: 0.1s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top: 0; opacity:0.5} 
  to {top: 50%;opacity:1}
}

@keyframes animatetop {
  from {top: 50%; opacity:0.5}
  to {top: 50%; opacity:1}
}

/* The Close Button */
.close {
  margin-top: -2px;
  padding-right: 8px;
  color: white;
  float: right;
  font-size: 26px;
}

.close:hover,
.close:focus {
  color: rgb(0, 0, 0);
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding-left: 16px;
  padding-top: 4px;
  padding-bottom: 4px;
  background-color:rgb(58, 58, 58);
  color: white;
}

.modalimg{
  float: left;
  width: 300px;
 }

.modal-body {padding: 2px 16px;}





/*    footer    */
.footer {
  background-color: lightslategrey;
  float: left;
  width: 33.33%;
  padding: 10px;
}