﻿.details__item.details__item-tradinghours {
    position: relative;
    z-index: 1;
    padding-left: 0;
    padding-right: 0;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #e9edef;
    text-align: start;
    outline: none;
    cursor: initial;
}

.details__item-tradinghours.clicked {
    cursor: pointer;
}

.details__item-tradinghours:focus {
    outline: none;
}

.details__item-tradinghours:before {
    content: '';
    position: absolute;
    top: -16px;
    bottom: -16px;
    right: -21px;
    left: -21px;
    z-index: 0;
    display: block;
    border-radius: 8px;
    background: #f4f4f4;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    opacity: 0;
}

.details__item-tradinghours.active:before {
    opacity: 1;
}

.details__item-tradinghours .details__item-title {
    width: 100%;
}

.details__item-tradinghours.clicked .details__item-title:before {
    content: '';
    position: absolute;
    inset-inline-end: 10px;
    top: 50%;
    display: block;
    width: 7px;
    height: 11px;
    background: url('../image/slider-arrow-right.svg') no-repeat center center / contain;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    -webkit-transform: translateY(-50%) rotate(90deg);
    -ms-transform: translateY(-50%) rotate(90deg);
    transform: translateY(-50%) rotate(90deg);
}

.details__item-tradinghours.clicked.active .details__item-title:before {
    -webkit-transform: translateY(-50%) rotate(-90deg);
    -ms-transform: translateY(-50%) rotate(-90deg);
    transform: translateY(-50%) rotate(-90deg);
}

.tradinghours {
    width: 100%;
}

.tradinghours-status {
    position: relative;
    width: 100%;
    font-weight: 700;
}

.tradinghours__inner {
    position: absolute;
    top: 100%;
    left: -21px;
    display: none;
    width: calc(100% + 42px);
    padding: 0 21px 16px;
    border-radius: 8px;
    color: #6f797e;
    font-size: 14px;
    background: #f4f4f4;
}

.tradinghours__day {
    display: flex;
    flex-direction: row;
    border-bottom: 1px solid rgba(37, 46, 55, .3);
}

.tradinghours__day.tradinghours__day--today {
    color: #272e36;
    font-weight: 600;
}

.tradinghours__day:first-child {
    border-top: 1px solid rgba(37, 46, 55, .3);
}

.tradinghours__day-col {
    padding: 8px 0;
}

.tradinghours__day-col.tradinghours__day-left {
    width: 50%;
}

.tradinghours__day-col.tradinghours__day-right {
    width: 50%;
    text-align: end;
}

.tradinghours__day-period {
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
}

.tradinghours__day-date {
    font-size: 12px;
    line-height: 1.6042;
}

.tradinghours__footer {
    padding-top: 16px;
}

.ti3__symbol-quotes--inactive {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-width: 214px;
    max-width: 320px;
    padding: 20px 12px;
    border-radius: 5px;
    margin-inline-start: auto;
    -webkit-margin-start: auto;
    color: #6f797e;
    font-size: 16px;
    text-align: center;
    background-color: #f4f4f4;
}

.ti3__symbol-quotes-mobile--inactive {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    padding: 19px;
    margin: 24px 0;
    border-radius: 5px;
    font-size: 14px;
    color: #6f797e;
    text-align: center;
    background-color: #f4f4f4;
}

@media (hover: hover) and (pointer: fine) {
    .details__item-tradinghours.clicked:hover:before {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .ti3__symbol-details .details__item.details__item-tradinghours:before {
        right: -8px;
        left: -8px;
    }

    .ti3__symbol-details .tradinghours__inner {
        left: -8px;
        width: calc(100% + 16px);
        padding: 0 8px 16px;
    }
}

@media (max-width: 767px) {
    .ti3__symbol-details .details__item.details__item-tradinghours {
        max-width: none;
        -ms-grid-column: 1;
        grid-column-start: 1;
        -ms-grid-column-span: 2;
        grid-column-end: 3;
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }
}
