/*
Theme Name: Apis
Author: Unzyme
Author URI: http://www.unzyme.com/
Theme URI: http://www.netura.fi/
Description: Unzyme Laboratories Experimental User Interface
Version: 7.0.2
Template: generatepress
Text Domain: generatepress
Domain Path: /languages/
*/

/* =Theme customization starts here
-------------------------------------------------------------- */

/* Customizer import STARTS */

/* Tanaan keikalla */

.front-section-heading {
	text-align: center;
	font-size: 2rem;
	font-weight: 600;
	color: black;
	border-bottom: 5px solid black!important;
}

h2.poiminta {
	margin-top: 0;
	color: white;
}

.tanaan-keikalla, .keikkapoiminta {
	text-align: center;
	display: grid;
	color: white;
}

.tanaan-keikalla {
	background: url(http://apulanta.fi/wp-content/uploads/2018/05/810_0322.jpg) black;
	background-position: center;
	background-size: 100%;
	font-weight: 600;
	margin-bottom: 1rem;
	padding: 1rem;
	text-shadow: 0 0 10px black;
}

.tanaan-keikalla a {
	color: white;
}

.keikkapoiminta {
	text-transform: uppercase;
}

/* Banneri */

.banneri {
	background-color: white;
	width: 100%;
	max-width: 1260px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.5rem;
	line-height: 0;
	transform: rotate(-1.5deg);
}

#front-blog h3.widget-title {
	text-align: center;
	font-size: 2rem;
	font-weight: 600;
	color: black;
	border-bottom: 5px solid black!important;
}

#footer-widgets aside {
	padding: 0 1rem 0 1rem;	
}

.youtube-video-heading,
.youtube-responsive-container {
	clear: both;
}

.youtube-video-heading,
.underline {
	border-bottom: 3px solid;
}

.youtube-responsive-container {
	position:relative;
padding-bottom:56.25%;
padding-top:30px;
height:0;
overflow:hidden;
}

.youtube-responsive-container iframe, .youtube-responsive-container object, .youtube-responsive-container embed {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
}

h2, h2.widget-title {
	font-weight: 600;
}

h2.related-album {
	font-family: "Roboto Condensed";
	font-weight: 400;
	color: black;
	margin-bottom: 1rem;
}

h3.album-title {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.biisi h1 {
	padding-bottom: 2rem;
	border-bottom: 5px solid black;
}

.col-sm-7 {
		width: 60%;
	float: left;
}

.col-sm-5 {
		width: 40%;
	float: right;
}

#release {
	display: block;
	background-color: #fff;
	border: 3px solid black;
	padding: 1.5rem;
	box-shadow: 5px 5px 14px rgba(0,0,0,0.3);
}

#release img {
	width: 100%;
}

.notopmargin {
	margin-top: 0;
}

.widget_recent_entries ul li {
	border-bottom: 2px dashed #999;
}

.inside-article ol,
.inside-article ul {
	margin-left: 1rem;
}

.post-image img,
.featured-image img {
	width: 100%;
}

.entry-header .entry-meta {
	background-color: #656565;
	display: inline-block;
	padding: 0.8em;
	margin-top: 1.5em;
	box-shadow: 5px 5px 10px rgba(0,0,0,0.20);
}

article:nth-of-type(1n) .entry-header .entry-meta {
	transform: rotate(1.5deg);
}

article:nth-of-type(2n) .entry-header .entry-meta {
	transform: rotate(-3.0deg);
}

.entry-header .entry-meta  {
	color: #eee;	
}

.entry-header .entry-meta a {
	color: white;	
	border-bottom: 2px dashed #888;
}

.entry-date.published {
	letter-spacing: 2px;
}

aside h2.widget-title {
	margin: 0;
	padding-bottom: 1em;
}

article.wp-show-posts-single {
	text-align: center;
}

.keepemseparated {

margin-top: 1.5rem;
margin-bottom: 1.5rem!important;

}

.page-header-image img {

transform: rotate(-1.5deg);
box-shadow: 10px 10px 20px rgba(0,0,0,0.5);

}


.rotate2 {

transform: rotate(1.5deg);
box-shadow: 10px 10px 20px rgba(0,0,0,0.5);

}

.rotate-15 {

transform: rotate(-1.5deg);
box-shadow: 10px 10px 20px rgba(0,0,0,0.5);

}

.darksection {

background-color: #222;
color: white!important;

}

.footer-widgets {

margin-top: 1.5rem;

}

p a {

border-bottom: 2px solid rgba(128,128,128,0.15);
}

div.related-album {
	margin-bottom: 2rem;
}

div.related-album:last-of-type {
	margin-bottom: 0;
}

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

.col-sm-7 {
		width: 100%;
	float: left;
}

.col-sm-5 {
		width: 100%;
	float: right;
}
	
}

/* Customizer import ENDS */

.fas {
	transform: rotate(-10deg);
	font-size: 1.3rem;
}

.liput {
	text-transform: uppercase;
	letter-spacing: 1px;
}

.suodatus {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	grid-gap: 0.1rem;
	margin-bottom: 1rem;
	font-weight: 600;
}

.suodatus .form-group {
	display: inline;
}

.suodatin select {
	min-width: 100%;
}

.keikka {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	grid-gap: 0.1rem;
	border-top: 1px solid gray;
	padding: 0.5rem 0 0.5rem 1rem;
}

.keikka.otsikot {
	font-weight: 600;
	border: 0;
	padding-bottom: 0;
	background-color: black;
	color: white;
}

.tuleva-keikka .keikka {
	padding-bottom: 0!important;
}

.liput {
	margin-bottom: 0.5rem;
}

.liput a {
	font-weight: 600;
}

#masthead {
    background: transparent!important;
}

ol li {
	margin-left: 2rem;
}

.page h1 {
}

.home h1 {
	border: 0;
}

h1 {
	border-bottom: 5px solid black;
}

#right-sidebar aside,
#footer-widgets,
.inside-article {
	box-shadow: 10px 10px 20px rgba(0,0,0,0.4);
}

.inside-footer-container {

}

#custom-post-type-categories-2 {
	transform: rotate(1deg);
}

#wp_views-2 {
	transform: rotate(-1deg);
}


/* EVENT LIST */

.eo-events {
    list-style-type: none;
    margin-left: 0;
}

.eo-events-shortcode {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.home .eo-events-shortcode li:first-of-type {
	width: 100%;
}

.home .eo-events-shortcode li {
	width: 48%;
}

.experiment-wrapper {
}

.experiment-wrapper img {
	width: 100%!important;
}

.experiment-wrapper p :nth-of-type(n+1) {
}

ul.eo-events.eo-events-shortcode > li > div > a:nth-child(3) > h3 {
	margin-top: -0.5rem;
}

ul.eo-events.eo-events-shortcode > li > div > p {
	margin-top: -2.5rem;
}

.eo-events-shortcode .experiment-wrapper {
    width: 100%%;
}

.experiment-wrapper {
	margin-bottom: 3rem;
}

.home .experiment-wrapper {
	margin-bottom: 1rem;
}

h3, h2 {
    margin-top: 2rem;
}

.eventorganiser-event-meta hr {
    display: none;
}

.eventorganiser-event-meta h4 {
    font-weight: 500;
    font-size: 2rem;
    border-bottom: 5px solid #b1d651;
}

.eventorganiser-event-meta ul li {
    list-style-type: none;
}

.eo-event-meta {
    margin: 0 0 1rem 0!important;
    padding: 0!important;
}

.eo-event-venue-map {
    clear: both;
    width: 100%!important;
    margin-top: 2rem;
}

/* BAND */

.heebo-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	grid-gap: 3rem;
}

.alpeople {
	margin: 0;
	font-size: 1.5rem;
}

.heebo-container.ex {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
	grid-gap: 2rem;	
}

.alpeople.ex {
	
}

/* SIDEBAR */

.textwidget .eo-events-shortcode li {
	margin-bottom: 1rem;
}

.requestbutton {
	margin-top: 2rem;
	padding: 1rem 2rem;
	background-color: #b1d651;
	text-align: center;
	box-sizing: border-box;
}

.requestbutton:hover {
	background-color: black;
}

.requestbutton a {
	color: black!important;
	font-weight: bold;
	text-transform: uppercase;
	box-sizing: border-box;
}

.requestbutton:hover a {
	color: #b1d651!important;
}

.widget_recent_entries li,
.widget_categories li {
	padding: 0.75rem 0 0.75rem 0 !important;
	border-bottom: 1px solid white;
}

.widget_recent_entries li:first-of-type,
.widget_categories li:first-of-type {
	padding-top: 0!important;
}

.widget_recent_entries li:last-of-type,
.widget_categories li:last-of-type {
	border: 0;
	padding-bottom: 0!important;
}

.tagcloud a {
	display: inline-block;
	font-size: 0.8rem!important;
	background-color: black;
	padding: 0.8rem 1rem;
	margin-bottom: 0.4rem;
	word-wrap: break-word;
}

/* FRONTPAGE STUFF */

.wp-show-posts-image img {
	width: 100%;
	height: auto;
}

.so-panel.widget {
	margin: 0!important;
}

.panel-grid-cell {
	margin-bottom: 0!important;
}

span.biomechanical-pop {
	font-weight: normal;
}

h1 {
}

p {
	letter-spacing: 0.2px;
}

h2.heading-line {
	padding: 1rem 0;
	border-top: 5px solid #AAD241;
	color: #AAD241;
	font-size: 2rem;
	margin: 0;
	font-weight: 100;
	text-align: left!important;
}

.home .panel-grid {
	margin-bottom: 0!important;
}

.ow-button-base {
	text-transform: uppercase!important;
	letter-spacing: 2px;
	font-weight: bold;
}

.infiltration {
	text-align: center;
	letter-spacing: 2px;
	font-size: 3rem;
	padding-top: 2rem;
}

.post-image {
	margin-bottom: 1rem!important;
}

textarea#comment {
	margin-bottom: 1rem;
}

.inside-article,
.comments-area {
}

#right-sidebar aside {
}

.footer-widgets {
}

.footer-widget-2 aside,
.footer-widget-3 aside {
	padding-left: 1rem!important;
}

#sb_instagram {
	background: transparent!important;
	margin: 0!important;
}

#sbi_images .sbi_item,
#sbi_images {
	padding: 0!important;
}

.ctf-item {
	padding: 0 0 1rem 0!important;
}

.ctf-author-name {
	margin: 0 0.5rem 0 0!important;
}

h3.jp-relatedposts-headline {
	font-size: 2rem!important;
}

h4.jp-relatedposts-post-title {
	margin: 0.5rem 0 0!important;
	line-height: 1.2rem!important;
}

h4.jp-relatedposts-post-title a {
	font-size: 1.2rem!important;
	font-weight: 600!important;
	text-transform: uppercase;
}

.jp-relatedposts-post:hover a {
	text-decoration: none!important;
	color: white;
}

.jp-relatedposts-post-context {
	margin-bottom: 0.5rem!important;
}


#jp-relatedposts > h3 > em:before {
	border: 0!important;
}

.jp-relatedposts h3 {
	width: 100%;
}

.uutisgridi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	grid-gap: 3rem;
}

.uutinen {
	text-align: center;
}

.uutinen h2 {
	font-size: 1.3rem;
	letter-spacing: 1px;
	line-height: 2rem;
	margin-bottom: 0.5rem;
}

.uutinen p.date {
	font-weight: 400;
	font-size: 0.9rem;
	letter-spacing: 1px;
	margin-bottom: 1rem;
	background-color: black;
	color: white;
	width: 7rem;
	margin-right: auto;
	margin-left: auto;
}

.albumilista {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	grid-gap: 1rem;
}

.albumi, .uutinen {
	display: flex;
	flex-direction: column;
}

.albumi img {
	display: block;
}

.albumi a {
	max-width: 150px;
}

/* Media Queries */

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

.keikka.otsikot {
	display: none;
}

.keikka {
	padding-left: 0;
	padding-right: 0;
}

h2.heading-line  {
	font-size: 1.5rem;
	padding-top: 1rem;
	font-weight: bold;
}

}

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

.suodatus {
	display: flex;
	flex-direction: column;
}

.suodatin {
	margin-bottom: 0.5rem;
}

}

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

ul.eo-events.eo-events-shortcode > li > div > a:nth-child(3) > h3 {
	margin-top: -1rem;
}

.uutisgridi {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 1rem;
}

}