/* NAV TOGGLE */
.nav-toggle span {
    background: #79747a;
}
.nav-toggle.active span {
    background: red;
}
/* RWD MENU */
.rwd-menu ul > li > ul {
    display: none;
}
.rwd-menu ul > li.active > ul {
    display: block;
}
.rwd-menu ul > li.active > a {
    font-weight: bold;
}
.rwd-menu ul > li.active > ul > li:last-child {
    border-bottom: 0;
}
.rwd-menu ul > li ul {
    border-bottom: 1px solid #000;
}
.rwd-menu ul > li > ul {
}
.rwd-menu ul > li > ul > li > ul {
}
.rwd-menu ul > li > ul > li > ul > li > ul {
}
.client-btn-rwd-1 a {
    background: #1c1c40;
    color: #fff !important;
}
.client-btn-rwd-1 a:after {
    background-image: url(../images/svg/arrow_right_white.svg) !important;
}
.log-btn-rwd-1 a {
    background: #f6cc64;
    color: #2c3a5b !important;
}
.log-btn-rwd-1 a:after {
    background-image: url(../images/svg/arrow_right_blue.svg) !important;
}
.rwd-menu .last li {
    border: none !important;
}
.rwd-menu .last li a:hover {
    opacity: 0.9;
}
.rwd-menu span {
    position: relative;
}
.log-btn-rwd-1 svg {
    width: 19px;
    margin-left: 5px;
    height: 19px;
    margin-top: -1px;
    display: inline-block;
    vertical-align: middle;
}
.nav-toggle:hover, .user-btn-rwd:hover {
    opacity: 0.9;
}
/*--------------- RESPONSIVE -------------*/

@media screen and (max-width: 1880px) {
    .s-box-5-1 {
        padding: 0 5%;
    }
}
@media screen and (max-height: 1600px) {
    .menu-1 li {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 1350px) {
    button.slick-arrow {
        top: -60px;
        -webkit-transform: translate3d(0,0,0);
        -moz-transform: translate3d(0,0,0);
        -ms-transform: translate3d(0,0,0);
        -o-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
    button.slick-next.slick-arrow{
        right: 0;
        -webkit-transform: translate3d(0,0,0) scaleX(-1);
        -moz-transform: translate3d(0,0,0) scaleX(-1);
        -ms-transform: translate3d(0,0,0) scaleX(-1);
        -o-transform: translate3d(0,0,0) scaleX(-1);
        transform: translate3d(0,0,0) scaleX(-1);
    }
    button.slick-prev.slick-arrow{
        left: 0;
    }
}
@media screen and (max-height: 850px) {
    .menu-1 li {
        margin-bottom: 5px;
    }
    .s-box-4 .text {
        height: 45px;
    }
    .s-box-4 .title h2 {
        font-size: 27px;
        line-height: 1.2;
    }
    .s-box-4 .title {
        height: 64px;
    }
}
@media screen and (max-height: 770px) {
    /* .s-box-4 .text {
         height: 23px;
     }
     .menu-1 li a {
         line-height: 1.3;
         font-size: 14px;
         height: 40px;
     }*/
}
@media screen and (max-height: 700px) {
    .s-box-4 .text {
        display: none;
    }
}
@media screen and (max-height: 610px) {
    .slide {
        min-height: 500px;
    }
}
@media screen and (min-width: 1140px) {
    .rwd-menu,
    .nav-toggle {
        display: none;
        display: none !important;
    }
}
@media screen and (max-width: 1450px) {
    .content-box-2 .description, .s-box-4 .description {
        width: 100%;
        padding-right: 85px;
    }
}
@media screen and (max-width: 1262px) {
    .s-box-5-1 {
        padding: 0 15px;
    }
    #main-menu li {
        margin-left: 30px;
    }
    .slider-next span {
        padding-top: 3px;
    }
    .content-box-2 .description, .s-box-4 .description {
        padding-left: 50px;
        padding-right: 50px;
    }
    .slider-next span svg {
        height: 20px;
    }
    .slider-next {
        line-height: 55px;
    }
    .slider-next span {
        width: 50px;
        height: 50px;
    }
    .box-1 .description {
        padding-left: 25px;
        padding-right: 25px;
    }
    .box-1 .data svg {
        margin-right: 15px;
    }
    .f-box {
        margin: 0 15px;
    }
    .contact-content .description {
        width: 30%;
    }
    .map {
        width: 70%;
    }
}
@media screen and (max-width: 1139px) {
    .slide {
        /*height: calc(100vh - 77px);*/
        height: 730px;
    }
    .z-box figure {
        margin-right: 20px;
    }
    .z-box figure:after {
        width: 20px;
    }
    .text-img-1 {
        margin: 0 30px 20px 0;
    }
    body .text .text-img-1 {
        max-width: 50% !important;
    }
    #main-menu {
        display: none;
    }
    .nav-toggle {
        display: block;
    }

}
@media screen and (max-width: 1139px) {
    .f-logo svg {
        margin-top: 5px;
        height: 30px;
        width: 200px;
    }
    .nav-toggle {
        position: absolute;
        top: 0;
        right: 0;
    }
    header {
        height: 77px;
    }
    .user-box {
        display: none;
    }
    .header-content {
        padding: 15px 0;
    }
    .rwd-hide {
        display: none;
    }
    .logo svg {
        height: 47px;
    }
    .text img {
        max-width: 100%;
        max-width: 100% !important;
    }
    .container {
        width: 100%;
    }
    .body-block {
        position: fixed;
        width: 100%;
    }
    .nav-toggle {
        width: 46px;
        height: 46px;
        padding: 11px 14px;
        background: #1c1c40;
        margin: 15.5px 15px;
        text-decoration: none !important;
    }
    .nav-toggle span {
        margin-top: 5px;
    }
    .nav-toggle span {
        background: #fff !important;
    }
    .nav-toggle.active span.l2 {
        background: transparent !important;
    }
    .nav-toggle.active {
        background: #f6cc64;
    }
    .user-btn-rwd {
        display: block;
        width: 46px;
        height: 46px;
        background: #f6cc64;
        position: absolute;
        right: 67px;
        top: 16px;
    }
    .box h3 {
        font-size: 18px;
    }
    .box-content {
        margin: 0;
    }
    .boxes .col {
        padding-right: 0;
    }
    .rwd-menu {
        top: 77px;
        height: calc(100% - 77px);
    }
    .rwd-menu ul li {
        border: none;
        margin: 0;
        border-top: 1px solid #eeeeee !important;
    }
    .rwd-menu ul li a {
        position: relative;
        color: #2c3a5b;
        line-height: 50px;
        font-size: 16px;
        font-weight: 600;
        display: block;
        padding: 0 15px;
        text-align: left;
        padding-right: 37px !important;
    }
    .rwd-menu ul li a:after {
        width: 18px;
        height: 18px;
        content: "";
        display: block;
        background: url('../images/svg/arrow_right_blue.svg') center center no-repeat;
        background-size: 10px 10px;
        fill: red;
        position: absolute;
        top: 50%;
        right: 15px;
        -webkit-transform: translate3d(0, -50%, 0);
        -moz-transform: translate3d(0, -50%, 0);
        -ms-transform: translate3d(0, -50%, 0);
        -o-transform: translate3d(0, -50%, 0);
        transform: translate3d(0, -50%, 0);
    }
    .rwd-menu ul li.active > a:after {
        background: url('../images/svg/arrow_right_yellow.svg') center center no-repeat;
        background-size: 10px 10px;
        right: 17px;
        top: 18px;
        transform: rotate(90deg);
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -o-transform: rotate(90deg);
    }
    .rwd-menu ul ul li a {
        padding: 13px 15px;
        padding-left: 60px;
        background: #f5f5f5;
        color: #001491;
    }
    .rwd-menu ul ul li a:hover {
        background: #ebebeb;
        color: #7988e1;
    }
    .rwd-menu ul ul li a:hover:after {
        background: url('../images/svg/arrow_right_violet.svg') center center no-repeat;
        background-size: 10px 10px;
    }
    .rwd-menu ul > li ul {
        border: none;
    }
    .rwd-menu ul li a span {
        padding: 13px 0;
        display: inline-block;
    }
    .rwd-menu ul li a:hover {
        color: #626ea1;
    }
    .rwd-menu ul li.active a span {
        border-bottom: 2px solid #f6cc64;
    }

    .menu-1 li a {
        font-size: 12px;
        line-height: 1.1;
    }

    .s-box-5-2 {
        height: 244.5px;
    }
}
@media screen and (max-width: 992px) {
    .box-1 .figure {
        width: 50%;
        float: left;
        display: block;
        height: 390px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }
    .content-box-2 .description {
        text-align: center;
    }
    .content-box-2 .description > div {
        text-align: left;
    }
    .main-slider .description .text {
        max-height: 76px;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    .content-box-2 .description > div {
        text-align: left;
        max-height: 196px;
        overflow: hidden;
    }
    .content-box.content-box-4 .box-1 .text {
        max-height: 142px;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
    .s-box-3 img {
        width: 100%;
        display: block;
    }
    .slide {
        height: auto !important;
    }
    .s-box-3 {
        height: auto;
        background: none !important;
    }
    .s-box-1, .s-box-2, .s-box-5 {
        display: none;
    }
    .contact-content .description {
        width: 40%;
    }
    .s-box-4 .text {
        display: block;
        height: auto;
    }
    .map {
        width: 60%;
    }
    .s-box-4 .title {
        height: auto;
    }
    .s-box-3 {
        width: 100%;
    }
    footer {
        height: auto;
        background: #1c1c40;
        padding: 20px 0 16px 0;
    }
    footer .fl {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .copyright-u {
        float: none;
        vertical-align: top;
        display: inline-block;
    }
    .btn-scroll {
        top: -45px;
    }
    footer .fr {
        margin-top: 16px;
        width: 100%;
        text-align: center;
    }
    .content-box-2 .description {
        padding-left: 20px;
        padding-right: 20px;
    }
    .box-1 {
        width: 100%;
        position: relative;
    }
    .boxes-1 .box-1:nth-child(even) .figure {
        position: absolute;
        top: 0;
        right: 0;
    }
    .boxes-1 .box-1:nth-child(odd) .description {
        float: right;
    }
    .boxes-1 .box-1:nth-child(odd) .figure {
        position: absolute;
        top: 0;
        left: 0;
    }
    .boxes-1 .description {
        float: left;
    }

    .slider {
        margin-bottom: 0;
        display: none;
    }
    .content-box-2 .figure {
        width: 100%;
        opacity: 1;
        height: 400px;
    }

    .content-box-2 .description-box {
        clear: both;
    }
}
@media (max-width: 768px) {
    .pagination-box .prev-1, .pagination-box .next-1, .pagination-box li {
        margin: 0 5px;
    }
    .pagination-box li a {
        margin: 0;
    }
    .boxes-a .col {
        margin: 0;
    }
    .z-box figure {
        width: 250px;
    }
    .z-box .name {
        padding-top: 0;
    }
    .z-box figure img {
        max-width: 100%;
    }
    .boxes .col {
        width: 100%;
    }
    .boxes .col {
        border-left: none;
        border-top: 1px solid #f6cc64;
    }
    .boxes {
        float: left;
        width: 100%;
        border-bottom: 1px solid #f6cc64;
    }
    .box-content {
        padding-left: 0;
        padding-right: 0;
        background: transparent !important;
    }
    .logos .col {
        width: 33.3333%;
    }
    body .text .text-img-1 {
        max-width: 30% !important;
    }
    .pagination-box {
        margin-bottom: -10px;
    }
    .contact-content .description {
        width: 100%;
    }
    .map {
        width: 100%;
        position: relative;
        float: left;
        margin-top: 30px;
        height: 300px;
    }
}
@media screen and (min-width: 706px) {
    footer .show-hide {
        display: block !important;
    }
}
@media screen and (max-width: 639px) {
    button.slick-arrow {
        top: -50px;
    }
    .z-box figure:after {

        height: 100px;

    }
    .content-box-5 {
        padding: 20px 0;
    }
    .s-box-4 .title {
        margin-bottom: 10px;
    }
    .s-box-4 .text {
        margin-bottom: 18px;
    }
    .s-box-4 .description {
        text-align: center;
        padding: 12px 15px 15px 15px;
    }
    .s-box-4 .description h2, .s-box-4 .description .text {
        text-align: left;
    }
    .slider-next {
        display: none;
    }
    .slide {
        height: calc(100vh - 64px);
    }
    .map {
        margin-bottom: -20px;
        margin-top: 10px;
    }
    .z-box {
        margin-bottom: 20px;
    }
    .z-boxes {
        margin-bottom: -20px;
        margin-top: 25px;
    }
    .z-box figure {
        width: 160px;
    }
    .pagination-box {
        margin: 20px 0 0 0;
    }
    .title-2 h1 {
        margin-bottom: 15px;
    }
    .rwd-menu {
        top: 64px;
        height: calc(100% - 64px);
    }
    .box-content {
        padding: 15px 0;
    }
    .content-box-2 .figure {
        width: 100%;
        height: 200px;
        opacity: 1;
    }
    .content-box-2 .text {
        margin-bottom: 15px;
    }
    .content-box-2 .title {
        margin-bottom: 7px;
    }
    .title {
        margin-bottom: 15px;
    }
    .title-1 h2 {
        font-size: 20px;
    }
    .title h2, .title h1, .title-2 h1 {
        font-size: 28px;
    }
    .main-title-1 {
        margin-bottom: 15px;
    }
    .button-1 {
        margin-top: 20px;
    }
    .main-title-1 {
        padding-left: 15px;
    }
    .main-title-1 h1 {
        margin-bottom: 0;
    }
    .main-content {
        padding: 20px 0;
    }
    .gallery-content .g-box {
        width: 50%;
    }
    .btn-scroll svg {
        margin-top: 9px;
    }
    .btn-scroll {
        width: 36px;
        top: -38px;
        height: 36px;
    }
    .title h1 {
        margin-bottom: 20px;
    }
    .margin-bottom-1 {
        margin-bottom: 15px;
    }
    .content-box-2 .description-box {
        float: left;
        height: auto;
        width: 100%;
    }
    .content-box-3 {
        padding: 15px 0;
    }
    .content-box-4 {
        padding-top: 15px;
    }
    .box-1 .description {
        padding-left: 15px;
        padding-right: 15px;
    }
    .content-box-2 .description {
        padding: 15px;
    }
    .content-box-2 .text {
        height: auto;
    }
    .box-1 .description {
        height: auto;
    }
    .box-1 .name {
        font-size: 20px;
    }
    .box-1 {
        height: auto;
    }
    .text img {
        max-width: 100%;
        max-width: 100% !important;
        width: inherit;
        width: inherit !important;
        height: auto;
        height: auto !important;
    }
    .box-1 .text {
        height: auto;
    }
    .text table,
    .text iframe,
    .text object {
        max-width: 100%;
        max-width: 100% !important;
        width: 100%;
        width: 100% !important;
    }
    .box-1 .description {
        padding: 15px;
    }
    .box-1 .txt {
        margin-bottom: 15px;
    }
    h1 {
    }
    h2 {
    }
    h3 {
    }
    h4 {
    }
    .boxes-1 .box-1 .figure {
        width: 100%;
        top: 0;
        height: 300px;
    }
    .boxes-1 .box-1 {
        padding-top: 300px;
    }
    .boxes-1 .description {
        width: 100%;
    }
    .f-box {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    .f-box {
        display: inline-block;
        width: auto;
        text-align: left;
        position: relative;
    }
    .f-box br {
        display: none;
    }
    .f-box .txt a, .f-box .txt span {
        margin-left: 7px;
        margin-right: 7px;
        display: inline-block;
        vertical-align: middle;
    }
    .f-box .txt span.svg {
        margin-left: 0;
        margin-right: 0;
    }
    footer .clearer {
        display: block;
    }
    .f-box a {
        margin: 5px 0;
    }
    footer .fr {
        background: #f6cc64;
        color: #1c1c40;
        float: left;
        width: calc(100% + 30px);
        padding: 12px 0 10px 0;
        margin: 18px -15px -16px -15px;
    }
    footer .fr a {
        color: #1c1c40;
    }
    .copyright-u img {
        display: none;
    }
    .copyright-u > div:first-child {
        padding-left: 15px;
        background: url('../images/tworzenie-stron-www-blue.png') left center no-repeat;
    }
    .header-content {
        padding: 9px 0;
    }
    .nav-toggle {
        margin-top: 9px;
        margin-bottom: 9px;
    }
    .user-btn-rwd {
        top: 9px;
    }
    header {
        height: 64px;
    }
    .logo svg {
        width: 206px;
        height: 29px;
    }
    .logo {
        /*width: 133px;*/
        margin-top: 9px;
        overflow: hidden;
    }
    body .text .text-img-1 {
        display: none;
    }
    .d-boxes {
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 560px) {
    .z-box figure {
        width: 100px;
    }
    .d-box .txt {
        width: 100%;
    }
    h1 {
    }
    .d-box {
        margin-bottom: 56px;
    }
    .d-boxes {
        margin-bottom: 55px;
    }
    .d-btn-1 {
        margin: 0;
        width: calc(100% + 2px);
        top: 100%;
        left: -1px;
    }
    h2 {
    }
    h3 {
    }
    h4 {
    }
    .text {
        word-wrap: break-word;
    }
    .box-1 .data {
        clear: both;
    }
}
@media screen and (max-width: 420px) {
    .z-box figure {
        width: 100%;
    }
    .z-box figure img {
        width: 100%;
    }
    .z-box .description {
        float: left;
        width: 100%;
    }
    .box-1 .text {
        margin-bottom: 17px;
    }
    .logos .col {
        width: 50%;
    }
    *[id^=fancybox] {
        display: none;
        display: none !important;
    }
    h1 {
    }
    h2 {
    }
    h3 {
    }
    h4 {
    }
}
@media screen and (max-width: 360px) {
    footer .container .f-box:nth-child(5) br {
        display: block;
    }
    footer .container .f-box:nth-child(5) a {
        margin: 0;
    }
    .f-box .txt a, .f-box .txt span {
        margin-left: 2px;
        margin-right: 2px;
    }
}