* { margin: 0px; padding: 0px; } /*best reset*/
html, body { background: #fff; position: relative; font-size:100%; height: 100%;
	 } /* line-height:1.125em; 16px×1.125=18; 0.875em=14px; 0.75em=12px */
/*  16px - базовый размер шрифта http://xhtml.ru/2007/11/22/how_to_size_text_in_css/ */

sup { vertical-align: baseline; position: relative; top: -0.4em; }
sub { vertical-align: baseline; position: relative; bottom: -0.4em; }

a { color: #0077dd; }
a:link { } /*Love-HAte rule*/
a:hover { text-decoration: none; }
a:active { outline:none; }
a img { border: none; }

p { margin: 0 0 18px; }

input { vertical-align: middle; }

table{border-collapse:collapse;}
td {vertical-align:top; text-align:left;}

ul, ol {list-style-position:inside;}

/* классы для сообщений */
.alert, .error, .errors {color:red}
.notice{color:blue}
.success{color:green}

.cl {clear:both;}
.hidden{display:none;}


/* content */

#wrapper {
	width: 90%;
	max-width: 1200px;
	margin:0 auto;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	/* font-family: 'sans-serif'; */
	font-family: "Comic Sans MS", "Comic Sans", cursive;
}

#header{
	position: relative;
	padding-bottom:2em;
	flex: 0 0 auto;
}
#logo{
	float:left;
}

#phone {
text-align:right;
  font-size:18pt;
  padding: 30px 30px 20px 0;
}
#phone span {
	
}

#content {
	font-size: 14pt;
	flex: 1 0 auto;
}

#footer {
	flex: 0 0 auto;
	margin-bottom: 20px;
}

p.err {
	margin-top: 16px;
	color: rgb(200, 0, 0);
}

.form {
	max-width: 100%;
}

.form input, .form select {
	padding: 5px;
	border-radius: 6px;
	border: 1px solid #0076dd69;
}

.form__inputs {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 15px;
}

.form__title {
	margin-top: 10px;
	margin-bottom: 10px;
}

.form__currency {
	font-size: 16px;
}

.form__date {
	font-size: 16px;
}

.form__sum {
	font-size: 16px;
}

.form .form__submit {
	cursor: pointer;
	margin-left: 40px;
	background-color: black;
	color: white;
	padding-left: 20px;
	padding-right: 20px;
	border-color: transparent;
}

.results {
	margin-top: 40px;
	max-width: 70%;
	margin-bottom: 40px;
}

.results__row {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	border-bottom: 1px solid rgb(160, 160, 255);
	column-gap: 40px;
	row-gap: 20px;
}

.results__row span {
	grid-column: span 4;
	padding-bottom: 4px;
	padding-top: 4px;
}

.results__row span:last-child {
	grid-column: span 2;
}