.offer {
    overflow: hidden; width: 100%; min-height: 140px; height: auto; padding: 25px 40px 25px 20px; position: relative; background-color: #fff; margin-bottom: 20px; border-radius: 5px;
    display: flex; -webkit-display: flex;
    justify-content: flex-start; -webkit-justify-content: flex-start;
    align-items: center; -webkit-align-items: center;
}
.offer .offer-logo {
    width: 125px; height: 76px; margin-right: 20px; flex-shrink: 0;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
}
.offer .offer-logo img {vertical-align: middle; max-height: 76px;}

.offer .offer-title {
    color: #193c76; font-weight: 600; font-size: 18px; padding-bottom: 18px; border-bottom: 1px solid #e1e1e1; width: 100%;
    display: flex; -webkit-display: flex;
    justify-content: space-between; -webkit-justify-content: space-between;
    align-items: center; -webkit-align-items: center;
}
.offer .offer-title a {flex-grow: 1; -webkit-flex-grow: 1}
.offer .offer-day-label {
    width: 130px; height: 22px; color: #fff; text-transform: uppercase; font-weight: 900; font-size: 10px; border-radius: 5px; margin-right: 20px; flex-shrink: 0;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
    background: rgba(0,142,203,1);
    background: -moz-linear-gradient(left, rgba(0,142,203,1) 0%, rgba(29,65,122,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(0,142,203,1)), color-stop(100%, rgba(29,65,122,1)));
    background: -webkit-linear-gradient(left, rgba(0,142,203,1) 0%, rgba(29,65,122,1) 100%);
    background: -o-linear-gradient(left, rgba(0,142,203,1) 0%, rgba(29,65,122,1) 100%);
    background: -ms-linear-gradient(left, rgba(0,142,203,1) 0%, rgba(29,65,122,1) 100%);
    background: linear-gradient(to right, rgba(0,142,203,1) 0%, rgba(29,65,122,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#008ecb', endColorstr='#1d417a', GradientType=1 );
}
.offer .offer-labels-box {
    margin-left: 20px;
    display: inline-flex; -webkit-display: inline-flex;
    flex-direction: column; -webkit-flex-direction: column;
    align-items: center; -webkit-align-items: center;
}
.offer .online-recrutation-label {
    width: 130px; height: 22px; color: #fff; text-transform: uppercase; font-weight: 900; font-size: 10px; border-radius: 5px; margin-right: 20px; flex-shrink: 0;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
    background: rgba(9,175,0,1);
    background: -moz-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(9,175,0,1)), color-stop(100%, rgba(35,132,50,1)));
    background: -webkit-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -o-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -ms-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: linear-gradient(to right, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#09af00', endColorstr='#238432', GradientType=1 );
}

.offer .online-recrutation-label:not(:nth-of-type(1)) {margin-top: 5px}

.offer .ua-label{
    width: 150px; height: 22px; color: #ffd500; text-transform: uppercase; font-weight: 700; font-size: 10px; border-radius: 5px; margin-right: 20px; flex-shrink: 0;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
    background: #005bbb;
}

.offer .ua-label:not(:nth-of-type(1)) {margin-top: 5px}



.offer .offer-favourite {width: 26px; height: 26px; flex-shrink: 0;}
.offer .offer-icon-fav {display: block; width: 26px; height: 26px; 
    background-image: url(../../images/star-add.png);
    background-repeat: no-repeat;
    background-size: contain;
}
.offer .offer-icon-fav span {display: none}
.offer .offer-details {position: relative; flex-grow: 1; width: 100%;}
.offer .offer-details-box {
    padding-top: 18px;
    display: flex; -webkit-display: flex;
    justify-content: space-between; -webkit-justify-content: space-between;
    flex-wrap: wrap; -webkit-flex-wrap: wrap;
}
.offer .offer-all-details {width: 100%; line-height: 25px; padding-bottom: 5px; font-size: 14px;}
.offer .offer-employer { font-size: 16px; font-weight: 400; color: #000; line-height: 20px; width: 75%;}
.offer .offer-location {flex-grow: 1; -webkit-flex-grow: 1;}
.offer .offer-location a {
    font-size: 14px; color: #7b7b7b; line-height: 24px; 
    display: inline-flex; -webkit-display: inline-flex;
    align-items: center; -webkit-align-items: center;
}
.offer .offer-location a img {height: 17px; margin-right: 5px;}
.offer .offer-salary {width: 25%; font-weight: 700; color: #193c76; white-space: nowrap; font-size: 14px; text-align: right;}
.offer .offer-salary-currency {font-size: 13px; font-weight: 600; line-height: 22px}
.offer .offer-date {font-size: 14px; color: #7b7b7b; line-height: 24px;}
.offer .offer-date span {font-size: 14px; color: #000}
/*.offer .offer-salary span {margin-right: 4px}*/
.offer  .offer-salary-info {text-transform: uppercase; font-weight: 400; font-size: 10px; display: block;}

/* modifiers */
.offer.is-super-offer:after { 
    content: attr(data-label); background-color: #ec213a; height: 20px; width: 250px; color: #fff; font-size: 12px; font-weight: 900; text-transform: uppercase; 
    position: absolute; bottom: calc(50% - 7px); right: -115px;
    transform: rotate(-90deg); -webkit-transform: rotate(-90deg);
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
}
/*
.offer.is-just-refreshed .offer-date {
    width: 94px; height: 22px; color: #fff; text-transform: uppercase; font-weight: 900; font-size: 10px; border-radius: 5px;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
    background: rgba(9,175,0,1);
    background: -moz-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(9,175,0,1)), color-stop(100%, rgba(35,132,50,1)));
    background: -webkit-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -o-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: -ms-linear-gradient(left, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    background: linear-gradient(to right, rgba(9,175,0,1) 0%, rgba(35,132,50,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#09af00', endColorstr='#238432', GradientType=1 );
}
*/
.offer.is-recommended {width: calc(25% - 20px);  padding: 0 0px 20px; background: 0 0; margin-bottom: 0; display: block; /*margin: 0 10px*/ box-sizing: border-box; flex-shrink: 0; -webkit-flex-shrink: 0;}
.offer.is-recommended * {float: none;}
.offer.is-recommended .offer-wrapper {
    width: 100%; background: #fff; min-height: 262px; border-radius: 5px; padding: 20px; height: 100%;
    display: flex; -webkit-display: flex;
    flex-direction: column; -webkit-flex-direction: column;
    align-items: center; -webkit-align-items: center;
}
.offer.is-recommended .offer-details,
.offer.is-recommended .offer-title, 
.offer.is-recommended .offer-employer {width: 100%}
.offer.is-recommended .offer-logo { 
    width: 100%; height: 76px;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
}
.offer.is-recommended .offer-logo img {font-size: 10px; white-space: nowrap; text-overflow: ellipsis; overflow: hidden;width: auto; max-height: 76px;}
.offer.is-recommended .offer-details {
    min-height: none; margin-top: 20px; padding-top: 20px; border-top: 1px solid #e1e1e1;
    display: flex; -webkit-display: flex;
    flex-direction: column; -webkit-flex-direction: column;
    align-items: center; -webkit-align-items: center;
    /* flex-grow: 1; -webkit-flex-grow: 1; */
    justify-content: space-between; -webkit-justify-content: space-between;
}
.offer.is-recommended .offer-title {
    text-align: center; color: #193c76; font-size: 15px; line-height: 22px; font-weight: 600; height: auto; border-bottom: 0;
    display: flex; -webkit-display: flex;
    justify-content: center; -webkit-justify-content: center;
    align-items: center; -webkit-align-items: center;
}
.offer.is-recommended .offer-employer {text-align: center; color: #545454; font-size: 14px; line-height: 20px; font-weight: 400; margin-top: 20px; margin-bottom: 20px}
.offer.is-recommended .offer-location {display: block; width: 100%; font-size: 14px; line-height: 30px; text-align: center; max-width: 100%}
.offer.is-recommended .offer-date,
.offer.is-recommended .offer-salary,
.offer.is-recommended::after,
.offer.is-recommended::before {display: none;}

/* zmiany 31-10-2023*/
.offer.is-recommended .offer-logo {width: 20%; margin-right: 0;}
.offer.is-recommended .offer-title {width: 80%; padding-left: 20px; text-align: left; padding-bottom: 0}
.offer.is-recommended .offer-wrapper {
    -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row;
    -ms-flex-wrap: wrap; flex-wrap: wrap; min-height: 160px;
}
.offer.is-recommended .offer-employer {width: 100%; margin-top: 0; margin-bottom: 0; font-size: 12px; line-height: 14px; padding-top: 10px;}
.offer.is-recommended .offer-location a {font-size: 12px; line-height: 20px;}
.offer.is-recommended .offer-location {line-height: 20px; padding-top: 10px;}

.offer-phone-number-box {padding-top: 10px; text-align:center}
.offer-phone-number-box > a {
    background-color: transparent; border: 1px solid #193c76; width: 100%; padding: 10px; display: block; color: #193c76; font-weight: 700; font-size: 18px; 
    transition: .2 all;
}
.offer-phone-number-box > a:hover {background-color: #193c76; color: #fff}
#offer-view .offer-view-apply-box .offer-phone-number-box > a {border-radius: 5px; padding: 7px 0}


@media screen and (max-width: 1164px) {
    .offer .offer-title {font-size: 16px}
    .offer .offer-employer {font-size: 14px}
    .offer .offer-salary {font-size: 16px}
    .offer .offer-date {font-size: 12px}
}

@media screen and (max-width: 960px) {
    .offer .offer-title {flex-wrap:wrap; -webkit-flex-wrap:wrap;}
    .offer .offer-title a {margin-bottom: 10px; max-width: calc(100% - 170px)}
    .offer .offer-logo {width: 95px;}
    .offer.is-recommended .offer-title a {max-width: 100%;}
}
@media screen and (max-width: 720px) {
    .offer .offer-salary {width: 40%}
    .offer .offer-employer {width: 60%}
}

@media screen and (max-width: 520px) {    
    /*    
    .offer {flex-direction: column; -webkit-flex-direction: column; padding: 40px 20px 25px 20px; }
    .offer .offer-logo { width: 125px; margin-right: 0px; margin-bottom: 20px}
    .offer .offer-title a:not(.offer-icon-fav) {order: 2; -webkit-order: 2; width: calc(100% - 36px); max-width: calc(100% - 45px);}
    .offer .offer-favourite {order: 3; -webkit-order: 3;}
    .offer .offer-labels-box {order: 1; -webkit-order: 1; margin-left: 0; padding-bottom: 20px; flex-direction: row; -webkit-flex-direction: row;}
    */
    
    /* widok poziomy dla mobili */
    .offer {padding: 10px 10px 10px 10px; margin-bottom: 10px}
    .offer .offer-logo {width: 60px}
    .offer .offer-title a {max-width: calc(100% - 27px)}
    .offer .offer-labels-box {order: 1; -webkit-order: 1; margin-left: 0; flex-direction: row; -webkit-flex-direction: row;}
    /* widok poziomy dla mobili */
    
    .offer .online-recrutation-label:not(:nth-of-type(1)) {margin-top: 0px}
    
    /* modifiers */
    .offer.is-super-offer {padding: 35px 10px 10px 10px;}
    .offer.is-super-offer::after {
        width: 100%;bottom: auto; right: 0; top: 0;
        transform: rotate(0deg); -webkit-transform: rotate(0deg);
    }
}

@media screen and (max-width: 420px) {    
    .offer .offer-logo img {max-height: 60px}
/*    .offer:not(.is-super-offer) {padding: 20px 20px 25px 20px;}*/
    .offer .offer-salary,
    .offer .offer-employer {width: 100%}
    .offer .offer-salary {text-align: left; margin-top: 5px}
    .offer .offer-salary-info {display: inline}
    
    /* widok poziomy dla mobili */
    .offer .offer-title {font-size: 14px; padding-bottom: 10px}
    .offer .offer-employer, 
    .offer .offer-all-details,
    .offer .offer-location a {font-size: 12px; line-height: 14px;}
    .offer .offer-details-box {padding-top: 10px;}
    /* widok poziomy dla mobili */
}