.banners--cont {
    position: relative;
    width: 100%;
    float:left;
    overflow-x: hidden;
    padding: 30px;
    padding-bottom: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}
#banners {
    display: none;
    margin: 20px 0;
    float:left;
}
#banners .item {
    text-align: center;
}
#banners .item a {
    display: inline;
}
#banners .item img {
    display: inline-block;
    width: 100%;
    max-width: 225px;
}
#banners .owl-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    margin-bottom: 0;
    margin-top: -30px !important;
}
#banners .owl-controls .owl-buttons .owl-prev {
    position: absolute;
    width: 23px;
    height: 36px;
    left: -40px;
    opacity: 1;
    cursor: pointer;
    background: url(/img/przewin_button1.png);
    background-repeat: no-repeat;
    background-position: center;
}
#banners .owl-controls .owl-buttons .owl-next {
    position: absolute;
    width: 23px;
    height: 36px;
    right: -40px;
    opacity: 1;
    cursor: pointer;
    background: url(/img/przewin_button.png);
    background-repeat: no-repeat;
    background-position: center;
}

/* mainsite - job-add section */
#job-ad {
    font-family: "Times New Roman", Times, serif;
    position: relative;
    text-align: center; 
    color: #0165c2;
    margin: 12px auto 24px auto; 
    width:  900px; 
    max-width:100%;
    background: #f5f5f5;
    border: 1px solid #dfdfdf;
    border-radius: 15px;
    background: url('/public/img/job-ad-happyman.png') no-repeat #f5f5f5;
    background-position: 40px 12px;
    background-size: 80px;
}
#job-ad .more {
    position: absolute;
    right:  24px;
    bottom: 8px;
}
#job-ad .more a {
    font-family: Arial, 'sans serif';
    font-size: 1.4em;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
    color: #0165c2;
}
#job-ad .more a:hover {
    color: #2A3972;
}
#job-ad header {
    background: none;
    height: auto !important;
    margin: 8px auto 12px auto;
    font-size: 1.6em;
}
#job-ad > header > h1,
#job-ad > header > h2 {
    text-transform: uppercase;
    text-decoration: underline;
    line-height: 1.2em;
}
#job-ad > header > p {
    margin: 8px auto;
    font-size: 1.2em;
}
#job-ad > .description {
    text-align: justify;
    font-size: 1.3em;
    margin-left: 32px;
    margin-right: 63px;
}
#job-ad .description .first-line {

}
#job-ad .description .first-line > .description-pre {
    display: inline-block;
    font-weight: bold;
    font-size: 1.2em;
    width: 19%;
}
#job-ad .description .first-line > div:nth-child(2) {
    display: inline-block;
    text-align: right;
    color: #2A3972;
}
#job-ad .description > div.second-line {
    position:relative;
    text-align: justify; /* For Edge */
    -moz-text-align-last: justify; /* For Firefox prior 58.0 */
    text-align-last: justify;
    color: #2A3972;
}
#job-ad .description > div.second-line::after {
    content: "...";
    position: absolute;
    right: -18px;  
}
#job-ad .job-title-wrapper {
    margin: 12px 0 2px 0;
}
#job-ad .job-title-wrapper .job-title-pre {
    font-size: 1.6em;
}
#job-ad .job-title-wrapper .job-title {
    color: #2A3972;
    font-size: 2em;
    font-weight: bold;
    margin: 4px auto;
}
/* END mainsite - job-add section */

@media screen and (max-width: 960px) {
    #job-ad {
        background-position: center 12px;
    }
    #job-ad header {
        margin-top: 120px;
    }
    #job-ad .description {
        margin: 0 auto;
        display: block;
        width: 80%;
        text-align: center;
    }
    #job-ad .description .first-line > div:nth-child(2) {
        text-align: center;
    }
    #job-ad .description > div.second-line {
        text-align: center;
        text-align-last: center;
    }
    #job-ad .description > div.second-line::after {
        content: none;
    }
    #job-ad .job-title-wrapper .job-title {
        margin: 24px auto;
    }
    #job-ad .more {
        bottom: 28px; 
    }
}
