@import url('https://cdn.remazil.ru/projects/tofficraft.ru/fonts/css/gilroy.css');

.footer {
    font-family: Gilroy;
    color: #fff;
    background: #1B1B1B;
}
.footer-item_title {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.footer-item_title .mobile-toggle {
    display: none;
    width: 20px;
    transition: transform 0.3s;
}
.footer-section.active .mobile-toggle {
    transform: rotate(180deg);
}
.footer-item_text {
    font-size: 16px;
    font-weight: 600;
    font-style: normal;
    line-height: normal;
    text-wrap: balance;
}
.footer-item_text_gray {
    color: #646464;
}
.footer-item_text_darker {
    color: #404040;
}
.footer-item_icons {
    margin-top: 10px;
    margin-bottom: 10px;
	display: flex;
    gap: 10px;
    align-items: center;
}
.footer-item_icons_item {
    border-radius: 5px;
}

.tii-telegram:hover, .tii-telegram:active {
	box-shadow: 0 3px 10px 0 #27a5e4;
}

.tii-vk:hover, .tii-vk:active {
	box-shadow: 0 3px 10px 0 #07f;
}

.tii-discord:hover, .tii-discord:active {
	box-shadow: 0 3px 10px 0 #5662f6;
}

.tii-youtube:hover, .tii-youtube:active {
	box-shadow: 0 3px 10px 0 #f00;
}

.tii-dzen:hover, .tii-dzen:active {
	box-shadow: 0 3px 10px 0 #373737;
}

.footer-item_links-box > a {
    display: block;
    color: #fff;
    text-decoration: underline;
    line-height: normal;
    font-weight: 600;
}
.footer-item_links-box.box-margin {
    margin: 6px 0;
}
.footer-divider {
    background: #2C2C2C;
    opacity: 1;
    margin: 20px 0 5px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom > img {
    margin: 15px 0;
}
.footer-bottom > .footer-item_text {
    margin-left: 1rem;
}
.footer-item_links-box > a:hover {
    opacity: 0.8;
}
.mt-10px {
    margin-top: 10px;
}
.nodecor {
    text-decoration: none!important;
}
.nodecor > linktext {
    text-decoration: underline!important;
}

.cookies-alert {
    z-index: 1000;
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);

    border-radius: 15px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    /*display: flex;*/
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.cookies-alert.show {
    display: flex;
}

.cookies-alert_text {
    font-weight: 500;
    font-size: 16px;
    color: #1b1b1b;
    line-height: 1.2;
    white-space: nowrap;
}

.cookies-alert_text a {
    color: #fe902f;
    text-decoration: none;
}

.cookies-alert_text a:hover {
    text-decoration: underline;
}

.cookies-alert_button {
    border-radius: 5px;
    padding: 7px 15px;
    background: #afafaf;
    font-weight: 500;
    font-size: 15px;
    color: #fff;
    line-height: 1;
    border: none;
}

.cookies-alert_button:hover {
    background: #8a8a8a;
}

@media screen and (max-width: 768px) {
    .footer.p-4 {
        padding: .15rem 0 0 !important;
    }
    .footer-section {
        border-bottom: 1px solid #646464;
        /* padding: 0; */
    }
    .footer-item_title {
        padding: 0.5rem;
        margin-bottom: 0;
    }
    .footer-item_title .mobile-toggle {
        display: block;
    }
    .footer-content {
        max-height: 0;
        overflow: hidden;
        padding: 0 0.5rem;
        transition: max-height 0.3s ease, padding 0.3s ease;
        border-top: 1px solid transparent;
    }
    .footer-section.active .footer-content {
        max-height: 1000px;
        padding: 0.5rem 0.5rem 1rem;
        border-top: 1px solid #646464;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom > .footer-item_text {
        margin-left: 0;
    }
    .footer-divider {
        display: none;
    }

    .cookies-alert {
        transform: none;
        box-shadow: 0px -4px 5px 0 rgba(0, 0, 0, 0.1);
        background: #fff;
        left: 0;
        right: 0;
        width: 100%;
        bottom: 0;
        border-radius: 0;
        justify-content: center;
    }
}

@media screen and (min-width: 769px) {
	.footer-item_title {
		cursor: initial;
	}

    .footer-content {
        max-height: none!important;
        display: block!important;
        padding: 0!important;
        border-top: none!important;
    }
}