/**
 * Main CSS style for SPJF design
 * @author Miroslav Kvasnica - niwi, niwiweb.wz.cz, miradrda@volny.cz
 * @date 2.11.2011
 */

/*
 --
   Layout
 --
*/
body {
    margin: 0 12px;
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    text-align: center;
}
#layout {
    width: 1024px;
    margin: 0 auto;
    text-align: left;
    font-size: 13px;
}
#top {
    position: relative;
    display: block;
    height: 226px;
}
#top .top-link, #root-link {
    display: block;
    position: absolute;
    top: 0;
    text-indent: -9999px;
}
#top-link-ik {
    left: 461px;
    width: 122px;
    height: 40px;
}
a#top-link-es {
    left: 589px;
    width: 99px;
    height: 36px;
}
a#top-link-sp {
    left: 688px;
    width: 71px;
    height: 30px;
}
a#top-link-sh {
    left: 759px;
    width: 85px;
    height: 32px;
}
a#top-link-dl {
    left: 842px;
    width: 164px;
    height: 42px;
}

#top #login {
    position: absolute;
    top: 67px;
    right: 80px;
    width: 200px;
    height: 121px;
    background-image: url('../../images/spjf-design/loginbox-1.png');
    color: #BBBBBB;
    text-align: center;
    line-height: 1.5em;
}
#login fieldset, #login .inner {
    margin: 12px 10px 12px 13px;
    border: none;
}
#login h4 {
    padding: 3px 0 3px 0;
    font-size: 1.2em;
}
#login .inner a {
    font-size: 1.2em;
}
#login .inner .clubLink a {
    font-size: 1em;
    color: inherit;
}
#logtools {
    font-size: 0.75em;
}
#logtools label {
    margin: 0;
}
#inputs {
    text-align: right;
}
#login input {
    margin: 1px 0;
}
#inputs input {
    width: 85px;
}
#submit-button {
    font-size: 0.9em;
}

#root-link {
    top: 45px;
    left: 20px;
    width: 980px;
    height: 165px;
}

#base-panel {

}
#mid-right, #content.left-only {
    float: right;
    width: 811px;
}
#content {
    float: left;
    width: 980px;
    overflow: hidden;
}
#mid-right #content {
    float: left;
    width: 598px;
}
#content-inner {
    margin: 0 25px 10px 25px;
}

#right {
    position: relative;
    float: right;
    width: 212px;
    color: #333333;
    overflow: hidden;
}
.toolbox {
    margin: 0 0 8px 0;
}
.r-box, .toolbox {
    padding: 5px 23px 5px 8px;
}
.l-box {
    padding: 5px 8px 5px 23px;
}
.r-box h3 {
    color: #333333;
}

#left {
    float: left;
    width: 211px;
    overflow: hidden;
}

#footer {
    clear: both;
    height: 47px;
    padding: 0 30px;
    background: url('../../images/spjf-design/bottom-jag-1.png');
    color: #EEEEEE;
    line-height: 2em;
}
#footer .copyright a {
    color: white;
}
#footer .copyright a:hover {
    color: #fff046;
}
#debug-info {
    background: white;
}

ul.menu, .menu ul {
    margin: 1em 5px 1em 20px;
    list-style: none;
    font-size: 1.1em;
}
ul.menu li {
    line-height: 1.6em;
    font-weight: bold;
}
.menu li.long {
    font-size: 0.8em;
}
#left ul.menu li a {
    display: block;
    width: 180px;
    height: 23px;
    text-decoration: none;
    color: white;
}
ul.menu li.active > a {
    background-color: #c7b553;
}
#left ul.menu li a:hover, #left ul.menu li.active a:hover {
    background-color: #fff046;
    color: #444444;
}
ul.menu ul {
    margin: 0 0 0 10px;
    padding: 0;
}
ul.menu ul li {
    border: none;
    font-size: 0.8em;
}
ul.menu ul li a {
    color: white;
}

/* Menu image replacements */
#menu li .replace span {
    display: none;
}

/* Basic page elements --------------------------------------------------------------------------------------- */
h1 {
    margin: 0.6em 0 1em 0;
    border-bottom: 3px solid gray;
    text-shadow: rgba(220, 220, 220, 0.65) 2px 2px 3px;
    line-height: 1.2em;
}

#main-panel.ggg a {
    color: white;
}
#main-panel.ggg a.button {
    color: #735912;
}

/*
 --
   Specific elements
 --
*/

form.gsfb-form fieldset {
    background-color: #E8F5FF;
}
form.gsfb-form a {
    color: #7D430A;
}
form.gsfb-form a:hover {
    color: #c7b553;
}

input.button, a.button {
    color: #7D430A;
}
#right a.button {
    color: #666666;
}

#right h3 {
    color: white;
}
a:hover {
    color: black;
}
#right a:hover, #left a:hover {
    color: white;
}

#right #r-comments ul {
    margin: 0;
    line-height: 1.2em;
}
#right #r-comments li {
    list-style: none;
    margin-bottom: 10px;
}
#right #r-comments .date {
    color: #f7ffc1;
}
#right #r-comments li a {
    color: #333333;
    text-decoration: none;
}
#right #r-comments li a:hover {
    color: #666666;
    text-decoration: underline;
}

/* Clanky */
.perg1, .article {
    display: block;
    width: 550px;
    height: 150px;
    margin: 5px 0;
    background-image: url('../../images/spjf-shared/pergameny/pergamen1-1.png');
    text-decoration: none;
    color: #444444;
    overflow: hidden;
}
.article.private {
  background: #FFCCCC;
}
.perg1 .inner, .article .inner {
    height: 142px;
    overflow: hidden;
}
.article:hover {
    background-image: url('../../images/spjf-shared/pergameny/pergamen1a-1.png');
    color: #444444;
    cursor: pointer;
}
#main-panel.ggg .article {
    color: #222222;
}

.article .header, .article-detail .header {
    padding: 17px 15px 7px 15px;
    background-image: url('../../images/spjf-shared/pergameny/pergamen1a-1.png');
}
.article .details {
    padding: 0 0 0 2px;
}
.article h4 {
    padding: 0;
    color: #222222;
    font-size: 1.2em;
}
.article:hover h4 {
    text-decoration: underline;
}
.article .author {
    color: #758316;
    font-weight: bold;
}
.article .author, .article-detail .author a {
    color: #758316;
    font-weight: bold;
}
.article .content {
    margin: 5px 15px 0 15px;
}
.article .readers, .article-detail .readers {
    color: #888888;
}
.article .inner > img {
    float: left;
    margin: 6px 10px 15px 14px;
}

.article-detail .date {
    float: right;
    font-weight: bold;
}
.article-detail .perex {
    margin: 0 0 10px 0;
    padding: 10px 15px;
    background-image: url('../../images/spjf-shared/pergameny/per1telo-1.png');
}
.article-detail .perex img {
    float: left;
    margin-right: 5px;
}
.article-detail .header img {
    margin-left: 5px;
    vertical-align: middle;
}

.comment {
    margin: 0.5em 0;
    padding: 0;
}
.comment .header {
    margin: 0;
    padding: 17px 15px 12px 15px;
    background-image: url('../../images/spjf-shared/pergameny/pergamen1a-1.png');
}
.comment .header a {
    color: #758316;
}
.comment .content {
    padding: 5px 15px 13px 15px;
    background-image: url('../../images/spjf-shared/pergameny/per1telo-1.png');
}

/* Dalsi prvky */
.face {
    color: #666666;
    text-decoration: none;
}
.face strong {
    text-decoration: underline;
}
