footer{
  margin-top: auto;
  background: #242424;
  border-radius: 1.6rem 1.6rem 0 0;
}
.footer-contact{
  padding: 6.4rem 0;
}
.footer-contact-block{
  display: flex;
  flex-wrap: wrap;
}
.footer-contact-item{
  width: calc(20% - 6.32rem);
  margin-left: 7.9rem;
  position: relative;
}
.footer-contact-item:nth-child(5n + 1){
  margin-left: 0;
}
.footer-contact-item:nth-child(n + 6){
  margin-top: 4.8rem;
}
.footer-contact-item::after{
  position: absolute;
  content: "";
  top: 0;
  left: -3.9rem;
  width: 1px;
  height: 100%;
  background: #D9D9D940;
}
.footer-contact-item:nth-child(5n + 1)::after{
  content: none;
}
.footer-contact-item .h5{
  margin-bottom: 2rem;
}
.footer-contact-item .h5:last-child{
  margin-bottom: 0;
}
.footer-contact-item .h5 *{
  color: #fafafa;
}
.footer-language {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}
.footer-language label{
  -ms-flex-nagative:0;
  flex-shrink: 0;
  font-size: 1.2rem;
  line-height: 125%;
  margin-right: 1.2rem;
  color: #fafafa;
}
.language-flag-list{
  display: flex;
  align-items: center;
}
.language-flag-img{
  margin-right: 0.8rem;
}
.language-flag-img:last-child{
  margin-right: 0;
}
.language-flag-img img{
  width: 1.6rem;
  height: 1.6rem;
  object-fit: cover;
}
.footer-contact-email{
  margin-bottom: 0.8rem;
}
.footer-contact-email *,
.footer-contact-number > p{
  font-size: 1.4rem;
  line-height: 125%;
  color: #fafafa;
  margin: 0;
  word-wrap: break-word;
}
.footer-contact-email *{
  display: block;
  width: calc(100% + 1px);
}
.footer-contact-number a{
  color: #fafafa;
}
.footer-contact-number > p span{
  color: #BDBDBD;
}
.footer-contact-number{
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}
.footer-contact-number:last-child{
  margin-bottom: 0;
}
.footer-contact-tooltip{
  margin-left: 0.8rem;
  cursor: pointer;
  position: relative;
}
.footer-contact-tooltip img{
  width: 1.6rem;
  height: 1.6rem;
  display: block;
}
.footer-contact-tooltip-box{
  position: absolute;
  top: calc(100% + 1.1rem);
  left: 0;
  transform: translateX(calc(-50% + 0.8rem));
  min-width: 21.1rem;
  box-shadow: 0px 4px 40px 0px #00000066;
  padding: 1.2rem;
  background: #242424;
  border-radius: 0.8rem;
  z-index: 1;
  display: none;
}
.footer-contact-tooltip:hover .footer-contact-tooltip-box{
  display: block;
}
.footer-contact-tooltip-box::before{
  position: absolute;
  content: "";
  top: -1.1rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 1.6rem;
  height: 1.3rem;
  background: url(/Tedgifted/images/icon-tooltip-arrow.png);
  background-size: cover;
  background-position: center;
  -webkit-filter: drop-shadow(0px 4px 40px #00000066);
  filter: drop-shadow(0px 4px 40px #00000066);
}
.footer-contact-tooltip-box p{
  font-size: 1.2rem;
  line-height: 125%;
  color: #fff;
}
.footer-bottom-outer{
  background: #FFE700;
  border-radius: 1.6rem 1.6rem 0 0;
}
.footer-top{
  padding: 6.4rem 0 4.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-info{
  display: flex;
  flex-direction: column;
  width: 60%;
  /* max-width: 350px; */
}
.footer-upper-1 {
  width: 50%;
}
.footer-upper-2 {
  width: 50%;
}
.footer-logo{
  margin-bottom: 4.8rem;
}
.footer-logo:last-child{
  margin-bottom: 0;
}
.footer-logo img{
  width: 23.3rem;
  height: auto;
}
.footer-info-text {
  opacity: 0.8;
}
.footer-text p{
  margin-bottom: 0.8rem;
  color: #242424;
  font-weight: 500;
}
.footer-address{
  display: block;
  font-size: 1.2rem;
  color: #242424;
  line-height: 19px;
}
.footer-info-bottom{
  margin-top: 1.2rem;
}
.footer-info-bottom *{
  font-size: 1.2rem;
  color: #242424;
  line-height: 19px;
}
.footer-social {
  margin-top: 4rem;
}
.footer-social:first-child{
  margin-top: 0;
}
.footer-social .h5 {
  margin-bottom: 2rem;
}
.footer-social .h5:last-child{
  margin-bottom: 0;
}
.footer-social ul{
  display: flex;
  align-items: center;
}
.footer-social li::after{
  content: none;
}
.footer-social li{
  padding: 0;
  margin: 0 2rem 0 0;
}
.footer-social li:last-child{
  margin-right: 0;
}
.footer-social a{
  display: block;
}
.footer-social img{
  width: 2rem;
  height: auto;
}
.footer-link-list{
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-info-inner {
  display: flex;
}
@media (max-width: 1199.98px) {
  .footer-info {
    width: 100%;
    max-width: unset;
    flex-direction: row;
    margin-bottom: 30px;
    gap: unset;
    margin: 0 -1rem 30px;
  }
  .footer-info-inner {
    width: 66.66%
  }
  .footer-link-list {
    max-width: unset;
    margin: 0;
    width: 100%;
  }
  .footer-link-item {
    width: 33%;
  }
  .footer-social {
    width: 33.33%;
    margin: 0;
    padding: 0 1rem;
  }
  .footer-upper-1, .footer-upper-2 {
    width: 50%;
    padding: 0 1rem;
  }
}
@media (max-width: 991.98px) {
  .footer-social {
    margin: 0;
  }
  .footer-info {
    padding-bottom: 3rem
  }
}
@media (max-width: 767.98px) {
  .footer-info {
    padding: 0 0 3rem 0;
    margin: 0 -1rem 4.8rem;
    gap: 50px;
  }
  .footer-social {
    width: 100%;
    margin: 0;
    padding: 0 1rem;
  }
  .footer-upper-1, .footer-upper-2 {
    width: 50%;
    padding: 0 1rem;
  }
  .footer-info-inner {
    width: 100%;
  }
}
.footer-link-item {
  padding: 0 1.2rem;
}
.footer-link-head{
  margin-bottom: 2.4rem;
}
.footer-link-head:last-child{
  margin-bottom: 0;
}
.footer-link li{
  padding: 0;
  margin: 0 0 1.6rem;
  font-size: 1.2rem;
  line-height: 125%;
}
.footer-link li:last-child{
  margin-bottom: 0;
}
.footer-link li::after{
  content: none;
}
.footer-link li a,
.footer-info-bottom a {
  display: inline-block;
  color: #242424 !important;
}
.footer-link li a:hover,
.footer-info-bottom a:hover {
  text-decoration: underline !important;
}
.footer-bottom{
  border-top: 1px solid #D1BE06;
  padding: 2.5rem 0 4rem;
  display: flex;
  justify-content: space-between;
}
.copytext{
  -ms-flex-nagative:0;
  flex-shrink: 0;
  font-size: 1.4rem;
  line-height: 125%;
  color: #656565;
}
.footer-bottom-text{
  width: 100%;
  max-width: 41.5rem;
  font-size: 0.8rem;
  line-height: 125%;
  color: #242424;
}
@media(min-width:1352px) and (max-width:1539.98px){
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box{
    transform: translateX(calc(-100% + 2.8rem));
  }
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box::before{
    left: auto;
    right: 1.2rem;
  }
}
@media(min-width:1200px) and (max-width:1351.98px){
  .footer-contact {
    padding: 5.6rem 0;
  }
  .footer-contact-item {
    width: calc(20% - 4rem);
    margin-left: 5rem;
  }
  .footer-contact-item::after {
    left: -2.5rem;
  }
  .footer-top {
    padding: 5.6rem 0 4rem;
  }
  .footer-logo {
    margin-bottom: 4rem;
  }
  .footer-logo img {
    width: 20rem;
  }
  .footer-social {
    margin-top: 7.2rem;
  }
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box{
    transform: translateX(calc(-100% + 2.8rem));
  }
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box::before{
    left: auto;
    right: 1.2rem;
  }
}
@media(min-width:992px) and (max-width:1199.98px){
  .footer-contact {
    padding: 5.6rem 0;
  }
  .footer-contact-item {
    width: calc(20% - 3.2rem);
    margin-left: 4rem;
  }
  .footer-contact-item:nth-child(n + 6) {
    margin-top: 4rem;
  }
  .footer-contact-item::after {
    left: -2rem;
  }
  .footer-contact-item .h5 * {
    font-size: 1.6rem;
  }
  .footer-contact-email *,
  .footer-contact-number > p {
    font-size: 1.2rem;
  }
  .footer-contact-tooltip {
    margin-left: 0.5rem;
  }
  .footer-contact-tooltip img {
    width: 1.4rem;
    height: 1.4rem;
  }
  .footer-top {
    padding: 5.6rem 0 4rem;
  }
  .footer-logo {
    margin-bottom: 4rem;
  }
  .footer-logo img {
    width: 18.3rem;
  }
  .footer-link-list {
    /* max-width: 70rem; */
    margin: 0 -1rem;
  }
  .footer-link-item {
    padding: 0 1rem;
  }
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box{
    transform: translateX(calc(-100% + 2.8rem));
  }
  .footer-contact-item:nth-child(5n) .footer-contact-tooltip-box::before{
    left: auto;
    right: 1.2rem;
  }
}
@media(min-width:768px) and (max-width:991.98px){
  .footer-contact {
    padding: 4.8rem 0;
  }
  .footer-top {
    padding: 4.8rem 0;
  }
  .footer-contact-item {
    width: calc(33% - 3.8rem);
    margin-left: 6rem !important;
  }
  .footer-contact-item:nth-child(3n + 1){
    margin-left: 0 !important;
  }
  .footer-contact-item:nth-child(n + 4) {
    margin-top: 4rem;
  }
  .footer-contact-item::after{
    content: "" !important;
    left: -3rem;
  }
  .footer-contact-item:nth-child(3n + 1):after{
    content: none !important;
  }
  .footer-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #D1BE06;
    padding-bottom: 4.8rem;
  }
  .footer-logo {
    width: 100%;
    margin-bottom: 3.2rem;
  }
  .footer-logo img {
    width: 12.7rem;
  }
  .footer-social {
    margin: 0;
  }
  .footer-link-list {
    width: 100%;
    margin: 4rem -1rem 0;
  }
  .footer-link-item {
    padding: 0 1rem;
  }
  .footer-link-head {
    margin-bottom: 2rem;
  }
  .footer-contact-item:nth-child(3n) .footer-contact-tooltip-box{
    transform: translateX(calc(-100% + 3.8rem));
  }
  .footer-contact-item:nth-child(3n) .footer-contact-tooltip-box::before{
    left: auto;
    right: 2.2rem;
  }
}
@media(max-width:767.98px){
  .footer-contact {
    padding: 4.8rem 0;
  }
  .footer-contact-item{
    width: calc(50% - 1.2rem);
    margin-left: 2.4rem !important;
  }
  .footer-contact-item:nth-child(2n + 1){
    margin-left: 0 !important;
  }
  .footer-contact-item:nth-child(n + 3){
    margin-top: 2.4rem;
    padding-top: 2.4rem;
  }
  .footer-contact-item::after{
    content: none;
  }
  .footer-contact-item::before{
    position: absolute;
    content: "";
    left: 0;
    height: 1px;
    width: calc(100% + 1.2rem);
    top: 0;
    background: rgba(217,217,217,0.25);
  }
  .footer-contact-item:nth-child(2n):before{
    left: -1.2rem;
  }
  .footer-contact-item:nth-child(-n + 2):before{
    content: none;
  }
  .footer-contact-email *,
  .footer-contact-number > p {
    font-size: 1.2rem;
  }
  .footer-contact-tooltip {
    display: none;
  }
  .footer-top {
    padding: 4.8rem 0;
  }
  .footer-info {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-bottom: 1px solid #D1BE06;
    padding-bottom: 4.8rem;
    margin-bottom: 4.8rem;
  }
  .footer-info:last-child{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .footer-logo{
    width: 100%;
  }
  .footer-logo img {
    width: 18.4rem;
  }
  .footer-text p {
    font-size: 1.4rem;
    line-height: 125%;
  }
  .footer-info-bottom {
    margin-top: 1rem;
  }
  .footer-social {
    -ms-flex-nagative:0;
    flex-shrink: 0;
    margin-top: 0;
  }
  .footer-link-list {
    width: 100%;
    margin: 0 -0.7rem;
  }
  .footer-link-item {
    padding: 0 0.7rem;
    width: 50%;
    max-width: 50%;
  }
  .footer-link-item:nth-child(n + 3){
    margin-top: 3.2rem;
  }
  .copytext {
    font-size: 1.2rem;
  }
}
