@import url(https://fonts.googleapis.com/css?family=Comfortaa&amp;display=swap);
html{background-image: url("https://temp.pgt-davinci.com/images/34232432432432432423.png"); background-repeat:no-repeat; background-position:top center;}
body{font-family:helvetica; }
a{font-family:helvetica; font-size:15px; color:rgb(9, 64, 223); font-weight:lighter; }
h1, .h1-text, .h1-text a {font-family:helvetica; font-size:30px; color:rgb(36, 69, 110); font-weight:bold; text-transform:uppercase; }
h2, .h2-text {font-size:1px; color:rgba(100, 183, 39, 0); font-weight:bold; }
h3{font-size:21px; color:rgb(244, 128, 0); text-align:center; }
h3 a{font-size:21px; color:rgb(244, 128, 0); text-align:center; }
.p-title{font-family:Comfortaa; font-size:17px; color:rgb(36, 69, 110); text-align:center; }
.text_table{font-size:15px; color:rgb(2, 2, 2); border-color:rgb(182, 182, 182); background-color:rgb(255, 255, 255); }
.text_table_line{background-color:rgb(232, 255, 214); }
.sm_products{border-color:rgb(33, 136, 61); border-width:1px; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; }
.sm_products a{font-size:16px; color:rgb(33, 136, 61); font-weight:bold; }
.h_menu{font-size:17px; color:rgb(255, 255, 255); border-color:rgb(151, 151, 151); border-width:15px; border-style:none; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(246, 197, 16); }
.h_menu:hover{font-size:17px; color:rgb(255, 255, 255); border-color:rgb(151, 151, 151); border-width:15px; border-style:none; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(42, 166, 76); }
.h_menu_act{font-size:17px; color:rgb(255, 255, 255); border-color:rgb(151, 151, 151); border-width:15px; border-style:none; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(42, 166, 76); }
.t_menu_all{background-color:rgb(36, 69, 110); }
.t_menu{background-color:rgb(36, 69, 110); }
.t_menu:hover{background-color:rgb(101, 143, 196); }
.t_menu a{font-size:11px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; }
.t_menu a:hover{font-size:11px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; }
.t_menu_act{font-size:11px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; background-color:rgb(239, 127, 48); }
.t_podmenu{font-size:11px; border-color:rgb(255, 255, 255); border-width:1px; border-style:solid; background-color:rgb(100, 183, 39); }
.t_podmenu:hover{font-size:11px; border-color:rgb(255, 255, 255); border-width:1px; border-style:solid; background-color:rgb(244, 128, 0); }
.t_podmenu a{font-size:11px; color:rgb(255, 255, 255); }
.t_podmenu a:hover{font-size:11px; color:rgb(255, 255, 255); text-decoration:none; }
.left_menu{border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(92, 152, 189); }
.left_menu:hover{border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(36, 69, 110); }
.left_menu a{font-size:11px; color:rgb(255, 255, 255); text-transform:uppercase; }
.left_menu a:hover{font-size:11px; color:rgb(255, 255, 255); text-decoration:none; text-transform:uppercase; }
.left_menu_act{font-size:11px; color:rgb(255, 255, 255); text-transform:uppercase; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(244, 128, 0); }
.mms{background-color:rgb(36, 69, 110); }
.mms_act{background-color:rgb(239, 127, 48); }
.mms:hover{background-color:rgb(101, 143, 196); }
.mms a{font-size:12px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; }
.mms .act{font-size:12px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; }
.mms a:hover{font-size:12px; color:rgb(255, 255, 255); font-weight:bold; text-transform:uppercase; }
.sm li{background-color:rgb(36, 69, 110); }
.sm .act{background-color:rgb(239, 127, 48); }
.sm li:hover{background-color:rgb(101, 143, 196); }
.kare-title{font-family:verdana,geneva; font-size:44px; color:rgb(255, 255, 255); font-weight:bold; }
.kare-text{font-family:verdana,geneva; font-size:41px; color:rgb(255, 255, 255); font-weight:bold; }
.kare-button{font-size:1px; color:rgba(0, 52, 109, 0); }
.kare-button2{border-color:rgb(255, 255, 255); border-width:2px; border-style:solid; background-color:rgb(246, 197, 16); }
.kare-button2:hover{background-color:rgb(33, 136, 61); }
.header{background-color:rgba(255, 255, 255, 0.37); }
#head-div{font-size:13px; color:rgb(100, 183, 39); }
.top_bg{background-color:rgba(255, 255, 255, 0.37); }
.head-ico li a{font-size:15px; color:rgb(36, 69, 110); }
.header_text_mobile{font-size:17px; color:rgb(255, 255, 255); }
.footer{background-color:rgb(36, 69, 110); }
.footer_tbl{font-size:11px; color:rgb(255, 255, 255); }
.footer_btm{font-size:11px; color:rgb(255, 255, 255); }
.footer_btm a{font-size:11px; color:rgb(255, 255, 255); }
.btm_table_menu{font-size:13px; color:rgb(255, 255, 255); text-decoration:underline; }
.btm_table{font-size:13px; color:rgb(255, 255, 255); }
.btm_table a{font-size:13px; color:rgb(255, 255, 255); }
.news_title{font-size:23px; color:rgb(255, 255, 255); text-align:center; background-color:rgb(36, 69, 110); }
.news_table{font-size:15px; color:rgb(0, 0, 0); border-color:rgb(182, 182, 182); border-width:1px; border-style:dotted; background-color:rgb(255, 255, 255); }
.news_data{color:rgb(100, 183, 39); text-decoration:blink; }
.acc_table_menu{font-size:17px; color:rgb(255, 255, 255); text-align:center; border-top-left-radius: 5px; border-top-right-radius: 5px; }
.acc_table{border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; }
.acc_table a{color:rgb(0, 96, 50); }
.nav_tbl{font-size:1px; color:rgba(255, 255, 255, 0); }
.nav_menu{font-size:1px; color:rgba(255, 255, 255, 0); }
.nav_menu a{font-size:1px; color:rgba(255, 255, 255, 0); }
.nav_menu a:hover{font-size:1px; color:rgba(255, 255, 255, 0); }
.c_form_tbl{background-color:rgb(255, 255, 255); }
.send_email_btn{border-color:rgb(244, 128, 0); border-width:10px; border-style:solid; border-top-left-radius: 5px; border-top-right-radius: 5px; border-bottom-right-radius: 5px; border-bottom-left-radius: 5px; background-color:rgb(244, 128, 0); }
.send_email_btn a{color:rgb(255, 255, 255); }
.contacts_title{font-family:Comfortaa; font-size:17px; color:rgb(36, 69, 110); text-align:center; text-transform:uppercase; }
.contact_email a{font-size:15px; color:rgb(244, 128, 0); }
.pages_menu_div{top:50px;}

.head_logo{float:left;}
.header_height{height:210px;}
.h_menu_div{padding-top:px;}
h1 {padding-top:75px; }
.h1margin {margin-top:-75px;}
.h1-text {padding-top:75px; }
.site_width{width:1333px; display:table; margin-left: auto; margin-right: auto;}
.news_table{width:1333px; margin-left: auto; margin-right: auto;}
.t_menu, .t_menu_act, .m_menu_icon{height:50px; line-height: 50px;}
.acc_table_menu{ display:block; vertical-align:middle;}
.btm_table_menu{height:25px; display:table-cell; vertical-align:middle;}
.news_title{height:50px; display:table-cell; vertical-align:middle;}
.mega-menu-title{height:30px;}
.t_podmenu{height:30px;line-height:30px;}
.left_menu a, .left_submenu a{padding:10px; display: block;}
.left_menu_act, .left_submenu_act{padding:10px; display: block;}
.h_menu, .h_menu_act {padding:px; margin-left:px;}
#soc-div {position: absolute; text-align:right; right:0; padding-top:4px; padding-right:5px;}
.da-arrows{display: none;}
.da-dots{display:none;}
.da-slider{width:100% !important; margin:0 auto;}
.da-slider{height:637px;}
.da-slider .kare-title{display: none;}
.da-slider .kare-text{display: none;}
.da-slider .kare-button{display: none;}
.da-slider .kare-button2{display: none;}
.da-slider .da-img{display: none;}
@media (min-width:769px) and (max-width:1024px){.da-slider .kare-title{display: none;}
.da-slider .kare-text{display: none;}
.da-slider .kare-button{display: none;}
.da-slider .kare-button2{display: none;}
.da-slider .da-img{display: none;}
}
@media (max-width:768px){
	.da-slider{width:100% !important; margin:0 auto;}
.da-slider .kare-title{display: none;}
.da-slider .kare-text{display: none;}
.da-slider .kare-button{display: none;}
.da-slider .kare-button2{display: none;}
.da-slider .da-img{display: none;}
}

.contacts_h{min-height:250px;}
.contacts_map{height:270px !important;}
.mms{margin:0px 0px 0px 0px !important; width:auto;}
.mms a{padding:30px 6px 30px 6px }
.sm{margin:0px 0px 0px 0px !important; width:250px !important;}
.sm a{padding:5px 5px 5px 15px }
.mega .sm{height:auto;}
.mega .sm li{width:auto;}
.mega .sm li a{padding:0px 0px 0px 0px !important;}
.mega .sm li ul li a{padding:0px 0px 0px 0px !important;}
.sep-menu{margin-right: 1px;background-image: url("/images/sepmenu.png");background-repeat: no-repeat;background-position: right center;}
.sep-menu:last-of-type{background-image: none;}
#soc-div{right: px;}
.contacts-h1 {padding-top: 0px;}
.documents h2 {font-size: 17px; color: #EF7F30;}
@media (min-width: 1200px) {
.container {
width: 1333px;
}
}
.pager a {color: #24456E;}
/* Общ контейнер с ширина 1333px и перфектно центриране */
.acc_tbl_all {
max-width: 1333px !important;
width: 100% !important;
margin: 0 auto !important;
padding: 20px 15px !important;
background-color: transparent !important;
box-sizing: border-box !important;
display: block !important;
}

.acc_tbl_scr {
display: flex !important;
flex-wrap: wrap !important;
gap: 20px !important;
justify-content: space-between !important;
width: 100% !important;
box-sizing: border-box !important;
}

/* Строго фиксирани точно по 4 картички на ред */
.acc_tbl_scr > .acc_anim {
flex: 0 0 calc(25% - 15px) !important;
max-width: calc(25% - 15px) !important;
width: calc(25% - 15px) !important;
margin: 0 !important;
box-sizing: border-box !important;
display: flex !important;
flex-direction: column !important;
}

/* Раздвижена картичка с еднаква височина */
.acc_tbl_all .acc_anim {
background: #ffffff !important;
border-radius: 12px !important;
overflow: hidden !important;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
position: relative !important;
border: 1px solid rgba(0, 0, 0, 0.05) !important;
height: 100% !important;
}

.acc_tbl_all .acc_anim:hover {
transform: translateY(-8px) scale(1.02) !important;
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Заглавна лента със зададения син цвят #24456E и фиксирана височина */
.acc_tbl_all .acc_table_menu {
background: #24456E !important;
color: #ffffff !important;
font-weight: 600 !important;
font-size: 14px !important;
padding: 12px 10px !important;
text-align: center !important;
height: 64px !important;
max-height: 64px !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
line-height: 1.3 !important;
text-shadow: none !important;
box-sizing: border-box !important;
}

/* Вътрешен контейнер */
.acc_tbl_all .acc_table {
display: flex !important;
flex-direction: column !important;
flex-grow: 1 !important;
justify-content: space-between !important;
position: relative !important;
text-align: center !important;
width: 100% !important;
height: 100% !important;
}

/* Фиксиране на кутията за снимка на 240px */
.acc_tbl_all .acc_table figure {
margin: 0 !important;
padding: 15px !important;
background: #ffffff !important;
height: 240px !important;
max-height: 240px !important;
min-height: 240px !important;
width: 100% !important;
max-width: 100% !important;
display: flex !important;
align-items: center !important;
justify-content: center !important;
overflow: hidden !important;
position: relative !important;
border: none !important;
border-radius: 0 !important;
box-sizing: border-box !important;
}

.acc_tbl_all .acc_table figure a {
display: flex !important;
align-items: center !important;
justify-content: center !important;
width: 100% !important;
height: 100% !important;
position: static !important;
}

/* Подравняване и оразмеряване на снимките */
.acc_tbl_all .acc_table figure img.img_w {
max-width: 100% !important;
max-height: 100% !important;
width: auto !important;
height: auto !important;
object-fit: contain !important;
display: block !important;
margin: auto !important;
position: static !important;
transition: transform 0.5s ease !important;
}

.acc_tbl_all .acc_anim:hover .acc_table figure img.img_w {
transform: scale(1.08) !important;
}

/* Подравнен бутон "още ..." в дъното */
.acc_tbl_all .acc_more {
padding: 15px 12px !important;
text-align: center !important;
background: #ffffff !important;
border-top: 1px solid #f0f0f0 !important;
margin-top: auto !important;
box-sizing: border-box !important;
}

.acc_tbl_all .acc_more a {
display: inline-block !important;
padding: 6px 18px !important;
background-color: #EF7F30 !important;
color: #ffffff !important;
text-decoration: none !important;
border-radius: 20px !important;
font-size: 13px !important;
font-weight: bold !important;
transition: all 0.3s ease !important;
box-shadow: 0 2px 5px rgba(36, 69, 110, 0.2) !important;
text-shadow: none !important;
}

.acc_tbl_all .acc_more a:hover {
background-color: #24456E !important;
transform: translateX(3px) !important;
box-shadow: 0 4px 10px rgba(36, 69, 110, 0.4) !important;
color: #ffffff !important;
}

/* Адаптивност за таблети и мобилни устройства */
@media (max-width: 900px) {
.acc_tbl_scr > .acc_anim {
flex: 0 0 calc(50% - 10px) !important;
max-width: calc(50% - 10px) !important;
width: calc(50% - 10px) !important;
} }
@media (max-width: 500px) {
.acc_tbl_scr > .acc_anim {
flex: 0 0 100% !important;
max-width: 100% !important;
width: 100% !important;
} }


/* ========================================
   ЗАГЛАВИЕ СЪС СИН АНИМИРАН ГРАДИЕНТ
   ======================================== */

h1:not(.p-title),
.h1-text:not(.p-title) {
    position: relative;
    display: inline-block;

    background: linear-gradient(
        90deg,
        #1B3A5C 0%,
        #2F5D8A 35%,
        #5C87A8 50%,
        #2F5D8A 65%,
        #1B3A5C 100%
    );

    background-size: 250% 100%;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;

    padding-bottom: 14px;

    animation: dvijen-gradient 6s linear infinite;
}


/* ========================================
   ОРАНЖЕВА АНИМИРАНА ЛЕНТА ПОД ЗАГЛАВИЕТО
   ======================================== */

h1:not(.p-title)::after,
.h1-text:not(.p-title)::after {
    content: "";
    display: block;

    position: absolute;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    border-radius: 4px;
    background-color: #EF7C2B;

    transform-origin: center;

    animation: lenta 3.5s ease-in-out infinite;

    pointer-events: none;
    z-index: 1;
}


/* ========================================
   АНИМАЦИЯ НА СИНИЯ ГРАДИЕНТ
   ======================================== */

@keyframes dvijen-gradient {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 250% center;
    }
}


/* ========================================
   АНИМАЦИЯ НА ОРАНЖЕВАТА ЛЕНТА
   ======================================== */

@keyframes lenta {
    0%, 100% {
        transform: scaleX(0.78);
        opacity: 0.8;
    }

    50% {
        transform: scaleX(1);
        opacity: 1;
    }
}


/* ========================================
   ДОСТЪПНОСТ: НАМАЛЕНО ДВИЖЕНИЕ
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    h1:not(.p-title),
    .h1-text:not(.p-title) {
        animation: none;
    }

    h1:not(.p-title)::after,
    .h1-text:not(.p-title)::after {
        animation: none;
        transform: scaleX(1);
        opacity: 1;
    }
}


@media (prefers-reduced-motion: reduce) {
h1:not(.p-title),
.h1-text:not(.p-title),
h1:not(.p-title)::after,
.h1-text:not(.p-title)::after {
animation: none;
} }

#site_logo {margin-right: 19px;}
.glyphicon {display: none;}
#soc-div img {padding-right: 8px !important; padding-top: 35px;}
.sm_products {width: 217px; height: 277px;}
.header {height: 30px;}
.documents h2, .documents-name {padding-bottom: 10px;}
.documents h2 {padding-left: 0px;}
.owlPrevBtn, .owlNextBtn {color: black;}
#news-5 .news-image img {top: -17%; margin-left: 5px;}
.albumi .album {width: 200px; height: 350px; vertical-align: top; margin: 10px;}
#trw:has(> .footer) {height: 50px;}
.ma-div-1 .ma-btn {text-shadow: 0px 2px 3px #000000; box-shadow: 0px 2px 3px #000000;}
.ma-div-3 .ma-ttl {width: 100%; left: 0; text-align: center; text-shadow: 0px 2px 3px #000000;}
.ma-div-5 .ma-ttl {width: 100%; left: 0; text-align: center; text-shadow: 0px 2px 3px #000000;}
.ma-div-5 .ma-btn {text-shadow: 0px 2px 3px #000000; box-shadow: 0px 2px 3px #000000; left: 43%;}
.sm_products img{transition: transform .3s;}
.sm_products img:hover{transform: scale(1.1);}
.acc_table a img{transition: transform .3s;}
.acc_table a img:hover{transform: scale(1.1);}
.acc_table a {text-shadow: 0px 1px 2px #000000;}
.kare-title {text-shadow: 0px 1px 1px #000000;}
.kare-text {text-shadow: 0px 1px 1px #000000;}
.acc_more a {text-align: center;background: rgb(250, 202, 4);padding: 10px 0;display: block;color:#FFF;}
.h_menu {text-shadow: 0px 1px 2px #000000;}
.h_menu:hover {text-shadow: 0px 1px 2px #000000;}
.h_menu_act {text-shadow: 0px 1px 2px #000000;}
.sm_products {width: 217px; height: 217px;}
.header {height: 30px;}
.mms .act {text-shadow: 0 1px 2px black}
.contacts_title {padding-bottom: 7px;}
.attachment-lnk{display: block;text-align: left;}
.sm li{text-shadow: none;}

.t_menu_all {box-shadow: 0px 1px 2px #000000; text-shadow: none;}
.news_title {padding: 7px;}
.contacts_title {text-shadow: none;}
.p-title{text-shadow: none;}

.menu-dropdown-icon::before {
padding: 14px;
margin: 0px;
}

.btm_table_menu {padding-left: 5px;}
.news-container figure{width: 100%;}
.news-container figure img.img_w{height: auto; width: 100%;}
.news-container {background: white; padding: 10px;}
.news-text {padding: 15px; color: black; font-size: 15px; background: white; text-align: justify;}
.news-tit {background: white; padding: 10px; font-size: 21px; font-weight: none; text-shadow: none; color: rgb(0, 162, 0);}

.news-images figure
{ width: 300px;
height: 200px;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
display: inline-block;
margin: 5px 0 0 0;
overflow: hidden;
padding: 0px;
position: relative;
border-radius: 0;
margin: 5px;
}

.news-images figure img {
position: absolute;
top: -9999px;
bottom: -9999px;
left: -9999px;
right: -9999px;
margin: auto;
}

.ma-div-3 .ma-btn {text-shadow: 0px 2px 3px #000000; box-shadow: 0px 2px 3px #000000; left: 43%;}
.acc_title {padding: 10px;}
.index_news{padding: 20px;}
.acc_table{text-align: center;}
.acc_table figure{width: 250px;height: 250px;}

.index_news .col-md-4 a{min-height: 250px;}

.sm_products {width: 230px; height: 230px;}
#head-div {padding: 10px !important;}
.index_news{padding: 20px;}
.t_menu_all {box-shadow: 0px 1px 3px #000;}

.index-accents{margin-bottom:20px;}
.index-accents a{min-height: 160px;background: #439BF6;display: flex;flex-wrap: wrap;align-items: center;padding: 20px;box-sizing: border-box;justify-content: space-between;}
.index-accents a:hover{background: #8F4FA0; border-color: rgb(75, 31, 94);}
.index-accents a{background: white; box-shadow: 0px 2px 5px #000;
border-color: white;
border-width: 1px;
border-style: solid;
border-top-left-radius: 17px;
border-top-right-radius: 17px;
border-bottom-right-radius: 17px;
border-bottom-left-radius: 17px;}
.index-accents h3{flex: 0 1 60%;font-size: 23px;color: rgb(49, 46, 43);text-transform: uppercase;}
.index-accents img{flex: 0 1 30%;max-width: 160px;min-height: 123px;}

.attachment-lnk{display: block;text-align: left;}
.news_table {padding-bottom: 30px;}
.t_podmenu{box-shadow: 0px 1px 5px #000000;}
.h_menu{text-shadow: 0px 2px 5px #000000;}
.kare-title {width: 100%; left: 0; text-align: center; text-shadow: 0px 2px 3px #000000;}
.kare-text {width: 100%; left: 0; text-align: center; text-shadow: 0px 2px 3px #000000;}
.t_menu_act{text-shadow: 0px 0px 0px #000000;}
.ma-div-1 .ma-txt{text-shadow: 0px 1px 2px #000000;}
.ma-div-2 .ma-txt{text-shadow: 0px 1px 2px #000000;}
.ma-div-3 .ma-txt{text-shadow: 0px 1px 2px #000000;}
.menu-dropdown-icon::before {
padding: 14px;
margin: 0px;
}

@media screen and (max-width: 768px) {
h2, .h2-text {
padding-left: 0px;
font-size: 15px;
padding-top: 5px;
}
h1, .h1-text {
padding-left: 0px;
font-size: 18px;
}
#site_logo {margin-top: 17px;}
#head-div {text-align: center;}
.m_menu_icon {text-align: right;}
.acc_resp .wp25{width: 100% !important;}
#head-div {text-align: center;}
.m_menu_icon {text-align: right;}
.acc_resp .wp25{width: 100% !important;}
.mms a {padding: 7px 7px 7px 7px;}
.h1margin {margin-top: 0px;}
body {padding: 0 0px;}
.h_menu {border-top-left-radius: 0px; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-bottom-left-radius: 0px;}
.resp .mms {color: white;}
.glyphicon {none;}
.da-slider {height: 370px;}
.t_menu, .t_menu_act, .m_menu_icon {height: 50px; line-height: 100px;}
.resp {top: 50px;}
figure {overflow: inherit;position: relative;width: 200px;}
figure img.img_h {width: 200px;}









.news-tit {padding: 37px;}
.index-accents h3 {flex: 0 1 30% !important;}
.mms .act {font-size: 15px;}
.mms a {font-size: 15px;}
figure img.img_w {width: 100%; height: auto;}
.index-accents img {max-width: 130px;}
.index-accents h3 {flex: 0 1 30%; font-size: 17px;}
.albumi .album {width: 100%; height: 350px; vertical-align: top; margin: 10px;}
}
.da-slider {width: 100% !important;}
.sm_products {height: auto;}
@media screen and (max-width: 991px) {

  /* Контейнерите не трябва да надвишават екрана */
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }

  /* Заглавия */
  h1,
  .h1-text {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Социални икони — премахва голямото отместване */
  #soc-div img {
    padding-top: 0 !important;
    padding-right: 8px !important;
    max-width: 100%;
    height: auto;
  }

  /* Карти с акценти/специалности */
  .acc_tbl_all {
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 0 !important;
    box-sizing: border-box !important;
  }

  .acc_tbl_scr {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 16px !important;
  }

  .acc_tbl_scr > .acc_anim {
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 !important;
  }

  .acc_tbl_all .acc_table {
    height: auto !important;
    flex: 1 !important;
  }

  .acc_tbl_all .acc_table_menu {
    height: auto !important;
    min-height: 64px !important;
    max-height: none !important;
    overflow-wrap: anywhere;
  }

  /* Основни акценти */
  .index-accents a {
    gap: 16px;
    min-width: 0;
    text-decoration: none;
  }

  .index-accents h3 {
    flex: 1 1 0 !important;
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .index-accents img {
    flex: 0 0 auto !important;
    width: 100px;
    max-width: 35%;
    min-height: 0 !important;
    height: auto;
    object-fit: contain;
  }

  /* Галерии и продуктови изображения */
  .sm_products {
    max-width: 100%;
    box-sizing: border-box;
  }

  .sm_products img {
    max-width: 100%;
    height: auto;
  }

  .albumi .album {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Съдържание на отделна новина */
  .news-container,
  .news-container figure {
    max-width: 100%;
    box-sizing: border-box;
  }

  .news-container figure {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .news-container figure img.img_w {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .news-images figure {
    max-width: calc(100% - 10px);
    box-sizing: border-box;
  }

  /* Новинарски карти — по две на таблет */
  .news_table #news-3 > .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 0 0 20px;
  }

  .news_table #news-3 > .row::before,
  .news_table #news-3 > .row::after {
    content: none;
    display: none;
  }

  .news_table #news-3 > .row:empty {
    display: none;
  }

  .news_table #news-3 > .row > .col-md-4 {
    float: none;
    width: auto;
    min-width: 0;
    padding: 0;
    margin: 0;
  }

  .news_table #news-3 .news-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .news_table #news-3 .news-image img {
    display: block;
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }

  .news_table #news-3 .news-content h3 {
    font-size: 20px;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .news_table #news-3 .news-text {
    padding: 0;
    text-align: left;
  }
}


/* ==========================================
   ТЕЛЕФОН — ДО 768px
   ========================================== */

@media screen and (max-width: 768px) {

  body {
    padding-left: 0;
    padding-right: 0;
  }

  /* Горна част */
  .header {
    height: auto;
    min-height: 30px;
  }

  #head-div {
    padding: 12px 10px !important;
    text-align: center;
    box-sizing: border-box;
  }




  /* Четими заглавия */
  h1,
  .h1-text {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1.35;
    padding-left: 0;
    margin-top: 10px;
    margin-bottom: 18px;
  }

  h2,
  .h2-text {
    font-size: 19px;
    line-height: 1.4;
    padding-left: 0;
    padding-top: 5px;
  }

  .documents h2 {
    font-size: 17px;
  }

  /* Меню — корекция на височина и междуредие */
  .t_menu,
  .t_menu_act,
  .m_menu_icon {
    height: auto;
    min-height: 50px;
    line-height: 1.4;
    box-sizing: border-box;
  }

  .m_menu_icon {
    text-align: right;
    line-height: 50px;
  }

  .mms a {
    padding: 12px 10px;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
  }

  .mms .act {
    font-size: 15px;
  }

  /* Главни акценти */
  .index-accents a {
    min-height: 130px;
    padding: 18px;
    gap: 14px;
  }

  .index-accents h3 {
    flex: 1 1 0 !important;
    font-size: 18px;
    line-height: 1.4;
  }

  .index-accents img {
    width: 85px;
    max-width: 32%;
    min-height: 0 !important;
    height: auto;
  }

  /* Снимки в специалностите */
  .acc_tbl_all .acc_table figure {
    height: 210px !important;
    min-height: 210px !important;
    max-height: 210px !important;
    padding: 12px !important;
  }

  /* Галерия */
  .albumi .album {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 18px;
  }

  /* Отделна новина */
  .index_news {
    padding: 15px 0;
  }

  .news-tit {
    padding: 14px 10px;
    font-size: 21px;
    line-height: 1.4;
    font-weight: 600;
  }

  .news-container {
    padding: 10px;
  }

  .news-container .news-text {
    padding: 10px 0;
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
  }

  /* Бутони в слайдера — центриране */
  .ma-div-3 .ma-btn,
  .ma-div-5 .ma-btn {
    left: 50%;
    transform: translateX(-50%);
    max-width: 90%;
    box-sizing: border-box;
  }

  /* Футърът да не е ограничен до 50px */
  #trw:has(> .footer) {
    height: auto;
    min-height: 50px;
  }

  .attachment-lnk {
    overflow-wrap: anywhere;
  }
}


/* ==========================================
   МАЛЪК ТЕЛЕФОН — ДО 600px
   ========================================== */

@media screen and (max-width: 600px) {

  /* Една карта на ред */
  .acc_tbl_scr > .acc_anim {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .acc_tbl_all .acc_table_menu {
    min-height: 56px !important;
    font-size: 15px !important;
    padding: 14px 12px !important;
  }

  .news_table #news-3 > .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .news_table #news-3 .news-content {
    padding: 20px;
  }

  .news_table #news-3 .news-content h3 {
    font-size: 20px;
  }

  .news_table #news-3 .news-text {
    font-size: 15px;
    line-height: 1.65;
  }

  .index_news .col-md-4 a {
    min-height: 0;
  }

  .news-images figure {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
  }
}


/* Без увеличаване на картите при докосване */
@media screen and (max-width: 991px) and (hover: none) {

  .acc_tbl_all .acc_anim:hover {
    transform: none !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  }

  .acc_tbl_all .acc_anim:hover .acc_table figure img.img_w,
  .acc_table a img:hover,
  .sm_products img:hover {
    transform: none !important;
  }
#site_logo {margin-right: 0px;}

#site_logo {
        display: block !important;
        width: 37% !important;
        max-width: 37% !important;
        height: auto !important;
        margin: 0 auto !important;
        float: none !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
    }

    #site_logo img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }












.da-slider {
        width: 100% !important;
        height: 300px !important;
        overflow: hidden !important;
    }

    .da-slider img {
        max-width: 100% !important;
        max-height: 100% !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .da-slide {
        width: 100% !important;
        height: 100% !important;
        overflow: hidden !important;
    }
.news_title {font-size: 17px;}

@media screen and (max-width: 768px) {

    .albumi {
        text-align: center !important;
    }

    .albumi .album {
        display: inline-block !important;
        float: none !important;
        vertical-align: top !important;
        margin: 10px auto !important;
        text-align: center !important;
    }

    .albumi .album img {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}



.gallery-images.pswp_gallery figure.gallery {
        display: inline-block !important;
        float: none !important;
        width: 200px !important;
        max-width: 100% !important;
        margin: 10px auto !important;
        vertical-align: top !important;
        box-sizing: border-box !important;
    }

    .gallery-images.pswp_gallery figure.gallery img {
        display: block !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 auto !important;
    }

}
/* ==========================================
   ПОПРАВКА: ОРАНЖЕВА ЛЕНТА ПОД ЗАГЛАВИЕТО
   ========================================== */

h1:not(.p-title),
.h1-text:not(.p-title) {
  position: relative !important;
  display: inline-block !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  padding-bottom: 14px !important;

  /* Fallback цвят, ако gradient text не се поддържа */
  color: #1B3A5C !important;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1:not(.p-title),
  .h1-text:not(.p-title) {
    background: linear-gradient(
      90deg,
      #1B3A5C 0%,
      #2F5D8A 35%,
      #5C87A8 50%,
      #2F5D8A 65%,
      #1B3A5C 100%
    ) !important;
    background-size: 250% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: dvijen-gradient 6s linear infinite !important;
  }
}

h1:not(.p-title)::after,
.h1-text:not(.p-title)::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 4px !important;
  border-radius: 4px !important;
  background-color: #EF7C2B !important;
  transform-origin: center !important;
  animation: lenta 3.5s ease-in-out infinite !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

@keyframes dvijen-gradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 250% center;
  }
}

@keyframes lenta {
  0%,
  100% {
    transform: scaleX(0.78);
    opacity: 0.8;
  }

  50% {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* Ако някой родител скрива лентата с overflow: hidden */
.page-title,
.content,
.main-content,
#content,
.row,
.col-md-12 {
  overflow: visible !important;
}

/* Достъпност: при намалено движение лентата остава статична */
@media (prefers-reduced-motion: reduce) {
  h1:not(.p-title),
  .h1-text:not(.p-title) {
    animation: none !important;
  }

  h1:not(.p-title)::after,
  .h1-text:not(.p-title)::after {
    animation: none !important;
    transform: scaleX(1) !important;
    opacity: 1 !important;
  }
}
/* Гаранция, че лентата не може да бъде скрита от тема/плъгин */
h1:not(.p-title)::after,
.h1-text:not(.p-title)::after {
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
}
/* Корекция на заглавието при ширина 1089–1189px */
@media screen and (min-width: 1089px) and (max-width: 1189px) {

    #head-div h1:not(.p-title),
    #head-div .h1-text:not(.p-title) {
        max-width: calc(100% - 70px) !important;
        box-sizing: border-box;
        white-space: normal !important;
    }

}

@media screen and (max-width: 1333px) {
.site_width, .news_table{width:100%;}
.site_width:after{content: "";display: block;clear: both;}
#head-div{margin:0px;padding:0px;}
#top-menu{z-index: 99999;}
.gallery{float:none;display: inline-block;}
.head-ico{width: 100%;display: table;float: none;}
.head-ico li{display: table-cell; padding:0; margin:0; text-align:center;}
.head-ico li img{position: relative;}
.header_height{height:auto;}
#slideshow, #slideshow img{width: 100%;}
.ma-ttl, .ma-txt, .ma-img{width: 100%; padding: 0px;}
.ma-img img{width: 50%; padding: 0px; max-width:300px;}
.ma-ttl, .ma-txt, .ma-btn, .ma-img{position: inherit !important;left: inherit !important;top: inherit !important; margin: 10px auto;}
.ma-btn{ float:none; margin: 20px auto;}
.footer_tbl{text-align: center;}
.btm_table_width{max-width: none;}
#m_tdc{width: 100%;text-align: center;}
.btm_l_txt, .btm_c_txt, .btm_r_txt{padding: 10px 0;float: left;}
.slider_tbl{height: auto;}
.btm_table_menu, .btm_table{margin: 10px 0 !important;}
.nav_tbl{ display:none !important;}
.h40{height: auto;}
}
