html, body { 
	height: 100%; 
	}

.hover-underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.hover-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.hover-underline:hover::after,
.hover-underline.active::after
 {
    transform: scaleX(1);
	
}
.zoom {
		transition: transform 0.3s ease;
	}
	.zoom:hover {
		transform: scale(1.05);
	}

body {
    background: #fff !important;
    color: #111;
    font-size: 14px;
    font-weight: normal;
    font-family: sans-serif;
}
.menu-publ a.active{
	color: #3e0530 !important;
}

a, input, button, tr {
	transition : all 0.15s ease;
}


a:hover {
    /*
    color : #cb6e1a;
    color : #59093f;
    color : #990000;
    */
    color : #59093f;
    text-decoration : none;
}
.wp-block-template-part {
	
	background: #830F56;
	border-bottom: solid #efefef;
}
.wp-block-group{
	padding-right:var(--wp--preset--spacing--30);padding-left:var(--wp--preset--spacing--30);
}
.wp-block-site-logo{

	padding-right:var(--wp--preset--spacing--30);
	padding-left:var(--wp--preset--spacing--80);
	margin-top:var(--wp--preset--spacing--50);
	margin-bottom:var(--wp--preset--spacing--50);
}
.menu-publ{
	background: #efefef; 
	border-radius:10px; 
	margin-top:var(--wp--preset--spacing--40);
	margin-bottom:var(--wp--preset--spacing--20);
	padding:var(--wp--preset--spacing--20);
	box-shadow:var(--wp--preset--shadow--natural)
}
.menu-publ p {
	margin-left:var(--wp--preset--spacing--20);
}
.is-layout-flex {
	margin-right:var(--wp--preset--spacing--80);
}
.kt-svg-icons .kb-svg-icon-wrap svg {
    width: 100%;
    height: auto;
    max-width: 26px; /* Задайте максимален размер на иконката според нуждите ви */
    display: inline-block;
	
}
.wp-block-kadence-icon .kb-svg-icon-wrap svg:hover,
.kt-svg-icons .kb-svg-icon-wrap svg:hover {
    background-color: #efefef !important;
}

.the-header {
    color: #eee;
    background: #502B48 url(header-wrapper.jpg) 50% 50%;
    padding: 8px;
    height: 60px;
    overflow: hidden;
}

.the-logo img {
    float: left;
    width: 300px;
}

.the-menu {
    float: right;
    border: 1px solid #1E0E1B;
    overflow: hidden;
    height: 28px;
    border-radius: 4px;
    box-shadow: inset 1px 1px 8px #1E031A;
}

.the-menu a {
    background: rgba(0, 0, 0, .4);
    background: rgb(50, 0, 43);
    line-height: 28px;
    vertical-align: middle;
    display:block;
    float: left;
    border-right: 1px solid #1E0E1B;
    padding: 0 8px;
    color: #eee;
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
}

.the-menu a:last-child {
    border-right: 0;
}

.the-menu a:hover {
    text-decoration: underline;
    color: #eee; /* because IE6 */
}

.the-menu a.current {
    background: #fff;
    color: #33002B;
    text-shadow: 0 0 22px #502B48;
}

.the-menu a.current:hover {
    color: #33002B; /* because IE6 */
}

.publ-container{
	width: 100%;
	top: 0 !important;
	margin: 0 auto;
	padding: 0 auto;
}

.the-printer {
    float: right;
}

.the-printer img { width: 22px; height: 22px; margin: 4px 12px 0 12px; }


.publ-container table {
    border-collapse : collapse;
	cursor: default;
	width: 95% !important;
	margin:0 auto;
	padding: 0 auto;

}

.inline {
    display: inline;
	width:20%;
	margin-left: 2.5%;
	border: dashed;
   
}

.publ-container table caption {
    font-size: 16px;
    text-align: left;
    font-weight: bolder;
    padding: 8px;
	color: #333;
}

.publ-container table tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

.publ-container table th {
    color : #fff;
    text-shadow : 1px 1px 0 #000;
    vertical-align : middle;
	background-color: #830f56 ; /* Fallback */
	background-image: -ms-linear-gradient(top, #830f56 , #3e0530); /* IE10 */
	background-image: -moz-linear-gradient(top, #830f56 , #3e0530); /* Firefox */
	background-image: -o-linear-gradient(top, #830f56 , #3e0530); /* Opera */
	background-image: -webkit-gradient(linear, left top, left bottom, from(#830f56 ), to(#3e0530)); /* old Webkit */
	background-image: -webkit-linear-gradient(top, #830f56 , #3e0530); /* new Webkit */
	background-image: linear-gradient(top, #830f56 , #3e0530); /* proposed W3C Markup */
}

.publ-container table th a {
}

.publ-container table td {
	color: #666;
	vertical-align: top;
}
.publ-container table td, .publ-container table th {
	padding: 8px;
    border : 1px solid #ddd;
}

.publ-container table tr:nth-child(odd) td {
    background : #f9f9f9;
}

.publ-container table tr:hover td {
    background: #e3cedb  ;
}

.publ-container table tr.marked td {
	background: #D6DDE5;
}

input, select, textarea {
    border: 1px solid #ccc;
    padding: 4px;
    border-radius: 12px;
    color: #222;
    text-shadow: 1px 1px 0 #fff;
	background-color: #f1f1f1; /* Fallback */
	background-image: -ms-linear-gradient(bottom, #f9f9f9, #ececec); /* IE10 */
	background-image: -moz-linear-gradient(bottom, #f9f9f9, #ececec); /* Firefox */
	background-image: -o-linear-gradient(bottom, #f9f9f9, #ececec); /* Opera */
	background-image: -webkit-gradient(bottom, left top, left bottom, from(#f9f9f9), to(#ececec)); /* old Webkit */
	background-image: -webkit-linear-gradient(bottom, #f9f9f9, #ececec); /* new Webkit */
	background-image: linear-gradient(bottom, #f9f9f9, #ececec); /* proposed W3C Markup */
}

select, button {
    cursor: pointer;
}

button {
    display: inline-block;
    padding: 5px 33px;
    border-radius: 3px;
    border-width: 1px;
    border-style: solid;
    text-decoration: none;
    font-size: 12px;
    color: #fff;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.09);
    border-color: #9A9A9A;
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #EBEBEB), color-stop(0.5, #ECECEC), color-stop(0.5, #F3F3F3), color-stop(1, white) );
    background-image: -moz-linear-gradient( center bottom, #EBEBEB 0%, #ECECEC 50%, #F3F3F3 50%, white 100% );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1), 0 1px 0 rgba(0, 0, 0, 0.09);
}

button:hover {
    border-top-color: #5A5CAF;
    border-bottom-color: #52536F;
    border-left-color: #56578F;
    border-right-color: #56578F;
    background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0, #D3F7FD), color-stop(0.5, #87C5FB), color-stop(0.5, #A1D1F9), color-stop(1, #D4E9FC) );
    background-image: -moz-linear-gradient( center bottom, #D3F7FD 0%, #87C5FB 50%, #A1D1F9 50%, #D4E9FC 100% );
}

input:focus, select:focus, textarea:focus {
	box-shadow: 0 0 4px #4E7CB1;
}

option.current { font-weight: bolder; background: #D6DDE5; }
.search-container{
	background: red;
	width: 100%;
	background: #3e0530;
	border-bottom: solid #3e0530;

}
.inner-content {
    margin: 0 auto;
	padding: 0 auto;
    text-shadow: 1px 1px 0 #fff;
	background-color: #efefef;
	color:  #333;
	width: 95%;
	border-radius:10px;
	box-shadow: 0 0 clamp(5px, 0.5vw, 12px) #efefef;
}
.form-one-line{
	display: flex; 
	flex-wrap: wrap; 
	gap: 20px; 
	align-items: top center; 
	margin-bottom: 1em;

}
.inner-content form{
	padding: 10px;
	
}
.inner-content p { margin: 3px 0; }
.inner-content h5 {
	padding: 8px;
	text-shadow: none !important;
}
.inner-content h5 a{
	color: #333;
	font-weight: 600;
}

.inner-content h5 a:hover{
	color: #830f56;
}


.pager a.public-profile-link {
    float: right;
    display: block;
    background: #aaa;
    padding: 4px;
    border-radius: 4px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.pager a:hover.public-profile-link  {
    background: #90A5BD !important;
}

.pager {
	background: #3e0530;
	background: -moz-linear-gradient(top, #3e0530 0%, #830f56 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3e0530), color-stop(100%, #830f56));
    overflow: hidden;
    padding: 8px;
    clear: both;
	
	margin: 0 auto;
	padding: 0 auto;
	top: 0;
}
.pager .inner-content{
	text-shadow: 1px 1px 0 #000;
	color: #fff;
}

.left { float: left; color: #fff;}
.right,
.right a { float: right; color: #fff;}
.right a:hover {
	text-decoration: underline;
}
.clearfix { overflow: hidden; clear: both; }
.messagebox { border: 2px solid #fa92ae; background: #fee9ef; color: #5e041d; text-shadow: 1px 1px 0 #fff; font-weight: bolder; font-size: 16px; text-align: center; padding: 8px; margin: 8px; }
.highlight { text-shadow: 0 0 8px #50ab00; color: #111; }

ul li { margin-bottom: 8px; }
.pagination-controls {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 180px; /* Осигурява място за трите елемента */
}

/* Изравняване на линковете в двата края */
.pagination-controls .prev {
    text-align: left;
}

.pagination-controls .next {
    text-align: right;
}

/* Центриране на падащото меню */
.pagination-controls .page-select {
    margin: 0 auto;
}

@media (max-width: 768px) {
    .kt-svg-icons .kb-svg-icon-wrap svg {
        max-width: 16px;
    }
}
@media print {
    /* 1. Премахва показването на URL адресите (скобите с кодовете) след линковете */
    a[href]::after {
        content: "" !important;
    }


	.pagination-controls,
    .wp-block-template-part,
    .overlay,
    .ta_upscr,
    .search-container,
    .pager select{
        display: none !important;
    }

    /* 3. Гарантира, че .inner-content и линковете в него (хлябните трохи) са 100% видими */
    .inner-content,
    .inner-content h5,
    .inner-content h5 a {
        display: inline-block !important;
        visibility: visible !important;
        text-decoration: none !important;
        color: #000 !important;
    }
}
