#wpdesk_ksef .form-wrap {
	padding: 0;
}

#wpdesk_ksef .ksef-sending-warning{
	display:none;
	color: #d63638;
	font-weight: bold;
	margin-left:10px;
}
#wpdesk_ksef .form-field * {
	min-width: 350px;
}

#wpdesk_ksef .form-field textarea {
	max-width: 350px;
	width: 100%;
}

#wpdesk_ksef figure {
	margin: 15px 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	box-sizing: border-box;
}

#wpdesk_ksef figure img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0;
}

#wpdesk_ksef figcaption {
	text-align: left;
	font-size: 10px;
	margin-top: 8px;
	width: 100%;
	padding: 0 10px;
	color: #666;
}

#wpdesk_ksef p {
	word-break: break-all;
}


.columns-2 #postbox-container-1 #wpdesk_ksef .form-field * {
	min-width: 0;
	max-width: 100%;
	width: 100%;
}

.columns-2 #postbox-container-1 #wpdesk_ksef .form-field textarea {
	max-width: 100%;
}

.columns-2 #postbox-container-1 #wpdesk_ksef figure {
	align-items: center;
}

.columns-2 #postbox-container-1 #wpdesk_ksef figure img {
	margin: 0 auto;
}

.columns-2 #postbox-container-1 #wpdesk_ksef figcaption {
	text-align: center;
}

.columns-2 #postbox-container-1 #wpdesk_ksef p.ksef-action-buttons {
	flex-direction: column;
	align-items: stretch;
}

.columns-2 #postbox-container-1 #wpdesk_ksef .ksef-action-buttons .button {
	width: 100%;
	justify-content: center;
}

.columns-2 #postbox-container-1 #wpdesk_ksef .ksef-sending-warning{
	margin-left:0;
	text-align:left;
	word-break: break-word;
}
.columns-2 #postbox-container-1 #wpdesk_ksef .ksef-action-buttons {
	text-align: center;
}

@media screen and (max-width: 782px) {
	#wpdesk_ksef .form-field * {
		min-width: 0;
		max-width: 100%;
		width: 100%;
	}

	#wpdesk_ksef .form-field textarea {
		max-width: 100%;
	}

	#wpdesk_ksef figure {
		align-items: center;
	}

	#wpdesk_ksef figure img {
		margin: 0 auto;
	}

	#wpdesk_ksef figcaption {
		text-align: center;
	}

	#wpdesk_ksef p.ksef-action-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	#wpdesk_ksef .ksef-action-buttons .button {
		width: 100%;
		justify-content: center;
	}

	#wpdesk_ksef .ksef-action-buttons .ksef-sending-warning {
		text-align: center;
		margin-left:0;
	}
}
