/*-- Body Reset --*/
body {
  overflow-x: hidden;
  font-family: "Montserrat", sans-serif;
  color: #616971;
}

/*============= TOP BAR HEADER =============*/

.top-bar {
  background: #222222;
  height: 2.6rem;
  padding: 0;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
}

/*============= NAVIGATION =============*/

.navbar-brand img {
  height: 3rem;
}
.navbar {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  background-color: silver;
  z-index: 1000;
}
.nav-item {
  padding: 0.5rem;
}
.nav-link {
  color: black !important;
}
.nav-link:active,
.nav-link:hover {
  color: #ffffff !important;
}

/*============= HEAD-BAR =============*/
.headbar {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.1rem;
  padding: 5px;
  color: #ffffff;
  box-shadow: 0 0.5rem 0.5rem rgba(0, 0, 0, 0.1);
  border-bottom: 0.1rem solid #4981b3;
  z-index: 1;
}

/*============= CAROUSEL =============*/
#carousel {
  box-shadow: 0 1rem 1rem rgba(0, 0, 0, 0.1);
}
.carousel-inner {
  max-height: 40rem !important;
}
/*---Change Carousel Transition Speed --*/
.carousel-item-prev,
.carousel-item-next,
.carousel-item.active {
  transition: transform 1.2s ease;
}

/*-- Carousel Content --*/
.carousel-caption {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  text-transform: uppercase;
}
.bg-form {
  background: url("../img/carousel/2.jpg") no-repeat;
  width: 100%;
  height: 900vh;
  background-size: 100%;
}
.login-form {
  position: absolute;
  top: 25vh;
  background: #f0f0f0;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0px 0px 10px 0px #000;
}

.bg-custom {
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: 1rem;
}
.carousel-caption h1 {
  font-size: 3.8rem;
  text-shadow: 0.1rem 0.1rem 0.3rem rgba(0, 0, 0, 0.1);
}
.border-primary {
  border-top: 0.2rem solid #4981b3 !important;
}
.carousel-caption h3 {
  font-size: 2.2rem;
  text-shadow: 0.1rem 0.1rem 0.2rem rgba(0, 0, 0, 0.1);
}
.btn-lg {
  border-radius: 0;
  text-transform: uppercase;
  font-size: 1rem;
  border-width: medium;
}
.btn-danger {
  background-color: #ac2615;
  border: 0.05rem solid #ac2615;
}
.btn-primary {
  background-color: #4981b3;
  border: 0.05rem solid #4981b3;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #0773d1 !important;
  border: 0.05rem solid #68a0d2 !important;
}
/*===== FIXED BACKGROUND IMG =====*/
.fixed {
  background-image: url("../img/matrix.jpg");
  position: fixed;
}
.fixed-background {
  padding: 10rem 0;
}
/*-- Emoji Navbar --*/
.emoji {
  background-image: linear-gradient(to right, #4981b3, #ac2615);
  min-height: 0 !important;
  padding: 0.4rem 0 !important;
}
.emoji .svg-inline--fa {
  margin: 0, auto;
  color: #fff;
  font-size: 2rem;
}
/*============= FOOTER =============*/
footer {
  background-color: #383838;
  padding: 1rem 2rem 3rem;
  border-top: 0.1rem solid #4981b3;
}
footer img {
  height: 3.5rem;
  margin: 1.5rem auto;
}
footer p,
footer a,
footer .container a:hover .socket a {
  color: #fff !important;
  text-decoration: none;
}
ul.social {
  list-style: none;
  font-size: 1.3rem;
  display: flex;
  max-width: 30rem;
  padding: 5px auto;
  color: #ffffff;
}
ul.social li {
  margin: 0 auto;
}
footer .svg-inline--fa {
  margin-top: 10px;
  font-size: 2rem;
}
footer .svg-inline--fa:hover {
  color: #c0c0c0;
}
/*============= SOCKET =============*/
.socket {
  background-color: #383838;
  border-top: 0.1rem solid #4981b3;
}

/*############## MY STYLES ##################*/
.container a,
.container a:visited {
  text-decoration: none !important;
  color: navy;
}
.container a:hover {
  color: rgb(0, 0, 0) !important;
}
.Photos {
  width: 30%;
  padding: 3%;
  float: left;
}
.highlight {
  color: #222222;
}
.TabC100 {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  line-height: 150%;
  margin-bottom: 1rem;
}
.TabC100 th {
  background-color: gray;
  font-weight: bold;
  color: white;
}
.TabC100 td {
  padding: 5px;
}
.TabC100 tr:hover {
  background-color: #f0f0f0;
}
.TabC100 a,
a:visited {
  text-decoration: none;
  color: navy;
}
.TabC100 a:hover {
  color: #68a0d2;
}

.TabL100 {
  width: 100%;
  text-align: left;
  margin: 0 auto;
  line-height: 150%;
  margin-bottom: 1rem;
}
.TabL100 th {
  background-color: gray;
  font-weight: bold;
  color: white;
}
.TabL100 td {
  padding: 5px;
}
.TabL100 tr:hover {
  background-color: #f0f0f0;
}
.TabL100 a,
a:visited {
  text-decoration: none;
  color: navy;
}
.TabL100 a:hover {
  color: #68a0d2;
}

/* Google Map */
.mapouter {
  position: relative;
  text-align: right;
  height: 400px;
  width: 100%;
  margin-bottom: 10px;
}

.gmap_canvas {
  overflow: hidden;
  background: none !important;
  height: 400px;
  width: 100%;
}

/* ID Card*/
.cardPage {
  height: 300mm;
  width: 310mm;
  border: 0px black dotted;
  margin: 0mm;
}
.cardOne {
  width: 122mm;
  height: 75mm;
  position: relative;
  margin: 2mm 10mm;
  float: left;
  border: 1px black solid;
  border-radius: 7px;
}
.cardHead {
  position: relative;
  margin-left: 10px;
  clear: both;
  padding: 0px;
  width: 98%;
}
.IDCard {
  font-size: 16pt;
  font-weight: bold;
  margin: -0px 0;
  text-align: center;
}
.stdPhoto {
  position: relative;
  width: 30%;
  height: 150px;
  float: left;
  margin: 1mm 1mm 3mm 4mm;
  border: 1px black solid;
}
.Stamp {
  position: relative;
  top: 90px;
  left: -60px;
  float: left;
  width: 70px;
  margin-left: 5px;
}
.frontData {
  position: relative;
  width: 60%;
  float: left;
  top: -80px;
  left: 15px;
  text-align: left;
  font-size: 14pt;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 150%;
  padding-top: 15px;
}
.dirSign {
  position: relative;
  top: -160px;
  right: 20px;
  float: right;
  font-weight: bold;
  margin-right: -5px;
  font-size: 10pt;
}

.backData {
  width: 98%;
  float: center;
  text-align: center;
  font-size: 13pt;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  line-height: 130%;
  margin: 15px;
}
.homeAddr {
  width: 98%;
  margin: 10px 1%;
}
.ptuAddr {
  position: relative;
  width: 98%;
  margin: 1%;
  bottom: 5px;
}

/*############ END MY STYLES ###############*/

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
  .carousel-caption h1 {
    font-size: 2.8rem;
  }
  .carousel-caption h3 {
    font-size: 1.8rem;
  }
}
/* Devices under 992px (md) */
@media (max-width: 991.98px) {
  .carousel-caption h1 {
    font-size: 2.5rem;
  }
  .carousel-caption h3 {
    font-size: 1.5rem;
  }
  .btn-lg {
    font-size: 0.95rem;
  }
  .bg-form {
    background-size: 300px;
  }
}

/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row,
.container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;
}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000 !important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999 !important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
