@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --darkgray: #444;
    --lightgray: #f1f1f1;
}

*{
	margin: 0px;
	padding: 0px;
	font-family: "Manrope", "Segoe UI Emoji", "Symbola", sans-serif;
    background-repeat: no-repeat;
}

img {border: none;}
a {
	outline: none;
	text-decoration: none;
}

a.home {color: #000;}
a.home:hover {color: #00AAFF;}

h1, h2, h3, h4, h5, h6 {font-weight: 700;}
input, button, textarea {outline: none;}

h1 {margin-bottom: 30px;}

body {
    width: 100%;
    min-width: 1200px;
    height: 100%;
    min-height: 100dvh;
    background-color: var(--lightgray);
}

.div1400 {
    position: relative;
	width: min(1400px, 100% - 40px);
    margin: auto;
}
.div960 {
    position: relative;
    width: min(960px, 100% - 40px);
    margin: auto;
}

.nobr {white-space: nowrap;}

/* ---------- FONT-WEIGHT ---------- */
.fw3 {font-weight: 300;}
.fw4 {font-weight: 400;}
.fw5 {font-weight: 500;}
.fw6 {font-weight: 600;}
.fw7 {font-weight: 700;}
.it {font-style: italic;}

/* ---------- FLEX ---------- */
.fnw, .fw {
    display: flex;
    align-items: center;
}

.fnw {flex-flow: row nowrap;}
.fw {flex-flow: row wrap;}

.fs {justify-content: flex-start;}
.fe {justify-content: flex-end;}
.sb {justify-content: space-between;}
.cc {justify-content: center;}

/* ---------- GRID ---------- */
.grid {display: grid;}
.grid.col2 {grid-template-columns: repeat(2, 1fr);}
.grid.col3 {grid-template-columns: repeat(3, 1fr);}
.grid.col4 {grid-template-columns: repeat(4, 1fr);}

.grid>.h_span2 {grid-column: span 2;}
.grid>.h_span3 {grid-column: span 3;}
.grid>.h_span4 {grid-column: span 4;}
.grid>.v_span2 {grid-row: span 2;}
.grid>.v_span3 {grid-row: span 3;}
.grid>.v_span4 {grid-row: span 4;}

.vh100 {min-height: 100dvh;}
.vcenter {
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
}
.hcenter {text-align: center;}

.main_menu {margin: 40px auto;}
.main_menu a {
    color: #444;
    text-decoration: underline;
    margin-bottom: 6px;
    transition: 120ms ease-out;
}

.main_menu a:hover {
    color: #00AAFF;
    text-decoration-color: #444;
}

.tox-promotion a,
.tox-statusbar__branding a {display: none !important;}

/* CSS для уведомлений */
.notification {
    position: relative !important;
    padding: 6px 20px !important;
    border-radius: 4px;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.notification.success { background: #d4edda; color: #155724; }
.notification.error { background: #f8d7da; color: #721c24; }
.notification.info { background: #e2f0fd; color: #004085; }

.tox-dialog.tox-dialog--width-lg.modified button[data-mce-name="Save"] {order: 1;}
.tox-dialog.tox-dialog--width-lg.modified button[data-mce-name="Cancel"] {order: 2;}

body.avito_page {background-color: #fff;}

body.avito_page .div1400 {width: min(1360px, 100% - 40px); margin-left: 40px; margin-right: auto;}
body.avito_page .grid {
    grid-template-columns: 622px 322px;
    height: 96vh;
    grid-gap: 46px;
}
body.avito_page .grid.col2 .right {
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
}

body.avito_page .right .btn {
    width: 100%;
    font-size: 20px;
    line-height: 20px;
    color: #fff;
    text-align: center;
    margin-bottom: 10px;
    padding: 12px 0;
}
body.avito_page .right .green_btn {background-color: #02d15c; border-radius: 3px;}
body.avito_page .right .blue_btn {background-color: #00aaff; border-radius: 6px;}
body.avito_page .right .btn span {
    display: block;
    font-size: 14px;
    color: inherit;
    margin-top: 3px;
}
body.avito_page .right .blue_btn span {font-size: 15px; opacity: 0.7;}

body.avito_page .blobs {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
body.avito_page .blobs * {
    background-color: #292827;
    padding: 8px 16px;
    color: #fff;
    font-size: 14px;
    line-height: 16px;
    border-radius: 16px;
}

.ms {display: none !important;}
