/* Navigation dropdown icons */
.dropdown-icon {
    display: inline-block;
    color: #df5239;
    width: 20px;
    height: 20px;
    position: relative;
    top: 2px;
}

/* Top-bar social header icons */
.main-header-icon {
    width: 22px;
    height: 20px;
    color: #000;
    display: inline-block;
    vertical-align: -2px;
    transition: all .2s ease-in-out;
}

.main-header-icon:has(use[href="#telegram"]) {
    fill: #30acec;
}

.main-header-icon:has(use[href="#whatsapp"]) {
    color: #25D366;
}

.main-header-icon:has(use[href="#youtube"]) {
    color: #ff0000;
}

.soc-item a:hover .main-header-icon:has(use[href="#telegram"]) {
    fill: #1c6d95;
}

.soc-item a:hover .main-header-icon:has(use[href="#whatsapp"]) {
    color: #17813e;
}

.soc-item a:hover .main-header-icon:has(use[href="#youtube"]) {
    color: #890101;
}

/* Contact list icons */
.icon-contact {
    width: 18px;
    height: 18px;
    display: inline-block;
    color: #df5239;
    flex-shrink: 0;
    margin-right: 16px;
}
.icon-contact:has(use[href="#telegram"]) {
    fill: currentColor;
}

/* has-icon list item */
.has-icon {
    display: flex !important;
    align-items: center !important;
}
.has-icon:has(use[href="#location"]) {
    align-items: flex-start !important;
}
.has-icon, .has-icon a, .has-icon span {
    color: #333 !important;
}

/* Footer round icons */
.icon-footer-round {
    width: 20px;
    height: 20px;
    display: inline-block;
    position: relative;
}

/* Footer social icon alignment */
.logos-list li a {
    display: flex;
    align-items: center;
}

a:hover .icon-footer-round:has(use[href="#facebook-round"])::before,
a:hover .icon-footer-round:has(use[href="#linkedin-round"])::before,
a:hover .icon-footer-round:has(use[href="#telegram-round"])::before { opacity: 0; }

.icon-footer-round:has(use[href="#facebook-round"])::after,
.icon-footer-round:has(use[href="#linkedin-round"])::after,
.icon-footer-round:has(use[href="#telegram-round"])::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #df5239;
    opacity: 0;
    transition: opacity 0.3s ease;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Page header large icons */
.page-header-icon {
    color: #fff;
    width: 120px !important;
    height: 120px !important;
    display: block;
}

@media (max-width: 767px) {
    .page-header {
        position: relative;
    }

    .page-header .col-auto {
        position: absolute;
        top: 0;
        right: 0;
    }

    .page-header-icon {
        max-height: 40px;
        max-width: 40px;
    }
}

.svg-icon {
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
}

.icon-sm-14 {
    width: 14px;
    height: 14px;
}

.icon-sm-18 {
    width: 18px;
    height: 18px;
}

.tooltip-icon {
    display: inline-block;
    color: #fff;
    vertical-align: -3px;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.svg-icon-spin {
  animation: spin 1s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
