.milestoneCardComponent-popup {
    width: 520px;
}

.milestoneCardComponent-popup .customDropdown{
    max-width: initial !important;
}
.milestoneCardComponent-popup .customDropdown .dropdown-content{
    max-width: inherit;
}

    .milestoneCardComponent-popup > .modal-content {
        border-radius: 4px;
        border: none;
        background: transparent;
        box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
        /*height: 460px;*/
    }

        .milestoneCardComponent-popup > .modal-content .topTabs {
            height: 30px;
            display: flex;
        }

            .milestoneCardComponent-popup > .modal-content .topTabs .space {
                flex: 0 0 1px;
            }

            .milestoneCardComponent-popup > .modal-content .topTabs .tab {
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
                font-family: GlowSemibold;
                font-size: 13px;
                text-align: center;
                color: #4a4a4a;
                display: inline-block;
                height: 30px;
                padding-top: 6px;
                background-color: #f7f7f7;
                cursor: pointer;
                border-bottom: 1px solid #F1F1F1;
                flex: 1 1 auto;
            }

                .milestoneCardComponent-popup > .modal-content .topTabs .tab.active {
                    background-color: #fff;
                    border-bottom: none;
                }

                .milestoneCardComponent-popup > .modal-content .topTabs .tab.disabled {
                    color: #d9d9d9;
                    cursor: default;
                }

        .milestoneCardComponent-popup > .modal-content .header {
            height: 45px;
            padding: 15px 20px 0 20px;
            font-family: GlowSemibold;
            font-size: 14px;
            color: #4a4a4a;
            border-bottom: 1px solid #d8d7d7;
            background: #ffffff;
        }

            .milestoneCardComponent-popup > .modal-content .header.headerWithoutTabs {
                border-top-left-radius: 4px;
                border-top-right-radius: 4px;
            }

            .milestoneCardComponent-popup > .modal-content .header .infoIcon {
                display: inline-block;
                margin-left: 7px;
                cursor: pointer;
                margin-top: 3px;
                vertical-align: top;
            }

            .milestoneCardComponent-popup > .modal-content .header .closeIcon {
                vertical-align: top;
                cursor: pointer;
            }

            .milestoneCardComponent-popup > .modal-content .header .icon-container,
            .milestoneCardComponent-popup > .modal-content .md-body .icon-container {
                position: relative;
                display: inline-block;
            }

                .milestoneCardComponent-popup > .modal-content .header .icon-container .image,
                .milestoneCardComponent-popup > .modal-content .md-body .icon-container .image  {
                    margin-top: -1px;
                }

                .milestoneCardComponent-popup > .modal-content .md-body .icon-container.parent-icon {
                    margin-left: -3px;
                    margin-right: -2px;
                }

                .milestoneCardComponent-popup > .modal-content .header .icon-container .milestoneTypeIcon,
                .milestoneCardComponent-popup > .modal-content .md-body .icon-container .milestoneTypeIcon {
                    font-family: GlowSemibold;
                    font-size: 9px;
                    color: #4a4a4a;
                    position: absolute;
                    top: -3px;
                    left: 8px;
                }
        .milestoneCardComponent-popup > .modal-content .md-body {
            max-height: 530px;
            height: 100%;
            min-height: 305px;
            padding: 0;
            background: #ffffff;
        }

            .milestoneCardComponent-popup > .modal-content .md-body.smallBody {
                min-height: 155px;
                height: 100%;
                max-height: 465px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .phases-container {
                min-height: 50px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .ps-content {
                padding-right: 20px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .itemRow {
                height: 61px;
            }

            /*Tags section*/
           .milestoneCardComponent-popup > .modal-content .md-body .itemTags {
                margin-top: 10px;
                position: relative;
            }
            /*Tags section end*/

                .milestoneCardComponent-popup > .modal-content .md-body .itemRow.childMilestoneNameRow {
                    margin-top: 2px;
                }

                    .milestoneCardComponent-popup > .modal-content .md-body .itemRow.childMilestoneNameRow .childMilestoneName-container {
                        padding-top: 6px;
                        font-family: GlowRegular;
                        font-size: 14px;
                        width: 100%;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                    }

                        .milestoneCardComponent-popup > .modal-content .md-body .itemRow.childMilestoneNameRow .childMilestoneName-container .deadlineChildMilestone {
                            color: #808080;
                        }

                        .milestoneCardComponent-popup > .modal-content .md-body .itemRow.childMilestoneNameRow .childMilestoneName-container .name {
                            color: #4a4a4a;
                            margin-left: 4px;
                        }

                        .milestoneCardComponent-popup > .modal-content .md-body .itemRow.childMilestoneNameRow .childMilestoneName-container .placeholder {
                            color: #b6b6b6;
                        }

                .milestoneCardComponent-popup > .modal-content .md-body .relationsInvalidMessage {
                    color: #ec4a43;
                    font-size: 12px;
                    font-family: GlowRegular;
                }

            .milestoneCardComponent-popup > .modal-content .md-body .itemLabel {
                font-family: GlowRegular;
                font-size: 14px;
                color: #b6b6b6;
                margin-bottom: 2px;
            }

                .milestoneCardComponent-popup > .modal-content .md-body .itemLabel.clonePredecessorsInfo {
                    margin-bottom: 5px;
                }

            .milestoneCardComponent-popup > .modal-content .md-body .ui-input-bordered {
                width:100%;
                padding-left: 10px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .relationsDropdownMultiselect .clear-input {
                top: 10px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .nameContainer {
                display: inline-block;
                width: 350px;
            }

            .milestoneCardComponent-popup > .modal-content .md-body .dateContainer {
                display: inline-block;
                width: 125px;
                padding-left: 16px;
            }

                .milestoneCardComponent-popup > .modal-content .md-body .dateContainer .datepicker {
                    width: 100%;
                    height: 28px;
                    border-radius: 4px;
                    border: solid 1px #dcdcdc;
                    outline: none;
                    font-family: GlowRegular;
                    font-size: 13px;
                    color: #4a4a4a;
                    background: #ffffff url(../../../../images/shared/small-calendar.png) no-repeat right 10px center;
                    padding: 0 30px 0 10px;
                    cursor: pointer;
                }

                .milestoneCardComponent-popup > .modal-content .md-body .dateContainer .datepicker[disabled]{
                    border-color: #F1F1F1;
                    cursor: default;
                }

        .milestoneCardComponent-popup > .modal-content .footer {
            padding: 0 20px 0 20px;
            height: 58px;
            background: #ffffff;
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
            position: relative;
        }

            .milestoneCardComponent-popup > .modal-content .footer .ui-btn-grey {
                height: 38px;
                width: 104px;
            }

            .milestoneCardComponent-popup > .modal-content .footer .ui-btn-light {
                width: 131px;
            }

            .milestoneCardComponent-popup > .modal-content .footer .loadingSpinnerContainer {
                position: absolute;
                top: 5px;
                right: 72px;
            }

        .milestoneCardComponent-popup > .modal-content .infoDropdown-container {
            position: absolute;
            /* Info Dropdown is always 92px from the top */
            top: 92px;
            /* Info Dropdown should be above everything else */
            z-index: 9999;
            font-family: GlowRegular;
            font-size: 14px;
            width: 250px;
            border-radius: 4px;
            background-color: #ffffff;
            box-shadow: 0 2px 4px 0 rgba(0, 41, 199, 0.2);
            display: none;
            opacity: 0;

            /* make text non-selectable for all children elements */
            -webkit-touch-callout: none; /* iOS Safari */
            -webkit-user-select: none; /* Chrome/Safari/Opera */
            -khtml-user-select: none; /* Konqueror */
            -moz-user-select: none; /* Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none;
            /* Non-prefixed version, currently
                                      not supported by any browser */
        }

        /* Triangle above the Dropdown */
            .milestoneCardComponent-popup > .modal-content .infoDropdown-container .infoDropdown-arrow {
                content: " ";
                width: 0;
                height: 0;
                position: absolute;
                top: 40px;
            }

                .milestoneCardComponent-popup > .modal-content .infoDropdown-container .infoDropdown-arrow.leftArrow {
                    border-top: 4px solid transparent;
                    border-bottom: 4px solid transparent;
                    border-right: 5px solid #ffffff;
                    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
                    left: -5px;
                }

                .milestoneCardComponent-popup > .modal-content .infoDropdown-container .infoDropdown-arrow.rightArrow {
                    border-top: 4px solid transparent;
                    border-bottom: 4px solid transparent;
                    border-left: 5px solid #ffffff;
                    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
                    left: 200px;
                }

            .milestoneCardComponent-popup > .modal-content .infoDropdown-container .infoDropdown-text {
                padding: 15px 18px;
                font-size: 13px;
            }

                .milestoneCardComponent-popup > .modal-content .infoDropdown-container .infoDropdown-text .ui-btn-link {
                    font-size: 13px;
                }

.milestoneCardComponent-popup [hidden] {
    display: none !important;
}

.outerScrollBlock {
    max-height: 480px;
    padding-right: 20px;
    margin-right: 2px;
    overflow: auto;
    padding: 16px 20px;
}

.outerScrollBlock::-webkit-scrollbar {
    width: 3px;
	background: transparent;
	cursor: pointer;
}

.outerScrollBlock::-webkit-scrollbar-thumb {
    width: 3px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    background-color: #aaa;
    cursor: pointer;
}

.outerScrollBlock::-webkit-scrollbar-thumb:hover {
	background-color: #999;
}