/* ================================================================
   ТЕМА ВДЦ СМЕНА — custom.css
   Подключается последним в header.inc.php и переопределяет theme.css
   ================================================================ */

/* --- Шрифты и базовые стили --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #eef1f6;
    color: #2d3748;
    line-height: 1.5;
}

/* --- Контейнер --- */
#container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/* ================================================================
   ШАПКА
   ================================================================ */
#header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 60%, #3949ab 100%);
    height: auto;
    min-height: 68px;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    border-radius: 0;
}

/* Логотип */
#logo {
    display: flex;
    align-items: center;
    height: 68px;
    order: 1;
    text-decoration: none;
}
#logo .valign-helper {
    display: none;
}
#header #logo img {
    max-height: 48px;
    max-width: 260px;
    filter: brightness(0) invert(1);
    vertical-align: middle;
}

/* Блок пользователя / языки справа */
#header .pull-right {
    order: 2;
    text-align: right;
}
#header .pull-right p {
    width: auto;
    margin: 2px 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}
#header .pull-right p a {
    color: rgba(255, 255, 255, 0.82);
    border-bottom: none;
    margin-bottom: 0;
    transition: color 0.2s;
}
#header .pull-right p a:hover {
    color: #ffffff;
    border-bottom: none;
}

/* Флаги языков */
#header .pull-right .flag {
    opacity: 0.8;
    transition: opacity 0.2s;
}
#header .pull-right .flag:hover {
    opacity: 1;
}

/* ================================================================
   НАВИГАЦИЯ
   ================================================================ */
#nav {
    background: #283593;
    margin: 0;
    padding: 0 20px;
    height: 46px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
#nav li {
    display: inline-block;
}
#nav li a {
    display: inline-flex;
    align-items: center;
    height: 46px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    font-weight: 600;
    padding: 0 16px;
    margin-left: 2px;
    border-radius: 0;
    background-color: transparent;
    background-image: none !important;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
#nav li a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.08);
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
}
#nav li a.active {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #82b1ff;
}

/* ================================================================
   ПОЛОСЫ ОШИБОК / УВЕДОМЛЕНИЙ
   ================================================================ */
.error_bar {
    background: #fff5f5;
    border-left: 4px solid #e53e3e;
    padding: 12px 20px;
    color: #742a2a;
    margin: 12px 0 0;
    font-size: 13.5px;
}
.warning_bar {
    background: #fffbeb;
    border-left: 4px solid #d69e2e;
    padding: 12px 20px;
    color: #744210;
    margin: 12px 0 0;
    font-size: 13.5px;
}
.notice_bar {
    background: #f0fff4;
    border-left: 4px solid #38a169;
    padding: 12px 20px;
    color: #22543d;
    margin: 12px 0 0;
    font-size: 13.5px;
}

/* ================================================================
   ОСНОВНОЙ КОНТЕНТ
   ================================================================ */
#content {
    background: #ffffff;
    border-radius: 0 0 10px 10px;
    margin: 0;
    padding: 30px 32px;
    min-height: 400px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Сообщения внутри контента */
#msg_notice {
    border-radius: 6px;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #22543d;
    padding: 10px 16px 10px 40px;
    height: auto;
    line-height: 1.5;
    margin-bottom: 16px;
}
#msg_warning, .warning-banner {
    border-radius: 6px;
    background: #fffbeb;
    border: 1px solid #fbd38d;
    color: #744210;
    padding: 10px 16px 10px 40px;
    height: auto;
    line-height: 1.5;
    margin-bottom: 16px;
}
#msg_error {
    border-radius: 6px;
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #742a2a;
    padding: 10px 16px 10px 40px;
    height: auto;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ================================================================
   ЛЭНДИНГ — ГЛАВНАЯ СТРАНИЦА
   ================================================================ */
#landing_page {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
    min-width: 0;
    width: auto;
}

/* --- Сайдбар --- */
.sidebar {
    width: 220px;
    flex-shrink: 0;
    margin: 0;
}
.rtl .sidebar {
    margin-left: 0;
    margin-right: 0;
}
.sidebar .content {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f7f9fc;
    padding: 16px;
}
.sidebar .content:empty {
    display: none;
}
.sidebar section .header {
    font-size: 12px;
    font-weight: 700;
    color: #4a5568;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}
.sidebar section + section {
    margin-top: 16px;
}
.sidebar .content a {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: #3182ce;
    border-bottom: none;
    margin-bottom: 0;
}
.sidebar .content a:hover {
    color: #2b6cb0;
    border-bottom: none;
    text-decoration: underline;
}

/* --- Кнопки сайдбара --- */
.front-page-button {
    margin-bottom: 14px;
}
.front-page-button p {
    margin: 0 0 8px;
}
.front-page-button .blue.button,
.front-page-button .blue.button:visited {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -moz-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -webkit-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    letter-spacing: 0.3px;
    display: block;
    transition: all 0.2s;
    color: #fff;
    text-shadow: none;
    border-bottom: none;
    margin-bottom: 0;
}
.front-page-button .blue.button:hover {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -moz-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -webkit-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    color: #fff;
    border-bottom: none;
    top: 0;
}
.front-page-button .green.button,
.front-page-button .green.button:visited {
    background: linear-gradient(135deg, #276749, #38a169);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 11px 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 4px 14px rgba(56, 161, 105, 0.35);
    -moz-box-shadow: 0 4px 14px rgba(56, 161, 105, 0.35);
    -webkit-box-shadow: 0 4px 14px rgba(56, 161, 105, 0.35);
    letter-spacing: 0.3px;
    display: block;
    transition: all 0.2s;
    color: #fff;
    text-shadow: none;
    border-bottom: none;
    margin-bottom: 0;
}
.front-page-button .green.button:hover {
    background: linear-gradient(135deg, #2f855a, #48bb78);
    box-shadow: 0 6px 18px rgba(56, 161, 105, 0.45);
    -moz-box-shadow: 0 6px 18px rgba(56, 161, 105, 0.45);
    -webkit-box-shadow: 0 6px 18px rgba(56, 161, 105, 0.45);
    color: #fff;
    border-bottom: none;
    top: 0;
}

/* --- Форма поиска --- */
.search-form {
    background: linear-gradient(135deg, #ebf4ff, #e8eef5);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 24px;
    border: 1px solid #c3dafe;
    padding-top: 12px;
}
.search-form .search,
.searchbar .search {
    display: inline-block;
    border: 1px solid #bee3f8 !important;
    border-radius: 8px 0 0 8px !important;
    padding: 10px 14px !important;
    font-size: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
    background: #fff;
    vertical-align: top;
    width: 360px;
    box-sizing: border-box;
}
.search-form .green.button,
.search-form button {
    border-radius: 0 8px 8px 0 !important;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    vertical-align: top;
    background: linear-gradient(135deg, #276749, #38a169) !important;
    background-color: #38a169 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

/* --- Заголовки --- */
h1 {
    color: #1a237e;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 14px;
}
h2, .subject {
    color: #2d3748;
    font-size: 16px;
    font-weight: 600;
}
h3 {
    color: #2d3748;
}

/* --- Featured Categories / KB --- */
.featured-category {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 18px;
    margin: 0 0.6% 14px;
    width: 48%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s, transform 0.2s;
    box-sizing: border-box;
    vertical-align: top;
}
.featured-category:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
    -moz-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
    -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.11);
}
.featured-category i {
    color: #3182ce;
    font-size: 1.4em;
}
.category-name {
    font-weight: 700;
    color: #1a237e;
    font-size: 14.5px;
}
.article-title a {
    color: #2b6cb0;
    font-weight: 500;
}
.article-title a:hover {
    color: #2c5282;
    border-bottom: 1px dotted #2c5282;
}
.article-teaser {
    color: #718096;
    font-size: 12.5px;
    line-height: 1.5em;
}

/* Ссылки типографика */
a, .link {
    color: #2b6cb0;
}
a:hover, .link:hover {
    border-bottom: 1px dotted #2b6cb0;
    color: #2c5282;
}

/* ================================================================
   ПОДВАЛ
   ================================================================ */
#footer {
  
 
    padding: 18px 32px;
    margin-top: 0;
    border-radius: 0;
    text-align: center;
    font-size: 12px;
}
#footer p {
   
    margin: 6px 0 0;
}
#footer a {
    color: rgba(255, 255, 255, 0.65);
    border-bottom: none;
}
#footer a:hover {
    color: #ffffff;
    border-bottom: none;
}
#footer #poweredBy {
    display: inline-block;
    width: auto;
    height: auto;
    text-indent: 0;
    background: none;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
    margin: 4px 0 0;
}
#footer #poweredBy:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ
   ================================================================ */

/* Кнопки глобально */
.button,
.button:visited {
    border-radius: 7px;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: all 0.2s;
}
.green.button,
.green.button:visited {
    background-color: #38a169;
}
.green.button:hover {
    background-color: #2f855a;
}
.blue.button,
.blue.button:visited {
    background-color: #1976d2;
}
.blue.button:hover {
    background-color: #1565c0;
}

/* Клиентский логин */
#clientLogin {
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f7f9fc;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    -moz-box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    -webkit-box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.login-row {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
}
.login-box {
    flex: 0 0 auto;
    width: 40%;
    min-width: 240px;
    padding: 15px;
    box-sizing: border-box;
    box-shadow: 6px 0 15px -15px rgba(0,0,0,0.4);
}
.login-extra {
    flex: 1 1 auto;
    padding: 15px;
    vertical-align: top;
    min-width: 200px;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .login-row {
        flex-direction: column;
    }
    .login-box {
        width: 100%;
        min-width: 0;
        box-shadow: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 20px;
    }
    .login-extra {
        width: 100%;
        padding-top: 16px;
    }
    #clientLogin input[type="text"],
    #clientLogin input[type="password"] {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ================================================================
   ФОРМА ОТКРЫТИЯ ЗАЯВКИ (#ticketForm)
   ================================================================ */
#ticketForm table {
    width: 100% !important;
    box-sizing: border-box;
}
#ticketForm table td {
    word-break: break-word;
    box-sizing: border-box;
}
#ticketForm td textarea {
    width: 100% !important;
    box-sizing: border-box;
}
#ticketForm td input[type="text"],
#ticketForm td input[type="email"],
#ticketForm td input[type="password"],
#ticketForm td select {
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    #ticketForm table,
    #ticketForm tbody,
    #ticketForm tr,
    #ticketForm td,
    #ticketForm th {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    #ticketForm td textarea,
    #ticketForm td input[type="text"],
    #ticketForm td input[type="email"],
    #ticketForm td input[type="password"],
    #ticketForm td select {
        width: 100% !important;
    }
    #ticketForm > table > tbody > tr > td:first-child {
        font-weight: 600;
        padding-bottom: 2px;
    }
}

/* ================================================================
   КНОПКИ ФОРМЫ ОТКРЫТИЯ ЗАЯВКИ (.buttons)
   ================================================================ */
p.buttons {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

p.buttons input[type="submit"] {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -moz-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -webkit-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
p.buttons input[type="submit"]:hover {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -moz-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -webkit-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
}
p.buttons input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

p.buttons input[type="reset"] {
    background: #f7f9fc;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
p.buttons input[type="reset"]:hover {
    background: #edf2f7;
    border-color: #a0aec0;
    color: #2d3748;
}

p.buttons input[type="button"] {
    background: #fff;
    color: #718096;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
p.buttons input[type="button"]:hover {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}

/* ================================================================
   КНОПКИ ПРОФИЛЯ (profile.php) — p[style="text-align: center"]
   ================================================================ */
p[style*="text-align: center"] {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

p[style*="text-align: center"] input[type="submit"] {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -moz-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    -webkit-box-shadow: 0 4px 14px rgba(25, 118, 210, 0.35);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
p[style*="text-align: center"] input[type="submit"]:hover {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -moz-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
    -webkit-box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
}
p[style*="text-align: center"] input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.3);
}

p[style*="text-align: center"] input[type="reset"] {
    background: #f7f9fc;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
p[style*="text-align: center"] input[type="reset"]:hover {
    background: #edf2f7;
    border-color: #a0aec0;
    color: #2d3748;
}

p[style*="text-align: center"] input[type="button"] {
    background: #fff;
    color: #718096;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
}
p[style*="text-align: center"] input[type="button"]:hover {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}

/* ================================================================
   КНОПКИ ФОРМЫ ОТВЕТА НА ТИКЕТ (#reply)
   ================================================================ */
#reply p[style*="text-align"] {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
#reply p[style*="text-align"] input[type="submit"] {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
#reply p[style*="text-align"] input[type="submit"]:hover {
    background: linear-gradient(135deg, #1976d2, #2196f3);
    box-shadow: 0 6px 18px rgba(25, 118, 210, 0.45);
}
#reply p[style*="text-align"] input[type="submit"]:active {
    transform: translateY(1px);
}
#reply p[style*="text-align"] input[type="reset"] {
    background: #f7f9fc;
    color: #4a5568;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
#reply p[style*="text-align"] input[type="reset"]:hover {
    background: #edf2f7;
    border-color: #a0aec0;
    color: #2d3748;
}
#reply p[style*="text-align"] input[type="button"] {
    background: #fff;
    color: #718096;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
#reply p[style*="text-align"] input[type="button"]:hover {
    background: #fff5f5;
    color: #e53e3e;
    border-color: #fed7d7;
}

/* Таблица тикетов */
#ticketTable {
    width: 100% !important;
    border: 1px solid #c3dafe;
    border-left: 1px solid #c3dafe;
    border-bottom: 1px solid #c3dafe;
}
#ticketTable th {
    background: #ebf4ff;
    border-color: #c3dafe;
    color: #2d3748;
    font-weight: 600;
    white-space: nowrap;
}
#ticketTable td {
    border-color: #e2e8f0;
    word-break: break-word;
}
#ticketTable tr.alt td {
    background: #f7f9fc;
}

/* Адаптивность таблицы тикетов */
@media (max-width: 700px) {
    #ticketTable {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* Таблица просмотра заявки */
#ticketInfo {
    width: 100% !important;
    box-sizing: border-box;
}
#ticketInfo h1 {
    font-size: 18px;
    word-break: break-word;
}
#ticketInfo .pull-right {
    float: right;
}

@media (max-width: 700px) {
    #ticketInfo,
    #ticketInfo tr,
    #ticketInfo td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    #ticketInfo .pull-right {
        float: none;
        margin-top: 8px;
    }
    #ticketInfo h1 {
        font-size: 16px;
    }
    .action-button {
        margin-bottom: 4px;
    }
}

/* ================================================================
   АДАПТИВНОСТЬ
   ================================================================ */
@media (max-width: 800px) {
    #header {
        padding: 10px 16px;
        flex-wrap: wrap;
        min-height: auto;
    }
    #logo { height: 50px; }

    #nav {
        padding: 0 8px;
        height: auto;
        flex-wrap: wrap;
    }
    #nav li a {
        height: 40px;
        padding: 0 10px 0 28px;
        font-size: 13px;
        margin-left: 0;
        background-position: 8px 50%;
    }

    #content {
        padding: 20px 16px;
    }

    #landing_page {
        flex-direction: column-reverse;
    }
    .sidebar {
        width: 100%;
    }
    .main-content {
        width: 100%;
    }
    .featured-category {
        width: 97%;
        margin: 0 0 12px;
    }
    .search-form .search {
        width: calc(100% - 80px) !important;
    }

    #footer {
        padding: 16px;
    }
}
