/*
 *	-----------------------
 *	dev: Polo-Art.ru
 *	----------------------- 
*/

 /*--- Fonts ---*/
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600&display=swap');
/*font-family: 'Rubik', sans-serif;*/

/*--- Modal ----*/
.modal-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	z-index: 100;
	background: #0000005c;
	backdrop-filter: blur(1px);
}

.invert-body .modal-wrapper {
	background: #000000d1;
	backdrop-filter: none;
}

.modal-wrapper.active {
	display: flex;
}

.modal {
	margin: auto;
	background: #ffffffde;
	padding: var(--cpadding);
	border-radius: 6px;
	box-shadow: 0px 6px 34px rgb(75 81 134 / 18%);
	min-width: 480px;
	position: relative;
	border: 4px solid var(--border-clr);
}

.invert-body .modal {
    background-color: #b2b2b257;
    backdrop-filter: blur(4px);
	border-color: #2c2c2cc9;
}

.modal-inner {
	
}

.modal-subcaption + .modal-inner {
	margin-top: var(--cpadding);
}

.modal-close {
	width: calc(var(--cpadding) * 2);
	height: calc(var(--cpadding) * 2);
	text-align: center;
	position: absolute;
	top: calc(var(--cpadding) * -2);
	right: calc(var(--cpadding) * -2);
	display: flex;
	cursor: pointer;
	color: var(--border-clr);
}

.modal-close:hover {
	fill: var(--main-clr);
}

.modal-close svg {
	display: block;
	margin: auto;
}

.modal-caption {
    width: 100%;
    font-size: 2rem;
    font-weight: 500;
    text-align: center;
    margin: 0 0 1rem 0;
}

.modal-subcaption {
	text-align: center;
}

.modal__input-wrapper {
	
}

.invert-body .modal .input, 
.invert-body .modal .textarea {	
	background: none;	
	border-color: #949494c9;
	color: #fff;
}

.invert-body .modal .input.error, 
.invert-body .modal .textarea.error {		
	border-color: var(--main-clr);
}

:root {
    --main-clr: #d24a43;
    --main-clr-hov: #b03832;
    --main-clr-2: #1c94cb;
    --main-clr-2-hov: #1382b5;
    --body-clr: #ffffff;
    --text-clr: #212529;
    --text-light-clr: #434e56;
    --link-clr: #b03832;
    --link-clr-hov: #d24a43;
    --light-clr: #f4f4f6;
    --border-clr: #ebebeb;
    --cwidth: 1460px;
    --cpadding: calc(var(--font-size) * var(--line-height));
    --hcpadding: calc(var(--cpadding) * 0.5);
    --mpadding: calc(var(--cpadding) * -1);
    --mhpadding: calc(var(--hcpadding) * -1);
    --vh: 1vh;
    --min-content-height: 100vh;
    --header-height: 72px;
	--footer-height: 72px;
    --font-size: 16px;
    --line-height: 1.5;
    position: relative;
}


/*--- DEV ---*/
.designer-support::before {
	--font-size: 16px;
	--line-height: 1.5;	

	content: "";
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, #f00, transparent 1px) 0 0 / 100% calc(var(--font-size) * var(--line-height)),
			  transparent
			  linear-gradient(to top, #f99, transparent 1px) 0 0 / 100% calc((var(--font-size) * var(--line-height)) / 2); 
	position: absolute;
	z-index: 99;
	pointer-events: none;
}
/**/


html {
	font-size: var(--font-size);
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: var(--line-height);
    background: var(--body-clr);
    color: var(--text-clr);
    font-family: 'Rubik', sans-serif;
    padding-top: var(--header-height);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-bottom: 0.75rem;
    font-weight: 700;
}

h1, .h1 {
	font-size: 2.5rem;
}

h2, .h2 {
	font-size: 2rem;
}

h3, .h3 {
	font-size: 1.5rem;
}

h4, .h4 {
	font-size: 1rem;
}

h5, .h5 {
	font-size: 1rem;
}

h6, .h6 {
    font-size: 1rem;
}

* + h1, * + .h1,
* + h2, * + .h2,
* + h3, * + .h3,
* + h4, * + .h4,
* + h5, * + .h5,
* + h6, * + .h6 {
    margin-top: 1.5rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--text-light-clr);
}

ol, ul {
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-left: 40px;
}

ul {
	list-style-type: square;
}

li {
    color: var(--text-light-clr);
}

li::marker {
	color: #d24a43;
}

a {
	color: var(--link-clr);
	text-decoration: none;
}

a:hover {
	color: var(--link-clr-hov);
}

hr {
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 0;
    border-top: 1px solid rgba(0,0,0,.1);	
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0; 
}

input[type=number] {
	-moz-appearance: textfield; 
}

.hidden {
	display: none!important;
}

.mt-half {
	margin-top: calc(var(--cpadding) * 0.5);
}

.mt-1 {
	margin-top: var(--cpadding);
}

.mt-2 {
	margin-top: calc(var(--cpadding) * 2);
}

.mt-3 {
	margin-top: calc(var(--cpadding) * 3);
}

.mt-4 {
	margin-top: calc(var(--cpadding) * 4);
}

.mb-half {
	margin-bottom: calc(var(--cpadding) * 0.5);
}

.mb-1 {
	margin-bottom: var(--cpadding);
}

.mb-2 {
	margin-bottom: calc(var(--cpadding) * 2);
}

.mb-3 {
	margin-bottom: calc(var(--cpadding) * 3);
}

.mb-4 {
	margin-bottom: calc(var(--cpadding) * 4);
}

.vw-100 {
	width: 100vw;
}

.vh-100 {
	height: 100vh;
}

.w-100 {
	width: 100%;
}

.h-100 {
	height: 100%;
}

.flex {
	display: flex;
}

.overflow-hidden {
	overflow: hidden;
}

.container {
	width: var(--cwidth);
    padding: 0 var(--cpadding);
    margin: 0 auto;
}  

.min-content-height {
	min-height: calc(100vh - var(--header-height) - var(--footer-height));
}

/*--- FORMIT ERROR ---*/
.af-message-error {
	background-color: var(--main-clr);
}

/*--- Link ---*/
.link-dotted {
	border-bottom: 1px dotted;
}

.link-dotted:hover {
	border-bottom-color: transparent;
}

/*--- Button ---*/
.btn {
	color: #fff;
	border: none;
	background: var(--main-clr);
	box-shadow: 4px 4px 10px 0px #00000017;
	transition: 0.1s cubic-bezier(1, -0.05, 0, 1.15);
	font-weight: 400;
	text-align: center;
	display: block;
	padding: 12px;
	border-radius: 2px;
	cursor: pointer;
	font-size: var(--font-size);
	line-height: var(--line-height);
}

.btn:hover {
    background: var(--main-clr-hov);
    color: #fff;
    box-shadow: 2px 4px 12px 0px #0000002b;
}

.btn--tiny {
	display: block;
	color: var(--text-light-clr);
	border: 1px solid var(--border-clr);
	padding: 8px;
	border-radius: 2px;
	cursor: pointer;
	font-size: var(--font-size);
	line-height: var(--line-height);
	text-align: center;
}

.btn--tiny:hover {
	color: var(--text-clr);
	border-color: currentColor;
}

/*--- FORM ---*/
.form {}


/*--- INPUT ---*/
.input {
    background: #FFFFFF;
    border: none;
    padding: var(--hcpadding);
    border-radius: 6px;
    font-weight: 400;
    width: 100%;
    line-height: var(--line-height);
    transition: 0.1s cubic-bezier(0.3, 0, 0, 1.01);
}

.input:hover {
	box-shadow: 2px 4px 24px 0px #6788d124;
}

.input::placeholder {
	color: var(--text-light-clr);
}

.input--border:focus-within {
	border-color: var(--text-light-clr);
}

.input--border {
	border: 1px solid var(--border-clr);
	padding: calc(var(--hcpadding) - 1px);
}

.input.error {
    border-color: var(--main-clr);
}

/*--- TEXTAREA ---*/
.textarea {
    background: #FFFFFF;
    border: none;
    padding: var(--hcpadding);
    border-radius: 6px;
    font-weight: 400;
    line-height: 1.5;
    width: 100%;
    resize: none;
    line-height: var(--line-height);	
    transition: 0.1s cubic-bezier(0.3, 0, 0, 1.01);
}

.textarea:hover {
	box-shadow: 2px 4px 24px 0px #6788d124;
}

.textarea::placeholder {
	color: var(--text-light-clr);
}

.textarea--border:focus-within {
	border-color: var(--text-light-clr);
}

.textarea--border {
	border: 1px solid var(--border-clr);
	padding: calc(var(--hcpadding) - 1px);
}

.textarea.error {
	
}

/*--- simple_checkbox ---*/
.checkbox {
    display: flex;
    align-items: center;
	cursor: pointer;
}

.checkbox input {
	display: none;
}

.checkbox span {

}

.checkbox-checker {
	width: 18px;
	height: 18px;
	border: 1px solid var(--light-clr);
	border-radius: 3px;
	margin: 0 12px 0 0;
	display: flex;	
	color: transparent;
}

.checkbox-checker svg {
    fill: currentColor;
    width: 10px;
    height: 10px;
    margin: auto;
}

.checkbox input:checked + .checkbox-checker {
	background: var(--main-clr);
	border-color: var(--main-clr);
	color: #fff;
}

.checkbox:hover {
    color: var(--main-clr-hov);
}

/*--- TABLE PROPERTY ---*/
.property {
	display: grid;
    grid-template-columns: 1fr 1fr;
}

.property-title {

}

.property-value {

}