@media (max-width: 991px){
	#section5{
		height:auto;
		display:table;
	}
	#section5 .container{
		width:100%;
		max-width:100%;
	}
	#section5 .row.show-grid{
		padding-top:0 !important;
	}
	#section5 .row.show-grid > .col-md-7,
	#section5 .row.show-grid > .col-md-5{
		width:auto;
		display:table-cell
	}
	#section5 .row.show-grid > .col-md-7{
		width:65%
	}
	#section5 .row.show-grid > .col-md-5{
		width:35%
	}
	.homeform input, .homeform textarea{
		width:100%;
	}
	
	#section5 .row.show-grid .col-md-7 .col-md-7,
	#section5 .row.show-grid .col-md-7 .col-md-5{
		width:auto;
		display:table-cell;
		float:left;
	}
	
	#section5 .row.show-grid .col-md-7 .col-md-5{
		width:40%;
	}
	
	#section5 .row.show-grid .col-md-7 .col-md-7{
		width:60%;
	}
	
	#section5 .row.show-grid .col-md-7 .row{
		max-width:100%;
		width:100%;
	}
	.error{
		width:100% !important
	}
	#wstaw{
		padding-left:10px;
	}
	#section5 .row.show-grid > .col-md-7 > h1{
		margin-bottom: 20px;
	}
}

@media (max-width:760px){
	#section5 .row.show-grid{
		display:flex;
		flex-flow: column;
	}
	#section5 .row.show-grid > .col-md-5 {
		order:2;
	}
	#section5 .row.show-grid > .col-md-7 {
		order:1;
	}
	#section5 .row.show-grid > .col-md-7,
	#section5 .row.show-grid > .col-md-5{
		width:100%;
	}
	#section5 .row.show-grid .col-md-7 .col-md-7,
	#section5 .row.show-grid .col-md-7 .col-md-5{
		width:50%;
	}
	#wstaw{
		padding-left:20px;
	}
        
}
@media (max-width:640px){
	#section5 .row.show-grid .col-md-7 .col-md-5{
		width:40%;
	}
	
	#section5 .row.show-grid .col-md-7 .col-md-7{
		width:60%;
	}
	
	#section5 .row.show-grid .col-md-7 .row{
		margin:0 -15px;
		max-width:none;
		width:auto;
	}
		
}

@media (max-width:500px){
	#section5 .row.show-grid .col-md-7 .col-md-5{
		width:43%;
	}
	
	#section5 .row.show-grid .col-md-7 .col-md-7{
		width:57%;
	}
	#wstaw {
		padding:0;
		margin-top:5px;
	}
	#wstaw .grey{
		display:none;
	}
	#section5 .row.show-grid .col-md-7 .row{
		margin:0 -15px;
		max-width:none;
		width:auto;
	}
	.linki:hover::after,
	.linki.active::after{
		display:none;
	}	
}