.page-calendar {
    display: flex;
    flex-direction: column;
    .calendar-head {
        flex-shrink: 0;
        display: flex;
        align-items: flex-start;
        margin: 32px 32px 16px;
        border-bottom: 1px solid #F4F4F5;
        .calendar-titbox {
            flex: 1;
            display: flex;
            align-items: center;
            margin-bottom: 16px;
            .calendar-title {
                display: flex;
                align-items: center;
                margin-right: 36px;
                > h1 {
                    color: #333333;
                    font-size: 28px;
                    font-weight: 600;
                }
            }
            .calendar-arrow {
                margin-right: 12px;
                > button {
                    color: #888888;
                    font-size: 12px;
                    &:focus {
                        box-shadow: none;
                    }
                }
            }
            .calendar-view {
                flex: 1;
                display: flex;
                justify-content: flex-end;
                > button {
                    &:focus {
                        box-shadow: none;
                    }
                }
            }
        }
    }
    .calendar-box {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding: 0 48px 6px;
        overflow: hidden;
        .calendar-wrapper {
            flex: 1;
            position: relative;
            &:before {
                content: "";
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                height: 2px;
                background-color: #ffffff;
                z-index: 1;
            }
            .tui-full-calendar-popup {
                box-shadow: none;
                .tui-full-calendar-popup-container {
                    border: 0;
                    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
                    border-radius: 6px;
                }
                .tui-full-calendar-arrow-top .tui-full-calendar-popup-arrow-border {
                    top: -8px;
                    border-bottom-color: rgba(217, 217, 217, .5);
                }
            }
            .tui-full-calendar-dropdown-menu {
                border-color: #e8e8e8;
                width: calc(100% - 14px);
            }
            .tui-full-calendar-popup-creation {
                .tui-full-calendar-icon {
                    &.tui-full-calendar-ic-title,
                    &.tui-full-calendar-calendar-dot {
                        display: none;
                    }
                    &.tui-full-calendar-ic-date {
                        background-image: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5NjcwNjA3IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjE2Mzg4IiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTk2MCAxMjhIODMzYzAtNTMtNDMtOTYtOTYtOTZoLTE2Yy01MyAwLTk2IDQzLTk2IDk2SDQwMGMwLTI2LjUtMTAuNy01MC41LTI4LjEtNjcuOUMzNTQuNSA0Mi43IDMzMC41IDMyIDMwNCAzMmgtMTZjLTUzIDAtOTYgNDMtOTYgOTZINjRjLTM1LjMgMC02NCAyOC42LTY0IDY0djczNmMwIDM1LjMgMjguNyA2NCA2NCA2NGg4OTZjMzUuMyAwIDY0LTI4LjcgNjQtNjRWMTkyYzAtMzUuNC0yOC43LTY0LTY0LTY0eiBtLTI3MSA4YzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzY5My41IDIzNyA2ODkgMjI3IDY4OSAyMTZ2LTgweiBtLTQzMyAwYzAtMjIuMSAxNy45LTQwIDQwLTQwczQwIDE3LjkgNDAgNDB2ODBjMCAyMi4xLTE3LjkgNDAtNDAgNDAtMTEgMC0yMS00LjUtMjguMy0xMS43QzI2MC41IDIzNyAyNTYgMjI3IDI1NiAyMTZ2LTgweiBtNzA0IDc2MGMwIDE3LjctMTQuMyAzMi0zMiAzMkg5NmMtMTcuNyAwLTMyLTE0LjMtMzItMzJWNDQ4aDg5NnY0NDh6IiBwLWlkPSIxNjM4OSIgZmlsbD0iIzUxNTE1MSI+PC9wYXRoPjwvc3ZnPg==");
                        background-size: contain;
                    }
                }
                .tui-full-calendar-content {
                    padding-left: 0;
                }
                .tui-full-calendar-popup-section {
                    display: flex;
                    justify-content: space-between;
                    margin-bottom: 10px;
                    .tui-full-calendar-popup-section-item {
                        height: 36px;
                        line-height: 34px;
                        border-color: #e8e8e8;
                        border-radius: 4px;
                    }
                    .tui-full-calendar-popup-section-item input {
                        height: 34px;
                    }
                }
                .tui-full-calendar-section-title {
                    width: 100%;
                    input {
                        width: 100%;
                    }
                }
                .tui-full-calendar-section-start-date,
                .tui-full-calendar-section-end-date {
                    width: 210px;
                    .tui-full-calendar-content {
                        padding-left: 8px;
                    }
                }
                .tui-full-calendar-popup-location,
                .tui-full-calendar-section-private,
                .tui-full-calendar-section-allday,
                .tui-full-calendar-section-state {
                    display: none;
                }
            }
            .tui-full-calendar-popup-task {
                .priority {
                    color: #ffffff;
                    padding: 2px 4px;
                    border-radius: 4px;
                    margin-right: 6px;
                }
                .overdue {
                    color: #f5222d;
                    background: #fff1f0;
                    border: 1px solid #ffa39e;
                    padding: 1px 3px;
                    border-radius: 4px;
                    margin-right: 6px;
                }
                .tui-full-calendar-calendar-dot,
                .tui-full-calendar-ic-priority {
                    opacity: 0;
                }
                .tui-full-calendar-ic-edit {
                    top: -2px;
                    background-image: url("data:image/svg+xml;base64,PHN2ZyB0PSIxNjIzODU5MzY4MTg5IiBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHAtaWQ9IjExMTkiIHdpZHRoPSIyMDAiIGhlaWdodD0iMjAwIj48cGF0aCBkPSJNODMzLjQyODU3MTY4IDYySDE5MC41NzE0MjgzMmExMjguNTcxNDI4MzIgMTI4LjU3MTQyODMyIDAgMCAwLTEyOC41NzE0MjgzMiAxMjguNTcxNDI4MzJ2NjQyLjg1NzE0MzM2YTEyOC41NzE0MjgzMiAxMjguNTcxNDI4MzIgMCAwIDAgMTI4LjU3MTQyODMyIDEyOC41NzE0MjgzMmg2NDIuODU3MTQzMzZhMTI4LjU3MTQyODMyIDEyOC41NzE0MjgzMiAwIDAgMCAxMjguNTcxNDI4MzItMTI4LjU3MTQyODMyVjE5MC41NzE0MjgzMmExMjguNTcxNDI4MzIgMTI4LjU3MTQyODMyIDAgMCAwLTEyOC41NzE0MjgzMi0xMjguNTcxNDI4MzJ6IG02NC4yODU3MTQxNiA3NzEuNDI4NTcxNjhhNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTYgMCAwIDEtNjQuMjg1NzE0MTcgNjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyYTY0LjI4NTcxNDE2IDY0LjI4NTcxNDE2IDAgMCAxLTY0LjI4NTcxNDE2LTY0LjI4NTcxNDE2VjE5MC41NzE0MjgzMmE2NC4yODU3MTQxNiA2NC4yODU3MTQxNiAwIDAgMSA2NC4yODU3MTQxNy02NC4yODU3MTQxNmg2NDIuODU3MTQzMzVhNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTYgMCAwIDEgNjQuMjg1NzE0MTYgNjQuMjg1NzE0MTd6IiBwLWlkPSIxMTIwIiBmaWxsPSIjNTE1MTUxIj48L3BhdGg+PHBhdGggZD0iTTE5MC41NzE0MjgzMiAyNTQuODU3MTQyNDhoNjQuMjg1NzE0MTZ2NjQuMjg1NzE1MDRIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgMjU0Ljg1NzE0MjQ4aDQ1MHY2NC4yODU3MTUwNEgzMTkuMTQyODU3NTJ6TTE5MC41NzE0MjgzMiA0NDcuNzE0Mjg1ODRoNjQuMjg1NzE0MTZ2NjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgNDQ3LjcxNDI4NTg0aDQ1MHY2NC4yODU3MTQxNkgzMTkuMTQyODU3NTJ6TTE5MC41NzE0MjgzMiA2NDAuNTcxNDI4MzJoNjQuMjg1NzE0MTZ2NjQuMjg1NzE0MTZIMTkwLjU3MTQyODMyek0zMTkuMTQyODU3NTIgNjQwLjU3MTQyODMyaDMyMS40Mjg1NzA4djY0LjI4NTcxNDE2SDMxOS4xNDI4NTc1MnoiIHAtaWQ9IjExMjEiIGZpbGw9IiM1MTUxNTEiPjwvcGF0aD48L3N2Zz4=");
                }
                .tui-full-calendar-ic-delete {
                    top: -2px;
                    background-image: url("data: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IwLjAzMnMtMzguNzItMS41MzYtMzguNzItMjAuMDMyeiBtMTkxLjE2OCAwVjUxMmE2NCA2NCAwIDAgMSAyMy44MDgtNjAuOTkyYzQyLjQzMiAwIDM5LjM2IDQzLjAwOCAzOS44NzIgNjAuOTkydjI1NmMwIDE4LjQ5Ni0xOS41ODQgMjAuMDMyLTM3Ljk1MiAyMC4wMzJzLTI1Ljc5Mi0xLjUzNi0yNS43OTItMjAuMDMyeiIgcC1pZD0iNzkzIiBmaWxsPSIjNTE1MTUxIj48L3BhdGg+PC9zdmc+");
                }
                .tui-full-calendar-popup-detail-item-separate {
                    padding-left: 22px;
                }
            }
            .tui-datepicker {
                border-color: #e8e8e8;
                .tui-calendar {
                    th,
                    td {
                        height: 32px;
                    }
                    .tui-calendar-prev-month.tui-calendar-date,
                    .tui-calendar-next-month.tui-calendar-date {
                        visibility: visible;
                    }
                }
                .tui-datepicker-body .tui-timepicker,
                .tui-datepicker-footer .tui-timepicker {
                    padding: 16px 46px 16px 47px;
                }
            }
        }
    }
}

@media (max-width: 768px) {
    .page-calendar {
        .calendar-head {
            .calendar-titbox {
                .calendar-title {
                    flex: 1;
                }
                .calendar-arrow {
                    margin-left: 12px;
                    margin-right: 0;
                }
                .calendar-view {
                    display: none;
                }
            }
        }
        .calendar-box {
            padding: 0 24px 5px;
        }
    }
}
