.event-prefs .intg-modal-backdrop {
    right: -10px;
    left: -15px;
    top: -5px;
    bottom: 10px;
}

.disabled-modal-backdrop, .intg-modal-backdrop,
.avail-times-grid .intg-modal-backdrop,
.ic-shaded-div .intg-modal-backdrop {
    opacity: 0.5;
    z-index: 19;
    border-radius: 3px;
}

.disabled-modal, .intg-enable-modal,
.avail-times-grid .intg-enable-modal,
.ic-shaded-div .intg-enable-modal {
    width: auto;
    padding-bottom: 0px;
    margin: auto;
}

.disabled-modal .bp4-overlay-backdrop.disabled-modal-backdrop {
    background-color: rgba(255, 255, 255, 0.85) !important;
    opacity: 0.85;
    z-index: 10;
    border-radius: 5px;
}



.sub-options {
    position: relative;
    padding-top: 5px;
    margin-top: -5px;
    padding-bottom: 5px;
}

.event-type-name {
    font-weight: 500;
    margin-bottom: 20px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1000;
    padding: 10px 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-bottom: 1px #d2d2d2 solid;
}

#w-ic-sidebar-event-content .event-type-name {
    z-index: initial;
}

.event-prefs-tab .bp4-tab-list, .vertical-switcher-tab .bp4-tab-list {
    padding-top: 40px;
    height: 100%;
    position: -webkit-sticky;
    position: sticky;
    width: 250px;
}

.setting-name, .template-section-name {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.template-section-name {
    display: none;
}

.ic-shaded-div .setting-name,
.avail-times-grid .setting-name {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
}

.option-heading {
    font-weight: 500;
    margin-bottom: 5px;
}

.ic-shaded-div .option-heading,
.avail-times-grid .option-heading {
    font-weight: 500;
    margin-bottom: 5px;
}

.event-pref .option-info {
    /* Update slack status: */
    font-size: 14px;
    color: #517184;
    text-align: left;
    line-height: 18px;
}


.event-pref {
    margin-bottom: 15px;
}


.event-pref.text-option .option-heading {
    margin-bottom: 10px;
}


.event-pref.boolean-option {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto;
    grid-template-columns: auto;
    -ms-grid-rows: auto;
    grid-template-rows: auto;
        grid-template-areas:
        "option-heading option-switch"
        "option-info option-switch";
}

.event-pref .option-heading {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
    grid-area: option-heading;
}

.event-pref .option-info {
    -ms-grid-row: 2;
    -ms-grid-column: 1;
    grid-area: option-info;
    margin-right: 40px;
}

.event-pref .option-info .option-sub-info {
    font-size: 12px;
    line-height: 16px;
}

.event-pref .option-switch {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 2;
    grid-area: option-switch;
    -ms-grid-column-align: end;
        justify-self: end;
    margin-top: 10px;
    margin-bottom: auto;
}

.event-prefs .event-pref .option-switch.bp4-large {
    padding-left: 32px;
}

.event-prefs .event-pref .option-switch.bp4-small {
    padding-left: 30px;
}

.status-emoji-form {
    width: 250px;
}

.event-prefs, .meeting-template-form {
    margin-bottom: 15px;
}
.meeting-template-form{
    width: 550px;
}

@media only screen and (max-width: 500px) {
    .meeting-template-form {
        width: 100%;
    }
}


.slack-options, .mail-options {
    position: relative;
    margin-bottom: 10px;
}

.ic-shaded-div .ic-ext-event-prefs .slack-options {
    position: relative;
}

.ic-shaded-div .ic-ext-event-prefs .slack-options .intg-enable-modal{
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.template-options {
    position: relative;
    margin-bottom: 25px;
}

.option-variables-info {
    font-size: 12px;
    color: #517184;
    text-align: left;
    line-height: 16px;
    text-decoration: underline;
    cursor: pointer;
}

.overlay-high-z-index .bp4-overlay-content {
    z-index: 21;
}

.variable-info-popup {
    width: calc(100vw - 40px);
    padding: 20px;
    background: white;
}

@media only screen and (min-width: 540px) {
    .variable-info-popup {
        width: 500px;
    }
}

.variable-info-popup .variable-info {
    margin-bottom: 15px;
}

.variable-info-popup .variable-description {
    display: inline-block;
}

.variable-info-popup .variable-name {
    margin-bottom: 5px;
    font-weight: 500;
}

.ic-ext-event-prefs .variable-info-popup {
    width: 290px;
}

/* .ic-ext-event-prefs .variable-info-popup .variable-name { */
/*     width: 80px; */
/*     display: block; */
/*     font-weight: 600; */
/* } */


/* .ic-ext-event-prefs .variable-info-popup .variable-description { */
/*     width: 100%; */
/*     display: block; */
/* } */

/* .ic-ext-event-prefs .variable-info-popup .desc-seperator { */
/*     display: none; */
/* } */

/* .ic-ext-event-prefs .variable-info-popup .variable-info { */
/*     display: block; */
/*     width: 1; */
/*     margin-bottom: 5px; */
/*     margin-top: 5px; */
/* } */


.status-text-form textarea {
    height: 55px;
}

.sample-message-kit-gutter {
    display: flex;
}

.sample-message-kit-gutter-left {
    flex-shrink: 0;
    margin-right: -16px;
    display: flex;
    padding-right: 8px;
    margin-top: 15px;
}

.sample-message-avatar-img {
    border-radius: 3px;
    display: block;
    height: 36px;
    line-height: 36px;
    width: 36px;
}

.sample-message-kit-gutter-right {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 16px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.message-sender-name {
    color: rgb(29,28,29);
    font-weight: 800;
    word-break: break-word;
    margin-right: 4px;
}

.message-timestamp {
    color: rgb(97,96,97);
}

.sample-message-slug {
    color: rgba(var(--sk_highlight,18,100,163),1);
    background: rgba(var(--sk_highlight_accent,29,155,209),.1);
    padding: 0 2px 1px 2px;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 4px;
}

.message-kit-text {
    color: rgb(29,28,29);
    font-weight: 400;
    line-height: 1.46668;
    margin-top: 2px;
}

.message-kit-attachments {
    max-width: 600px;
    display: block;
    line-height: 1.46668;
    font-size: 15px;
    margin-top: 20px;
}

.message-attachment {
    display: flex;
    align-items: stretch;
    position: relative;
    margin: 0 0 8px 0;
    max-width: 600px;
    color: rgba(var(--sk_primary_foreground,29,28,29),1);
}

.message-attachment-border {
    flex-shrink: 0;
    width: 4px;
    border-radius: 8px;
    color: rgba(var(--sk_primary_foreground,29,28,29),1);
    line-height: 1.46668;
    margin-right: 8px;
}

button.bp4-button.sample-message-btn {
    min-width: 200px;
    max-width: 220px;
    padding: 0 10px;
    margin: 2px 8px 2px 0;
    vertical-align: middle;
    font-size: 13px;
    height: 28px;
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
}


.send-test-message-btn {
    margin-top: 5px;
}

.rendered-input {
    margin-bottom: 5px;
}

.sample-meeting-desc {
    margin-top: 10px;
    font-size: 13px;
    color: #577082;
    text-align: left;
    line-height: 18px;
    margin-bottom: -5px;
}

.rendered-input {
    margin-top: 10px;
}



textarea.input-text-area.bp4-input.bp4-fill,
textarea.rendered-input.bp4-input.bp4-fill {
    max-width: 700px;
    display: block;
}

.event-pref-dialog .event-prefs {
    margin: 25px;
}


.avail-type.event-type-radio  .bp4-control.inline-radio,
.event-option.sub-option .event-type-radio .bp4-control.inline-radio {
    padding-left: 27px;
}

.event-type-selector .event-type-radio {
    max-width: 450px;
    margin-top: 10px;
    margin-bottom: 5px;
}

.inline-radio-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
        -ms-flex-align: baseline;
            align-items: baseline;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-bottom: -10px;
}

.event-type-selector-grid {
    display: grid;
    grid-template-columns: 1fr 35% 1fr;
    grid-template-rows: auto;
    grid-template-areas:
        "meeting focus reminder"
        "availability availability custom";
}


.ic-rg-oo-margin {
    margin: 15px 0px 10px 92px;
}

.outlook-margin {
    margin: 15px 0;
}

.inline-radio {
    margin-right: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}


/* ==================[       Desktop and above      ]================== */
/* Only valid on website, not operator used for extension elements */
@media only screen and (min-width: 900px) {
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.boolean-option {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 50px auto;
        grid-template-columns: 50px auto;
        -ms-grid-rows: auto;
        grid-template-rows: auto;
            grid-template-areas:
            "option-switch option-heading"
            "option-switch option-info";
    }

    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref .option-switch {
        -ms-grid-row: 1;
        -ms-grid-row-span: 2;
        -ms-grid-column: 2;
        grid-area: option-switch;
        -ms-grid-column-align: start;
            justify-self: start;
    }

    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.text-option,
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.select-option {
        margin-left: 50px;
    }
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.boolean-option > .option-heading {
        -ms-grid-row: 1;
        -ms-grid-column: 2;
    }
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.boolean-option > .option-info {
        -ms-grid-row: 2;
        -ms-grid-column: 2;
    }
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.boolean-option > .option-switch {
        -ms-grid-row: 1;
        -ms-grid-row-span: 2;
        -ms-grid-column: 1;
    }

    button.bp4-button.sample-message-btn {
        min-width: 0px;
    }

    .ic-ext-event-prefs button.bp4-button.sample-message-btn {
        min-width: 200px;
    }

    .event-prefs-wrapper button.bp4-button.sample-message-btn {
        min-width: 200px;
    }
}


@media only screen and (min-width: 900px) {
    :not(.ic-ext-event-prefs .event-prefs-wrapper) > .event-prefs .event-pref.boolean-option > .option-switch {
        -ms-grid-row: 1;
        -ms-grid-row-span: 2;
        -ms-grid-column: 1;
    }
}


/* ==================[   IE     ]================== */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    /* IE10+ specific styles, Lord save me */
    .ic-navbar .user-info-menu-button + .bp4-overlay-open .bp4-transition-container {
        margin-left: -150px !important;
    }

    .disabled-modal.bp4-dialog, .intg-enable-modal.bp4-dialog,
    .ic-shaded-div .intg-enable-modal.bp4-dialog,
    .avail-times-grid .intg-enable-modal.bp4-dialog {
        width: 100%;
        height: 100%;
        -webkit-box-shadow: none;
                box-shadow: none;
        background: none;
        position: absolute !important;
        left: 0px;

    }

    .intg-enable-modal .intg-enable-modal-container {
        margin: auto;
        width: 80px;
    }

}


#w-ic-sidebar-button:hover .DWWcKd-OomVLb-LgbsSe-Bz112c-AHe6Kc-SmKAyb {
    background-color: #f1f3f4
}


#w-ic-sidebar-button .DWWcKd-OomVLb-LgbsSe.DWWcKd-OomVLb-LgbsSe-gk6SMd .ONKrsd-jrnDlb-Bz112c-gvZm2b-uDEFge {
    display: inherit;
    background-color: #6fce26;
}


#ic-sidebar-event-content .ic-shaded-div .ic-event-disabled-screen .bp4-dialog-container,
#ic-sidebar-event-content .ic-shaded-div .event-fetch-elem,
#ic-sidebar-event-content .ic-shaded-div .user-auth-elem
{
    min-height: calc(100vh - 50px);
}


#ic-sidebar-event-content .ic-shaded-div .event-prefs .bp4-dialog-container {
    min-height: 100%;
}

/* Recur confirm dialog */
#w-ic-sidebar-event-content .ic-shaded-div .event-prefs-wrapper > .bp4-overlay.bp4-overlay-scroll-container.bp4-overlay-inline {
    height: 100vh;
}

#w-ic-sidebar-event-content .ic-shaded-div .event-prefs-wrapper > .bp4-overlay-inline .bp4-overlay-content {
    padding: 0 10px;
}

.event-type-sel-radio {
    margin-right: 16px;
    margin-bottom: 10px;
}

.event-prefs-container {
    display: flex;
    justify-content: center;
}

.event-prefs-container .tab-panel {
    width: 900px;
}

.bp4-vertical .bp4-tab-list {
    margin-top: 10px;
}
