.scan_grid ul{
    list-style: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 0;
    position: relative;
    width: 100%;
}
header{
    position: sticky;
    top: 0;
    z-index: 10;
    transition: all 0.2s ease-in-out;
}
header.active{
    background: #fff;
}
.logo{
    transition: all 0.2s ease-in-out;
}
header.active .logo{
    height: 80px;
}
.scan_grid ul li{
    position: relative;
    z-index: 2;
    padding: 25px 57px;
    border-left: 2px solid #434343;
    color: rgb(67, 67, 67);
    font-size: 1.56rem;
    font-weight: 400;
    line-height: 1.88rem;
    width: 50%;
    height: 110px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 10px;
}

.scan_grid ul::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100%;
    background: #E3F988;
    z-index: -1;
}
.gabarites ul{
    list-style: none;
    margin: 0;
    width: 50%;
    color: rgb(0, 0, 0);
    font-size: 1.56rem;
    font-weight: 400;
    line-height: 1.88rem;
}
.gabarites ul li{
    display: inline-block;
}
.main_txt_section{
    margin-top: 50px;
    margin-bottom: 100px;
}

.main_txt_section p + p{
    margin-top: 20px;
}
.main_txt_section ul{
    margin: 25px 0;
    margin-left: 25px;
}
.main_txt_section h2{
    color: rgb(67, 67, 67);
    font-size: 3.13rem;
    font-weight: 700;
    line-height: 3.81rem;
    margin-bottom: 30px;
}
.main_txt_img{
    float: left;
    margin: 0 25px 25px 0;
    max-width: 40%;
}
.service_content h1{
    color: rgb(67, 67, 67);
    font-size: 3.13rem;
    font-weight: 700;
    line-height: 3.81rem;
    margin-bottom: 30px;
}
.key_item_hover_container::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #E3F988;
    opacity: 0.7;
    z-index: 0;
}
.key_hover_title{
    position: relative;
    z-index: 2;
}
.key_more{
    position: relative;
    z-index: 2;
}
.null{
    clear: both;
}
.footer_nav_item{
    max-width: 200px;
}
.produce_txt {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    height: 95px;
}
.htitle{
    max-width: 50%;
}

.modal {
    font-family: -apple-system,BlinkMacSystemFont,avenir next,avenir,helvetica neue,helvetica,ubuntu,roboto,noto,segoe ui,arial,sans-serif;
  }
  
  .modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  .modal__container {
    background: url(../img/form_bg.jpg)right bottom no-repeat;
    background: cover;
    padding: 100px 0 100px 80px;
    max-width: 100%;
    width: 700px;
    max-height: 100vh;
    overflow-y: auto;
    box-sizing: border-box;
    position: relative;
  }
  .modal_close{
    width: 25px;
    height: 25px;
    position: absolute;
    top: 25px;
    right: 25px;
    cursor: pointer;
  }
  .modal_form{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
    margin-top: 45px;
  }
  .modal_form input{
    width: 439px;
    height: 72px;
    border: 5px solid #fff;
    background: none;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    color: #FFFFFF;
    padding: 0 2%;
  }
  .modal_form input::placeholder{
    color: #fff;
  }
  .modal_btn{

  }
  .modal_title{
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    color: #434343;
  }
  
  .modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .modal_subtitle{
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    color: #FFFFFF;
    margin-top: 24px;
    }
  
  .modal__title {
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.25;
    color: #00449e;
    box-sizing: border-box;
  }
  
  .modal__close {
    background: transparent;
    border: 0;
  }

.modal__content {
  margin-top: 2rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  color: rgba(0,0,0,.8);
}

.modal__btn {
  font-size: .875rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #e6e6e6;
  color: rgba(0,0,0,.8);
  border-radius: .25rem;
  border-style: none;
  border-width: 0;
  cursor: pointer;
  -webkit-appearance: button;
  text-transform: none;
  overflow: visible;
  line-height: 1.15;
  margin: 0;
  will-change: transform;
  -moz-osx-font-smoothing: grayscale;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  transition: -webkit-transform .25s ease-out;
  transition: transform .25s ease-out;
  transition: transform .25s ease-out,-webkit-transform .25s ease-out;
}

.modal__btn:focus, .modal__btn:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.modal__btn-primary {
  background-color: #00449e;
  color: #fff;
}



/**************************\
  Demo Animation Style
\**************************/
@keyframes mmfadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}

@keyframes mmfadeOut {
    from { opacity: 1; }
      to { opacity: 0; }
}

@keyframes mmslideIn {
  from { transform: translateY(15%); }
    to { transform: translateY(0); }
}

@keyframes mmslideOut {
    from { transform: translateY(0); }
    to { transform: translateY(-10%); }
}

.micromodal-slide {
  display: none;
}

.micromodal-slide.is-open {
  display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
  animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
  animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
  animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
  animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
  will-change: transform;
}
@media screen and (max-width: 1399px){
    header.active{
        padding: 10px 0;
    }
}
@media screen and (max-width: 1200px){
    .key_item{
        border: none;
       /*  border-bottom: 1px solid #383c44; */
    }
    .produce_txt{
        height: auto;
        display: block;
    }
    .footer_nav_item{
        max-width: 100%;
    }
    .main_txt_section, .service_content h1{
        font-size: 1.4em;
        line-height: normal;
    }
    .main_txt_img{
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
    .modal__container{
        padding:30px 25px;
    }
    .modal_subtitle br{
        display: none;
    }
    .key_item_txt, .grid_item_txt, .produce_txt, .callback_txt, .how_item, .service_content, .produce_grid .more, .desc_last, .gabarit{
        line-height: normal;
        font-size: 1em;
    }
    .produce_grid .more{
        margin-top: 20px;
    }
    .produce_item_title{
        font-size: 1.5em;
        height: 84px;
    }
    .produce_grid .produce_item, .produce_grid .produce_item:nth-child(8n+4), .produce_grid .produce_item:nth-child(8n+8){
        padding: 40px 0;
    }
    .produce_grid{
        gap: 10px;
    }
    .gabarites ul{
        line-height: normal;
        font-size: 1em;
        width: 100%;
    }
    .scan_grid ul {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
    }
    .scan_grid ul li{
        line-height: normal;
        font-size: 1em;
    }
}
