/* new style */
.site-content .page-title {
    margin-bottom: 0 !important;
}

.tax-citadela-item-category .entry-title {
    margin-left: 70px;
}

.entry-subtitle .ctdl-subtitle {
    margin-bottom: 0;
}

.donate {
    display: flex;
    justify-content: center;
    align-items: center;
    order: 2;
    min-width: 200px;
    flex-basis: 200px;
}

.donate-link {
    display: inline-flex;
    margin: 0 1rem;
    padding: 5px 10px !important;
    border-radius: 18px;
    background: orange;
    color: #ffffff !important;
    position: relative;
    overflow: hidden;
    height: max-content;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
}

.donate-link:hover {
    text-decoration: none;
}

.donate-link:after {
    -webkit-animation: gloss 3s ease-out 0s infinite;
    animation: gloss 3s ease-out 0s infinite;
    background: #fff;
    content: "";
    height: 155px;
    left: -75px;
    opacity: .5;
    position: absolute;
    top: -50px;
    -webkit-transform: rotate(35deg);
    -ms-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
    width: 50px;
    z-index: 1;
}

@-webkit-keyframes gloss {
    0% {
        left: -75px;
    }

    15%,
    to {
        left: 120%;
    }
}

@keyframes gloss {
    0% {
        left: -75px;
    }

    15%,
    to {
        left: 120%;
    }
}

.main-navigation .citadela-menu-main-menu {
    display: flex !important;
    justify-content: center;
}

.main-navigation .citadela-menu-container > ul > li > a {
    padding: 5px 10px !important;
}

.main-navigation .citadela-menu-container > ul > li.menu-item-has-children > a {
    padding: 5px 20px 5px 10px !important;
}

body:not(.responsive-menu) .main-navigation .citadela-menu-container > ul > li.menu-item-has-children:not(.menu-item-wrapper) > .submenu-arrow {
    padding-right: 5px;
    text-align: right !important;
}


.wp-block-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.wp-block-table table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

.wp-block-table .has-fixed-layout {
    table-layout: auto;
    width: 100%;
}

.wp-block-table table td,
.wp-block-table table th {
    word-break: normal;
    white-space: nowrap;
}


/* плитка тегов */
.wrap_all_tags_link {
    display: flex;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding-top: 25px;
}

.loading_wrap_tags {
    height: 48px;
    width: 80%;
    overflow: hidden;
    position: relative;
    padding: 0 30px;
}

.loading_wrap_tags.active {
    height: auto;
}

a.show_more_tags {
    margin-left: auto;
    font-size: 14px;
    color: #0054a4;
    text-decoration: underline;
    cursor: pointer;
}

.loading_wrap_tags a {
    display: inline-block !important;
    padding: 7px 15px;
    background: #fff;
    border: 1px solid #006363;
    text-align: center;
    margin: 5px 4px;
    border-radius: 5px;
    word-break: keep-all;
    color: #006363;

    font-weight: bold;
    font-size: 90%;
}

.loading_wrap_tags a:visited {
    color: #006363;
}

.loading_wrap_tags a:hover {
    background: #006363;
    color: #fff;
    cursor: pointer;
    text-decoration: none;

}

button.slick-prev.slick-arrow {
    position: absolute;
    font-size: 0;
    width: 35px;
    height: 35px;
    background: #fff;
    border-radius: 50px;
    border: 0;
    box-shadow: 0 2px 6px 0 hsl(0deg 0% 0%/18%);
    top: 50%;
    transform: translateY(-63%);
    z-index: 9;
    cursor: pointer;
    left: 4px
}

button.slick-prev.slick-arrow:before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f104";
    font-size: 23px
}

button.slick-next.slick-arrow {
    position: absolute;
    font-size: 0;
    width: 35px;
    height: 35px;
    right: 0;
    background: #fff;
    border-radius: 50px;
    border: 0;
    box-shadow: 0 2px 6px 0 hsl(0deg 0% 0%/18%);
    top: 50%;
    transform: translateY(-63%);
    z-index: 9;
    cursor: pointer;
    right: 4px
}

button.slick-next.slick-arrow:before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f105";
    font-size: 23px
}

.loading_wrap_tags.active_slide {
    display: flex;
    flex-wrap: wrap;
    height: auto;
    padding: 0;
}

/* Category Links */
.category-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.category-link {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    border: 1px solid #0054a4;
    text-align: center;
    border-radius: 5px;
    color: #0054a4;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #0054a4;
    color: #fff;
    text-decoration: none;
}

.wrap_loading_buttons noindex {
    margin-top: 1rem;
}

.wrap_loading_buttons noindex > div {
    display: inline;
}

.wrap_loading_buttons noindex a {
    width: auto !important;
}

.ctdl-directory-search-results .item-content .item-data.categories .value {
    font-size: 11px !important;
    padding: .35em 8px !important;
}

/* Buttons under featured image */
.ctdl-item-featured-image .wrap_loading_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    justify-content: center;
}

.ctdl-item-featured-image .wrap_loading_buttons .item-data {
    flex: 1;
    min-width: 200px;
    border: none;
    padding: 0;
}

.ctdl-item-featured-image .wrap_loading_buttons .item-data .values {
    display: block;
    text-align: center;
}

.ctdl-item-featured-image .wrap_loading_buttons .item-data .value {
    display: block;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #0054a4;
    border-radius: 5px;
    color: #0054a4;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ctdl-item-featured-image .wrap_loading_buttons .item-data .value:hover {
    background: #0054a4;
    color: #fff;
}

/* Стилі для кнопок в правій колонці */
.wrap_loading_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.wrap_loading_buttons .item-data {
    flex: 1 1 auto;
    min-width: 150px;
}

.wrap_loading_buttons .item-data .value {
    display: block;
    width: 100%;
    padding: 5px 15px !important;
    text-align: center;
    background: #fff;
    /*border: 2px solid #0054a4;*/
    /*border-radius: 5px;*/
    color: #0054a4;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wrap_loading_buttons .item-data .value:hover {
    background: #0054a4;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .wrap_loading_buttons {
        flex-direction: column;
    }

    .wrap_loading_buttons .item-data {
        width: 100%;
    }
}


.loading_buttons a {
    display: inline-block;
    padding: 5px;
    background: #006363;
    border: 2px solid transparent;
    margin-bottom: 30px;
    text-align: center;
    /*text-transform: capitalize;*/
    border-radius: 10px;
    color: #ffffff !important;
    min-width: 300px;
    font-size: 21px;
    min-height: 48px;
    font-family: 'Open Sans', sans-serif
}

.loading_buttons a:hover,
.loading_buttons a:focus {
    background: #ffffff;
    color: #006363 !important;
    border: 2px solid #006363;
    text-decoration: none
}


.head_buttons {
    display: flex;
    gap: 20px;
}

.head_buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    padding: 5px 10px;
    background: #006363;
    border: 2px solid transparent;
    margin-bottom: 30px;
    text-align: center;
    /*text-transform: capitalize;*/
    border-radius: 10px;
    color: #ffffff !important;
    min-width: 300px;
    font-size: 21px;
    min-height: 48px;
    font-family: 'Open Sans', sans-serif;
    width: calc(50% - 10px);
}

.head_buttons a:hover {
    text-decoration: none;
}

.ctdl-directory-items-list.layout-box .item-content .item-body {
    padding: 0 20px !important;
}


.site-content .page-title {
    padding-top: 1em !important;
}

.site-content {
    padding-bottom: 0 !important;
}

.page-title.standard > header {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title.standard > header h1.entry-title {
    /*padding-left: 60px;*/
}

.page-title.standard > header h1.entry-title > span.main-text {
    display: none;
}

.slick-dots {
    display: none !important;
}


.wrap_all_tags_link {
    flex-wrap: wrap;
    padding: 0 20px;
}

.site-content .wrap_all_tags_link {
    padding: 0;
}

.loading_wrap_tags {
    width: 100%;
    height: 50px;
}

.scroll-top {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 44px;
    height: 44px;
    opacity: 0;
    z-index: -1;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition: opacity 400ms ease;
    transition: opacity 400ms ease;
}

.scroll-top {
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.5);
}

.scroll-top:before {
    display: block;
    width: 44px;
    height: 44px;
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='44px' height='44px' viewBox='0 0 44 44' enable-background='new 0 0 44 44' xml:space='preserve'%3E%3Cpath fill='white' d='M29.121,19.55l-6.29-6.196c-0.025-0.025-0.053-0.049-0.082-0.071c-0.012-0.011-0.024-0.02-0.038-0.03c-0.016-0.011-0.031-0.024-0.048-0.034c-0.017-0.011-0.032-0.02-0.048-0.03c-0.015-0.009-0.029-0.018-0.044-0.025c-0.017-0.009-0.034-0.017-0.051-0.024c-0.016-0.008-0.031-0.015-0.047-0.022c-0.016-0.006-0.033-0.012-0.049-0.018c-0.018-0.005-0.035-0.014-0.053-0.019c-0.017-0.005-0.034-0.008-0.05-0.013c-0.018-0.005-0.036-0.009-0.054-0.013c-0.02-0.003-0.039-0.006-0.059-0.008c-0.016-0.003-0.032-0.005-0.049-0.007c-0.073-0.007-0.146-0.007-0.218,0c-0.017,0.002-0.033,0.005-0.05,0.008c-0.02,0.002-0.038,0.005-0.058,0.009c-0.019,0.003-0.037,0.009-0.055,0.013c-0.016,0.005-0.033,0.008-0.05,0.013c-0.017,0.005-0.035,0.012-0.052,0.018c-0.017,0.006-0.033,0.012-0.049,0.019c-0.017,0.006-0.032,0.014-0.048,0.021c-0.017,0.008-0.034,0.016-0.051,0.024c-0.015,0.008-0.029,0.018-0.044,0.026c-0.015,0.008-0.031,0.018-0.048,0.029c-0.016,0.01-0.031,0.022-0.047,0.034c-0.014,0.01-0.027,0.019-0.04,0.028c-0.042,0.035-0.08,0.073-0.117,0.113c-0.013,0.011-0.026,0.021-0.037,0.033l-6.313,6.219c-0.433,0.428-0.434,1.12-0.003,1.544c0.432,0.426,1.131,0.424,1.564-0.002l4.495-4.426l-0.023,14.11c-0.001,0.603,0.493,1.092,1.104,1.09s1.107-0.49,1.109-1.095l0.023-14.108l4.403,4.334c0.432,0.426,1.133,0.424,1.565-0.003S29.553,19.975,29.121,19.55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
}

.scroll-top,
.scroll-top.on {
    right: auto;
    left: 10px;
}

.scroll-top.on {
    right: 10px;
    opacity: 1;
    z-index: 109;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


/* callback killer */

.callbackkiller .callback-bt {
    -webkit-animation: hoverWave 1s linear infinite;
    animation: hoverWave 1s linear infinite;
    background-color: #ff2241;
    border: 2px solid #ff2241;
    border-radius: 50%;
    bottom: 3%;
    box-shadow: 0 8px 10px rgba(165, 70, 75, .3);
    cursor: pointer;
    height: 68px;
    position: fixed;
    right: 1%;
    text-align: center;
    transition: .3s;
    width: 68px;
    z-index: 999
}

.callbackkiller .callback-bt .text-call {
    border-radius: 50%;
    height: 68px;
    overflow: hidden;
    position: relative;
    width: 68px
}

.callbackkiller .callback-bt .text-call span {
    color: #fff;
    font-family: montserrat, Arial, Helvetica, sans-serif;
    font-size: 0;
    font-weight: 600;
    line-height: 14px;
    opacity: 0;
    position: absolute;
    right: 10px;
    text-align: center;
    text-transform: uppercase;
    top: 22px;
    transition: opacity .3s linear
}

.callbackkiller .callback-bt .text-call:hover span {
    font-size: 11px;
    opacity: 1
}

.callbackkiller .callback-bt:hover i {
    display: none
}

.callbackkiller .callback-bt:hover {
    background: #ff2241;
    color: transparent;
    transition: .3s;
    z-index: 1
}

.callbackkiller .callback-bt:hover i {
    color: #38a3fd;
    font-size: 40px;
    transition: .3s
}

.callbackkiller .callback-bt i {
    animation: zur 3.2s ease 0s 1 normal none running;
    animation-iteration-count: infinite;
    -webkit-animation: zur 3.2s ease 0s 1 normal none running;
    -webkit-animation-iteration-count: infinite;
    color: #fff;
    font-size: 34px;
    line-height: 66px;
    transition: .3s;
    transition: .5s ease-in-out;
    transform: rotate(180deg);
}

@-webkit-keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 0 rgba(253, 56, 56, .2), 0 0 0 0 rgba(253, 56, 56, .2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 15px rgba(253, 56, 56, .2), 0 0 0 0 rgba(253, 56, 56, .2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 30px rgba(253, 56, 56, 0), 0 0 0 26.7px rgba(253, 56, 56, .067)
    }

    to {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 30px rgba(253, 56, 56, 0), 0 0 0 40px rgba(253, 56, 56, 0)
    }
}

@keyframes hoverWave {
    0% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 0 rgba(253, 56, 56, .2), 0 0 0 0 rgba(253, 56, 56, .2)
    }

    40% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 15px rgba(253, 56, 56, .2), 0 0 0 0 rgba(253, 56, 56, .2)
    }

    80% {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 30px rgba(253, 56, 56, 0), 0 0 0 26.7px rgba(253, 56, 56, .067)
    }

    to {
        box-shadow: 0 8px 10px rgba(253, 56, 56, .3), 0 0 0 30px rgba(253, 56, 56, 0), 0 0 0 40px rgba(253, 56, 56, 0)
    }
}

@keyframes zur {
    0% {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg)
    }

    10% {
        transform: rotate(-30deg);
        -ms-transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg)
    }

    20% {
        transform: rotate(15deg);
        -ms-transform: rotate(15deg);
        -webkit-transform: rotate(15deg)
    }

    30% {
        transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg)
    }

    40% {
        transform: rotate(7.5deg);
        -ms-transform: rotate(7.5deg);
        -webkit-transform: rotate(7.5deg)
    }

    50% {
        transform: rotate(-6deg);
        -ms-transform: rotate(-6deg);
        -webkit-transform: rotate(-6deg)
    }

    60% {
        transform: rotate(5deg);
        -ms-transform: rotate(5deg);
        -webkit-transform: rotate(5deg)
    }

    70% {
        transform: rotate(-4.28571deg);
        -ms-transform: rotate(-4.28571deg);
        -webkit-transform: rotate(-4.28571deg)
    }

    80% {
        transform: rotate(3.75deg);
        -ms-transform: rotate(3.75deg);
        -webkit-transform: rotate(3.75deg)
    }

    90% {
        transform: rotate(-3.33333deg);
        -ms-transform: rotate(-3.33333deg);
        -webkit-transform: rotate(-3.33333deg)
    }

    to {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg)
    }
}

@-webkit-keyframes zur {
    0% {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg)
    }

    10% {
        transform: rotate(-30deg);
        -ms-transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg)
    }

    20% {
        transform: rotate(15deg);
        -ms-transform: rotate(15deg);
        -webkit-transform: rotate(15deg)
    }

    30% {
        transform: rotate(-10deg);
        -ms-transform: rotate(-10deg);
        -webkit-transform: rotate(-10deg)
    }

    40% {
        transform: rotate(7.5deg);
        -ms-transform: rotate(7.5deg);
        -webkit-transform: rotate(7.5deg)
    }

    50% {
        transform: rotate(-6deg);
        -ms-transform: rotate(-6deg);
        -webkit-transform: rotate(-6deg)
    }

    60% {
        transform: rotate(5deg);
        -ms-transform: rotate(5deg);
        -webkit-transform: rotate(5deg)
    }

    70% {
        transform: rotate(-4.28571deg);
        -ms-transform: rotate(-4.28571deg);
        -webkit-transform: rotate(-4.28571deg)
    }

    80% {
        transform: rotate(3.75deg);
        -ms-transform: rotate(3.75deg);
        -webkit-transform: rotate(3.75deg)
    }

    90% {
        transform: rotate(-3.33333deg);
        -ms-transform: rotate(-3.33333deg);
        -webkit-transform: rotate(-3.33333deg)
    }

    to {
        transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -webkit-transform: rotate(0deg)
    }
}

.footer-widgets-area .widget a {
    color: #ffffff !important;
}

.tax-citadela-item-category .site-content .page-title.standard .entry-header-wrap {
	display: flex;
    align-items: center;
}

.tax-citadela-item-category .site-content .page-title.standard .entry-icon {
	position: relative !important;
	margin-right: 10px;
}


@media (max-width: 767px) {
    .no-page-title.no-header-space .site-content {
        padding-top: 48px !important;
    }

    .site-header .grid-main {
        position: fixed !important;
        top: 0;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        background: #006363 !important;
    }

    .loading_buttons a {
        display: block;
    }

    .head_buttons {
        flex-direction: column;
    }

    .head_buttons a {
        width: auto;
    }

    .page-title.standard > header h1.entry-title {
        margin-left: 0;
    }

    .site-header .grid-main {
        display: flex;
        flex-direction: row;
    }

    .text-logo {
        display: none !important;
    }

    .site-branding {
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding: 10px 20px !important;
    }

    .site {
        padding-top: 40px;
    }

    #site-navigation {
        position: relative;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        order: 2;
        width: 106px;
        min-height: 86px;
        transition: none;
    }

    .header-scrolled #site-navigation {
        top: 30px;
    }

    .mobile-screen-width.responsive-menu:not(.header-scrolled) .site-header .main-navigation {
        padding-top: 0 !important;
    }

    .site-footer .footer-widgets-button {
        display: none;
    }

    .site-footer .footer-widgets-area.collapsible-widgets {
        display: block !important;
    }

    .site-footer .footer-widgets-area .widget, .site-footer .footer-widgets-area .tribe-compatibility-container {
        max-width: 100% !important;
    }
}
