/**
 * @file
 * Modules styles
 *
 * Modules are reusables CSS objects (components).
 * They can be utilized
 */


/**
 * TNS slider
 */
.tns-controls,
.tns-nav {
  text-align: center;
}
.tns-controls button {
  font-weight: bold;
  font-size: 1.2em;
  color: #fff;
  background: rgba(0,0,0,0.25);
  border: none;
}
.tns-nav button {
  display: inline-block;
  margin: 0 2px;
  height: 12px;
  width: 12px;
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  border: none;
}

/**
 * Basic Page
 */

.basic-page {
  padding: 2rem 0;
}

/**
 * Ckeditor Style
 */

.link--grey {
  color: #737373;
  text-decoration: underline;
}
.link--grey:hover {
  color: #000;
}

/** Picto Item Style **/

.picto-item {
  position: relative;
  margin-left: 35px;
}
.picto-item::before {
  position: absolute;
  content: "";
  display: block;
  height: 25px;
  width: 25px;
  top: 0;
  left: -35px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.picto-item--adress::before {
  background-image: url('../images/pin.svg');
}
.picto-item--phone::before {
  background-image: url('../images/phone.svg');
}
.picto-item--email::before {
  background-image: url('../images/send.svg');
}


/**
 * Hero Homepage
 */
.hero-homepage {

}
.hero-homepage__wrapper{
  position: relative;
  margin: 0 auto;
  text-align: center;
}
.hero-homepage__image img {
  display: block;
  margin: auto;
}
.hero-homepage__text{
  color:#fff;
  width:100%;
  height:40%;
  position: absolute;
  top: 0;
  left: 0px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
  padding: 1rem;
  /* max-width: 920px; */
}
.hero-homepage__title{
  max-width: 850px;
  font-size:1.2rem;
  font-weight: 600;
  line-height: 2.05em;
  font-size: 1.2rem;
}
.hero-homepage__subtitle{
  font-size:1.4rem;
  max-width: 920px;
  font-size: 1.25rem;
  font-weight: 600;
}
@media screen and (min-width:900px) {
  .hero-homepage__block{
    position: absolute;
    width: 500px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
  }
}
@media screen and (min-width:1000px) {
  .hero-homepage__title{
    font-size: 1.8rem;
  }
  .hero-homepage__subtitle{
    font-size: 1.875rem;
  }
}


.paragraph--type--image img{
  margin: 0 auto;
}

/**
 * Anchor
 */

.anchor__content{
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  background-color: #303030;
  color: #fff;
  padding: 40px 0;
  position: relative;
}
.anchor__content p{
margin: 0;
}
.anchor__content-link{
  position: relative;
}
.anchor__content-link a{
  visibility: hidden;
}
.anchor__content-link a::after{
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%,-50%);
  display: block;
  visibility: visible;
  content: "";
  height: 100px;
  width: 100px;
  background-image: url(/sites/carayon-beton.com/themes/custom/carayon/images/icons/icon-white-anchor.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}
@media screen and (min-width:1000px) {
  .anchor__content{
    font-size: 2.5rem;
  }
  .anchor__content-link a::after{
    top: 70%;
    height: 150px;
    width: 150px;
  }
}




/**
 * Cards
 */

.card-item__wrapper{
  display: flex;
  flex-direction: row;
  align-items: end;
}
.card-item__image img{
  height: 100px;
  width: 100px;
  display: block;
}
.card-item__title{
  font-size: 30px;
  font-weight: 700;
  margin-left: -35px;

}
.card-item__text{
  background-color: #EBEBEB;
  padding: 15px 25px;
  margin-top: 25px;
  min-height: 320px;
}


/**
 * Background image container
 */

.background-image__content{
  position: absolute;
  z-index: 2;
  color: #fff;
  /* height: 100%; */
  width: 100%;
}
.background-image__image{

}


/**
 * Text with icons
 */

.text-with-icons__content{
  max-width: 530px;
  font-weight: 700;
  padding: 15px 0;
}
.text-with-icons__title{
  font-size: 25px;
  /* font-weight: 700; */
  position: relative;
  font-size: 1rem;
  margin-left: 80px;
}
.text-with-icons__title::before{
  content:url(../images/icons/icon-black-square.svg);
  position: absolute;
  margin-left: -70px;
}
.text-with-icons__text{
  font-size: 0.825rem;
}
@media screen and (min-width:400px) {
  .text-with-icons__content{
    padding: 30px 0;
  }
  .text-with-icons__title{
    font-size: 1.2rem;
  }
  .text-with-icons__text{
    font-size: 1rem;
  }
}
@media screen and (min-width:500px) {
  .text-with-icons__content{
    padding: 30px 0;
  }
  .text-with-icons__title{
    font-size: 1.5rem;
  }
  .text-with-icons__text{
    font-size: 1.125rem;
  }
}
@media screen and (min-width:800px) {
  .text-with-icons-container-wrapper{
    padding:60px 0;
  }
}
@media screen and (min-width:1250px) {
  .text-with-icons-container-wrapper{
    padding: 10px  0;
  }
  .text-with-icons__title{
    font-size: 2.375rem;
  }
  .text-with-icons__text{
    font-size: 1.688rem;
  }
}
@media screen and (min-width:1500px) {
  .text-with-icons-container-wrapper{
    padding: 110px 0;
  }
}


/**
 * Products
 */

.product__item-list{
  list-style-type:none;
  padding-left: 0;
  padding-bottom: 3rem;
  position: relative;
}
.product__item{
  position: relative;
  display: block;
  max-width: 440px;
  background-color: #EBEBEB;
  padding-bottom: 1px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
}
.product__item-content{
  padding: 1rem;
  color: #303030;
}
.product__item-title{
  font-size: 1.875rem;
  font-weight: 600;
}
.product__item-file{
  font-size: 1.5rem;
  position: relative;
  display: flex;
}
.product__item-file a{
  color:#303030;
}
.product__item-file::after{
  content:url(../images/icons/icon-yellow-arrow.svg);
  position: absolute;
  top: 5px;
  left: 135px;
}
@media screen and (min-width:750px) {
  .product__item{
    margin-left: inherit;
    margin-right: inherit;
  }
  .product__item-content{
    padding: 1.5rem;
  }
}


/**
 *
 * Override pdf icon
 */

.file--application-pdf {
  background-image: none;
}
.file{
  padding-left: 0;
}


/**
 * formulaire
 */

.formulaire {
  background-color: #F8F8F8;
}


/**
 * Delivery Block
 */

.delivery-block {
  max-width: 500px;
  margin: 1rem auto;
  -webkit-box-shadow: 5px 5px 40px 0px rgba(0,0,0,0.2);
  box-shadow: 5px 5px 40px 0px rgba(0,0,0,0.2);
}
.delivery-block__heading {
  background-color: #FFE401;
  padding: 1rem;
  text-align: center;
  font-size: 1.1rem;
}
.delivery-block__heading p {
  margin: 0.5rem 0;
}
.delivery-block__content {
  background-color: #303030;
  padding: 1rem 1rem 2rem;
  color: #fff;
}
.delivery-block__content p {
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
}
.delivery-block__content form {
  display: flex;
  justify-content: center;
  align-items: center;
}
.delivery-block__content .select2-container{
  border-radius: 0;
  vertical-align: bottom;
}
.delivery-block__content .select2-selection{
  border-radius: 0;
  border: 1px solid #707070;
  padding: 1rem;
  text-align: left;
}
.delivery-block__content .select2-selection textarea.select2-search__field{
  border-radius: 0px;
  color: rgb(0, 0, 0);
  margin: 0px;
  height: 22px;
}
.delivery-block__content .select2-selection__rendered{
  margin: 0;
  display: inline-block;
}
.delivery-block__content .select2-container--default .select2-selection--multiple .select2-selection__choice{
  margin: 0;
  background-color: transparent;
  color: black;
  border: none;
}
.delivery-block__content .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  border: none;
}
.delivery-block__cta {
  background-color: #FFE401;
  color: #000;
  text-transform: uppercase;
  font-size: 1.1rem;
  border: 1px solid #707070;
  width: 50px;
  height: 58px;
  display: inline-block;
}
@media screen and (min-width:425px) {
  .delivery-block__content {
    padding: 1rem 2rem 2rem;
  }
}
@media screen and (min-width:750px) {
  .delivery-block {
    margin: 1rem auto;
  }
}
@media screen and (min-width:900px) {
  .delivery-block__content p {
    margin-top: 0.5rem;
  }
}
@media screen and (min-width:1000px) {
  .delivery-block__content p {
    font-size: 1.3rem;
  }
}
@media screen and (min-width:1200px) {
  .delivery-block__content p {
    font-size: 1.5rem;
  }
  .delivery-block__heading {
    font-size: 1.5rem;
  }
}

/** Hero Homepage Block **/
.hero-homepage__block .delivery-block {
  max-width: inherit;
  box-shadow: none;
  margin: 0;
}
.hero-homepage__block .delivery-block__content {
  padding: 1rem 1rem 2rem;
}
.hero-homepage__block .delivery-block__cta {
  width: 80px;
}
@media screen and (min-width:750px) {
  .hero-homepage__block .delivery-block {
    margin: 0;
  }
}
@media screen and (min-width:1000px) {
  .hero-homepage__block .delivery-block__heading {
    font-size: 1.1rem;
  }
  .hero-homepage__block .delivery-block__content .select2-container{
    margin-left: 0;
  }
}

/**
 * help Calcul Volume
 */

.help-calc-volume {
  font-style: italic;
  text-decoration: underline;
  cursor: pointer;
  color: #303030;
}

/**
 * Form Volume Beton
 */

.form-element-volume-beton {
  width: 100%;
  max-width: 100%;
}
.form-element-volume-beton .form-text {
  max-width: 100%;
  padding: 1rem;
  background-color: #EBEBEB;
  border: none;
}
.form-element-volume-beton .field-suffix {
  padding-left: 25px;
  font-weight: 700;
}
@media screen and (min-width:500px) {
  .form-element-volume-beton .form-text {
    max-width: 300px;
  }
}

/**
 * Volume Block
 */

.volume-block {
  display: none;
  background-color: #EBEBEB;
  padding: 1.5rem ;
  margin: 1rem 0;
}
.volume-block.js-active {
  display: block;
}
.volume-block__heading {
  padding-left: 40px;
  position: relative;
}
.volume-block__heading::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 25px;
  height: 25px;
  display: block;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url('../images/arrow-yellow.svg');
}
.volume-block__title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0;
  margin-top: 0.5rem;
}
.volume-block__info {
  margin-top: 0.33rem;
  font-style: italic;
}
.volume-block__space {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1rem;
}
.volume-block__item p{
  margin: 0 0 0.5rem;
}
.volume-block input {
  padding: 1rem;
  width: 100%;
  border: none;
  color: #303030;
}
@media screen and (min-width:900px) {
  .volume-block {
    max-width: 1000px;
  }
  .volume-block__calc {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding-left: 40px;
    padding-right: 40px;
  }
  .volume-block__result {
    padding-left: 40px;
  }
}


/**
 * Cookies module custom colors
 */

/* Small banner */
.cookiesjsr-banner, .cookiesjsr-btn{
  background-color: #2D2D2D;
}
.cookiesjsr-btn.important{
  color:#2D2D2D;
}
/* Popin */
.cookiesjsr-service-group.active .cookiesjsr-service-group--content,
.cookiesjsr-service-group.active .cookiesjsr-service-group--tab{
  background-color: #2D2D2D;
}
.cookiesjsr-btn.invert{
  border-color: #2D2D2D;
  color: #2D2D2D;
}
.cookiesjsr-btn.important.invert{
  border-color: #2D2D2D;
  background-color: #2D2D2D;
}
.cookiesjsr-service--always-on span{
  padding:0.5rem 1rem;
  border:2px solid #fff;
  font-weight: 700;
}


.path-frontpage .paragraph--type--background-image-container {position: relative;}
.path-frontpage .paragraph--type--background-image-container .background-image__content {left: 0; top: 0;}


/* #edit-container-left {background: #F8F8F8;padding: 0.5em 1.8rem;display: flex;flex-wrap: wrap;justify-content: space-between;}
#edit-container-left input[type="text"] {display: block; border: 0; height: 32px; border-radius: 5px; padding: 0.5em;}
#edit-container-left input[type="email"] {display: block; border: 0; height: 32px; border-radius: 5px; padding: 0.5em;}
#edit-container-left select {display: block; border: 0; height: 32px; border-radius: 5px; padding: 0.5em;}


#edit-container-right {background: #F8F8F8; padding: 0.5em 1.8rem; display: flex; flex-wrap: wrap; justify-content: space-between;}
#edit-container-right input[type="text"] {display: block; border: 0; height: 32px; border-radius: 5px; padding: 0.5em;}
#edit-container-right textarea {border: 0; border-radius: 5px; padding: 0.5em;}
#edit-container-right select {display: block; border: 0; height: 32px; border-radius: 5px; padding: 0.5em;} */
