.form {
background: #f2f2f2;
margin: auto;
margin-bottom: 8px;
font-size: 20px;
line-height: 24px;
text-align: left;
}

.form .b500 {
font-weight: 500;
}

.form_l {
font-weight: 700;
text-align: right;
float: left;
width: 30.5%;
padding: 14px 1.5% 0 0;

font-size: 1.3rem;
line-height: 1.5rem;
}

.check {
margin: 0;
padding-top: 12px !important;
}


.form_p {

float: right;
width: calc(63.5% - 2px);
border-left: 2px solid #FFFFFF;
padding: 5px 3% 5px 1.5%;

font-size: 1.3rem;
line-height: 1.5rem;
}

#ilosc_poj {
height: 42px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-content: center;
align-items: center;   
}

.f_group {
width: calc(184px + 2px + 48%);
overflow: hidden;
}

.form_p select {
font-size: 1.1rem;
}

input.text {
padding: 0 4px 0 4px;
margin: 5px 0 5px 0;
width: calc(184px - 8px + 48%);
height: 30px;
border: 1px solid #000;

font-size: 16px;
line-height: 16px;
border-radius: 0;
}

textarea {
padding: 4px;
margin: 0;
border: 1px solid #555;
width: calc(184px - 8px + 48%);
height: 72px;
font-size: 16px;
line-height: 18px;
}

textarea.tk {
width: calc(184px - 8px - 18px + 49%);
margin: -4px 0 2px 0;
}

textarea.tu {
margin: 12px 0 0 0;
}

.tkbot1 {
padding-bottom: 9px !important;
}

.tkbot2 {
padding-bottom: 13px !important;
}

input.adres_ul {
float: left;
width: calc(78% - 8px) !important;
}

input.adres_nr {
float: right;
width: calc(18% - 10px) !important;
}

input.kod_1 {
float: left;
width: calc(8% - 8px) !important;
}

input.kod_2 {
float: left;
width: calc(12% - 10px) !important;
}

input.format {
width: 32px !important;
}

.pauza {
padding-top: 9px;
text-align: center;
float: left;
width: 4%;
}

input.miasto {
float: right;
width: calc(72% - 10px) !important;
}

.form table .lw {
padding-top: 11px;
width: 18px; 
vertical-align: top;
}

.form table .lw div, .pod_form table .lw div {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: flex-start;
align-content: center;
align-items: center; 
}

.form table .lw div {
height: 1.5rem;
}	
	
.pod_form table .lw div {
height: 1.3rem;
}

.form table .pw {
position: relative;
padding: 9px 0 11px 0; 
vertical-align: top;
overflow: hidden;
}

.form table .pw img {
display: inline;
top: 3px;
position: relative;
width: 17px;
}

.fp_g, .fp_s {
border-bottom: 2px solid #FFFFFF;
}

#rozmiar-poj {
margin: -9px 0 -13px 0;
float: right;
}

#prefix-poj {
margin: -9px 0 -11px 0;
float: right;
}

#prefix-poj input {
width: 48px;
height: 28px;
}

.pod_form {
padding: 2px 0 0 18px;

font-size: 1.2rem;
line-height: 1.3rem;
}

.pod_form table .lw {
padding-top: 6px;
}

.pod_form table .pw {
padding: 4px 0 13px 0;
}

.pod_form table .pw img {
display: inline-block;
position: relative;
top: 2px !important;
width: 15px;
}

.zaladuj-poj {
width: 232px;
padding: 0;
height: 24px;
border: 1px solid #bbb;
margin: 4px 0 0 0;
background: #FFFFFF;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center; 
}

.zaladuj-poj input {
margin: 0 0 0 0;
}

.zaladuj-prog {
display: none;
position: relative;
height: 24px;
width: 232px;
text-align: center;
background: #ffffff;
font-family: 'Exo 2', sans-serif;
font-size: 11px;
line-height: 11px;
font-weight: 500;
}

.zaladuj-prog .o_progress {
padding: 6px 0 0 0;
width: 230px;
position: absolute;
z-index: 2;
}

.zaladuj-prog .progress {
border-radius: 0px;
width: 50%;
height: 24px;
background: #ddd;
}

#f_skype {
display: none;
}

.f-alert {
color: #d20000;
font-weight: 500;
font-size: 1.1rem;
padding: 0.1rem 0 0.4rem 0 !important;
}

.al-input {
border: 1px solid #d20000 !important;
}

#daif, #dalg, #dasp, #dapre, #dapk,  {
padding: 0 0 0 18px;
}

#daif p {
margin: -2px 0 0 18px;
}

#dalg p {
margin: -8px 0 8px 18px;
}

#dasp p, #dapk p {
margin: -8px 0 4px 18px;
}

#dapre p {
margin-top: -2px;
margin-bottom: 4px;
}

#dareg p {
margin-top: 4px;
margin-bottom: -4px;
}

#zal-mot-up, #zal-projekt-up, #zal-kody-up {
width: 224px;
}

#wyslij {
margin: auto;
margin-top: 1.4rem;
border: none;
display: block;
background: #d20000;
color: #FFFFFF;
padding: 1rem 1.4rem 1.1rem 1.4rem;
text-align: center;
text-decoration: none;
font-size: 1.3rem;
line-height: 1.5rem;
font-weight: 500;
font-family: 'Exo 2', sans-serif;
border-radius: 0;
-webkit-appearance: none;
-moz-appearance: none;
}

#wyslij:hover {
background: #ff2525;
}

#dymek {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
display: none;
background-color: rgba(0,0,0,0.8);
color: #FFFFFF;
font-size: 1.3rem;
line-height: 1.9rem;
font-weight: 300;
text-align: center;
z-index: 9999;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
align-content: center;
align-items: center; 
}

#dymek div {
width: 498px;
padding: 0.7rem 1rem 1rem 1rem;
background-color: #d20000;
color: #FFFFFF;
position: relative;
}

#dclose {
cursor: pointer;
right: 0;
top: -30px;
display: block;
position: absolute;
width: 28px;
height: 28px;
background: url('../img/x.svg') #d20000 center center no-repeat;
background-size: 65%;
}

.info-dymek {
cursor: pointer;
}


@media all and (min-width: 100px) and (max-width: 1099px) {

.form table .pw img {
	top: 2px;
}

}


@media all and (min-width: 100px) and (max-width: 767px) {

.form_l {
padding: 14px 10px 0 4px;
width: 158px;
}

.form_p {
width: calc(100% - 2px - 172px - 20px);
padding: 5px 10px 5px 10px;
}

.f_group {
width: calc(100%);
}

input.text {
width: calc(100% - 6px);
padding: 0 2px 0 2px;
}

input.adres_nr {
width: calc(19% - 6px) !important;
}

input.kod_1 {
width: calc(10% - 4px) !important;
}

input.kod_2 {
width: calc(14% - 6px) !important;
}

input.miasto {
width: calc(69% - 10px) !important;
}

textarea {
padding: 2px;
width: calc(100% - 6px);
}

textarea.tk {
width: calc(100% - 6px);
}

}


@media all and (min-width: 100px) and (max-width: 574px) {

.form {
margin-bottom: 10px;
}

.form_l {
padding: 7px 10px 8px 10px;
border-bottom: 2px solid #FFFFFF;
text-align: left;
float: none;
width: calc(100% - 14px);
}

.form_p {
float: none;

border-left: none;
width: calc(100% - 20px);
padding: 2px 10px 2px 10px;
}

.check {
display: none;
}

#dymek div {
width: 87%;
}

}