.editor-content .select2-container--default .select2-selection--single,
.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 #fafafa;
    background: #fafafa;
    padding: 10px 20px !important;
    border-radius: 14px;
    height: 64px;
    display: block;
    box-sizing: border-box;
    font-family: inherit;
    width: 100%;
    transition: 0.3s;
    margin-bottom: 20px;
    font-size: 14px;
}

.editor-content input::placeholder,
.editor-content textarea::placeholder {
    color: 919191;
}

.editor-content input[type=url]:focus,
.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 textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color1);
    background-color: #E9322A1A !important;
}

.editor-content .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 11px;
    left: 11px !important;
    width: 20px;
}

.editor-content textarea,
.comment-form textarea {
    min-height: 260px;
}

.editor-content {
    line-height: 35px;
}

.editor-content img {
    border-radius: 3px;
}

.owl-gallery {
    margin: 25px auto;
    padding: 0 30px;
}

.gallery_item {
    position: relative;
    display: block;
}

.gallery_item a {
    display: block;
    position: relative;
    text-align: center;
    margin: auto;
    border-radius: 8px;
    overflow: hidden;
}

.gallery_item a:after {
    opacity: 0;
    visibility: hidden;
    content: "\e913";
    position: absolute;
    color: #fff;
    top: 50%;
    right: 50%;
    transition: 0.3s;
    z-index: 1;
    font-family: 'icomoon';
    font-size: 40px;
    transform: translate(50%, -50%);
}

.wrap-swiper-gallery {
    margin: 30px 90px;
}

.gallery_item a:before {
    opacity: 0;
    visibility: hidden;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    background-color: #00000033;
    inset: 0;
    margin: auto;
    transition: 0.3s;
    z-index: 1;
}

.sw-navigation.sw-gallery {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
    gap: 10px;
}

.gallery_item a:hover:after,
.gallery_item:hover a:after,
.gallery_item:hover a:before {
    opacity: 1;
    visibility: visible;
    transition: 0.3s;
}

.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: 20px;
}

.editor-content.main-content h1,
.editor-content.main-content h2,
.editor-content.main-content h3,
.editor-content.main-content h4,
.editor-content.main-content h5,
.editor-content.main-content h6 {
    margin-top: 25px;
    color: #414042;
}

.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-bottom: 10px;
}

.editor-content ul li {
    margin: 10px 0;
    font-size: 16px;
}

.editor-content.main-content p {
    margin-bottom: 10px;
}

.editor-content.main-content ul li:before {
    content: "";
    background: var(--color1);
    margin-right: 12px;
    display: inline-flex;
    height: 8px;
    width: 8px;
    border-radius: 50%;
}

.editor-content.main-content ul li:after {
    content: none !important;
}

.editor-content.main-content .wp-caption-text {
    text-align: center;
}

.editor-content.main-content .wp-caption {
    width: auto !important;
}

.editor-content.main-content a {
    color: var(--color1);
}


.editor-content.main-content a:hover {
    color: var(--color2);
}

.editor-content.main-content > p > a:hover {
    color: #d53343;
}

.editor-content p {
    color: rgba(65, 64, 66, 1);
    text-align: justify;
    font-size: 16px;
}

.editor-content blockquote {
    border-radius: 14px;
    padding: 90px 60px 50px;
    background-color: #3E3E40;
    position: relative;
    margin: 30px 0;
    display: block;
    overflow: hidden;
    -webkit-overflow-scrolling: hidden;
}

.editor-content blockquote:before {
    font-family: 'icomoon';
    content: "\e916";
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%) translateY(190%);
    font-size: 450px;
    color: #2C2C2E;
    height: 100%;
}

.editor-content blockquote p:after {
    font-family: 'icomoon';
    content: "\e905";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%);
    font-size: 60px;
    color: var(--color1);
}

.editor-content blockquote:after {
    font-family: 'icomoon';
    content: "";
    position: absolute;
    height: 4px;
    width: 40%;
    border-radius: 0 0 4px 4px;
    top: 5px;
    background: #fff;
    right: 50%;
    transform: translateX(50%);
}

.editor-content blockquote p {
    color: #fff;
    font-size: 14px;
    position: relative;
    padding: 17px 0;
    margin-bottom: 0 !important;
}

.editor-content ol {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.editor-content ol li {
    counter-increment: item;
    position: relative;
    padding-left: 35px;
    margin: 10px 0;
    font-size: 16px;
}

.editor-content ol li:before {
    content: counter(item)" ";
    color: var(--color1);
    font-size: 20px;
    height: 100%;
    width: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: center;
    align-items: flex-start;
    justify-content: center;
    position: absolute;
    left: 0;
}

.editor-content ol li:after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color1);
    top: 20px;
    left: 16px;
}

.editor-content.main-content strong {
    font-family: var(--bold_font);
}

.editor-content.main-content em {
    font-style: italic;
}

.gallery_item img {
    transition: all 0.3s;
    width: 100%;
}

.editor-content .wp-video {
    display: block;
    margin: 20px auto;
}

.owl-carousel.owl-gallery .owl-item img {
    object-fit: contain;
}

.owl-carousel.owl-gallery .owl-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 30px;
    font-size: 30px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    right: -15px;
    left: -15px;
    z-index: -1;
}

.owl-carousel.owl-gallery .owl-nav button i {
    display: inline-block;
    font-size: 18px;
    padding: 10px;
}

.owl-carousel.owl-gallery .owl-nav button i:before {
    color: #c9c9c9;
    transition: 0.3s ease-in;
}

.owl-carousel.owl-gallery .owl-nav button:hover i:before {
    color: var(--color1);
}

.editor-content.main-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.main-content table tr,
.editor-content.main-content table td,
.editor-content.main-content table th {
    border: 1px solid #dcdcdc;
    text-align: center;
}

.editor-content.main-content table th {
    font-family: var(--bold_font)
}

.editor-content.main-content table tr:first-child th,
.editor-content.main-content table tr:first-child {
    border-top: none;
    border-right: none;
}

.editor-content.main-content table td {
    white-space: nowrap;
    border-bottom: none;
    color: #000;
    padding: 10px 15px;
    font-size: inherit;
}

/* width */
.editor-content.main-content table::-webkit-scrollbar {
    width: 5px;
    height: 8px;
}

/* Track */
.editor-content.main-content table::-webkit-scrollbar-track {
    box-shadow: inset 0 0 3px grey;
}

/* Handle */
.editor-content.main-content table::-webkit-scrollbar-thumb {
    background: var(--color1);
    border-radius: 10px;
}

/* Handle on hover */
.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}

@media screen and (max-width: 992px) {
    .wrap-swiper-gallery {
        margin: 30px 0;
    }

    .editor-content blockquote {
        border-radius: 14px;
        padding: 80px 30px 50px;
    }

    .editor-content blockquote:before {
        left: 50%;
        transform: translateX(-50%) translateY(145%);
        font-size: 325px;
    }

    .editor-content blockquote p:after {
        font-size: 50px;
    }
}

@media screen and (max-width: 767.98px) {

    .editor-content .alignright,
    .editor-content .alignleft {
        float: unset;
        margin-inline: auto;
        display: block;
    }
}

@media screen and (max-width: 576px) {
    .editor-content blockquote:before {
        transform: translateX(-50%) translateY(140%);
        font-size: 325px;
    }

    .editor-content .select2-container--default .select2-selection--single,
    .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 textarea,
    .editor-content select,
    .comment-form input,
    .comment-form textarea {
        margin-bottom: 8px;
    }

    .editor-content.main-content ul li:before {
        margin-right: 8px;
    }

    .editor-content ol li {
        padding-left: 28px;
    }
}