/*this is for header pin*/
* {
  font-family: Sans-serif, Arial, Verdana;
}

body {
  font-family: "Arial", Serif;
  background-color: #f4f4f4;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

/* navigation bar starts here */
.navbar {
  background-color: rgb(16, 172, 219);
  overflow: hidden;
  height: 63px;
  overflow-x: hidden;
}

.navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.navbar ul {
  margin: 8px 0 0 0;
  list-style: none;
}

.navbar a:hover {
  background-color: #e8491d;
  /* background-color:#ddd; */
  /* color:#000; */
}

.side-nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #111;
  opacity: 0.9;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.5s;
}

.side-nav ul {
  list-style: none;
}


.side-nav#highlight {
  color: #e8491d;
  /*rgb(82, 6, 6);  #e8491d*/
  font-weight: bold;
}

.side-nav a {
  padding: 10px 10px 10px 30px;
  text-decoration: none;
  font-size: 18px;
  color: #ccc;
  display: block;
  transition: 0.3s;
  text-decoration: none;
}

.side-nav a:hover {
  color: #fff;
  background-color: #e8491d;
}

.side-nav .btn-close {
  position: absolute;
  top: 0;
  right: 22px;
  font-size: 36px;
  margin-left: 50px;
}


/* navigation bar ends here */
.main {
  background-color: #080808;
  width: 100%;
  height: 80px;
  padding: 0px;
  margin: 0px;
  left: 0;
  right: 0;
  z-index: 1;
  position: fixed;
  top: 0px;
}

/*home page css*/
div.gallery {/* this affects the images container in the homepage only*/
  margin: 15px;
  border: 1px solid  rgb(16, 172, 219);
  float: left;
  width: 200px; 
  height: 200px;
  background: #ffffff;
}

div.gallery:hover {
  border: 1px solid #e8491d;
}

div.gallery img {
  width: 70%;
  height: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 10px;
  margin-bottom: 10px;
}

div.desc {
  padding: 5px;
  text-align: center;
  border:solid 1 rgb(16, 172, 219);
  width:auto;
  height:60px;
  color: #ffffff;
  background: rgb(16, 172, 219);
  font-size: 18px;
  
}

#dTitle {
  float: left;
  padding-left: 50px;
}

fieldset {
  width: 95%;
    border-radius: 5px;
    background-color: #a4ceeb;
    margin: auto;
  /* background:url(../images/pagebackground0.jpg) no-repeat; */

}

legend {
  color: #db1010;
  font-style: bold;
  font-weight: bold;
}

/* new css starts here
******************* ****************************/
/* Style inputs, select elements and textareas */
input[type=text],
[type=password],
[type=date],
[type=email],
[type=file],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid rgb(16, 172, 219);
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}
input[type=date]{
   width: 100%; /*300px; */
  padding: 12px;
  border: 1px solid rgb(16, 172, 219);
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}

/* Style the label to display next to the inputs */
label {
  padding: 12px 12px 12px 0;
  display: inline-block;
}

/* Style the submit button */
input[type=submit] {
  background-color: rgb(16, 172, 219);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

/* Style the submit button hover */
input[type=submit]:hover {
  background-color: #db1010;
  color: white;
}

/* Style the container */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  /* background:url(../images/pagebackground0.jpg) no-repeat; */

}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 20%;
  margin-top: 20px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 75%;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* this is for email and view */
* {
  box-sizing: border-box;
}

.tableflow {
  overflow-x: auto;
}

.ecolumn {
  float: left;
  width: 40%;
  padding: 5px;
  /* border-style: solid; */
  /* border-color:#db1010; */
}

.vcolumn {
  float: left;
  width: 60%;
  padding: 5px;
  border-style: solid;
  border-color: rgb(16, 172, 219);
}

.flip-card {
  background-color: transparent;
  width: 320px;
  height: 300px;
  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%;
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}

/* this is for long table scroll to the left or right */
.tscroll{
  overflow-x:auto;
}
/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .navbar-nav {
    display: none
  }

  .col-25,
  .col-75,
  input[type=submit] {
    width: 100%;
    margin-top: 0;

  }

 

  .ecolumn,
  .vcolumn {
    width: 100%;
  }

  fieldset {
    width: 95%;
    border-radius: 5px;
    background-color: #a4ceeb;
    margin: auto;
    /* background:url(../images/pagebackground0.jpg) no-repeat; */

  }

  .vcolumn {
    width: 100%;
  }

  .ecolumn {
    width: 100%;
  }

  div.gallery {
    margin: 8px;
    /* margin: 15px; */
    word-wrap: break-word;
    width: 132px;
    float: left;
  } 


  div.gallery img {
    width: 50%;
    height: 45%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
  }

  
div.desc {
  padding: 5px;
  text-align: center;
  border:solid 1 rgb(16, 172, 219);
  width:auto;
  height:90px;
  color: #ffffff;
  background: rgb(16, 172, 219);
  font-size: 18px;

}
#dTitle {
  float: left;
  padding-left: 15px;
}
}