#tip-res,
.overly-2 {
  top: 195px;
}
.card,
.subnav {
  overflow: hidden;
}

.subnav,
h1,
h2,
h3,
h4,
h5 {
  font-family: "trebuchet ms", arial !important;
}
.login-section a,
.subnav a,
a {
  text-decoration: none;
}
.btn-qiran,
.subnav-text {
  font-size: 16px;
}
#footer,
#index .online {
  margin: unset !important;
}
#footer,
.btn-qirannew,
.popupmessage {
  text-align: center;
}
.loginuser a,
.sfr2,
h3 {
  color: #952623;
}
.btn-qirannew,
.container-fluid label,
.login-section,
.quicksearch h4,
.subnav,
a,
a:hover {
  color: #fff;
}
p {
  font-size: 12px;
}
ul {
  list-style: none;
}
.btn-qirannew {
  background-color: #952623;
  display: inline-block;
  font-weight: 400;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.bg-img {
  background-image: url("../images/qiran_main_slider.jpg");
  min-height: 450px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
}
.card {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.card img {
  width: 350px;
  height: 350px;
  border: 12px solid #fff;
  border-radius: 10px;
}
.container-fluid {
  position: relative !important;
}
.overly {
    position: relative;
    bottom: 56px;
    left: 15px;
    max-width: 100%;
}
.overly-2 {
  position: absolute;
  bottom: 0;
  left: 30px;
  max-width: 97.5%;
}
.login-section {
  background-color: rgba(149, 38, 35, 0.7);
  border-radius: 20px;
  max-height: 290px;
  width: 340px;
}
.login-section a {
  color: #fff;
}
.btn-qiran {
  font-weight: 600;
  transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 8px 14px 7px;
  background-color: #555;
  border: none !important;
  border-radius: 15px !important;
}
.match-section,
.quicksearch {
  background-color: #952623;
  padding: 0 30px;
}
#footer a,
#footer p a,
.leading-section p,
.loginuser p {
  color: #000 !important;
}
.quicksearch {
  border: 1px solid #952623;
  border-radius: 0 25px 25px 0;
  height: 315px;
}
.match-section {
  border: 1px solid #952623;
  border-radius: 0 25px 25px 0;
  height: 264px;
  z-index: 20;
}
.anothermatch,
.leading-section,
.loginuser {
  padding: 0 0 0 30px;
  background-color: #fff;
}
.match-section h4,
.safest-section h4,
p {
  color: #fff !important;
}
.tips-section p {
  color: #000 !important;
  font-size: 12px;
}
.loginuser {
  border: 1px solid #fff;
  border-radius: 25px 0 0 25px;
  height: 315px;
  line-height: 1;
}
.anothermatch {
  border: 1px solid #fff;
  border-radius: 25px 0 0 25px;
  height: 264px;
  z-index: 20;
}
.leading-section {
  border: 1px solid #fff;
  border-radius: 25px 0 0 25px;
  height: 273px;
}
.safest-section {
  background-color: #952623;
  border: 1px solid #952623;
  border-radius: 0 25px 25px 0;
  height: 273px;
  padding: 0 30px;
}
.jumbotron p {
  font-size: 13px !important;
}
.loginuser ul {
  display: flex;
  flex-wrap: wrap;
}
.loginuser ul li a img {
  border-radius: 80px;
  height: 60px;
  width: 60px;
}
.form-control {
  margin: 0;
}
.ul-list ul li {
  margin: 3px 30px;
  list-style-image: url(/images/tick.svg);
  line-height: 0.5;
}
.tips-section {
  padding: 4px 4px 20px;
  background-color: #ebf8f8;
  margin-top: 110px;
}
.overly-2 img {
  border: 5px solid #fff;
  border-radius: 10px;
}
.detail-section {
  position: absolute;
  bottom: 0;
  left: 30px;
  top: 175px;
  max-width: 97.5%;
}
.moretext,
.moretext1,
.moretext2 {
  display: none;
}
#index .online {
  width: unset !important;
}
@media only screen and (max-width: 991px) {
  .overly {
    position: relative;
    left: 20px;
  }
  .card {
    max-width: 100%;
  }
  .col-md-4 {
    width: 33%;
  }
  #tip-res {
    top: 420px;
  }
  .login-section {
    width: 50%;
    margin-left: 10px;
  }
  .detail-section {
    max-width: 96.2%;
    top: 400px;
  }
  .bg-img {
    height: 350px !important;
    min-height: 0;
  }
  .overly-2 {
    max-width: 96.2%;
    top: 215px;
  }
  .quicksearch {
    line-height: 0;
    height: 250px;
  }
  .loginuser {
    line-height: 1;
    height: 250px;
  }
  p {
    margin: 0;
  }
  .match-section img {
    max-height: 170px;
  }
  .detail-section p {
    font-size: 10px;
    font-weight: 500;
    width: 100%;
  }
  .tips-section {
    margin-top: 147px;
  }
}
.leading-section a {
  color: unset;
}
@media (max-width: 1197px) {
  .card img {
    width: 200px;
    height: 200px;
  }
}
.subnav {
  background-color: rgba(135, 50, 40, 0.8);
  border-radius: 4px;
  width: 100%;
  font-weight: 600;
}
.subnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  padding: 0 16px;
}
.subnav-icon {
  height: 48px;
  width: 48px;
  margin-right: 8px;
}
.subnav a:hover {
  background-color: #ddd;
  color: #000;
}
.popupmessage {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #fff;
  color: #873228;
  font-size: 11px;
  line-height: 20px;
  margin-bottom: 15px !important;
}
#footer {
  background: url(/images/footer_bg.png) top left repeat-x;
  border: 1px solid #ccc;
  clear: both;
  color: #333;
  height: unset !important;
  padding-top: 10px;
}
#index #footer {
  position: absolute;
  top: 446px;
}
.footer_copy {
  font-size: 10px !important;
  color: #999 !important;
  width: 100% !important;
  margin-top: 10px !important;
  line-height: 1.5em !important;
  text-align: center !important;
}
@media (max-width: 991px) {
  .quicksearch {
    height: 392px;
  }
  #index #footer {
    position: absolute;
    top: 805px;
  }
  .leading-section,
  .safest-section {
    height: 400px;
  }
}
@media only screen and (max-width: 1197px) and (min-width: 992px) {
  .detail-section,
  .overly,
  .overly-2 {
    max-width: 100%;
  }
  .overly-2 {
    top: 215px;
  }
  .loginuser,
  .quicksearch {
    line-height: 1;
  }
  p {
    margin: 0;
  }
  .detail-section p {
    font-size: 10px;
    font-weight: 500;
  }
  .tips-section {
    background-color: #ebf8f8;
    margin-top: 168px !important;
  }
  .anothermatch,
  .match-section {
    height: 345px;
  }
  .row.overly-2 {
    margin-top: 16px !important;
  }
  .leading-section,
  .safest-section {
    height: 395px;
  }
  #index #footer {
    top: 574px;
  }
}
@media only screen and (max-width: 1399px) and (min-width: 1198px) {
  .loginuser,
  .quicksearch {
    line-height: 1;
  }
  p {
    margin: 0;
  }
  .anothermatch,
  .leading-section,
  .match-section {
    height: 263px;
  }
  .safest-section {
    height: 305px;
  }
  #index #footer {
    top: 482px;
  }
}

.row.overly-2 {
  margin-top: 40px;
}
body {
  font-family: Raleway, sans-serif;
}
body p {
  font-size: 14px !important;
}
