/* karf.cz layout styles  */

html { padding: 0; margin: 0;}
body { padding: 0; margin: 0; background: #181818 url(img/bg-body.jpg) repeat 0 0; color: #ccc; }

h1, h2, h3, h4, h5, h6, caption, strong { color: #e0e0e0; }

a {color: #e0e0e0; }
a:visited {color: #e0e0e0;}
a:hover {color: #ff7800 ; }
.active a:hover { color: #ff7800; }
a.ext {background: url("img/ico-ext.png") no-repeat right top; padding-right: 11px; }

img {border: 0; padding: 0; }

.sprite { position: absolute; top: 0; right: 0; width: 100%; height: 100%; background: no-repeat 0 0; }

.date { word-spacing: -1px; color: #666666; }

/* Layout */
#mother { width: auto; text-align: center; margin: 0; position: relative; zoom: 1; background: url(img/bg-mother.jpg) repeat-x 0 -4px; }
#main { width: auto; margin: -20px 0 0 0; padding-bottom: 30px; min-height: 500px; _height: 500px; zoom: 1; }
.main-col { width: 940px; margin: 0 auto; position: relative; text-align: left; }

#col-left { width: 640px; margin: 0; float: left; zoom: 1; }
#col-left:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
#col-right { width: 220px; margin: 0; float: right; position: relative; padding-top: 0.7em;}

/* Header */
#header { position: relative; height: 105px; background: url(img/bg-header.jpg) no-repeat 50% -5px; }
#header .main-col { height: 100%; }

#logo { position: absolute; left: 0; top: 28px; }
#logo img { margin: 0; padding: 0; border: 0; font-size: 300%; color: white; font-variant: small-caps;}

/* Footer */
#footer { color: #666; font-size: 12px; }
#footer .spc { padding: 8px 0 20px; border-top: 1px solid #333;}
#footer p { margin: 0.2em;}

#nav-skip { position: absolute; left: -2000px; }
#nav-skip a:focus, #nav-skip a:active { position: absolute; left: 2000px; }

/* Main menu */
#main-menu { position: absolute; top: 42px; right: 0; width: 70%; font-size: 13px; font-family: OpenSansSemibold;}
#main-menu ul { padding: 0; margin: 0; list-style-type: none;  float: right; }
#main-menu ul li { padding: 0 0 0 25px; margin: 0; background: none; float: left;  }
#main-menu ul li a { display: block; text-decoration: none; color: #aaa; text-transform: uppercase; _float: left; padding-left: 6px; }
#main-menu ul li a span {  display: block; padding: 0; _float: left; _height: 1px; }
#main-menu ul li a:hover { color: #fff; }
#main-menu ul li.active a { color: #fff; }

/* Side menu */
.side-menu li.active { font-weight: bold; }
.side-menu ul li { margin-bottom: 0.2em; }

.side-menu h2 a { text-decoration: none; }
.side-menu h2 { font-size: 21px; margin-bottom: 10px; }
.side-menu .gallery-list ul { margin-bottom: 0; }


.rss-menu li { background: none; padding-left: 0;}
.rss-menu li a { background: url(img/feed.png) no-repeat 0 2px; padding: 2px 0 2px 22px;}

/* News */
.news ul { list-style: none; padding: 0; margin: 0.5em 0 0 0; overflow: hidden; }
.news ul li { clear: both; padding: 0; background: none; margin: 0 0 0.5em 0; float: left; width: 100%; overflow: hidden;}
.news ul li .desc { margin: 0 0 5px 105px; }
.news ul li.no-img .desc, .news ul li.no-img .foot, .news ul li.no-img .subhead {  margin-top: 0; margin-left: 0; }
.news ul li h3 { margin: 0; }
.news ul li h3 .name{ display: block; margin-bottom: 0.5em; }
.news ul li h3 a .name  { display: block; margin-bottom: 0.5em; text-decoration: underline; }
.news h3 a img { float: left; margin: 0 0 1em 0; }
.news ul li .date{ font-weight: bold; margin-bottom: 0;}

/* Articles list */
.articles-list { margin-top: 40px; }
h1 + .articles-list { margin-top: 20px; }
.articles-list ul { margin: 0 0 20px 0; padding: 0; }
.articles-list ul li { margin: 0 0 20px 0; padding: 20px 0 1px; background: none; }
.articles-list ul li:first-child { padding-top: 10px; }
.articles-list ul li .foot { font-size: 84.61%; color: #555; margin-top: 0px; padding: 4px 0px; }
.articles-list ul li .foot span { margin: 0 5px; }
.articles-list ul li h2 { margin-top: 0; }
.articles-list ul li h2 a { display: block; text-decoration: none; }
.articles-list ul li h2 a span { display: block; }
.articles-list ul li h2 img { float: left; padding: 0; margin: 10px 20px 5px 0 ; display: block; border: 1px solid #111; box-shadow: 0 5px 20px rgba(0,0,0,0.7); clear: left; }
.articles-list ul li a:hover img { border-color: #888; }
.articles-list ul li .small { font-size: 13px; line-height: 23px; }
.articles-list ul li .desc { font-size: 15px; line-height: 23px; }

.article-foot { color: #666666; font-size: 84.61%; }

/* Prologue */
#prologue { padding: 1px 0 5px 30px; margin-bottom: 0; }
#prologue #annot { font-weight: bold; font-size: 116%; color: #ccc; }

.annot { margin-bottom: 1.5em; color: #ccc; font-family: OpenSansSemibold;}

/* Breadcrumb */
#breadcrumb { padding: 18px 0 0 0; font-size: 10px; font-family: Arial, sans-serif; color: #555; zoom: 1; }
#breadcrumb p { margin: 0; }
#breadcrumb a, #breadcrumb a:visited { color: #555; }
#breadcrumb a:hover { color: #999; }
.arr-breadcrumb { font-size: 109%; }


.arr-next { background: url(img/btn-next.png) no-repeat 0 0; width: 27px; height: 27px; float: right; text-indent: -9999px; }
.arr-prev { background: url(img/btn-prev.png) no-repeat 0 0; width: 27px; height: 27px; float: left; text-indent: -9999px; }
.arr-next:hover, .arr-prev:hover, .arr-next:focus, .arr-prev:focus { background-position: 0 -100px; outline: none; }
.arr-next:active, .arr-prev:active { outline: none; }

.prevnext { float: right; margin-top: -38px; =margin-top: -20px; word-spacing: 5px; font-family: Arial, sans-serif; font-size: 84.61%; font-weight: bold; position: relative; width: 65px; zoom: 1; }

.ico-comments { background: url(img/comments.png) no-repeat 0 50%; padding: 2px 0 2px 20px; margin-left: 3px}
.ico-page { background: url(img/page_white_text.png) no-repeat 0 50%;  padding: 2px 0 2px 20px; margin-left: 3px }
.ico-date { background: url(img/calendar.png) no-repeat 0 50%;  padding: 2px 0 2px 20px; margin-left: 0px }
.ico-author { background: url(img/user.png) no-repeat 0 50%;  padding: 2px 0 2px 20px; margin-left: 3px }

.featured-image { float: right;  margin: 0 0 10px 20px; zoom: 1; position: relative; }
.featured-image img { padding: 0; margin: 0; display: block; border: 1px solid #111; =float: left; }

.side-comments ul { margin: 0; padding: 0; font-size: 13px; }
.side-comments ul li { margin: 0 0 10px; padding: 10px 0 0 0; background: none; border-top: 1px dotted #555; line-height: 1.4;}
.side-comments ul li:first-child { border-top: 0; padding-top: 0; }
.side-comments ul li .comm-author { font-variant: small-caps; font-size: 115.38%; color: #ccc; margin-right: 5px; float:left; }
.side-comments ul li .comm-date { float: right; color: #666; font-size: 12px; }
.side-comments ul li .comm-head { margin: 0px 0 8px; }
.side-comments ul li .comm-body { margin: 0px 0 8px; }

.twitter-box { display: none; }
.twitter-box h2 { margin-top: 10px; }
.twitter-box ul { background: none; padding: 0; font-size: 13px; line-height: 1.4; }
.twitter-box ul li { background: none; padding: 0; margin: 0 0 10px; }
.twitter-box ul li a, .twitter-box ul li a:visited { text-decoration: none; }
.twitter-box ul li a:hover { text-decoration: underline; }
.twitter-box ul li p.date { margin: 3px 0; font-size: 11px; }
.ico-twitter { background: url(img/twitter.png) no-repeat 0 50%; padding: 2px 0 2px 32px; }

/* Forms */
input { vertical-align: middle; }
form { margin: 0; }
form p { margin-bottom: 0.5em; }

.formbox { padding: 20px 20px; }
.formbox .inp-text { border: 1px solid #ACA899; border-right-color: #FDF9EA; border-bottom-color: #FDF9EA; }
.formbox .inp-text:focus { background: #F0EFE5; }

.comm-lab { margin: 0; float: left; width: 7em;}
.comm-inp input { width: 17em; }
.comm-send { margin: 0 0 0 7em; }
.comm-inp input, textarea { background: #ddd; border: 1px solid #fff;}

.inp-text { vertical-align: bottom; font-size: 100%; font-family: Arial, sans-serif; padding: 2px 0; border-style: inset; }

/* Widths */
.w-full { width: 100%; }
.w-75 { width: 75%; }
.w-half { width: 50%; }
.w-third { width: 31%; }
.w-quarter { width: 25%; }
.w-eighth { width: 12.5%; }

.col-h-l { width: 48%; float: left; display: inline; }
.col-h-r { width: 48%; float: right; display: inline; }

.error-message, .ok-message { color: red; font-size: 100%; font-weight: bold; }
.ok-message { color: #007a00; }
.error { color: red; }

/* Galleries list */
.galleries-list { margin: 35px 0 0 0; }
.galleries-list ul { margin: 0 0 30px -40px; padding: 0; background: none; zoom: 1; position: relative; }
.galleries-list ul:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.galleries-list ul li { float: left; margin: 0 0 0 40px; padding: 0; background: none; width: 420px; _display: inline; }
.galleries-list ul li h3 { margin: 0 0 5px 220px; padding: 0; }
.galleries-list ul li a { text-decoration: none;}

.galleries-list ul li .img-box { float: left; width: 220px; margin-left: -220px; }
.galleries-list ul li img { margin: 0; padding: 0; display: block; margin: 0 auto; padding: 0; display: block; border: 0; margin-bottom: 7px; border: 1px solid #111; box-shadow: 0 5px 20px rgba(0,0,0,0.7);   font-size: 84.61%; _position: relative; _display: inline; }
.galleries-list ul li a:hover img { border-color: #888; }
.galleries-list ul li .name { display: block; }
.galleries-list ul li .desc { margin: 0 0 5px 220px; font-size: 14px; line-height: 20px; }

.galleries-list ul li .foot { margin: 0 0 0 220px; display: block; font-size: 84.61%; }

/* Gallery list */
.gallery-list { position: relative; margin: 5px 0 0; zoom: 1; }
h2 + .gallery-list { margin-top: 15px; }
.gallery-list h2 {  }
.gallery-list ul { margin: 0 0 20px 0px; padding: 0; zoom: 1; display: table; width: 100%; }
.gallery-list ul:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.gallery-list ul li {  margin: 0 0 0 20px; padding: 0;  width: 220px; position: relative;  background: none; display: table-cell; vertical-align: middle; float: none; margin: 0; width: 235px; =float: left; =display: inline; }
.gallery-list ul li h3 { margin: 0; padding: 0; font-size: 12px; text-transform: none; }
.gallery-list ul li h3 a, .gallery-list ul li h3 a:visited { color: #dee3d7; text-decoration: none; padding: 0 0 5px; display: block; text-align: center; zoom: 1; }
.gallery-list ul li h3 a:hover { color: #fff; }

.gallery-list ul li img { margin: 0 auto; padding: 0; display: block; border: 0; margin-bottom: 7px; border: 1px solid #111; box-shadow: 0 5px 20px rgba(0,0,0,0.7); }
.gallery-list ul li a:hover img { border-color: #888; }
.gallery-list ul li .corner { width: 30px; height: 30px; position: absolute; top: 0px; right: 0px; background: url(../img/bg-corner.png) no-repeat 100% 0; }
.gallery-list ul li .name { display: block; font-size: 11px; font-family: OpenSansRegular, Arial, sans-serif; font-size: 12; line-height: 1.2; padding: 3px 20px; color: #999; }
.gallery-list ul li .desc { display: block; margin: 0; font-size: 11px; font-weight: normal; line-height: 1.2; padding: 3px 20px 8px; }

.gallery-list ul li a:hover .name { color: #fff; }

.gallery-list ul li .foot { margin: 0 -10px; display: block; font-size: 0px; min-height: 7px; _height: 7px; zoom: 1;  }

.side-menu .gallery-list { margin: 20px 0 0 0; }
.side-menu .gallery-list ul li { margin: 0 0 20px 0; float: none; display: block; width: auto; }


.photo-big { margin: 20px auto 38px; padding: 10px 0 0 0; text-align: center; zoom: 1; position: relative;}
.photo-big .wrap { display: block; zoom: 1; position: relative; margin: 0 auto; }
.photo-big img { padding: 0px; border: 0; display: block; margin: 0 auto;  }
.photo-big p { display: none; }
.photo-big + h1 { font-size: 28px; margin: 10px 0 5px; }
.photo-annot { font-size: 14px; line-height: 24px; margin-bottom: 30px; }

.sh-tl { background: url(img/sh-tl.png) no-repeat 0 0; width: 15px; height: 15px; position: absolute; top: -15px; left: -15px; }
.sh-tm { background: url(img/sh-tm.png) repeat-x 0 0; width: 100%; height: 15px; position: absolute; top: -15px; left: 0; }
.sh-tr { background: url(img/sh-tr.png) no-repeat 0 0; width: 17px; height: 15px; position: absolute; top: -15px; right: -17px; }
.sh-ml { background: url(img/sh-ml.png) repeat-y 0 0; width: 15px; height: 100%; position: absolute; top: 0; left: -15px; }
.sh-mr { background: url(img/sh-mr.png) repeat-y 0 0; width: 17px; height: 100%; position: absolute; top: 0; right: -17px; }
.sh-bl { background: url(img/sh-bl.png) no-repeat 0 0; width: 15px; height: 17px; position: absolute; bottom: -17px; left: -15px;}
.sh-bm { background: url(img/sh-bm.png) repeat-x 0 0; width: 100%; height: 17px; position: absolute; bottom: -17px; left: 0; }
.sh-br { background: url(img/sh-br.png) no-repeat 0 0; width: 17px; height: 17px; position: absolute; bottom: -17px; right: -17px; }

#content { zoom: 1; }

.comments, .add-comment { width: 640px; }
.comments ul li { background: none; margin: 0 0 15px 0; padding: 0; border-top: 1px solid #333; }
.comments ul li .comm-num { float: left; font-size: 20px; width: 40px; text-align: right; margin-top: 9px; padding-right: 8px; line-height: 22px; font-family: OpenSansSemibold; color: #ccc; }
.comments ul li .comm-head { margin: 6px 0 2px 60px; border-bottom: 0px dotted #333; padding: 0 0 2px 0; }
.comments ul li .comm-author { font-variant: small-caps; color: #ccc; margin-right: 5px; font-weight: bolder;  }
.comments ul li .comm-date { float: right; font-size: 13px; }
.comments ul li .comm-body { margin-left: 60px; font-size: 15px; line-height: 23px; }

/* Paging */
.paging { padding: 10px; overflow: hidden; margin: 20px 0; border: 1px solid #2e2e2e; border-width: 0px 0; clear: both; font-family: OpenSansRegular, Arial, sans-serif; }
.paging { text-align: right;  background: #171717; padding: 3px 10px; font-size: 13px; }
.paging a { margin-left: 2px; padding: 3px 3px; }
.paging a.active { font-family: OpenSansSemibold, Arial, sans-serif; font-size: 15px; }
.paging strong { font-family: OpenSansSemibold, Arial, sans-serif; }

a.adlink, a.adlink:visited { color: #444; font-size: 11px; }

/* IE behaviors */
.gallery-list ul li img, .galleries-list ul li img, .articles-list ul li h2 img, .featured-image img  { box-shadow: 0 5px 20px #0c0c0c;  behavior: url(/css/PIE.php); } 

