/*
-----------------------------------------------------------------------------------
CONTENT TYPE NODE SOLUTION
-----------------------------------------------------------------------------------
*/

/* CONTENT TYPE NODE SOLUTION - Content header */
#content-header{
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  box-shadow: 0 -25px 30px -25px rgba(0,0,0,0.2) inset;
  -webkit-box-shadow: 0 -25px 30px -25px rgba(0,0,0,0.2) inset;
  -moz-box-shadow: 0 -25px 30px -25px rgba(0,0,0,0.2) inset;
}

@media all and (min-width: 992px) {
  #content-header{
    height: calc(100vh - 168px);
    max-height: 580px;
  }
}

.content #content-header h1,
.content #content-header h2,
.content #content-header p {
  padding: 0 30px;
}



@media all and (min-width: 992px) {
  .content #content-header h1,
  .content #content-header h2 {
    padding: 0 100px 0 30px;
  }

  .content #content-header p {
    padding: 0 140px 0 30px;
  }
}

#content-header .field--name-field-cover-image .img-responsive {
  display: block;
  max-width: unset;
  min-height: auto;
  margin-bottom: 0;
  position: relative;
  right: 0;
  top: 0;
  z-index: -1;
  max-height: 580px;
  width: 100%;
}

@media all and (min-width: 992px) {

  #content-header .field--name-field-cover-image .img-responsive {
    position: absolute;
    width: auto;
  }

}

#content-header .field--name-field-cover-image {
  position: relative;
  display: block;
  height: inherit;
  overflow: hidden;
}

@media all and (min-width: 992px) {

  #content-header .field--name-field-cover-image{
    max-height: none;
    overflow: visible;
  }

}

#content-header-intro {
  position: relative;
  top: 0;
  left: 0;
  height: inherit;
  width: 100%;
  display: block;
  border-top: 10px solid #ccc;
}

@media all and (min-width: 992px) {
  #content-header-intro {
    position: absolute;
    height: inherit;
    width: 55%;
    border:none !important;
    display: block;
    flex-direction: column;
    justify-content: center;
    max-height: 580px;
  }
}
@media all and (min-width: 1200px) {
  #content-header-intro {
    padding-left: calc(50vw - (1170px / 2) - 30px);
  }
}

#content-header .background-side {
  background-color: #fff;
  display: none;
  width: 300%;
  height: 300%;
  transform: rotateZ(20deg);
  position: absolute;
  z-index: -1;
  top: -200%;
  left: -190%;
}

@media all and (min-width: 992px) {
  #content-header .background-side {
    display: block;
  }
}

#content-header a.scroll-down-icon,
#content-header a.scroll-down-icon:hover{
  display: none;
  z-index: 1;
  position: absolute;
  bottom: 0;
  width: 74px;
  height: 36px;
  background-color: #fff;
  border-radius: 100px 100px 0 0;
  left: calc( 50% - 36px);
  background-image: url('/themes/custom/idrgroupe21/images/icons/download.svg');
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: 50% 100%;
  margin: 0;
  padding: 0;
  box-shadow: 0 25px 30px 25px rgba(0,0,0,0.15);
  -webkit-box-shadow: 0 25px 30px 25px rgba(0,0,0,0.15);
  -moz-box-shadow: 0 25px 30px 25px rgba(0,0,0,0.15);
}

@media all and (min-width: 992px){
  #content-header a.scroll-down-icon,
  #content-header a.scroll-down-icon:hover{
    display:block;
  }
}


/* ADJUSTMENT */
@media all and (min-width: 992px) and (max-width: 1199px) and (max-height: 640px) {

  #content-header {
    height: 380px;
  }

  #content-header-intro {
    width: 60%;
  }
  .content #content-header h1 {
    font-size: 1.2rem;
    padding: 0 60px 0 30px;
    margin-top: 30px;
  }
  .content #content-header h2 {
    font-size: 1rem;
    padding: 0 60px 0 30px;
    margin: 10px 0;
  }
  .content #content-header p {
    padding: 0 70px 0 30px;
    font-size: 0.7rem;
  }
}

@media all and (min-width: 1200px) and (max-width: 1418px) and (max-height: 600px) {
  #content-header-intro {
    width: 60%;
  }
  .content #content-header h1 {
    font-size: 1.4rem;
    padding: 0 60px 0 30px;
    margin-top: 50px;
  }
  .content #content-header h2 {
    font-size: 1rem;
    padding: 0 60px 0 30px;
    margin: 10px 0;
  }
  .content #content-header p {
    padding: 0 70px 0 30px;
    font-size: 0.7rem;
  }
}

@media all and (min-width: 1279px) and  (min-height: 650px){
  #content-header-intro {
    display: flex;
  }
  .content #content-header h1 {
    margin-top: 0;
  }
}

@media all and (min-width: 1024px) and  (min-height: 900px){
  #content-header .field--name-field-cover-image .img-responsive {
    position: absolute;
    width: auto;
    min-width: 50%;
    max-height: unset;
    min-height: unset;
    max-width: unset;
    height: 580px;
  }
}
@media all and (min-width: 980px) and  (max-height: 740px) {

    #content-header .field--name-field-cover-image .img-responsive {
      display: block;
      max-width: unset;
      min-height: unset;
      margin-bottom: 0;
      position: absolute;
      right: 0;
      top: 0;
      left: unset;
      z-index: -1;
      max-height: unset;
      height: 100%;
      width: auto;
    }
}

@media all and (min-width: 1419px) and (max-height: 580px) {
  #content-header-intro {
    width: 60%;
  }
  .content #content-header h1 {
    font-size: 1.4rem;
    padding: 0 60px 0 30px;
    margin-top: 50px;
  }
  .content #content-header h2 {
    font-size: 1rem;
    padding: 0 60px 0 30px;
    margin: 10px 0;
  }
  .content #content-header p {
    padding: 0 70px 0 30px;
    font-size: 0.7rem;
  }
}

@media all and (min-width: 992px) and (min-aspect-ratio: 17/7) {
  #content-header .field--name-field-cover-image .img-responsive {
    position: absolute;
    width: auto;
    min-width: 50%;
    max-height: unset;
    min-height: 100%;
    max-width: 65%;
  }
}

/* DISCOVER BIG BLOCK */
#content-discover-intro {
  padding: 50px 30px;
  position: relative;
}

#content-discover {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
}

#content-discover .field--name-field-discover-section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  align-items: stretch;
  align-content: stretch;
}

#content-discover .field--name-field-discover-text p {
  margin: 20px 0;
}

#content-discover .discover.showcase-block {
  max-width: unset;
  padding: 20px 0 20px 0;
  position: relative;
  flex-grow: 0;
  align-items: normal;
  align-content: normal;
  display: flex;

}

@media all and (min-width: 540px) {
  #content-discover .discover.showcase-block {
    max-width: 49.9%;
    padding: 20px 10px;
    position: relative;
    flex-grow: 0;
    align-items: normal;
    align-content: normal;
    display: flex;
  }
}


@media all and (min-width: 992px) {
  #content-discover .discover.showcase-block {
    max-width: 24.99vw;
    padding: 20px 16px 20px 0;
    position: relative;
    flex-grow: 1;
    align-items: stretch;
    align-content: stretch;
    display: flex;
  }
}

@media all and (min-width: 1200px) {
  #content-discover .discover.showcase-block {
    max-width: calc(1170px / 4);
    padding: 20px 16px 20px 0;
  }
}




#content-discover .discover.showcase-block .img-responsive,
#content-discover .discover.showcase-block img{
  display: block;
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
}

#content-discover .discover.showcase-block a.shwocase-block,
#content-discover .discover.showcase-block a.shwocase-block:hover {
  display: inline-block;
  width: auto;
  height: auto;
  border: none;
  box-shadow: 4px 4px 15px 1px #ccc;
  background-color: #FFF;
  font-size: 0.8rem;
  margin: 0;
  color: #103b63;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  vertical-align: middle;
  padding: 0 ;
  border-bottom: 2px solid #103b63;
  align-items: stretch;
  align-content: stretch;
  min-height: 100%;
  text-decoration: none;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

#content-discover .discover.showcase-block a.shwocase-block:hover {
  background-color: #103b63;
  color: #ffffff;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

#content-discover .showcase-block-footer {
  padding: 0;
  border-top: 4px solid #103b63;
}

#content-discover .showcase-block-footer span {
  padding: 20px 20px 40px;
  display: block;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  line-height: 1.5;
}

#content-discover .discover.showcase-block a.shwocase-block:hover .showcase-block-footer span {
  color: #fff;
}

#content-discover .field--name-field-showcase-more-text {
  color: #103b63;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  line-height: initial;
  text-transform: uppercase;
  font-size: 0.65rem;
  text-align: right;
  padding: 0 30px 10px;
  position: absolute;
  bottom: 0;
  right: 10px;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}
#content-discover a.shwocase-block:hover .field--name-field-showcase-more-text {
  color: #ffffff;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}


#content-discover .discover.showcase-block .shwocase-block .showcase-block-footer::after {
  content: "\25B6\FE0E";
  margin: 0 0 0 10px;
  width: auto;
  height: auto;
  bottom: 11px;
  display: inline-block;
  position: absolute;
  right: 20px;
  line-height: 1.1rem;
  color: #ea5c1c;
  font-size: 1rem;
}

@media all and (min-width: 992px) {
  #content-discover .discover.showcase-block .shwocase-block .showcase-block-footer::after {
    right: 30px;
  }
  #content-discover .field--name-field-showcase-more-text {
    right: 26px;
  }
}

/* DISCOVER FAQ */

.content-discover-faq {
  padding: 20px 8px;
  position: relative;
  flex-grow: 1;
  align-items: stretch;
  align-content: stretch;
  display: flex;
  flex-direction: column;
  justify-content: normal;
}
@media all and (min-width: 992px) {
  .content-discover-faq {
    padding: 20px 8px;
  }
}

.faq-title {
  text-transform: uppercase;
  background-color: #eee;
  padding: 20px 60px 20px 20px;
  min-width: auto;
  font-size: 0.8rem;
  color: #103b63;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  line-height: initial;
  position: relative;
}

.faq-title .field--name-field-discover-logos svg {
  position: absolute;
  top: 0;
  width: auto;
  height: 100%;
  right: 0;
  background-color: #eee;
  fill: white;
  padding: 5px;
}

.solution .field--name-field-discover-faq-parts a,
.solution .field--name-field-discover-faq-parts a:hover{
  display: inline-block;
  width: auto;
  height: unset;
  border: none;
  box-shadow: none;
  background-color: transparent;
  font-size: 0.8rem;
  margin: 20px 10px 0;
  color: #103b63;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  line-height: initial;
  vertical-align: middle;
  padding: 0 0 0 32px;
  position: relative;
}

.solution .field--name-field-discover-faq-parts a:hover {
  color: #ea5c1c;
}

 .field--name-field-discover-faq-parts a::before {
  content: "\25B6\FE0E";
  margin: 0 0 0 10px;
  width: auto;
  height: auto;
  top: 0;
  display: inline-block;
  position: absolute;
  left:0;
  line-height: 1.1rem;
  color: #ea5c1c;
  font-size: 0.95rem;
}


.current-active .field--name-field-discover-faq-parts {
  display: none;
}

/*
------------------------------------------------------------------
SOLUTION Contact SECTION
------------------------------------------------------------------
*/

#content-contact-top{
  position: relative;
  width: 100%;
  height: auto;
  display: inline-block;
  padding: 50px 30px;
  background-color: #eee;
  text-align: center;
}

 #content-contact-top a {
  display: inline-block;
  width: auto;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 0;
  box-shadow: 4px 4px 15px 1px #ccc;
  background-color: #103b63;
  font-size: 0.8rem;
  margin: 20px 0;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 700;
  line-height: 45px;
  vertical-align: middle;
  padding: 0 15px;
  text-decoration: none;
  position: relative;
}

#content-contact-top a:hover {
  background-color: #ea5c1c;
}

#content-contact-top svg {
  display: block;
  width: auto;
  height: 26px;
  float: right;
  margin-left: 10px;
  margin-top: 10px;
  fill: #ea5c1c;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

 #content-contact-top a:hover svg {
  fill: #ffffff;

  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}


/*
------------------------------------------------------------------
SOLUTION ADVANTAGES SECTION
------------------------------------------------------------------
*/

#content-advantage{
  position: relative;
  width: 100%;
  height: auto;
  display: inline-block;
  padding: 50px 30px;
  text-align: left;
  background-color: #fff;
}

#content-advantage svg{
  height: auto;
  width: 50px;
  fill: #ea5c1c;
  margin: 0;
}
.page-node-type-solution  #content-advantage .advinfos{
  padding: 0;
  position: relative;
  display:block;
  color: #103b63;
  font-size: 0.9rem;
  margin: 10px;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  opacity:1;
}

.page-node-type-solution  #content-advantage .advinfos p {
  color: #103b63;
  font-size: 0.75rem;
  margin: 10px 0;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 300;
}

#content-advantage .field--name-field-advantages {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

#content-advantage .field--name-field-advantages-product-line {
  margin: 30px 0 0;
}

#content-advantage .field--name-field-advantages .paragraph {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: row;
  position: relative;
  justify-content: flex-start;
  align-items: flex-start;
}

@media all and (min-width: 992px) {
  #content-advantage .field--name-field-advantages .paragraph {
    width: calc(100% / 2);
    padding: 15px 15px 0;
    min-height: 100px;
  }
}


@media all and (min-width: 1239px) {
  #content-advantage .field--name-field-advantages .paragraph {
    width: calc(100% / 3);
  }
}

.field--name-field-advantage-title {
  padding: 0;
  position: relative;
  display:block;
  color: #103b63;
  font-size: 0.8rem;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 600;
  opacity:1;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}


#content-advantage .field--name-field-advantages .field--name-field-advantage-text {
  display: block;
  position: relative;
  padding: 10px 0;
  opacity: 1;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

@media all and (min-width: 992px) {


  .field--name-field-advantage-title {
    padding: 0;
    position: absolute;
  }

  #content-advantage .field--name-field-advantages .field--name-field-advantage-text {
    display: block;
    position: relative;
    padding: 0;
    opacity:0;
  }

  #content-advantage .field--name-field-advantages .paragraph:hover .field--name-field-advantage-text{
    opacity:1;
    -webkit-transition: all 0.3s 0s ease-in-out;
    -moz-transition: all 0.3s 0s ease-in-out;
    -o-transition: all 0.3s 0s ease-in-out;
    transition: all 0.3s 0s ease-in-out;

  }

  #content-advantage .field--name-field-advantages .paragraph:hover .field--name-field-advantage-title {
    opacity:0;
    -webkit-transition: all 0.3s 0s ease-in-out;
    -moz-transition: all 0.3s 0s ease-in-out;
    -o-transition: all 0.3s 0s ease-in-out;
    transition: all 0.3s 0s ease-in-out;
  }
}



#content-advantage .advinfos {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

#content-advantage .field--name-field-advantages .field--name-field-advantage-text p {
  color: #103b63;
  font-size: 0.75rem;
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 300;
}

#content-advantage .field--name-field-advantage-link {
  text-align: left;
  border-top: 1px solid #eee;
  padding: 20px 0 0;
  margin: 20px 0 0;
}

#content-advantage .field--name-field-advantage-link a{
  background-color: #103b63;
}
#content-advantage .field--name-field-advantage-link a:hover{
  background-color:  #ea5c1c;
}

#content-advantage .field--name-field-advantage-link a::after {
  content: "\25B6\FE0E";
  margin: 0 0 0 10px;
  width: auto;
  height: 50px;
  display: block;
  position: relative;
  right: 0;
  float: right;
  line-height: 44px;
  color: #ea5c1c;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

#content-advantage .field--name-field-advantage-link a:hover::after {
  line-height: 44px;
  color: #ffffff;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

/*
----------------------------------------------------
Solution Product line
----------------------------------------------------
*/


#content-product-line{
  position: relative;
  width: 100%;
  height: auto;
  display: inline-block;
  padding: 50px 30px;
  text-align: left;
  background-color: #103b63;
  color:#fff;
  overflow:hidden;
}

#content-product-line .background-side {
  background-color: #103b63;
  display: block;
  width: 100vw;
  height: 100vw;
  transform: rotateZ(20deg);
  position: absolute;
  z-index: 1;
  top: -50vw;
  right: 33vw;
  border: none;
}

#content-product-line .background-side {
  display: none;
}

@media all and (min-width: 992px) {

  #content-product-line .background-side {
    background-color: #103b63;
    display: block;
    width: 100vw;
    height: 100vw;
    transform: rotateZ(20deg);
    position: absolute;
    z-index: 1;
    top: -50vw;
    right: 33vw;
    border: none;
  }
}


#content-product-line .img-responsive {
  position: relative;
  top: 0;
  right: 0;
  margin: 0;
  min-width: 40vw;
  min-height: 100%;
  width: 100%;
  height: auto;
}


#content-product-line svg {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 70px;
  height: 70px;
  padding: 10px;
  fill: #fff;
  background-color: #ccc;
}

@media all and (min-width: 540px) {
  #content-product-line svg {
    width: 80px;
    height: 80px;
  }
}

@media all and (min-width: 992px) {

  .solution #content-product-line .img-responsive {
    position: absolute;
    height: 100%;
    width: auto;
    min-width: unset;
  }

  #content-product-line svg {
    width: 100px;
    height: 100px;
  }

}

#content-product-line .content-section {
  padding: 0;
  z-index: 3;
  position: relative;
  color: #fff;
  display: inline-block;
}

@media all and (min-width: 992px) {

  #content-product-line .content-section {
    padding: 0;
    padding-right: 45%;
  }

}

@media all and (min-width: 1199px) {

  #content-product-line .content-section {
    padding: 0;
    padding-right: 40%;
  }

}

@media all and (min-width: 1740px) {

  #content-product-line .content-section {
    padding: 0;
    padding-right: 30%;
  }

}




#content-product-line .content-section  h2{
  color:#fff;
}
#content-product-line .content-section  p {
  color:#fff;
}

#content-product-line .product-line-links{
  padding:30px 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  position: relative;
}


#content-product-line .content-section a {
  display: inline-block;
  width: auto;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 0;
  box-shadow: 4px 4px 15px 1px #0b365e;
  background-color: #103b63;
  font-size: 0.8rem;
  margin: 20px 0;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  letter-spacing: 0.1rem;
  font-weight: 700;
  line-height: 45px;
  vertical-align: middle;
  padding: 0 15px;
  text-decoration: none;
  position: relative;
}


#content-product-line .field--name-field-product-line-dowload-link a {
  display: block;
  width: 50px;
  height: 50px;
  background-color: #103b63;
  border: 2px solid #fff;
  box-shadow: 4px 4px 15px 1px #103b63;
  margin: 20px 10px 20px 0;
  font-size: 0;
  background-image: url('/themes/custom/idrgroupe21/images/icons/ic-ddl-o.svg');
  background-repeat: no-repeat;
  background-size: 65%;
  background-position: center;
}

#content-product-line .content-section .field--name-field-product-line-link a::after {
  content: "\25B6\FE0E";
  margin: 0 0 0 10px;
  width: auto;
  height: 50px;
  display: block;
  position: relative;
  right: 0;
  float: right;
  line-height: 44px;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}

#content-product-line .content-section .field--name-field-product-line-link a:hover::after {
  line-height: 48px;
  -webkit-transition: all 0.3s 0s ease-in-out;
  -moz-transition: all 0.3s 0s ease-in-out;
  -o-transition: all 0.3s 0s ease-in-out;
  transition: all 0.3s 0s ease-in-out;
}
#content-product-line .field--name-field-product-line-link a:hover {
  box-shadow: 4px 4px 15px 1px #103b63, 0 0 8px 0 inset #666;
}
#content-product-line .content-section .field--name-field-product-line-link a{
  background-color: #ea5c1c;
}


#content-product-line .content-section a:hover {
  background-color: #ea5c1c;
  line-height: 50px;
}
