﻿
.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.input-search {
    height: 50px;
    width: 50px;
    border-style: none;
    padding: 10px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: #516feb;
    padding-right: 40px;
    color: #000;
    font-size: 17px;
    font-family: "LatoLatinWeb";
    color: #173470;
    text-transform: uppercase;
    font-weight:bold;
}

    .input-search::placeholder {
        color: #173470;
        font-size: 18px;
        font-family: "LatoLatinWeb";
    }

.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}

    .btn-search:focus ~ .input-search {
        width: 170px;
        border-radius: 0px;
        background-color: transparent;
        transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
    }

.input-search:focus {
    width: 170px;
    border-radius: 0px;
    background-color: transparent;
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

.countdown {
    display: flex;
    transform-style: preserve3d;
    perspective: 500px;
    height: 10rem;
    width: 17em;
    margin: 0 auto;
}

    .countdown.remove {
        animation: hide-countdown 1s cubic-bezier(0, 0.9, 0.56, 1.2) forwards;
        overflow: hidden;
    }

.number2, .separator {
    display: block;
    color: #fff;
    height: 10rem;
    font-size: 3rem;
    position: relative;
    line-height: 10rem;
    text-align: center;
    width: 100%;
}

.separator {
    margin: 0;
    width: 2rem;
}

.new, .old, .current {
    color: #fff;
    position: absolute;
    border-radius: 1rem;
    height: 10rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.new {
    animation: show-new 0.4s cubic-bezier(0, 0.9, 0.5, 1.2) forwards;
}

.old {
    animation: hide-old 2s cubic-bezier(0, 0.9, 0.56, 1.2) forwards;
}

.countdown section {
    position: relative;
}



@keyframes hide-countdown {
    to {
        height: 0;
        overflow: hidden;
    }
}

@keyframes show-new {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-2rem) scale(0.8) rotateX(-20deg);
    }

    100% {
        transform: translate(-50%, -50%);
    }
}

@keyframes hide-old {
    0% {
        transform: translate(-50%, -50%);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-5rem) scale(0.5) rotateX(-75deg);
    }
}

.header-top .market-widget-box {
    min-width: 0;
    overflow: hidden;
    align-items: center;
    padding-top: 4px;
    padding-bottom: 4px;
}

.header-top .market-widget-box .hdr-tv-ticker {
    width: 100%;
    display: flex;
    align-items: center;
}

.header-top .hdr-tv-ticker iframe {
    width: 100%;
    height: 46px;
    border: 0;
    display: block;
    background: transparent;
}

.header-top .main-logo-area {
    flex-shrink: 0;
}

.hdr-tv-ticker {
    overflow: hidden;
}

.static-ticker {
    display: flex;
    width: 100%;
    overflow: hidden;
}

.static-ticker-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    white-space: nowrap;
    animation: hdr-ticker-scroll 32s linear infinite;
}

.hdr-tv-ticker:hover .static-ticker-track {
    animation-play-state: paused;
}

@keyframes hdr-ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.t-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 36px;
    font-size: 13px;
    color: #fff;
}

.t-sym {
    font-weight: 700;
}

.t-val {
    color: #dbe3ff;
}

.t-chg {
    font-weight: 600;
}

.t-chg.up {
    color: #79d98b;
}

.t-chg.down {
    color: #ff9191;
}

.static-quotes-wrap {
    max-height: 485px;
    overflow-y: auto;
}

.static-quotes {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    font-weight: 700;
}

.static-quotes th,
.static-quotes td {
    padding: 12px 12px;
    text-align: right;
}

.static-quotes th {
    color: #516feb;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 2px solid #eef3fb;
}

.static-quotes th:first-child,
.static-quotes td:first-child {
    text-align: left;
}

.static-quotes td {
    color: #414f63;
    border-bottom: 1px solid #eef3fb;
    white-space: nowrap;
}

.static-quotes tbody tr:nth-child(even) td {
    background-color: #f8fafd;
}

.static-quotes .up {
    color: #16a580;
}

.static-quotes .down {
    color: #ff4a68;
}

#stockChart {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

#stockChart iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.stock-market-papers iframe {
    width: 100%;
    border: 0;
    display: block;
}

@media (max-width: 1199.98px) {
    .header-top .hdr-tv-ticker iframe {
        height: 40px;
    }

    .main-logo-area.mobile {
        flex-wrap: nowrap;
    }

    .main-logo-area.mobile .logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .main-logo-area.mobile .logo img {
        width: auto;
        height: 36px;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .main-header .header-auth-area .hdr-deniztrader {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 50px;
        z-index: 10;
        border-radius: 0;
        margin: 0;
        justify-content: center;
        white-space: nowrap;
    }

    body {
        padding-bottom: 50px;
    }
}
