.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 {
    padding: 0.5rem 1rem;
    height: 3rem;
    display: block;
    box-sizing: border-box;
    font-family: var(--main);
    width: 100%;
    transition: 0.4s ease;
    text-align: right;
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}
.editor-content.acf-error input[type="text"],
.editor-content.acf-error input[type="email"] {
    border: 1px solid var(--danger);
    background: #E9322A1A;
}
.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 textarea::placeholder,
.comment-form input::placeholder,
.comment-form textarea::placeholder {
    color: var(--black);
    font-size: 0.75rem;
}
.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(--color2);
}
.editor-content textarea,
.comment-form textarea {
    min-height: 10rem;
    padding-top: 1rem;
}
.editor-content img {
    border-radius: 0.5rem;
    width: 100%;
    transition: 0.4s;
}
.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;
    color: var(--black);
    font-family: var(--title);
}
.editor-content h2,
.editor-content h3,
.editor-content h4,
.editor-content h5,
.editor-content h6 {
    margin-block: 1rem;
}
.editor-content em {
    font-style: italic;
}
.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) - 6px);
}
.editor-content h5 {
    font-size: calc(var(--heading_h1_fontsize) - 8px);
}
.editor-content h6 {
    font-size: calc(var(--heading_h1_fontsize) - 10px);
}
.editor-content ul,
.editor-content ol {
    margin-bottom: 0.75rem;
    gap: 0.75rem;
    display: flex;
    flex-direction: column;
    list-style: none;
}
.editor-content.main-content ul li:before {
    content: '';
    min-width: 8px;
    margin-left: 8px;
    background: var(--color2);
    transition: 0.4s ease;
    display: inline-flex;
    height: 8px;
    border-radius: 100%;
}
.editor-content.main-content p a {
    transition: 0.35s;
}
.editor-content.main-content p a:hover {
    color: var(--color2);
    transition: 0.35s;
}
.editor-content.main-content p a:before,
.editor-content.main-content p a:after {
    content: "";
    width: 100%;
    border-bottom: 2px solid var(--color2);
    position: absolute;
    bottom: -4px;
    right: 0;
    opacity: 1;
    transform: scale(1, 1);
    transform-origin: left center 0;
}
.editor-content.main-content p a:after {
    opacity: 0;
    transform: scale(0, 1);
    transform-origin: right center 0;
}
.editor-content.main-content p a:hover:before {
    opacity: 0;
    transform: scale(0, 1);
    transition: opacity 0.2s ease-in-out 0.2s, transform 0.2s ease-in-out 0s;
}
.editor-content.main-content p a:hover:after {
    opacity: 1;
    transform: scale(1, 1);
    transition: transform 0.2s ease-in-out 0.25s;
}
.editor-content,
.editor-content p {
    text-align: justify;
    line-height: 2.4;
    width: 100%;
}
.editor-content p {
    margin-bottom: 1rem;
}
.editor-content ol li {
    counter-increment: item;
    position: relative;
    padding-right: 1.8rem;
}
.editor-content ol li:before {
    top: -2px;
    content: counter(item) " ";
    color: var(--color2);
    font-size: 17px;
    height: 100%;
    width: 15px;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: flex-start;
    align-items: flex-start;
    justify-content: flex-start;
    position: absolute;
    right: 0;
}
.editor-content ol li:after {
    top: 17px;
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--color2);
    right: 14px;
}
/****/
/***/
.editor-content.main-content td a {
    color: var(--color2);
}
.editor-content.main-content td a:hover {
    color: var(--color1);
}
.editor-content.main-content table:not(.acf-table) td {
    white-space: nowrap;
    border-bottom: none;
    padding: 0.5rem 1rem;
    font-size: inherit;
    text-align: right;
}
.editor-content.main-content table:not(.acf-table) td p {
    margin: 0 !important;
}
.editor-content.main-content table:not(.acf-table) tr:first-child th,
.editor-content.main-content table:not(.acf-table) tr:first-child {
    border-top: none;
    border-right: none;
    white-space: nowrap;
    padding: 1rem;
    background: var(--color1);
    color: #ffff;
}
.editor-content.main-content table:not(.acf-table) tr:first-child th,
.editor-content.main-content table:not(.acf-table) tr:first-child th span,
.editor-content.main-content table:not(.acf-table) tr:first-child th p,
.editor-content.main-content table:not(.acf-table) tr:first-child td,
.editor-content.main-content table:not(.acf-table) tr:first-child td span,
.editor-content.main-content table:not(.acf-table) tr:first-child td p {
    color: #ffff !important;
}
.editor-content.main-content table:not(.acf-table) :is(tbody, thead) {
    display: table;
    width: 100%;
}
.editor-content.main-content table:not(.acf-table) {
    border-collapse: collapse;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: block;
    width: 100%;
    overflow-x: auto;
    display: block;
    -webkit-overflow-scrolling: auto;
    scrollbar-color: var(--color1) #C2D2E4;
    scrollbar-width: thin !important;
    border-bottom: 0;
    /*background: #f1f2f3;*/
    border-radius: 10px 10px 0 0;
    border: 1px solid #dcdfe1;
}
.editor-content.main-content table tr,
.editor-content.main-content table td,
.editor-content.main-content table th {
    border: 1px solid #dcdfe1;
    text-align: center;
}
.editor-content.main-content table tr th:last-child,
.editor-content.main-content table tr td:last-child,
.editor-content.main-content table tr {
    border-left: none;
}
.editor-content.main-content table tr td:first-child,
.editor-content.main-content table tr {
    border-right: none;
}
.editor-content.main-content table tr:nth-child(2n) {
    background: #f1f2f3;
}
.editor-content.main-content table th {
    font-weight: bold;
}
.editor-content.main-content table td {
    white-space: nowrap;
    border-bottom: none;
    color: #000;
    padding: 10px 15px;
    font-size: inherit;
}
/**owl-gallery**/
.owl-gallery {
    margin: 25px auto;
    padding: 0 30px;
}
.gallery_item {
    position: relative;
    display: block;
}
.lg-outer {
    text-align: right;
}
.swiper-lightgallery {
    width: 100%;
}
.swiper-lightgallery-wrap {
    margin: 40px 0;
    position: relative;
    padding: 0 16px;
}
.lg-thumb {
    margin: auto;
}
.swiper-lightgallery {
    margin-block: 50px;
}
.lightgallery-item img {
    width: 100% !important;
    display: block;
    margin: 0 !important;
    transition: 0.4s;
    border-radius: 20px;
}
.lightgallery-item {
    display: block;
    position: relative;
    text-align: center;
    margin: auto;
    border-radius: 8px;
    overflow: hidden;
}
.lightgallery-item .plus-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    position: absolute;
    inset: 0;
    margin: auto;
    border: 1px solid #fff;
    border-radius: 50%;
    transition: 0.4s all;
    opacity: 0;
    z-index: 2;
    justify-content: center;
}
.lightgallery-item:hover .plus-icon {
    opacity: 1;
}
.lightgallery-item:before {
    opacity: 0;
    visibility: hidden;
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 8px;
    background: #00000066;
    inset: 0;
    margin: auto;
    transition: 0.4s;
    z-index: 1;
}
.lightgallery-item:after {
    opacity: 0;
    visibility: hidden;
    content: "\e92a";
    font-family: 'icomoon';
    position: absolute;
    font-size: 3rem;
    line-height: 1;
    width: 3rem;
    height: 3rem;;
    color: #fff;
    inset: 0;
    margin: auto;
    transition: 0.4s;
    z-index: 1;
}
.lightgallery-item:hover:before {
    width: 100%;
    height: 100%;
    opacity: 1;
    visibility: visible;
}
.lightgallery-item:hover::after {
    opacity: 1;
    visibility: visible;
}
/* width */
.editor-content.main-content table::-webkit-scrollbar {
    height: 4px !important;
    width: 3px !important;
}
/* Track */
.editor-content.main-content table::-webkit-scrollbar-track {
    background: #eae8e4 !important;
    height: 4px !important;
}
/* Handle */
.editor-content.main-content table::-webkit-scrollbar-thumb {
    background: rgb(123, 123, 123) !important;
    height: 4px !important;
}
/* Handle on hover */
.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
    background: var(--color1);
}
.white-content.editor-content.main-content table::-webkit-scrollbar-thumb:hover {
    background: var(--color2);
}
.svg-clip {
    position: absolute;
    z-index: -1;
    width: 0;
    height: 0;
}
@media screen and (min-width: 576px) {
    .editor-content img {
        width: unset;
    }
}
@media screen and (min-width: 992px) {
    .swiper-lightgallery-wrap {
        margin: 50px 0;
    }
}
@media only screen and (max-width: 576px) {
    .editor-content p {
        margin-bottom: 0.5rem;
    }
    .editor-content h2, .editor-content h3, .editor-content h4, .editor-content h5, .editor-content h6 {
        margin-block: 0.5rem;
    }
}
