/*
  Theme Name: S. Craft
  Description: Thème enfant du thème Divi par New Slang. Ce thème est désormais modifiable ! Enjoy :)
  Author: New Slang
  Author URI: https://newslang.ch
  Template: Divi
  Version: 1.0
*/

body {
  overflow-x: hidden;
}

h1 {
  background: -webkit-linear-gradient(rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.9) 100%);
  background: linear-gradient(rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.4) 70%, rgba(255,255,255,0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.et_pb_text_inner h1, .et_pb_text_inner h2, #press-header h1, #legal-notice-header h1 {
  font-weight: 200 !important;
}

.et_pb_text_inner p {
  font-weight: 400;
}

.et_pb_text_inner strong {
  font-weight: 600;
}

#header-menu li {
  font-size: 1em;
  padding-right: 16px;
}

#header-menu li a, #language-switcher li a {
  font-weight: 400;
  opacity: 0.7;
  color: white;
}

#header-menu li a:hover, #header-menu li.current-menu-item a,
#language-switcher li a:hover, #language-switcher li.wpml-ls-current-language a {
  opacity: 1;
  color: white;
}

.wpml-ls, .wpml-ls ul, #language-switcher li a {
  padding:0;
}

#language-switcher li a {
  padding-left: 16px;
}

#language-switcher {
  padding: 24px 0;
}

#custom-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: transparent;
}

#home-header .mejs-offscreen {
  color: transparent;
  background: rgba(40,40,48,0.4);
  top: 0;
  left: 0;
  bottom: 0px;
  right: 0;
  width: 100%;
  height: 110%;
  z-index: 1;
  clip-path: unset;
  clip: unset;
}

#home-header .et_pb_row_0  {
	z-index: 1;
}

#home-header {
  height: 100vh;
  min-height: 780px;
}

.header-cta a, #mc4wp-form-1 input[type=submit], .pre-order {
	text-transform: uppercase;
  font-weight: 500;
  background: transparent;
  display: inline-block;
  color: white;
  margin-top: 20px;
  border-radius: 200px;
  padding: 16px 32px;
  font-size: 0.8em;
  transition: all 0.5s;
  margin-right: 16px;
  border: 2px solid white;
  font-size: 17.6px;
}

.header-cta a:hover, #mc4wp-form-1 input[type=submit]:hover, .pre-order:hover,
.header-cta a:focus, #mc4wp-form-1 input[type=submit]:focus, .pre-order:focus
.header-cta a:active, #mc4wp-form-1 input[type=submit]:active, .pre-order:active {
  border-color: #2751d6;
}

#mc4wp-form-1 {
  padding: 0;
  margin-top: 32px;
}

#mc4wp-form-1 input[type=email] { 
  background: transparent;
  border: 0;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  width: 100%;
  padding: 12px;
  color: white;
  font-size: 1.2em;
  transition: all 0.8s;
}

#mc4wp-form-1 input[type=email]:focus { 
  border-bottom: 2px solid rgba(255,255,255,0.5);
}

#mc4wp-form-1 input[type=submit] {
  font-size: 1.2em;
  padding: 20px 32px;
  cursor: pointer;
}

#mc4wp-form-1 .small_infos {
  opacity: 0.7;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color: rgba(255, 255, 255, 0.3);
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: rgba(255, 255, 255, 0.3);
  opacity:  1;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: rgba(255, 255, 255, 0.3);
  opacity:  1;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: rgba(255, 255, 255, 0.3);
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: rgba(255, 255, 255, 0.3);
}

::placeholder { /* Most modern browsers support this now. */
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.8s;
}

:focus::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.5); }
:focus:-moz-placeholder { color: rgba(255, 255, 255, 0.5); }
:focus::-moz-placeholder { color: rgba(255, 255, 255, 0.5); }
:focus:-ms-input-placeholder { color: rgba(255, 255, 255, 0.5); }
:focus::-ms-input-placeholder { color: rgba(255, 255, 255, 0.5); }
:focus::placeholder { color: rgba(255, 255, 255, 0.5); }

.mc4wp-response {
  margin-top: 24px;
}

/* Technical details */

#home-header.technical-details .mejs-offscreen {
  background: linear-gradient(180deg, rgba(40,40,48,0.6) 0%, rgba(40,40,48,0.6) 100%);
}

#home-header.technical-details h1, #press-header h1, #legal-notice-header h1 {
  color: white;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background: none;
}

@media (max-width: 1200px) {

  header .et_pb_row--with-menu .et_pb_column_1_3 {
    width: 35%;
  }

  header .et_pb_row--with-menu .et_pb_column_1_tb_header {
    width: 18%;
  }

  #home-header .et_pb_column_2_5 {
    width: 60%;
  }

}

@media (max-width: 980px) {

  .mobile_menu_bar {
    z-index: 9;
  }

  #header-menu .mobile_nav.opened .mobile_menu_bar:before {
    content: "\32";
  }

  #mobile_menu1.et_mobile_menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0,0,0,0.8)!important;
    padding-top: 160px;
    z-index: 1;
  }

  #header-menu li {
    text-align: center;
  }

  #header-menu li a {
    font-size: 22px;
  }

  #header-menu {
    position: absolute;
  }

  #header-menu .mobile_nav .mobile_menu_bar:before {
    color: white;
  }

  #language-switcher {
    position: absolute;
    right: 0;
  }
      
  #language-switcher .wpml-ls-link {
    overflow: hidden;
    width: 38px;
    white-space: nowrap;
    text-transform: uppercase;
  }

  #language-switcher .wpml-ls-item-fr .wpml-ls-link {
    width: 36px;
  }

  header .et_pb_row--with-menu .et_pb_column_1_3 {
    width: 20% !important;
  }

  header .et_pb_row--with-menu .et_pb_column_1_tb_header {
    width: 60% !important;
  }

  #home-header .et_pb_column_2_5 {
    width: 60%;
  }

  #home-header .mejs-offscreen {
    background: rgba(40,40,48,0.6);
  }

  #movement_image {
    min-height: 400px;
    display: block;
    margin-bottom: 0;
  }

  #gallery .et_pb_gallery_item.et_pb_gallery_item_0_3 {
    display: none !important;
  }

  #gallery .et_pb_grid_item {
    margin-bottom: 0%;
  }

  #tech_gallery .et_pb_grid_item{
    width: 47%;
  }

}

@media (max-width: 768px) {

  #home-header .et_pb_row_0 {
    width: 350px;
  }

  #home-header .et_pb_column_2_5 {
    width: 100%;
  }

  #home-header #home-title h1 {
    font-size: 55px;
  }

  #movement_image {
    min-height: 300px;
  }

  #big_band_image {
    min-height: 500px;
    display: block;
    margin-bottom: 0;
    margin-top: -32px;
  }

  #gallery .et_pb_gallery_item.et_pb_gallery_item_0_3 {
    display: block!important;
  }

  #gallery .et_pb_grid_item {
    margin-bottom: 7.5%;
  }

}

@media (max-width: 650px) {

  #subscribe {
    background-position-x: 75%;
  }

}

@media (max-width: 479px) {

  .header-cta a, #mc4wp-form-1 input[type=submit] {
    width: 100%;
    text-align: center;
  }

  #custom-header {
    padding-top: 16px;
  }

  header .et_pb_row--with-menu .et_pb_column_0_tb_header {
    width: 20% !important;
  }

  header .et_pb_row--with-menu .et_pb_column_1_tb_header {
    width: 55% !important;
  }

  header .et_pb_row--with-menu .et_pb_column_2_tb_header {
    width: 25% !important;
  }

  header .et_pb_row--with-menu .et_pb_image_0_tb_header {
    width: 100%;
    margin-top: 10px;
  }

  #language-switcher .wpml-ls-item-fr .wpml-ls-link {
    padding-left: 6px;
    width: 26px;
  }

  #home-header .et_pb_row_0 {
    width: 75%;
  }

  #home-header .et_pb_column_2_5 {
    width: 100%;
  }

  #home-header #home-title h1 {
    font-size: 38px;
  }

  #home-header .et_pb_text_1 {
    font-size: 18px;
  }

  #tech_gallery .et_pb_grid_item{
    width: 100%;
  }

}

/* Hides menu for now */

/*#header-menu  {
  display:none;
}*/
