﻿.gj-timepicker [data-gj-role="input"]::-ms-clear {
    display: none;
}

.gj-timepicker [data-gj-role="right-icon"] {
    cursor: pointer;
}

.gj-picker.timepicker [data-gj-role="header"] {
    font-size: 58px;
    padding: 20px 0;
    line-height: 58px;

    display: flex;
    align-items: baseline;
    user-select: none;
    justify-content: center;
}

.gj-picker.timepicker [data-gj-role="header"] div {
    cursor: pointer;
    width: 66px;
    text-align: right;
}

/*.gj-picker.timepicker [data-gj-role="header"] div[data-gj-role="hour"] {
    margin-left: 62px;
}*/

.gj-picker [data-gj-role="header"] [data-gj-role="mode"] {
    position: relative;
    width: 0px;
}

.gj-picker [data-gj-role="header"] [data-gj-role="mode"] span {
    position: absolute;
    left: 7px;
    line-height: 18px;
    font-size: 18px;
}

.gj-picker [data-gj-role="header"] [data-gj-role="mode"] span[data-gj-role="am"] {
    top: 7px;
}

.gj-picker [data-gj-role="header"] [data-gj-role="mode"] span[data-gj-role="pm"] {
    bottom: 7px;
}

.gj-picker [data-gj-role="body"] [data-gj-role="dial"] {
    width: 256px;
    color: rgba(0, 0, 0, 0.87);
    height: 256px;
    position: relative;
    background: #eeeeee;
    border-radius: 50%;
    margin: 10px;
}

.gj-picker [data-gj-role="body"] [data-gj-role="hour"] {
    top: calc(50% - 16px);
    left: calc(50% - 16px);
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: absolute;
    font-size: 14px;
    text-align: center;
    line-height: 32px;
    user-select: none;
    pointer-events: none;
}

.gj-picker [data-gj-role="body"] [data-gj-role="hour"].selected {
    color: rgba(255, 255, 255, 1);
}

.gj-picker [data-gj-role="body"] [data-gj-role="arrow"] {
    top: calc(50% - 1px);
    left: 50%;
    width: calc(50% - 20px);
    height: 2px;
    position: absolute;
    pointer-events: none;
    transform-origin: left center;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    width: calc(50% - 52px);
}

.gj-picker .arrow-begin {
    top: -3px;
    left: -4px;
    width: 8px;
    height: 8px;
    position: absolute;
    border-radius: 50%;
}

.gj-picker .arrow-end {
    top: -15px;
    right: -16px;
    width: 0;
    height: 0;
    position: absolute;
    box-sizing: content-box;
    border-width: 16px;
    border-radius: 50%;
}

/* Material Design */
.gj-timepicker-md {
    font-family: "Roboto","Helvetica","Arial",sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .04em;
    line-height: 1;
    color: rgba(0,0,0,.87);
    position: relative;
}

.gj-timepicker-md.small .gj-textbox-md {
    font-size: 14px;
}

.gj-timepicker-md.small .gj-icon {
    font-size: 22px;
}

.gj-timepicker-md.large .gj-textbox-md {
    font-size: 18px;
}

.gj-timepicker-md.large .gj-icon {
    font-size: 28px;
}

.gj-timepicker-md [data-gj-role="right-icon"] {
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: 0px;
    font-size: 24px;
}

.gj-picker-md .arrow-begin {
    background-color: #2196f3;
}
.gj-picker-md .arrow-end {
    border: 16px solid #2196f3;
}

.gj-picker-md [data-gj-role="body"] [data-gj-role="arrow"] {
    background-color: #2196f3;
}

/* Bootstrap */
.gj-timepicker-bootstrap :focus,
.gj-timepicker-bootstrap :active {
    box-shadow: none;
}

.gj-picker-bootstrap [data-gj-role="body"] [data-gj-role="arrow"] {
    background-color: #888;
}

.gj-picker-bootstrap .arrow-begin {
    background-color: #888;
}

.gj-picker-bootstrap .arrow-end {
    border: 16px solid #888;
}

.gj-picker-bootstrap.timepicker [data-gj-role="footer"] {
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

.gj-picker-bootstrap.timepicker [data-gj-role="footer"]> :not(:last-child) {
    margin-right: .25rem;
}

/* Bootstrap 3 */
.gj-timepicker-bootstrap .input-group-addon {
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    border-left: 0px;
    position: relative;
    width: 38px;
}

.gj-timepicker-bootstrap.input-group-sm .input-group-addon {
    width: 30px;
}

.gj-timepicker-bootstrap.input-group-lg .input-group-addon {
    width: 46px;
}

.gj-timepicker-bootstrap .input-group-addon .gj-icon,
.gj-timepicker-bootstrap .input-group-addon .material-icons {
    position: absolute;
    font-size: 21px;
    top: 6px;
    left: 8px;
}

.gj-timepicker-bootstrap.input-group-sm .input-group-addon .gj-icon,
.gj-timepicker-bootstrap.input-group-sm .input-group-addon .material-icons {
    font-size: 19px;
    top: 5px;
    left: 5px;
}

.gj-timepicker-bootstrap.input-group-lg .input-group-addon .gj-icon,
.gj-timepicker-bootstrap.input-group-lg .input-group-addon .material-icons {
    font-size: 27px;
    top: 10px;
    left: 10px;
}

/* Bootstrap 4 */
.gj-timepicker-bootstrap [data-gj-role="right-icon"] button {
    width: 38px;
    position: relative;
    border: 1px solid #ced4da;
}

.gj-timepicker-bootstrap.input-group-sm [data-gj-role="right-icon"] button {
    width: 30px;
}

.gj-timepicker-bootstrap.input-group-lg [data-gj-role="right-icon"] button {
    width: 48px;
}

.gj-timepicker-bootstrap [data-gj-role="right-icon"] button .gj-icon,
.gj-timepicker-bootstrap [data-gj-role="right-icon"] button .material-icons {
    position: absolute;
    font-size: 21px;
    top: 9px;
    left: 9px;
}

.gj-timepicker-bootstrap.input-group-sm [data-gj-role="right-icon"] button .gj-icon,
.gj-timepicker-bootstrap.input-group-sm [data-gj-role="right-icon"] button .material-icons {
    top: 6px;
    left: 6px;
    font-size: 19px;
}

.gj-timepicker-bootstrap.input-group-lg [data-gj-role="right-icon"] button .gj-icon,
.gj-timepicker-bootstrap.input-group-lg [data-gj-role="right-icon"] button .material-icons {
    font-size: 27px;
    top: 10px;
    left: 10px;
}

/* Bootstrap 5 */
.gj-timepicker-bootstrap button[data-gj-role="right-icon"]  {
    width: 2.5rem;
}

.gj-timepicker-bootstrap.input-group-sm button[data-gj-role="right-icon"] {
    width: 2rem;
}

.gj-timepicker-bootstrap.input-group-lg button[data-gj-role="right-icon"] {
    width: 3.3rem;
}

.gj-timepicker-bootstrap button[data-gj-role="right-icon"] .gj-icon,
.gj-timepicker-bootstrap button[data-gj-role="right-icon"] .material-icons {
    position: absolute;
    font-size: 21px;
    top: 0.55rem;
    left: 0.55rem;
}

.gj-timepicker-bootstrap.input-group-sm button[data-gj-role="right-icon"] .gj-icon,
.gj-timepicker-bootstrap.input-group-sm button[data-gj-role="right-icon"] .material-icons {
    font-size: 19px;
    top: 0.4rem;
    left: 0.34rem;
}

.gj-timepicker-bootstrap.input-group-lg button[data-gj-role="right-icon"] .gj-icon,
.gj-timepicker-bootstrap.input-group-lg button[data-gj-role="right-icon"] .material-icons {
    font-size: 27px;
    top: 0.72rem;
    left: 0.7rem;
}