/*
	Theme Name: Mario Theme
	Version: 1.0
	Author: Тарасов Андрей
*/




/*--------------------------------------------------------------
>>> СОДЕРЖАНИЕ:
----------------------------------------------------------------
	CSS RESET
	ОБЩИЕ СТИЛИ
		Текстовый контент

--------------------------------------------------------------*/



/* ==========================================================================
	CSS RESET
========================================================================== */

body { margin: 0; }
main { display: block; }
hr { height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; margin: 0; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template, [hidden] { display: none; }
figure { margin: 0; }



/* ==========================================================================
	ОБЩИЕ СТИЛИ
========================================================================== */
*:not(.ab-icon):not(.ab-item):not(.dashicons):not(.fa):not(ymaps),
*:after, *:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
body {
	font: 14px/1.3 Arial,sans-serif;
}
body.admin-bar { padding-top: 32px; }
h1, h2, h3, h4, h5, h6 {
	line-height: 1.3;
	margin: 0;
}
h1 { font-size: 30px; margin: 0 0 40px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

a { transition: 0.3s; text-decoration: none; }
a img { vertical-align: bottom; }
em { font-style: italic; }
blockquote {
	border: dotted #666 1px;
	border-left: solid #ff5a00 5px;
	margin: 10px 40px;
	padding: 15px;
	color: #333;
	font-style: italic;
	background: #fcfcfc;
}
blockquote p { margin: 0; }
p { margin: 0;}
ul { margin: 0; padding: 0; list-style: none; }
ol { list-style: decimal inside; }
ol li { margin: 1rem 0; }
input[type='submit'] { cursor: pointer; }
*:focus {
	outline: none !important;
	border-color: inherit;
	-webkit-box-shadow: none;
	box-shadow: none;
}
img {max-width: 100%; max-height: 100%; height: auto; border-style: none; }
iframe { display: block; max-width: 100%; border: none; }
table { width: 100%; border-collapse: collapse; border-spacing: 0; }
input, textarea { max-width: 100%; }
textarea { display: block; }
input:focus::-webkit-input-placeholder,
textarea:focus::-webkit-input-placeholder {
   color: transparent !important;
}
input:focus:-moz-placeholder,
textarea:focus:-moz-placeholder {
    color: transparent !important;
}
input:focus::-moz-placeholder,
textarea:focus::-moz-placeholder {
    color: transparent !important;
}
input:focus:-ms-input-placeholder,
textarea:focus:-ms-input-placeholder {
    color: transparent !important;
}
div#wpadminbar ~ span.select2-container, body.admin-bar > span.select2-container {
	padding-top: 32px !important;
}
@media screen and ( max-width: 782px ) {
	div#wpadminbar ~ span.select2-container, body.admin-bar > span.select2-container {
		padding-top: 46px !important;
	}
}

/* 								   Обтекание картинки текстом
------------------------------------------------------------- */
.aligncenter, [align="center"] {
	display: block;
	margin: 5px auto;
}
.alignright, [align="right"] {
	float:right;
	margin: 5px 0 20px 20px;
}
.alignleft, [align="left"] {
	float:left;
	margin: 5px 20px 20px 0;
}
.wp-caption {
	max-width: 100%;
	text-align: center;
	padding: 5px 3px 0;
	margin: 0 0 15px;
	background: #fff;
	border: 1px solid #f0f0f0;
}
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img {
	border: 0 none;
	height: auto;
	margin:0;
	padding:0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}

/* 											Текстовый контент
------------------------------------------------------------- */
.text_content p, .text_content h2, .text_content h3,
.text_content h4, .text_content h5, .text_content h6 {
	margin: 0 0 30px;
}
.text_content table {
	margin: 0 0 30px;
}
.text_content tr:first-child > * {
	background: #eee;
}
.text_content td {
	font-size: 14px;
	padding: 15px;
	text-align: center;
	border: 1px solid #e6e2e3;
}
.text_content ul {
	list-style: disc inside;
	margin: 0 0 30px 30px;
}
.text_content ul li {
	margin: 0 0 5px;
}
.text_content ol {
	margin: 0 0 30px 30px;
	padding: 0;
}
.text_content ol li {
	margin: 0 0 5px;
}

/* 													   Прочее
------------------------------------------------------------- */
.clearfix:after {
	clear: both;
    content: "";
    display: block;
    height: 0;
}
.justify { text-align: justify; line-height: 0;  font-size: 0; }
.justify:after { content: ''; display: inline-block; width: 100%; }
.justify > * { line-height: 1.2; display: inline-block; vertical-align: top; font-size: initial; }
.container {
	max-width: 1200px;
	margin: 0 auto;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}



/* ==========================================================================
	ГЛАВНАЯ
========================================================================== */

.home .container, .home .container .text_content {
	height: 100%;
}
.home .text_content > p {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
	padding: 30px 0;
}
.admin-bar .home .text_content > p {
	height: calc( 100vh - 32px );
}
.home .text_content > p img {
	margin: 0;
}








/* ==========================================================================
	ПОДВАЛ
========================================================================== */



/* ==========================================================================
	МЕДИА-ЗАПРОСЫ
========================================================================== */

@media screen and (max-width: XXXpx) {

}

@media screen and (max-width: 782px) {
	body.admin-bar { padding-top: 46px; }
}



/* == IN CODE WE TRUST == */



/* ==========================================================================
	УРОВЕНЬ 1
========================================================================== */


/* 													Уровень 2
------------------------------------------------------------- */


/* 										 	 уровень 3 */


/* уровень 4 */

