/*
Theme Name: Car Trust
Theme URI: http://cartrsut.lu
Author: Midori
Author URI: 
Description: 
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: cartrust

*/


@font-face {
  font-family: CenturyGothic;
  src: url(fonts/CenturyGothicRegular.ttf);
  /* font-weight: bold; */
}



/*	==============================================	*/
/*	border	======================================	*/
/*	==============================================	*/

.header_over_bg{
	border-bottom:1px solid #dddddd;
}

/* Global Fix : col offset */
.vc_col-sm-12.vc_col-sm-offset-1 {
  margin: 0 auto !important;
}
.gt3_header_builder__section.not_empty_center_side .header_side, .gt3_header_builder__section .header_side.header_side--custom-align, .gt3_header_builder__section.not_empty_center_side .header_side.header_side--custom-align {
  -webkit-flex: none !important;
  -ms-flex: none !important;
  flex: none !important;
}

/* back to top */
#back_to_top::after {
  left: 17px !important;
  border-bottom-color: #9bde75 !important;
}
#back_to_top::before {
  left: 22px !important;
  background: #9bde75 !important;
}
#back_to_top:hover::after {
  border-bottom-color: #ffffff !important;
}
#back_to_top:hover::before {
  background: #ffffff !important;
}

.main_wrapper {
  padding-top: 60px;
}

/* Header */
/* NEW */
.gt3_header_builder__section--bottom {
  background-color: #fff !important;
  /* background-color: rgba(255, 255, 255, 0.85) !important; */
}
.gt3_header_builder.small .gt3_header_builder__section--bottom {
  background-color: rgba(255, 255, 255, 0.85) !important;
}
.main-menu>ul>li>a {
  color: #000;
  padding: 0 3px;
}
.main-menu>ul>li.qtranxs-lang-menu>a {
  padding: 0 12px;
}
.mobile_menu_container .main-menu>ul>li>a {
  color: #fff;
}
.admin-bar .gt3_header_builder {
  top: 32px;
}
@media (min-width:768px) {
  .main_wrapper {
    padding-top: 113px;
  }
  .gt3_header_builder .gt3_header_builder__section--bottom .gt3_header_builder__section-container {
    transition: height 0.2s ease-in-out;
  }
  .gt3_header_builder.small .gt3_header_builder__section--bottom .gt3_header_builder__section-container {
    /* transition: height 0.3s ease-in-out; */
    height: 90px;
  }
  .gt3_header_builder.small .main-menu>ul>li>a:before {
    top: -36px;
  }
}
@media (max-width:782px) {
  .admin-bar .gt3_header_builder {
    top: 46px;
  }
}
@media (max-width:600px) {
  #wpadminbar {
    position: fixed !important;
    top: 0 !important;
  }
}
/* language switcher */
.gt3_header_builder__container .qtranxs-lang-menu.menu-item>a:after {
  content: "\f107" !important;
}
.gt3_header_builder__container .qtranxs-lang-menu.menu-item img {
  vertical-align: middle !important;
}
.gt3_header_builder__container .qtranxs-lang-menu ul {
  width: auto !important;
}

/* language hover */
/* .gt3_header_builder__container .main-menu ul li.qtranxs-lang-menu.menu-item ul li:hover > a > span:after,
.gt3_header_builder__container .main-menu ul li.qtranxs-lang-menu.menu-item ul li.current-menu-item > a > span:after {
  content: none !important;
} */
/* .gt3_header_builder__container .main-menu ul li.qtranxs-lang-menu.menu-item ul li:hover > a > span img,
.gt3_header_builder__container .main-menu ul li.qtranxs-lang-menu.menu-item ul li.current-menu-item > a > span img {
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.5);
} */


/* header absolute position - bug possible, l'activer qu'à partir d'un mediquaquery tablet ? */
.page-template-page-partners .gt3_header_builder,
.page-template-full-width-php .gt3_header_builder,
.single-post .gt3_header_builder {
  /* position: relative !important; ICIIIII */
  position: absolute !important;
  position: fixed !important;
  width: 100%;
}

/* reposition open mobile icon */
@media (max-width: 768px) {
  .gt3_header_builder .bottom_center {
    position: absolute !important;
    right: 0;
  }
}

.gt3_header_builder .main-menu>ul {
  font-family: CenturyGothic, sans-serif;
  font-weight: 400;
  font-size: 19px;
}
 a.facebook-icon,
 a.linkedin-icon {
  margin: 0 5px;
  font-size: 19px;
}
a.facebook-icon:hover,
a.facebook-icon:focus {
  color: #3b5998 !important;
}
a.linkedin-icon:hover,
a.linkedin-icon:focus {
  color: #0077b5 !important;
}

@media (min-width:1201px) {
  .gt3_header_builder .main-menu>ul>li::before {
    content: '';
    display: none;
    height: 5px;
    width: 10px;
    position: absolute;
    /* background-color: #ffffff; */
  }
  .gt3_header_builder .main-menu>ul>li>a:before {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
    opacity: 0;
    border-top: 4px solid;
    transform: translateY(1px);
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transition: all 300ms;
    -moz-transition: all 300ms;
    -ms-transition: all 300ms;
    -webkit-transition: all 300ms;
    will-change: transform;
    border-color: #74b84d;
    border-color: #9bde75;
  
    top: -48px;
    /* background-color: #ffffff; */
    height: 4px;
  }
  .gt3_header_builder .main-menu>ul>li>a:hover:before {
    opacity: 1;
  }
  .gt3_header_builder .main-menu>ul>li.current-menu-item>a:before {
    opacity: 1;
  }
}

/* Sticky Header */
.gt3_header_builder_component p {
  padding-left: 30px !important;
}
.sticky_header .gt3_header_builder__section {
  background-color: #ffffff;
}
.sticky_header .main-menu>ul>li>a, .sticky_header .main-menu>div>ul>li>a {
  color: #000;
}
.sticky_header .main-menu>ul>li>a:hover, .sticky_header .main-menu>div>ul>li>a:hover {
  color: #474747;
}
.sticky_header .main-menu>ul>li>a:before, .sticky_header .main-menu>div>ul>li>a:before {
  background-color: #000;
}
/* phone number */
.sticky_header .gt3_header_builder_text_component p {
  color: #000 !important;
}
.sticky_header .gt3_header_builder_delimiter_component {
  border-color: #000;
}


/* .gt3_header_builder img {
  max-height: 70px;
} */
.made-in-lux img {
  margin-left: 10px;
  
}
.made-in-lux img {
  max-height: 50px;
}

/* Home */
/* header section - large text font-weight fix */
#home-header .large-text {
  font-weight: 600;
}
#home-header .gt3_btn_text {
  font-weight: 500;
}
@media (min-width: 600px) {
  #home-header .gt3_module_button .button_size_normal:first-of-type {
    margin-right: 40px !important;
  }
}


/* latest news section - more news button fix */
h3.blogpost_title {
  font-size: 24px !important;
}
.btnMoreNews span.gt3_btn_text {
  font-weight: 400;
}
/* font-size fix : numéro de téléphone dans section contact */
@media (max-width:1420px) and (min-width: 1200px) {
  p.phone-number {
    font-size: 45px !important;
  }
}

/* contact form */
.gt3-form_on-dark-btn {
  padding-top: 0 !important;
  margin-top: 45px;
}

select {
  -webkit-appearance: menulist;
  height: 43px;
}

/* recolor */
.vc_sep_line {
  border-color: #9bde75 !important;
}
.learn_more {
  color: #9bde75 !important;
  color: #77e0ba !important;
}
a.learn_more span {
  color: #9bde75 !important;
  color: #77e0ba !important;
  background-color: #77e0ba;
  background: #77e0ba;
}
a.learn_more span::before {
  border-left-color: #77e0ba;
}

/* ALL PAGES STYLE */
#page-header {
  height: 400px;
  display: flex;
}
#page-header .container {
  display: flex;
  -webkit-align-content: center;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}
#page-header span {
  text-transform: uppercase !important;
}


/* News / Blog Page */
body:not(.home).page-template .blog_post_preview {
  box-sizing: border-box;
  /* width: 33.333333%; */
  padding: 10px;
  
  position: relative !important;
  float: left !important;
  transform: none !important;
  min-height: 620px !important;
}
@media (max-width: 1024px) and (min-width: 768px) {
  body:not(.home).page-template .blog_post_preview {
    width: 50%;
  }
}
@media (max-width: 768px) {
  /* header hide la petite barre des social icons */
  .bottom_right.right.header_side {
    display: none;
  }

  .page-template .blog_post_preview {
    min-height: auto !important;
  }
  .page-template .spacing_beetween_items_20 .blog_post_preview {
    margin-bottom: 20px !important;
  }
}

.page-template .spacing_beetween_items_20 .blog_post_preview {
  margin-bottom: 5px !important;
}
.page-template .gt3_module_blog div.isotope {
  height: auto !important;
}
.page-template .post_info {
  display: none !important;
}

/* Single Post Page */
/* cacher tags et bouttons de navigation */
.single-post .tagcloud,
.single-post .prev_next_links {
  display: none !important;
}
.single-post .dropcap {
  color: #83c56e !important;
}
/* page header */
.single-post #page-header,
#page-header.nos-occasions,
.single-practice #page-header {
  /* background-image: url(http://cartrust.travail.lu/wp-content/uploads/2018/07/page-header-1-e1531307344187.png?id=3161) !important; */
  /* background-image: url(http://cartrust.travail.lu/wp-content/uploads/2018/10/home-small.jpg?id=3934) !important; */
  background-image: url(/wp-content/uploads/2018/10/home-small.jpg?id=3934) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}


/* Footer */
footer .copyright p {
  float: left;
}
.footer-social {
  float: right;
  font-size: 19px;
}
@media (max-width:1024px) {
  .span12 {
    text-align: center
  }
  .footer-social {
    float: none;
  }
}
footer .qtranxs-lang-menu {
  display: none !important;
}



/* NOS OCCASIONS */
.mobile.categorie-select {
  display: none;
  margin-bottom: 60px;
}
.hide {
  display: none !important;
}

#nos-occasions {
  padding: 90px 0;
}
#car-listing {
  padding-top: 50px;
}
.span12.nos-occasions {
  text-align: left !important;
}
.car-card:not(:last-of-type) {
  border-bottom: 1px solid #ebebeb;
  padding-bottom: 45px;
  margin-bottom: 45px;
}
.car-card:last-of-type {
  margin-bottom: 70px;
}

a.car-title {
  font-family: CenturyGothic;
  color: #3f4461 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}
a.car-title:hover {
  color: #83c56e !important;
}
.car-meta {
  margin-top: 5px;
  font-weight: 500;
  text-transform: capitalize;
}
.km {
  text-transform: none;
}
/* .car-img, .car-infos {
  float: left;
  display: inline-block;
} */
.car-img {
  /* width: 370px; */
  flex: 0 0 370px;
  align-self: center;
  text-align: center;
}
.car-infos {
  /* width: 50%; */
  flex: 1;
  padding-left: 40px;

  /* vertical align */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.car-infos .car-description {
  margin: 15px 0;
  line-height: 25px;
}
.car-card a.learn_more {
  border: 1px solid #83c56e;
  display: inline-block !important;
  width: 175px;
  padding: 10px;
  text-align: center;
  color: #83c56e !important;
}
.car-card a.learn_more span {
  color: #83c56e !important;
  background-color: #83c56e;
  background: #83c56e;
}
.car-card a.learn_more span::before {
  border-left-color: #83c56e;
}
.car-card a.learn_more:hover {
  border-color: #83c56e;
  color: #fff !important;
  background-color: #83c56e;
}
.car-card a.learn_more:hover span {
  background-color: #fff;
}
.car-card a.learn_more:hover span::before {
  border-left-color: #fff;
}

/* sidebar - categories */ 
.vehicle-categories ul>li::before {
  content: none !important;
  line-height: 30px;
}
.vehicle-categories ul>li>a {
  font-family: CenturyGothic;
  color:  #3f4461 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
  /* display: block; */
  cursor: pointer;
}

.vehicle-categories ul.child-categories>li {
  line-height: 30px;
}
.vehicle-categories ul.child-categories>li>a {
  font-family: CenturyGothic;
  color:  #3f4461;
  font-size: 14px;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
  cursor: pointer;
}

.vehicle-categories ul.child-categories>li>a:hover {
  transition: 0s;
}
.vehicle-categories ul.child-categories>li>a:hover {
  font-weight: 700;
}
.vehicle-categories ul.child-categories>li>a:hover::after {
  background: rgba(131, 197, 110);
}

.child-categories li{
  position: relative;
}
.child-categories li>a::after {
  content: '';
  background: rgba(131, 197, 110, 0.47);
  width: 3px;
  height: 100%;
  position: absolute;
  top: 0;
  left: -5px;
}
/* actual brand */
.child-categories li>a.actual {
  font-weight: 700 !important;
}
.child-categories li>a.actual::after {
  background: rgba(131, 197, 110);
}
/* actual brand */
.child-categories li>a.empty {
  opacity: 0.5;
}
.child-categories li>a.empty::after {
  opacity: 0.5;
}

.vehicle-categories ul.child-categories>li:last-child {
  padding-bottom: 6px;
}

@media (max-width: 1100px) and (min-width: 992px) {
  .car-img {
    flex: 0 0 300px;
  }
}
/* @media (max-width: 992px) and (min-width: 768px) {
  #car-listing .col-sm-3 {
    flex: 0 0 30%;
    width: 30%;
    max-width: 30%;
  }
  #car-listing .col-sm-9 {
    flex: 0 0 70%;
    width: 70%;
    max-width: 70%;
  }
}
@media (max-width: 992px) {
  .car-card {
    justify-content: center;
  }
  .car-infos {
    padding: 10px 15px 0;
  }
} */

@media (max-width: 992px) {
  #car-listing .col-sm-3 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    
    flex: none;
    max-width: 100%;
  }
  #car-listing .col-sm-9 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
    
    flex: none;
    max-width: 100%;
  }

  .car-card {
    flex-direction: column;
  }
  .car-img {
    flex: none;
  }
  .car-infos {
    margin-top: 10px;
    padding-left: 0;
  }

  /* restyle categorie box */
  .vehicle-categories {
    margin-bottom: 60px;
  }
  ul.parent-categories {
    max-height: 250px;
    /* overflow: hidden; */
    overflow-y: auto;
    border: 1px solid #eeeeee;
    padding: 5px;
    border-radius: 5px;
  }
  ul.parent-categories.closed {
    height: 45px;
  }
  ul.parent-categories.open {
    height: 250px;
  }

  /* display mobile categories select */
  .mobile.categorie-select {
    display: block;
  }
  .vehicle-categories {
    display: none;
  }

  /* single car page */
  .car-info h2.car-title {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 10px !important;
  }
  .car-info .car-description {
    margin-top: 20px !important;
  }
}

@media (max-width:768px) {
  /* single car page */
  .car-info h2.car-title {
    font-size: 23px;
    line-height: 1.2;
  }
}

.categorie-select_icon.close {
  color: red;
}
.categorie-select_input-wrapper {
  position: relative;
}
.categorie-select_input {
  width: 100% !important;
}
.categorie-select_icon-wrapper {
  position: absolute;
  width: 32px;
  height: 32px;
  right: 4px;
  top: 50%;
  margin-top: 0;
  cursor: pointer;
  transform: translateY(-50%);
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}
.parent-categories .categorie-select_icon-wrapper {
  top: 16px;
  border: 1px solid #abd65f;
}
.categorie-select_icon {
  width: 100%;
  height: 100%;
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  justify-content: center;
}
.vehicle-categories_select ul.parent-categories li:before {
  content: none;
}

.parent-categories .categorie-select_icon-wrapper {
  top: 0;
  border: 0;
}

.parent-categories .categorie-select_icon-wrapper {
  right: 0;
  top: 0;
  transform: none;
  position: relative;

  display: inline-block;
    /* position: relative; */
  margin-left: 0px;
  text-align: center;
}

/* boutton recherche catégorie/brand */
.categorie-select_search:not(.hide) {
  width: 100%;
  border: 1px solid #83c56e;
  display: inline-block !important;
  text-align: center;
  color: #83c56e !important;
  background: #fff;
  margin-top: 10px;
  margin-bottom: 10px;
  height: 44px;
  font-weight: 500;
  font-size: 15px;
}
.categorie-select_search:hover {
  border: 1px solid #83c56e;
  background-color: #83c56e;
  color: #fff !important;
}
.categorie-select_search:hover span {
  background: #fff !important;
}
.categorie-select_search:hover span:before {
  border-left-color: #fff !important;
}


/* Single Car Page */
.car-info h2.car-title {
  font-weight: 700;
  margin: 20px 0;
}
.car-info .car-description {
  margin: 40px 0;
}
.car-info h3.sub-title {
  font-weight: 500;
  margin-bottom: 20px;
}

/* SPEC TABLE */
.spec-table {
  font-family: CenturyGothic;
  color:  #3f4461;
  font-size: 13px;
  line-height: 36px;
}
.spec-table tr {
  border: 0;
}
.spec-table tr:nth-child(odd){
  background-color: #f8fbff;
}
.spec-table tr:nth-child(even){
  background-color: #fff;
}
.spec-table td {
  padding: 0 10px;
  text-align: left;
}
.spec-table .spec-label {
  width: 60%;
  font-weight: 700;
}
.spec-table .spec-value {
  text-transform: capitalize;
}

/* car image slider */
.car-image-slider {
  max-width: 800px;
  position: relative;
  display: inline-block;
}
.slider-navigation {
  position: absolute;
  display: inline-block;
  right: 0;
  bottom: 0;
}
.slider-button {
  cursor: pointer;
  height: 38px;
  width: 38px;
  background-color: #fff;
  color: #83c56e;
  border: 1px solid #eeeeee;
  font-size: 30px !important;
  margin: 1px;
  transition: all 0.3s ease-in-out;
}
.slider-button:hover {
  background-color: #83c56e;
  color: #fff;
  border: 1px solid #83c56e;
}
.slider-button:focus {
  outline:0;
}


/* Services Page - team members */
.member-icons {
  display: none !important;
}

/* service hover */
.gt3_practice_list__image-holder a::before {
  content: none !important;
}





/* contact form - file input */
span.file {
  position:relative;
  text-align: left;
}
span.file::after {
  content: "\f093";
  position: absolute;
  left: 15px;
  padding: 5px;
  /* background: #fff; */
  color: #abd660;
  /* width: 130px; */
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  font-family: "FontAwesome";
  top: 0;
}
span.file::before {
  content: "Fichier";
  font-family: "MontSerrat";
  font-weight: 500;
  position: absolute;
  left: 0;
  padding: 5px;
  padding-left: 20px;
  background: #fff;
  color: #434c55;
  width: 133px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
}
html:lang(fr-FR) span.file::before {
  content: "Fichier";
  font-family: "MontSerrat";
}
html:lang(en-US) span.file::before {
  content: "File";
  font-family: "MontSerrat";
}
html:lang(de-DE) span.file::before {
  content: "Datei";
  font-family: "MontSerrat";
}
html:lang(lu-LU) span.file::before {
  content: "Fichier";
  font-family: "MontSerrat";
}
span.file>input {
  visibility:hidden;
  margin-left: 25px;
  margin-top: 3px;
}

/* Contact section - shortcode */
.vc_custom_1531145042887 {
  padding-top: 87px !important;
  padding-right: 10% !important;
  padding-left: 10% !important;
  /* background: #8bd06a url(http://cartrust.travail.lu/wp-content/uploads/2018/04/gradient-1.png?id=2249) !important; */
  background: #8bd06a !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.vc_custom_1525178479646 {
  padding-top: 0px !important;
  padding-right: 10% !important;
  padding-bottom: 0px !important;
  padding-left: 10% !important;
  /* background-image: url(https://livewp.site/wp/md/sunergy/wp-content/uploads/sites/2/2018/02/hover_box_img_04.jpg?id=1481) !important; */
  background-image: url(/wp-content/uploads/2019/01/hover_box_img_04.jpg) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
.vc_custom_1485416907818{
  padding-top: 50px !important;
  padding-bottom: 50px !important;
  text-align: center;
}
.wpb_animate_when_almost_visible {
  opacity: 1;
}

/* @media (max-width:1420px) and (min-width:992px) {
  .phone-number {
    font-size: 45px !important;
  }
} */


/* .parent-categories li .child-categories  {
  display: block;
  overflow: hidden;
  max-height: 0px;
    -webkit-transition: all 0.3s ease-in-out;
       -moz-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
         -o-transition: all 0.3s ease-in-out;
            transition: all 0.3s ease-in-out;
}
.parent-categories li:hover .child-categories  {
  max-height: 300px;
} */


/* avoir le bouton apprès le nom de la marque, au lieu de tout à droite */


/* SAFARI FOOTER COLUMNS FIX */
@media only screen and (min-width: 768px) {
  .row .span3 {
      width: 24% !important;
  }
}

/* IE CONTACT FORM DROPDOWN FIX */
.wpcf7-form input[type="date"], .wpcf7-form input[type="email"], .wpcf7-form input[type="number"], .wpcf7-form input[type="password"], .wpcf7-form input[type="search"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="text"], .wpcf7-form input[type="url"], .wpcf7-form select, .wpcf7-form textarea {
  color: #848d95;
}


/* Partner Page */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  /* margin: 0 -1rem; */
  padding: 90px 0;
}
.partner-item {
  width: calc(25% - 0.5px);
  margin-bottom: 25px;
}
.partner-item .partner-logo {
  background-color: #fff;
  min-height: 10rem;
}
.partner-title h4 {
  text-align: center;
  font-size: 18px;
}

@media only screen and (max-width: 1200px) {
  .partner-item {
    width: calc(33.33333% - 0.5px);
  }
}
@media only screen and (max-width: 768px) {
  .partner-item {
    width: calc(50% - 0.5px);
  }
}
@media only screen and (max-width: 500px) {
  .partner-item {
    width: 100%;
  }
}

/* GDPR */
#gdpr-text {
  font-size: 11px;
  line-height: 1.4em;
}
#gdpr-text a {
  color: inherit;
  text-decoration: underline;
}
#gdpr-text input[type="checkbox"] {
  margin: 0;
}





