/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}



/* krzysztoflis.com styles */
body{
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    background: url("../img/lis.png") 715px 200px no-repeat fixed;
    color:#19181d;
}

body.artysta{
    background-image: url("../img/lis-br.png");
    background-color: #cca15c;
    color:#fff;
}



main{
    padding:40px 65px;
}

header{
    padding: 10px 65px;
    clear:both;
    overflow:hidden;
}

header #logo{padding:0px;float:left;}
header section.nav{float:right;}
header section.nav nav{float:left;}
header section.nav nav ul{float:left;padding:0;}
header section.nav nav ul li{float:left;padding:5px;}
header section.nav nav#mainmenu ul li{margin-right:100px;}
header section.nav nav ul li a {padding:5px;text-decoration:none;color:#d8d8d8}
header section.nav nav ul li a.active {color:#19181d}

body.artysta header section.nav nav ul li a {color:#fff}
body.artysta header section.nav nav ul li a.active {color:#8d6729}


footer{
    background: url("../img/kreska.png") 65px 0 no-repeat;
    padding: 20px 65px;
    color:#999;
    clear:both;
}

footer a{
    text-decoration: underline;
    color: #999;
}

body.artysta main {
    /*padding: 40px 65px 40px 280px;*/
    padding: 40px 20px;
    margin:0 auto;
    max-width: 1340px;
    overflow:hidden;
}

body.artysta footer{
    color:#fff;
    margin: 0 auto;
    padding: 20px 10px;
    max-width:1340px;
    background: url("../img/kreska-b.png") 65px 0 no-repeat;
}

body.artysta footer p {
    margin-left:55px;
}
body.artysta footer a{
    color:#fff;
    margin-left:55px;
}

h1{
    font-family: 'eveleth_slantbold';
}

blockquote{
    background: url("../img/cite.png") 0 0 no-repeat;
    width:30%;
    padding: 20px 65px;
    font-weight: bold;
}

blockquote footer{
    background: url("../img/ramka.png") 0 0 no-repeat;
    padding:31px 0px;
    color:#999;
    width: 332px;
    height: 26px;
    font-size: 0.9em;
    font-weight: normal;
    text-align: center;
}

article{
    /*width: 40%;*/
    max-width:740px;
}

body.artysta article{
    float:left;
    max-width: 720px;
    width:60%;
}

article header{
    font-weight:bold;
}

body.artysta article header{
    padding: 0;
}

body.artysta article footer{
    margin-left:0;
    background: none;
    padding:10px 123px;
}

body.artysta article footer .signature{
    float:right;
}

body.artysta article p{
    padding: 10px 65px;
}

article a{
    text-decoration: none;
    color: #000;
    display:block;
    clear:both;
}

article .text{
    padding:40px 0;
}

article .description{
    color:#999;
}

article .description p.props{
    font-style:italic;
}

article img{
    float:left;
    margin-right:-90px;
}
article img.margin20{
    margin-right:20px;
}



article.pr-left{
    /*float:left;*/
}
article.pr-right{
    float:right;
    margin-bottom: 70px;
}
article.pr-right img{
    float:right;
    margin-left:-90px;
    margin-right:0px;
}
article.pr-right .text {
    padding-top:180px;
}
article.pr-center-left{
    clear:right;
    float:left;
    width:50%;
    max-width:100%;
}

article.pr-center-left img{
    float:right;
    margin: 0px 0 -40px -40px;
}
article.pr-center-left .text{
    max-width:400px
}
article.pr-center-left a{
    float:right;
}

article.pr-center-right{
    clear:right;
    float:right;
    width:49%;
    max-width:100%;
}

article.pr-center-right .text{
    max-width:400px;
    margin-left:40px;
}
article.pr-center-right img{
    float:left;
    margin: 0;
}



article.pr-center-right a{
    float:left;
}

article.pr-center{
    clear:both;
    margin:0 auto;
    max-width: 100%;
    text-align:center;
}
article.pr-center .text{
    max-width:450px;
    clear:both;
    text-align:left;
    margin:0 auto;
    padding: 40px 0 40px 400px;
}
article.pr-center img{
    float:none;
    margin-bottom:-125px;
}

article span.prop{
    text-transform: lowercase;
}
article span.prop span.name::after{
    content: ': ';
}
article span.prop + span.prop::before{
    content: ', ';
}

.product article{
    max-width:100%;
}
.product article img{
    margin:0 50px 20px 0;
}
.product article .text{
    float:left;
    width:450px;
}
.product article .text .prop{
    font-style: italic;
}
.product article .text .btn{
    font-family: 'eveleth_slantbold';
    border: 1px solid #000;
    padding: 10px 30px;
    float: right;
    margin-top: 20px;
}

aside{
    float: left;
    border: 1px solid #fff;
    padding: 20px;
    color: #fff;
    max-width:300px;
    margin-left:100px;
    margin-top:40px;
}

aside p{margin-top:0;}
aside a{color:#fff;clear:both;display:block;}
aside a:hover{color:#fff;}
aside a:visited{color:#fff;}
