@media all and (max-width: 1260px)
{
	#news .container,
	#box .container
	{
		max-width: 1020px;
	}

	#news .new a,
	#news .new .read-more-new
	{
		width: 320px;
	}


	#box .box a
	{
		width: 490px;
	}
    
    #header .menu ul > li a
    {
        font-size: 18px;
    }
    
    #header .menu ul > li#um_17 
    {
        background-size: 44px auto !important;
        padding: 5px 50px 5px 15px !important;
    }

}


@media all and (max-width: 1070px)
{
	#box .container
	{
		max-width: 1200px !important;
	}

	#box .box a
	{
		width: 48%;
        margin: 1% !important;
	}
    
    .newsletter .news-email
    {
        float: none !important;
        margin: 0 auto !important;
        width: 95% !important;
        padding: 15px 0 15px 20px !important;
    }
    
    .newsletter .news-text
    {
        float: none !important;
        width: 100% !important;
        text-align: center;
    }
    
    .newsletter .news-text h1
    {
        padding-bottom: 5px !important;
    }
    
}

@media all and (max-width: 1040px)
{
    #box .box a .box-image
	{
		display: none;
        width: 0;
        float: none;
	}
    
    #box .box a .box-title
    {
        float: none;
        width: 100%;     
    }
    
    #box .box a .right,
    #box .box a .left
    {
        text-align: center !important;
    }
    
    #box .box a 
    {
        text-decoration: none !important;
        height: 150px;
    }
    
    #news .new a
    {
        float: none;
        width: 100%;
        height: auto !important;
        margin: 10px 0; 
        border-top: 4px solid;
        border-top-color: #ffffff;
    }
    
     #news .new a:hover
    {
        border-top-color: #a5c411;
    }
    
    #news .new a .new-home-description
    {
        float: left;
        width: calc(100% - 420px);
    }
    
    #news .new .title-new
    {
        height: auto !important;
    }
    
    #news .new a .image-new
    {
        display: none;
        width: 400px;
    }
    
    #news .new a .image-new-resp
    {
        float: right;
        display: block;
    }
    
    #news .new .read-more-new
    {
        display: none;
    }
   
}

@media all and (max-width: 960px)
{
    
    #header .menu ul > li
    {
        display: block;
        margin: auto;
    }
    
    #header .menu ul
    {
        padding-top: 10px;
        border-top: 4px solid #a5c411;
    }
    
    #header .menu ul > li a
    {
        font-size: 18px;
    }
    
    #header .menu ul > li#um_17
    {
        background: url("../img/nfz2.png") no-repeat center;
        background-size: 150px auto !important;
        padding: 5px 60px 5px 15px !important;    
    }
       
}

@media all and (max-width: 850px)
{
    .address
    {
        float: none;
        margin: 20px auto 30px auto;
    }
    
    .address table
    {
        width: 95%;
        margin: 0 auto;
    }
    
    .address table tr td:last-child
    {
        width: calc(100% - 40px);
    }

    #map-jerzego,
    #map-szpital
    {
        width: 100%;
        height: 350px;
        margin: 20px auto;
        float: none;
    }
    
    #links .link-box a
    {
        width: 47%;
        height: auto;
        margin: 1%;
    }
    
    .actual .actual-image
    {
        float: none;
        max-width: 400px;
        height: auto;
        margin: 5px auto;
        width: auto;
    }
    
    .actual .actual-image img
    {
        width: 100% !important;
    }
    
    .actual .actual-description
    {
        float: none;
        width: 95% !important;
        text-align: center !important;
    }
}

@media all and (max-width: 660px)
{
   #news .new a
    {
        float: none;
        width: 320px;
        height: auto !important;
        margin: 10px auto !important; 
        border: 0px;
    }
    
    #news .new a .new-home-description
    {
        float: none;
        width: 100% !important;
    }
    
    #news .new .title-new
    {
         height: 60px !important;
    }
    
    #news .new a .image-new
    {
        display: block;
    }
    
    #news .new a .image-new-resp
    {
        float: right;
        display: none;
    }
    
    #news .new .read-more-new
    {
        display: inline;
        bottom: 0 !important;
    }
}

@media all and (max-width: 630px)
{
    #links .link-box a
    {
        width: 95%;
        height: auto;
        margin: 10px auto;
        float: none;
        display: block;
    } 
    
    #header .logo,
    #header .head-contact
    {
        float: none;
        display: block;
        text-align: center;
        width: 300px;
        margin: 0 auto;
    }
}
    
@media all and (max-width: 600px)
{
    #box .box a .box-image
	{
		display: block;
        width: 50%;
        float: left;
	}
    
    #box .box a .box-title
    {
        float: left;
        width: 50%;      
    }
    
    #box .box a .right
    {
        text-align: right;
    }

    #box .box a .left
    {
        text-align: left;
    }
    
    #box .box a 
    {
        text-decoration: none !important;
        height: 210px;
        width: 95%;
        float: none;
        margin: 5px auto !important;
    }
    
    .social-title
    {
        float: none !important;
    }
    
    .social-buttons
    {
        float: none !important;
        margin: 10px auto !important;
        width: 464px;
    }
   
}

@media all and (max-width: 480px)
{
    .social-buttons
    {
        float: none !important;
        margin: 10px auto !important;
        width: 232px;
    }
    
    .social-buttons .button
    {
        margin: 10px !important;
    }
}

@media all and (max-width: 470px)
{
    #box .box a .box-image
	{
		display: none;
        width: 0;
        float: none;
	}
    
    #box .box a .box-title
    {
        float: none;
        width: 100%;
        margin-top: 0;
    }    
    
    #box .box a 
    {
        text-decoration: none !important;
        height: 100px;
    }
    
    #box .box a .box-title h1
    {
        margin: 0;
        padding: 20px 0;
    }
    
    .address
    {
        width: 100%;
    }
    
    .project
    {
        float: none !important;
        margin: 5px auto !important;
        width: 140px;
    }
    
    .rights
    {
        float: none !important;
        margin: 5px auto !important;
        width: 200px;
    }
   
}