/*
 Theme Name:   Divi Child
 Theme URI:    http://example.com/twenty-fourteen-child/
 Description:  Twenty Fourteen Child Theme
 Author:       John Doe
 Author URI:   http://example.com
 Template:     Divi
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

/*
For older themes, and themes that do not use wp_enqueue_style() to enqueue their stylesheet, use the following line where twentyfourteen is the name of the directory where the theme resides:
*/
@import url("divi-style.css");


/* =Theme customization starts here
-------------------------------------------------------------- */

/* General Use */
/* set fonts */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .ctaform, .et_pb_promo_button {
    font-family: 'Dosis', sans-serif;
}

/* Header */
#et_top_search {
    margin-top: 21px;
}

#top-menu li ul.sub-menu li:first-child {
    margin-top: 0;
}
#top-menu li li.txtli {
    font-weight: bold;
    margin-top: 10px;
}

#top-menu li li a {
    padding: 3px 0 3px 8px;
    font-weight: normal;
}

#et-secondary-nav li li a {
    padding: 10px 0;
}

#main-header {
    z-index: 8;
}
#top-header { 
	z-index: 9;
}

#et-secondary-nav li ul {
	left: -96px;	
}

#et_search_icon:before {
    content: "U";
    font-size: 17px;
    left: 0;
    position: absolute;
    top: -8px;
}

.et-fixed-header #et_search_icon:before {
    content: "U";
    font-size: 17px;
    left: 0;
    position: absolute;
    top: -3px;
}


.form-wrapper {
    margin: 10px auto;
    position: relative;
    width: 100%;
}

.form-wrapper input[type="text"] {
    background: none repeat scroll 0 0 #fff;
    border: 0 none;
    float: left;
    font: bold 20px "lucida sans","trebuchet MS","Tahoma";
    height: 60px;
    padding: 10px 160px 10px 10px;
    width: 100%;
    margin-bottom: 20px;
}

.form-wrapper button {
    background: none repeat scroll 0 0 #5cb85c;
    border: 0 none;
    color: #fff;
    cursor: pointer;
    float: right;
    font: bold 20px/40px "lucida sans","trebuchet MS","Tahoma";
    height: 60px;
    overflow: visible;
    padding: 0;
    position: absolute;
    right: 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    top: 0;
    width: 150px;
}

.et_pb_slide_description a.searchModalOpen {
    color: #fff;
    text-decoration: underline;
    position: relative;
    top: -15px;
}

.searchModalPara {
    display: block;
    text-align: right;
}

.narrowslider .et_pb_slide_description {
    padding-top: 0px;
    padding-bottom: 30px;
}


/* Bootstrap Fixes */
.nav>li>a {
    padding: 0 0 15px 0;
}

.nav>li>a:hover, .nav>li>a:focus, #top-menu a:hover {
    background-color: transparent;
    color: #dd3333;
}

input[type="text"] {
    padding-right: 18px;
    padding-left: 18px;
}

.modal-dialog-center {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.modal-body {
    overflow-y: auto;
}
.modal-footer {
    margin-top: 0;
}
.modal-sm {
    min-width: 315px;
}
@media (max-width: 991px) {
    .page-template-tpl-check-php .sidebar {
        margin-top: 0;
        float: none !important;
        margin-bottom: 20px;
    }
    
    .hideat980 {
        display: none;
    }
}

@media (max-width: 980px) {
  .modal-dialog-center {
    width: 100%;
  }
  
  .et_header_style_centered #main-header .container {
      text-align: left;
  }
  
  #et-top-navigation.pull-left {
      display: none;
  }
  
  .et_header_style_centered #main-header .mobile_nav {
      padding-right: 40px;
  }
  
  .homepageslider .et_pb_slide_description {
    padding: 75px 0px;
  }

}

@media (max-width: 638px) {
    .searchForm .form-wrapper button {
        display: none;
    }
    
    .searchForm .form-wrapper input[type="text"] {
        padding: 10px;
    }
    
}

@media (max-width: 638px) {
    .hideat495 {
        display: none;
    } 
}


/* Typeahread */

.tt-query {
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
     -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.tt-hint {
  color: #999
}

.tt-dropdown-menu {
  padding: 8px 0;
  max-height: 150px;
  overflow-y: auto;
  background-color: #fff;
  border: 1px solid #ccc;
  -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
     -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
          box-shadow: 0 5px 10px rgba(0,0,0,.2);
}

.tt-suggestion {
  padding: 3px 20px;
  font-size: 18px;
  line-height: 24px;
}

.tt-suggestion.tt-cursor {
  color: #fff;
  background-color: #0097cf;

}

.tt-suggestion p {
  margin: 0;
}

span.twitter-typeahead .tt-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  float: left;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
}
span.twitter-typeahead .tt-suggestion > p {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #333333;
  white-space: nowrap;
}
span.twitter-typeahead .tt-suggestion > p:hover,
span.twitter-typeahead .tt-suggestion > p:focus {
  color: #ffffff;
  text-decoration: none;
  outline: 0;
  background-color: #428bca;
}
span.twitter-typeahead .tt-suggestion.tt-cursor {
  color: #ffffff;
  background-color: #428bca;
}
span.twitter-typeahead {
  width: 100%;
}
.input-group span.twitter-typeahead {
  display: block !important;
}
.input-group span.twitter-typeahead .tt-dropdown-menu {
  top: 32px !important;
}
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu {
  top: 44px !important;
}
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu {
  top: 28px !important;
}

.twitter-typeahead {
  width: 100%;
}

.resultTable {
    margin-bottom: 20px;
    width: 100%;
}

.entry-content .resultTable thead tr th {
    background: none repeat scroll 0 0 #252525;
    color: #FFFFFF;
}

.entry-content .resultTable th, .entry-content .resultTable td {
    border: 1px solid #252525;
    padding: 10px;
    text-align: left;
}

.resultTable thead:nth-child(2) {
    display: none;
}

.maincheckcontent .entry-content {
    padding-bottom: 20px;
}



/* Divi Fixes */
@media (max-width: 767px) {
    .et_pb_row, .container, .et_pb_container {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-right: auto;
        margin-left: auto;
    }
    table.visible-xs {
        display: table !important;
    }
    
    .nxtbtn {
        width: 40%;
        display: block;
        float: right;
        font-weight: bold;
    }
    
    .prvbtn {
        width: 40%;
        display: block;
        float: left;
        font-weight: bold;
    }
}

@media (max-width: 479px) {
    .et_pb_slide_content, .et_pb_more_button {
        display: block !important;
        font-size: 12px;
    }
    
    .narrowslider h1 {
        font-size: 20px;
    }
    
    .hideat479 {
        display: none;
    }
}

@media (max-width: 579px) { 
    .et_pb_column_1_3 {
        width: 100%;
        margin-right: 0;
        padding-right: 15px;
        padding-left: 15px;    
    }

    .et_pb_column_2_3 {
        width: 100%;
        margin-right: 0;
        padding-right: 15px;
        padding-left: 15px;    
    }

    .et_pb_column_1_4 {
        width: 100%;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    
}


@media (min-width: 768px) {
    .et_pb_row, .container, .et_pb_container {
       width: 750px;
       padding-left: 15px;
       padding-right: 15px;
    }   
    
    .nullmargins {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.et_mobile_menu li a, .et_mobile_menu {
    width: 100%;
}

.et_mobile_menu {
    top: 79px;
}

.et_fixed_nav.et_secondary_nav_enabled #page-container {
    padding-top: 111px;
}

.mobbtns {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: #ddd;
    padding-top: 10px;
    padding-bottom: 10px;
}
@media (min-width: 992px) {
    .et_pb_row, .container, .et_pb_container {
        width: 970px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 1200px) {
    .et_pb_row, .container, .et_pb_container {
        width: 1170px;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.searchbar {
    background: #eee;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-right: -15px;
}

.bikegallery {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-left: -15px;
}

.bikeitem {
    border: 1px solid #eee;
    overflow: hidden;
    margin-bottom: 15px;
    position: relative;
}

.bikeitemdesc {
    padding: 5px;
}

.bikeitem:hover .image-overlay-link {
    display: block;
}

.image-overlay-link {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding: 5px;
    background: #dd0000;
    color: #fff;
    display: none;
}

.image-overlay-link a {
    color: #fff;
}

.item-description, .post-meta {
    overflow: hidden;
}

#top-header .container-fluid {
    padding-top: 10px;
}

.detailButtons {
    font-size: 27px;
    position: absolute;
    right: 5px;
    bottom: 10px;
}

.detailButtons a {
    padding: 5px;
}

.detailButtons a:hover {
    color: #ffbb09;
}

.page-title h2 { 
    border-bottom: 1px solid #eee;
}

.mainbikegallery .entry-content .row {
    margin-top: 20px;
}

.ad {
    margin-top: 15px;
}

.separator {
    border-top: 1px solid #aaa;
    margin-bottom: 15px;
    margin-top: 25px;
}

.separator a {
    margin-top: -13px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 200px;
    text-align: center;
    background: #eee;
}

.ftbthumbnail {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    background: #eee;
    line-height: 100%;
    height: 150px;
}

.ftbthumbnail img {
    margin-left: auto;
    margin-right: auto;
    height: 100%;
}

.item-description {
    height: 31px;
}

div.pagination {
    padding: 15px;
    text-align: center;
    width: 100%;
}

div.pagination span.disabled {
    border: 1px solid #4f4f4f;
    color: #DDD;
    margin: 0 2px;
    padding: 6px 12px;
    background: #fff;
}

div.pagination span.current {
    background-color: #4F4F4F;
    color: #FFF;
    font-weight: bold;
    margin: 0 2px;
    padding: 6px 12px;
}
div.pagination a {
    background: #fff;
    color: #000;
    border: 1px solid #4f4f4f;
    margin: 0 2px;
    padding: 6px 12px;
    text-decoration: none;
}

div.pagination a:hover {  
    background-color: #4F4F4F;
    color: #FFF;
    font-weight: bold;
}

.location-tree li {
    border: 1px solid #eee;
    padding: 10px 15px;
    float: left;
    width: 33.33%;
    text-align: center;
}

.narrowslider .et_pb_slide_description {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.narrowslider .et_pb_slide_content {
    padding-bottom: 0;
}

a.gumtree {
    color: #7bb74c;
}

a.ebay {
    color: #0654ba;
}

        #top-menu li.menubox > a {
            border: 2px solid #dd3333;
            display: inline-block;
            padding: 5px 5px 5px 5px;
            background: #dd3333;
            color: #fff;
        }
        #main-header nav#top-menu-nav {
    padding-top: 3px;
}

.locationnotes {
   font-size: 75%; 
}

.required {
    font-size: 75%;
    color: red;
    float: right;
}

.form-group label {
    width: 100%;
}

.fieldset {
    border: 1px solid;
    padding: 15px;
    position: relative;
    margin-top: 25px;
}

.setTitle {
    background: #fff;
    display: inline-block;
    position: absolute;
    top: -22px;
    padding: 5px;
}

.icon-btn.btn-large .fa {
    font-size: 24px;
    left: 20px;
    position: absolute;
    top: 13px;
}
    
.icon-btn.btn-large {
    position: relative;
}

#ie8 .ad { display: none; }
#et-footer-nav { background: #2c2c2c; }
.et_nav_text_color_light, .et_nav_text_color_light #et-secondary-nav a, .et_nav_text_color_light .et-social-icon a, .et_nav_text_color_light #et-info a { color: #979797;}
.et_nav_text_color_light .et-social-icon a:hover, .et_nav_text_color_light #et-secondary-nav a:hover, .et_nav_text_color_light .et-cart-info:hover { color: #ffffff !important;}
#ie8 #top-menu { padding-top: 10px; }


/*SLIDE-IN CTA
--------------------------------------------- */
#slidebox {
    padding: 10px 16px 10px 10px;
    background: #f7192e;
  background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJod…EiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
  background: -moz-linear-gradient(left,#f7192e 0%,#682c7d 100%);
  background: -webkit-gradient(linear,left top,right top,color-stop(0%,#f7192e),color-stop(100%,#682c7d));
  background: -webkit-linear-gradient(left,#f7192e 0%,#682c7d 100%);
  background: -o-linear-gradient(left,#f7192e 0%,#682c7d 100%);
  background: -ms-linear-gradient(left,#f7192e 0%,#682c7d 100%);
  background: linear-gradient(to right,#f7192e 0%,#682c7d 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f7192e',endColorstr='#682c7d',GradientType=1);

    position: fixed;
    bottom: 0;
    right: -430px;
    -moz-box-shadow: -2px 0 5px #aaa;
    -webkit-box-shadow: -2px 0 5px #aaa;
    box-shadow: -2px 0 5px #aaa;
}

a.close {
    background: transparent url(https://cdn2.hubspot.net/hub/53/file-527841348-gif/close.gif) no-repeat top left;
    width: 13px;
    height: 13px;
    position: absolute;
    cursor: pointer;
    top: 10px;
    right: 10px;
}

a.close:hover {
    background-position: 0 -13px;
}

@media only screen and (max-device-width: 480px) {
    #slidebox {
       width: 100%;
    }
}