.comp-card {
    background: #fff;
    border-radius: 6px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}


.comp-tabs {
    display: block;
    width: 100%;
}

.comp-tabs__separators {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0;
    white-space: nowrap;
    background: #f5f5f5 url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAADAQMAAABoE/fBAAAAA1BMVEXg4ODw7PzuAAAACklEQVR4XmMAAwAABgAB1LUZKAAAAABJRU5ErkJggg==) bottom repeat-x;
    background-size: 1px 3px;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.comp-tabs__separators:after {
    content: "";
    display: table;
    clear: both;
}

.comp-tabs__separators [data-tabid] {
    display: inline-block;
    float: left;
    font-size: 16px;
    height: 42px;
    line-height: 42px;
    padding: 0 14px;
    border-bottom: solid transparent 2px;
    cursor: pointer;
    text-align: center;
    min-width: 80px;
    transition: background-color 200ms;
    color: #3c3c3c;
}

.comp-tabs__separators [data-tabid]:first-child {
    border-top-left-radius: 4px;
}

.comp-tabs__separators [data-tabid]:hover,
.comp-tabs__separators [data-tabid].--selected {
    color: #000;
    background: rgba(2, 2, 48, 0.08);
}

.comp-tabs__separators [data-tabid].--selected {
    /*noinspection CssNonIntegerLengthInPixels*/
    border-bottom: solid #5c6bc0 3.5px;
}

.comp-tabs__separators [data-tabid]:active {
    color: #000;
    background: #b0bec5;
}

.comp-tabs div[data-tabid] {
    background: #fff;
    padding: 16px 6px 6px;
    animation-duration: 200ms;
    min-height: 150px;
}

/* Optimize tabs when placed on the root of a dialog body */
.comp-dialog__body__contents > .comp-tabs > .comp-tabs__separators {

    /* Make separators sticky */
    position: sticky;
    top: 0;

    /* Hide contents above separators during scroll */
    box-shadow: 0 -20px 0 0 #fff;
    z-index: 9999;

}

@media all and (max-width: 480px) {

    .comp-tabs__separators {
        background: transparent;
    }

    .comp-tabs__separators [data-tabid] {
        float: none;
        display: block;
        width: 100%;
        background: #f5f5f5;
    }

    .comp-tabs__separators [data-tabid]:first-child {
        border-top-left-radius: 4px;
        border-top-right-radius: 4px;
    }

    .comp-tabs__separators [data-tabid]:last-child {
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .comp-tabs__separators [data-tabid]:hover,
    .comp-tabs__separators [data-tabid].--selected {
        background: #e5e5e5;
    }

}


.comp-hr {
    border: none;
    height: 1px;
    background: #bdbdbd;
    margin: 16px 0;
}


.comp-spinner {
    width: 70px;
    height: 70px;
    border: 8px solid;
    border-color: #5c6bc0 transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: comp-spinner-keyframes 500ms linear infinite;
    margin: 10px;
}

@keyframes comp-spinner-keyframes {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.comp-spinner.--small {
    width: 40px;
    height: 40px;
    border-width: 4px;
}

.comp-spinner.--xsmall {
    width: 28px;
    height: 28px;
    border-width: 3px;
    margin: 6px;
}

.comp-spinner.--centered {
    display: block;
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    margin-top: -35px;
    margin-left: -35px;
}

.comp-spinner.--centered.--small {
    width: 40px;
    height: 40px;
    margin-top: -20px;
    margin-left: -20px;
}


dialog.comp-dialog {
    padding: 0;
    overflow-y: hidden;
    overflow-x: hidden;
    -moz-animation-duration: 500ms !important;
    -webkit-animation-duration: 500ms !important;
    animation-duration: 500ms !important;
}

dialog.comp-dialog::backdrop {
    animation: fadeIn;
    animation-duration: 190ms;
}

.comp-dialog__titlebar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 46px;
    line-height: 46px;
    padding: 0 62px 0 16px;
    background: #f5f5f5;
    border-bottom: solid #eeeeee 2px;
    font-size: 17px;
    color: #2c2c2c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.comp-dialog__closeBtn {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    padding: 0;
    margin: 0;
    min-width: 0;
    min-height: 0;
    font-size: 0;
    border-radius: 0;
    outline: none;
    background: #f5f5f5;
    border-bottom: solid #eeeeee 2px;
    color: #2c2c2c;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.comp-dialog__closeBtn:hover,
.comp-dialog__closeBtn:focus {
    background: #e0e0e0;
    border-bottom-color: #e0e0e0;
    outline: none;
    color: #000;
}

.comp-dialog__closeBtn:active {
    background: #f44336;
    color: #ffebee;
    outline: none;
}

.comp-dialog__closeBtn .mtico {
    font-size: 28px;
    margin-top: 8px;
}

.comp-dialog__ctrl-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 46px;
    line-height: 46px;
    background: #f5f5f5;
    border-top: solid #eeeeee 2px;
    white-space: nowrap;
    text-align: right;
}

.comp-dialog__ctrl-bar .form__btn {
    padding: 0 16px;
    min-width: 90px;
    height: 46px;
    line-height: 42px;
    border-radius: 0;
    float: right;
    background: #eeeeee;
    border-top: solid #eeeeee 2px;
    color: #2c2c2c;
}

.comp-dialog__ctrl-bar .form__btn:hover,
.comp-dialog__ctrl-bar .form__btn:focus {
    outline: none;
    background: #e0e0e0;
}

.comp-dialog__ctrl-bar .form__btn:active {
    outline: none;
    color: #000;
    background: #b0bec5;
}

.comp-dialog__body {
    position: absolute;
    top: 46px;
    bottom: 46px;
    left: 0;
    right: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px;
}

/* region Dialog layout variants */

.comp-dialog.--no-title-bar .comp-dialog__body {
    top: 0;
}

.comp-dialog.--no-ctrl-bar .comp-dialog__body {
    bottom: 0;
}

.comp-dialog.--no-title-bar:not(.--no-close-btn) .comp-dialog__body {
    padding-top: 24px;
    padding-left: 20px;
    padding-right: 20px;
}

.comp-dialog.--no-title-bar:not(.--no-close-btn) .comp-dialog__closeBtn {
    width: 34px;
    height: 34px;
    line-height: 34px;
    border-bottom: none;
    border-bottom-left-radius: 6px;
}

.comp-dialog.--no-title-bar:not(.--no-close-btn) .comp-dialog__closeBtn .mtico {
    font-size: 22px;
    margin-top: 7px;
}

.comp-dialog.--no-close-btn .comp-dialog__titlebar {
    padding: 0 16px;
}

/* endregion */

.jq-toast-single {
    font-family: 'Roboto', sans-serif !important;
    font-size: 15px !important;
    padding: 20px !important;
}

.jq-toast-loader {
    display: none !important;
    opacity: 0 !important;
}


