@charset 'utf-8';
/*
 Theme Name:   TransiSchool
 Theme URI:    http://save-life.themerex.net/
 Description:  Save Life Child Theme
 Author:       David THOMAS
 Author URI:   https://smol.org;
 Template:     save-life
 Version:      1.0
 Tags:         light, inheritable theme options
 Text Domain:  save-life
 Domain Path: /languages
*/


/* =Theme customization starts here
-------------------------------------------------------------- */
@font-face {
  font-family: 'Freude';
  src: url('fonts/Freude.eot');
  src: url('fonts/Freude.eot?#iefix') format('embedded-opentype'),
       url('fonts/Freude.woff2') format('woff2'),
       url('fonts/Freude.woff') format('woff'),
       url('fonts/Freude.ttf')  format('truetype'),
       url('fonts/Freude.svg#Freude') format('svg');
}

@font-face {
  font-family: 'Handelson';
  src: url('fonts/Handelson-Four.eot');
  src: url('fonts/Handelson-Four.eot?#iefix') format('embedded-opentype'),
       url('fonts/Handelson-Four.woff2') format('woff2'),
       url('fonts/Handelson-Four.woff') format('woff'),
       url('fonts/Handelson-Four.ttf')  format('truetype'),
       url('fonts/Handelson-Four.svg#Handelson') format('svg');
}

body {}

.alignright { text-align: right; }
.alignleft { text-align: left; }
.alignjustify { text-align: justify; }

/* LOGO */
#logo-transischool-container .sc_layouts_column .sc_layouts_item { display: block; }
#logo-transischool.sc_layouts_logo img {
  height: 170px;
  max-height: 170px;
}

@media (max-width:767px) {
  #logo-transischool.sc_layouts_logo img {
    height: 70px;
    max-height: 70px;
  }
}

.sc_layouts_menu_nav > li > a {
  padding: 1em 1em;
}


/* MENU */
#column-main-menu > .vc_column-inner {
  padding-right: 3px;
}
#column-main-menu > .vc_column-inner > .wpb_wrapper {
  background-color: rgba(15,175,162,0.5);
  border-radius: 10px;
  padding-right: 10px;
}

#column-main-menu > .vc_column-inner > .wpb_wrapper .sc_layouts_item + .sc_layouts_item {
  margin-left: 1px;
}

/* PROMO */
/*.scheme_dark.sc_promo .sc_promo_text.trx_addons_stretch_height,
.scheme_dark.sc_promo .sc_promo_text_inner {
  background-color: #BADDDF !important;
}
.scheme_dark.sc_promo .sc_promo_content {
  color: #333 !important;
}*/

.scheme_extra.sc_promo .sc_promo_subtitle { color: #9cd650 !important; }

/*ACTION widget*/
#bloc-commander .sc_action_item_title,
#bloc-avis .sc_action_item_title { font-family: "Freude", sans-serif; }

/*HOMEPAGE*/
#newsletter-homepage .vc_column-inner {
  justify-content: center;
}

.swiper-wrapper {
  align-items: center;
}

/* Force home slider to left:0 to fix "jump" onload */
#rev_slider_1_1_wrapper { left: 0 !important; }

/* POSTS PAGES */
body.custom-background.page-template-page-rose { background-color: #f0806d; }
body.custom-background.page-template-page-jaune { background-color: #ffecb8; }
body.custom-background.page-template-page-jaune .sc_layouts_row_type_normal .sc_layouts_item #menu_main a {
  color: #999;
}
body.custom-background.page-template-page-orange { background-color: #f9bb82; }
body.custom-background.page-template-page-orange .sc_layouts_row_type_normal .sc_layouts_item #menu_main.sc_layouts_menu_nav > li.current-menu-item > a,
body.custom-background.page-template-page-orange .sc_layouts_row_type_normal .sc_layouts_item #menu_main a:hover,
body.custom-background.page-template-page-orange .sc_layouts_row_type_normal .sc_layouts_item #menu_main.sc_layouts_menu_nav > li.sfHover > a {
  color: #6B314A !important;
}
.post_content.entry-content,
.post_content.entry-content:not(h1),
.post_content.entry-content:not(h2),
.post_content.entry-content:not(h3),
.post_content.entry-content:not(h4),
.post_content.entry-content:not(h5),
.post_content.entry-content:not(h6),
.sc_promo .sc_promo_descr {
  text-align: justify;
}

/*Devouvrir l'outil*/
#decouvrir-outil .sc_promo_image,
#materiel-a-prevoir .sc_promo_image {
  background-position: right center;
}

/*SIDEBAR*/

/*page commander*/
.page-id-1644 #trx_addons_widget_banner-4 { display: none; }

/* FORM */
.wpcf7-form input[type="radio"] + span,
.wpcf7-form input[type="checkbox"] + span {
  position:relative;
  padding-left:1.5em;
  line-height:1.5em;
}

.wpcf7-form input[type="checkbox"] + span::before,
.wpcf7-form input[type="radio"] + span::before,
.wpcf7-form span[class*="acceptance"] input[type="checkbox"] + span::before {
  content:' ';
  font-family:fontello;
  display:block;
  text-align:center;
  border: 1px solid #a0cd96;
  position:absolute;
  left:0;
  top:50%;
  -webkit-transform: translateY(-50%);
     -moz-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
      -ms-box-sizing: border-box;
          box-sizing: border-box;
  font-size: 1.5em;
  width:0.6em;
  height:0.6em;
  line-height:0.53em;
}
.wpcf7-form input[type="radio"] + span::before {
  -webkit-border-radius: 50%;
     -moz-border-radius: 50%;
      -ms-border-radius: 50%;
      border-radius: 50%;
}
.wpcf7-form input[type="checkbox"]:checked + span::before {
  content:'\e8ab';
}
.wpcf7-form input[type="radio"]:checked + span::before {
  content:'\e83c';
}

form.wpcf7-form .votre-avis h6 { margin: 0.2em 0 0.15em; }
form.wpcf7-form .votre-avis .row { padding-bottom: 0; }

form.wpcf7-form .row {
  margin: 0;
}
form.wpcf7-form .itm {
  flex: 0  1 auto;
}
form.wpcf7-form .itm.num {
  flex: 1 1 25%;
}
form.wpcf7-form textarea { min-height: auto; }
form.wpcf7-form hr {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
  border: none;
  border-top: 1px solid #eee;
  margin: 1em 0;
}
form.wpcf7-form .sc_price_title {
  font-family: "Handelson", sans-serif;
}

.scheme_default form.wpcf7-form input[type="text"],
.scheme_default form.wpcf7-form input[type="number"],
.scheme_default form.wpcf7-form input[type="email"],
.scheme_default form.wpcf7-form input[type="tel"],
.scheme_default form.wpcf7-form input[type="search"],
.scheme_default form.wpcf7-form input[type="password"],
.scheme_default form.wpcf7-form .select_container,
.scheme_default form.wpcf7-form .select2-container .select2-choice,
.scheme_default form.wpcf7-form textarea,
.scheme_default form.wpcf7-form textarea.wp-editor-area,
.scheme_default form.wpcf7-form .select2-container .select2-selection--single {
  color: #8a8a8a;
  border-color: #e2e2e2;
  background-color: #f2f2f2;
}

/* MailChimp for WP styles
/* -> not usefull if mailchimp plugin is activated
----------------------------------------------------------------- */

.mc4wp-form .mc4wp-form-fields input[type="email"],
.mc4wp-form .mc4wp-form-fields input[type="submit"] {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}

.mc4wp-form .mc4wp-alert {
  margin: 1em 0 0;
}
.mc4wp-form .mc4wp-alert p {
    margin-bottom: 0.5em;
}

.mc4wp_side .mc4wp-form {
    padding-right: 0;
}
.mc4wp_side {
    background: #f2f2f2;
    padding: 2.3em 2em 2.8em;
    box-sizing: border-box;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-align: center;
}
.mc4wp_side h4 {
    font-size: 1.875em;
    font-weight: 800;
    letter-spacing: 0.005em;
    margin: 0.8em 0 0.45em;
    text-transform: uppercase;
}
.mc4wp_side p {
    line-height: 1.5em;
    letter-spacing: -0.4px;
    margin-bottom: 1.55em;
}
.mc4wp_side .mc4wp-form-fields input[type="email"] {
    width: 62%;
    background: #ffffff !important;
    border-color: #ffffff;
    -webkit-border-radius: 5px 0 0 5px !important;
    -moz-border-radius: 5px 0 0 5px !important;
    border-radius: 5px 0 0 5px !important;
    padding: 0.55em 1.2em;
}
.mc4wp_side .mc4wp-form-fields input[type="email"]:focus {
    background: #ffffff;
}
.mc4wp_side .mc4wp-form-fields input[type="submit"] {
    margin: 0;
    -webkit-border-radius: 0 5px 5px 0 !important;
    -moz-border-radius: 0 5px 5px 0 !important;
    border-radius: 0 5px 5px 0 !important;
}
.mc4wp-form-fields { padding-top: 5px }
.mc4wp-form-fields input[type="email"] {
    width: 77%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 1.2857em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    border-bottom: none !important;
    height: 3.1em;
    font-size: 14px !important;
    letter-spacing: -0.3px;
}
.mc4wp-form-fields input[type="submit"] {
    display: inline-block;
    padding: 0.55em 1.2em;
    margin: 0 0 0 0.6em;
    -webkit-transition: all ease 0.3s;
    -moz-transition: all ease 0.3s;
    -ms-transition: all ease 0.3s;
    -o-transition: all ease 0.3s;
    transition: all ease 0.3s;
    line-height: 1.2857em;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-bottom: 1px solid transparent;
    border-top: 1px solid transparent;
    font-size: 14px !important;
    height: 3.1em;
    letter-spacing: 0.6px;
    width: 34%;
    text-align: center;
}




.mc4wp_main p {
    margin-bottom: 1.1em;
}
.mc4wp_main {
    text-align: center;
    max-width: 416px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 3.1em 2.2em 3.3em;
    letter-spacing: -0.4px;
}
.mc4wp_main h4 {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.1px;
    text-transform: uppercase;
    margin-bottom: 9px;
}
.mc4wp_main .mc4wp-form-fields input[type="email"] {
    width: 96%;
    background: #ffffff;
    border-color: #ffffff;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    font-size: 20px !important;
    font-weight: 700;
    height: 44px;
    letter-spacing: 0;
    line-height: 44px;
    padding: 0.4em 0.7em;
    -webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
    box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.12);
    margin-bottom: 30px;
}
.mc4wp_main .mc4wp-form-fields input[type="email"]:focus {
    background: #ffffff;
}
.mc4wp_main .mc4wp-form-fields input[type="submit"] {
    margin: 0;
    -webkit-border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
}
.mc4wp_main .mc4wp-form-fields input[type="submit"] {
    padding: 0.55em 1.8em;
    width: auto;
    letter-spacing: 0;
}


/*------------mc4wp-------------*/

form.mc4wp-form input[name="AGREE_TO_TERMS"]{
  display: inline-block;
  position: relative;
  top: 1px;
  margin-right: 0.3em;
}

form.mc4wp-form div.mcfwp-agree-input{
  position: relative;
  margin-left: 0.4em;
  text-align: left;
  line-height: 1.5em;
}

form.mc4wp-form label.mcfwp-agree-input > span {
  display: block;
  padding-left: 1.3em;
  font-size: 0.75em;
}

form.mc4wp-form input[type="checkbox"] + span::before{
  top:0;
  -webkit-transform: translateY(60%);
  -ms-transform: translateY(60%);
  transform: translateY(60%);
  border-color: #8a8a8a!important;
}

.mc4wp_main form.mc4wp-form div.mcfwp-agree-input {
  position: absolute;
  top: 3em;
}

.mc4wp_main div.mc4wp-form-fields{
  position: relative;
}
