@media(max-width:1380px){
    .container{
		width:auto;
        margin:0 50px;
	}
    
    #home .content{
        left:50px;
        margin-left:0;
        width:600px;
    }
}

@media (min-width:961px) and (max-width:1280px){
	/* RWD dla szerokosci (1280px - 960px) */

	.container{
		width:auto;
        margin:0 50px;
	}
    
    #header .phone{
        display: none;
    }
    
    #home .content{
        left:50px;
        margin-left:0;
        width:600px;
    }
    
    #home .content .buttons{
        margin-top:25px;
    }
    
    h1{
        font-size:35px;
        line-height: 40px;
    }
    
    h2{
        font-size:30px;
        line-height: 35px;
    }
    
    .offer-box{
        min-height: 430px;
    }
}

@media (max-width:960px){
	/* RWD dla szerokosci (960px - 768px) */

	.container{
		width:auto;
		margin:0 20px;
    }
    
    #header .phone{
        display: none;
    }
    
    #header #menu ul li{
        float:none;
        margin-right: 0;
    }
    
    #header #menu ul li a{
        padding:15px 0;
    }
    
    #header #menu ul{
        margin-bottom: 15px;
    }
    
    #header .right{
        float:none;
        clear: both;
    }
    
    #header #menu{
        text-align: center;
        display: none;
        float: none;
    }
    
    #menu-rwd{
        display: block;
    }
    
    #header .phone{
        display: none;
    }
    
    #home .content{
        left:20px;
        margin-left:0;
        width:auto;
    }
    
    #home .content p{
        display: none;
    }
    
    h1{
        font-size:35px;
        line-height: 40px;
    }
    
    h2{
        font-size:30px;
        line-height: 35px;
    }
    
    .desktop{
        display: none;
    }
    
    .mobile{
        display: block;
    }
    
    #oferta h2, #kontakt h2{
        margin-bottom: 10px;
    }
    
    .offer-box{
        min-height: inherit;
    }
    
    #cennik{
        background:#162d5a;
    }
    
    #cennik .panel-widget-style{
        padding:0 20px;
    }
}

@media (max-width:768px){
    
    #header .logo img{
        width:150px;
    }
    
    #menu-rwd{
        margin-top:20px;
    }
    
    #home{
        margin-top:78px;
        border-bottom:1px solid #ececec;
    }
    
    #page-title{
        margin-top:78px;
        height:auto;
        min-height: 120px;
        padding:40px 0;
    }
    
    #home .content{
        position: static;
        left:inherit;
        top:inherit;
        transform: none;
        padding:50px 20px 60px 20px;
        text-align: center;
        width:auto;
    }
    
    #home h1 br{
        display: none;
    }
    
    #home .content p{
        display: block;
    }
    
    #phone-func{
        display: block;   
    }
    
    #footer{
        margin-bottom: 43px;
    }
    
    #footer .left{
        float:none;
        text-align: center;
        margin-bottom: 15px;
    }
    
    #footer .right{
        float:none;
        text-align: center;
    }
    
    table, table tr{
         width:100% !important;
    }
    
    table td{
        display: block;
        width:100% !important;   
        text-align: center;
    }
}

@media (max-width:500px){
    #home .content .buttons .btn.white{
        margin-right:0;
        margin-bottom: 15px;
        display: block;
    }
    
    #home .content .buttons .btn.blue{
        display: block;
    }
}
