/*
	Description: Keskkonnaseadustiku üldosa seaduse kommentaarid
	Version: 1.0.0
	Date: January 2014
*/

@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
@import url(http://fonts.googleapis.com/css?family=Lora:400,700,400italic);

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

html, button, input, select, textarea { color:#3c3632; }
img { vertical-align:middle; }
fieldset { border: 0;margin: 0;padding: 0; }
textarea { resize: vertical; }
.chromeframe { margin: 0.2em 0;background: #ccc;color: #000;padding: 0.2em 0; }
menu, ol, ul { padding:0;margin:0; }
ul, ol { list-style:none }
h1, h2, h3 { font-weight:400;margin:0;padding:0;font-family: 'Lora', serif; }
a { color:#54b948; }
a:hover { color:#54301a; }
.clearfix:before, .clearfix:after { content: " ";display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }

body { font: 15px/1.45 'Lato', sans-serif;background:#e3efe2 url('../images/body_bg.jpg') no-repeat 50% 0 fixed; }

.wrapper { background-color:#fff;padding:20px; }

.header-container { padding:20px 0; }
.main-container {  }
.footer-container {  }



/* HEADER */

.title { font-size:20px;line-height:20px;font-family: 'Lora', serif;text-transform:uppercase;letter-spacing:1px; }
.title i { font-style:normal;color:#54b948; }
.title span { font-size:14px;line-height:20px; }
.header-container .pdf { text-align:left;font-weight:700;font-size:13px; }
.header-container .pdf a { padding:25px 0 0; }


/* LEFT CONTENT */

aside { border-top:4px solid #54301a;padding:30px 0 }
aside nav { background:url('../images/left_bg.png') repeat-y right 0;padding:25px 20px 25px 0 }
aside nav ul ul { padding:5px 0 0 15px }
aside nav li { margin-bottom:10px; }
aside nav a { color:#54301a;font-weight:700;text-decoration:none;font-size:14px; }
aside nav a.active { color:#54b948 }


.nano { width: auto; height: 650px; }
.nano .content { padding: 0; }
.nano .pane   { background: #f6f8f6; }
.nano .slider { background: #54301a; }


/* RIGHT CONTENT */

article { border-top:4px solid #54b948;padding:30px 0; }
article h1 { font-size:26px;line-height:1.3;margin:30px 0 0; }
article h2 { font-size:20px;margin:30px 0 0; }
article h3 { font-size:17px;margin:20px 0 0; }
article p { margin:20px 0 0; }
article p.intro { font-size:14px;color:#aaa;margin:0 }
article ol { margin:10px 0 0;border-left:4px solid #54b948;padding:15px;background:#eff6ee; }
article li { margin-bottom:8px }
article ul { margin:15px 0 0;padding-left:20px;list-style:square; }
article li { margin-bottom:8px;color:#666 }
article img { width:100%;height:auto; }



/* FOOTER */

.footer_left img { vertical-align:bottom;margin-right:15px; }
.footer_copy { border-top:4px solid #54b948;margin-top:15px; }
.footer_copy p { font-size:13px;text-align:left; }
.footer-container .pdf { margin:20px 0 0; }
.isbn { float:right;clear:both }




/* MEDIA QUERIES */

@media only screen and (min-width: 480px) {
	.wrapper { width:94%;margin:0 3%; }
	.title { float:left; }
	.header-container .pdf { float:right;margin:50px 0 0;text-align:center; }
	.header-container .pdf a { padding:75px 0 0;background:url('../photos/dl_icon.png') no-repeat 50% 0 }
	.footer-container .pdf { float:right;margin:-30px 0 0;text-align:center; }
	.footer-container .pdf a { padding:75px 0 0;background:url('../photos/dl_icon.png') no-repeat 50% 0 }
}

@media only screen and (min-width: 550px) {
	.title { font-size:28px;line-height:23px; }
	.title span { font-size:18px;line-height:20px; }
}

@media only screen and (min-width: 700px) {
	.title { font-size:38px;line-height:33px; }
	.title span { font-size:20px;line-height:22px; }
}

@media only screen and (min-width: 760px) {
	aside { width:270px;float:left; }
	article { margin-left:270px;padding:30px 0 30px 40px }
	.footer_left { width:270px;float:left;padding-top:100px; }
	.footer_right { margin-left:270px;position:relative;overflow:hidden;padding-top:130px }
	.footer-container .pdf { margin: 50px 0 0; }
}

@media only screen and (min-width: 890px) {
	.title { font-size:48px;line-height:33px; }
	.title span { font-size:24px;line-height:26px; }
	.wrapper { padding:40px;box-shadow:0 0 100px rgba(0,0,0,0.25); }
	article h1 { font-size:34px;line-height:1.3;margin:30px 0 0; }
	article h2 { font-size:24px;margin:30px 0 0; }
	article h3 { font-size:20px;margin:20px 0 0; }
	.pull-left { float:left }
	.pull-right { float:right }
}

@media only screen and (min-width: 1020px) {
	.footer_copy { padding:0 0 0 40px; }
}

@media only screen and (min-width: 1200px) {
    .wrapper { width:1080px;margin:0 auto; }
}



/* ==========================================================================
   Print styles
   ========================================================================== */

@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;
    }
    .pdf, aside, .footer_left { display:none; }
}