.panel {
    position: fixed;
    z-index: 3050;
    width: 590px;
    right: 0;
    top: 0;
    height: 100%;
    overflow: auto;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(101%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
    scrollbar-width: none;
}

.panel::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.panel::-webkit-scrollbar-track {
    background: transparent;
}

.panel::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: none;
}

.panel::-webkit-scrollbar-button {
    width: 0;
    height: 0;
    display: none;
}

.panel::-webkit-scrollbar-corner {
    background: transparent;
}

.panel-w2 {
    width: 380px;
}

.panel-w3 {
    width: 410px;
}

.panel-w4 {
    width: 610px;
}

.panel-w4-i {
    display: none;
    margin-right: 610px;
    width: calc(100% - 850px);
    border-right: 1px solid #e4eaec;
}

.panel-w4-i .form-newsletter-email-img {
    margin: 20px;
    background: #111;
}

.panel-w4-i .form-newsletter-email-img img {
    margin: 0 auto;
    display: block;
}

.panel-w5 {
    width: 480px;
}

.panel-w6 {
    width: 730px;
    z-index: 99999;
}

.panel.show {
    transform: translateX(0);
}

.panel-show .panel-mask {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.panel-mask {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3030;
    background: rgba(28, 37, 56, 0.2);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, visibility;
}

.panel-close,
.panel-delete,
.panel-inner-close {
    position: absolute;
    z-index: 3060;
    right: 21px;
    top: 24px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    padding: 0;
}

.panel-close svg,
.panel-delete svg,
.panel-inner-close svg {
    display: block;
    margin: 0 auto;
}

.panel-close:focus,
.panel-delete:focus,
.panel-inner-close:focus {
    outline: none;
}

.panel-delete {
    right: 55px;
}

.panel-delete path {
    fill: #1C2538;
    opacity: 0.5;
}

.panel-inner {
    z-index: 3100;
}

.panel-inner-close {
    z-index: 3110;
}

.panel-bottom,
.panel-top {
    flex: 0 0 auto;
    max-width: 100%
}

.panel-content {
    flex: 1 0 auto;
    max-width: 100%;
    padding: 20px;
}

.panel-content .newsletter-preview-screen {
    background: #e4eaec;
    padding: 30px;
    border-radius: 10px;
}

.panel-content .newsletter-preview-screen img {
    margin: 0 auto;
    display: block;
}

.panel-top-navigation {
    padding: 11px 0 11px 10px;
    flex: 0 0 310px;
    max-width: 310px;
}

.panel-top-navigation .newsletter-design-tabs {
    padding: 0;
}

.panel-top-flex {
    padding-right: 60px;
    justify-content: space-between;
    display: flex;
    width: 100%
}

.panel-show body {
    touch-action: none;
    -webkit-overflow-scrolling: none;
    overflow: hidden;
    overscroll-behavior: none;
}

.panel-show .panel-mask {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

@media (max-width:991.98px) {
    .panel {
        width: 100%
    }

    .panel-w5 {
        width: 480px;
    }
}

@media (max-width:660px) {
    .panel-w5 {
        width: 100%
    }

    .panel-top-flex {
        padding-right: 0;
        flex-wrap: wrap;
    }

    .panel-top-navigation {
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 20px;
        padding-right: 20px;
        flex: 0 0 100%;
        max-width: 100%
    }
}

.new-group-create-caption {
    padding: 30px 30px 15px;
    border-bottom: 1px solid #eeeeee;
}

.new-group-create-caption .create-campaign-segmentation-search {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.new-group-create-caption .create-campaign-segmentation-search-button {
    right: 0;
}

.new-group-create-title {
    font-size: 18px;
    line-height: 1.39;
    font-weight: 800;
    margin-bottom: 15px;
    padding-right: 20px;
}

.new-group-create-list {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 10px 20px;
    margin: 0;
    list-style: none;
}

.new-group-create-list+.new-group-create-list {
    border-left: 1px solid #eeeeee;
}

.new-group-create-list-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.new-group-create-list li a {
    display: block;
    position: relative;
    padding: 12px 40px 11px 15px;
    font-size: 14px;
    line-height: 1.5;
    color: #37474f;
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    border-radius: 10px;
}

.new-group-create-list li a:after {
    opacity: 0;
    content: "";
    position: absolute;
    right: 15px;
    top: 14px;
    width: 16px;
    height: 16px;
    background: transparent url("images/arrow-right.svg") 50% 50% no-repeat;
    background-size: 100% 100%
}

.new-group-create-list li.active a {
    background-color: #e4eaec;
}

.new-group-create-list li.active a:after {
    opacity: 1;
}

.new-group-create-segmentation-row {
    display: flex;
    align-items: flex-start;
    margin: 0 0 0 -5px;
}

.new-group-create-segmentation-col {
    flex: 1 1 0;
    max-width: 100%;
    padding: 0 5px 10px;
}

.new-group-create-segmentation-col:first-child {
    padding-right: 25px;
    position: relative;
}

.new-group-create-segmentation-col:first-child:after {
    content: "";
    position: absolute;
    top: 22px;
    right: -5px;
    width: 30px;
    height: 1px;
    background: #eeeeee;
}

.new-group-create-segmentation-col:last-child {
    flex: 0 0 45px;
    max-width: 45px;
    padding-right: 0;
}

.new-group-create-segmentation-input input.input-text {
    border-color: #eeeeee;
    background: #ffffff;
    font-weight: bold;
}

.new-group-create-segmentation-filter {
    padding-top: 30px;
    position: relative;
}

.new-group-create-segmentation-filter:after {
    content: "";
    position: absolute;
    left: 25px;
    top: 0;
    height: 30px;
    width: 1px;
    background: #eeeeee;
}

.new-group-create-segmentation-filter-add {
    display: inline-block;
    vertical-align: top;
    position: relative;
    padding: 15px 17px 13px 45px;
    font-size: 14px;
    line-height: 1.29;
    font-weight: bold;
    color: #37474f;
    ;
    background: #e4eaec;
    border-radius: 8px;
}

.new-group-create-segmentation-filter-add svg {
    position: absolute;
    left: 15px;
    top: 13px;
    width: 20px;
    height: 20px;
}

.new-group-create-segmentation-filter-add:hover {
    color: #3c68ec;
}

.new-group-create-segmentation-filter-add:hover .svg-fill {
    fill: #3c68ec;
}

.new-group-create-segmentation-delete {
    display: block;
    padding: 14px 0;
}

.new-group-create-segmentation-delete-icon {
    display: block;
}

.new-group-create-segmentation-delete-icon svg {
    display: block;
    margin: 0 auto;
}

.new-group-create-segmentation-delete-icon .svg-fill {
    fill: #f3535e;
}

.new-group-create-segmentation-delete-text {
    display: none;
}

input.input-text,
select.select,
textarea.textarea {
    width: 100%;
    border-radius: 4px;
    height: 44px;
    border: 1px solid #e4eaec;
    background: #ffffff;
    padding: 0 14px;
    font-size: 14px;
    color: #37474f;
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: color, background-color, border-color;
}

#saveCriteria {
    color: #ffffff !important;
    padding-right: 15px;
}

a.button, button.button, input.button {
    border-radius: 5px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    line-height: normal;
    border: 1px solid #3c68ec;
    background: #3c68ec;
    color: #ffffff;
    text-align: center;
    padding: 10px 12px;
    transition: color 0.15s cubic-bezier(0.4,0,0.2,1),background-color 0.15s cubic-bezier(0.4,0,0.2,1),border-color 0.15s cubic-bezier(0.4,0,0.2,1);
    will-change: color,background-color,border-color;
}

.new-group-create-list li.active a#saveCriteria {
    border: 1px solid #3c68ec;
    background: #3c68ec;
}
.btn-primary {
    background-color: #3c68ec;
}
.listoptions {
    padding-left: 5px;
    max-height: 450px;
    overflow-y: scroll;
    overflow-x: hidden;
    width: 230px;
    max-width: 230px;
}

.listoptions li {
    margin-left: 10px;
    list-style: none;
}

.listoptions li .fa-check {
    display: none;
}

.listoptions li.checked {
    margin-left: 0px;
}

.listoptions li.checked .fa-check {
    display: inline-block !important;
}