/*
Theme Name: Kirkkarit
Theme URI: http://www.aitoo.fi/kirkastus/
Author: Qumos
Author URI: http://qumos.com/
Description: Aitoo Kirkastusjuhlat teema
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: kirkkarit
Tags:

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.

Kirkkarit is based on Underscores http://underscores.me/, (C) 2012-2016 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/
*/



/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Typography
# Elements
# Forms
# Header and Navigation
        ## Links
        ## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
        ## Posts and pages
        ## Comments
# Infinite scroll
# Media
        ## Captions
        ## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Special
# wdi - Instagram feed
# rpwwt - Posts feed with thumbnails
--------------------------------------------------------------*/
.wdi_feed_container {
  background-color: rgba(0,0,0,0.1) !important;
  border-bottom: 0 !important;
}

.wdi_feed_wrapper {
  background-color: transparent !important;
}

#wdi_feed_0 .wdi_photo_wrap_inner {
  border: 2px solid #fff100 !important;
  background-color: black !important;
}

.wdi_load_more, .wdi_spinner {
  background-color: transparent !important;
}

.wdi_load_more_wrap, .wdi_spinner_wrap {
  background-color: transparent !important;
}

.rpwwt-widget ul li {
  background: rgba(0,0,0,0.1);
  padding: 5px;
}

.rpwwt-widget ul li img {
  border-radius: 10px;
}

.rpwwt-widget ul li a:link {
  text-decoration: none;
  font-weight: bold;
  color: black;
  font-size: 18px;
}

.rpwwt-widget ul li a:visited {
  color: black;
}

.rpwwt-widget ul li a:hover {
  color: gray;
  font-size: 20px;
}

.rpwwt-post-date {
  font-size: 14px;
}

/* Uutiset sivu */
.iw-so-article-content p {
    padding-left: 15px !important;
}

.iw-so-article-content h2 {
    color: white;
    background-color: black;
    padding: 15px !important;
}

.iw-so-article-content h2 a,
.iw-so-article-content h2 a:link,
.iw-so-article-content h2 a:visited,
.iw-so-article-content h2 a:active
{
    color:white;
    font-size: 24px;
}

/* Talkoolaiseksi Lomake */

.listcheckbox-wrap ul li {
  float: left;
  width: 50%;
}

@media screen and (max-width: 800px) {
    .listcheckbox-wrap ul li {
      clear: both;
      width: 100%;
    }
}

#ki-taform-row {
    max-width: 800px;
    margin: auto;
}

/*--------------------------------------------------------------
# Ohjelma page
--------------------------------------------------------------*/

#krk-program-table th {
    font-weight: bold;
    font-size: 22px;
}

#krk-program-table td {
    text-align: right;
    padding: 3px;
    padding-right: 20px;
    width: 50%;
    font-size: 18px;
}

#krk-program-table td + td {
    text-align: left;
    padding-right: 3px;
}

#krk-program-table > tbody > tr:nth-child(odd) {
    background: rgba(0,0,0,0.1);
}

.krk-program-headline .textwidget {
    background: black;
}
.krk-program-headline h1 {
    text-align: center;
    color: white;
}

/*--------------------------------------------------------------
# Artist page
--------------------------------------------------------------*/
.krk-art {

}

.krk-art-left {
    width: 500px;
    display: table-cell;
    background: black;
    text-align: center;
    vertical-align: middle;
    padding: 0;
    
}

.krk-art-right {
    width: auto;
    display: table-cell;
    padding: 0 15px 0 15px;
    vertical-align: top;
}


.krk-artist-img {
    display: inline-block;
    object-fit: cover;
    height: 500px;
}

@media only screen and (max-width: 999px) {
    .krk-art {

    }

    .krk-art-left {
        display: table-cell;
        width: 100%;
        background: black;
        text-align: center;
        vertical-align: middle;
        padding: 0;

    }

    .krk-art-right {
        width: auto;
        display: block;
        padding: 0;
    }


    .krk-artist-img {
        display: inline-block;
        object-fit: cover;
        height: 500px;
    }
}

/* Comment FORM */
.comment-form label {
    display: block;
}

/* INFO Content */
.kirkkarit-info-content {
    max-width: 1000px;
    margin: auto;
}

.krk-info-header:before {
    content:"";
    display:block;
    height:80px; /* fixed header height*/
    margin:-80px 0 0; /* negative fixed header height */
}

/* yleiset */
.kirkkarit-1000w-content {
    max-width: 1000px;
    margin: auto;
}


/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: Roboto, sans-serif;
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    clear: both;
    font-family: Anton, sans-serif;
    font-weight: normal;
}

.textwidget > h1,
.textwidget > h2 {
    letter-spacing: 2px;
}

p {
    margin-bottom: 1.5em;
    font-size: 18px;
}

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%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
}

*,
*: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;
}

body {
    background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

hr {
    border-top: dashed 3px;
    border-bottom: none;
    margin-bottom: 1.5em;
}

ul,
ol {
    margin: 0 0 1.5em 1em;
}

ul {
    list-style: square;
    padding: 0;
}

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. */
}

figure {
    margin: 1em 0; /* Extra wide images within figure tags don't overflow the content area. */
}

table {
    margin: 0 0 1.5em;
    width: 100%;
}

article header {
  background: rgba(0,0,0,0.1);
  padding: 0 0 5px 5px;
}


/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
    color: black;
    text-decoration: none;
}

a:visited {
    color: black;
}

a:hover,
a:focus,
a:active {
    color: gray;
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

.entry-title-artist a,  .entry-title-artist a:visited {
    color: white;
}

.entry-title-artist a:hover,
.entry-title-artist a:focus,
.entry-title-artist a:active {
    color: gray;
}

/*--------------------------------------------------------------
## Header and Menus
--------------------------------------------------------------*/
.site-header {
    width: 100%;
    height: 100px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #000;
    padding: 10px;
}

.site-logo {
    display: inline-block;
    float: left;
    height: 100%;
    margin-right: 50px;
}

.site-logo img {
    height: 100%;
    width: auto;
}

.site-minibanner {
    display: inline-block;
    float: right;
    height: 100%;
}

.site-minibanner img {
    height: 100%;
    width: auto;
    float: right;
}

.main-navigation {
    display: inline-block;
    float: left;
    background: black;
}

.main-navigation > input {
    height: 50px;
}

.main-navigation a {
    line-height: 70px;
    margin-left: 20px;
    color: #fff;
    font-weight: 300;
    font-size: 32px;
}

.main-navigation a:hover {
    color: #fff100;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    float: left;
    position: relative;
}

.main-navigation li > a {
    text-decoration: none;
}

.main-navigation li:hover > a,
.main-navigation li.focus > a {
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a,
.main-navigation .current-menu-ancestor > a {
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
    display: block;
}

@media only screen and (min-width: 1490px) {
    .menu-toggle {
        display: none;
    }
    
    .main-navigation ul {
        display: block;
    }
    
    #page {
        margin-top: 100px;
    }
}

@media only screen and (min-width: 1210px) and (max-width: 1489px) {
    .menu-toggle {
        display: none;
    }
    
    .main-navigation ul {
        display: block;
    }
    
    .main-navigation a {
        font-size: 25px;
    }
    
    .site-header {
        height: 80px;
    }
    
    #page {
        margin-top: 80px;
    }
    
    .main-navigation a {
        line-height: 55px;
    }
}

@media only screen and (min-width: 980px) and (max-width: 1209px) {
    .menu-toggle {
        display: none;
    }
    
    .main-navigation ul {
        display: block;
    }
    
    .main-navigation a {
        font-size: 18px;
    }
    
    .site-header {
        height: 70px;
    }
    
    #page {
        margin-top: 70px;
    }
    
    .main-navigation a {
        line-height: 45px;
    }
}

@media only screen and (max-width: 979px) {
    .site-header {
        height: 70px;
    }
    
    #page {
        margin-top: 70px;
    }
    
    .site-logo {
        display: none;
    }
    
    .main-navigation a {
        font-size: 25px;
    }
    
    .menu-valikko-container {
        position: absolute;
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        margin-left: -10px;
    }
    
    .main-navigation li {
        float: none;
        height: 60px;
    }

    .main-navigation ul {
        text-align: center;
        padding-top: 30px;
        padding-bottom: 2000px;
    }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
    margin: 0 0 1.5em;
    overflow: hidden;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
    float: left;
    width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
    float: right;
    text-align: right;
    width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
/* display: table ads space on top of content, no good -> removed
.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;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
    margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets. */
.widget select {
    max-width: 100%;
}

.widget_search input[type="search"] {
    display: inline;
}

.widget_search input[type="submit"] {
    
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
#content {
    margin-left: 15px;
    margin-right: 15px;
}

.sticky {
    display: block;
}

.hentry {
    margin: 0;
}

.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;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
    word-wrap: break-word;
}

.bypostauthor {
    display: block;
}

#respond {
    background: rgba(0,0,0,0.1);
    padding: 10px;
}

#respond label {
    font-size: 90%;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
    display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
    display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.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%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.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;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
    margin-bottom: 1.5em;
}

.gallery-item {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-3 .gallery-item {
    max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-caption {
    display: block;
}

/*--------------------------------------------------------------
## Footer
--------------------------------------------------------------*/
.site-footer {
    background: #333;
    padding: 10px;
    color: white;
    clear: both;
    margin-top: 20px;
}