/*
Theme Name: Jannika B - Kaikki rohkeus
Theme URI: http://www.jannikab.com/
Description: Kaikki rohkeus
Author: 7am Oy
Author URI: http://www.7am.fi/
Version: 1.0
*/

@font-face {
    font-family: 'ArsenaleWhite';
    src: url('/wp-content/themes/jannikab-kaikkirohkeus/font/arsenale_white-webfont.eot');
    src: url('/wp-content/themes/jannikab-kaikkirohkeus/font/arsenale_white-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/arsenale_white-webfont.woff') format('woff'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/arsenale_white-webfont.ttf') format('truetype'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/arsenale_white-webfont.svg#arsenale_whiteregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OpenSansCondensedLight';
    src: url('/wp-content/themes/jannikab-kaikkirohkeus/font/OpenSans-CondLight-webfont.eot');
    src: url('/wp-content/themes/jannikab-kaikkirohkeus/font/OpenSans-CondLight-webfont.eot?#iefix') format('embedded-opentype'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/OpenSans-CondLight-webfont.woff') format('woff'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/OpenSans-CondLight-webfont.ttf') format('truetype'),
         url('/wp-content/themes/jannikab-kaikkirohkeus/font/OpenSans-CondLight-webfont.svg#OpenSansCondensedLight') format('svg');
    font-weight: normal;
    font-style: normal;
}


body {
    background-color: #e0e5d3;
    color: #000;
    font-family: 'OpenSansCondensedLight';
    font-size: 16px;
}

a.chevron:after {
    content: ' ›';
}

img {
    border: none;
}

.hide {
    display: none;
}


.container {
    margin: 0 auto;
    width: 1200px;
}


.header {
    display: inline-block;
    width: 1200px;
}
.header .logo {
    background: url('/wp-content/themes/jannikab-kaikkirohkeus/img/jannikab_logo.png') no-repeat;
    display: block;
    float: left;
    margin: 32px 0 19px 2px;
    outline: none;
    text-indent: -999em;
    height: 65px;
    width: 266px;
}
.header nav {
    color: #fff;
    font-family: 'ArsenaleWhite';
    font-size: 50px;
    font-weight: normal;
    margin-top: 34px;
    text-transform: lowercase;
}
.header nav a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 0px 12px rgba(0, 0, 0, 0.12);
}
.header ul {
    float: right;
    margin: 0;
    padding: 0;
}
.header li {
    display: inline;
    list-style: none;
    margin-left: 30px;
}
.header li:first-child {
    margin-left: 0;
}
.header .banner {
    clear: both;
    color: #da3457;
    margin-bottom: 32px;
    position: relative;
    text-align: right;
}
.header .banner img {
    display: block;
    box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.16);
    -webkit-box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.16);
}
.header .banner .left {
    background: url('/wp-content/themes/jannikab-kaikkirohkeus/img/main_left.png') no-repeat;
    display: block;
    height: 110px;
    width: 55px;
    position: absolute;
    left: -10px;
    top: -10px;
}
.header .banner .right {
    background: url('/wp-content/themes/jannikab-kaikkirohkeus/img/main_right.png') no-repeat;
    display: block;
    padding: 0 20px 0 105px;
    height: 350px;
    width: 310px;
    position: absolute;
    right: 0;
    top: -8px;
}
.header .banner .right span {
    display: block;
    font-family: 'ArsenaleWhite';
    font-size: 80px;
    font-weight: normal;
    line-height: 60px;
    margin-top: 50px;
    text-transform: lowercase;
}
.header .banner .button {
    background-color: #da3457;
    color: #fff;
    display: inline-block;
    font-size: 22px;
    margin: 20px 0 0 6px;
    padding: 10px 24px 10px 24px;
    text-align: right;
    text-decoration: none;
    text-transform: uppercase;
}


.main {
    color: #fff;
}
.main a {
    color: #fff;
    text-decoration: none;
}
.main .text a {
    color: #f5dc83;
    text-decoration: none;
}


.home .main {
    display: inline-block;
    width: 1200px;
}
.main .left, .main .middle, .main .right {
    float: left;
    width: 383px;
}
.main .left.large {
    width: 792px;
}
.main .right, .home .main .middle {
    margin-left: 25px;
}
.home .main .right {
    margin-left: 26px;
}
.main .right {
    float: left;
    margin-left: 25px;
    width: 383px;
}
.main article.entry, .main .box, .main .article-nav {
    background-color: #000;
    box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.16);
    margin-bottom: 25px;
    -webkit-box-shadow: 0px 0px 32px 0px rgba(0, 0, 0, 0.16);
}
.main .article-nav {
    display: inline-block;
    margin: 0;
    padding: 15px 22px 15px 22px;
}
.main .article-nav li {
    float: right;
    text-align: right;
    list-style: none;
    width: 374px;
}
.main .article-nav li a {
    color: #da3457;
}
.main .article-nav li:first-child {
    float: left;
    text-align: left;
}
.main article.entry {
    padding: 15px 22px 22px 22px;
}
.main article.entry #comments {
    margin-top: 30px;
}
.main .box>div {
    padding: 15px 22px 22px 22px;
}
.main article.entry h2, .main .box h2, .main .box h2 a {
    color: #f5dc83;
    font-family: 'ArsenaleWhite';
    font-size: 37px;
    font-weight: 400;
    margin: 0;
    text-transform: lowercase;
}
.main article.entry header {
    display: block;
}
.main article.entry h2 {
    display: inline-block;
    margin-right: 10px;
}
.main article.entry h2 a {
    color: #f5dc83;
}
.main article.entry a.more {
    color: #da3457;
    display: block;
    margin-top: 15px;
}
.main article.entry a.post-edit-link {
    color: #da3457;
    display: block;
    margin: 15px 0;
}
.main .box h3 {
    font-size: 18px;
    font-weight: normal;
    margin: 0;
}
.main .box.blog li {
    display: inline-block;
    margin-top: 16px;
    width: 100%;
}
.main .box.blog li:first-child {
    margin-top: 0;
}
.main .box.blog img.attachment {
    float: left;
    margin-right: 16px;
}
.main .box.blog time, .main article.entry time {
    color: #999;
}
.page .main article.entry time {
    display: none;
}
.main .box.spotify iframe {
    margin: 0 0 1em 0;
    outline: none;
}
.main .box.instagram ul {
    display: inline-block;
    margin: 0 0 1em 0;
}
.main .box.instagram li {
    float: left;
}
.main .box.instagram li.i-1, .main .box.instagram li.i-2, .main .box.instagram li.i-4, .main .box.instagram li.i-5 {
    margin-left: 21px;
}
.main .box.instagram li.i-3, .main .box.instagram li.i-4, .main .box.instagram li.i-5 {
    margin-top: 21px;
}
.main .box.instagram img {
    display: block;
    height: 98px;
    width: 98px;
}
.main .box.events .tapahtumat-container {
    margin: 0 0 1em 0;
}
.main .box.events .event-date {
    color: #da3457;
    padding-right: 15px;
}
.main .box.events thead, .main .box.events .event-name {
    display: none;
}
.main .box ul {
    margin: 0;
    padding: 0;
}
.main .box li {
    list-style: none;
}


.footer {
    clear: both;
    position: relative;
}
.footer ul {
    display: inline-block;
    margin: 0;
    padding: 0;
}
.footer ul li {
    float: left;
    list-style: none;
}
.footer ul.logo {
    position: absolute;
    left: -4px;
}
.footer ul.social {
    position: absolute;
    right: -10px;
}
.footer ul.logo a, .footer ul.social a {
    display: block;
    outline: none;
    text-indent: -999em;
}
.footer ul.logo a {
    background: url('/wp-content/themes/jannikab-kaikkirohkeus/img/footer_v5.png') no-repeat;
    height: 52px;
    width: 174px;
}
.footer ul.logo li.ona a {
    background-position: -201px 0;
    margin-left: 12px;
    width: 85px;
}
.footer ul.logo li.fressi a {
    background-position: -411px 0;
    margin-left: 16px;
    width: 101px;
}
.footer ul.logo li.shure a {
    background-position: -540px 0;
    margin-left: 18px;
    width: 99px;
}
.footer ul.logo li.myillusion a {
    background-position: -650px 0;
    margin-left: 6px;
    width: 147px;
}
.footer ul.logo li.amp a {
    background-position: -811px 0;
    margin-left: 12px;
    width: 82px;
}
.footer ul.logo li.tpp a {
    background-position: -910px 0;
    margin-left: 12px;
    width: 89px;
}
.footer ul.logo li.bphair a {
    background-position: -1010px 0;
    margin-left: 7px;
    width: 103px;
}
.footer ul.logo li.snazzy a {
    background-position: -1130px 0;
    margin-left: 11px;
    margin-top: 10px;
    width: 152px;
}
.footer ul.social a {
    background: url('/wp-content/themes/jannikab-kaikkirohkeus/img/footer_social.png') no-repeat;
    height: 51px;
    width: 45px;
}
.footer ul.social li.spotify a {
    background-position: -45px 0;
    width: 40px;
}
.footer ul.social li.facebook a {
    background-position: -85px 0;
    width: 40px;
}
.footer ul.social li.instagram a {
    background-position: -125px 0;
    width: 41px;
}
.footer ul.social li.twitter a {
    background-position: -166px 0;
    width: 40px;
}
.footer ul.social li.youtube a {
    background-position: -206px 0;
    width: 46px;
}
.footer span {
    color: #fff;
    padding-bottom: 20px;
    position: absolute;
    right: 0;
    top: 60px;
}
/* Tapahtumat */

.left .tapahtumat-container .event-table {
  border:0;
  border-spacing:0;
  padding-right:10px;
  width:100%;
}
.left .tapahtumat-container .event-table th, .tapahtumat-container .event-table td { 
  padding:5px;
  text-align: left;
}
.left .tapahtumat-container .event-table th {
  border-bottom:1px solid #333;
  color:#000
  text-transform:uppercase;
}
.left .tapahtumat-container .event-table th { color: #f5dc83; text-transform: uppercase;  }
.left .tapahtumat-container .event-table td { border-bottom:1px solid #333;  }
.left .tapahtumat-container .event-table td.event-date { width:92px; color: #fff;}
.left .tapahtumat-container .event-table td.event-name { width:122px; }
.left .tapahtumat-container .event-table tr th:first-child, .tapahtumat-container .event-table tr td:first-child { padding-left:0; }
.left .tapahtumat-container ol {
  margin:0;
  padding:0;
}
.left .tapahtumat-container .event-table ol li {
  border-top:1px solid #333;
  list-style-position:inside;
  margin:0;
  padding:5px 0;
}
.left .tapahtumat-container h3 {
    color: #da3457;
    font-family: 'ArsenaleWhite';
    font-size: 37px;
    font-weight: bold;
    margin: 0;
    text-transform: lowercase;
}

/* Tapahtumat */

/* WordPress defaults */
article img {
    max-width: 100%; /* Fluid images for posts, comments, and widgets */
}
article img[class*="align"],
article img[class*="wp-image-"],
article img[class*="attachment-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
article img.size-full,
article img.size-large,
article img.header-image,
article img.wp-post-image {
    max-width: 100%;
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}
article img.size-thumbnail {
    margin: 0 12px 12px 0;
    padding: 0;
}

article embed,
article iframe,
article object,
article video {
    max-width: 100%;
}
article .twitter-tweet-rendered {
    max-width: 100% !important; /* Override the Twitter embed fixed width */
}
article .alignleft {
    float: left;
}
article .alignright {
    float: right;
}
article .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
article img.alignleft {
    margin: 12px 24px 12px 0;
}
article img.alignright {
    margin: 12px 0 12px 24px;
}
article img.aligncenter {
    margin-top: 12px;
    margin-bottom: 12px;
}
article embed,
article iframe,
article object,
article video {
    margin-bottom: 24px;
}
article .wp-caption {
    max-width: 100%; /* Keep wide captions from overflowing their container. */
    padding: 4px;
}
article dl.gallery-item {
    margin: 0;
}
article .gallery-item a,
article .gallery-caption {
    width: 90%;
}
article .gallery-item a {
    display: block;
}
article .gallery-caption a {
    display: inline;
}
article .gallery-columns-1 .gallery-item a {
    max-width: 100%;
    width: auto;
}
article .gallery .gallery-icon img {
    height: auto;
    max-width: 90%;
    padding: 5%;
}
article .gallery-columns-1 .gallery-icon img {
    padding: 3%;
}
.gallery {
	margin: auto;
}
.gallery img {
    padding: 0;
    margin: 0 auto;
    border: 1px solid #333;
}
.gallery-caption {
    margin-left: 0;
}
.gallery .gallery-item {
	float: left;
	margin-top: 10px;
	text-align: center;
	width: 33%;
}