/*
Theme Name: Simply Netsarli
Theme URI: http://underscores.me/
Author: Hilda Määttänen
Author URI: http://marionette-ninja.org
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simply-netsarli
Tags: white, masonry

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Simply Netsarli is based on Underscores http://underscores.me/, (C) 2012-2015 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
html {
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: 700;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

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;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

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;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}


/** TYPOGRAFIA **/

body,
button,
input,
select,
textarea {
	color: #1c1e24;
	line-height: 1.5;
}

body {
	background: rgb(110,218,255);
background: linear-gradient(0deg, rgba(110,218,255,1) 0%, rgba(255,255,255,1) 100%);
	font-family: 'Roboto Condensed', sans-serif;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	clear: both;
	color: #1c1e24;
	text-align: center;
	margin: 0;
}

h1 {
font-size: 25pt;
margin-bottom: 10px;
}

#sarjakuvalista_otsikko h1 {
font-size: 22pt;
}

h2 {
font-size: 20pt;
}

#sarjakuvat h2 {
font-size: 18pt;
color: #1c1e24;
margin: -3px;
line-height: 1;
}

h3 {
font-size: 18pt;
text-align: left;
margin-bottom: 15px;
}

h4 {
font-size: 14pt;
text-align: left;
margin-bottom: 0.5em;
}

p {
text-align: left;
margin-top: 0.5em;
margin-bottom: 0.5em;
}

p.keskity {
text-align: center;
margin-bottom: -8px;
}

p.kiitos {
text-align: center;
}

p.keskity_strong {
text-align: center;
color: #000;
margin-top: 5px;
font-weight: 700;
font-size: 12pt;
}

.quicksand {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	clear: both;
	color: #1c1e24;
	
}

.site-info p {
text-align: center;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/** LINKIT **/

a,
a:visited{
color: #102453;
text-decoration: none;
font-weight:700;
}

a:hover,
a:active {
color: #2178a0;
text-decoration: none;
font-weight:700;
}

a:hover,
a:active {
	outline: 0;
}

#sarjakuvalista_wrapper a,
#sarjakuvalista_wrapper a:visited{
margin-left: 5px;
}

#sarjakuvalista_wrapper a:hover,
#sarjakuvalista_wrapper a:active {
margin-left: 5px;
}

/** SIVUSTON ELEMENTIT **/

html {
	box-sizing: border-box;
	height: 100%;
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}


blockquote,
q {
	quotes: "" "";
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-top: 1em;
	margin-bottom: 1em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}


/** OTSAKE **/

.site-header {
width: 100%;
height: 80px;
background-color: #fff;
margin-bottom: 20px;
}

#header-sisalto {
width: 700px;
margin: 0 auto;
}

#header-sisalto img {
height: 80px;
float:left;
}

#primary-menu {
width: 700px;
color: #f8a502;
font-size: 16px;
font-weight: 300;
text-transform: lowercase;
position: absolute;
float: right;
display: inline-block;
margin-top: 30px;
margin-left: -30px;
}

#primary-menu li {
display: inline;
padding-left: 40px;
}

#primary-menu li:after {
content: "/";
position: relative;
top: 0;
left: 20px;
}

#primary-menu li:last-child:after {
content: "";
}

#primary-menu a,
#primary-menu a:visited {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
color: #102453;
}

#primary-menu a:hover,
#primary-menu a:active {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
color: #2178a0;
}

#primary-menu li.current-menu-item a, 
#primary-menu li.current-category-ancestor a {
	font-family: 'Quicksand', sans-serif;
	font-weight: 700;
color: #2178a0;
}

/** FOOTER **/

.site-info {
clear: both;	
width: 500px;
margin-left: auto;
margin-right: auto;
padding: 10px;
}

/** ETUSIVU **/

#etusivu_infoboksi {
text-align: center;
width: 900px;
border-radius: 20px;
margin-left: auto;
margin-right: auto;
padding: 65px;
font-size: 14px;
line-height: 1.5;
	border-color: #fff;
}

#etusivu_infoboksi h1 {
color: #000;
	padding-left: 100px;
	padding-right: 100px;
}

#etusivu_infoboksi p.keskity {
color: #000;
	padding-left: 100px;
	padding-right: 100px;
}

.tag-cloud {
margin-top: 30px;
}

.tag-cloud-mobile {
display: none;
}

.tag-cloud a{
	
font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	padding: 1px;
	padding-left: 5px;
	padding-right: 5px;
background: #fff;
border-radius: 10px;
	margin-left: 20px;
	
}

.tag-cloud-mobile a{
	
font-family: 'Quicksand', sans-serif;
	font-weight: 700;
	padding: 1px;
	padding-left: 5px;
	padding-right: 5px;
background: #fff;
border-radius: 10px;
	margin-left: 20px;
	
}

#etusivu_uusimmat {
text-align: center;
width:500px;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
padding: 15px;
/** border-radius: 10px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
background-color: #fff;**/
}

/** SARJAKUVAT **/

#sarjakuvat {
	width: 90%;
margin-top: 45px;
margin-bottom: 80px;
	margin-left: auto;
	margin-right: auto;
}

.titteli
{
	margin-top: 10px;
	text-align: center;
	font-size: 12pt;
}

#sarjakuvat_yksinainen {
width: 300px;
margin-top: 25px;
margin-bottom: 80px;
margin-left: auto;
margin-right: auto;
}

.sarjakuva_reunat {

background-color: #fff;
margin: 16px;
width: 18%;
border-radius: 20px;

}

.sarjakuva_reunat img {
width: 100%;
border-top-left-radius: 20px; 
border-top-right-radius: 20px;
}

.sarjakuva_sisalto {
font-size: 13px;
margin-top: 1em;
margin-left: 1.5em;
margin-right: 1.5em;
margin-bottom: 1.5em;
}

.tags

{
	margin-top: -5px;
	padding-bottom: 5px;
	
}

/** SARJAKUVALISTA **/

#sarjakuvalista_otsikko {
margin-left: auto;
margin-right: auto;
width: 704px;
height: 167px;
padding-top: 25px;
padding-left: 50px;
padding-right: 50px;
}

#sarjakuvalista_wrapper {
width: 70%;
margin-left: auto;
margin-right: auto;
margin-top: -100px;
margin-bottom: 50px;
text-align: center;
}

#sarjakuvalista_kategoriat {
font-size: 14px;
width: 149px;
margin: 10px;
padding: 18px;
border-radius: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #fff;
float: left;
line-height: 1.5;
}

/** SIVUT **/

#sivupohja {
width: 880px;
margin-top: 40px;
margin-bottom: 80px;
margin-left: auto;
margin-right: auto;
padding-top: 5px;
padding-bottom: 50px;
padding-left: 50px;
padding-right: 50px;
border-radius: 20px;
background-color: #fff;
}

.laatikosto {
margin-top: 30px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
-webkit-column-width: 230px; /* Chrome, Safari, Opera */
-moz-column-width: 230px; /* Firefox */
column-width: 230px;
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;*/
-moz-column-gap: 2em;
-webkit-column-gap: 2em;
column-gap: 2em;
}

.laatikko {
display: inline-block;
margin: 0 0 1em;
padding: 20px;
width: 100%;
border-radius: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
background-color: #fff;
overflow: hidden;
}

#laatikko {
background-color: #fff;
display: inline-block;
margin: 0 0 0.5em;
width: 100%;
border-radius: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
padding: 20px;
}

/** SARJAKUVALOMAKE **/

#lomake {
width: 650px;
padding-left: 45px;
padding-top: 15px;
padding-bottom: 15px;
margin-top: 25px;
margin-left: auto;
margin-right: auto;
border-radius: 20px;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

#kiitos {
width: 600px;
height: 300px;
background-image: url("http://netsarli.net/uusi/wp-content/themes/simply-netsarli/images/etusivu_tervetuloa.png");
margin-top: 20px;
margin-left: auto;
margin-right: auto;
padding: 85px;
font-size: 14px;
}

/** LOMAKEMUOTOILUT **/

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}

button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

select {
	border: 1px solid #ccc;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"] {
	padding: 3px;
}

textarea {
	padding-left: 3px;
	width: 100%;
}

/** MUUTA **/

.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/** RESPONSIIVISUUS **/


@media screen and (min-width: 1925px) {


#sarjakuvat {
width: 95%;
}
}

.sarjakuva_reunat {
margin: 1%;
width: 12%;
}

@media screen and (max-width: 1920px) {

#sarjakuvat {
width: 95%;
}

.sarjakuva_reunat {
margin: 1%;
width: 23%;
}

}

@media screen and (max-width: 1280px) {

#sarjakuvat {
width: 95%;
}

.sarjakuva_reunat {
margin: 1%;
width: 31%;
}


}

@media screen and (max-width: 800px) {

#sarjakuvalista_otsikko h1 {
font-size: 22pt;
}

h2 {
font-size: 16pt;
}

h3 {
font-size: 14pt;
margin-bottom: 10px;
}

h4 {
font-size: 12pt;
margin-bottom: 5px;
}

#etusivu_infoboksi h1 {
font-size: 22pt;
margin-bottom: 0;
}

p.keskity {
font-size: 10pt;
text-align: center;
}

p.keskity_strong {
text-align: center;
margin-bottom: -12px;
font-weight: 700;
font-size: 10pt;
}

.site-header {
margin-bottom: 5px;
}

#header-sisalto {
width: 100%;
margin: 0 auto;
}

#header-sisalto img {
height: 80px;
float:left;
margin-left: 50px;
}

#primary-menu {
font-size: 14px;
}

#primary-menu li {
padding-left: 20px;
}

#primary-menu li:after {
left: 10px;
}

#etusivu_infoboksi {
width: 600px;

}

#etusivu_uusimmat {
width: 250px;
margin-top: 20px;
margin-bottom: -10px;
padding: 5px;
}

.sarjakuva_reunat {
margin: 2%;
width: 46%;
}

#sarjakuvalista_otsikko {
width: 600px;
background-size: 600px 142px;
padding: 55px;
}

#sarjakuvalista_wrapper {
width: 700px;
line-height: 1.5;
margin-top: -5px;
	margin-bottom: 0px;
}


#sivupohja {
width: 550px;
margin-top: 20px;
margin-bottom: 80px;
padding-top: 1px;
padding-bottom: 5px;
padding-left: 20px;
padding-right: 20px;
}

.laatikosto {
margin-top: 20px;
}

.laatikko {
display: inline-block;
margin: 0 0 1em;
padding: 15px;
width: 100%;
overflow: hidden;
}

#laatikko {
margin: 0 0 0.5em;
width: 100%;
padding: 20px;
}

#lomake {
width: 500px;
padding-left: 40px;
padding-top: 15px;
padding-bottom: 15px;
margin-top: 15px;
}

}




@media screen and (max-width: 500px) {
	


body {
    overflow-x: hidden;
}



.site-header {
width: 100%;
height: 40px;
margin-bottom: 5px;
}

#header-sisalto {
width: 400px;
margin: auto;
}

#header-sisalto img {
height: 30px;
margin-top: 2px;
	margin-left: 5px;
	margin-right: -40px;
}

#primary-menu {
font-size: 12px;
margin-top: 9px;
margin-left: 2px;
}

#primary-menu li {
font-size: 11px;
padding-left: 8px;
	padding-top: 3px;
}

#primary-menu li:after {
left: 5px;
}

.site-info {
width: 250px;

}

#etusivu_infoboksi {
	width: 350px;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	padding-bottom: 20px;
	line-height: 1.2;
	height: auto;
}
	
#etusivu_infoboksi p.keskity {
	width: 350px;
	padding: 0;
	margin-top: -20px;
	padding-bottom: 20px;
	line-height: 1.2;
	height: auto;
}
	
	#etusivu_infoboksi p.keskity_strong {
width: 350px;
	padding-bottom: 30px;
}
	
	#etusivu_infoboksi h1 {
		width: 350px;
		padding: 0;
font-size: 16pt;
}

#etusivu_uusimmat {
width: 160px;
margin-top: 10px;
margin-bottom: 0px;
padding: 5px;
}

#etusivu_uusimmat h2 {
font-size: 12pt;
}

.sarjakuva_reunat {
margin-top: -5px;
margin-left: auto;
margin-right: auto;
margin-bottom: 20px;
width: 100%;
}

.sarjakuva_reunat img {
width: 100%;
border-top-left-radius: 20px; 
border-top-right-radius: 20px;
}

.sarjakuva_sisalto {
font-size: 13px;
margin-top: 1em;
margin-left: 1.5em;
margin-right: 1.5em;
margin-bottom: 1.5em;
}

#sarjakuvalista_otsikko {
width: 296px;
height: 69px;
background-size: 290px 69px;
padding-top: 25px;
margin-bottom: 5px;
}

#sarjakuvalista_otsikko h1 {
	font-size: 16pt;
	line-height: 1.2;

}

#sarjakuvalista_wrapper {
width: 90%;
	margin-top: -20px;
}
	
	.tag-cloud {
		display: none;
}
	
	.tag-cloud-mobile {
		display: block;
		line-height: 1.4;
		margin-top: 45px;
}
	
		#etusivu_infoboksi .tag-cloud-mobile {
		
		margin-top: 0px;
			margin-bottom: 25px;
			line-height: 1.4;
}
		
#sarjakuvalista_wrapper h4 {
display: none;
}

#sivupohja {
width: 290px;
margin-top: 10px;
margin-bottom: 10px;
padding-top: 1px;
padding-bottom: 5px;
padding-left: 15px;
padding-right: 15px;
font-size: 8pt;
}

#sivupohja h1 {
font-size: 14pt;
margin-bottom: -3px;
margin-top: -8px;
}


#sivupohja h3 {
font-size: 12pt;
margin-bottom: -3px;
margin-top: -8px;
}

.laatikosto {
margin-top: 10px;
margin-bottom: -28px;
}

.laatikko {
display: inline-block;
margin-bottom: 5px;
padding: 15px;
width: 100%;
overflow: hidden;
}

#laatikko {
margin-bottom: 5px;
width: 100%;
padding: 15px;
}

}