/*

Theme Name: Long Haul Trucking X &ndash; Child Theme
Theme URI: http://theme.co/x/
Author: B2
Author URI: http://bsquared-tech.com/
Description: Long Haul Trucking Theme
Version: 1.0.0
Template: x

*/

.lht-phone::before {
  font-family: 'fontawesome';
  content: '\f095';
  font-style:normal;
  margin-right:2px;
}
.lht-bullhorn::before {
  font-family: 'fontawesome';
  content: '\f0a1';
  font-style:normal;
  margin-right:2px;
}
.x-navbar .desktop .x-nav > li > a:hover, .x-navbar .desktop .x-nav > .x-active > a, .x-navbar .desktop .x-nav > .current-menu-item > a {
  box-shadow: none !important;
  border-bottom:4px solid #272A33;
  /* border-bottom:4px solid #e86d03*/
  height:65px;
}

.x-topbar {
/*  background: url('/wp-content/uploads/2015/06/dark_Tire.png');
  background-repeat:repeat; */
  background-color: #272A33;
  top:0px;
}

body .x-topbar .p-info a:hover {
  color:#fbfbfb;
}
body .x-btn.x-btn-real {
  box-shadow: 0 0.25em 0 0 #272a33, 0 4px 9px rgba(0,0,0,0.75);
}

.x-topbar .p-info a {
  color:#ffffff;
  font-size:11px;
  text-decoration:none;
  border-bottom:none;
  margin-right:5px;
}
.x-topbar .p-info {
  float:right;
  margin-top:16px;
}

.single .p-meta span:first-child {
  display:none;
}

.quote-page-form .formberry-form-wrapper {
  padding:30px;

}

.quote-page-form .formberry-form-wrapper legend {
  display:none;
}

.sponsor-logos a.x-img img {
}

.sponsor-logos a.x-img img:hover {
  opacity:1.0 !important;

}
.sponsor-logos a.x-img:hover {
  opacity:1.0 !important;
  }
#tl_twitter-2 .h-widget {
  display:none;
}
#twitter-widget-0 {
  width:100% !important;
}
.x-topbar .x-social-global a, .x-topbar .p-info {
  color: #7f7e7e;
  opacity:0.65
}

.x-topbar .x-social-global a:hover {
  color:#fbfbfb;
  /* color:#e86d03; */
}

.x-topbar a:hover {
  color:#fbfbfb;
}

.white-text {
  color:#fff !important;
}

#nav_menu-3 {
  width:49%;
  float:right;
  margin-top:0em;
}

/* Rotating tweets styles */
.rotatingtweets {
  height:500px;
  width:100%;
}

.rtw_media img {
  width:100%;
  height:auto;
  max-height:100%;
}

.page-header-bg {
  background-position: 50% 100px !important;
  height: 200px;
  background-size: 100% !important;
}

.longhaul-page-title {
  background-color:rgbay(116,140,204,80);
}

/* Setup mobile background header styles... */



.nav-label, .nav-label:hover, .nav-label > a:hover, .nav-label > a {
  cursor: default;
}

.tparrows.preview3 {
  background: rgb(200, 54, 54); /* The Fallback */
  background: rgba(200, 54, 54, 0.5) !important;
}

footer .widget {
  text-align:center;
  background-color:transparent;
  letter-spacing:1px;
  padding-bottom:30px;
  text-transform:uppercase;
}

footer .widget a {
  color:#7f7e7e;
}

footer .widget h3 {
  margin-top:0.5em;

}
body .lht-title-bg {
  background-position:50% -190px;
  /* background-position:50% -190px !important; */
}
.longhaul-page-title {
  box-shadow: 0 0 10px #000000 inset;
  margin: 0px 0px 0px 0px; padding: 0% 0px 0% 0px;

  background-color:rgba(116,140,204,75%);i

  background-size:cover;
}

.html5gallery-tn-title-1 {
  display:none !important;
}
.footer-shadow {
  box-shadow: 0 4px 2px -2px #000;
}
.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1) !important; }

.longhaul-page-head span {
/*  background:rgba(0,0,0,0.7); */
  background-image:url(images/title-bg-short.png);
  background-repeat:no-repeat;
  background-position:top right;
  background-size:cover;
  margin-top:0px;
  overflow:visible;
  padding:20px 150px 20px 45px;
  display:inline-block;

}


.page-id-33 .ilightbox-container iframe {
    background: linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,0.5));
    margin: 2% 25%;
    min-height:600px;
    width: 850px;
    border: 10px solid #000000;
    box-shadow: 0 0 15px 2px rgba(0,0,0,1.0);
}

#lean_overlay {
    position: fixed;
    z-index:100;
    top: 0px;
    left: 0px;
    height:100%;
    width:100%;
    background: #000;
    display: none;
}
.quote-button {
  cursor:pointer;
  }
#quickquote {
/*  display:none; */
  position:absolute !important;
  top:200px !important;
}

#simplemodal-container a.modalCloseImg {
	background:url(/images/x.png) no-repeat; /* adjust url as required */
	width:25px;
	height:29px;
	display:inline;
	z-index:3200;
	position:absolute;
	top:-15px;
	right:-18px;
	cursor:pointer;
}

#signup-header {
    background: #272a33;
    padding: 18px 18px 14px 18px;
    border-bottom: 1px solid #666;
    border-top-left-radius: 5px;
    -moz-border-radius-topleft: 5px;
    -webkit-border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-top-right-radius: 5px;
}

.signup-header h3 {
  margin-top:0px;
}

.modal_close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: block;
    width: 25px;
    height: 24px;
    /*background: url(images/modal_close.png);*/
    background:transparent;
    background-image:url(images/x.png);
    z-index: 2;
}
.quick-quote-popup {
  background:#010101;
}
#quickquote {
    max-width: 404px;
    width:100%;
    padding-bottom: 2px;
    display: none;
    background: #EC5E20;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    box-shadow: 0px 0px 4px rgba(0,0,0,0.7);
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 0px 4px rgba(0,0,0,0.7);
}

body.page-id-246 {
  background-color:transparent;
  width:100%;
  max-width:600px;
  margin:0px auto;
}

body.page-id-2047 {
  width:100%;
  background-color:transparent;
  max-width:600px;
  margin:0px auto;
}

#quickquote .quote-form-holder, .quote-form-holder {
  background-color:#fbfbfb;
  padding:30px;
  color:#272a33;
  font-size:16px;
  font-weight:bold;
}

.quote-form-holder ::-webkit-input-placeholder {
   color: #aaa;
}

.quote-form-holder :-moz-placeholder { /* Firefox 18- */
   color: #aaa;
}

.quote-form-holder ::-moz-placeholder {  /* Firefox 19+ */
   color: #aaa;
}

.quote-form-holder :-ms-input-placeholder {
   color: #aaa;
}

#quickquote .quote-form-holder input, #quickquote select, #quickquote textarea, .quote-form-holder input, .quote-form-holder select, .quote-form-holder textarea {
  border:1px solid #98999b;
  background-color:#c9cace;
  color:#dedede;
}
.text-uppercase {
  text-transform:uppercase;
}

footer.x-colophon {
  background-color:#fbfbfb;
}

body #olark-wrapper.olark-dark-theme .olark-launch-button {
	    background-color: #748ccc !important;
    }
#quickquote input[type="submit"] {
  color:#fff;
  border-color:#fff;
  background-color:#EC5E20;
}

#quickquote .screen-reader-response {
  color:#fff; padding:15px 30px; font-size:14px;
}

.postid-2403 .x-portfolio .entry-info {
width: 100%;
}

.postid-2403 .x-portfolio .entry-extra {
width: 100%;
margin-top: 10px;
}

/* Applications page */
.page-id-2048 .ilightbox-container iframe {
  width:900px;
  display:block;
  margin:0px auto;
}

.ilightbox-holder.light {
  background: transparent !important;
}

.ilightbox-toolbar.light {
  top: 8px !important;
  left:auto !important;
  right: 8px !important;
  width:30px;
}

.ilightbox-fullscreen {
  display:none;
}

#truck-upload-form {
  display:none;
}

.page-id-2047 .masthead, .page-id-2047 footer, .page-id-2047 .longhaul-page-title {
  display:none !important;
}

.page-id-2047 {
  max-width:320px;
}

.post-password-form {
  background-color:#101010;
  padding:30px;
  width:500px;
  margin:30px auto;
  height:225px;
}

.post-password-form label {
  width:300px;
  float:left;
}

.post-password-form input[type="submit"] {
  float:right;
}

/*header.masthead.masthead-inline {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;
}

.x-navbar-fixed-top {
  top:46px;
  height:100px;
}
.x-brand img {
  transition:all 0.4s ease-in-out;
}
.x-navbar-fixed-top .x-brand img {
  width:175px;
  transition:all 0.4s ease-in-out;
} */

.x-navbar.x-navbar-fixed-top .desktop .x-nav > li > a {
   /* height: 55px;
    padding-top: 44px; */
}

.x-navbar-fixed-top .x-brand img {
  max-width: 180px;
  width: 180px;
}
.x-navbar-fixed-top .desktop .x-nav > li > a {
  height: 35px;
  padding-top: 40px;
}
.x-navbar-fixed-top .x-navbar-inner {
  min-height: 95px;
}
.x-navbar-fixed-top #menu-main {
  height:100px;
}

/* .page-id-1975 .x-slider-container {
  margin-top:80px;
}*/

/* .x-breadcrumb-wrap {
  background:url(/wp-content/themes/longhaul/images/);
}
*/
/* some mobile adjustments */

@media only screen and (max-device-width: 480px){

h1, h2, .h1, .h2 {
  font-size:100%;
}

/* .x-navbar-fixed-top {
  top:0px;
  height:100px;
}
.x-topbar {
  display:none;
  }

.x-brand img {
  width:175px;
  transition:all 0.4s ease-in-out;
}
.x-navbar-fixed-top .x-brand img {
  width:175px;
  transition:all 0.4s ease-in-out;
}
  .x-navbar-inner {
  background-color:#101010;
  }
  */
  }
  @media (max-width: 480px){
    .ilightbox-thumbnails.ilightbox-vertical {
        display: none;
    }

    .rotatingtweets {
      height:300px;
    }
}

@media only screen and (max-width: 767px) {
    /* phones */
    .x-navbar-fixed-top {
  top:0px;
  margin-top:0px !important;
}
.x-topbar {
  display:none;
  }
  .x-brand img {
  width:175px !important;
  transition:all 0.4s ease-in-out;
}
.x-navbar-fixed-top .x-brand img {
  width:175px;
  transition:all 0.4s ease-in-out;
}
.x-navbar-inner {
  background-color:#fff;
  }

h1, h2, .h1, .h2 {
  font-size:100%;
}
.lht-title-bg {
	    background-position: center center;
    }
.page-id-3918 .brokerage-support {
	width:41%;
}
body .e3918-10.x-quote {
padding:1em;
}
body .deming-lhtms .x-quote-content {
font-size:0.6em;
}
}

@media only screen and (max-width: 767px) and (orientation: portrait) {
    /* portrait phones */
    .x-navbar-fixed-top {
  top:0px;
  margin-top:0px !important;
}
.x-topbar {
  display:none;
  }
  .x-brand img {
  width:175px !important;
  transition:all 0.4s ease-in-out;
}
.x-navbar-fixed-top .x-brand img {
  width:175px;
  transition:all 0.4s ease-in-out;
}
.x-navbar-inner {
  background-color:#fff;
  }

h1, h2, .h1, .h2 {
  font-size:100%;
}


.lht-title-bg {
	    background-position: center center;
    }
.page-id-3918 .brokerage-support {
	width:41%;
}
body .e3918-10.x-quote {
padding:1em;
}
body .deming-lhtms .x-quote-content {
font-size:0.6em;
}
}
/* Fix links for mobile use */
.x-navbar .mobile .x-nav li>a{
  line-height: 1;
  padding: 0.5em 0.85em;
}
/* h1, h2 {
  font-size:100% !important;
} */
.isMobile h1, .isMobile h2 {
  font-size:100% !important;
}

/* html:not(.no-touch) div[class^='ilightbox'] {
  display: none !important;
} */

.page-id-246 #x-section-1 > .x-container {
  width:100%;
  margin-top:0px !important;
  margin-bottom:0px !important;
}

.x-navbar .x-brand {
  margin-bottom:15px;
}

.slide-post-title {
  max-height: auto !important;
}

.tp-caption.largebgblackposttitle, .tp-parallax-wrap .largebgblackposttitle {
  max-height:auto !important;
}

.home #rev_slider_1_2 .largebgblackposttitle {
  max-height:auto !important;
}

/* For sale listing adjustments */
.entry-wrap.for-sale-listing .p-meta,
article.for_sale_listings .p-meta  {
  display: none;
}

.entry-wrap.for-sale-listing ul.listing-details {
  list-style:none;
  margin-left:0px;
  width:100%;
  border:1px solid #f2f2f2;
}

.entry-wrap.for-sale-listing ul.listing-details li {
  padding:10px;
}

.entry-wrap.for-sale-listing ul.listing-details li:nth-child(even) {
  background-color: #f2f2f2;
}

.entry-wrap.for-sale-listing ul.listing-details li div span.label {
  display:inline-block;
  width:150px;
  font-weight:bold;
}

.x-breadcrumbs {
  padding: 15px 0px 5px 0px;
}

.for-sale-listings-template article .entry-thumb,
.page-template-template-for-sale-listings .entry-thumb img
{
  min-height:330px;
  height: 300px;
  overflow:hidden;
}
.page-template-template-for-sale-listings .entry-thumb img {
  width: auto;
  overflow:hidden;
}
/* .page-template-template-for-sale-listings .for-sale-listings-template */

/*
.page-template-template-for-sale-listings .entry-thumb,
.page-template-template-for-sale-listings article.for_sale_listings, {
  height: 330px;
}
.page-template-template-for-sale-listings .entry-thumb img {
/*    min-height: 300px;
  height:100%;
  width:auto;
} */

.for-sale-listings a.x-portfolio-filters {
  display:none;
}
