

@font-face {
font-family: 'bgbfont';
src: url('bgb-font.eot');
src: url('bgb-font.eot?#iefix') format('embedded-opentype'),
url('bgb-font.woff2') format('woff2'),
url('bgb-font.woff') format('woff'),
url('bgb-font.ttf') format('truetype'),
url('bgb-font.svg') format('svg');
font-weight: normal;
font-style: normal;
}

/* =========================================
ORIGINAL SITE STYLES
Запазени от предоставения оригинален код
========================================= */

body,
html {
border: 0;
background: #f5f5f5;
font-family: 'bgbfont', arial;
font-size: 16px;
color: #000;
margin: 0;
padding: 0;
}

select,
input,
textarea {
font-family: 'bgbfont';
font-size: 14px;
}

a {
color: #000;
text-decoration: none;
}

a:hover {
color: #560080;
text-decoration: none;
}

a img {
border: none;
}

#BGBrentacar_1_00_001 {
width: 100%;
max-height: 999999px;
}

div.TabView div.Tabs {
height: 44px;
overflow: hidden;
}

div.TabView div.Tabs a {
float: left;
display: block;
width: 81px;
text-align: center;
height: 44px;
padding-top: 12px;
vertical-align: middle;
border: 1px solid #fff;
border-bottom-width: 0;
background-color: #2E0E4B;
text-decoration: none;
font-size: 12px;
color: #fff;
}

div.TabView div.Tabs a:hover,
div.TabView div.Tabs a.Active {
background-color: #FFE13C;
color: #000;
}

div.TabView div.Pages {
clear: both;
overflow: hidden;
}

div.TabView div.Pages div.Page {
height: 100%;
padding: 0;
overflow: hidden;
}

div.TabView div.Pages div.Page div.Pad {
padding: 3px 5px;
}

/* =========================================
RESPONSIVE HELPERS
Общи помощни класове за мобилния изглед
========================================= */

.mobile-only {
display: none !important;
}

.desktop-only {
display: block;
}

.mobile-menu-button {
display: none;
}

.mobile-menu {
display: none;
}

.mobile-container {
width: 100%;
max-width: 100%;
margin: 0 auto;
padding: 12px;
}

.mobile-card {
width: 100%;
margin: 0 0 16px;
padding: 12px;
background: #fff;
border-radius: 6px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.mobile-heading {
color: #2E0E4B;
font-size: 23px;
line-height: 1.3;
text-align: center;
}

.mobile-button {
display: block;
width: 100%;
padding: 12px 15px;
background: #2E0E4B;
color: #FFD700;
text-align: center;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
}

/* =========================================
MOBILE VERSION — SCREEN WIDTH <= 800px
========================================= */

@media screen and (max-width: 800px) {

*,
*::before,
*::after {
box-sizing: border-box;
}

html,
body {
width: 100%;
max-width: 100%;
min-width: 0;
margin: 0;
padding: 0;
overflow-x: hidden;
}

body {
font-size: 16px;
line-height: 1.45;
}

#BGBrentacar_1_00_001 {
width: 100%;
max-width: 100%;
min-width: 0;
overflow-x: hidden;
}

img {
max-width: 100%;
height: auto;
}

table {
max-width: 100%;
}

input,
select,
textarea,
button {
max-width: 100%;
font-family: 'bgbfont', arial, sans-serif;
}

input,
select,
textarea {
font-size: 16px;
}

.mobile-only {
display: block !important;
}

.desktop-only {
display: none !important;
}

.mobile-menu-button {
display: inline-flex;
align-items: center;
justify-content: center;
width: 46px;
height: 42px;
padding: 0;
border: 2px solid #FFD700;
border-radius: 5px;
background: #2E0E4B;
color: #FFD700;
font-size: 28px;
line-height: 1;
cursor: pointer;
}

.mobile-menu {
display: none;
width: 100%;
background: #2E0E4B;
border-top: 2px solid #FFD700;
}

.mobile-menu.is-open {
display: block;
}

.mobile-menu a {
display: block;
width: 100%;
padding: 13px 16px;
color: #fff;
text-decoration: none;
border-bottom: 1px solid rgba(255, 215, 0, 0.35);
}

.mobile-menu a:hover,
.mobile-menu a:focus {
background: #FFD700;
color: #2E0E4B;
}

.mobile-container {
width: 100%;
max-width: 100%;
min-width: 0;
padding: 12px;
margin: 0 auto;
}

.mobile-card {
width: 100%;
min-width: 0;
margin: 0 0 16px;
padding: 12px;
background: #fff;
border-radius: 6px;
box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
}

.mobile-card img {
display: block;
margin-left: auto;
margin-right: auto;
}

.mobile-heading {
margin: 10px 0;
color: #2E0E4B;
font-size: 23px;
line-height: 1.3;
text-align: center;
}

.mobile-button {
display: block;
width: 100%;
padding: 12px 15px;
background: #2E0E4B;
color: #FFD700;
text-align: center;
text-decoration: none;
font-weight: bold;
border-radius: 4px;
}

/* Адаптиране на таблици с фиксирани ширини */
table[width],
td[width] {
max-width: 100%;
}

/* Изображенията да не излизат извън екрана */
img[width] {
max-width: 100%;
}

/* Навигацията в TabView да може да се пренася */
div.TabView div.Tabs {
height: auto;
overflow: visible;
display: flex;
flex-wrap: wrap;
}

div.TabView div.Tabs a {
float: none;
flex: 1 1 100px;
width: auto;
min-width: 0;
height: auto;
min-height: 44px;
padding: 12px 6px;
border-bottom-width: 1px;
overflow-wrap: anywhere;
}

div.TabView div.Pages {
width: 100%;
max-width: 100%;
}

div.TabView div.Pages div.Page {
width: 100%;
max-width: 100%;
height: auto;
overflow: visible;
}

div.TabView div.Pages div.Page div.Pad {
padding: 8px;
}

a,
button,
input,
select {
touch-action: manipulation;
}

.mobile-menu-button:focus-visible,
.mobile-menu a:focus-visible,
.mobile-button:focus-visible {
outline: 3px solid #FFD700;
outline-offset: 3px;
}
}

/* =========================================
SMALL MOBILE SCREENS — <= 400px
========================================= */

@media screen and (max-width: 400px) {

body {
font-size: 15px;
}

.mobile-container {
padding: 8px;
}

.mobile-card {
padding: 10px;
margin-bottom: 12px;
}

.mobile-heading {
font-size: 21px;
}

.mobile-menu a {
padding: 12px;
}
}
