/* =====================================================
   Темная ШАПКА
===================================================== */
body.dark-theme .header.rut-header {
    position: relative;

    display: flex;
    align-items: center;
    gap: 28px;

    width: 100%;

    padding: 4px 16px 4px;

    box-sizing: border-box;

    background: #181D27;

    border: 1px solid #2A3040;
    border-bottom: 2px solid #35C535;
    border-radius: 7px;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, .30),
        0 2px 5px rgba(53, 197, 53, .08);
}


/* =====================================================
   ЛОГО
===================================================== */
.rut-header .logo img {
    width: 30px!important;
    height: 29px!important;
    display: inline-block;
}
		 
body.dark-theme .rut-header .rut-logo {
    flex: 0 0 auto;

    display: flex !important;
    align-items: center;

    gap: 7px;

    margin: 0 !important;
    padding: 0 !important;

    color: #35c535 !important;

    font-family: 'Russo One', Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;

    letter-spacing: 1px;

    line-height: 1;

    white-space: nowrap;

    text-decoration: none !important;
}

body.dark-theme a.logo span {
    color: #35C535 !important;
}

body.dark-theme a.logo:hover span {
    text-shadow: 0 0 10px rgba(53, 197, 53, 0.3);
    transition: 0.3s;
}

body.dark-theme .rut-header .rut-logo img {
    display: block;

    width: 26px;
    height: 24px;

    object-fit: contain;
}


/* =====================================================
   ПОИСК
===================================================== */

body.dark-theme .rut-header .search {
    flex: 1;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;
}


body.dark-theme .rut-header .live-search-form {
    position: relative;

    display: flex;
    align-items: stretch;

    width: 100%;
    height: 42px;

    margin: 0;
}


/* =====================================================
   ПОЛЕ ПОИСКА
===================================================== */

body.dark-theme .rut-search-field {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;

    min-width: 0;

    background: #0D1017;

    border: 1px solid #222838;
    border-right: 0;

    border-radius: 5px 0 0 5px;

    overflow: hidden;
}


/* ИКОНКА ПОИСКА */

body.dark-theme .rut-search-icon {
    flex: 0 0 44px;

    width: 44px;

    text-align: center;

    color: #717784;

    font-size: 18px;
}


/* INPUT */

body.dark-theme .rut-header .live-search-input {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 15px 0 0 !important;

    box-sizing: border-box;

    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;

    color: #D8D9DD !important;

    font-family: Arial, sans-serif;
    font-size: 13px;

    box-shadow: none !important;
}


body.dark-theme .rut-header .live-search-input::placeholder {
        color: #717784 !important;
}
body .rut-search-submit span {
    padding-right: 10px;
}

/* =====================================================
   КНОПКА НАЙТИ
===================================================== */

body .search button {
    position: relative;

    flex: 0 0 105px;

    width: 105px;
    height: 42px;

    margin: 0 !important;
    padding: 0 15px !important;

    overflow: visible;

    background: #35C535 !important;

    color: #fff !important;

    border: 0 !important;
    border-radius: 0 5px 5px 0 !important;

    font-family: 'Russo One', Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;

    cursor: pointer;

    box-shadow: none !important;

    z-index: 2;

    transition:
        background .2s ease,
        filter .2s ease;
}


/* СКОШЕННЫЙ ЛЕВЫЙ КРАЙ */

body.dark-theme .rut-search-submit::before {
    content: '';

    position: absolute;

    left: -14px;
    top: 0;

    width: 27px;
    height: 42px;

    background: #35C535;

    transform: skewX(-19deg);

    z-index: -1;

    transition: background .2s ease;
}


body.dark-theme .rut-search-submit:hover,
body.dark-theme .rut-search-submit:hover::before {
    background: #43D743 !important;
}


/* =====================================================
   LIVE SEARCH
===================================================== */

body.dark-theme .rut-header .live-search-results {
    position: absolute;

    left: 0;
    right: 0;

    top: calc(100% + 5px);

    z-index: 99999;
}


/* Если у подсказок поиска есть белый фон —
   можно переопределить и его */

body.dark-theme .rut-header .live-search-results:not(:empty) {
    background: #181D27;

    border: 1px solid #2A3040;
    border-radius: 5px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}


/* =====================================================
   ПАНЕЛЬ ПОЛЬЗОВАТЕЛЯ
===================================================== */

body.dark-theme .rut-header .upanel {
    flex: 0 0 auto;

    width: auto;

    margin: 0;
    padding: 0;
}


body.dark-theme .rut-user-button {
    min-width: 190px;
    height: 42px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 0 !important;
    padding: 0 15px !important;

    box-sizing: border-box;

    background: #202635 !important;

    border: 1px solid #314A37 !important;
    border-radius: 5px !important;

    color: #EEEEF1 !important;

    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, .15);

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


body.dark-theme .rut-user-button span {
    color: inherit !important;
}


body.dark-theme .rut-user-button i {
    color: #35C535 !important;

    font-size: 17px;
}


body.dark-theme .rut-user-button:hover {
    background: #232C35 !important;

    border-color: #35C535 !important;

    color: #fff !important;
}


/* =====================================================
   LOGIN BUTTON
===================================================== */

body.dark-theme .rut-header .login_btn {
    color: #EEEEF1 !important;
}


body.dark-theme .rut-header .login_btn span {
    color: inherit !important;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    body.dark-theme .header.rut-header {
        gap: 12px;
    }


    body.dark-theme .rut-user-button {
        min-width: 45px;
        width: 45px;

        padding: 0 !important;
    }


    body.dark-theme .rut-header .upanel .m_hide {
        display: none;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    body.dark-theme .header.rut-header {
        flex-wrap: wrap;

        gap: 10px;

        padding: 10px;
    }


    body.dark-theme .rut-header .rut-logo {
        font-size: 17px;
    }


    body.dark-theme .rut-header .search {
        flex: 1 1 100%;

        order: 3;
    }


    body.dark-theme .rut-header .upanel {
        margin-left: auto;
    }


    body.dark-theme .rut-user-button {
        min-width: 42px;
        width: 42px;

        padding: 0 !important;
    }


    body.dark-theme .rut-header .upanel .m_hide {
        display: none;
    }


    body.dark-theme .rut-search-submit {
        flex-basis: 85px;

        width: 85px;

        font-size: 10px;
    }

}

/* =====================================================
   СВЕТЛАЯ ШАПКА
===================================================== */

.header.rut-header {
    position: relative;

    display: flex;
    align-items: center;
    gap: 28px;

    width: 100%;

    padding: 4px 16px 4px;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e3e6e8;
    border-bottom: 4px solid #35c535;
    border-radius: 10px!important;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, .06),
        0 2px 5px rgba(53, 197, 53, .08);
}


/* =====================================================
   ЛОГО
===================================================== */

.rut-logo {
    flex: 0 0 auto;

    display: flex !important;
    align-items: center;

    gap: 7px;

    margin: 0 !important;
    padding: 0 !important;

    color: #222 !important;

    font-family: 'Russo One', Arial, sans-serif;
    font-size: 19px;
    font-weight: 400;

    letter-spacing: 1px;

    white-space: nowrap;

    text-decoration: none !important;
}


.rut-logo img {
    display: block;

    width: 26px;
    height: 24px;

    object-fit: contain;
}
		 a.logo:hover span {
    text-shadow: 0 0 10px rgba(53, 197, 53, 0.3);
    transition: 0.3s;
}
.rut-header-brand .logo span {
    margin-top: 2px;
}

/* =====================================================
   ПОИСК
===================================================== */

.rut-header .search {
    flex: 1;

    width: auto;
    max-width: none;

    margin: 0;
    padding: 0;
}


.rut-header .live-search-form {
    position: relative;

    display: flex;
    align-items: stretch;

    width: 100%;
    height: 42px;

    margin: 0;
}


/* ПОЛЕ */

.rut-search-field {
    position: relative;

    flex: 1;

    display: flex;
    align-items: center;

    min-width: 0;

    background: #f6f7f8;

    border: 1px solid #dfe3e6;
    border-right: 0;

    border-radius: 5px 0 0 5px;

    overflow: hidden;
}


.rut-search-icon {
    flex: 0 0 44px;

    width: 44px;

    text-align: center;

    color: #8a8f95;

    font-size: 18px;
}


.rut-header .live-search-input {
    width: 100%;
    height: 100%;

    margin: 0 !important;
    padding: 0 15px 0 0 !important;

    background: transparent !important;

    border: 0 !important;
    outline: 0 !important;

    color: #333 !important;

    font-size: 13px;

    box-sizing: border-box;

    box-shadow: none !important;
}


.rut-header .live-search-input::placeholder {
    color: #8a8f95!important;
}


/* =====================================================
   КНОПКА НАЙТИ
===================================================== */



/* СКОШЕННЫЙ КРАЙ */

.rut-search-submit::before {
    content: '';

    position: absolute;

    left: -14px;
    top: 0;

    width: 27px;
    height: 42px;

    background: #35C535;

    transform: skewX(-19deg);
    transition: background .2s ease;
    z-index: -1;
}


.rut-search-submit:hover, .rut-search-submit:hover::before {
    background: #2fb52f !important;
}


/* =====================================================
   LIVE SEARCH
===================================================== */

.rut-header .live-search-results {
    position: absolute;

    left: 0;
    right: 0;

    top: calc(100% + 5px);

    z-index: 99999;
}


/* =====================================================
   ПРОФИЛЬ
===================================================== */

.rut-header .upanel {
    flex: 0 0 auto;

    width: auto;

    margin: 0;
    padding: 0;
}


.rut-user-button {
    min-width: 190px;
    height: 42px;

    display: flex !important;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin: 0 !important;
    padding: 0 15px !important;

    box-sizing: border-box;

    background: #fff !important;

    border: 1px solid #dce2de !important;
    border-radius: 5px !important;

    color: #444 !important;

    font-size: 12px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none !important;

    cursor: pointer;

    box-shadow:
        0 2px 6px rgba(0,0,0,.04);

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;
}


.rut-user-button span {
    color: #000 !important;
}


body .rut-user-button i {
    color: #35c535 !important;

    font-size: 17px;
}


.rut-user-button:hover {
    background: #f4fbf4 !important;

    border-color: #35c535 !important;

    color: #222 !important;
}
button.rut-search-submit {
    top: 0 !important;
    right: 0 !important;
}
		 .rut-header-brand .logo span {
    color: #35c535;
    font-size: 27px;
    padding-left: 10px;
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

	    .logo {
        margin-bottom: 0px!important;
    }
    .header.rut-header {
        gap: 12px;
    }

    .rut-user-button {
        min-width: 45px;
        width: 45px;

        padding: 0 !important;
    }

    .rut-header .upanel .m_hide {
        display: none;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 650px) {

    .header.rut-header {
        flex-wrap: wrap;

        gap: 10px;

        padding: 10px;
    }


    .rut-logo {
        font-size: 17px;
    }


    .rut-header .search {
        flex: 1 1 100%;

        order: 3;
    }


    .rut-header .upanel {
        margin-left: auto;
    }


    .rut-search-submit {
        flex-basis: 85px;
        width: 85px;

        font-size: 10px;
    }

}
		 
/* На компьютере кнопки нет */
.rut-mobile-aside-toggle {
    display: none;
}


/* Только мобильная версия */
@media (max-width: 650px) {

    .rut-mobile-aside-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;

        height: 36px;
        padding: 0 10px;

        background: #35c535;
        color: #fff;

        border: 0;
        border-radius: 5px;

        font-size: 11px;
        font-weight: 600;

        cursor: pointer;
        white-space: nowrap;
		        order: 3;
    }

    .rut-mobile-aside-toggle i {
        font-size: 12px;
    }


    /* открытое мобильное меню */
    .aside_bl.rut-mobile-aside-open {
        display: block !important;
    }

}
		 
		.new_item_poster_img button.rgpn-track-heart.rgpn-manual-favorite {
    top: 50px !important;
}
		 .post_img1 button.rgpn-track-heart.rgpn-manual-favorite {
    left: 6px !important;
}