/*
Theme Name: Landing Page
Theme URI: http://arteground.ru/
Description: Создана по freelance заказу
Version: 1.0
Author: Vicos
Author URI: http://arteground.ru/
Tags: landingpage
*/
*{
	margin: 0;
	padding: 0;
}
@font-face {
	/*font-family: 'revicons';
	src: url('fonts/revicons.eot');
	src: local('☺'), url('fonts/revicons.woff') format('woff'), url('fonts/reviconsl.ttf') format('truetype'), url('fonts/reviconsl.svg') format('svg');
	font-weight: normal;
	font-style: normal;*/
}
h1, h2, h3, h4, h5, h6 {
  	/*font-family: "Hul", Helvetica, Arial, sans-serif;*/
}
html{
	overflow-x: hidden;
	overflow-y: auto;
}
body {
	/*font-family: "HelveticaNeueCyr", Helvetica, Arial, sans-serif;*/
}
a {
	outline: 0 !important;
}
/*****************************
 * Стили склонялки
 *****************************/
#text {
	margin-top: 30px;
}
/*****************************
 * Разделение блоков результата
 *****************************/
.block {
	margin: 0 0 8px;
	padding: 24px 0;
}
.block:first-child {
	padding-top: 0;
}
.block + .block {
	border-top: 2px solid rgba(0, 0, 0, 0.08);
}
/*****************************
 * Таблицы результата
 *****************************/
.md-table-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	text-transform: none;
}
.md-table-wrap {
	overflow-x: auto;
	margin: 0 0 28px;
	background: #fff;
	border: 1px solid #ccc;
}
table.md-table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 14px;
	text-transform: none;
	color: #333;
}
.md-table th,
.md-table td {
	padding: 10px 16px;
	text-align: left;
	vertical-align: middle;
	font-style: normal;
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
}
.md-table th:last-child,
.md-table td:last-child {
	border-right: none;
}
.md-table .md-table-center {
	text-align: center;
}
.md-table thead th {
	background: #444;
	color: #fff;
	font-weight: 600;
	white-space: nowrap;
	border-bottom: 1px solid #444;
	border-right: 1px solid #5c5c5c;
	text-align: center;
}
.md-table thead tr:last-child th {
	background: #5c5c5c;
	border-right-color: #757575;
}
.md-table tbody tr:nth-child(even) {
	background: #f5f5f5;
}
.md-table tbody tr:hover {
	background: #e8e8e8;
}
.md-table tbody tr:last-child td {
	border-bottom: none;
}
.md-table tbody td {
	text-align: center;
}
.md-table tbody td:first-child {
	font-weight: 600;
	white-space: nowrap;
}
.md-table tbody td:nth-child(2) {
	color: #6b6b6b;
	white-space: nowrap;
}
/* Колонка вопросов — по центру ячейки.
   Страницу проверки не трогаем: там во второй колонке длинный текст */
#block-padej tbody td:nth-child(2),
#block-quantifier tbody td:nth-child(2),
#block-quantifier thead tr:first-child th:nth-child(2),
#block-ordinal tbody td:nth-child(2),
#block-ordinal thead tr:first-child th:nth-child(2) {
	text-align: center;
}
/* Сами формы числительного выводим строчными во всех таблицах
   (колонки падежа и вопроса не трогаем) */
.md-table tbody td:nth-child(n+3) {
	text-transform: lowercase;
	text-align: center;
}
/*****************************
 * Страница проверки check.php
 *****************************/
.check-page {
	max-width: 1500px;
	margin: 0 auto;
	padding: 24px 16px 60px;
	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: #333;
}
.check-title {
	margin: 0 0 8px;
	font-size: 24px;
}
.check-summary {
	margin: 0 0 24px;
	font-size: 14px;
	color: #6b6b6b;
}
.check-table {
	min-width: 1200px;
}
.check-table tbody td:nth-child(2) {
	color: #6b6b6b;
	white-space: nowrap;
}
/* На странице проверки показываем сырой результат: без приведения
   к строчным и по левому краю — строки длинные, по центру их не читать */
.check-table tbody td:nth-child(n+2) {
	text-transform: none;
	white-space: normal;
	text-align: left;
}
/* Каждое число занимает две строки: количественное и порядковое.
   Зебру красим по паре, иначе пара визуально разваливается */
.check-table tbody tr:nth-child(even) {
	background: transparent;
}
.check-table tbody tr.check-alt {
	background: #f5f5f5;
}
.check-table tbody tr.check-bad {
	background: #fdf3f2;
}
.check-table tbody tr.check-pair td {
	border-top: 1px solid #ccc;
}
.check-table tbody tr.check-bad td:last-child {
	color: #a3352b;
}
.check-none {
	color: #999;
}
/*****************************
 * Пресеты чисел
 *****************************/
.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.presets {
	margin-left: auto;
	text-align: right;
	display: none;
}
.preset {
	margin: 0 4px 4px 0;
	padding: 5px 11px;
	font-size: 13px;
	color: #333;
	background: #fff;
	border: 1px solid #ccc;
	cursor: pointer;
}
.preset:hover {
	background: #f0f0f0;
}
.preset:active {
	background: #e4e4e4;
}
/*****************************
 * Число прописью
 *****************************/
.propis {
	margin: 0;
	font-size: 16px;
	color: #333;
}
.propis-word {
	text-transform: lowercase;
}
/* Склонение количественного числительного пока не показываем */
#block-quantifier {
	display: none;
}