
@font-face {
    font-family: Euclid;
    src: url('fonts/EuclidCircularB-Medium-WebXL.ttf');
    src: url('fonts/EuclidCircularB-Medium-WebXL.woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: Euclid;
    src: url('fonts/EuclidCircularB-Regular-WebXL.ttf');
    src: url('fonts/EuclidCircularB-Regular-WebXL.woff');
    font-weight: 400;
    font-display: swap;
}

:root {
    --layoutWidth: 1440px;
    --layoutWidthOuter: 1500px;
    --gutter: 30px;
    --mobile-gutter: 20px;
    --textColor: #333;
    --greyColor: #7A7C7F;
    --orangeColor: #E09243;
    --blackColor: #000;
    --beigeColor: #F2D7BB;
    --gap: calc(var(--gutter) / 2);
    --workTxtHeight : 190px;
    --semiBold: 600;
    --bold: 700;
}

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,
em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,
table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,
menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

html,
body {
    font-family: Euclid, Arial, sans-serif;
    color: var(--textColor);
    font-size: 10px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

header {
  padding: 12px;
}
::-webkit-scrollbar {
  height: 8px;
  width: 12px
}

::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 20px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3)
}

::-webkit-scrollbar-thumb {
  background-color: #818181;
  border-radius: 20px
}

.logo-header-container {
  height: 50px;
  text-align: center;
}

picture img {
   max-width: 100%;
}

.back {
    padding: 35px 0;
}

.back a {
    color: var(--textColor);
    text-transform: uppercase;
    position: relative;
    padding-left: 15px;
    font-size: 14px;
}

.back a:before {
    position: absolute;
    content: '';
    display: inline-block;
    font-size: 0;
    width: 6px;
    height: 6px;
    border-left: 2px solid var(--textColor);
    border-bottom: 2px solid var(--textColor);
    transform: rotate(45deg);
    left: 0;
    top: 5px;

}
.wrapper {
    max-width: var(--layoutWidth);
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}
/* main banner */
.main-video { /* extend */
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    padding-top: calc((480 / 1880) * 100vw);
    margin-bottom: 2vw;            
}

.main-video video,
.main-video iframe{
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
}
@media screen and (min-width:769px) {

    .main-video iframe,
    .main-video video{
        padding-left: var(--gutter);
        padding-right: var(--gutter);
    }
}
.main-video video,
.main-video iframe{
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(.9);
}
.main-video__title { /* extend */
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    color: #fff;
    width: 100%;
    text-align: center;
    z-index: 1;
    font-weight: var(--semiBold);
}
.main-video__subtitle {
    display: block;
    font-size: 22px;
    font-weight: 400;
}
/* section text and image */
.article-photo { /* extend */
    position: relative;
    width: calc(100vw - 60px);
    left: 50%;
    transform: translateX(-50%);
    padding-top: calc((480 / 1880) * 100vw);
    margin-bottom: 2vw;            
}
.article-photo img { 
    position: absolute;
    top: 0;
    left: 0;
    height: auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    filter: brightness(.9);
}
.article-photo__title { /* extend */
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    color: #fff;
    width: 100%;
    text-align: center;
    z-index: 1;
    font-weight: var(--semiBold);
}
article {
    line-height: 1.6;
    font-size: 14px;
}
article p {
    margin-bottom: 1em;
}
.article-lead {
    font-weight: var(--bold);
}
.article-tab {
    color: var(--greyColor);
    font-size: 16px;
    margin-bottom: 15px;
}
.article-heading {
    color: var(--blackColor);
    font-size: 30px;
    font-weight: var(--semiBold);
    margin-bottom: 1.75vw;
    line-height: 1.4;
}
.article-text {
    margin-bottom: var(--gutter);
}
.article-text:after {
    display: block;
    clear: both;
    content: '';
}
.article-video__wrapper {            
    float: right;
    width: 60%;
    position: relative;
    padding-top: 41.6%;
    margin-left: calc( var(--gutter) / 2);
    margin-bottom:  calc( var(--gutter) / 4);
    order: 2;
}
.article-text__wrapper p {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 22px;
}

.work-in-store .article-video__wrapper {
    padding-top: 34%;
}
.work-in-store .article-video__wrapper.width-100 {
    width: 100%;
}
.article-video {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
/* offers */
.work-in-store.offers .article-tab {
    line-height: 26px;
}
.work-in-store.offers .work-description h3{
    line-height: 38px;
}
.work-in-store.offers .work-description p{
    font-size: 14px;
    line-height: 22px;
}
.work-in-headquarter .article-photo img {
    max-width: 100%;
    height: 100%;
    object-fit: cover;
}
.work-positiones {
    display: flex;            
    margin: calc(-1 * var(--gap)) 0 var(--gap) calc(-1 * var(--gap));
    /*width: calc(100% + var(--gap));*/
    margin-top: 15px;
    margin-bottom: 2vw;
    flex-wrap: wrap;
    justify-content: center;
    gap:25px;
}

.work-positiones > .work-position {
    /*margin: var(--gap) 0 0 var(--gap);*/
    /*!* width: 100%; *!*/
    /*flex: calc(20% - var(--gap) - var(--gap));*/
    /*min-width: 264px;*/
    /*max-width: 330px;*/
    flex: 0 1 23%
}
.work-position {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}
.work-position__img-wrapper {
    height: 280px;
    width: 100%;
    margin-bottom: var(--workTxtHeight);
    overflow: hidden;
}

.__on .work-position__img-wrapper img {
    
    width: 120%;
    height: 120%;
    margin-left: -10%;
    margin-top: -10%;
    object-position: center;
    transform-origin: center;
    transition: all 300ms ease;
    will-change: transform;
}
.work-position img {
    width: 100%;
    height: 100%;
    margin-left: 0%;
    margin-top: 0%;
    position: relative;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
    transition: all 250ms ease;
}
.__on .work-description {
    color: #fff;
    background-color: var(--orangeColor);
    padding-bottom: 80px;
    min-height: 100%;
    
}
 .work-description {
    color: var(--textColor);
    box-sizing: border-box;
    text-align: center;
    padding:  var(--gap);
    bottom: 0;
    position: absolute;
    min-height: var(--workTxtHeight);
    background-color: #f1f2f4;
    transition: all 220ms ease;
     width: 100%;
}
.__on .work-description p {
    -webkit-line-clamp: initial;
    overflow: hidden;
}        
.work-description p {  
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.__on .work-apply {
    opacity: 1;
    padding: 7px 25px;
    bottom: 64px;
}
.work-apply {
    opacity: 0;
    display: none;
    background-color: #f1f2f4;
    color: #000!important;
    padding: 0px 25px;
    font-size: 16px;
    position: absolute;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    font-weight: 500;
    bottom: 20px;
    transition: all 220ms ease 100ms;
}
.work-description h3 {
    font-size: 18px;
    font-weight: var(--semiBold);
    margin-bottom: 3%;
}

.work-more-about {
    position: absolute;
    display: block;
    bottom: 14px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    color: var(--textColor);
    text-transform: uppercase;            
    padding-right: 15px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    
}
.work-more-about:after {
    position: absolute;
    right: 0;
    top: 8px;
    content: '';
    display: inline-block;
    font-size: 0;
    width: 6px;
    height: 6px;
    border-left: 2px solid var(--textColor);
    border-bottom: 2px solid var(--textColor);
    transform: rotate(135deg);
}
.__on .work-more-about:after {
    transform: rotate(-45deg);
    top: 6px;
}

.benefits {
    margin-bottom: 2vw;
    position: relative;
}
 .benefits .benefit {
    text-align: center;            
    border: 1px solid #E3E3E3;
    box-sizing: border-box;
    padding: var(--gap);
    min-width: 264px;
}
.benefit h3 {
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.benefit p {
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 14px;
}
.benefit i {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background-color: var(--beigeColor);
    width: 84px;
    height: 84px;
    margin: 0 auto 10px;
    
}
.benefit svg, .benefit img {
    width: 30px;
    height: 30px;
}
footer #copyrights {
    background-color: #000;
    clear: both;
    color: #9d9c9a;
    font-size: 15px;
    line-height: 22px;
    padding: 20px 20px;
}



/* mediaqueries */

@media screen and (max-width: 1500px) {   /* szerokość zewnętrzna layoutu */
    .main-video {
        width: 100%;
        padding-top: calc((580 / 1880) * 100vw);
      
    }
    .work-in-headquarter .article-photo img {
        height: calc((1160 / 1880) * 100vw);
    }
    .main-video__title, .article-photo__title {
        font-size: 4.6vw;
    }
    .main-video__subtitle {
        font-size: 2vw;
    }
}
@media screen and (max-width: 899px) { /* szerokość zmiany guttera layouty (przejście na v. mobile) do ustalenia */
    .main-video {
        padding-top: calc((276 / 355) * 100vw);
    }
    .wrapper {
        padding: 0 var(--mobile-gutter);
    }
    .main-video__title, .article-photo__title {
        font-size: 36px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .main-video__subtitle {
        font-size: 22px;
        padding: 0 20px;
        box-sizing: border-box;
    }
    .article-text {
        display: flex;
        flex-wrap: wrap;
    }
    .article-text__wrapper {
        width: 100%;
    }
    .article-video__wrapper {
        float: none;
        width: 100%;
        margin-left: 0;                
        order: 1;
    }
    .work-positiones {
        margin: 0 0 40px;
    }
    .work-positiones > .work-position {
        flex: 0 1 48%
    }
}
@media screen and (max-width: 767px) {
    .work-positiones > .work-position {
        flex: 0 1 100%;
    }
    .article-heading {
        font-size: 21px;
    }
    .benefits .benefit {
        min-width: 225px;
    }
}

/* Own carousel */
:root {
--width: 0;
--margin: 0;
}

.own-carousel__outer {
position: relative;
overflow: hidden;
user-select: none;
padding-left: 1px;
}

.own-carousel{
display: flex;
}

.own-carousel__item {
flex-shrink: 0;
overflow: hidden;
flex-basis: var(--width);
background-color: #fafafa;
}

.own-carousel__item:not(:first-child) {
margin-left: var(--margin);
}

.own-carousel__control {
position: absolute;
height: 6px;
width: 100%;
display: flex;
justify-content: space-between;
top: 50%;
}
.control__prev, .control__next {
position: relative;
height: 55px;
background-color: transparent;
outline: 0;
border: 0;
top: -23px;
transform: translateX(-4vw);
cursor: pointer;
}
.control__next {
transform: rotate(-180deg) translateX(-4vw); 
}

.footer-policy-wrapper {
    background: #e3e4e5;
    padding: 15px;
}
.footer-policy-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1380px;
    margin: 0 auto;
}

.footer-policy ul {
    display: flex;
    align-items: center;
    margin: 0;
    list-style: none;
    gap: 40px;
}

.social-icons-wrapper ul{
    display: flex;
    align-items: center;
    margin: 0;
    list-style: none;
    gap: 15px;
}

.footer-policy-wrapper a{
    text-decoration: none;
    color: #000;
    font-size: 1.3rem;
}
@media screen and (max-width: 767px) {
    .footer-policy-content {
        flex-wrap: wrap;
    }
    .footer-policy ul {
        flex-wrap: wrap;
        gap: 15px;
        padding: 0;
        justify-content: space-evenly;
    }
    .social-icons-wrapper {
        margin-top: 30px;
        flex: 0 1 100%;
    }
    .social-icons-wrapper ul {
        justify-content: center;
        padding: 0;
    }
}