/*
	Theme Name:   Zerif Lite Child
	Description:  Zerif Lite Child Theme
	Author:       Coffeemug Team
	Author URI:   http://coffeemugvn.com/
	Template:     zerif-lite
	Version:      1.0.0
 	License:      GNU General Public License v2 or later
	License URI:  http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain:  zerif-lite
*/
/*
 * Override general style
 */
/* Background */
body.custom-background {
  background-size: cover !important;
}

.image-fullwidth {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 0 20px 0;
}

.header-content-wrap {
  position: relative;
}
.header-content-wrap:before {
  content: " ";
  width: 50px;
  height: 28px;
  background: url(images/arrow.png) no-repeat bottom center;
  position: absolute;
  bottom: 50px;
  left: 0px;
  right: 0px;
  margin: auto auto;
}
.header-content-wrap:after {
  content: "SCROLL DOWN";
  position: absolute;
  bottom: 90px;
  left: 0px;
  right: 0px;
  text-align: center;
  color: #fff;
  letter-spacing: 1px;
  font-weight: bold;
}

/* Nav bar */
.navbar {
  background: #555;
  /* Override top panel */
}

.navbar-inverse .navbar-nav > li > a {
  color: #ddd;
}
.navbar-inverse .navbar-nav > li > a:hover {
  color: #00aeef;
}
.navbar-inverse .navbar-nav > li.home > a {
  background-color: #fff;
  color: #555;
  width: 35px;
  text-align: center;
  font-size: 20px;
}
.navbar-inverse .navbar-nav > li.home > a .fa {
  position: relative;
  top: -2px;
}
.navbar-inverse .navbar-nav > li.home > a:hover {
  color: #00aeef;
}
.navbar-inverse .navbar-nav > li.current > a {
  color: #fff;
}
.navbar-inverse .navbar-nav > li.current > a:hover, .navbar-inverse .navbar-nav > li.current > a:focus, .navbar-inverse .navbar-nav > li.current > a:active, .navbar-inverse .navbar-nav > li.current > a:visited {
  color: #fff;
}
.navbar-inverse .navbar-nav > li.current > a:before {
  background-color: #00aeef !important;
}

ul.nav > li.current_page_item > a:before {
  background-color: #00aeef !important;
}

/* Apply Blue Colors */
a {
  color: #00aeef;
}
a:visited, a:focus, a:active {
  color: #00aeef;
}

.nav-links a, .entry-title a:hover, .entry-footer a:hover, .company-details a:hover, .social li a:hover {
  color: #00aeef;
}

a:hover {
  color: #3276b1;
}

.testimonial {
  background-color: #00aeef;
}

#carousel-homepage-latestnews .item .latestnews-box .latestnews-title a:before, .entry-title:before, .widget .widget-title:before, .listpost-content-wrap .entry-title a:after, .custom-button, .comment-form #submit, input[type=submit] {
  background-color: #00aeef !important;
}

.custom-button:hover, .comment-form #submit:hover {
  background-color: #3276b1 !important;
}

/* Style testimonials */
#carousel-homepage-testimonial .carousel-control {
  width: 45px;
  background: none;
}

#client-feedbacks .feedback-box {
  width: 100%;
  margin: 0;
  float: none;
}

#carousel-homepage-testimonial .col-sm-4 {
  padding: 13px;
}
#carousel-homepage-testimonial .item {
  height: auto;
}

/* style for staff */
#carousel-homepage-our-team .item {
  height: auto;
}

/* Style for Videos and testimonials and staff */
.videos-section {
  background: #f9f9f9;
  padding-top: 66px;
}

#carousel-homepage-videos .carousel-control, #carousel-homepage-our-team .carousel-control {
  width: 45px;
  background: none;
}

#carousel-homepage-videos .glyphicon-chevron-left:before, #carousel-homepage-testimonial .glyphicon-chevron-left:before, #carousel-homepage-our-team .glyphicon-chevron-left:before {
  content: "";
  background: url(images/left-arrow.png) no-repeat center center;
  width: 30px;
  height: 30px;
  float: left;
  background-size: cover;
}

#carousel-homepage-videos .glyphicon-chevron-right:before, #carousel-homepage-testimonial .glyphicon-chevron-right:before, #carousel-homepage-our-team .glyphicon-chevron-right:before {
  content: "";
  background: url(images/right-arrow.png) no-repeat center center;
  width: 30px;
  height: 30px;
  float: left;
  background-size: cover;
}

#carousel-homepage-videos .carousel-control .glyphicon-chevron-right, #carousel-homepage-testimonial .carousel-control .glyphicon-chevron-right, #carousel-homepage-our-team .carousel-control .glyphicon-chevron-right {
  margin-left: 0;
  margin-right: -15px;
}

#carousel-homepage-videos .carousel-inner .item .video-title {
  margin-bottom: 15px;
  color: #404040;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 17px;
  float: none;
  width: auto;
  margin-top: 15px;
}
#carousel-homepage-videos .carousel-inner .item .video-title a {
  text-transform: uppercase;
  color: #404040;
  font-weight: 700;
  display: block;
}
#carousel-homepage-videos .item {
  height: auto;
}
#carousel-homepage-videos .video-img {
  background-color: #f9f9f9;
}
#carousel-homepage-videos .item .video-box .video-title a:before {
  position: absolute;
  margin: auto;
  z-index: 1;
  content: "";
  width: 75%;
  height: 2px;
  background: #00aeef;
  bottom: -9px;
  left: 12.5%;
}

.video-content {
  font-size: 14px;
  line-height: 18px;
  color: #909090;
}

/* Footer */
#footer .company-details {
  line-height: 1.5;
  font-size: 15px;
}

.footer-contact-icon {
  margin-bottom: 20px;
}
.footer-contact-icon i {
  font-size: 32px;
  color: #00aeef;
}

#footer .copyright {
  color: #999;
}
#footer .social li {
  margin: 0 10px;
}
#footer .social i {
  font-size: 32px;
}

/*
 * WIKI
 */
div#user-submitted-posts fieldset {
  margin-bottom: 25px;
}
div#user-submitted-posts fieldset label {
  display: block;
  float: none;
  margin: 0 0 10px 0;
}
div#user-submitted-posts fieldset input.usp-input {
  float: none;
  padding: 10px;
  font-size: 14px;
  width: 100%;
  max-width: 350px;
  border: 1px solid #ccc;
}
div#user-submitted-posts select {
  float: none;
  padding: 10px;
  font-size: 14px;
  width: 100%;
  max-width: 350px;
  border: 1px solid #ccc;
}

.usp-images label {
  font-weight: bold;
  margin: 10px 0 5px 0;
}

#usp-upload-message {
  margin-bottom: 7px;
}

#usp-submit #user-submitted-post {
  padding: 13px 35px;
  margin: 0;
}

#mceu_33 {
  border: 1px solid #eee !important;
  border-width: 0 1px !important;
}

.parsley-errors-list {
  margin: 3px 0 8px 0;
  background: #fff;
  color: #c33;
}

.copyright {
  float: right;
}

/*
 * Responsive
 */
@media (max-width: 767px) {
  .navbar-inverse .navbar-nav {
    position: relative;
    padding-top: 55px;
  }
  .navbar-inverse .navbar-nav > li.home {
    padding: 10px 0;
    position: absolute;
    top: 0px;
    left: 0px;
  }

  #carousel-homepage-testimonial {
    padding-left: 30px;
    padding-right: 30px;
  }
  #carousel-homepage-testimonial .carousel-control.right {
    margin-right: -13px;
  }
  #carousel-homepage-testimonial .carousel-control.left {
    margin-left: -33px;
  }

  #carousel-homepage-our-team {
    padding-left: 30px;
    padding-right: 30px;
  }
  #carousel-homepage-our-team .carousel-control.right {
    margin-right: 0px;
  }
  #carousel-homepage-our-team .carousel-control.left {
    margin-left: 0px;
  }
  #carousel-homepage-our-team .carousel-control .glyphicon-chevron-left {
    margin-left: -12px;
  }
}
.single .byline {
  display: inline-block !important;
  padding-left: 5px;
}

/*
 * Enquiry button
 */
#enquiry {
  background: #f6f6f6;
  padding: 1.5em;
  margin-bottom: 1.5em;
  clear: both;
}
#enquiry p {
  margin-bottom: 10px;
}
#enquiry p:last-child {
  margin-bottom: 0;
}