@import "material-timepicker/styles/config";

$border-color: rgba(0, 0, 0, .09);


* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.header {
    min-height: 70px;
    background-color: $primary-color;
    position: relative;
    box-shadow: 0 3px 5px -1px rgba(0, 0, 0, .2), 0 6px 10px 0 rgba(0, 0, 0, .14), 0 1px 18px 0 rgba(0, 0, 0, .12);
    z-index: 2;
    &__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    h1 {
        color: #ffffff;
        font-weight: 400;
        line-height: 2em;
        margin: 0;
    }
}

.github-link {
    display: block;
    width: 30px;
    > img {
        width: 100%;
    }
}

.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.main-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 70px;
    flex: 1;
}

.ngx-material-timepicker {
    padding-top: 50px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.ngx-material-timepicker-heading {
    &__title {
        font-weight: 400;
        font-size: 25px;
        margin: 0;
        padding-bottom: 15px;
        border-bottom: 1px solid $border-color;
    }
}

.ngx-material-timepicker-examples {
    &__title {
        font-weight: 400;
        font-size: 22px;
    }
    &__container {
        margin-bottom: 30px;
    }
}

.ngx-material-timepicker-example {
    border-radius: 2px;
    box-shadow: rgba(0, 0, 0, 0.12) 0 1px 6px, rgba(0, 0, 0, 0.12) 0 1px 4px;
    overflow: hidden;
    &__body {
        padding: 15px;
    }
    &__description {
        margin: 0 0 15px;
    }
    &__form-group {
        position: relative;
        max-width: 300px;
        width: 100%;
        height: 36px;
        border-bottom: 1px solid $border-color;
        &:not(:last-child) {
            margin-bottom: 20px;
        }
        &--toggled {
            display: flex;
        }
        &--disabled {
            border-bottom-style: dashed;
        }
         input {
            width: 100%;
            height: 100%;
            border: 0;
            font-size: 16px;
            &:disabled {
                background-color: transparent;
                cursor: not-allowed;
            }
            &:focus {
                outline: none;
            }
            &::placeholder {
                font-size: 16px;
                color: #cccccc;
            }
        }
    }
}

.footer {
    min-height: 100px;
    background-color: $primary-color;
    display: flex;
    justify-content: center;
    align-items: center;
    &__version {
        font-size: 14px;
        color: #ffffff;
        margin: 0;
        text-align: center;
    }
}
