html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
  direction: rtl!important;
  language: fa!important;
  font-family: IRANSansWebFarsiNumbers, serif!important;
  font-size: 14px;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: IRANSansWebFarsiNumbers, serif!important;
  font-size: 14px;
}

body::before {
  content: "";
  background: url("/img/bg.jpg") no-repeat 50% 50%;
  background-size: contain;
  opacity: 0.2;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
}

footer {
  margin-top: auto;
  background-color: lavender;
}

h4 {
  font-size: 1.25rem;
}

label {
  width: 110%;
}

input[type=date], input[type=datetime-local] {
  font-family: monospace;
}

input.no-border {
  border: none;
  background-color: rgba(255, 255, 255, 0);
  text-align: right;
}

input.duplicate {
  border: 1px solid darkred;
  background-color: lightpink;
  color: darkred;
}

a {
  text-decoration: none;
}

.field-truncate {
  max-width: 150px;
  display: inline-block;
}

.content-fa {
  direction: rtl;
}

.content-en {
  direction: ltr;
}

.content-multiline {
  white-space: pre-line;
}

.ark {
  height: 50px;
}

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

/* login ------------------------------------- */
#login-form h4 {
  font-size: 1rem;
}

/* tables ------------------------------------- */
.table {}

.table thead {
  background-color: #0d6efd;
  color: white;
}

.table tbody tr:nth-child(even) {
  background-color: #CFD5EA;
}

.table tbody tr:nth-child(odd) {
  background-color: rgba(255, 255, 255, 0.8);
}

.table td {
  vertical-align: middle;
}

.table-highlight {
  width: 100%;
}

.table-highlight thead {
  background-color: #0d6efd;
  color: white;
}

.table-highlight td, .table-highlight th {
  padding: 5px;
}

.table-highlight .highlight {
  background-color: #CFD5EA;
}

.table-highlight tbody tr:not(.highlight):nth-child(odd) {
}

.table-highlight .divider-row {
  height: 10px;
  border-top: 1px solid #0d6efd;
}

.bus-table {
  display: flex;
  border: 2px solid black;
  border-radius: 10px;
  padding: 5px;
}

.bus-table tr:first-child :not(.seat-table tr:first-child *) {
  text-align: left;
  font-size: 24px;
}

.bus-table tr:first-child img {
  height: 2cm;
}

.seat-table {}

.seat-table td {
  width: 4cm;
  height: 1.7cm;
  text-align: center;
  position: relative;
  padding: 0 .3cm 0 .3cm;
}

.seat-table td:not(.no-seat)::before {
  content: "";
  background: url("/img/seat.png") no-repeat center;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
}

.seat-table td.no-seat {
  background: none;
}

.seat-table .seat-no {
  margin: 0 5px;
  font-size: 18px;
  font-weight: bold;
  float: right;
}

.seat-table .seat-name {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-table {
  width: 100%;
  margin-top: 2px!important;
  border: 1px solid black;
}

.info-table td, .info-table th {
  padding: 0 5px 0 5px;
}

.info-table tbody tr:last-child {
  border-bottom: 1px solid black;
}

.info-table tbody tr {
  border-bottom: 1px solid #c2e0f4;
  background-color: rgba(255, 255, 255, 0.8);
}

.info-table thead:first-child tr {
  background-color: #236fa1!important;
  color: white;
}

.info-table thead tr:nth-child(1), .info-table thead tr:nth-child(4) {
  background-color: #c2e0f4;
}

.info-table thead tr:nth-child(2), .info-table thead tr:nth-child(3) {
  background-color: rgba(255, 255, 255, 0.8);
}

.room-table {
  width: 100%;
  margin-top: 2px!important;
  border: 1px solid black!important;
}

.room-table tbody tr {
  border-top: 1px solid #c2e0f4;
  background-color: rgba(255, 255, 255, 0.8);
}

.room-table .first-room {
  border-top: 1px solid black;
}

.room-table thead tr {
  background-color: #236fa1!important;
  color: white;
}

#bus-frame {
  width: 100%;
  height: 50vh;
}

.info-div {
  column-count: 2;
  column-gap: 1cm;
}

.info-div ol {
  padding-left: 0.5cm;
  padding-right: 0.5cm;
}

.forfeit {
  /*background-color: lightpink !important;*/
}

/* letter ------------------------------------- */
.letter {
  width: 20.9cm;
  height: 29.5cm;
  background: url("/img/letter-bg.jpg") no-repeat center;
  background-size: cover;
  margin: 0 auto;
  padding: 4cm 1cm 2cm 1.2cm;
  font-size: 14px;
  font-family: Vazir, serif;
}

.letter p, .letter table {
  margin: 0;
}

@media print {
  .no-print, .fa-minus-circle {
    display: none;
  }

  body::before {
    background: none;
  }

  @page {
    size: A4!important;
    margin: 0!important;
    -webkit-print-color-adjust: exact!important;
    background: url("/img/letter-bg.jpg") no-repeat center;
    background-size: cover;
  }
}

* {
  -webkit-print-color-adjust: exact !important;   /* Chrome, Safari 6 – 15.3, Edge */
  color-adjust: exact !important;                 /* Firefox 48 – 96 */
  print-color-adjust: exact !important;           /* Firefox 97+, Safari 15.4+ */
}

/* navbar -------------------------------------- */
.navbar .dropdown .dropdown-menu {
  text-align: right;
  right: 0;
  left: auto;
}

.dropdown .dropdown-menu {
  text-align: right;
  background-color: lavender;
  padding: 0;
}

.dropdown:not(.nav-item) .dropdown-menu li {
  border-bottom: 1px solid darkgray;
}

.dropdown .dropdown-menu a:hover {
  background-color: #0d6efd!important;
  color: whitesmoke!important;
}

.index-btn {
  height: 100px;
  border-radius: 100%;
  transition: all 1s;
}

.index-btn:hover {
  height: 120px;
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 997;
  padding: 15px 0;
  top: 40px;
  box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1);
}

#header.header-scrolled {
  top: 0;
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: "Poppins", sans-serif;
}

#header .logo a {
  color: #2c4964;
}

#header .logo img {
  max-height: 40px;
}

/**
* Appointment Button *
*/
.appointment-btn {
  margin-left: 25px;
  background: #1977cc;
  color: #fff;
  border-radius: 50px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
}

.appointment-btn:hover {
  background: #166ab5;
  color: #fff;
}

@media (max-width: 768px) {
  .appointment-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar>ul>li {
  position: relative;
  white-space: nowrap;
  padding: 8px 0 8px 20px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #2c4964;
  white-space: nowrap;
  transition: 0.3s;
  border-bottom: 2px solid #fff;
  padding: 5px 2px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #1977cc;
  border-color: #1977cc;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #082744;
  border: none;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #2c4964;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #fff;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile>ul>li {
  padding: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #2c4964;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #1977cc;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #1977cc;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 80vh;
  padding-top: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  position: relative;
  margin-bottom: 10px;
}

#hero::before {
  content: "";
  background: url("/img/hero-bg.jpg") no-repeat 50% 50%;
  background-size: cover;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  border-radius: 10px;
  z-index: -1;
}

#hero .container {
  position: relative;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: aliceblue;
}

#hero h2 {
  color: #2c4964;
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 12px;
  margin-top: 30px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: #1977cc;
}

#hero .btn-get-started:hover {
  background: #3291e6;
}

#hero .btn-get-started img {
  height: 50px;
  background-color: white;
  border-radius: 100%;
}

/* hero cards --------------------------------------------------*/
#hero .box-shadow{
  -webkit-box-shadow: 0 1px 1px rgba(72,78,85,.6);
  box-shadow: 0 1px 1px rgba(72,78,85,.6);
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

#hero .box-shadow:hover{
  -webkit-box-shadow: 0 20px 40px rgba(72,78,85,.6);
  box-shadow: 0 20px 40px rgba(72,78,85,.6);
  -webkit-transform: translateY(-15px);
  -moz-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  -o-transform: translateY(-15px);
  transform: translateY(-15px);
}

#hero .card{
  border-radius: 25px;
  opacity: 0.8;
}

#hero .card img{
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

#hero .card svg{
  position:absolute;
  top:13.25rem;
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
  filter:drop-shadow(2px -9px 4px rgba(0, 69, 134, 0.2));
}
#hero .card:hover svg{
  filter:drop-shadow(2px -9px 4px rgba(0, 69, 134, 0.4));
}

#hero .card i{
  position:absolute;
  top: 13rem;
  left: 2rem;
  color:white;
  background: rgba(255, 84, 0, 0.9);
  padding: 1rem;
  border-radius: 100%;
  transition: all .6s ease-in-out;
}

#hero .card:hover i{
  transform: rotate(-180deg);
}

#hero i:hover{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.7) 0px 18px 36px -18px inset;
}

/* hero dropdown ==========================================*/
#hero .dropdown {
  position: absolute;
  bottom: 10px;
  right: -10px;
  box-shadow: 2px -9px 4px rgba(0, 69, 134, 0.2);
}

#hero .dropdown::before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-bottom: 10px solid rgba(0, 0, 0, 0.8);
  border-right: 10px solid transparent;
  top: -10px;
  right: 0;
}

#hero .dropdown-menu {
  width: 98%;
  background-color: rgba(0, 0, 0, 0.4);
  border-top-right-radius: 15px;
  border-bottom-left-radius: 15px;
}

#hero .dropdown-toggle::after {
  border: 0;
}

#hero .external-links {
  position: absolute;
  top: 50px;
  left: -10px;
  background-color: rgba(255, 84, 0, 0.9);
  border-radius: 5px 5px 5px 0;
  box-shadow: 2px -9px 4px rgba(0, 69, 134, 0.2);
}

#hero .external-links::after {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-top: 10px solid rgba(0, 0, 0, 0.8);
  border-left: 10px solid transparent;
  bottom: -10px;
  left: 0;
}

/* hero media ==========================================*/
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 992px) {
  #hero {
    margin-bottom: 0;
    height: 100vh;
  }

  #hero .container {
    padding-bottom: 63px;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

@media (max-height: 600px) {
  #hero {
    height: 110vh;
  }
}

/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
#why-us {
  position: relative;
}

.why-us .content {
  padding: 30px;
  background: #1977cc;
  border-radius: 4px;
  color: #fff;
}

.why-us .content h3 {
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .content p {
  margin-bottom: 30px;
}

.why-us .content .more-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px 30px 8px 30px;
  color: #fff;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
}

.why-us .content .more-btn i {
  font-size: 14px;
}

.why-us .content .more-btn:hover {
  color: #1977cc;
  background: #fff;
}

.why-us .icon-boxes .icon-box {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
}

.why-us .icon-boxes .icon-box i {
  font-size: 40px;
  color: #1977cc;
  margin-bottom: 30px;
}

.why-us .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 30px 0;
}

.why-us .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

.why-us a{
  cursor:pointer;
}

.why-us p{
  padding-bottom:1rem;
}

.why-us h5{
  font-weight:bold;
  color:#2b2b2b;
}

.why-us .box-shadow{
  -webkit-box-shadow: 0 1px 1px rgba(72,78,85,.6);
  box-shadow: 0 1px 1px rgba(72,78,85,.6);
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
}

.why-us .box-shadow:hover{
  -webkit-box-shadow: 0 20px 40px rgba(72,78,85,.6);
  box-shadow: 0 20px 40px rgba(72,78,85,.6);
  -webkit-transform: translateY(-15px);
  -moz-transform: translateY(-15px);
  -ms-transform: translateY(-15px);
  -o-transform: translateY(-15px);
  transform: translateY(-15px);
}

.why-us .card{
  border-radius: 25px;

}

.why-us .card img{
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.why-us .card svg{
  position:absolute;
  top:13.5rem;
  -webkit-transition: all .2s ease-out;
  -moz-transition: all .2s ease-out;
  -ms-transition: all .2s ease-out;
  -o-transition: all .2s ease-out;
  transition: all .2s ease-out;
  filter:drop-shadow(2px -9px 4px rgba(0, 69, 134, 0.2));
}
.why-us .card:hover svg{
  filter:drop-shadow(2px -9px 4px rgba(0, 69, 134, 0.4));
}

.why-us i{
  position:absolute;
  top: 13rem;
  left: 2rem;
  color:white;
  background: rgb(238,174,202);
  background: linear-gradient(133deg, rgba(255,255,255,1) 0%, rgba(211,210,231,1) 19%, rgba(11,39,73,1) 100%);
  padding: 1rem;
  border-radius: 100%;
  transition: all .6s ease-in-out;
}

.why-us .card:hover i{
  transform: rotate(-180deg);
}

.why-us i:hover{
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.7) 0px 18px 36px -18px inset;
}