.editor {
    overflow-y: visible;
}

.editor__grid-wrapper {
    max-height: 75vh;
    overflow-y: auto;
    padding-left: 50px;
    overflow-x: visible;
}

.editor__container {
    position: relative;
    width: 100%;
    max-width: 98%;
    padding-top: 30px;
    display: flex;
    gap: 35px;
    margin: 0;
    min-height: 100vh;
    background: rgb(226, 225, 225);
}

.confirm-main__editor {
    background: rgb(226, 225, 225);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.editor__up-menu {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    width: 100%;
    gap: 1rem;
}

.editor__up-menu__name {
    display: flex;
    gap: 8px;
}

.editor__up-menu__name-container {
    display: flex;
    height: 3.22rem;
    gap: .5rem;
}

.editor__up-menu__name-inp,
.editor__up-menu__keywords,
.editor__up-menu__description {
    max-width: 300px;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 0.5px solid #042257;
    background: none;
    padding: 10px 15px;
    color: #042257;
}

.editor__up-menu__name-inp::placeholder,
.editor__up-menu__keywords::placeholder,
.editor__up-menu__description::placeholder {
    font-size: 16px;
    color: #042257;
    text-align: center;
}

.editor__up-menu__name-btn {
    display: flex;
    padding: 15px 25px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    border: 0.5px solid #042257;
    font-size: 18px;
    font-weight: 400;
    color: #042257;
    transition: all ease 0.4s;
    height: min-content;
}

.editor__up-menu__name-btn:hover {
    background: #FFF;
    color: #042257;
    font-weight: 700;
}

.editor__up-menu-btns {
    display: flex;
    height: min-content;
    align-items: center;
    gap: 15px;
}

.editor__up-menu-btns__item img {
    width: 23px;
    height: 23px;
}

.editor__up-menu-btns__item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #a4a7ad;
}

.editor__up-menu__publish-btn {
    max-width: 225px;
    width: 100%;
    border-radius: 10px;
    font-size: 16px;
    background: var(--button-color-2, #ABD243);
    font-weight: 700;
    transition: all ease 0.4s;
    padding: 15px 25px;
    height: min-content;
}

.editor__up-menu__publish-btn:hover {
    background: #D2E897;
    font-size: 18px;
}

.editor__block {
    position: relative;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}

.editor__block-title {
    width: 100%;
    background: var(--button-color, linear-gradient(270deg, #E93D72 -98.82%, #3262B9 128.4%));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.editor__block-title__inp {
    background: none;
    height: 80%;
    width: 80%;
    font-size: 36px;
    color: #fff;
    text-align: center;
}

.editor__block-title__inp::placeholder {
    font-size: 36px;
    color: #fff;
    text-align: center;
}

.editor__block-text {
    width: 100%;
    height: 100%;
    background: #fff;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.editor__bock-text__textarea {
    width: 100%;
    height: 100%;
    font-size: 14px;
    outline: none;
    resize: none;
    padding: .5rem;
}

.editor__panel {
    width: 30%;
    border-radius: 16px 0px 0px 16px;
    background: #FFFFFF;
    color: #fff;
    padding: 20px;
    margin-bottom: 50px;
    height: 75vh;
    overflow-y: scroll;
}

.editor__panel-menu {
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    margin-bottom: 35px;
    color: #5E6474;
}

.editor__panel-menu p {
    cursor: pointer;
}

.editor__grid-template {
    width: 100%;
}

.editor__block-text-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.editor__block-text__menu {
    position: relative;
    overflow-y: visible;
}

.editor__block-text__menu div:first-child {
    margin: 0 10px 0 10px;
}

.editor__resize-columns {
    width: 95.2%;
    height: 10px;
    display: flex;
    padding: 0 28px 0 10px;
    gap: 20px;
    justify-self: flex-end;
}

.editor__resize-column {
    width: calc(100% / 12);
    height: 100%;
    border-left: 1px solid gray;
    border-right: 1px solid gray;
}

.editor__grid-item-content {
    background-color: #fff;
    border: 1px solid #d1d1d1;
    padding: 20px;
    border-radius: 5px;
    min-height: 5rem;
}

.editor__hidden-blocks {
    display: none;
}

.editor__block-img-menu {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    padding: 1rem;
    margin: auto;
    position: absolute;
    z-index: 5;
    font-size: 1rem;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.editor__block-img-menu span {
    color: #FFF;
}

.hover-show-image-menu {
    position: relative;
}

.editor__block-img-download-btn {
    border-radius: .50rem;
    padding: .80rem;
    background: lime;
}

.editor__link-file-input {
    border-radius: .50rem;
    padding: .80rem;
}

.editor__block-img {
    background-color: #fff;
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40%;
}

.editor__block-img-view {
    position: relative;
    z-index: 1;
    width: 30px;
}

.editor__block-img .grid-stack-item-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.grid-menu-btn {
    width: fit-content;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2px;
}

.grid-menu-close-btn {
    align-self: flex-end;
    cursor: pointer;
    position: absolute;
    top: .8rem;
    right: .8rem;
}

.grid-menu-dot {
    width: 5px;
    height: 5px;
    background: gray;
    border-radius: 50%;
}

.grid-menu-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    padding: 1rem;
    margin: auto;
    position: absolute;
    z-index: 5;
    font-size: 1rem;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.grid-menu-container__tabs {
    display: flex;
    gap: 2rem;
    width: 100%;
    justify-content: center;
}

.grid-menu-container__tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.grid-menu-container__tab-contents {
    width: 100%;
    height: 100%;
}

.grid-menu-container__tab-content {
    width: 100%;
    height: 100%;
}

.grid-menu-container__tab-content textarea {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    padding: .8rem;
    resize: none;
}

.grid-menu-container__tab-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #abd243;
}

.grid-menu-container__add-code-btn {
    background-color: #abd243;
    padding: .7rem;
    border-radius: 0.8rem;
}

.editor__block-youtube-link {
    width: 80%;
    padding: .5rem;
    font-size: 14px;
    border-radius: .5rem;
}

.editor__image-input {
    display: none;
}

.editor__block-youtube iframe {
    width: 100%;
    margin: 1rem 0 1rem 0;
}

.text__menu-dropdown-btn .arrow {
    transition: 0.3s;
}

.text__menu-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    border-radius: 0 0 8px 8px;
    background: #5E6474;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
    z-index: 99;
    margin-top: 10px;
    max-height: 200px;
    overflow-y: scroll;
}

.text__menu-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.text__menu-dropdown-content::-webkit-scrollbar-track {
    background: none;
    border-radius: 21px;
}

.text__menu-dropdown-content::-webkit-scrollbar-thumb {
    background: #D2D8E580;
    border-radius: 21px;
}

.text__menu-dropdown-content p {
    color: #fff;
    padding: 10px;
    text-decoration: none;
    display: block;
    cursor: pointer;
}

.text__menu-dropdown-content p:hover {
    background: #878b94;
}

.text__menu-dropdown-content p:last-child:hover {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.editor__block-code {
    height: 100%;
}

.editor__block-code-content {
    width: 100%;
    height: 100%;
}

.editor__block-text .clr-field,
.editor__block-content1 .clr-field,
.editor__block-content2 .clr-field,
.editor__block-content4 .clr-field,
.editor__block-content5 .clr-field,
.editor__block-content6 .clr-field {
    display: none;
}

.editor__block-text__menu-block-btn {
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.editor__block-text__menu-block-btn .clr-field {
    display: inline-block;
    height: 5px;
}

.editor__block-text__menu-block-btn .clr-field button {
    position: relative;
    z-index: 0;
    height: 5px;
    top: -10px;
    left: 0;
    bottom: 0;
    right: 0;
}

.btn-success {
    color: #abd243;
    border-color: #abd243;
}

.toolbar-color-text-input {
    height: 5px;
}

.pages__content-filter {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: center;
}
.pages__content-filter img{
    width: 32px;
}
.pages__content-filter__inp {
    border-radius: 8px;
    border: 0.5px solid #5E6474;
    padding: 10px;
    background: none;
    color: #5E6474;
    width: 100%;
}
.pages__content-filter__inp::placeholder{
    color: #5E6474;
}
.pages__content-point {
    display: flex;
    gap: 12px;
    margin-left: 40px;
    color: #5E6474;
    align-items: center;
    position: relative;
    margin-bottom: 2rem;
}
.pages__content-point img{
    width: 24px;
}
.pages__content-add__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    margin: 0 auto;
    background: #a4a7ad;
}

.grid-stack>.grid-stack-item>.grid-stack-item-content {
    overflow: visible;
}

.grid-stack .clr-picker {
    top: 0!important;
    left: 0!important;
}

.ql-container.ql-snow {
    border: none;
}

/* Quill fonts */
.ql-font-roboto-lig {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}

.ql-font-roboto-reg {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
}

.ql-font-roboto-med {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
}

.ql-font-courier-reg {
    font-family: 'Courier Prime', sans-serif;
    font-weight: 400;
}

.ql-font-montserrat-lig {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.ql-font-montserrat-reg {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.ql-font-montserrat-med {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.ql-font-ubuntu-lig {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 300;
}

.ql-font-ubuntu-reg {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
}

.ql-font-ubuntu-med {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

.ql-font-comfortaa-lig {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 300;
}

.ql-font-comfortaa-reg {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 400;
}

.ql-font-comfortaa-med {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 500;
}

.editor__block-options {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #FFFFFF;
    max-width: 40px;
    padding: 10px 5px;
    border-radius: 20px;
    justify-content: center;
    align-items: center;
    left: -50px;
    top: calc(50% - 57px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.grid-stack > .grid-stack-item {
    overflow: visible;
}

.grid-stack-item-content {
    overflow: visible !important;
}