﻿/*
	Name: Spoločnosť Via Cassa
	Date: December 2009
	Version: 2.0
	Author: Roman Veselý, admin@viacassa.sk
	---------------------------------------
	Background color: #d5be95	|	Body font size: 87.5% - 14px
	Text color: #3d240c			|	18px - 1.286em - h3
	Summary color: #662333		|	22px - 1.571em - h2
	Link color: #900			|	12px - 0.857em - footer
	Alt link color: #090641		|	16px - 1.143em - h4
	H2 color: #555
	H3 color: #444
*/

/* import */
@import url("css/reset.css");

/* html5 */
header, section, footer, aside, nav, article { display: block; }

/* fonts */
@font-face { font-family: "Sorts Mill Goudy"; src: url(type/OFLGoudyStM.otf); }
@font-face { font-family: "Sorts Mill Goudy"; src: url(type/OFLGoudyStM-Italic.otf); font-style: italic; }

::selection { background:#645346; color:#f4edd3; }
::-moz-selection { background:#645346; color:#f4edd3; }
a::selection { color: #fff; } a::-moz-selection { color: #fff; }

body { background: #d5be95 url(images/bg.jpg) center 20px repeat; font: 87.5%/1.5em georgia, "times new roman", times, serif; color: #3d240c; text-align: justify; }

a { color: #900; text-decoration: underline; }
a:hover { text-decoration: none; }
a:visited { color: #6a0202; }
a:focus  { color: #3d240c !important; background:#f2e5be no-repeat; }

h1 { font-size: 48px; }
h2 { color: #555; font-size: 1.571em; font-style: italic; font-weight: normal; text-shadow: 1px 1px 2px #666; text-align: center; line-height: 1.5em; padding: .5em 0; }
h3 { color: #444; font-size: 1.286em; font-variant: small-caps; text-shadow: 1px 1px 1px #666; text-align: left; margin-bottom: .5em; }
h4 { font-size: 1.143em; }

h2 a, h2 a:visited { color: #555; text-decoration: none; }
h3 a, h3 a:visited { color: #444; text-decoration: none; }
h2 a:hover, h3 a:hover { color: #900; text-decoration: underline; }
section h2, aside h2 { background: url(images/bg-h2.png) center bottom no-repeat; margin-bottom: .5em; }

header h3 { margin-bottom: 0; }

p { margin: 0 0 1em 0; }

ul, ol { margin-bottom: 1em; }
ol, ol li { list-style-type: decimal !important; }

img, a:hover img { border: solid 4px #d5be95;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	box-shadow: 0px 0px 3px #000;
	-moz-box-shadow: 0px 0px 3px #000;
	-webkit-box-shadow: 0px 0px 3px #000;
}
a img { text-decoration: none !important; }
a:hover img { border-color: #b59d72; }
section img { opacity: 1; filter: alpha(Opacity=100); }
section a:hover img { opacity: 0.9; filter: alpha(Opacity=90); }

blockquote { padding: 1em 0 0 2em; margin-bottom: 1em; color: #931E3A; font-style: italic; border: 1px solid #931E3A; border-left: none; border-right: none; }
blockquote h3 { color: #931E3A; }

hr { display: none; }

/* menu */
nav { background: url(images/bg-menu.jpg) center top; width: 940px; margin: 0 auto; height:80px; font-size: 19px; }
nav a:focus { background: transparent; }
.cl {clear: both;}
nav a:hover { text-decoration: underline !important; }
nav ul.uroven1 { position: relative; height: 70px; overflow: hidden; margin-left: 10px; width: 100%; }
nav ul.uroven2 { position: absolute; left: 0px; top: 35px; display: block; height: 45px; visibility: hidden; width: 920px; background: #3d240c url(images/bg-menu.jpg) left bottom; margin-left: -10px; padding-left: 10px;}

nav li.uroven1 { float: left; height: 35px; background: url(images/menu-bodka.jpg) right center no-repeat; padding-right: 10px; }
nav li.uroven2 { float: left; background: none; padding-right: 11px; }
nav li.uroven1 a { color: #381b14 !important; font-variant: small-caps; text-shadow: 0px 0px 3px #fff; text-decoration: none; display: block; line-height: 35px; padding: 0 3px; }
nav li.uroven2 a { color: #fff !important; font-variant: normal; text-shadow: 0px 0px 3px #000; padding: 0 5px; }

nav li.a1 a { background: url(images/bg-menu-active.png) center center no-repeat; }
nav li.a2 a { background: url(images/bg-menu-active2.png) center center no-repeat !important; }
nav li.a1 a:hover, nav li.a2 a:hover { text-decoration: none !important; cursor: default !important; }
nav li.a1 li a:hover { text-decoration: underline !important; cursor: pointer !important; cursor: hand !important; }

nav li#aktivni li.uroven2 a { background: none ;}
nav li#aktivni ul { visibility: visible; }

/* hover */
nav li.uroven1#aktivniHover ul, nav li.uroven1#aktivni:hover ul { visibility: visible; z-index: 1; }
nav li.uroven1Hover ul.uroven2, nav li.uroven1:hover ul.uroven2 { visibility: visible; z-index: 2; }

nav li.last { background: none; }

/* other */
#main { background: #f4edd3 url(images/bg-main.jpg) center top; width: 980px; margin: 0 auto; margin-top: 20px; }

#main > header { background: url(images/bg-header.jpg) center top no-repeat; padding-top: 50px; }

header h1 { width: 701px; margin: 0 auto; text-align: center; }
header h1 a { position: relative; width: 701px; height: 90px; display: block; line-height: 90px; text-decoration: none; }
header h1 a span { display: block; position: absolute; top: 0; left: 0; background: url(images/logo.jpg) top left no-repeat; width: 701px; height: 90px; }

header hgroup h2 { color: #000; text-transform: lowercase; font-size: 18px; text-shadow: 0 0 2px #000; letter-spacing: 1px; font-family: "Sorts Mill Goudy", georgia, "times new roman", serif; padding: 0 0 10px 0; font-style: italic; line-height: 1em; }
header hgroup h2:before { content: "- "; } header hgroup h2:after { content: " -"; }
header hgroup h3 { display: none; }

#topforms { width: 940px; margin: 0 auto; background: url(images/line1.jpg) top center no-repeat; padding: 3px 0 2px 0; position: relative; height: 1.65em; }
#topforms input { font-size: 12px; border: 1px solid #dec6a1; }
#topforms label { display: none }
#topforms a { text-decoration: none; }
#topforms a:hover { text-decoration: underline; }

#topforms #loginform { position: absolute; top: 3px; left: 10px; }
#topforms #loginform #wp-submit { display: none; }
#topforms #loginform:hover #wp-submit { display: inline; }

#topforms #searchform { position: absolute; top: 3px; right: 10px; }
#topforms #searchform #searchsubmit { display: none; }
#topforms #searchform:hover #searchsubmit { display: inline; }

#teaser { width: 940px; margin: 0 auto; background: url(images/line1.jpg) top center no-repeat; padding: 3px 0 2px 0; position: relative; }
#teaser #slides { margin: 0 auto; width: 920px; height: 150px; overflow: hidden; }
#teaser img { border: none !important; }

#content-main { width: 920px; margin: 0 auto; }
#content-archive { width: 960px; margin: 0 auto; }

#content { width: 610px; float: left; margin-left: 30px; }

#pripravovane-akcie, #posledne-akcie { width:450px; float: left; }
#pripravovane-akcie { margin-right: 20px; }
#clanky, #oznamy, #novinky { width: 300px; float: left; margin-right: 10px;  }
#novinky { margin: 0; }

article { background: url(images/line-article.png) bottom center no-repeat; padding-bottom: 1em; margin-bottom: .5em; width: 100%; overflow: hidden; }
#content-archive article { width: 450px; float: left; margin-left: 20px; }

article header p { font-size: 0.857em; margin-bottom: .3em; text-align: left; }
article header p em { font-weight: bold; }
article ul { margin: 0 0 1em 0; }
article li { padding-left: .5em; list-style: disc inside; }

article div.entry { min-height: 10em; }

article.singlepage div.entry > p:first-child { color: #662333; font-style: italic; font-size: 1.143em; line-height: 1.312em; }
article.singlepage div.entry > p:first-child a { color: #623538; }
article.singlepage div.entry > p:first-child:first-letter { font-style: normal; font-weight: bold; font-size: 3em; float: left; margin: .17em .15em 0 0; }



aside { width: 300px; float: right; margin: 0 30px 2em 0; }
aside h4 { text-align: center; }
aside h4 em { font-weight: normal; }

#rprposts { clear: both; background: #3d240c url(images/bg-warning.jpg) center center; width: 892px; margin: 1em auto 2em auto; overflow: hidden; padding: 0 1em .4em 1em; color: #fff;
border-radius: 15px; -moz-border-radius: 15px; -webkit-border-radius: 15px;
box-shadow: 0px 0px 5px #000 inset; -moz-box-shadow: 0px 0px 5px #000 inset; -webkit-box-shadow: 0px 0px 5px #000 inset; }
#rprposts h2 { color: #E9E4D0; text-shadow: 1px 1px 3px #000; background: none; margin-bottom: 0; }
#rprposts a { color: #E9E4D0; text-decoration:none; font-variant: small-caps; }
#rprposts a:hover { text-decoration: underline; color: #fff; }
.first, .second, .third { width: 33%; float: left; text-align: center; }

footer { background: url(images/bg-footer.png) top left no-repeat; height: 135px; width: 920px; margin: 0 auto; }
footer p { padding: 90px 0 0 160px; font-size: 0.857em; margin: 0; }
footer a, footer a:visited { color: #090641; text-decoration: none; }
footer a:hover { text-decoration: underline; }

.navigation { padding-bottom: .4em; margin: -1em 0 1em 0; background: url(images/line1.jpg) bottom left no-repeat; overflow: hidden; width: 100%; text-align: left; }
.navigation .float_left { width: 200px; text-align: right; }
.navigation .float_right { width: 200px; }

.post-info { margin: 3.5em 0 1em 0; padding: 0 0 1.2em 1.5em; background: url(images/line1.jpg) bottom left no-repeat; }
.post-info p { margin-bottom: 0; }
.post-info h3 { margin: 0.5em 0; }

#respond { clear:both; margin-bottom: 1em; }
textarea { width: 97%; border: 1px solid #dec6a1; padding: 10px; /*overflow:hidden;*/ background: #fff url(images/bg-input.jpg) left top no-repeat;}
label { display: block; width: 60px; float: left; font-weight: bold; }
#gbname, #gbemail, #gburl, #securecode, #author, #email, #url, #s, #user_login, #user_pass, span.your-name input, span.your-email input, span.your-subject input {border: 1px solid #dec6a1; padding: 3px; background: url(images/bg-input.jpg) left top no-repeat; }
#submit { font-size: 1.2em; padding: 10px; display: block; margin: .5em 0; width: 100%; color: #E9E4D0; font-family: georgia, "times new roman"; text-shadow: 0px 0px 3px #000; clear: both;
border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; background: #3d240c; border: 3px solid #3d240c; -moz-box-shadow: 0px 0px 3px #000; box-shadow: 0px 0px 3px #000; -webkit-box-shadow: 0px 0px 3px #000; }
#submit:hover { color: #fff; background: #584029; cursor: hand; }
#submit:focus { border-color: #000; outline: 0; }

ol.commentlist { background: url(images/line1.jpg) center top repeat-x; margin-top: 1em; padding-top: 1em; list-style-type: none !important; }
ol.commentlist li { background: url(images/line1.jpg) center bottom repeat-x; margin-bottom: 1em; padding-bottom: .5em; list-style-type: none !important; }
ol.commentlist .comment-author, ol.commentlist .comment-meta { width: 200px; text-align: right; }
ol.commentlist .comment-body .comment-meta { margin-bottom: 1em; }
ol.commentlist .comment-text { width: 380px; margin: -4em 0 0 220px; }
ol.commentlist cite { font-weight: bold; }
ol.commentlist .comment-meta a { color: #3d240c; text-decoration: none; }

.formleft { float: left; width: 220px; margin-bottom: 1em; }
.formright { float: right; width: 390px; }
.formright textarea { width: 360px !important; margin-left: 8px; }

/* gallery - ngg */
.ngg-galleryoverview { padding: 10px 0 0 31px; background: url(images/bg-gallery.png) 2px top repeat-y; margin: .5em 0; }
.ngg-galleryoverview img { margin: 0 9px 4px 0; }
.ngg-gallery-thumbnail-box { float: left; }
.ngg-clear { clear: both; height: 0; }

/* page numbers */
#wp_page_numbers { clear: both; margin-left: 20px; margin-bottom: 1em; list-style: none; }
#wp_page_numbers li { float: left; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; background: #3d240c; border: 3px solid #3d240c; margin-right: 3px; -moz-box-shadow: 0px 0px 3px #000; box-shadow: 0px 0px 3px #000; -webkit-box-shadow: 0px 0px 3px #000; list-style: none; padding: 0; }
#wp_page_numbers .page_info { background: #584029; color: #fff; padding: 5px; }
#wp_page_numbers .active_page { border-color: #7B5939; }
#wp_page_numbers a { border-radius: 3px; text-decoration:none; color: #E9E4D0; padding: 5px; display:block; }
#wp_page_numbers a:hover { text-decoration:none; color: #fff; background: #584029; }

article #wp_page_numbers { margin-left: 0 !important; }

/* zbrojnica */
.zbrojnica { background: url(fotky/zbrojnica.png) top right no-repeat; padding-bottom: 100px; }
.zbrojnica p { font-size: 150%; line-height: 1.5em; color: #662333; /*font-style: italic;*/ }
.zbrojnica > p:first-child:first-letter { font-style: normal; font-weight: bold; font-size: 3em; float: left; margin: .17em .15em 0 0; }
.zbrojnicakon .wpcf7 { width: 50%; }
.zbrojnica .wpcf7 p { line-height: 1.5em; font-size: 100%; color: #3d240c; }
.zbrojnica .podpis { font-family: "Sorts Mill Goudy", georgia, "times new roman", serif; font-style: italic; font-size: 200%; text-indent: 210px; }
.zbroj-szbrane { text-align: left; }
.zbroj-szbrane a { padding-right: 7px; }

/* historicky kalendar */
#calendar { position: absolute; top: 0; height: 100px; width: 720px; background: url(images/bg-calendar.png) top left no-repeat; }
#calendar h2 { margin: 0; padding: 0; text-indent: -5000px; line-height: 0; height: 0; }
#calendar h3 { color: #555; font-size: 16px; letter-spacing: 1px; width: 135px; float: left; text-align: center; font-variant: normal; font-style: italic; font-weight: normal; text-shadow: 0px 0px 2px #333; padding: 20px 0 0 0; }
#calendar h3 strong { color: #000; font-size: 24px; font-weight: normal; font-style: normal; letter-spacing: 0px; }
#calendar h3 span { color: #900; font-size: 32px; margin-right: -5px; }
#calendar ul { margin-top: .5em; float: left; width: 550px; }
#calendar li { margin-left: 1em; height: 1.5em; overflow: hidden; }
#calendar li a, #calendar li a:visited { text-decoration: none; color: #3d240c; }
#calendar li a:hover { color: #900; text-decoration: underline; }
#calendar li b { font-weight: normal; font-style: italic; }


/* classes */
.skip, .says { display: none; }
.more-link:hover:after { content: " »"; }
.rss { font-weight: bold; color: #ff2a00 !important; }
.search-excerpt { background: yellow; }
.imgbb { border:none; box-shadow: none; }

.float_left, .alignleft, .ngg-left { float: left; display:inline; margin: 1em 1em .5em 3px; }
.float_right, .alignright, .ngg-right { float: right; display:inline; margin: 1em 3px .5em 1em; }
.center, .aligncenter, .ngg-center { text-align:center; margin: 1em auto; }
.articlealignleft { float: left; display:inline; margin: .5em 1em 0 3px; }

.icon { padding-left: 20px; background-position: left center; background-repeat: no-repeat; }
a.sme { background-image: url(images/icon-sme.gif); }
a.fb { background-image: url(images/icon-fb.png); }
aside a.post-edit-link { padding-left: 20px; background: url(images/icon-edit.png) left center no-repeat; }
aside a.goog-logo-link img { border: none; box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; }
aside a.goog-logo-link { background:; }
#google_translate_element { height: 30px; overflow: hidden; }