/* FOOTER */
#SiteFooter { padding: 0 30px; margin-top: 100px; overflow: hidden; }
.footer-wrapper { border-top: 1px solid #000; border-bottom: 1px solid #000; padding: 46px 25px 20px; display: flex; justify-content: space-between; flex-wrap: wrap; }
.footer-right { padding: 0 15px; display: flex; flex-direction: column; width: 33%; }
.footer-right .newsletter-heading { font-weight: 700; font-style: italic; font-size: 2rem; line-height: 1; margin-bottom: 5px; }
.footer-right .newsletter-paragraph { font-size: 0.9rem; margin-bottom: 37px; }
.footer-right .newsletter { display: flex; border: 1px solid #000; max-width: 410px; }
.footer-right .newsletter input { flex-grow: 1; color: #000; font-size: 0.75rem; padding: 9.5px; border-radius: 0; border: none; border-left: 1px solid #000; max-width: none; height: 40px; font-size: 0.75rem; }
.footer-right .newsletter input::placeholder { color: #000; }
.footer-right .newsletter button { border-radius: 0; border: none; background: #fff; font-size: 0.75rem; padding: 0 5px; height: 40px; width: 75px; }
.footer-right .newsletter.general-form .form-group { margin: 0; display: flex; flex: 1; }
.footer-right .newsletter.general-form .email-input-wrapper,
.footer-right .newsletter.general-form .input-wrapper.submit-wrapper { width: auto; margin: 0; padding: 0; }
.footer-right .newsletter.general-form .email-input-wrapper { flex: 1; }
.footer-right .newsletter.general-form .fromLabel { font-size: 0.75rem; right: 10px; }
.footer-right .newsletter.general-form .input-wrapper.activeField .fromLabel { right: 0px; }
.footer-right .newsletter button { transition: 0.3s; color: inherit; box-shadow: inset -220px 0px 0px #fff; }
.footer-right .newsletter button:hover, .footer-right .newsletter button:focus { box-shadow: inset -220px 0px 0px #000; background: #000; color: #fff; }

.footer-links { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; }
.footer-category { display: flex; flex-direction: column; padding: 0 15px; }
.footer-middle { padding: 10px 15px 0; flex-grow: 1; width: 48%; }
.footer-category-title { font-weight: 700; font-size: 0.85rem; margin-bottom: 5px; }
.footer-category-link { color: #000; margin-bottom: 3px; }
.footer-left { padding: 0 15px; display: flex; flex-direction: column; text-align: left; align-items: flex-end; font-size: 0.6rem; width: 19%; }
.footer-logo { margin-bottom: 20px; }
.footer-address { margin-bottom: 3px; }
.footer-lang { margin-top: 10px; }
.footer-left a { color: #000; }
.footer-social-link { width: 24px; height: 24px; display: block; border-radius: 50%; margin-right: 10px; text-align: center; }
.footer-socals { display: flex; margin-bottom: 15px; justify-content: flex-end; }
.footer-credit { display: flex; align-items: center; justify-content: center; color: #6f6f6f; padding: 24px 40px 30px; font-size: 0.6rem; font-weight: 200; }
.copyright-logo { padding: 0 15px; width: auto; max-width: 100px; border-left: 1px dotted #bfbcbc; margin-left: 15px; border-right: 1px dotted #bfbcbc; margin-right: 15px; }
.footer-category-link { font-size: 0.6rem; font-weight: 200; }
.footer-lang { display: flex; align-items: center; justify-content: flex-end; }
.footer-lang svg { margin-left: 5px; }
.newsletter-wrapper { display: flex; flex-direction: column; }
.footer-email-phone { display: flex; flex-direction: column-reverse; }
.credit-richkid { padding-bottom: 30px; text-align: center; direction: ltr; gap: 20px; display: flex; align-items: center; justify-content: center; }
.credit-richkid a { position: relative; color: #4b4848; display: block; line-height: 1; }
.credit-richkid a img { display: block; }
.credit-richkid a:first-child:before { display: none; }
.credit-richkid a:before { content: ""; position: absolute; left: -10px; height: 16px; background: #4b4848; width: 1px; top: 50%; transform: translateY(-50%); }

.footer-text p { margin: 0; }
.footer-category-link { transition: 0.3s; }
.footer-category-link:hover, .footer-category-link:focus { color: var(--main-color); }
.footer-category-link { transition: 0.3s; }
.footer-category-link:hover, .footer-category-link:focus { color: var(--main-color); }

.footer-social-link svg { transition: 0.3s; }
.footer-social-link:hover svg, .footer-social-link:focus svg { fill: var(--main-color); }
.footer-left a { transition: 0.3s; }
.footer-left a:hover, .footer-left a:focus { color: var(--main-color); }
.footer-lang svg path { transition: 0.3s; }
.footer-lang:hover path, .footer-lang:focus path { stroke: var(--main-color); }
.footer-left a:hover path, .footer-left a:focus path { fill: #b1afaf !important; }
.footer-left a path { transition: 0.4s; }
.footer-right.inactive { pointer-events: none; opacity: 0; height: 0; padding: 0; }

/* Media */

@media (min-width: 1921px) {
    .footer-right .newsletter button { width: 80px; }
}

@media (max-width: 991px) {
    .footer-right .newsletter { max-width: 100%; }
    .footer-wrapper { flex-direction: column; padding: 0; border-top: 0; }
    .footer-right { order: 1; width: calc( var(--vw) * 1 ); position: relative; left: 50%; right: 50%; margin-left: calc( var(--vw) * -0.5 ); margin-right: calc( var(--vw) * -0.5 ); background: #000; color: #fff; padding: 30px; }
    .footer-left { order: 2; width: 100%; align-items: flex-start; padding: 30px 30px 0; max-width: 540px; margin: 0 auto; margin-bottom: 20px; font-size: 0.7rem; }
    .footer-middle { order: 3; width: 100%; padding: 0; margin-bottom: 30px; }
    #SiteFooter { background: #fff; }
    .footer-right .newsletter.general-form .submit-wrapper button { color: #000; margin: 0; font-weight: bold; min-width: 0; }
    .footer-right .newsletter.general-form .input-wrapper.activeField .fromLabel { color: #8d8d8d; }
    .footer-logo-wrapper { display: flex; align-items: flex-end; margin-bottom: 20px; width: 100%; justify-content: space-between; }
    .footer-logo { margin-bottom: 0; margin-left: 50px; }
    .footer-socals { margin-bottom: 0; }
    .newsletter-wrapper { max-width: 540px; margin: 0 auto; width: 100%; padding: 0 30px; }
    .footer-links { padding: 0 15px; max-width: 540px; margin: 0 auto; }
    .footer-credit { max-width: 540px; margin: 0 auto; }
    .footer-email-phone { flex-direction: row; }
    .footer-email { margin-left: 5px; }
    .footer-email::after { content: "|"; margin-right: 5px; }
    .footer-lang { justify-content: flex-start; }
}

@media (max-width: 767px) {
    #SiteFooter { padding: 0; margin-top: 50px; }
    .footer-right { padding-left: 0; padding-right: 0; }
    .footer-right .newsletter-heading { font-size: 1.4rem; }
    .footer-right .newsletter-paragraph { font-size: 0.7rem; margin-bottom: 20px; }
    .footer-right .newsletter input { padding: 3px 10px; }
    .footer-logo { margin-left: 45px; }
    .footer-credit { padding: 15px 30px; display: block; line-height: 1.4; letter-spacing: 0.3px; font-size: 0.75rem; }
    .credit-richkid { gap: 10px; justify-content: flex-start; padding-left: 30px; }
    .credit-richkid a { font-size: 0.65rem; }
    .credit-richkid a:before { left: -5px; }
    .credit-richkid a img { width: 70px; height: auto; }
    .copyright-logo { padding: 0; border: none; margin-right: 0; max-height: 18px; margin-left: 5px; vertical-align: text-top; }
    .copyright:last-of-type { display: inline-block; vertical-align: -webkit-baseline-middle; }
    .copyright:first-of-type { display: block; }
    .footer-category { width: 100%; max-height: 43px; overflow: hidden; position: relative; transition: 0.4s; }
    .footer-links { flex-wrap: wrap; }
    .footer-category-title { border-top: 1px solid #000; padding-top: 10px; position: relative; }
    .footer-category-title::before { content: ""; display: block; width: 15px; height: 1px; position: absolute; left: 0; background: #000; bottom: 13px; }
    .footer-category-title::after { content: ""; display: block; width: 1px; height: 15px; position: absolute; left: 7px; background: #000; bottom: 6px; transition: 0.3s; }
    .footer-category.open .footer-category-title::after { transform: rotate( 90deg); }
    .footer-category:last-of-type::after { content: ""; display: block; width: calc(100% - 30px); height: 1px; position: absolute; left: 15px; bottom: 0; background: #000; }
    .footer-category-link:last-of-type { margin-bottom: 10px; }
    .footer-category.open { max-height: 100vh; }
    .footer-category-link { align-self: flex-start; margin-bottom: 9px; }
}
