@import url("https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap");

* {
  font-family: "Almarai", sans-serif;
}

a {
  text-decoration: none;
}

nav ul {
  list-style: none;
  margin: 0px;
  padding: 0;
}

nav ul li {
  margin: 0px;
  padding: 0px;
  display: inline;
}

nav ul li a {
  color: #1e1e1e;
  font-size: 1.3em;
}

.hero {
  min-height: 750px;
}

.hero-content {
  text-align: center;
  color: #1e1e1e;
}

.hero-content p {
  font-size: 1.5em;
  color: #062a73;
}

.hero-content h1 {
  font-weight: 400;
  color: #1440aa;
}

.nav-link {
  font-size: 1.1em;
}

/*
Section titles
*/

.section-title h2 a {
  color: #263e7f;
}

.section-title hr {
  width: 5em;
  border-top: 2px solid #292d3f;
  display: block;
  margin-right: auto;
  margin-left: auto;
}

/*News section*/

@media screen and (max-width: 768px) {
  .news-item {
    border-bottom: 1px solid #cacaca;
  }

  .news-item:last-child {
    border: none;
  }
}

.news-item img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-right-radius: 2em;
  border-top-left-radius: 2em;
}

.news-item p {
  font-size: 1.1em;
  text-align: justify;
  color: #5a5a5a;
  margin: 0px;
}

/*Calendar*/

.text-rotate-90 > span {
  position: relative;
  display: block;
  width: 100%;
}

.text-rotate-90 > span > span {
  display: inline-block;
  white-space: nowrap;
  transform: rotate(-90deg);
  position: absolute;
  left: -10px;
  top: -10px;
}

.calendar table {
  border: none;
}

.calendar .td-month {
  background-color: #b9c4fc;
  width: 50px;
  vertical-align: middle;
  font-size: 1.2em;
  border: none;
}

.calendar .td-week-num {
  background-color: #dae0ff;
  width: 50px;
  font-size: 1.2em;
  border: none;
}

.calendar .th-month,
.calendar .th-week {
  background-color: #576175;
  color: #ffffff;
  height: 70px;
  vertical-align: middle;
  border: none;
}

.calendar .th-month {
  border-top-right-radius: 30px;
}

.calendar .th-tile {
  border: none;
  font-size: 1.2em;
  padding-right: 1em;
  padding-top: 1.3em;
  color: #929292;
}

.calendar .td-evens {
  border: 1px solid #e4e4e4;
}

.calendar .calendar-event {
  padding: 5px 10px;
  border-radius: 5px;
  background-color: #2fb7a9;
  color: #ffffff;
  margin: 1px;
  display: inline-block;
  position: relative;
}

.calendar .calendar-event:hover {
  background-color: #165a53;
  color: #ffffff;
}

.calendar .calendar-event:focus {
  position: relative;
  top: 5px;
}

.calendar .tr-second td {
  background-color: #ffffff;
}

@media screen and (max-width: 768px) {
  .calendar .tr-second {
    display: none;
  }

  .calendar table {
    margin: 0px;
  }
}

/*Horses & Stallions*/

.stallion > img,
.horse > img,
.stallion > a > img,
.horse > a > img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  border-radius: 2em;
  border: 1px solid #d2dcff;
}

.stallions h3 {
  font-size: 1.2em;
  font-weight: 400;
  background-color: #576175;
  color: #ffffff;
  padding: 0.6em 0em;
  border-bottom-right-radius: 2em;
  border-bottom-left-radius: 2em;
}

.stallions table {
  background-color: #353949;
  color: #ffffff;
  /* border-bottom-left-radius: 30px; */
  border: none;
}

.stallions table th {
  font-weight: 500;
  font-size: 0.9em;
}

.stallions table td {
  font-weight: 300;
  font-size: 0.9em;
}

/*Footer*/

footer {
  padding-top: 4em;
  background-color: #1b264c;
  color: #ffffff;
}

footer.page-footer {
  background: none;
  background-color: #1b264c;
  min-height: auto;
  padding-top: 3em;
}

footer ul {
  list-style-type: "-";
  font-size: 1.2em;
}

footer ul > li {
  padding-right: 5px;
}

footer ul > li > a {
  color: #ffffff;
}

footer h3 {
  text-decoration: underline;
  margin-bottom: 1em;
}

footer.page-footer h3 {
  position: relative;
  margin-top: auto;
}

footer p {
  font-size: 1.3em;
}

footer p > span {
  font-size: 1.5em;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  footer p {
    text-align: center;
  }

  footer #arab_house {
    width: 50%;
  }
}

/*Inline pages*/

.page-head {
  background-color: #1b264c;
  color: #ffffff;
}

.calendar .calendar-event span.date {
  background-color: #576175;
}

.races .race {
  /* background-color: #576175; */
  /* color: #ffffff; */
  /* min-height: 21em; */
  padding-bottom: 1em;
  /* border-radius: 30px; */
}

.races .race .details {
  background-color: #576175;
  border-radius: 2em;
  padding-bottom: 1em;
  position: relative;
}

.races .race .race-bg {
  /* background-color: #e5e5e5; */
  border-radius: 2em;
  padding-bottom: 1em;
}

.races .race p {
  padding-right: 0.1em;
  padding-left: 0.1em;
  margin: 0;
}

.races .race h4 {
  font-size: 1.1em;
  padding-top: 1em;
}

.swiper_wrapper_links {
  list-style: none;
  margin: 0px;
  padding: 2em 0px;
  text-align: center;
}

.swiper_wrapper_links a,
.calendar_months > a {
  background-color: #a1b6ff;
  color: #1b264c;
  /* box-shadow: 0px 4px 1px #1b264c; */
  border: 3px solid #7997ff;
  display: inline-block;
  padding: 0.5em 1.2em;
  font-size: 1.3em;
  /* border-radius: 0.5em; */
  /* margin: 0px 0.2em; */
  text-align: center;
}

.swiper-slide a {
  color: #000000;
}

.pheader-bg {
  background-image: url("../images/pheader-bg.jpg");
  /* background-color: #1b264c; */
}

.loading {
  height: 100%;
  z-index: 100;
  background-color: #0000008c;
  width: 100%;
  position: absolute;
  display: none;
  background-image: url("../images/spinner.gif");
  background-repeat: no-repeat;
  background-position: center center;
}

.races .race a {
  text-decoration: none;
  color: #ffffff;
  display: block;
  background-color: #3a465e;
  font-size: 1.1em;
  padding: 0.5em 0.1em;
  margin-bottom: 0.5em;
}

.races .race a:hover {
  background-color: #a1b6ff;
  color: #000000;
}

.pagination-bg {
  background-color: #e5e5e5;
}

#pagination a {
  border: 1px solid #ababab;
  padding: 2px 8px;
  margin: 0px 3px;
  display: inline-block;
  background-color: white;
}

#pagination {
  padding-top: 20px;
  text-align: center;
}

/*Service*/

.service > div {
  border: 5px solid #9da7c7;
  background-color: #a1b6ff;
  border-radius: 2em;
  text-align: center;
  padding-bottom: 1em;
}

.service > div .service-logo {
  display: inline-block;
  border: 5px solid #000000;
  padding: 1em;
  border-radius: 50%;
  background-color: #5e76c9;
  color: #ffffff;
  position: relative;
  margin-top: -50%;
  margin-bottom: 0.8em;
}

.service > div .service-title {
  display: block;
}

.service > div h3 {
  font-size: 1.3em;
}

.service > div .service-address {
  display: block;
  font-weight: 400;
  text-decoration: underline;
  font-size: 1.2em;
}

/*Contact*/

.contact .info i {
  font-size: 20px;
  color: #556270;
  width: 44px;
  height: 44px;
  background: #edeff1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.contact-bg img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.horse-view img {
  width: 100%;
  object-fit: cover;
}

.tf-tree i {
  display: block;
  text-align: center;
  font-size: 1.5em;
  /* margin-bottom: 0.2em; */
}

.horse-details th {
  background-color: #f1f1f1;
}

.news-view img {
  width: 100%;
  object-fit: cover;
}

.race-member {
  background-color: #f7f7f7;
  border: 0.2em solid #f3f3f3;
  border-radius: 1.5em;
  padding: 1em;
}

.race-member ul {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

a.member-horse {
  font-size: 1.5em;
  display: block;
  margin: 0.2em 0px;
  color: #1b264c;
}

.member-header {
  /* margin-top: -50%; */
  position: relative;
}

.member-img {
  border-radius: 50%;
  border: 0.2em solid #f5f5f5;
  background-color: white;
  object-fit: cover;
  width: 10em;
  height: 10em;
}

span.member-rank {
  border: 0.2em solid #e7fb8f;
  border-radius: 50%;
  padding: 0.5em 0em;
  font-size: 1.5em;
  background-color: #ebff91;
  width: 3em;
  text-align: center;
  height: 3em;
  position: absolute;
  left: 0px;
  top: -50px;
}

.active {
  border-color: #a5b9ff !important;
  background-color: #456eff !important;
  color: #dde5ff !important;
}

.horse-sons img {
  height: 100px;
  width: 100px;
  background-size: cover;
  border: 0.1em solid #e7e7e7;
}

.no-video {
  background-color: #363636;
  color: #ffffff;
  font-size: 1.5em;
  padding: 135px 30px;
  text-align: center;
}

/*user management*/
.mobile-field .dropdown-toggle,
.mobile-field .dropdown-toggle.btn:first-child:hover,
.mobile-field :not(.btn-check) + .dropdown-toggle.btn:hover {
  background-color: transparent;
  border: none;
}

/*checkmark__circle*/

.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__circle.green {
    stroke: #7ac142;
}

.checkmark__circle.red {
    stroke: #c14242;
}

.checkmark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #fff;
  stroke-miterlimit: 10;
  margin: 0 auto;
}

.checkmark.red {
    box-shadow: inset 0px 0px 0px #c14242;
    animation: redCheck 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}

.checkmark.green {
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: greenCheck 0.4s ease-in-out 0.4s forwards,
    scale 0.3s ease-in-out 0.9s both;
}

.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}
@keyframes scale {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}
@keyframes redCheck {
  100% {
    box-shadow: inset 0px 0px 0px 30px #c14242;
  }
}

@keyframes greenCheck {
  100% {
    box-shadow: inset 0px 0px 0px 30px #7ac142;
  }
}

/*Subscription promo*/

ul#subscription_plans {
  margin: 0px;
  padding: 0px;
  list-style: none;
}

ul#subscription_plans li {
  border: 1px solid #c9d4fa;
  background-color: #d5e1ff4d;
  box-shadow: 0 3px 2px #eee;
}

@media (max-width: 575.98px) {
  #subscription_plans li {
    width: 100%;
    margin-bottom: 1em;
  }
}

@media (min-width: 576px) {
  #subscription_plans li {
    width: 50%;
    margin-bottom: 1em;
  }
}