/* ==================================================================
   DP Hosting Full parent theme overrides
   ================================================================== */

body {
  background: #ffffff;
}

#main-body {
  padding: 35px 0 50px;
}

#homepage-content {
  width: 100%;
}

#topbar .nav {
  margin-right: 20px;
}

#topbar .nav a,
#topbar .nav,
#topbar .social a {
  color: #fff;
}

#menu .navbar {
  margin-bottom: 0;
}

#menu .navbar-brand {
  min-width: 180px;
}

#menu .navbar-nav > li > a {
  font-weight: 600;
}

/* Logo: original file is 1280x242, so it must be scaled to fit */
#menu #mainlogo {
  display: block;
  width: 190px;
  height: 40px;
  background: url('../legacy/img/logo.png') no-repeat left center !important;
  background-size: contain !important;
}

#footer .nav > li > a {
  padding-left: 0;
  padding-right: 0;
}

#copyright p {
  margin-bottom: 0;
}

.homepage-whmcs-note {
  background: #f8fbff;
  border: 1px solid #d7e9ff;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 25px auto 0;
}

.homepage-whmcs-note strong {
  color: #0f4c81;
}

.client-home-panels .panel {
  border-radius: 10px;
}

.page-header,
.breadcrumb {
  margin-top: 0;
}

/* ------------------------------------------------------------------
   Layout fixes: stop images widening the page and repair the footer
   ------------------------------------------------------------------ */

img {
  max-width: 100%;
}

#footer .slogan,
#copyright .slogan {
  text-align: center;
  margin: 0 0 15px;
}

#footer .slogan img,
#copyright .slogan img {
  width: 300px !important;
  max-width: 100%;
  height: auto;
}

#footer ul,
#footer ul.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer ul.nav > li,
#footer ul > li {
  list-style: none;
  float: none;
}

#footer ul > li > a {
  display: block;
  padding: 5px 0;
  line-height: 1.5;
}

.tool-box img {
  width: 64px !important;
  max-width: 64px;
  height: auto;
  margin-bottom: 15px;
}

#productfeature img {
  max-width: 100%;
  height: auto;
}

#hosting-plans img {
  max-width: 90px;
  height: auto;
}

/* Footer colours: WHMCS base CSS was overwriting the theme's dark footer,
   leaving white text on a near-white background */
#footer {
  background: #020147 !important;
  border-top: 1px solid #fa527c;
  border-bottom: 1px solid #fa527c;
  padding-top: 10px;
}

#footer h4 {
  color: #ffffff;
}

#copyright {
  background: #01002e !important;
  color: #ffffff;
}

#copyright p,
#copyright a {
  color: #ffffff;
}

#footer ul li a i.fa {
  display: none;
}

#footer ul li a:before {
  content: "\f105";
  font-family: FontAwesome;
  margin-right: 8px;
  color: #fa527c;
}

/* ------------------------------------------------------------------
   Header: both bars are position:fixed, so they need explicit top
   values and the body needs an offset, otherwise they overlap the
   page content (and each other).
   ------------------------------------------------------------------ */

#topbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  right: 0;
}

#menu {
  position: fixed !important;
  top: 35px !important;
  left: 0;
  right: 0;
}

body {
  padding-top: 103px;
}

/* Mobile menu toggle: was pink with pink bars (invisible icon) */
#menu .navbar-toggle {
  background-color: transparent !important;
  border: 1px solid #fa527c;
}

#menu .navbar-toggle .icon-bar {
  background-color: #ffffff !important;
}

/* ------------------------------------------------------------------
   Header polish
   ------------------------------------------------------------------ */

/* Keep the top bar on a single line (it was wrapping into the menu) */
#topbar {
  overflow: hidden;
}

#topbar .nav {
  white-space: nowrap;
}

/* The slider already sits below the fixed header via the body offset,
   so its legacy 100px header compensation must go. */
#imageslider {
  padding-top: 0 !important;
}

@media (max-width: 991px) {
  /* hide the email address on narrow screens */
  #topbar .pull-left.nav:nth-child(3) {
    display: none;
  }
}

@media (max-width: 767px) {
  /* hide the phone number too */
  #topbar .pull-left.nav:nth-child(2) {
    display: none;
  }
}

/* ------------------------------------------------------------------
   Small screens
   ------------------------------------------------------------------ */

@media (max-width: 767px) {
  #topbar .social {
    text-align: left;
    margin-top: 10px;
  }

  #menu .navbar-brand {
    margin-left: 15px;
  }

  #menu #mainlogo {
    width: 140px;
    height: 32px;
  }

  body {
    padding-top: 98px;
  }
}
