.editor-content input[type=text],
.editor-content input[type=email],
.editor-content input[type=number],
.editor-content input[type=password],
.editor-content input[type=search],
.editor-content input[type=tel],
.editor-content input[type=url],
.editor-content textarea,
.editor-content select,
.comment-form input,
.comment-form textarea {
    border: 1px solid #E6E6E6;
    padding: 1.5rem !important;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
    transition: 300ms;
    font-size: 13px !important;
    text-align: right;
    background-color: #fff;
    height: 72px;
    outline: 0;
    display: block;
    line-height: 2;
}

.editor-content input[type=text]:focus,
.editor-content input[type=email]:focus,
.editor-content input[type=number]:focus,
.editor-content input[type=password]:focus,
.editor-content input[type=search]:focus,
.editor-content input[type=tel]:focus,
.editor-content input[type=url]:focus,
.editor-content textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color1) !important;
}



.editor-content input[type=text]::placeholder,
.editor-content input[type=email]::placeholder,
.editor-content input[type=number]::placeholder,
.editor-content input[type=password]::placeholder,
.editor-content input[type=search]::placeholder,
.editor-content input[type=tel]::placeholder,
.editor-content input[type=url]::placeholder,
.editor-content textarea::placeholder,
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--color4);
}


.editor-content textarea,
.comment-form textarea {
    min-height: 166px;
}

.editor-content {
    line-height: 2;
}

.editor-content em {
    font-style: italic;
}

.editor-content del {
    text-decoration: line-through;
}



.editor-content a {
    color: var(--color1);
}

.editor-content a:hover {
    color: var(--color2);
}

.editor-content img {
    border-radius: 3px;
}



.gallery_item {
    position: relative;
    display: block;
}

.lg-outer {
    text-align: right;
}

.gallery_item a {
    display: block;
    position: relative;
    text-align: center;
    margin: auto;
    border-radius: 4px;
    overflow: hidden;
}

.gallery_item a:hover::after {
    transform: scale(1);
    opacity: 1;
}

.gallery_item a:after {
    content: "\e91c";
    font-family: 'icomoon';
    position: absolute;
    inset: 0;
    font-size: 38px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    background-color: #0000004D;
    pointer-events: none;
    border-radius: 4px;
    transform: scale(1.5);
    transition: 300ms;
    opacity: 0;
}

.editor-content .alignleft {
    float: left;
    margin: 20px 20px 10px 0;
}

.editor-content .alignright {
    float: right;
    margin-left: 20px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.editor-content .aligncenter {
    text-align: center;
    display: block;
    margin: 20px auto;
}

.editor-content li h2,
.editor-content li h3,
.editor-content li h4,
.editor-content li h5,
.editor-content li h6 {
    margin-bottom: 0;
    display: inline;
}

.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin-bottom: 1rem;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin-top: .5rem;
}

.editor-content h1 {
    font-size: calc(var(--heading_h1_fontsize));
}

.editor-content h2 {
    font-size: calc(var(--heading_h1_fontsize) - 2px);
}

.editor-content h3 {
    font-size: calc(var(--heading_h1_fontsize) - 4px);
}

.editor-content h4 {
    font-size: calc(var(--heading_h1_fontsize) - 5px);
}

.editor-content h5 {
    font-size: calc(var(--heading_h1_fontsize) - 6px);
}

.editor-content h6 {
    font-size: calc(var(--heading_h1_fontsize) - 7px);
}

.editor-content ul,
.editor-content ol {
    margin-block: 1.5rem;
}

.editor-content ul li,
.editor-content ol li {
    margin-block: .5rem;
    font-size: 1rem;
}

.editor-content ul li:before {
    content: "";
    background: var(--color2);
    margin-left: 0.5rem;
    display: inline-flex;
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.editor-content .wp-caption-text {
    text-align: center;
}

.editor-content .wp-caption {
    width: auto !important;
}

.editor-content a {
    color: var(--color1);
}

.editor-content a:hover {
    color: var(--color2);
}

.editor-content > :first-child {
    margin-top: unset;
}

.editor-content p:last-child {
    margin-bottom: unset;
}


.editor-content p {
    text-align: justify;
    font-size: 1rem;
    line-height: 2.5;
    color: var(--color3);
    margin-bottom: 1rem;
}

.editor-content blockquote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 414px;
    background-color: var(--color1);
}

.editor-content blockquote::after {
    background-image: url(../img/quote.webp);
    content: '';
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 200px;
    height: 76px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}

.editor-content blockquote {
    background-color: #fff;
    position: relative;
    margin-block: 5rem 3rem;
    display: table;
    border: 1px solid #F2F2F2;
    border-radius: 4px;
    padding: 3.5rem 2rem 2rem;
}


.editor-content ol {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.editor-content ol li {
    counter-increment: item;
    position: relative;
    padding-right: 1.25rem;
}

.editor-content ol li:before {
    content: counter(item)". ";
    color: var(--color1);
    font-size: 1rem;
    font-weight: 600;
    height: 100%;
    width: .75rem;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    right: 0;
}

.gallery_item img {
    transition: all 0.3s;
    width: 100%;
    object-fit: cover;
}

.editor-content .wp-video {
    display: block;
    margin: 20px auto;
}

.editor-content table {
    border-collapse: collapse;
    margin: 20px auto;
    overflow-x: auto;
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    max-width: 100%;
    border: 1px solid #dcdcdc;
    border-bottom: 0;
}

.editor-content table tr,
.editor-content table td,
.editor-content table th {
    border: 1px solid #dcdcdc;
    text-align: center;
}

.editor-content table th {
    font-family: var(--bold_font)
}

.editor-content table tr:first-child th,
.editor-content table tr:first-child {
    border-top: none;
    border-right: none;
}

.editor-content table td {
    white-space: nowrap;
    border-bottom: none;
    color: #000;
    padding: 10px 15px;
    font-size: inherit;
}

/* width */
.editor-content table::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}

/* Track */
.editor-content table::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px grey;
}

/* Handle */
.editor-content table::-webkit-scrollbar-thumb {
    background: var(--color1);
    border-radius: 10px;
}

/* Handle on hover */
.editor-content table::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}

.swiper.sw--gallery {
    margin-block: 2rem;
}

@media (max-width:991.98px) {
    .editor-content p {
        font-size: 14px;
    }

    .editor-content h1,
    .editor-content h2,
    .editor-content h3,
    .editor-content h4,
    .editor-content h5,
    .editor-content h6 {
        margin-top: .25rem;
    }

    .editor-content h2,
    .editor-content h3,
    .editor-content h4,
    .editor-content h5,
    .editor-content h6,
    .editor-content p {
        margin-bottom: .5rem;
    }

    .editor-content .alignright img,
    .editor-content .alignleft img {
        display: block;
        margin-inline: auto;
    }

    .editor-content .alignright,
    .editor-content .alignleft {
        float: unset;
        margin-block: 1rem;
        margin-inline: auto;
    }

    .swiper.sw--gallery {
        margin-block: 1.5rem 1rem;
    }

    .editor-content ul,
    .editor-content ol {
        margin-block: 1rem;
    }

    .editor-content ul li,
    .editor-content ol li {
        margin-block: .25rem;
        font-size: 14px;
    }

    .editor-content blockquote::before {
        max-width: 80%;
    }

    .editor-content blockquote::after {
        width: 130px;
        background-size: 80px;
    }

    .editor-content blockquote {
        padding: 2rem 1rem 1rem;
        margin-block: 3rem 2rem;
    }

    .editor-content ol li:before {
        align-items: baseline;
    }
}



@media (max-width:575.98px) {
   
    .editor-content input[type=text],
    .editor-content input[type=email],
    .editor-content input[type=number],
    .editor-content input[type=password],
    .editor-content input[type=search],
    .editor-content input[type=tel],
    .editor-content input[type=url],
    .editor-content textarea,
    .editor-content select,
    .comment-form input,
    .comment-form textarea {
        padding: .75rem !important;
        height: 52px;
    }
}