﻿.ng-hg-datepicker-wrapper {
    display: inline-block;
    position: relative;
}

    .ng-hg-datepicker-wrapper * {
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

.ng-hg-datepicker {
  
    width: 290px;
    position: absolute;
    background-color: white;
    z-index: 3000;
    -webkit-box-shadow: 1px 1px 7px 0px rgba(37, 53, 50, 0.37);
    box-shadow: 1px 1px 7px 0px rgba(37, 53, 50, 0.37);
}

    .ng-hg-datepicker .ng-hg-datepicker-table-header-bckgrnd {
        height: 65px;
        /*background-color: #7825de;*/
        background-color: #1AD9C7;
    }

    .ng-hg-datepicker table {
        margin-top: -65px;
        padding-right: 14px;
        padding-left: 14px;
        padding-bottom: 14px;
        table-layout: fixed;
        border-collapse: collapse;
        display: block;
    }

        .ng-hg-datepicker table.rtl {
            direction: rtl;
        }

        .ng-hg-datepicker table caption {
            height: 65px;
            display: block;
            padding: 0 !important;
        }

            .ng-hg-datepicker table caption .ng-hg-datepicker-header-wrapper {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;
                -webkit-box-pack: justify;
                -ms-flex-pack: justify;
                justify-content: space-between;
                -webkit-box-align: center;
                -ms-flex-align: center;
                align-items: center;
                height: 65px;
                color: white;
                font-size: 22px;
            }

                .ng-hg-datepicker table caption .ng-hg-datepicker-header-wrapper .ng-hg-datepicker-header-year {
                    display: -webkit-box;
                    display: -ms-flexbox;
                    display: flex;
                    padding-top: 1px;
                    padding-bottom: 0 !important;
                    text-align: center;
                }

                .ng-hg-datepicker table caption .ng-hg-datepicker-header-wrapper .ng-hg-datepicker-header-nav-wrapper {
                    padding-top: 5px;
                    padding-bottom: 5px;
                    color: #626262;
                    font-size: 22px;
                    background-color: #E8E8E8;
                }

                    .ng-hg-datepicker table caption .ng-hg-datepicker-header-wrapper .ng-hg-datepicker-header-nav-wrapper span {
                        -webkit-user-select: none;
                        -moz-user-select: none;
                        -ms-user-select: none;
                        user-select: none;
                    }

        .ng-hg-datepicker table tbody {
            margin: 0 auto;
            padding-top: 14px;
            width: 262px;
            display: block;
        }

            .ng-hg-datepicker table tbody tr {
                height: 37.42857px;
                width: 262px;
            }

                .ng-hg-datepicker table tbody tr.days-head {
                    height: 45.42857px;
                }

                    .ng-hg-datepicker table tbody tr.days-head .day-head {
                        padding: 0;
                        padding-bottom: 14px;
                        border-bottom: 1px solid #d8d8d8;
                        color: #384146;
                    }

                .ng-hg-datepicker table tbody tr.days .day-item:hover {
                    /*background-color: #7825de;*/
                    background-color: #1AD9C7;
                    color: #f5f5f5 !important;
                }

                .ng-hg-datepicker table tbody tr td {
                    width: 37.42857px;
                    text-align: center;
                    background-color: white;
                    font-size: 12px;
                    display: table-cell;
                    cursor: default;
                    color: #384146;
                    -webkit-user-select: none;
                    -moz-user-select: none;
                    -ms-user-select: none;
                    user-select: none;
                }

                    .ng-hg-datepicker table tbody tr td.day-item, .ng-hg-datepicker table tbody tr td.disabled {
                        padding: 0;
                        height: 37.42857px;
                        line-height: 37.42857px;
                        cursor: pointer;
                        border-radius: 18.71429px;
                        color: #8d9ca4;
                    }

                        .ng-hg-datepicker table tbody tr td.day-item.day, .ng-hg-datepicker table tbody tr td.disabled.day {
                            color: #384146;
                        }

                        .ng-hg-datepicker table tbody tr td.day-item.isToday, .ng-hg-datepicker table tbody tr td.disabled.isToday {
                            color: #1b1b1b;
                            font-weight: 700;
                        }

                        .ng-hg-datepicker table tbody tr td.day-item.isSelected, .ng-hg-datepicker table tbody tr td.disabled.isSelected {
                            background-color: #0093de;
                            color: #f5f5f5 !important;
                        }

                        .ng-hg-datepicker table tbody tr td.day-item.isInMonth, .ng-hg-datepicker table tbody tr td.disabled.isInMonth {
                            color: #384146;
                        }

                        .ng-hg-datepicker table tbody tr td.day-item.isDisabled, .ng-hg-datepicker table tbody tr td.disabled.isDisabled {
                            cursor: default;
                            color: #e2e6e8;
                        }

                            .ng-hg-datepicker table tbody tr td.day-item.isDisabled:hover, .ng-hg-datepicker table tbody tr td.disabled.isDisabled:hover {
                                color: #e2e6e8 !important;
                                background-color: transparent;
                            }

    .ng-hg-datepicker .switchBtn {
        color: #384146;
        border: none;
        background: #fcfcfc;
        width: 100%;
        padding: 6px 0;
        outline-color: transparent;
        cursor: pointer;
    }

        .ng-hg-datepicker .switchBtn:hover {
            background: #f3ecfc;
        }

.ng-hg-datepicker-arrow {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    height: 27px;
}

    .ng-hg-datepicker-arrow svg {
        width: 27px;
        height: 27px;
        fill: white;
        cursor: pointer;
        padding: 5px;
    }

        .ng-hg-datepicker-arrow svg:hover {
            fill: rgba(255, 255, 255, 0.5);
        }

table.rtl .ng-hg-datepicker-arrow svg {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

.ng-hg-datepicker-arrow.ng-hg-datepicker-arrow-left svg {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}

table.rtl .ng-hg-datepicker-arrow.ng-hg-datepicker-arrow-left svg {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
}

.ng-hg-datepicker-custom-select-title {
    padding: 3px 5px 4px 5px;
    /*border: 1px solid #7825de;*/
    border: 1px solid #1AD9C7;
    border-radius: 3px;
    line-height: 22px;
    font-size: 22px;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    cursor: pointer;
}

    .ng-hg-datepicker-custom-select-title.selected, .ng-hg-datepicker-custom-select-title:hover {
        border-color: white !important;
    }

.ng-hg-datepicker-custom-select-box {
    position: relative;
    padding: 5px 0;
}

    .ng-hg-datepicker-custom-select-box:first-of-type .ng-hg-datepicker-custom-select-title,
    .ng-hg-datepicker-custom-select-box:first-of-type .ng-hg-datepicker-custom-select {
        min-width: 80px;
    }

    .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select {
        position: absolute;
        border-radius: 2px;
        cursor: pointer;
        width: 100%;
        background-color: #f0f0f0;
        z-index: 1;
    }

        .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select span {
            padding-top: 6px;
            padding-bottom: 5px;
            display: grid;
            text-align: center;
            font-size: 13px;
            line-height: 13px;
            cursor: pointer;
            color: #737373;
            font-weight: 400;
        }

            .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select span::first-letter {
                text-transform: uppercase;
            }

            .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select span:first-of-type {
                padding-top: 10px;
                border-top-right-radius: 2px;
                border-top-left-radius: 2px;
            }

            .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select span:last-of-type {
                padding-bottom: 10px;
                border-bottom-right-radius: 2px;
                border-bottom-left-radius: 2px;
            }

            .ng-hg-datepicker-custom-select-box .ng-hg-datepicker-custom-select span:hover {
                background-color: white;
                /*color: #7825de;*/
                color: #1AD9C7;
            }

.ng-hg-datepicker-month-name::first-letter {
    text-transform: uppercase;
}


@media (max-width: 768px)  {
    .ng-hg-datepicker {
        right: 0 !important;
    }

    [dir=rtl] .ng-hg-datepicker {
        left: 0 !important;
        right: unset !important;
    }
}

.calender-custom {
    background-color: #ededed;
    width: 50px;
    height: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    margin: 0 5px;
}
.custom-picker .ng-hg-datepicker {
    margin-top:-400px;
}