/*
    Theme Name: Metalweb Theme
    Description: Metalweb.ru — информационная система металлургического рынка
    Version: 1.0
*/

/* ========== FONTS ========== */
@font-face {
    font-family: 'Eitai';
    src: url('../fonts/Eitai.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-400.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-400C.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-300.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-500.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-600.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-700.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SamsungOne';
    src: url('../fonts/SamsungOne-800.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* ========== FONT APPLICATION ========== */
body,
p, span, a, li, label, input, textarea, select, button,
.richtext, .newsItem__title, .newsItem__category, .newsItem__date,
.siteFooter, .siteMenu__contacts, .siteNav__link,
.btn__label, .subheading, .cardStack__number,
.cta__marquee-part {
    font-family: 'SamsungOne', 'Arial', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.hero__heading,
.font-size-xl, .font-size-2xl, .font-size-3xl, .font-size-lg,
.headingReveal,
.featureBlock__content h3 {
    font-family: 'Eitai', 'Arial', sans-serif;
}

/* ========== LOGO SIZING IN HEADER & FOOTER ========== */
.siteHeader__logo img.metalweb-logo {
    height: 40px;
    width: auto;
    display: block;
}

/* Логотип в хедере на тёмном/инвертированном фоне — инвертируем чёрный текст в белый */
.siteHeader--inverted .siteHeader__logo img.metalweb-logo {
    filter: invert(1) brightness(2);
}

.siteFooter__logo img.metalweb-logo {
    height: 48px;
    width: auto;
    display: block;
    filter: invert(1) brightness(2);
}

.pageTransition__logo img.metalweb-logo {
    height: 60px;
    width: auto;
    display: block;
    filter: invert(1) brightness(2);
}

@import url('app.css');

/* IE Hack */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	
}

input.error, textarea.error {
    border: 1px solid !important;
    border-color: #f00 !important;
}

select.error {
    border: 1px solid !important;
    border-color: #f00 !important;
}

input.error + label .checkbox {
    border: 1px solid !important;
    border-color: #f00 !important;
}

.contactForm__radiogroup-item input.error + label {
    border: 1px solid !important;
    border-color: #f00 !important;
}

.grecaptcha-badge {
    display: none;
}

.d-none {
    display: none !important;
}