:root {
    --pureWhite: #fff;
    --tfdInputBorderColor: #cac4c4;
    --tfdBodyBorderColor: #DADADA;
    --tfdInputTextColor: #141721;
    --tfdBodyColor: white;
    --bggaps: #dfe2eb;
    --redPrimary: #f23746;
    --greenPrimary: #379981;
    --textPrimary: #131722;
    --textSecondary: #2a2e38;
    --textThird: #787B86;
    --userSettingInputBorderColor: #D1D4DC;
    --disabledButton:#B3B5BE;
    --tvBlueColor: #295CED;
    --r_Ipbg:#F0F3FA;
    --r_seprator : #E1E3EB;
    --perfomanceBtn: #141721;
    --stat_block_border:#E1E3EA;
    --rtable_border:#D2D4DB;
    --textPrimary_reverse: white;
    --r_modal_hoverbg:#F0F3FA;
}

.dark {
    --pureWhite: #1E222D;
    --tfdInputBorderColor: #2D313A;
    --tfdBodyBorderColor: #2D313A;
    --tfdInputTextColor: #E3E5Eb;
    --tfdBodyColor: #131621;
    --textPrimary: #D2D4DC;
    --bggaps: #131621;
    --textThird: #787B86;
    --disabledButton:#787B86;
    --userSettingInputBorderColor: #51535E;
    --tvBlueColor: #295CED;
    --r_Ipbg:#2A2E39;
    --r_seprator : #4C505A;
    --perfomanceBtn: white;
    --stat_block_border:#444651;
    --rtable_border:#30323C;
    --textPrimary_reverse: #131722;
    --r_modal_hoverbg: #1e1e1e;
}

#r_modal *,
#r_stats *,
#oi_setting * {
    color: var(--textPrimary);
    font-size: 14px;
}

#replay-btn {
    cursor: pointer;
}

input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    margin: 0px;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 0.5px solid var(--disabledButton);
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;

}

input[type=checkbox]:checked {
    background-color: var(--tvBlueColor);
    border-color: var(--tvBlueColor);
    background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2212%22%20height%3D%229%22%20viewBox%3D%220%200%2012%209%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.42622%208.44801L4.49693%208.51872L4.56764%208.44801L11.0707%201.94494L11.1414%201.87423L11.0707%201.80352L10.1965%200.929289L10.1258%200.858579L10.0551%200.929289L4.49693%206.48741L1.94494%203.93542L1.87423%203.86471L1.80352%203.93542L0.929289%204.80966L0.858579%204.88037L0.929289%204.95108L4.42622%208.44801Z%22%20fill%3D%22white%22%20stroke%3D%22white%22%20stroke-width%3D%220.2%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center center;
}


.d-none {
    display: none;
}


.text_secondary {
    color: var(--textSecondary) !important
}

.text_third {
    color: var(--textThird) !important;
}

.greenPrimary {
    color: var(--greenPrimary) !important;
}

.redPrimary {
    color: var(--redPrimary) !important;
}

.text_primary {
    color: var(--textPrimary) !important
}

.right {
    text-align: right;
}

.fs12 {
    font-size: 12px !important;
}

.fs14 {
    font-size: 14px !important;
}

.fs16 {
    font-size: 16px !important;
}





/* -----------------R modal----------------- */

#r_modal {
    pointer-events: none;
    overflow: visible;
}



.r_modal_content {
    pointer-events: auto;
    max-width: 900px;
    max-height: 90px;
    margin: 0px auto;
    max-width: 700px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid transparent;
    background: var(--pureWhite);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}


.r_modal_body {
    padding: 0.5em !important;
    border-radius: 4px;
}

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

/* -----------------R modal----------------- */










/* -----------R-modal-left side ctrl btns------------------- */
.r_modal_btns {
    width: 250px;
    margin: 0 12px;
    display: flex;
    align-items: center;
}

.r_seprator {
    background: var(--r_seprator);
    width: 1px;
    height: 22px;
}

.r_modal_button {
    cursor: pointer;
    border-radius: 4px;
    padding: 3px 5px;
    display: inline-flex;
    margin: 0px 2px;
}

.r_modal_button:hover {
    background-color:var(--r_modal_hoverbg);
}


/* -----------R-modal-left side ctrl btns------------------- */











/* ----------Common speed & qty class----------- */
.r_speed,
.r_qty_wrapper,
.oi_setting_expiry,
.oi_setting_picker {
    position: relative;
    display: inline-block;
}

.r_speed_selection_wrapper,
.r_qty-quantity-selector,
.oi_setting_checkbox_list_wrapper,
.oi_setting_colorpicker_wrapper {
    background: var(--pureWhite);
    text-align: left;
    box-shadow: 0 2px 4px #0003;
    border-radius: 4px;
    position: absolute;
    overflow: auto;
    min-width: 200px;
    top: -260px;
}


.r_speed_selection_title {
    color: var(--textThird) !important;
    font-size: 12px !important; 
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.2px;
    padding: 12px 10px 6px 8px;
}

.r_speed_selection_item div:last-of-type {
    color: var(--textThird) !important;
}

.r_speed_selection_item:hover,.r_speed_selection_item.active {
    background: #2862FF;
    color: white !important;
}

.r_speed_selection_item.active div{
    color: white !important;
}



.r_qty-quantity-selector {
    padding: 12px;
    top: -265px !important;
}


.r_speed_selection_item {
    text-align: left;
    cursor: pointer;
    font-size: 14px !important;
}


.r_speed_selection_item:hover div {
    color: white !important;
}

/* ----------Common speed & qty class----------- */









/* ---------------------Qty dialog------------------ */
.r_qty_IP {
    width: 50px;
    color: grey;
    border: none !important;
    line-height: 16px;
    border-radius: 4px !important;
    padding: 4px;
    background: var(--r_Ipbg);
    outline: none;
    cursor: pointer;
}

.r_qty {
    flex-grow: 1;
    padding: 5px;
    font-size: 16px !important;
    text-align: center;
    border: 1px solid var(--userSettingInputBorderColor);
    background: var(--pureWhite);
    border-radius: 4px;
    outline: none;
    width: 100%;
}

.r_qty-quantity-selector {
    width: 200px;
}

.r_qty-input-container {
    display: flex;
    margin-bottom: 10px;
    position: relative;
}

/* Style the up/down arrows */
.r_qty_IP::-webkit-inner-spin-button,
.r_qty_IP::-webkit-outer-spin-button,
.r_qty::-webkit-inner-spin-button,
.r_qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.r_qty-button-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.r_qty-button {
    width: 48%;
    padding: 7px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--pureWhite);
    border: 0.5px solid var(--userSettingInputBorderColor);
    border-radius: 6px;
    cursor: pointer;
    outline: none;
}

.r_qty-preset-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 5px;
}

.r_qty-preset-button {
    padding: 2px 0px;
    font-size: 14px !important;
    background-color: var(--pureWhite);
    border: 0.5px solid var(--userSettingInputBorderColor);
    border-radius: 6px;
    cursor: pointer;
    outline: none !important;
}

.r_qty-reset-button {
    width: 100%;
    padding: 2px 0px;
    font-size: 14px;
    background-color: var(--pureWhite);
    border: 0.5px solid var(--userSettingInputBorderColor);
    border-radius: 6px;
    cursor: pointer;
    margin-top: 8px;
}

.r_qty-preset-button:hover,.r_qty-reset-button:hover,.r_qty-button:hover{
    background: var(--r_modal_hoverbg);
}

.r_qty-input-lable, .r_qty-lable {
    font-size: 11px !important;
    color: var(--textThird) !important;
    margin-bottom: 5px !important;
    background-color: var(--pureWhite);
    position: absolute;
    margin-top: -8px;
    margin-left: 5px;
    padding: 0 5px;
    z-index: 999;
}

.r_qty-lable{
    right: 5px;
}

#r_qty-value{
    font-size: 11px !important;
    color: var(--textThird) !important;
}

/* ---------------------Qty dialog------------------ */













/* ----------------r-modal right side ctrls---------- */

.r_trade_btns_wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.r_trade_btns {
    font-size: 14px;
    padding: 3px 7px;
    border: none;
    min-width: 38px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    outline: none;
}

.r_trade_btns:focus,.r_qty-button:focus,.r_qty-preset-button:focus,.r_qty:focus {
    outline: none;
}


.r_trade_sell {
    background-color: #f23645;
    color: white !important;
}

.r_trade_sell:hover {
    background-color: #cc2f3c;
}


.r_trade_sell:active {
    color: #f02b3b;
}

.r_trade_buy:active {
    color: #2c9279;
}


.r_trade_buy {
    background-color: #2962ff;
    color: white !important;
}

.r_trade_buy:hover {
    background-color: #1e53e5;
}

.r_trade_flatten {
    background-color: var(--pureWhite);;
    color: var(--textPrimary) !important;
    border: 0.5px solid var(--userSettingInputBorderColor);
}

.r_trade_flatten:hover {
    background: var(--r_modal_hoverbg);
}

/* ----------------r-modal right side ctrls---------- */










/* -----------------State modal----------------- */
#r_stats {
    top: 10vh;
    pointer-events: none;
}

.r_stats_dialog {
    max-width: 900px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 1px solid transparent;
    height: auto;
    max-height: fit-content;
    margin: auto;
    box-shadow: 0 2px 4px #0003;
    margin: 0 auto;
    border-radius: 16px;
    background: var(--pureWhite);
}

.r_stats_body {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.r_stats_exit {
    position: absolute;
    top: 24px;
    right: 24px;
    border-radius: 6px;
    cursor: pointer;
}

/* -----------------State modal----------------- */











/* -------------------State Symbol-------------- */
.statsSymbol,
#r_congrets_greet {
    font-weight: 600;
    font-size: 24px !important;
}

.statsSymbolWrapper{
    display: flex;
    align-items: center;
    gap: 2px;
}

.stats_bg {
    /* background: linear-gradient(90deg, #ffecec, #ffd2d2 40.27%, #fff0c8 68.96%, #ffb6b6 100.95%); */
    background: linear-gradient(90deg, #EBFDFC 0%, #E0F8FD 19.5%, #D9F5FD 40.5%, #D4F3FE 60.5%, #AAF5EE 82%, #7BFBDB 100%);
    border-radius: 10px;
    height: 100px;
    min-height: 100px;
    line-height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* -------------------State Symbol-------------- */













/* ---------------State common report----------------- */
.statsWrapper,
.detail_statsWrapper {
    box-sizing: border-box;
    margin-bottom: 24px;
}

.detailStatsBlock .sessionStateTitle {
    color: var(--textThird) !important;
    font-size: 12px !important;
}

.sessionStateTitle {
    line-height: 24px;
    font-size: 12px !important;
}

/* ---------------State common report----------------- */











/* -----------------State short report-----------------------*/
.r_congrets_wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.r_stats_short {
    margin: 30px 0px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.statsBlock {
    border: 1px solid var(--stat_block_border);
    border-radius: 8px;
    box-sizing: border-box;
    padding: 10px 30px;
    text-align: center;
    min-width: 200px;
    margin: 0 5px;
    /* line-height: 28px; */
}

.statsBlock p {
    margin: 0;
    padding: 0;
}


.r_report_btn {
    padding: 10px 14px;
    width: 300px;
    margin: 0 auto;
    border-radius: 6px;
    color: var(--textPrimary_reverse) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--perfomanceBtn);
    cursor: pointer;
}

/* -----------------State short report-----------------------*/











/* ---------------------TRADE REPORT TABS------------- */
.r_tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.r_tab {
    padding: 6px 10px;
    cursor: pointer;
    border: 0.5px solid var(--userSettingInputBorderColor);
    border-radius: 6px;
    background-color: var(--pureWhite);
    color: var(--textThird) !important;
    font-size: 14px;
    transition: all 0.1s ease;
}

.r_tab.active {
    border-color: #007bff;
    color: #007bff !important;
}

/* ---------------------TRADE REPORT TABS------------- */










/* -------------Trade Detailed report--------- */
.r_stats_detail_wrappper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detailStatsBlock {
    text-align: left;
    width: 150px !important;
}

/* -------------Trade Detailed report--------- */



















/* -------------------TABLE css--------------- */
.rTableWrapper {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 400px;

}

/* Table Layout with Auto Width */
.rTable {
    width: auto;
    border-collapse: collapse;
    table-layout: auto;
    min-width: 100%;
    /* Ensure the table fills the container */
}

.rTable thead {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1;
}

.rTable thead th {
    font-weight: normal !important;
    font-size: 12px !important;
    color: var(--textThird) !important;
    background: var(--pureWhite)
}

.rTable thead th.serial {
    width: 7%;
}

.rTable thead th.type {
    width: 12%;
}

.rTable thead th.action {
    width: 14%;
}

.rTable thead th.time {
    /* width: 10%; */
}

.rTable thead th.price {
    width: 80px;
}

.rTable thead th.qty {
    width: 9%;
    text-align: right;
}

.rTable thead th.profit {
    width: 11%;
    text-align: right;

}

.rTable thead th.cum_profit {
    width: 16%;
    text-align: right;
}


#rTableBody tr td {
    padding: 0px !important;
    border-bottom: 0.5px solid var(--rtable_border)
}

.rType,
.rAction,
.rTime,
.rPrice {
    /* padding: 15px 0px; */
}

.rType div,
.rAction div,
.rTime div,
.rPrice div {
    padding: 15px 0px;
}

.rType div:first-child,
.rAction div:first-child,
.rTime div:first-child,
.rPrice div:first-child {
    border-bottom: 0.5px solid var(--rtable_border);
}

/* -------------------TABLE css--------------- */
















/* ------------------------- OI tooltip ------------------------------- */
/* Tooltip Container */
.oiTip {
    position: fixed;
    background-color: var(--pureWhite);
    /* Semi-transparent black */
    color: var(--pureWhite);
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    max-width: 200px;
    font-size: 14px;
    z-index: 999999;
    opacity: 1 !important;
    transform: translate(-105%, 0%);
    color: var(--textPrimary);
    min-width: 150px
}

/* Arrow pointing out of the tooltip on the right */
.oiTip::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--pureWhite);
}

/* Legend Styles */
.oiTip .oitip_legend {
    width: 10px;
    height: 10px;
    margin: 0px 3px;
    border: none;
    border-radius: 2px;
}

.oiTip .oitip_legend_ce {
    background: #bfb6f7bd;
}

.oiTip .oitip_legend_pe {
    background: #fad365bd;
}


.oiTip .data {
    display: flex;
    align-items: center;
}

.oiTip .data .label {
    font-weight: bold;
    margin: 0 5px;
}

/* ------------------------- OI tooltip ------------------------------- */










/* --------------------OI SETTING MODEL----------------- */

#oi_setting {
    pointer-events: none;
    top: 15vh;
    overflow: hidden;
}


.oi_setting_body {
    background-color: var(--pureWhite);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 14px;
}


.oi_setting_dialog {
    border: 1px solid transparent;
    height: auto;
    margin: auto;
    box-shadow: 0 2px 4px #0003;
    margin: 0 auto;
    border-radius: 4px;
    pointer-events: auto;
    max-width: 480px;
    margin: 0px auto;
    background-color: var(--pureWhite);

}

.oi_setting_drag{
    cursor: pointer;
}


.oi_setting_close ,.oi_setting_dropdownarrow{
    cursor: pointer;
    stroke: var(--textPrimary);
}


.oi_setting_toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


.oi_setting_switch {
    position: relative;
    display: inline-block;
    width: 26px;
    height: 5px;
    margin-top: 10px;
}

.oi_setting_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}


.oi_setting_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #3861F652;
    -webkit-transition: .4s;
    transition: .4s;
}

.oi_setting_slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 0px;
    bottom: -4px;
    background-color: var(--tvBlueColor);
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.oi_setting_slider {
    background-color: #3861F652;
}

input:checked+.oi_setting_slider:before {
    background-color: var(--tvBlueColor);
}

input:focus+.oi_setting_slider {
    box-shadow: 0 0 1px #dd6565;
}

input:checked+.oi_setting_slider:before {
    -webkit-transform: translateX(24px);
    -ms-transform: translateX(24px);
    transform: translateX(14px);
}


.oi_setting_slider.oi_setting_round {
    border-radius: 34px;
}

.oi_setting_slider.oi_setting_round:before {
    border-radius: 50%;
}


.oi_setting_checkbox_list_wrapper {
    width: 385px;
    height: auto;
}

.oi_setting_checkbox_list{
    padding: 18px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid var(--userSettingInputBorderColor) !important;
}

.oi_setting_checkbox_label {
    display: flex;
    max-width: 108px;
    padding: 5px 10px 5px 6px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    border-radius: 4px;
    border: 0.5px solid var(--userSettingInputBorderColor);
    margin: 0px !important;
    /* background: var(--pureWhite); */
    }

.oi_setting_colorpicker{
    display: flex;
    align-items: center;
    gap: 6px;
}

.oi_setting_picker_title{
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.oi_setting_colorpicker_wrapper{
    display: flex;
    flex-direction: column;
    gap: 15px;
    top: 30px;
    padding: 10px;
    width: 350px;
}

#call_picker{
    margin-right: 50px;
}

.oi_setting_opacity_wrapper{
    display: flex;
    align-items: center;
    gap: 10px;
}

.oi_setting_opacity{
    margin: 0px !important;
}

#oi_setting_opacity{
    width: 65%;
}

.swatch {
    background: white;
    /* box-shadow: 1em 1em 1em rgba(0, 0, 0, .1); */
    display: flex;
    flex-direction: column;
    border: 1px solid var(--userSettingInputBorderColor);
    padding: 2px
}

input[type="color"] {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: 0;
    cursor: pointer;
    height: 18px;
    padding: 0;
    width: 18px;
}


::-webkit-color-swatch-wrapper {
    padding: 0;
}

::-webkit-color-swatch {
    border: 0;
    border-radius: 0;
}

::-moz-color-swatch,
::-moz-focus-inner {
    border: 0;
}

::-moz-focus-inner {
    padding: 0;
}


.oi_setting_checkbox_list_wrapper{
    top: 30px;
    padding: 20px;
    padding-bottom: 10px;
}


.oi_setting_buttons {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.oi_setting_button {
    padding: 6px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.oi_setting_checkboxtitle{
    border-bottom: 1px solid var(--userSettingInputBorderColor) !important;    
    padding-bottom: 10px;
}

.oi_setting_expiryselect{
    display: flex;
    align-items: center;
    gap: 6px;
}

.oi_setting_cancel {
    background-color: #f0f0f0;
    margin-right: 10px;
}

.oi_setting_apply {
    background-color: var(--tvBlueColor);
    color: white !important;
}

/* --------------------OI SETTING MODEL----------------- */























/* ----------------------------REDIRECT--------------------------- */

.redirect-mod-diag {
    margin: 0px !important;
    top: 40px;
}

#redirect-table-content {
    width: fit-content;
    cursor: pointer;
    font-size: 14px;
    background: var(--pureWhite) !important;
    color: var(--textPrimary);
}

#redirect-from-tv-to-dhan-web,#redirect-from-tv-to-options-trader-web {
    padding: 10px 10px 10px 0px;
    border-bottom: 0.5px solid var(--userSettingInputBorderColor) !important;
}

.redirectHover:hover{
    background: var(--tvBlueColor);
    color: white;
}


.labelImage {
    width: 23px;
    height: 25px;
    margin-top: -3px;
    margin-right: 8px;
    margin-left: 10px;
}
#redirect-from-tv-to-scanx{
    padding: 10px 10px 10px 0px;
}
/* ----------------------------REDIRECT--------------------------- */













/*  CUSTOM ALTETR */

.alert_wrapper {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
}

.alert {
    margin: 20px auto;
    padding: 10px;
    position: relative;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    color: white;
}

#simple-alert {
    background-color: #4e4e4e
        /* border-left:5px solid #b5b5b5 */
}



.oi_setting_opacity_slider {
    -webkit-appearance: none;
    appearance: none;
    background: linear-gradient(to right, var(--tvBlueColor) 0%, var(--disabledButton) 0%);
    outline: none;
    transition: background 0.2s;
    height:8px;
    border-radius:10px;
  
  }
  

.animate__bounceInUp {
    -webkit-animation-name: bounceInUp;
    animation-name: bounceInUp;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@keyframes bounceInUp {

    0%,
    60%,
    75%,
    90%,
    to {
        -webkit-animation-timing-function: cubic-bezier(.215, .61, .355, 1);
        animation-timing-function: cubic-bezier(.215, .61, .355, 1)
    }

    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 3000px, 0) scaleY(5);
        transform: translate3d(0, 3000px, 0) scaleY(5)
    }

    60% {
        opacity: 1;
        -webkit-transform: translate3d(0, -20px, 0) scaleY(.9);
        transform: translate3d(0, -20px, 0) scaleY(.9)
    }

    75% {
        -webkit-transform: translate3d(0, 10px, 0) scaleY(.95);
        transform: translate3d(0, 10px, 0) scaleY(.95)
    }

    90% {
        -webkit-transform: translate3d(0, -5px, 0) scaleY(.985);
        transform: translate3d(0, -5px, 0) scaleY(.985)
    }

    to {
        -webkit-transform: translateZ(0);
        transform: translateZ(0)
    }
}

