#wrapperSidebar {
    overflow: hidden;
    position: relative;
    width: 35% !important;
}

#wrapperSidebar .collapsible {
    user-select: none;
}

#wrapperSidebar h2 {
    font-weight: 500;
}

.hosted-form-wrapper {
    border: 1px solid var(--bs-gray-300);
    border-radius: var(--bs-card-border-radius);
}

.hosted-form-domain {
    background: #f7f7f7;
    padding: 18px;
    width: 100%;
    border-top-right-radius: var(--bs-card-border-radius);
    border-top-left-radius: var(--bs-card-border-radius);
}

.hosted-form-domain-url-block {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    justify-content: space-between;
}

.hosted-form-domain-url-buttons {
    justify-content: space-between;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    background-color: white;
    padding: 5px 7px 3px 8px;
    border: 1px solid #DBDFE9;
    border-left: none;
    border-radius: 0 0.475rem 0.475rem 0;
}

.hosted-form-domain-url-buttons i {
    font-size: 31px;
}

.hosted-form-wrapper .hosted-form-domain-url-block,
.hosted-form-wrapper .hint {
    width: 80%;
    margin-top: 7px;
    transform: scale(1.25);
    transform-origin: top left;
}

.hosted-form-wrapper .hosted-form-domain {
    border-bottom: none;
}

.hosted-form-domain .browser-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    color: #252F4A;
}

.hosted-form-domain .browser-buttons i {
    font-size: 20px;
    margin-left: 10px;
}

.hosted-form-domain .browser-buttons .bi-x-lg {
    margin-top: 5px;
    font-weight: 900;
    color: #252F4A;
}

.hosted-form-domain .browser-tab {
    font-size: 20px;
    height: 30px;
    line-height: 26px;
    padding: 0 0 4px 0;
    margin-bottom: 3px;
    position: relative;
}

.hosted-form-domain .browser-tab p {
    word-break: break-all;
    padding-right: 20px;
}
.hosted-form-domain .browser-tab img {
    width: 26px;
    margin-bottom: 4px;
    height: 26px;
}

.form-control.js-host-input:read-only {
    color: #99A1B7;
    background-color: white;
    border-color: #DBDFE9;
    padding: 1rem 0.75rem;
    line-height: 1.2;
}

@media screen and (max-width: 420px) {
    #sidebar {
        position: static;
        width: 100%;
    }

    #sidebar.fixed {
        right: unset;
        position: static;
    }
    #sidebar .content {
        min-height: unset;
    }

    #sidebar .content .embed-preview, #wrapperSidebar .content .embed-preview {
        background-color: #ffffff;
        font-size: 12px !important;
    }

    #sidebar #formPreview, #wrapperSidebar #formPreview {
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    #sidebar #formPreview .btn, #wrapperSidebar #formPreview .btn {
        font-size: 10px;
    }

    #wrapperSidebar {
        width: 100% !important;
    }
}

@media (min-width: 421px) and (max-width: 449px) {
    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual) !important;
        right: 15px;
    }

    #sidebar .content {
        min-height: unset;
        padding: unset;
    }

    #sidebar .content .embed-preview, #wrapperSidebar .content .embed-preview{
        background-color: #ffffff;
    }

    #sidebar #formPreview, #wrapperSidebar #formPreview {
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    #sidebar #formPreview .btn, #wrapperSidebar #formPreview .btn {
        margin: 0 auto;
    }

    #wrapperSidebar {
        width: 100% !important;
    }

    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }

    #sidebar.fixed {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }
}

@media screen and (min-width: 450px) and (max-width: 570px) {
    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual) !important;
        right: 15px;
        padding-top: 10px;
    }

    #sidebar .content {
        min-height: unset;
        padding: unset;
    }

    #sidebar .content .embed-preview, #wrapperSidebar .content .embed-preview {
        background-color: #ffffff;
    }

    #sidebar #formPreview, #wrapperSidebar #formPreview {
        justify-content: center;
        display: flex;
        flex-direction: column;
    }

    #sidebar #formPreview .btn, #wrapperSidebar #formPreview .btn {
        margin: 0 auto;
    }

    #wrapperSidebar {
        width: 100% !important;
    }

    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }

    #sidebar.fixed {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }
}
@media screen and (max-width: 1199px) {
    #emailPreview, #hostedFormPreview {
        padding-left: 0;
        padding-right: 0;
    }
}

@media screen and (min-width: 571px) and (max-width: 1199px) {
    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual) !important;
        right: 15px;
    }

    #sidebar .content {
        min-height: unset;
        padding: unset;
    }

    #sidebar .content .embed-preview,  #wrapperSidebar .content .embed-preview {
        background-color: #ffffff;
    }

    #emailPreview, #formPreview{
        width: 100%;
    }

    #sidebar #formPreview, #wrapperSidebar #formPreview {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
    }

    #sidebar #formPreview .btn, #wrapperSidebar #formPreview .btn {
        margin: 0 auto;
    }

    #wrapperSidebar {
        width: 100% !important;
    }

    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }

    #sidebar.fixed {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 15px;
        width: 100%
    }
}

@media screen and (min-width: 1200px) {
    #sidebar {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 5px;
        width: 100%;
        margin-left: 15px;
    }

    #sidebar.fixed {
        position: fixed;
        top: var(--bs-app-header-height-actual);
        right: 60px;
        width: 100%
    }
}

@media (max-width: 767px) {
    #formPreview .card,
    #hostedFormPreview.card,
    #emailPreview.card {
        border: none;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none;
    }

    #formPreview .card .card-header {
        padding: 0;
    }

    #formPreview .card .card-body,
    #hostedFormPreview.card .card-body,
    #emailPreview.card .card-body {
        padding-right: 0;
        padding-left: 0;
    }
}

#sidebar #topnav, #wrapperSidebar #topnav {
    position: relative;
}

#sidebar #topnav .topbar-main, #wrapperSidebar #topnav .topbar-main {
    background-color: transparent;
}

#sidebar .hosted-form .container, #wrapperSidebar .hosted-form .container {
    width: 100% !important;
}

#sidebar .hidden-pdf, #wrapperSidebar .hidden-pdf {
    display: none;
}

#sidebar  .hosted-body, #wrapperSidebar .hosted-body{
    height: 466px;
    border-bottom-right-radius: var(--bs-card-border-radius);
    border-bottom-left-radius: var(--bs-card-border-radius);
    overflow-y: auto;
    padding-bottom: 20px;
}

p.errorMessage:empty{
    display: none;
}

.cms-guide-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cms-guide-container a {
    -webkit-filter: grayscale(100%)!important;
    filter: grayscale(100%)!important;
}

.cms-guide-container a div:first-child {
    -webkit-filter: brightness(80%);
    filter: brightness(80%);
}

.cms-guide-container a div:last-child {
    line-height: 1.15;
}

[data-bs-theme="dark"] .cms-guide-container a div:first-child{
    -webkit-filter: brightness(150%);
    filter: brightness(150%);
}

.cms-guide-container a:hover {
    -webkit-filter: none!important;
    filter: none!important;
}

.cms-guide-container a:hover div:first-child {
    -webkit-filter: brightness(100%);
    filter: brightness(100%);
}

.cms-guide-container .btn.btn-active-light-primary:active:not(.btn-active),
.cms-guide-container .btn.btn-active-light-primary:focus:not(.btn-active) {
    background-color: var(--bs-light) !important;
    color: var(--bs-btn-color);
}

.select-field-to-insert {
    position: absolute;
    right: 6px;
    bottom: 6px;
}

.ckeditor-textarea .select-field-to-insert {
    right: 22px;
    padding: 0 !important;
}

.select-field-to-insert .btn {
    padding: 3px 6px !important;
}

.select-field-to-insert .btn-light {
    border: 1px var(--bs-gray-300) solid !important;
}

.select-field-to-insert  .dropdown-menu {
    right: 0;
    left: auto;
}

.select-field-to-insert  .dropdown-item {
    padding: 0;
}

.select-field-to-insert  .dropdown-menu > li > a {
    color: var(--bs-gray-700);
    transition: color 0.2s ease;
    display: block;
    padding: 6px 20px;
    width: 100%;
}

.select-field-to-insert  .dropdown-menu > li > a:hover {
    background-color: var(--bs-component-hover-bg);
    color: var(--bs-component-hover-color);
    transition: color 0.2s ease;
}

.danger-field-to-insert {
    text-decoration: line-through;
}

#cke_Ckeditor.cke_chrome {
    border: 1px solid var(--bs-gray-300);
}

#cke_Ckeditor .cke_resizer {
    margin-top: 16px;
}

#cke_Ckeditor .cke_bottom {
    height: 32px !important;
    border-top: 0;
    background: transparent none;
}

[data-bs-theme="dark"] #cke_Ckeditor .cke_bottom {
    background: var(--bs-body-bg);
}

.cke_path {
    display: none;
}

pre[class*="language-" ],
code[class*="language-"] {
    white-space: pre-wrap;
    overflow: auto;
    word-break: break-word;
}

.select2-selection__rendered {
    width: 100%;
}

#contentCode .highlight .highlight-copy {
    top:unset;
    bottom: 1.6rem;
    font-size: 1.05rem;
    padding: calc(0.5rem + 1px) calc(1rem + 1px) !important;
}

@media (min-width: 1600px) {
    #call-results {
        width: 60% !important;
    }
}

.embedding-collapsible {
    position: relative;
    padding-right: 30px;
}

.embedding-collapsible::after {
    content: "";
    position: absolute;
    right: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease;
}

.embedding-collapsible:not(.collapsed)::after {
    transform: translateY(-50%) rotate(-135deg);
}
