@charset "charset-name";

@viewport{
    zoom: 1.0;
    width: extend-to-zoom;
}
@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}

body
{
	width: 100%; 
	background: green;
	font-family: Verdana, Arial, Sans-serif;
	font-size: 18px;
	margin: 0;
	padding: 0;
	overflow:visible;
}

.page
{
	margin: 0 auto;
	width: 100%;
	padding: 0px 0 0 0;
}

.header
{	position:relative;
	top:1px;
/*	background-image: url('../img/header-bg.gif');*/
	border-bottom: 1px solid #1566b1;
	height: 2px;
	padding: 1px 0 0 0;
}

.logo
{
	float: left;
	padding: 1px 2px;
	width: 1px;
}

.content
{
	clear: left;
	float: left;
	position:relative;
	padding: 1px 0px;
	width: 100%;
}

.links
{
	text-align: justify;
	text-decoration: none;
	line-height: 200%;
}

.links a
{
	color: #660000;
	text-decoration: none;
	line-height: 200%;
}

.links a:hover

{
	color: #d03900;
	text-decoration: underline;
}

.box
{
	clear: both;
	margin: 0 10px 10px 10px;
	background: #f9fbe0;
}

.box-caption
{
	background-color: #660000;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	padding: 3px 0 3px 10px;
}

.box-content
{
	padding: 10px;
}


.link_display_in_category 
{
	margin: 0 0 0px 0px;
	padding: 0px;
	background: #f9fbe0 url('../img/bgshade.gif') repeat-x;
	color: #303030;
	border-bottom: 1px solid #ccc;
	width: 100%;
}

.bottom
{
	background-position: top left;
	background-color: #ef9d16;
	border-top: 3px solid #eeba04;
	clear: both;
	position:relative;
	color: #000000;
	font-size: 10px;
	padding: 1px 0;
	width: 100%;
	text-align: center;
	line-height: 40%;
}

.bottom a

{
	color: #FFF;
	font-weight: bold;
	line-height: 200%;
}

.bottom a:hover
{
	color: #333;
}

.partners
{
	background-position: top left;
	background-color: #f9fbe0;
	border: 1px solid #eeba04;
	clear: both;
	position:relative;
	color: #000000;
	font-size: 9px;
	padding: 10px 10px;
	margin: 10px;
	text-align: left;
}
.partners a
{
	color: #650000;
	font-weight: bold;
	line-height: 170%;
}






/* Container principal */
.content {
    display: flex;
    flex: 1;
    gap: 0;
    margin-top: 10px;
}

/* Coloana centrală */
.middle {
    order: 2;
    flex: 1;
    padding: 5px;
    background: #ffffff;
}

/* Sidebars */
.left, .right {
    width: 200px;
    background: #f2f2f2;
    padding: 5px;
    transition: all 0.3s ease;
    overflow: auto;
}

.left { order: 1; }
.right { order: 3; }

/* Butoane fixe */
.left-control, .right-control {
    position: fixed;
    top: 30px;
    z-index: 1000;
}

.left-control { left: 10px; }
.right-control { right: 10px; }

.toggle-btn {
    width: 28px;
    height: 22px;
    border: 1px solid #333;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.toggle-btn div {
    width: 14px;
    height: 2px;
    background: #333;
    margin: 2px 0;
}

/* Ascundere coloane */
.hidden {
    width: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    display: none;
}

/* Footer */
.footer {
    background: #34495e;
    color: white;
    text-align: center;
    padding: 15px;
}

/* =========================
   Responsive – mobil
   ========================= */
@media (max-width: 768px) {
    .left, .right {
        width: 90%;
        display: none;       /* ascunse la început */
        position: fixed;
        left: 5%;
        top: 80px;
        background: #f2f2f2;
        padding: 20px;
        z-index: 2000;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);

        max-height: calc(100vh - 80px); /* înălțimea maximă a meniului */
        overflow-y: auto; /* scroll doar în meniu */
    }
}
