/*

Tooplate 2111 Pro Line

http://www.tooplate.com/view/2111-pro-line

*/

body {
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  color: #191919;
  overflow-x: hidden;
}

textarea {
  font-family: "Open Sans", sans-serif;
}

a:hover {
  text-decoration: none;
}

.tm-footer-link {
  color: #191919;
}

button {
  border: none;
}

a,
button {
  cursor: pointer;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  line-height: 1.7;
  margin-bottom: 35px;
}

p:last-child {
  margin-bottom: 0;
}

.tm-page-header {
  color: #191919;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 15px;
}

.tm-nav-section {
  position: absolute;
  top: 158px;
  left: 0;
  width: 100%;
  border-top: 1px solid #191919;
  border-bottom: 1px solid #191919;
  background-color: #F1F1F1;
  z-index: 3000;
}

.navbar-expand-md .navbar-nav .nav-link {
  padding: 10px 35px;
  color: #F1F1F1;
}

#tmMainNav .nav-link:hover {
  color: #191919;
  background: #F1F1F1;
}

.navbar {
  padding-top: 3px;
  padding-bottom: 3px;
  position: relative;
}

/* Original code from: https://www.w3schools.com/howto/howto_js_tab_img_gallery.asp
  Has been modify to be display responsive as well as fit 5 images instead of original 4.
  Has also been modified to not interfere with other css styling by setting the styling 
  only affect the .custom-gallery class */

/* The grid: Five equal columns that float next to each other */
.image-gallery-container .column {
  float: left;
  width: 20%;
  padding: 10px;
  box-sizing: border-box;
}

/* Style the images inside the grid */
.image-gallery-container .column img {
  opacity: 0.8;
  cursor: pointer;
  width: 100%;
  height: auto; /* Ensure the images maintain their aspect ratio */
}

/* Clear floats after the columns */
.image-gallery-container .row:after {
  content: "";
  display: table;
  clear: both;
}

/* The expanding image container (positioning is needed to position the text and close button) */
.image-gallery-container .container {
  position: relative;
  display: none;
}

/* Expanding image text */
.image-gallery-container #imgtext {
  position: absolute;
  bottom: 15px;
  left: 15px;
  color: white;
  font-size: 20px;
}

/* Closable button inside the image */
.image-gallery-container .closebtn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 35px;
  cursor: pointer;
  opacity: 0.8; /* Optional: Set initial opacity */
}

.image-gallery-container .closebtn:hover {
  opacity: 1; /* Optional: Increase opacity on hover */
}