.half-grey-blue-bg{
  background: linear-gradient(to bottom, #F0F0F0 0%, #F0F0F0 50%, #2b3c43 50%, #2b3c43 100%);
}

@media (min-width: 1023px) {
  .yellow-icon-img{
    transform: scale(50%);
  }
}

@media (min-width: 1800px){
  .margin-left-negative{
    margin-left: -350px !important;
  }
}


.hover-box{
  transition: all 0.3s ease-in-out;
}

.hovered-box{
  opacity: 0;
  transition: opacity 0.3s ease !important;

}

.hover-box:hover .hovered-box {
  display: block;
  opacity: 1;

}

.dialog-off-canvas-main-canvas{
  position: relative;
  z-index: 0;
}

.homepage-icons .e,
.homepage-icons #c{
  fill: #fff;
}

.icon {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.column-single .icon {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.icon-text-right {
  padding-left: 2rem;
}

.column-single .icon-text-right div {
  color: #141617;
  font-size: 1.6rem;
  font-weight: 700;
}

.vertical-icon {
  color: #b9975b !important;
}

.column-single a {
  text-align: center;
}

.column-single .icon-text-right a {
  text-decoration: underline;
  color: rgb(26, 55, 84);
}

.column-single .icon-text-right p {
  color: rgb(112, 112, 112);
  font-weight: 500;
  max-width: 500px;
  font-size: 15px;
}

.column-single .icon-text-right p {
  color: rgb(112, 112, 112);
  font-weight: 500;
  max-width: 500px;
}

.column-single .icon-title {
  padding-bottom: 0.2rem;
}

.column-single .icon-text-right {
  padding-left: 1.75rem;
  max-width: 80%;
}

.column-single .icon-top .icon-text-right {
  padding:0 !important;
  max-width: 80%;
}

@media(min-width: 1024px) {
  .columns-slider > :nth-child(2) {
    background-color: #F4F4F4;
  }
}

.page-node-193 .btn-blue
{
  margin: 20px 0 65px 0 ;
}

.page-node-194 .btn-blue{
  margin:65px 0 50px 0
}

/* Article Page */
.page-node-8 .views-field-field-image img{
  max-height: 188px;
  object-fit: cover;
}

.caption{
  font-size: small;
  color: rgb(112,112,112);
  padding-top: 10px;
}

.fit-content {
  width: fit-content;
}

.no-underline,
.no-underline a,
.no-underline u {
  text-decoration: none !important;
  color: white;
}

.full-width-text ul {
  margin-left: 35px;
}


.full-width-text ul li{
  margin-bottom: 1rem;
}

.page-node-96 .full-width-text{
  padding-top:4.5rem ;
  padding-bottom:4.5rem ;
}
.page-node-96 .full-width-text p {
  line-height: 2rem;
}



.main-wrapper.full-width-text > *:last-child {
  padding-bottom: 0 !important;
}

.up-arrow {
  display: flex;
}

.right-text a{
  text-decoration: underline;
  color: black;
}



/* Target the first .tlir within each block */
.page-node-3 .layout-container > main > .tlir {
 padding-top: 4rem !important;
}

.page-node-3 .layout-container > main > .tlir ~ .tlir {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

 .page-node-3 .layout-container > main > .tlir ~ .tlir ~ .tlir {
  padding-bottom: 4rem !important;
}

/* Webforms */

.webform-name .webform-flexbox {
  align-items: end;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #b9975b;
  width: 100%;
}

.contact-form .form-required::after {
  background-image: url(/themes/custom/esj/images/form-required2.svg);
}
.contact-form input.btn {
  width: fit-content;
  padding-left: 20px;
  padding-right: 20px;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #2b3c43;
  outline: 0;
}

.contact-form label {
  font-weight: 700;
}
/* Careers */
.page-node-19 .full-width-text li::marker{
  color:#707070;
}

.page-node-19 .leading-7 li::marker{
  color:#000000;
}

@media screen and (min-width: 1024px) {
  .negative-margin {
    margin-bottom: -75px;
  }
  .up-arrow {
    display: flex;
    transition: all 0.3s ease-in-out;
  }
  .up-arrow:hover {
    background-color: #ba3338;
  }
}


/* Language Switcher */

.language-switcher-language-url{
  position: relative;
  width: 20px;
}

@media (max-width:1024px) {
  .language-switcher-language-url{
    width: auto !important;
  }
}

.language-switcher-language-url a {
  color: black;
  text-decoration: none;
  color: transparent;
  position: relative;
  display: block;
  width: 24px;
  overflow: hidden;
}

.language-switcher-language-url li::marker {
  content: '' ;
}

body.en .language-switcher-language-url li:first-child {
  display: none;

}

body.fr .language-switcher-language-url li:last-child {
  display: none;
}
.language-link{
  position: relative;
}
body.fr .language-switcher-language-url li:first-child::after {
  content: 'EN';
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

body.en .language-switcher-language-url li:last-child::after {
  content: 'FR';
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
}

body.fr .language-switcher-language-url li:first-child:hover::after,
body.en .language-switcher-language-url li:last-child:hover::after{
  color: black;
}

/* body.fr .newsletter,
body.fr .divider,
.page-node-76 .newsletter,
.page-node-76 .divider,
.page-node-96 .newsletter,
.page-node-96 .divider

{
  display: none;
} */


.header-arrow{
  filter: saturate(0%)
}

/* White Arrow Home Page */


.white-arrow{
  width: 20rem;
  height: 16rem;
  left: -2%;
}

@media screen and (max-width: 1810px) {
  .white-arrow{
    width: 18rem;
  }
  .animate-arrow-slide-right{
    margin-left: -25rem;
  }
}
@media screen and (max-width: 1740px) {
  .white-arrow{
    width: 16rem;
  }
}
@media screen and (max-width: 1685px) {
  .white-arrow{
    width: 14rem;
  }
}
@media screen and (max-width: 1620px) {
  .white-arrow{
    width: 11rem;
  }
}

@media screen and (max-width: 1520px) {
  .white-arrow{
    width: 8rem;
  }
}

@media screen and (max-width: 1435px) {
  .white-arrow{
    width: 6rem;
  }
}
@media screen and (max-width: 1364px) {
  .white-arrow{
    width: 5rem;
  }
}

@media screen and (max-width: 1335px) {
  .white-arrow{
    width: 4rem;
  }
}
@media screen and (max-width: 1023px) {
  .white-arrow{
    width: 20rem;
  }
}
@media screen and (max-width: 930px) {
  .white-arrow{
    width: 15rem;
  }
}
@media screen and (max-width: 845px) {
  .white-arrow{
    width: 12rem;
  }
}

@media screen and (max-width: 785px) {
  .white-arrow{
    width: 10rem;
  }
}
@media screen and (max-width: 750px) {
  .white-arrow{
    width: 7rem;
  }
}

@media screen and (max-width: 705px) {
  .white-arrow{
    height: 6rem;
  }
}


/* Slick Slider */

.slick-initialized .slick-slide{
  display: flex !important;
}



.slick-dots{
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: -65px;
  padding-bottom: 20px;
  position: relative;
  z-index: 9999;
}

.review-slider .slick-dots{
  position: absolute;
  right: 150px;
  flex-direction: column;
  top: 50%;
}

@media (max-width: 1023px) {
  .review-slider .slick-dots{
    flex-direction: row;
    justify-content: center;
    top: 103%;
  }
  
}

.review-slider .slick-dots li button{
  border-color: #2C3B41;
  height: 25px;
  width: 25px;
}

.review-slider .slick-dots .slick-active button{
  background-color: #2C3B41;
}

.slick-dots li::marker{
  color: white !important;
}

.slick-dots button{
  border: 2px solid grey;
  border-radius: 50%;
  height: 15px;
  width: 15px;
}
.slick-dots button{
  color: transparent;
}

.slick-active button{
  background-color: grey;
}

.hover-yellow,.hover-black{
  transition: all 0.3s ease-in-out;
}

.hover-yellow:hover{
  fill: rgb(185 151 91)  !important;
}

.hover-black:hover{
  fill: black  !important;
}


/* Google Translate */
#block-esj-googletranslator{
  visibility: hidden;
  height: 0px;
}
.skiptranslate,
#goog-gt-tt{
  display: none !important;
}

#language-select{
  background-image: url('/themes/custom/esj/images/chevron-down.svg');
  background-size: 10px;
  background-position: right center;
  background-repeat: no-repeat;
  padding-right: 7px;
}

.category p font,
.text-align-center font {
  background-color: transparent !important;
  border: none !important; 
  box-shadow: none !important;
}
