﻿/*
Theme Name: ZVSaSlBbk ostrozka subpage
Theme URI: http://zvsaslbbk.sk
Author: Peter Stehlik
Author URI: http://www.fotostehlik.sk/
Description: Simple responsive design for non-profit organization
Version: 1
Tags: changing background image, responsive
*/
	
/** ----- ! normalize.css v2.1.3 ----- **/

article, aside, details, figcaption, figure, footer, header, main, nav, section, time, summary {    display:block; }
[hidden], template { display:none; }
html { font-family:sans-serif; -ms-text-size-adjust:100%; -webkit-text-size-adjust:100%; }
body, figure { margin:0; }
a { background:transparent; }
a:focus { outline:thin dotted; }
a:active, a:hover { outline:0; }
b, strong { font-weight:500; }
dfn { font-style:italic; }
hr { -moz-box-sizing:content-box; box-sizing:content-box; height:0; }
mark { background:#ff0; color:#000; }
code, kbd, pre, samp { font-family:monospace, serif; font-size:1em; }
pre { white-space:pre-wrap; }
q { quotes:"\201C" "\201D" "\2018" "\2019"; }
small { font-size:80%; }
sub, sup { font-size:75%; line-height:0; position:relative; vertical-align:baseline; }
sup { top:-0.5em; }
sub { bottom:-0.25em; }
img { border:0; }
fieldset { border:0; margin:0 !important; padding:0; }
legend { border:0; padding:0; }
button, input, select, textarea { font-family:inherit; font-size:100%; margin:0; }
button, input { line-height:normal; }
button, select { text-transform:none; }
button, html input[type="button"], input[type="reset"], input[type="submit"] {-webkit-appearance:button; cursor:pointer; }
button[disabled], html input[disabled] { cursor:default; }
input[type="checkbox"], input[type="radio"] { box-sizing:border-box; padding:0; }
input[type="search"] { -webkit-appearance:textfield; -moz-box-sizing:content-box; box-sizing:content-box; }
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance:none; }
button::-moz-focus-inner, input::-moz-focus-inner { border:0; padding:0; }
textarea { overflow:auto; vertical-align:top; resize:none; }
label { margin-bottom:5px; }
label:hover { cursor:pointer; }
table { border-collapse:collapse; border-spacing:0; }

/** ------ GENERAL RULES ------ **/
* { box-sizing:border-box; -moz-box-sizing:border-box; }
.ac:after, .wrp:after  { content:" "; display:block; height:0; clear:both; visibility:hidden; }
.clr { clear:both; }
.wrp { max-width:960px; margin:50px auto; }
div[role="main"] { float:left; }
article { margin-bottom:0 !important; }
div, h1, h2, .h2, h3, .h3, p, article table, article ul, article ol, article blockquote, article time, section, fieldset, .prx { margin:0 0 20px; }
.prx { display:block; font-size:1.2em; }
a.img { display:inline-block; }

/** ------ TYPOGRAPHY ------ **/
body { font:300 1.05em/1.48em 'Ubuntu', Arial, sans-serif; background:#ddd; color:#383838; overflow-x:hidden; }
h1, .h1, h2, .h2, h3, .h3 { line-height:1.3em; font-weight:500; }
.h1, .h2, .h3 { display:block; }
h1 { font-size:2.5em; }
.h1 { font-size:2em; }
h2, .h2 { font-size:2em; }
h3, .h3 { font-size:1.8em; }
a { text-decoration:none; color:#2b935a; }
a:hover { text-decoration:underline; }
blockquote { padding:15px 45px; border-left:5px solid #ddd; font-size:1.2em; line-height:1.48em; font-style:italic; color:#666; font-weight:300; padding-bottom:1px; }
time { display:inline; font-style:italic; }

/** ------ LISTS ------ **/
ul ul, ol ol { margin:0; }

/** ------ FB LIKE BUTTON ------ **/
.fb-like { margin-bottom:0; float:right; position:relative; top:3px; }

/** ------ TABLES ------ **/
article table { width:100%; text-align:left; }
article table th, article table td { padding:5px !important; font-size:14px !important; font-family:Ubuntu, Arial, sans-serif !important; }
article table th { border-bottom:2px solid #666 !important; font-weight:500 !important; }
article table tr { border-bottom:1px solid #ddd !important; }
article table tr:hover { background:#eee; }
article table strong { font-weight:700; }

/** ------ FIGURES ------ **/
article figure { margin:0 auto 20px; text-align:center; }
article figure img, article figure a { max-width:100%; height:auto; }
article a:hover img { box-shadow:0 0 0 6px #ddd; }
article img { max-width:100%; height:auto !important; }

/** ------ COMPONENTS ------ **/
.featured { float:right; max-width:40%; margin:0 0 30px 30px; }

.gal { width:105%; margin-bottom:0; }
.gal a { margin:0 20px 20px 0; }

.c2a { background:#ddd; padding:30px; font-size:1.2em; line-height:1.48em; }

.meta { border-bottom:1px solid #A3A2A2; display:block; padding-bottom:5px; margin-bottom:5px; }

/* GRID */
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12 { padding:30px; }
.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12, .grid-m1, .grid-m2, .grid-m3, .grid-m4, .grid-m5, .grid-m6, .grid-m7, .grid-m8, .grid-m9, .grid-m10, .grid-m11, .grid-m12, .grid-s1, .grid-s2, .grid-s3, .grid-s4, .grid-s5, .grid-s6, .grid-s7, .grid-s8, .grid-s9, .grid-s10, .grid-s11, .grid-s12 { float: left; }
.grid-1 { width: 8.333333333333332%; }
.grid-2 { width: 16.666666666666664%; }
.grid-3 { width: 25%; }
.grid-4 { width: 33.33333333333333%; }
.grid-5 { width: 41.66666666666667%; }
.grid-6 { width: 50%; }
.grid-7 { width: 58.333333333333336%; }
.grid-8, div[role="main"] { width: 66.66666666666666%; }
.grid-9 { width: 75%; }
.grid-10 { width: 83.33333333333334%; }
.grid-11 { width: 91.66666666666666%; }
.grid-12 { width: 100%; }

.off-1 { margin-left: 8.333333333333332%; }
.off-2 { margin-left: 16.666666666666664%; }
.off-3 { margin-left: 25%; }
.off-4 { margin-left: 33.33333333333333%; }
.off-5 { margin-left: 41.66666666666667%; }
.off-6 { margin-left: 50%; }
.off-7 { margin-left: 58.333333333333336%; }
.off-8 { margin-left: 66.66666666666666%; }
.off-9 { margin-left: 75%; }
.off-10 { margin-left: 83.33333333333334%; }
.off-11 { margin-left: 91.66666666666666%; }

/** ------ BACKGROUND ------ **/
.spring { background:#eee url(images/layout/jar.jpg) fixed center -100px; }
.summer { background:#eee url(images/layout/leto.jpg) fixed center -100px; }
.autumn { background:#eee url(images/layout/jesen.jpg) fixed center -200px; }
.winter { background:#eee url(images/layout/zima.jpg) fixed center -100px; }

.shn, .comment, #respond { box-shadow:0 0 4px #fff; }
.spc { margin-bottom:10px; }

/** ----- HEADER ----- **/
header { background-color:#fff /* IE */; background:rgba(255,255,255,0.7); padding:30px 30px 10px; height:160px; }
header h1 { width:120px; float:left; margin:0 30px 0 0; }
header a.img { margin-right:30px; position:relative; top:-5px; float:left; z-index:2; }
header .h1 { position:relative; top:14px; }

/** ----- NAVIGATION ----- **/
nav, .tlbr { background-color:#161616 /* IE */; background:rgba(22,22,22,0.7); box-shadow:0 0 4px #000; padding:10px 30px; }
.nav { list-style-type:none; margin:0; padding:0; }
#menu-zaujimave-odkazy { margin:0; padding:0; list-style-position:inside; }
.nav li { float:left; padding:0 15px;  }
.nav li:first-child { margin-left:-15px; }
.nav li a { font-size:1.4em; color:#f1f1f1; }
.nav li a:hover, .nav .active a { border-bottom:3px solid #f1f1f1; text-decoration:none; }

#nav { width:90%; display:none; margin:0 auto; padding:5px; border-radius:5px; border:0; }

.tlbr { text-align:center; color:#f1f1f1; margin-bottom:10px; }

/** ----- MAIN PAGE ----- **/
.cnt { margin-bottom:10px; }
.list { margin-bottom:0; }
.cnt section, article, .comment, #respond { background-color:#fff /* IE */; background:rgba(255,255,255,0.7); padding:30px; margin-bottom:0; }
.cnt section  { margin-top:10px; }
#respond { margin-top:1px; }
.cnt section:first-child { margin-top:0; }

.cnt section h2, .cnt section p { margin-bottom:10px; }
.pgn { margin-bottom:0; }
.pgn, .pgn.cmnPgn { margin-top:10px; }
.pgn a { background-color:#fff /* IE */; background:rgba(255,255,255,0.7); padding:10px; display:inline-block; box-shadow:0 0 4px #fff; }
.pgn a:hover { text-decoration:none; background:#2b935a; color:#fff; }

/** ----- ASIDE ----- **/
aside.grid-4 { padding:0 0 0 10px; color:#f1f1f1; width:320px; }
.side { background-color:#2b935a /* IE */; background:rgba(43,147,90,0.7); padding:30px; box-shadow:0 0 4px #32ad69; margin-bottom:0; }
.members { list-style-type:none; margin:0 0 20px; padding:0; }
.members li { margin-bottom:10px; }
.members li a, aside .mail { display:block; background:#fff; text-align:center; padding:10px 0; font-weight:500; font-size:1.2em; }
.members li a:hover, aside .mail:hover { text-decoration:none; background:#2b935a; color:#fff; }

.is-sticky aside { left:50%; margin-left:160px; }
.sticky-wrapper { margin-bottom:10px; }

/** ----- FOOTER ----- **/
footer, .copy { color:#f1f1f1; background-color:#161616 /* IE */; background:rgba(22,22,22,0.7); box-shadow:0 0 4px #000; }
footer { margin-bottom:10px; }
footer div { margin-bottom:0; }
footer p { margin-bottom:0	; }

.copy { display:block; text-align:center; color:#f1f1f1; background-color:#161616 /* IE */; background:rgba(22,22,22,0.7); box-shadow:0 0 4px #000; padding:10px 0; }

/** ----- FORMS ----- **/
.contact { border:1px solid #ddd; background:#fff; }
label { display:block; }
fieldset { padding-top:10px !important; padding-bottom:10px !important; padding-left:0 !important; padding-right:0 !important; }
fieldset sup, .form-submit sup { color:#FF0000; }
.form-submit em { float:right; padding-top:10px; }
input, textarea { width:100%; font-size:0.8em; border:1px solid #eee; box-shadow:1px 1px 3px #fbfbfb inset; }
input, textarea, button { padding:10px; }
textarea { min-height:80px; }
input[type="submit"] { color:#2B935A; font-weight:500; background:#fff; border:0; font-size:1.2em; width:50%; margin-top:10px; }
input[type="submit"]:hover { color:#fff; background:#2B935A; }
input[type="submit"]:active { box-shadow:1px 1px 2px #000 inset; }
.form-submit { clear:both; }

.nasHd { margin:0; }
#reply-title { display:none; }

section.cmItm { margin-bottom:0; margin-top:10px; }
section.cmItm p { margin-bottom:0; }

/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/** ---------------------- **/
/** ----- RESPONSIVE ----- **/
/** ---------------------- **/

/* TABLETS */
@media all and (max-width: 980px) {

html, body { overflow-x:hidden; }

.grid-m1 { width: 8.333333333333332%; }
.grid-m2 { width: 16.666666666666664%; }
.grid-m3 { width: 25%; }
.grid-m4 { width: 33.33333333333333%; }
.grid-m5 { width: 41.66666666666667%; }
.grid-m6 { width: 50%; }
.grid-m7 { width: 58.333333333333336%; }
.grid-m8 { width: 66.66666666666666%; }
.grid-m9 { width: 75%; }
.grid-m10 { width: 83.33333333333334%; }
.grid-m11 { width: 91.66666666666666%; }
.grid-m12, div[role="main"], aside.grid-m12 { width: 100%; }

.wrp { margin:0 auto; }
header { height:auto; padding-bottom:30px; }
header h1, header .h1, header a.img { float:none; text-align:center; }
header h1, header a.img { margin:0 auto; display:block; }
header .h1 { top:0; }

.nav { display:none; }
#nav { display:block; }

aside { padding-left:0 !important; margin-top:10px; }

}

/* MOBILE */
@media all and (max-width: 600px) {

.grid-1, .grid-2, .grid-3, .grid-4, .grid-5, .grid-6, .grid-7, .grid-8, .grid-9, .grid-10, .grid-11, .grid-12, .grid-s1, .grid-s2, .grid-s3, .grid-s4, .grid-s5, .grid-s6, .grid-s7, .grid-s8, .grid-s9, .grid-s10, .grid-s11, .grid-s12, header, .cnt section, .side { padding:10px; }

header .h1 { top:-10px; }

.grid-s1 { width: 8.333333333333332%; }
.grid-s2 { width: 16.666666666666664%; }
.grid-s3 { width: 25%; }
.grid-s4 { width: 33.33333333333333%; }
.grid-s5 { width: 41.66666666666667%; }
.grid-s6 { width: 50%; }
.grid-s7 { width: 58.333333333333336%; }
.grid-s8 { width: 66.66666666666666%; }
.grid-s9 { width: 75%; }
.grid-s10 { width: 83.33333333333334%; }
.grid-s11 { width: 91.66666666666666%; }
.grid-s12 { width: 100%; }

}