body {font-family: Arial, Helvetica, sans-serif;}
* {box-sizing: border-box;}

/* Button used to open the contact form - fixed at the bottom of the page */


/* The popup form - hidden by default */
.form-popup {
	width:100%;
  height: 100vh;
  display: none;
  position: absolute;
  padding:5% 25% 5% 25%;
  margin: auto;
  border: 4px solid #ccc;
  border-radius: 6px;
  background-color: #888;
  z-index: 9;
}

/* Add styles to the form container */
.form-container {
  width: 50%;
  margin: auto;
  max-width: 100%;
  padding:5% 5% 5% 5%;
  background-color: #fff;
}

/* Full-width input fields */
.form-container input[type=text], .form-container input[type=password],.form-container select {
  width: 100%;
  padding: 10px;
  margin: 5px 0 10px 0;
  border: none;
  background: #ddd;
}

/* When the inputs get focus, do something */
.form-container input[type=text]:focus, .form-container input[type=password]:focus {
  background-color: #ddd;
  outline: none;
}

/* Set a style for the submit/login button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom:4px;
  opacity: 1;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: #888;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}
  .adv{
    width: 50%;
  }
  .adv img{
    width: 95%;
  }
  .main_table{
    width: 50%;
  }
  .prev,.index,.next{
    width: 30%
  }
  .main_table img{
    width: 95%;
  }
  p.msg{
    width: 50%;
    margin: auto;
    background:green;
    color:#fff;
    padding:10px;
  }
@media only screen and (max-width: 768px) {
  .form-popup{
    width: 100%;
    height: 100vh;
    padding: 5px;
  }
  .form-container {
    width: 100%!important;
  }
  .adv{
    width: 100%;
  }
   p.msg{
    width: 100%;
    background:green;
    color:#fff;
    padding:10px;
  }
  .adv img{
    width: 100%;
  }
  .main_table{
    width: 100%;
  }
  .prev,.index,.next{
    width: 30%
  }
  .main_table img{
    width: 100%;
  }
}