:root {
  --shadow: -2px 0px 20px 10px rgb(31 53 72 / 8%);
  --clr-primary: #444;
  --clr-light: #fff;
  --clr-secondary: #c30734;
  --clr-breadcrumbs: #fbfbfb;
  --clr-footer: #b1c2e8;
  --clr-top-footer: #7691cc;
  --clr-text: #000;
  --clr-gray: #5c768d;
  --clr-burger: #1f3548;
  --clr-bix: #fff;
  --bg-gray: #c30734;
  --bg-secondary: #c30734;
  --bg-gray-hover: #c30733a8;
  --background: var(--clr-light);
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@font-face {
  font-family: "Almarai";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/almarai-v5-arabic-regular.eot");
  /* IE9 Compat Modes */
  src: local(""),
    url("../fonts/almarai-v5-arabic-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/almarai-v5-arabic-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */ url("../fonts/almarai-v5-arabic-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/almarai-v5-arabic-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/almarai-v5-arabic-regular.svg#Almarai") format("svg");
  /* Legacy iOS */
}

html {
  scroll-behavior: smooth;
  font-family: "Almarai", sans-serif;
}

body {
  font-family: "Almarai", sans-serif;
  color: var(--clr-primary);
  background: var(--background);
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

::-webkit-input-placeholder {
  /* Edge */
  padding: 4px;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  padding: 4px;
}

::placeholder {
  padding: 4px;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

#header {
  height: 76px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 0;
  background: var(--background);
  border-bottom: 1px solid #fff;
  box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 6%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

.navbar-brand {
  margin-right: 0rem;
  margin-left: 0rem;
}

/* Desktop Navigation */

nav.navbar {
  background: var(--background);
}

.navbar {
  padding: 0.3rem 1rem;
}

.navbar-light .navbar-toggler {
  border-color: rgb(243 243 243 / 0%);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--clr-primary);
  transition: 0.3s;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
  color: #c30734;
}

/* bootstrap overwrite css */

.navbar-light .navbar-nav .nav-link {
  font-weight: bold;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  font-weight: bold;
  color: var(--clr-secondary);
}

.rtl .navbar-nav .nav-item + .nav-item,
[dir="rtl"] .navbar-nav .nav-item + .nav-item {
  margin-right: 0rem;
}

.navbar-expand-lg .navbar-nav .dropdown-menu {
  background-color: var(--bg-card);
  box-shadow: var(--shadow);
}

.dropdown-item {
  color: var(--clr-text);
}

.ur-logo {
  width: 215px;
  margin-top: 13px;
}

.fa-navicon {
  color: var(--clr-head);
}

/* for mobile and tablet secreens  col xs*/

@media (max-width: 767px) {
  .ur-logo {
    width: 165px;
    margin-top: 13px;
  }
}

.img-cert {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.vid-cert {
  display: none;
  margin-left: auto;
  margin-right: auto;
}

.cancel-btn {
  visibility: hidden;
}

.camera-msg {
  display: none;
}

.vehicle-note {
  color: #c30734;
  font-size: 12px;
  display: none;
}

.vehicle-title-line {
  margin-top: 0rem !important;
}

.card-text {
  margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

#footer {
  color: #b4aca8;
  font-size: 14px;
  background: #14100f;
}

#footer .footer-top {
  padding: 22px 0;
  background: black;
}

#footer .footer-top .footer-links {
  margin-top: 7px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul li {
  padding: 5px;
  display: inline;
  align-items: center;
}

#footer .footer-top .footer-links ul a {
  color: #b4aca8;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #c30734;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #c30734;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #04408b;
  color: #fff;
  text-decoration: none;
}

/* ------------------ footer-bottom --------------------*/

#footer .footer-bottom {
  padding: 8px 0;
  background: #1b1b1b;
}

#footer .footer-bottom .footer-links {
  margin-top: 22px;
  text-align: left !important;
}

#footer .footer-bottom .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-bottom .footer-links ul li {
  padding: 5px;
  display: inline;
  align-items: center;
}

#footer .footer-bottom .footer-links ul a {
  color: #b4aca8;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-bottom .footer-links ul a:hover {
  text-decoration: none;
  color: #c30734;
}

/******** Media Query ************/

/* for mobile and tablet secreens  col xs*/

@media (max-width: 767px) {
  #footer .footer-bottom .footer-links {
    margin-top: 15px;
    text-align: right !important;
  }
  .alert {
    width: 100%;
  }
}

/* for sm secreen */

@media (min-width: 768px) and (max-width: 991px) {
  #footer .footer-bottom .footer-links {
    text-align: right !important;
  }
  .alert {
    width: 70%;
    margin: auto auto 1rem auto;
  }
}

/* for md secreen */

@media (min-width: 992px) and (max-width: 1199px) {
  .alert {
    width: 60%;
    margin: auto auto 1rem auto;
  }
}

/* for lg secreen and larger */

@media (min-width: 1200px) {
  .alert {
    width: 50%;
    margin: auto auto 1rem auto;
  }
}

#footer .copyright {
  padding-top: 22px;
  font-size: 16px;
  color: #b4aca8;
}

#footer .copyright a {
  color: #b4aca8;
  transition: 0.3s;
}

#footer .copyright a:hover {
  color: hsla(5, 76%, 62%, 0.8);
  text-decoration: none;
}

/* for system mode if it's dark */

@media (prefers-color-scheme: dark) {
  :root {
    --shadow: -2px 0px 20px 10px rgb(31 53 72 / 8%);
    --clr-primary: #444;
    --clr-secondary: #c30734;
    --clr-breadcrumbs: #fbfbfb;
    --clr-footer: #b1c2e8;
    --clr-top-footer: #7691cc;
    --clr-text: #000;
    --clr-gray: #5c768d;
    --clr-burger: #1f3548;
    --clr-bix: #fff;
    --bg-gray: #c30734;
    --bg-secondary: #c30734;
    --bg-gray-hover: #c30733a8;
    --background: var(--clr-light);
  }
}
