/* MODERN FLEXBOX LAYOUT FOR COVERS.BOX.SK */

BODY, #main {
    font-family:"Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
    font-weight:normal;
    font-size:9px;
    color: #797979;
    margin: 0px;
    border: 0px;
    background: #D3E8E1 url(/pics/main_back.jpg) bottom left fixed repeat-x;
    padding-bottom: 25px;
    text-align:center;
}

table {
    font-family:"Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
    font-size:12px;
    text-decoration:none;
    color:#797979;
}

a, a:link, a:visited, a:hover {
    font-family:"Trebuchet MS", "Bitstream Vera Sans", verdana, lucida, arial, helvetica, sans-serif;
    font-weight:bold;
    font-size:12px;
    text-decoration:none;
    color:#797979;
}

a:hover {
    background: #B3D1C8;
}

#wrapper0 {
    width: 100%;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#wrapper {
    width: 1170px;
    display: flex;
    position: relative;
    text-align: left;
}

#container {
    flex: 1;
    max-width: 1020px;
    display: flex;
    flex-direction: column;
}

#content {
    background: white url(/pics/main_back2.jpg) top left repeat-x;
    background-position-y: 21px;
    border: 1px solid #6B9F92;
    border-top:8px solid #6B9F92;
    border-bottom:8px solid #6B9F92;
}

/* Sidebar for advertisement */
#sidebar {
    width: 160px;
    padding-left: 10px;
}

.clearing, .clearing2 {
    display: none;
}

/* Header Area */
#header-images {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

#logo {
    background: url(/pics/logo_main.jpg) top left no-repeat;
    display: block;
    height: 110px;
}

#logo2 {
    display: block;
    background: url(/pics/logo_main2.gif) top right no-repeat;
    height: 110px;
}

#logo3 {
    margin-left: 0px;
    margin-bottom: 0px;
    border: 0;
    width:126px;
    height:20px;
    background: url(/pics/covertop_02.gif) top left no-repeat;
}

/* Main content wrapper with flex sidebars */
#outer_wrapper2 {
    display: flex;
    background: #fff url(/background_3.gif) repeat-y left;
}

#wrapper2 {
    display: flex;
    flex: 1;
    background: url(/background_2.gif) repeat-y right;
}

#container2, #container22 {
    display: flex;
    flex: 1;
    background: #6B9F92;
}

#content2, #content22 {
    display: flex;
    flex: 1;
    background: white;
}

/* Left Menu */
#menu {
    width: 160px;
    flex-shrink: 0;
    font-size: 12px;
    padding-top: 10px;
}

#menu a {
    width: 140px;
    display: block;
    background: white;
    text-align: right;
    margin-bottom: 2px;
}

#menu hr {
    color: #BBDFC3;
    border: 0;
    border-top: 1px solid #BBDFC3;
}

/* Central Content */
#main2 {
    flex: 1;
    background: white;
    border-left: 8px solid #6B9F92;
    padding: 10px;
    min-width: 0; /* Allow shrinking */
}

/* Right Sidebar (Search/Forms) */
#sidebar2 {
    width: 150px;
    flex-shrink: 0;
    text-align: left;
    font-size: 15px;
    padding: 5px;
    box-sizing: border-box;
}

#sidebar2 input, #sidebar2 select, #sidebar2 textarea {
    max-width: 100%;
    box-sizing: border-box;
}

/* Common Classes */
.ramik {
    border: 1px solid #cecea5;
    border-top: 0px solid #cecea5;
    background: white;
    padding: 5px;
    text-align: left;
}

.ls {
    text-align: left;
    font-size: 15px;
    min-height: 75px;
    display: flex;
    margin-bottom: 20px;
    width: 100%; /* Ensure consistent full width */
    box-sizing: border-box; /* Include padding/border in width */
}

.cover-details {
    flex: 1;
    background: #ECF4EE;
    padding: 8px 12px;
}

.mf,.mfb,.mf1,.mf2,.td_line,.butt,.butt2,.td_no_line {font-weight:normal;font-size:10px;color:#3D5559;}
.mfb {font-weight:bold;text-decoration:none}
.mf1,.mf2 {font-weight:bold;font-size:12px;}

.mfh, .mfo, .mfe,.mfc,.mfl {
    font-size: 9px;
    padding: 0 3px;
    background-color: #FDB7B7;
    color: #4F4F4F;
    font-weight: bold;
    display: inline-block;
}
.mfo { background-color: #FDDC8C; }
.mfc { background-color: #6B9F92; color: white; }
.mfe { background-color: #6C81C4; color: white; }
.mfl { background-color: #BFD2C3; }

.badge {
    font-size: 9px;
    padding: 2px 4px;
    font-weight: bold;
    display: inline-block;
    white-space: nowrap;
}

/* GALLERY STYLES */
dl.gallery {
    width: 110px;
    text-align: center;
    padding: 5px;
    float: left;
    margin-right: 0.5em;
    background: #ECF4EE;
    border: 1px solid #6B9F92;
    margin-bottom: 10px;
    overflow: hidden;
}

.gallery dt { font-weight: bold; font-size: 10px; }

.gallery dt img {
    border: 1px solid #000;
    max-width: 100px;
    max-height: 140px;
    height: auto !important;
    width: auto !important;
}

.gallery dd {
    margin: 0;
    padding: 0;
    font-size: 10px;
}

.full-cover-view {
    max-width: 600px;
    height: auto;
    border: 1px solid #6B9F92;
}

.inp {
    width:100%;
    height:18px;
    background-color:white;
    border-color:#797979;
    font-weight:bold;
    font-family:arial,helvetica;color:#797979;
    font-size:11px;
    box-sizing: border-box;
}

form {
    padding: 0px;
    margin: 0px;
}

#fieldset {
    width : 100%;
    padding : 0.5em;
    text-align: left;
}

#fieldset div {
    font-size:12px;
    text-align:left;
    width : 100%;
    display : block;
    margin : 1em 0em;
    clear: both;
}

#fieldset div span {
    font-weight: bold;
    margin-left: 10px;
}

#fieldset div input[type="text"],
#fieldset div select,
#fieldset div textarea,
#fieldset div input[type="file"] {
    display: block;
    width : 100%;
    font-family:arial,helvetica;
    color:#797979;
    font-size:11px;
    box-sizing: border-box;
    margin-top: 5px;
}

/* Responsive Adjustments */
@media (max-width: 1170px) {
    #wrapper {
        width: 100%;
    }
    #sidebar {
        display: none; /* Hide extreme right ads on small screens */
    }
}

@media (max-width: 800px) {
    #outer_wrapper2 {
        flex-direction: column;
    }
    #menu {
        width: 100%;
        text-align: center;
    }
    #menu a {
        width: auto;
        text-align: center;
        display: inline-block;
        padding: 5px;
    }
    #sidebar2 {
        width: 100%;
    }
}
