/*
 * abs-shared.css — Appi Bee Services shared stylesheet
 *
 * Loaded by every page alongside its page-specific stylesheet:
 *   index.html / privacy.html  → abs-shared.css + main.css
 *   hshq.html  / tips.html     → abs-shared.css + main2.css
 *
 * Contains rules that were previously duplicated identically across
 * main.css and main2.css (56 selectors), plus modal CSS that was
 * previously duplicated as inline <style> blocks in every HTML page.
 *
 * DO NOT duplicate rules from this file into main.css or main2.css.
 * Page-specific overrides belong in main.css or main2.css.
 */


/*************************
 * Typography
 *************************/

body {
  font-family: 'Quicksand', sans-serif;
  font-size: 14px;
  color: #3465A4;
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  color: #333;
}

a {
  text-decoration: none;
  -webkit-transition: 300ms;
  -moz-transition: 300ms;
  -o-transition: 300ms;
  transition: 300ms;
}

a:focus,
a:hover {
  text-decoration: none;
  outline: none;
}

section {
  padding: 90px 0;
}

.heading {
  padding-bottom: 90px;
}

.parallax {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

.parallax,
.parallax h1,
.parallax h2,
.parallax h3,
.parallax h4,
.parallax h5,
.parallax h6 {
  color: #fff;
}

.parallax input[type="text"],
.parallax input[type="text"]:hover,
.parallax input[type="email"],
.parallax input[type="email"]:hover,
.parallax input[type="url"],
.parallax input[type="url"]:hover,
.parallax input[type="password"],
.parallax input[type="password"]:hover,
.parallax textarea,
.parallax textarea:hover {
  font-weight: 300;
  color: #fff;
}


/*************************
 * Buttons
 *************************/

.btn {
  border: 0;
  border-radius: 0;
}

.btn.btn-primary:hover {
  background-color: #017fb5;
}

.btn-submit {
  display: block;
  padding: 12px;
  width: 100%;
  color: #fff;
  border: 0;
  margin-top: 40px;
}


/*************************
 * Preloader
 *************************/

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999999;
  background: #fff;
}

.preloader > i {
  position: absolute;
  font-size: 36px;
  line-height: 36px;
  top: 50%;
  left: 50%;
  height: 36px;
  width: 36px;
  margin-top: -15px;
  margin-left: -15px;
  display: inline-block;
}


/*************************
 * Navigation
 *************************/

.navbar-nav li a:hover,
.navbar-nav li a:focus {
  outline: none;
  outline-offset: 0;
  text-decoration: none;
  background: transparent;
}

.navbar-right li a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand h1 {
  margin-top: 5px;
}


/*************************
 * Carousel (shared)
 *************************/

.caption .btn-start {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 40px;
  border: 1px solid #6e6d6c;
  border-radius: 4px;
}

.caption .btn-start:hover {
  color: #fff;
}

.carousel-fade .carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  transition-property: opacity;
  background-repeat: no-repeat;
  background-size: cover;
  height: 500px;
}

.carousel-fade .carousel-inner .item:after {
  content: " ";
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0);
}

.carousel-fade .carousel-inner .active {
  opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
  opacity: 1;
}

.carousel-fade .carousel-control {
  z-index: 2;
}

.left-control,
.right-control {
  position: absolute;
  top: 50%;
  height: 51px;
  width: 51px;
  line-height: 48px;
  border-radius: 50%;
  border: 1px solid #fff;
  z-index: 20;
  font-size: 24px;
  color: #fff;
  text-align: center;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.left-control {
  left: 30px;
}

.right-control {
  right: 30px;
}

.left-control:hover,
.right-control:hover {
  color: #fff;
}

.post-thumb {
  position: relative;
}


/*************************
 * Services
 *************************/

.service-icon {
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  font-size: 36px;
  height: 90px;
  line-height: 90px;
  width: 90px;
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}

.our-services .col-sm-4:hover .service-icon {
  background-color: #333;
}

.our-services .col-sm-4 {
  border-right: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 50px;
}

.our-services .col-sm-4:nth-child(4),
.our-services .col-sm-4:nth-child(5),
.our-services .col-sm-4:nth-child(6) {
  border-bottom: 0;
  padding-top: 60px;
}

.our-services .col-sm-4:nth-child(3),
.our-services .col-sm-4:nth-child(6) {
  border-right: 0;
}

.service-info h3 {
  margin-top: 35px;
}


/*************************
 * Progress bars (about)
 *************************/

.progress {
  height: 20px;
  background-color: #fff;
  border-radius: 0;
  box-shadow: none;
  -webkit-box-shadow: none;
  margin-bottom: 25px;
}

.progress-bar {
  box-shadow: none;
  -webkit-box-shadow: none;
  text-align: right;
  padding-right: 12px;
  font-size: 12px;
  font-weight: 600;
}

.progress .progress-bar.six-sec-ease-in-out {
  -webkit-transition: width 2s ease-in-out;
  transition: width 2s ease-in-out;
}


/*************************
 * Contact
 *************************/

#google-map {
  height: 350px;
}

#contact-us {
  background-image: url(../images/contact-bg.jpg);
  padding-bottom: 90px;
}

#contact-us .heading {
  padding-top: 95px;
}

.form-control {
  background-color: transparent;
  border-color: rgba(255, 255, 255, .1);
  height: 50px;
  border-radius: 0;
  box-shadow: none;
}

textarea.form-control {
  min-height: 180px;
  resize: none;
}

.form-group {
  margin-bottom: 30px;
}

.contact-info {
  padding-left: 70px;
  font-weight: 300;
}

ul.address {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info ul li {
  margin-bottom: 8px;
}

.contact-info ul li a {
  color: #fff;
}


/*************************
 * Footer
 *************************/

#footer {
  color: #fff;
}

.footer-top {
  position: relative;
  padding: 30px 0;
}

#footer .footer-bottom {
  background-color: #fff;
  padding: 20px 0 10px;
}

#footer .footer-bottom a:hover {
  text-decoration: underline;
}

#footer .social-icons ul li a.envelope:hover {
  background-color: #CECB26;
}


/*************************
 * Privacy & Legal Modals
 *
 * Previously duplicated as an inline <style> block in every HTML
 * page. Centralised here so a single edit propagates everywhere.
 *************************/

.modal-body p   { line-height: 1.6; margin-bottom: 0.7em; }
.modal-body h4  { margin-top: 0; }
.modal-body h5  { margin-top: 1.2em; margin-bottom: 0.4em; color: #333; }
.modal-body hr  { border-color: #ddd; margin: 1.2em 0; }
.modal-body ul  { padding-left: 1.5em; }
.modal-body ul li { margin-bottom: 0.3em; }

@media (max-width: 767px) {
  .modal-dialog { margin: 10px; }
  .modal-body   { max-height: 75vh !important; }
}
