.ig-jobs-section * {
    box-sizing: border-box;
}

.ig-job-container{
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.ig-job-container .ig-job-row{
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.ig-job-container .ig-job-row .ig-job-col{
    width: calc(100% / 4);
    padding: 0 10px;
}

.ig-job-container .ig-job-row .ig-job-col img.ig-job-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-height: 280px;
    max-height: 280px;
}

.ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content{
    min-height: 280px;
    position: relative;
    margin: 10px 0;
}

@media screen and (max-width: 1256px){
    .ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content{
        min-height: 200px;
    }

    .ig-job-container .ig-job-row .ig-job-col img.ig-job-img{
        min-height: 200px;
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 992px) {
    .ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content{
        min-height: 180px;
    }

    .ig-job-container .ig-job-row .ig-job-col img.ig-job-img{
        min-height: 180px;
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 768px) {
    .ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content{
        min-height: 120px;
    }

    .ig-job-container .ig-job-row .ig-job-col img.ig-job-img{
        min-height: 120px;
        aspect-ratio: 1/1;
    }
}

@media screen and (max-width: 576px) {
    .ig-job-container .ig-job-row .ig-job-col{
        width: calc(100% / 2);
    }

    .ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content{
        min-height: 150px;
    }

    .ig-job-container .ig-job-row .ig-job-col img.ig-job-img{
        min-height: 150px;
        aspect-ratio: 1/1;
    }
}

.ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content .ig-job-overlay{
    position: absolute;
    background: rgba(0, 0, 0, .7);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    opacity: 0;
    transition: opacity .3s ease;
}

.ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content:hover .ig-job-overlay{
    opacity: 1;
}

.ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content .ig-job-overlay .ig-job-btn{
    position: absolute;
    background: #000;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    text-transform: uppercase;
}

.ig-job-container .ig-job-row .ig-job-col  .ig-job-item-content .ig-job-overlay .ig-title{
    display: flex;
    margin-top: auto;
    margin-bottom: auto;
}

.ig-jobs-popup-overlay{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    z-index: 99998;
}

.ig-jobs-popup{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    z-index: 99999;
    box-sizing: border-box;
    width: 70%;
    border-radius: 15px;
    overflow-y: auto;
    max-height: 100%;
    display: grid;
    grid-template-columns: 65% 35%;
}

.ig-jobs-popup .close-btn-wrap{
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 0 15px 0;
}

.ig-jobs-popup .close-btn{
    background: #fff;
    border: 0;
    font-size: 28px;
    padding: 30px 0 0 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.ig-jobs-popup .close-btn img{
    width: 100%;
    height: auto;
}

/*.ig-jobs-popup.ig-show{*/
/*    display: flex;*/
/*    animation-name: dss-popup-fadein;*/
/*    animation-fill-mode: forwards;*/
/*    animation-duration: .6s;*/
/*}*/

/*.ig-jobs-popup.ig-hide{*/
/*    display: flex;*/
/*    animation-name: dss-popup-fadeout;*/
/*    animation-fill-mode: forwards;*/
/*    animation-duration: .6s;*/
/*}*/

/*.ig-jobs-popup-overlay.ig-show{*/
/*    display: block;*/
/*    animation: dss-fadein;*/
/*    animation-fill-mode: forwards;*/
/*    animation-duration: 1s;*/
/*}*/

/*.ig-jobs-popup-overlay.ig-hide{*/
/*    display: block;*/
/*    animation: dss-fadeout;*/
/*    animation-fill-mode: forwards;*/
/*    animation-duration: 1s;*/
/*}*/

@media screen and (max-width: 1576px) {
    .ig-jobs-popup {
        width: 90%;
    }
}

.ig-jobs-popup > * {
    box-sizing: border-box;
}

.ig-jobs-popup > div:nth-child(1){
    flex-grow: 1;
    flex-basis: 65%;
}

.ig-jobs-popup > div:nth-child(2){
    flex-grow: 1;
    flex-basis: 35%;
}

.ig-jobs-popup .images-wrap{
    display: flex;
    flex-wrap: wrap;
    padding: 50px;
    background: #EEEEEE;
  grid-row-start: 1;
  grid-row-end: 6;
  grid-column-start: 1;
  grid-column-end: 2;
}

.ig-jobs-popup .images-wrap:not(.only-one-image) .img-wrap{
    padding: 30px 10px;
    width: calc(100% / 2);
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ig-jobs-popup .images-wrap.only-one-image .img-wrap{
    padding: 30px 10px;
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ig-jobs-popup .images-wrap:not(.only-one-image) .img-wrap .img-border-radius{
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: 350px;
    max-height: 350px;
    aspect-ratio: 1/1;
}

.ig-jobs-popup .images-wrap.only-one-image .img-wrap .img-border-radius{
    overflow: hidden;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 600px;
    aspect-ratio: 1/1;
}

.ig-job-pag-col{
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.ig-job-pag-col button {
    background: #fff;
    border: 0;
    font-size: 18px;
    padding: 40px 40px;
    display: none;
}

@media screen and (max-width: 1276px){
    .ig-jobs-popup .images-wrap .img-wrap {
        padding: 15px 5px;
    }

    .ig-jobs-popup .images-wrap{
        padding: 25px;
    }

    .ig-jobs-popup .images-wrap .img-wrap .img-border-radius{
        max-width: 260px;
        max-height: 260px;
    }
}

@media screen and (max-width: 1076px){
    .ig-jobs-popup > div:nth-child(1){
        flex-grow: 1;
        flex-basis: 50%;
    }

    .ig-jobs-popup > div:nth-child(2){
        flex-grow: 1;
        flex-basis: 50%;
    }


    .ig-jobs-popup .images-wrap .img-wrap{
        width: 100%;
    }

    .ig-jobs-popup .images-wrap .img-wrap .img-border-radius{
        max-width: unset;
        max-height: 300px;
    }
}

.ig-jobs-popup .images-wrap .img-wrap .img-border-radius img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 1/1;
}

.ig-jobs-popup .right-sidebar {
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 40px;
}

.ig-jobs-popup .product-img-wrap{
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 15px;
}

.ig-jobs-popup .ig-popup-product-link{
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #353C6B;
    border-radius: 8px;
    font-size: 18px;
}

.ig-jobs-popup .ig-gallery-link {
    display: block;
    color: #fff;
    width: 100%;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 12px;
    background: #353C6B;
    border-radius: 8px;
    font-size: 18px;
}

.ig-jobs-popup .product-link-wrap {
  padding:0 15px 40px;
  display: grid;

  grid-gap: 6px;
  grid-template-columns: 1fr 1fr;  
}

.ig-jobs-popup.gallery-page .product-link-wrap {
  /*grid-template-columns: 1fr;*/  
}

.ig-jobs-popup .product-info-wrap{
    background: #353C6B;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    margin: 0 15px 40px;
}

.ig-jobs-popup .attributes-table{
    display: flex;
    flex-wrap: wrap;
}

.ig-jobs-popup .attributes-table span{
    flex-basis: 50%;
    padding-top: 7px;
    padding-bottom: 7px;
}

.ig-jobs-popup .attributes-table span:nth-child(odd){
    max-width: 160px;
}

.ig-jobs-popup .product-title{
    font-size: 28px;
    margin-bottom: 10px;
    margin-top: 0;
    padding: 0;
}

.ig-jobs-popup .product-collection{
    font-weight: 400;
    font-style: italic;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
}

.ig-jobs-popup .author-wrap{
    font-style: italic;
    font-size: 20px;
}

.ig-jobs-popup .author-wrap > div{
    font-weight: 600;
}

.ig-jobs-popup .author-wrap > h4{
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: normal;
}

.ig-jobs-title-wrap{
    width: 100%;
    text-align: center;
    margin-top: 30px;
    margin-bottom: 40px;
}

.ig-jobs-title-wrap hr{
    width: 100%;
    height: 1px;
    border: 0;
    background: #EEEEEE;
}

@media screen and (max-width: 768px) {
    .ig-jobs-popup{
        grid-template-columns: 1fr;
        transform: unset;
        left: 0;
        top: 0;
        width: 100%;
        border-radius: 0;
    }
  
    .ig-jobs-popup .product-img-wrap {
        padding-bottom: 15px;
        padding-top: 15px;
    }
  
    .ig-jobs-popup .images-wrap {
      grid-row-start: 4;
      grid-row-end: 5;
      grid-column-start: 1;
      grid-column-end: 2;
      margin-bottom: 15px;
      padding: 15px;
    }
  
    .ig-jobs-popup .images-wrap:not(.only-one-image) .img-wrap {
      padding-top: 7px;
      padding-bottom: 7px;
    }

    .ig-jobs-popup .images-wrap.only-one-image .img-wrap {
        padding: 0;
    }  
  
    .ig-jobs-popup .product-info-wrap {
      margin-bottom: 15px;
    }
  
  .ig-jobs-popup .product-link-wrap {
    padding-bottom: 15px;
    height: 65px;
  }

}

@media (min-width: 769px) and (max-width: 991px) {
  .ig-jobs-popup{
      width: 96%;
      grid-template-columns: 58% 42%;
  }  
}

@keyframes dss-fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes dss-fadeout {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes dss-popup-fadein {
    0% {
        transform: translate(-50%, -75%);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes dss-popup-fadeout {
    0% {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -75%);
        opacity: 0;
    }
}

/* images popup slider */

.ig-jobs-popup-image-slider {
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  z-index: 99999;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  max-height: 100vh;
  padding: 0 30px 30px;
  display: none;
}

@media (min-width: 769px) and (max-width: 1576px) {
  .ig-jobs-popup-image-slider {
    width: 90%;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 1577px) {
  .ig-jobs-popup-image-slider {
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
  }  
}

.ig-jobs-popup-image-slider__header .close-btn-wrap{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.ig-jobs-popup-image-slider__header .close-popup-image-btn{
    background: #fff;
    border: 0;
    font-size: 28px;
    margin: 15px 0 0 0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
}

.ig-jobs-popup-image-slider__header .close-popup-image-btn img{
    width: 100%;
    height: auto;
}

.ig-jobs-popup-image-slider .slick-slide img {
  max-height: calc(100vh - 70px);
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
}

.popup-gallery-image-slider {
  height: calc(100vh - 70px);
  position: relative;
}

.popup-gallery-image-slider .slick-list, .popup-gallery-image-slider .slick-track {
  height: 100%;
}

.popup-gallery-image-slider .img-slide {
  height: 100%;
  position: relative;
}

.slick-slider .img-slide.slick-slide:not(.slick-current) {
    height: 100% !important;
}

.popup-gallery-image-slider .img-slide-wrap {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-gallery-image-slider .slick-next {
  right: 10px;
  background: #353c6b;
  height: 32px;
  width: 32px;
}

.popup-gallery-image-slider .slick-prev {
  left: 10px;
  z-index: 2;
  background: #353c6b;
  height: 32px;
  width: 32px;
}

.popup-gallery-image-slider .slick-next:hover, .popup-gallery-image-slider .slick-next:focus, .popup-gallery-image-slider .slick-next.slick-disabled {
  background: #B5B8BF;
}

.popup-gallery-image-slider .slick-prev:hover, .popup-gallery-image-slider .slick-prev:focus, .popup-gallery-image-slider .slick-prev.slick-disabled {
  background: #B5B8BF;
}

.popup-gallery-image-slider .slick-next:before {
  content: "\f105";
  color: #fff;
  font-family: FontAwesome;
}

.popup-gallery-image-slider .slick-prev:before {
  content: "\f104";
  color: #fff;
  font-family: FontAwesome;
}

.popup-gallery-image-slider .slick-disabled {
  opacity: .25;
}

/* sdearch form */
#gallery_search {
  display: grid;
  gap: 5px;
  grid-template-columns: 1fr 120px;
  width: 100%;
}

.gallery_search__input {
  font-size: 18px;
  border: none;
  border-bottom: 1px solid #353c6b;
  padding: 10px 0;
}

.gallery_search__input {
  font-size: 18px;
  border: none;
  border-bottom: 1px solid #353c6b;
  padding: 10px 0;
}

.gallery_search__button {
  display: block;
  background: #353c6b !important;
  border:none !important;
  font-weight: 600;
  color: #fff;
  padding: 10px 0 !important;
  text-align: center;
  cursor: pointer;
}

.gallery_search__button:hover {
  background-color: #B5B8BF !important;
  color: #353c6b;
}

@media (min-width: 769px) {
  #gallery_search {
    width: calc(50% - 15px);
    margin-left: auto;
    margin-right: auto;
  }  
}