footer {
  background: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid #EEE7F1;

}

footer .logo {
  width: 178px;
}

footer .container {
  padding-top: 50px !important;
  padding-bottom: 21px !important;
}

footer .footer-sides.collapsed {
  overflow: hidden;
}

footer .bottom-box {
  border-top: 1px solid #EEE7F1;
  margin: auto;
}

footer .bottom span {
  display: inline-block;
  padding: 0 5px;
}

footer .contact li {
  margin: 12px 0;
}

footer .bottom>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 0;
}

footer .bottom a,
footer .bottom p {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  /* grey/100 */
  color: #424141;
}

footer .footer-content-row {
  display: flex;
}

footer .footer-content-row ul {
  width: 50%;
}

footer .top>div {
  display: flex;
}

footer .footer-sides {
  margin: 10px 0;
}

footer .top .footer-sides ul {
  margin-top: 12px;
  list-style: none;
}

footer .top .footer-sides ul li {
  padding: 2px 0;
}

footer .top .footer-sides ul li p,
footer .top .footer-sides ul li a {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #424141;
  position: relative;
}

footer .bottom a,
footer .top .footer-sides ul li a {
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s
}

footer .bottom a:hover,
footer .top .footer-sides ul li a:hover {
  color: #540C6F;
  opacity: 1
}

footer .top .footer-sides ul:not(.social) li a:before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 8;
  width: 0;
  height: 1px;
  margin: 0 auto;
  background: #540C6F;
  transition: .3s;
  -webkit-transition: .3s;
  -moz-transition: .3s
}

footer .top .footer-sides ul li a:hover:before {
  width: 100%;
}

footer .top ul.contact a {}

footer .top ul.contact li {
  display: flex;
  flex-direction: row;
  align-items: center;
}

footer .top ul.contact li img {
  margin-right: 22px;
}


footer .top ul.social {
  display: flex;
  flex-direction: row;
  margin-left: -10px;
}

footer .top ul.social li {
  margin: 0 10px;
  padding: 0;
  display: flex;
}

footer .top ul.social svg {
  fill: #540C6F;
  width: 24px;
  height: 24px;
}

footer .footer-title {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 22px;
  color: #151515;
  position: relative;
}

footer .footer-title span {
  content: "";
  width: 49px;
  height: 3px;
  position: absolute;
  bottom: -7px;
  left: 0;
  background: #540C6F;
}

footer .contact .email::before {
  display: none;
}

footer .contact .email {
  color: #540C6F !important;
  text-decoration: underline;
}

footer .top .footer-sides:first-of-type {
  width: 30%;
}

footer .top .footer-sides:nth-of-type(2) {
  width: 40%;
}

/* footer .top .footer-sides:nth-of-type(3) {
    width: 31%;
  } */
footer .top .footer-sides:nth-of-type(3) {
  width: 30%;
}

footer .footer-sides .social a {
  margin-right: 26px;
}

@media screen and (max-width:1500px) {
  footer .bottom>div {
    /* flex-wrap: wrap; */
    /* min-height: 80px; */
  }

  footer .bottom>div>div {
    width: 100%;
    flex: 100%;
  }

  footer .bottom>div>div a {
    display: block;
    margin: 0 auto 20px auto;
  }

  footer .bottom a, footer .bottom p {
    font-size: 16px;
  }

  footer .footer-title span {
    bottom: -3px;
  }
}

@media screen and (max-width:991px) {
  footer .top>div {
    flex-wrap: wrap;
    padding-top: 15px;
    padding-bottom: 10px;
  }

  footer .logo {
    width: 165px;
  }

  footer .d-flex {
    flex-wrap: wrap;
  }

  footer .top .footer-sides ul {
    margin-top: 10px;
  }

  footer .top .footer-sides ul.contact {
    margin-top: 15px;
  }

  footer .bottom a, footer .bottom p {
    font-size: 16px;
  }
  footer .top .footer-sides ul li {
    padding: 0;
}
  footer .bottom>div {
    min-height: 66px;
}
  footer .top .footer-sides:first-of-type {
    width: 50%;
  }

  footer .top .footer-sides:nth-of-type(2) {
    width: 50%;
  }

  footer .top .footer-sides:nth-of-type(3) {
    width: 50%;
  }

  footer .top .footer-sides:nth-of-type(4) {
    width: 50%;
  }
  footer .bottom>div {
    display: flex;
    align-items: baseline;
  }

}

@media screen and (max-width:767px) {
  footer .footer-title::after {
    content: "";
    border: solid #899FA9;
    border-width: 0 3px 3px 0;
    padding: 4px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    position: absolute;
    right: 4px;
    top: 15%;
    transition: transform 0.4s;
  }

  footer .footer-sides.collapsed .footer-title::after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
  }

  footer .bottom>div>div a {
    margin-bottom: 0;
  }

  footer .footer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  footer .footer-title {
    cursor: pointer;
  }

  footer .footer-sides.collapsed .footer-content {
    max-height: 0;
    opacity: 0;
  }

  footer .footer-sides .footer-content {
    max-height: 100vh;
    opacity: 1;
    transition: all 0.4s;
  }

  footer .top .footer-sides:first-of-type {
    width: 100%;
  }

  footer .top .footer-sides:nth-of-type(2) {
    width: 100%;
  }

  footer .top .footer-sides:nth-of-type(3) {
    width: 100%;
  }

  footer .top .footer-sides:nth-of-type(4) {
    width: 100%;
  }
}

@media(max-width:576px) {
  footer .container {
    padding-top: 30px !important;
    padding-bottom: 21px !important;
  }
  
  footer .bottom-box {
    flex-direction: column;
    gap: 10px;
  }
  footer .footer-title{
    font-size: 20px;
line-height: 24px;
  }
  footer .top .footer-sides ul li p, footer .top .footer-sides ul li a{
    font-size: 14px;
line-height: 21px;
  }
}
