/* l3chir.com - Reconstructed Artisteer v3 Theme CSS */
/* Based on original HTML structure from 2014 Wayback snapshot */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: Tahoma, Arial, sans-serif;
    background-color: #e8e8e8;
    direction: rtl;
    text-align: right;
    color: #333;
    font-size: 13px;
    line-height: 1.5;
}

a { color: #046380; text-decoration: none; }
a:hover { color: #9e2020; text-decoration: underline; }

img { border: 0; max-width: 100%; height: auto; }
table { border-collapse: collapse; }
fieldset { border: 1px solid #ccc; margin: 5px 0; padding: 8px; border-radius: 3px; background: #fff; }

/* Top welcome bar */
#nave1 {
    background: linear-gradient(to bottom, #363C62, #2a2e4d);
    color: #fff;
    text-align: center;
    padding: 4px 0;
    font-size: 12px;
}
#nave1 ul { list-style: none; margin: 0; padding: 0; }
#nave1 ul li a { color: #fff; text-decoration: none; }

/* Header */
#header {
    background: linear-gradient(to bottom, #046380, #034a5e);
    width: 1024px;
    margin: 0 auto;
    padding: 5px 0;
}
#header table { margin: 0 auto; }
#header img { display: block; }

/* Navigation */
#nave {
    background: linear-gradient(to bottom, #046380, #034a5e);
    width: 1024px;
    margin: 0 auto;
    border-top: 1px solid #0a7a9a;
}
#nave ul#navee {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    direction: rtl;
}
#nave ul#navee li {
    display: inline-block;
}
#nave ul#navee li a {
    display: block;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    font-size: 14px;
    border-left: 1px solid rgba(255,255,255,0.15);
    transition: background 0.2s;
}
#nave ul#navee li a:hover,
#nave ul#navee li.corrent a {
    background: rgba(0,0,0,0.25);
    color: #ffd700;
}

/* Main container */
#container {
    width: 1024px;
    margin: 0 auto;
    display: flex;
    direction: rtl;
    background: #fff;
    min-height: 600px;
}

/* Left sidebar */
#sidbar1 {
    width: 210px;
    padding: 8px;
    border-left: 1px solid #ddd;
    flex-shrink: 0;
}

/* Main content */
#content {
    flex: 1;
    padding: 10px;
    min-width: 0;
}
#content article { direction: rtl; text-align: right; }

/* Right sidebar */
#sidbar2 {
    width: 210px;
    padding: 8px;
    border-right: 1px solid #ddd;
    flex-shrink: 0;
}

/* Sidebar boxes */
.sous-sidebar1 {
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
}
.sous-sidebar1 table { width: 100%; }
.sous-sidebar1 td { padding: 5px; font-size: 12px; vertical-align: top; }
.sous-sidebar1 img { display: block; margin: 3px auto; }
.sous-sidebar1 a { color: #333; }
.sous-sidebar1 a:hover { color: #9e2020; }

/* Sidebar nav lists */
.nav { list-style: none; margin: 7px; padding: 0; }
.nav li {
    padding: 5px 8px;
    border-bottom: 1px solid #eee;
}
.nav li a { color: #333; font-size: 13px; }
.nav li a:hover { color: #046380; }

/* Article cards on homepage */
#content fieldset h3 {
    font-size: 13px;
    font-weight: bold;
    padding: 5px;
    margin: 0;
}
#content fieldset h4 {
    font-size: 12px;
    font-weight: normal;
    color: #444;
    line-height: 1.6;
}
#content fieldset .image img {
    border-radius: 3px;
}

/* Slides/slider */
#slides {
    width: 100%;
    max-width: 610px;
    margin: 0 auto 10px;
    overflow: hidden;
    position: relative;
}
#slides img {
    display: block;
    width: 100%;
    height: auto;
}

/* Video page layout */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 10px 0;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Video/content grid */
#content table { width: 100%; }
#content table td { padding: 5px; vertical-align: top; }
#content table img { border-radius: 3px; }

/* Footer */
#footer {
    background: linear-gradient(to bottom, #363C62, #2a2e4d);
    color: #fff;
    text-align: center;
    padding: 12px 0;
    width: 1024px;
    margin: 0 auto;
    font-size: 12px;
}

#subfooter {
    height: 5px;
    background: #046380;
    width: 1024px;
    margin: 0 auto;
}

/* Film pages */
.film-list { margin: 10px 0; }
.film-list table { width: 100%; border: 0; }
.film-list td { padding: 8px; border-bottom: 1px solid #eee; }

/* Category header bars */
td[style*="background-color: #006"] {
    border-radius: 3px 3px 0 0;
}
td[style*="background-color: #046380"] {
    border-radius: 3px 3px 0 0;
}
td[style*="background-color: #363C62"] {
    border-radius: 3px 3px 0 0;
}

/* Responsive adjustments */
@media (max-width: 1040px) {
    #header, #nave, #container, #footer, #subfooter {
        width: 100%;
    }
}
@media (max-width: 768px) {
    #container {
        flex-direction: column;
    }
    #sidbar1, #sidbar2 {
        width: 100%;
        border: none;
        border-top: 1px solid #ddd;
    }
    #header table { width: 100%; }
    #nave ul#navee { flex-wrap: wrap; }
    #nave ul#navee li a { padding: 6px 12px; font-size: 12px; }
}
