html {
  font-size: 11px;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 1.7rem;
  overflow-x: hidden;
  position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3 !important;
}

h3 {
  font-size: 2rem !important;
  font-weight: 700 !important;
}

h2 {
  font-size: 3rem !important;
  font-weight: 700 !important;
}

h4 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
}

p {
  font-size: 17px !important;
}

.nav.flex-column.nav-pills {
  font-size: 17px !important;
}

.tab-content {
  font-size: 17px !important;
}

/*Navbar*/

.navbar {
  background-color: white !important;
  border: none !important;
  border-radius: 50px;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.15) !important;
  padding: 5px 15px 5px 30px;
  transition: 0.4s;
  z-index: 99;
  width: 90%;
  position: fixed;
  top: 45;
  transform: translate(calc(50vw - 50%));
}

.footer-map {
  background-color: white !important;
  border: none !important;
  border-radius: 50px;
  box-shadow: 1px 1px 2px 1px rgba(0, 0, 0, 0.15) !important;
  z-index: 10;
  width: 90%;
  bottom: -50;
  position: relative;
  transform: translate(calc(50vw - 50%));
}
@media screen and (max-width: 1200px) {
  .navbar-nav {
    margin-left: 0% !important;
    margin-right: 0% !important;
    text-align: center;
  }
  .navbar {
    padding: 5px 30px 5px 30px;
  }
}

.navbar-nav * {
  box-sizing: border-box !important;
  -webkit-transition: all 0.35s ease !important;
  transition: all 0.35s ease !important;
}

.nav-item-bar {
  display: inline-block !important;
  list-style: outside none none !important;
  margin: 0 1.5em !important;
  overflow: hidden;
}

.nav-link-bar {
  display: inline-block !important;
  position: relative !important;
  padding: 0.3em 0 !important;
  color: black !important;
  letter-spacing: 1px !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: smaller;
  font-family: "Playfair Display", serif;
}
.nav-link-bar-brand {
  display: inline-block !important;
  position: relative !important;
  padding: 0.3em 0 !important;
  color: black !important;
  letter-spacing: 1px !important;
  margin: 0 !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: smaller;
  font-family: "Playfair Display", serif;
}

.nav-link-bar:before,
.nav-link-bar:after {
  position: absolute !important;
  -webkit-transition: all 0.35s ease !important;
  transition: all 0.35s ease !important;
}

.nav-link-bar:before {
  bottom: 100% !important;
  display: block !important;
  height: 3px !important;
  width: 100% !important;
  content: "" !important;
  background-color: #e1ae3a !important;
}

.nav-link-bar:after {
  padding: 0.3em 0 !important;
  position: absolute !important;
  bottom: 100% !important;
  left: 0 !important;
  content: attr(data-hover) !important;
  color: green !important;
  white-space: nowrap !important;
}

.nav-item-bar:hover a,
.nav-item-bar.active a {
  transform: translateY(100%) !important;
}

.nav-img {
  width: auto;
  height: 2em;
  padding-right: 3px;
  vertical-align: center;
}

.navbar-right {
  margin-right: 5%;
  float: right !important;
}

.navbar-left {
  margin-left: 5%;
  float: left !important;
}

.navbar a {
  text-transform: uppercase;
}

.loc-but {
  color: #e1ad3d !important;
  background-color: white !important;
  border: #e1ad3d solid 2px;
}

.loc-but:hover {
  background-color: #e1ad3d !important;
  color: white !important;
  border: #e1ad3d solid 2px !important;
}

.loc-but-primary {
  color: white !important;
  background-color: #e1ad3d !important;
  border: #e1ad3d solid 2px;
}

.loc-but-primary:hover {
  color: white !important;
  background-color: #c49226 !important;
  border: #c49226 solid 2px;
}

.bg-sand {
  background: linear-gradient(to bottom right, #9b6f11, #e1ad3d);
  text-align: center;
  color: white;
}

.bg-green {
  background: linear-gradient(to bottom right, green, rgb(135, 202, 135));
  text-align: center;
  color: white;
}

body {
  padding-top: 90px;
}

.contact-form-wrapper {
  border-radius: 5px;
  background-color: #fff;
  border: solid 1px #eee;
  padding: 20px;
  margin: 0% 10% 3% 10%;
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.05);
  margin-top: 10px;
  z-index: 0;
  position: relative;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="password"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
input[type="number"]:hover,
textarea:hover {
  background-color: #fafafa;
  border: solid 1px gray;
  transition: ease-in-out 200ms;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus {
  outline-color: #e3ac3f;
  transition: ease-in-out 200ms;
}

input[type="submit"], button {
  background-color: #e3ac3f;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
}

input[type="submit"]:hover, button:hover {
  opacity: 0.8;
  transition: ease-in-out 200ms;
}

#subject {
  width: 100%;
  margin-bottom: 10px;
}

.element {
  display: flex;
  align-items: flex-start;
  text-align: left;
  font-size: medium;
}

.contact-card-icon {
  width: 35px;
  height: auto;
  margin-right: 1.1rem;
  opacity: 0.5;
}

.section {
  padding: 2.5em 1.5em;
}

.bg-hr {
  border: none;
  background: #eee;
  clear: both;
  height: 1px;
  margin: 1.5em auto;
}

.about-title {
  color: #444;
  font-weight: 400;
}

.about-desc {
  color: #444;
}

#history-content .history-section {
  padding: 2em 4em;
  margin: 0 auto;
  width: 90%;
  color: #444;
}

p {
  margin: 1rem 0;
  font: 17px/1.7 "Helvetica Neue", Helvetica, Sans-Serif;
  -webkit-font-smoothing: antialiased;
}

.main-heading {
  text-align: center;
}

.salam {
  margin-top: 2%;
  font-size: 8em;
}

.bismillah {
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 7vw;
}

.fade-in {
  animation: fadeIn ease 5s;
  -webkit-animation: fadeIn ease 5s;
  -moz-animation: fadeIn ease 5s;
  -o-animation: fadeIn ease 5s;
  -ms-animation: fadeIn ease 5s;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.prayer-icon {
  width: 30px;
  height: auto;
}

.prayer-table-row-1 {
  display: block;
  font-size: medium;
  color: lightslategray;
}

.prayer-table-row-2 {
  display: block;
  font-size: large;
  color: #e1ae3a;
}

.prayer-name {
  color: #931f1d;
}
.crimson-text {
  color: crimson;
}

.nav-pill-icon {
  padding-right: 5px;
  margin-right: 10px;
  width: 30px;
  height: auto;
}

.nav-pills .nav-link.active {
  background-color: #e1ae3a;
}

.primary-background {
  background-color: #e1ae3a;
}

.home-heading {
  text-align: center;
  font-weight: 900 !important;
  font-size: 4rem;
  color: #931f1d;
  font-family: "Cinzel", serif;
}

/*footer*/

.social-media-links {
  text-decoration: none;
  cursor: pointer;
  color: #e1ae3a;
}

.social-media-links-header {
  text-decoration: none;
  cursor: pointer;
  color: #931f1d;
}

.footer-row-1 {
  margin: 0% 5% 0% 5%;
  text-align: left;
  padding: 3% 5% 3% 5%;
}

.footer-row-2 {
  margin: 0% 5% 0% 5%;
  text-align: center;
  padding: 2% 0% 2% 0%;
}

.footer-1-col {
  padding: 10px;
}

div.footer-1-col ul li {
  display: inline-block;
}

.footer-icon {
  font-size: 30px;
  padding-right: 15px;
}
.header-icon {
  font-size: 20px;
  padding-right: 15px;
}

body:after {
  content: "";
  display: table;
  clear: both;
}

/*For button styling across browsers*/
a[class^="btn"],
a[class*=" btn"] {
  -webkit-appearance: none;
}

.pill-button {
  display: inline-flex;
  color: #28a745;
}

.tab-content {
  padding: 2% !important;
}

.nav.flex-column {
  border-right: solid 2px #f8f4f4;
  padding-right: 1%;
}

img.card-img-top {
  height: 200px;
  object-fit: cover;
  border-radius: 25px 25px 0 0;
}
img.contain-card-img-top {
  height: 200px;
  object-fit: contain;
  border-radius: 25px 25px 0 0;
}

.inline-form {
  display: inline;
}

/*Side Navigation*/
/* The side navigation menu */
.sidenav {
  height: 100%; /* 100% Full-height */
  width: 0%; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  top: 0; /* Stay at the top */
  left: 0;
  background-color: #e1ae3a; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 120px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
  z-index: 1;
}

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  color: white;
  display: block;
  transition: 0.3s;
  margin: auto;
  width: 75%;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
  transition: margin-left 0.5s;
  padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}

/*Side Navigation Open/Close button*/
.side-nav-btn {
  display: inline-block;
  cursor: pointer;
  border: solid 3px #e1ae3a;
  border-radius: 50%;
  padding: 20px;
  z-index: 99999;
  position: absolute;
  transition: 0.5s;
}
.side-nav-btn:hover {
  background-color: #e1ae3a;
}

.bar1,
.bar2,
.bar3 {
  width: 35px;
  height: 5px;
  background-color: #333;
  margin: 6px 0;
  transition: 0.4s;
}

.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px);
  transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
  opacity: 0;
}

.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px);
  transform: rotate(45deg) translate(-8px, -8px);
}

.loader {
  border: 16px solid #f3f3f3; /* Light grey */
  border-top: 16px solid #e1ae3a;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
  position: relative;
  top: 50%;
  margin: 50%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.carousel-caption {
  color: white !important;
  background-color: black !important;
  opacity: 0.8 !important;
  bottom: 0px !important;
  width: 100% !important;
  right: 0 !important;
  left: 0 !important;
}

/*Local Business Section */
.business-heading {
  text-align: center;
  margin: 1%;
}

.business-desc {
  padding: 25px 10px;
  box-shadow: 0 0.1em 0.2em rgba(0, 0, 0, 0.05);
}

.business-box {
  width: auto !important;
  background-color: white;
  margin: 0% 10%;
}

.business-type-box {
  width: auto !important;
  margin: 2% 20%;
  overflow: hidden;
}

.circle {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  border: white 1px solid;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.25);
  padding: 1%;
  margin-right: 10px;
}

.business-name {
  display: flex;
  display: -webkit-flex;
}

/*Services new update */
.hover-color-change-green.bg-light:hover {
  color: white;
  background-color: #598216 !important;
  transition: background-color 1s ease;
}

.hover-color-change-green.bg-light:hover .service-card-p {
  display: block;
}

.shadow-light {
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.14);
}

.service-card {
  border-radius: 0.3rem;
  height: auto;
  width: auto;
  padding: 7px;
  text-align: center;
}

@media screen and (max-width: 951px) {
  .service-card {
    margin-bottom: 1.75rem;
  }
  .header-icon {
    font-size: 12px;
    padding-right: 8px;
  }
}

.service-card-img {
  width: 25%;
  height: auto;
}

.service-card-p {
  font-size: 14px !important;
  display: none;
}

.card-body {
  padding: 1.5rem !important;
}

progress[value]::-webkit-progress-bar {
  background-color: #eee;
  border-radius: 25px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25) inset;
}
progress[value]::-moz-progress-bar {
  background-color: #01b5e2;
  border-radius: 25px;
  border-radius: 25px;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}

progress[value] {
  /* Reset the default appearance */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Get rid of default border in Firefox. */
  border: none;

  /* Dimensions */
  width: 100%;
  height: 0.25em;

  /* For IE10 */
  color: #01b5e2;
}

progress[value]::-webkit-progress-value {
  /* background-image: -webkit-linear-gradient(
      -45deg,
      transparent 33%,
      rgba(0, 0, 0, 0.1) 33%,
      rgba(0, 0, 0, 0.1) 66%,
      transparent 66%
    ),
    -webkit-linear-gradient(top, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.25)),
    -webkit-linear-gradient(left, #09c, #f44); */
  border-radius: 25px;
  background-color: #01b5e2;
  background-size: 35px 20px, 100% 100%, 100% 100%;
}

.rounded-btn-bold {
  border-radius: 50px;
  font-weight: 900;
}
.white-text {
  color: white;
}

.card-title {
  font-family: "Cinzel", serif;
  font-weight: 900 !important;
  font-size: 1.6rem !important;
}

.card-footer {
  border-radius: 0 0 25px 25px !important;
}

.card {
  border-radius: 25px;
}

.card-text p {
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.card-action-btn {
  display: inline-block;
  font-size: 18px;
  line-height: 48px;
  height: 48px;
  color: #ffffff;
  min-width: 212px;
  background-color: #006aff;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1) inset;
  border-radius: 25px;
}

.primary-text {
  font-family: "Cinzel", serif;
}
