body {
    font-family: 'Lato',sans-serif;
}

h1,h2,h3,h4,h5 {
    color: #FC2B1D;
    margin: 25px 0 20px;
    font-size: 26px;
}

h1 {
    font-weight: 300;
    margin: 0 0 20px;
}

h2 {
    margin: 20px 0 15px;
    font-size: 24px;
}

h3 {
    margin: 20px 0 15px;
    font-size: 22px;
}

h4 {
    margin: 20px 0 15px;
    font-size: 20px;
}

h5 {
    margin: 15px 0 10px;
    font-size: 16px;
}

a {
    color: #fc2b1d;
}

a:hover {
    color: #ff4e44;
}

.cl {
    clear: both;
    height: 1px;
    line-height: 1px;
    width: 100%;
}

.img_left {
    float: left;
    margin: 0 15px 10px 0;
}

.img_right {
    float: right;
    margin: 0 0 10px 15px;
}

.content-right ul li {
    margin-bottom: 3px;
}

.content-right ul {
    list-style: none;
    padding: 0 0 0 5px;
    margin: 0;
}

.content-right ul li {
    padding-left: 25px;
    text-indent: -1em;
}

.content-right ul li:before {
    content: "\f111";
    font: normal normal normal 14px/1 FontAwesome;
    color: #FC2B1D;
    font-size: 6px;
    font-weight: 700;
    float: left;
    margin-top: 7px;
    margin-right: 20px;
    margin-left: -11px;
}

#flagI {
    float: left;
    width: 100%;
}

.flagi {
    float: right;
    list-style-type: none;
    margin: 10px 0 0;
    padding: 0;
}

.flagi li {
    float: left;
    margin-left: 10px;
}

.flagi li a {
    float: left;
    width: 100%;
    position: relative;
}

.flagi li a .flagi-maska {
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.8);
    width: 100%;
    height: 100%;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
    -ms-transition: all ease .5s;
}

.flagi li a.active .flagi-maska {
    display: none;
}

.flagi li a:hover .flagi-maska {
    opacity: 0;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
    -ms-transition: all ease .5s;
}

.menu {
    float: right;
    list-style-type: none;
    margin-top: 42px;
    margin-bottom: -10px;
    padding-left: 0;
    margin-left: 0;
}

.menu li {
    float: left;
    position: relative;
}

.menu li a {
    color: #242424;
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 500;
    margin-left: 30px;
    padding-bottom: 17px;
    text-decoration: none;
    display: block;
    margin-left: 14px;
}

.menu li a:hover {
    text-decoration: none;
}

.menu li:hover > ul {
    display: block;
}

.menu li a.active {
    border-bottom: 6px solid #fc2b1d;
    font-weight: 500;
}

.menu > li > ul {
    position: absolute;
    top: -10px;
    left: 0;
    margin-left: 0;
    padding-left: 0;
    background: #FFF;
    width: 200px;
    display: none;
    padding-top: 10px;
    z-index: 999;
}

.menu > li > ul > li {
    padding: 0;
    margin: 0;
    width: 100%;
}

.menu > li > ul > li > a {
    float: left;
    width: 100%;
    padding: 5px 30px 10px;
    margin: 0;
    font-size: 13px;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
}

.menu > li > ul > li > a:hover {
    padding-left: 40px;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
}

.menu > li > ul > li > a.active {
    font-weight: 600;
    border-bottom: none;
}

.menu > li > ul > li > a.active:before {
    display: none;
}

/* Underline From Left */
.hvr-underline-from-left {
/*  display: inline-block;
  vertical-align: middle;*/
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0,0,0,0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow: hidden;
}

.hvr-underline-from-left:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 0;
    right: 100%;
    bottom: -6px;
    background: #fc2b1d;
    height: 6px;
    -webkit-transition-property: right;
    transition-property: right;
    -webkit-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-underline-from-left:hover:before,.hvr-underline-from-left:focus:before,.hvr-underline-from-left:active:before {
    right: 0;
}

#logo {
    margin-bottom: 20px;
}

.slider-pro {
    float: left;
}

.sp-thumbnails-container {
    position: absolute;
    overflow: hidden;
    bottom: -50px;
    right: 0;
    width: 100% !important;
    height: 100px;
}

.sp-bottom-thumbnails.sp-has-pointer .sp-thumbnail {
    position: absolute;
    top: 18px;
    margin-top: 0 !important;
    width: 10px;
    height: 10px;
    background-color: #FFF;
    border-radius: 50%;
}

.sp-bottom-thumbnails.sp-has-pointer .sp-selected-thumbnail:before {
    content: '';
    position: absolute;
    width: 100%;
    border-bottom: 5px solid red;
    top: 0;
    margin-top: 13px;
    display: none;
}

.sp-thumbnail-container {
    position: relative;
    display: block;
    overflow: hidden;
    float: left;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 20px !important;
    height: 40px !important;
}

.sp-thumbnail-container.sp-selected-thumbnail .sp-thumbnail {
    background: #fc2b1d;
}

.sp-bottom-thumbnails.sp-has-pointer .sp-selected-thumbnail:after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    left: 50%;
    top: 0;
    margin-left: -8px;
    border-bottom: 13px solid red;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    display: none;
}

.sp-thumbnails {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    z-index: 99999999;
}

.cien {
    float: left;
    width: 100%;
    background-image: url(../img/cien.png);
    height: 33px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

#content {
    float: left;
    width: 100%;
    margin-top: 25px;
}

.oferta {
    float: left;
    width: 100%;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.oferta li {
    float: left;
    width: 100%;
    margin-bottom: 10px;
    list-style-type: none;
}

.oferta li a {
    padding: 10px;
    float: left;
    position: relative;
    width: 100%;
}

.oferta li a p {
    float: left;
    position: absolute;
    color: #656565;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    font-size: 18px;
}

.subelem {
    float: left;
    padding: 0;
    width: 100%;
}

.subelem > li {
    margin-bottom: 0;
}

.oferta > li {
    margin-bottom: 10px;
}

.oferta > li > .subelem {
    display: none;
}

.oferta > li.active > .subelem {
    display: block;
}

.oferta li:first-child a,.oferta > li:first-child > .subelem > li {
    background: #eee !important;
}

.oferta > .subelem > li:last-child {
    border-bottom: none !important;
}

.oferta > li > .subelem > li:last-child a {
    border-bottom: none !important;
}

.oferta > li:first-child > .subelem {
    border-top: 1px solid #DADADA;
}

.oferta li:first-child a.hvr-ripple-out:before {
    border: #eee solid 6px;
}

.oferta > li:nth-child(2) a {
    background: #e0e0e0 !important;
}

.oferta > li > .subelem > li > a,.oferta > li:nth-child(2) > .subelem > li {
    background: #FFF !important;
}

.oferta > li:nth-child(2) a.hvr-ripple-out:before {
    border: #e0e0e0 solid 6px;
}

.oferta > li > .subelem > li > a {
    border-bottom: 1px solid #DADADA;
    padding-left: 20px;
}

.oferta > li > .subelem > li > a:before {
    content: "\f111";
    font: normal normal normal 14px/1 FontAwesome;
    color: #DCDCDC;
    font-size: 6px;
    font-weight: 700;
    float: left;
    margin-top: 7px;
    margin-right: 15px;
    position: absolute;
    height: 100%;
    left: 5px;
}

.oferta > li > .subelem > li.active > a {
    font-weight: 600;
}

.oferta > li:nth-child(2) a p {
    color: #656565;
}

.oferta > li:nth-child(3) a,.oferta > li:nth-child(3) > .subelem > li {
    background: #d2d2d2;
}


.oferta > li:nth-child(2) > .subelem {
    border-top: 1px solid #C6C6C6;
}

.oferta > li:nth-child(3) a.hvr-ripple-out:before {
    border: #d2d2d2 solid 6px;
}

.oferta > li:nth-child(4) a,.oferta > li:nth-child(4) > .subelem > li {
    background: #c7c7c7;
}

.oferta > li:first-child .oferta_iko {
    background: #fc2b1d;
    float: right;
    display: table-cell;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    text-align: center;
    vertical-align: middle;
}

.oferta > li.active .oferta_iko > i {
    transform: translateY(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) rotate(90deg);
    margin-left: -2px;
}

.oferta > li a.open .oferta_iko > i {
    transform: translateY(-50%) rotate(90deg);
    -webkit-transform: translateY(-50%) rotate(90deg);
    margin-left: -2px;
}

.oferta > li > .subelem a {
    color: #656565;
    text-decoration: none;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
    -ms-transition: all ease .5s;
}

.oferta > li > .subelem a:hover {
    padding-left: 25px;
    transition: all ease .5s;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    -o-transition: all ease .5s;
    -ms-transition: all ease .5s;
}

.oferta > li:nth-child(2) .oferta_iko {
    background: #ff7e00;
    float: right;
    display: table-cell;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    text-align: center;
    vertical-align: middle;
}

.oferta > li:nth-child(3) .oferta_iko {
    background: #ffc600;
    float: right;
    display: table-cell;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    text-align: center;
    vertical-align: middle;
}

.oferta > li:nth-child(4) .oferta_iko {
    background: #007cff;
    float: right;
    display: table-cell;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    width: 25px;
    text-align: center;
    vertical-align: middle;
}

.oferta_btn_content {
    display: table-cell;
}

.oferta_iko i {
    color: #FFF;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    font-weight: 600;
}

.pageTitle {
    float: left;
    margin: 30px 0 25px;
    font-size: 24px;
    color: #fc2b1d;
    font-weight: 300;
    width: 100%;
}

.content-right p {
/*float:left;*/
    width: 100% !important;
    font-size: 14px;
    color: #000;
}

.content-right p.big {
    font-size: 18px;
}

footer {
    float: left;
    width: 100%;
    background: #e6e6e6;
    margin-top: 40px;
}

footer p {
    float: left;
}

footer span {
    display: inline-block;
    color: #A0A0A0;
}

footer div.stopka-content {
    float: left;
    margin-left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    padding: 15px 0;
}

footer div.stopka-content p {
    margin: 0;
}

footer span.linia_stopka {
    display: inline-block;
    color: #979797;
    margin: 0 10px;
}

footer div a {
    display: inline-block;
    color: #A0A0A0;
    text-decoration: none;
}

footer div a:hover {
    text-decoration: none;
    color: #A0A0A0;
}

footer div a.lemon-stopka {
    color: #979797;
}

.cien-stopka {
    float: left;
    width: 100%;
    background-image: url(../img/cien_stopka.png);
    background-position: center top;
    height: 31px;
    background-repeat: no-repeat;
}

.sp-tekst {
    bottom: 50px;
    right: 70px;
    font-size: 48px !important;
    color: #FFF;
    font-weight: 100;
    left: auto !important;
    top: auto !important;
}

.navbar-default {
    background-color: transparent;
    border-color: transparent;
}

.navbar {
    margin-bottom: 10px;
    margin-right: -46px;
}

/* GALLERY */
.gal {
    float: left;
    margin: 0 10px 10px 0;
    width: 130px;
    height: 130px;
}

.gal a img {
    border: 2px solid #eee;
}

.fotonews {
    float: left;
    margin: 3px 15px 10px 0;
}

.banblock {
    position: relative;
}

/* COOKIES */
#informacja_o_cookie {
    background: #f9f9f9;
    opacity: .9;
    color: #444;
    width: 290px;
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 1px solid #f2f2f2;
}

.cookie_cont {
    display: block;
    position: relative;
    text-align: center;
    font-size: .9em;
    padding: 20px 20px 10px;
    font-weight: 300;
    line-height: 126%;
}

.cookie_cont .cl {
    height: 0;
}

.cookie_cont a {
    color: #FC2B1D;
}

.cookie_cont_btn {
    position: absolute;
    right: 10px;
    top: 10px;
    display: block;
    text-align: right;
    cursor: pointer;
}

/* =====================
        RWD 
=======================*/
@media screen and (max-width: 1199px) {
    .menu li a {
        color: #242424;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 300;
        margin-left: 30px;
        padding-bottom: 17px;
        text-decoration: none;
        font-size: 13px;
    }
}

@media screen and (min-width: 991px) and (max-width: 1199px){
    .menu{
        float:left;
        width:100%;
        margin-left:0px !important;
        display:flex;
        justify-content: space-between;
            margin-top: 0px;
    }
    .menu li a{
         margin-left: 0px;
    }
    nav .container-fluid{
        padding-left:0px;
        padding-right:0px;
    }
    .navbar-collapse{
        padding-left:0px;
        padding-right:0px;
    }
    .navbar {
    margin-bottom: 10px;
    margin-right: 0px;
}
.flagi {

    margin: 10px 16px 0 0;
    }
    .menu > li > ul{
            top: 30px;
    }
}
.multi-image img{
    float:left;
    width: 40%;
    margin-right: 10% !important;
    margin-left: 0px !important;

}
.pages{
    float:left;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
}
.pages a{
    float:left;
    width:30px;
    height:30px;
       border: 2.5px solid #fc2b1d;
       color:#0D0D0D;
       border-radius:50%;
       text-align:center;

           line-height: 27px;
           margin-left:5px;
               font-size: 13px;
           margin-right:5px;
           transition:all ease .3s;
           text-decoration:none !important;
}
.pages a.current{
      border: 2.5px solid #fc2b1d;
      color:#0D0D0D;
}
.pages a{
    border-color:#949494;
    color:#949494;
}
.pages a:hover{
          border: 2.5px solid #fc2b1d;
      color:#0D0D0D;
}
.btn-submit{
        background: orange;
    color: #FFF;
    border-radius: 0px;
    margin-right: 10px;
    transition:all ease .3s;
    -webkit-transition:all ease .3s;
        padding: 9px 12px;
}
.form-group > .container-fluid{
        padding-right: 0px;
    padding-left: 0px;
}
.btn-submit:hover,.btn-submit:active,.btn-submit:active:hover,.btn-submit:focus{
    color:#DDD;

}
.message-error {
    background: #FFF !important;
    border: 1px solid red;
}
.message-error, .message-success {
    padding: 10px 0 7px !important;
    margin: 10px 0;
    -webkit-border-radius: 0px !important;
    -moz-border-radius: 0px !important;
    border-radius: 0px !important;
}
.message-error ul li{
    color:red;
}
div[class*="message-"] ul{
    list-style-type:none;
}
div[class*="message-"] ul li:before{
    display:none;
}
div[class*="message-"] ul li{
    padding-left: 0px;
        text-indent: 6px;
}
.form-control{
    border-radius:0px;    height: auto;
    padding: 9px 12px;
}
.content-right > form{
        float: left;
    width: 100%;
    margin-top: 5px;
}

.year-sort{
    float: left;
    width: 100%;
    margin-bottom:15px;
}
.year-sort ul{
    float:left;
    list-style-type:none;
    padding:0px;
    margin:0px;
}
.year-sort ul li{
    float:left;
    text-indent: 0px;
    padding-left:0px;
    position:relative;
}
.year-sort ul li:after{
    content:'';
    background:#e4e4e4;
    height: 60%;
    top: 20%;
    width:1px;
    position:absolute;
    right:0px;
}
.year-sort ul li:last-child:after{
    display:none;
}
.year-sort ul li:before{
    display:none;
}

.year-sort ul li a{
    float:left;
    padding:5px 10px;
    color: #333;
}
.year-sort ul li.active a{
    color: #fc2b1d;
}
.year-sort strong{
    float: left;
    margin-right: 0px;
    padding: 5px 0px;
    color: #868686;
    font-weight: 300;
}



/* PANEL KLIENTA */

.project-list{
    float:left;
    width:100%;
    list-style-type:none;
    padding:0px;
    margin:0px;
    margin-top: 15px !important;
}
.project-list li{
    float:left;

    text-indent: 0px !important;
    padding:0px;
    padding-left:0px !important;
    position:relative;
    overflow:hidden;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.07);
}

.project-list li .fa-globe{
    font-size: 150px;
    position: absolute;
    lefT: -20px;
    bottom: -20px;
    opacity: .14;
}
.project-list li:before{
    display:none;
}
.strefa-klienta-header{
    margin-top: 10px;
    margin-bottom: 5px;
}
.strefa-logout{
    margin-left:15px;
}
.strefa-logout i{
    margin-right:10px;
}
.project-list-image{
    float:left;
    width:100%;
}
.project-list-content{
    float:left;
    width:100%;
    padding:10px;
}
.project-list-content p.status{
    float: left;
    width: 100%;
    padding: 10px 0px 0px;
    margin: 20px 0px 0px;
    border-top: 1px solid #DADADA;
    /* border-bottom: 1px solid #DADADA; */
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    color: #585858;
}
.project-list-elem{
    float: left;
    width: 100%;
    background: transparent;
    border: 1px solid #F0F0F0;
    border-radius: 4px;
    position: relative;
    z-index: 9;
}
.project-list-elem strong{
    float: left;
    width: 100%;
    font-size: 22px;
    font-weight: 300;
    color: #6d6d6d;
    text-align: center;
}
.project-list-details{
    float:left;
    width:100%;
}
.project-list-details a{
    float: left;
    width: 100%;
    color: #FFF;
    text-align: center;
    padding: 12px 5px;
    background: #FC2B1D;
    border-radius: 0px 0px 4px 4px;
    text-decoration:none !important;
}

/* PROJECT DETAILS */

.project-content{
    float:left;
    width:100%;
    border:1px solid #F0F0F0;
    box-shadow:0px 0px 5px rgba(0,0,0,0.15);
    border-radius:5px;
}
.project-title{
    float:left;
    width:100%;
    background:#FC2B1D;
    margin-top:0px;
    padding: 20px;
    position:relative;
    overflow:hidden;
    border-radius: 5px 5px 0px 0px;

}
.btn-red{
    background:#FC2B1D;
    color:#FFF;
    border:1px solid #FC2B1D;
    float:left;
    padding: 4px 10px;
    transition:all ease .3s;
    -webkit-transition:all ease .3s;
    text-decoration:none !important;
}
.btn-red i{
    margin-right:10px;
}
.btn-red.btn-simple{
    background:transparent;
    color:#FC2B1D;
    box-shadow:none !important;
    -webkit-box-shadow:none !important;
    outline:none !important;
}
.btn-red.btn-simple:hover{
    color:#FFF;
    background:#FC2B1D;
    transition:all ease .3s;
    -webkit-transition:all ease .3s;
}
.btn-red.btn-white-border{
    border-color:#FFF;
}
.btn-red.btn-white-border:hover{
    color:#F0F0F0;
}
.btn-red.btn-white-border.project-header-btn{
    right: 30px;
}
.position-relative{position:relative}
.project-header-btn{
    position: absolute;
    top: 18px;
    right: 15px;
}
.project-title i{
    position: absolute;
    font-size: 90px;
    top: 0px;
    left: 0px;
    color: #FFF;
    opacity: .4;
}
.project-title span{
    color: #FFF;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.18);
    position: relative;
    z-index: 9;
    font-weight: 300;
    padding-left: 40px;
}
.project-content-inner{
    float:left;
    width:100%;
    padding-left:20px;
    padding-right:20px;
    padding-bottom: 20px;
}
.project-content-inner h4{
    font-weight: 300;
    border-bottom: 1px solid #DADADA;
    padding-bottom: 10px;
    padding-left: 10px;
    margin-bottom: 0px;
    margin-top: 20px;
}
.project-content-inner h4 i{
    color: #222;
    margin-right: 10px;
}
.project-content-inner h5{
    font-weight: 600;
    color: #222;
    border-bottom: 1px solid #dadada;
    padding: 10px 8px;
    margin-bottom:0px;
}
.project-gray-box{
    float:left;
    padding:10px;
    background:#F0F0F0;
    width: 100%;
}
.project-person-box{
    float:left;
    width:100%;
}
.project-person-box img{
    float:left;
    width:30%;
    margin:0px 20px 20px 0px;
}
.table-gray-header ul.list-unstyled li:before{display:none;}
.table-gray-header ul.list-unstyled li{
    text-indent: 0px;
    padding-left:0px;
}
#lista-uczestnikow thead th,.table-gray-header thead th{
    background:#F0F0F0;
}
.add-comment-row > .col-md-6:first-child{
    padding-right:0px;
}
.add-comment-row > .col-md-6:last-child{
    padding-left:0px;
}
.project-add-comment{
    float: left;
    width: 100%;
    border: 1px solid #dadada;
    padding-left: 0px;
		padding-bottom: 15px;
		margin-bottom:30px;
}
.project-add-comment > strong{
    float: left;
    width: 100%;
    background: #F0F0F0;
    padding: 8px 20px;
    border-bottom: 2px solid #dddddd;
    margin-bottom: 10px;
}
.project-add-comment form{
    float:left;
    width:100%;
    padding-left:20px;
    padding-right:20px;
}
.uczestnik-usuniety *{
    
}
@media screen and (max-width: 1024px) {
    html,body {
        max-width: 100%;
        width: 100%;
        height: 100%;
        overflow-x: hidden;
    }
}

@media screen and (max-width: 991px) {

    .navbar-header {
        float: none;
    }

    .navbar-collapse.in {
        overflow-y: inherit;
    }

    .menu > li > ul {
        box-shadow: 1px 1px 3px rgba(0,0,0,0.14);
    }

    .navbar-toggle {
        display: block;
        margin-right: 45px;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        margin: 7.5px -15px;
    }

    .navbar-nav>li {
        float: none;
    }

    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-text {
        float: none;
        margin: 15px 0;
    }

    /* since 3.1.0 */
    .navbar-collapse.collapse.in {
        display: block !important;
    }

    .collapsing {
        overflow: hidden !important;
    }

    .navbar-default {
        top: -70px;
    }

    .navbar-default .navbar-collapse,.navbar-default .navbar-form {
        border-color: #e7e7e7;
        min-height: 90px;
    }

    .sp-thumbnails {
        position: relative;
        right: -71%;
    /* top: -180px; */
        z-index: 99999999;
        height: 100px !important;
    }

    header .col-xs-12 {
        padding: 0;
    }

    .navbar-default {
        top: -70px;
        margin-bottom: -60px;
    }

    .menu {
        float: left;
        list-style-type: none;
        margin-top: 42px;
        margin-bottom: -10px;
        padding-left: 0;
        margin-left: 0;
    }

    .menu li a {
        color: #242424;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 300;
        margin-left: 0;
        padding-bottom: 7px;
        text-decoration: none;
        font-size: 12px;
        padding-right: 0;
        padding-left: 0;
        margin-right: 20px;
    }

    .menu li a.active {
        border-bottom: 3px solid #fc2b1d;
    }

    .hvr-underline-from-left:before {
        height: 3px;
    }
        .menu {
        float: right;
        list-style-type: none;
        margin-top: 42px;
        width: calc(100% - 40px);
        float: left;
        padding: 0;
    /* margin: 0px; */
    }
    .menu li {
        float: left;
        width: 100%;
        padding: 5px 0;
    }

    .menu li a {
        margin-left: 0;
    }

    .navbar-default {
        top: -70px;
        margin-bottom: -60px;
    }
    
    
    .navbar-collapse.in {
        overflow-y: scroll;
    }

    .menu > li > ul {
        position: static;
        top: -10px;
        left: 0;
        margin-left: 0;
        padding-left: 0;
        background: #FFF;
        width: 200px;
        display: block;
        padding-top: 10px;
        z-index: 999;
        box-shadow: none !important;
        margin-top: 0;
        margin-left: 0;
        padding-top: 5px;
        width: 100%;
        background: #F9F9F9;
        margin-bottom: 3px;
    }
}

@media screen and (max-width: 768px) {
    .sp-thumbnails {
        position: relative;
        right: -59%;
    /* top: -180px; */
        z-index: 99999999;
        height: 110px !important;
    }

    .content-right {
        float: left;
    }

    .content-right {
        padding-left: 15px !important;
    }

    .banblock {
        width: 100% !important;
        height: auto !important;
        float: left;
    }

    .banblock .lower_layer {
        width: 100% !important;
        height: auto !important;
        float: left;
        position: static;
    }
    #user-header-bar{
        float:left !important;
        padding-left: 14px;
    }
    .strefa-klienta-header{
        padding-left:13px;
        text-align:left;
    }
    .strefa-logout{
        margin-left:0px;
        float:left;
        width:100%;
    }
    #user-header-bar li{
        float:left;
        width:100%;
    }
}

@media screen and (max-width: 640px) {

    .cien-stopka {
        height: 11px;
    }


    .cien-stopka {
        background-size: 100% auto;
    }

    .sp-thumbnails {
        position: relative;
        right: -51%;
    /* top: -180px; */
        z-index: 99999999;
    }

    .time div:before{
        display:none !important;
    }
    .time .time_date{
        display: block;
        border-radius: 0px !important;
        border: none !important;
        position: static !important;
        background: #FFF !important;
        padding: 0px !important;
        height: auto !important;
        border-left: 3px solid #fc2b1d;
    }
    .timeline:before{
        display:none;
    }
    .timeline .time div{
        width:100% !important;
        margin-left:0%;
    }
}

@media screen and (max-width: 480px) {
    .sp-thumbnails-container {
        position: absolute;
        overflow: hidden;
        bottom: 0;
        right: 0;
        width: 100% !important;
    }

    .sp-tekst {
        bottom: 60px;
        right: 20px;
        font-size: 38px !important;
        color: #FFF;
        font-weight: 100;
        left: auto !important;
        top: auto !important;
    }

    .navbar-default {
        top: -70px;
        margin-bottom: -60px;
    }

    .sp-thumbnails {
        position: relative;
        right: -49%;
    /* top: -180px; */
        z-index: 99999999;
        height: 50px !important;
    }

    .linia_stopka {
        display: none !important;
    }

    footer p {
        float: left;
        width: 100%;
        text-align: center;
    }

    footer a,footer span {
        float: left;
        width: 100%;
        text-align: center;
    }
}

@media screen and (max-width: 360px) {
    .sp-tekst {
        bottom: 60px;
        right: 20px;
        font-size: 27px !important;
        color: #FFF;
        font-weight: 100;
        left: auto !important;
        top: auto !important;
    }

    .sp-thumbnails {
        position: relative;
        right: -83%;
    /* top: -180px; */
        z-index: 99999999;
    }
}