/*!
Theme Name: Shanghai MerlinCRM 2019
Theme URI: https://www.merlincrm.com/
Author: MerlinCRM
Author URI: https://www.merlincrm.com/
Description: Shanghai MerlinCRM 2019 WordPress theme by MerlinCRM.
Version: 1.0.0
Text Domain: smc
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

::selection {
  color: white;
  background-color: #ff3115;
}
::-moz-selection {
  color: white;
  background-color: #ff3115;
}
body {
  background-color: #fafbfc;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1.75rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1rem;
}
.embed-responsive {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.navbar {
  background-color: transparent;
}
.top-nav-collapse {
  background-color: #0d47a1;
}
.navbar-brand {
  margin-right: 6rem;
}
.brand-logo {
  max-height: 36px;
}
#navbar-primary ul li {
  margin-left: 8px;
  margin-right: 8px;
}
footer.page-footer ul li {
  margin-bottom: 1rem;
}
footer.page-footer hr {
  border-top: 1px solid #2e3951;
}
footer.page-footer .powered-by {
  color: #f9a134;
}
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 76px;
  right: 30px;
  cursor: pointer;
  z-index: 1000;
}
#scrollToTop .d-flex {
  width: 40px;
  height: 40px;
  color: white;
  background-color: #ff3115;
}

@media (max-width: 767.98px) {
  .navbar {
    background-color: #0d47a1;
  }
}

@media (max-width: 599.98px) {
  .smc-navbar-blank {
    height: 62px;
  }
}
@media (min-width: 600px) and (max-width: 767.98px) {
  .smc-navbar-blank {
    height: 70px;
  }
}

.smc-banner {
  height: 320px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.smc-banner h1 {
  text-align: center;
  font-weight: 500;
  color: white;
  z-index: 100;
}
.smc-slogan {
  height: 360px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.smc-hr-1 {
  width: 96px;
  height: 3px;
}
.smc-text-indent-2 {
  text-indent: 2em;
}
.smc-icon-area .circle-icon {
  display: block;
  display: inline-block;
  font-size: 36px;
  padding-bottom: 24px;
}
.smc-icon-area .circle-icon i {
  width: 90px;
  height: 90px;
  color: #fff;
  background-color: #f44336;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  box-shadow: 0 1px 10px rgba(0, 0, 0, .46);
}
.smc-icon-area .circle-icon i:hover {
  background-color: #c62828;
}
.smc-card-page h4 {
  font-size: 1.25rem;
  line-height: 1.2;
  height: 3rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.smc-card-page .smc-excerpt {
  font-size: 1rem;
  line-height: 1.5;
  height: 4.5rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.smc-pagination .screen-reader-text {
  display: none;
}
.smc-pagination .nav-links {
  width: 100%;
  text-align: center;
}
.smc-pagination .page-numbers {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
