/*
 Theme Name:     KU
 Template:       15zine
 Version:        1.3
*/


/* =Theme customization starts here. Any CSS code entered here will overwrite the parent's CSS.
-------------------------------------------------------------- */

/*
Some custom KU changes.
*/
body {
  	line-height: 1.5;
	background-color: #f0f0f0 !important;
}

.cb-social-sharing {
    padding: 22px 18px 18px 18px;
}

section.cb-entry-content h3:first-child {
    display: none;
}
p.info {
 font-style: italic;
}
.cb-tm-light #cb-top-menu {
  background-color: #fff;
}

div.fakta{
	max-width: 250px;
	float: right;
	background-color: #f7f7f7;
	padding: 10px;
	margin: 0px 0px 5px 5px;	
	clear: both;
}
div.fakta h3:first-child{
	display: block;
}
div.fakta_mobi h3:first-child{
	display: block;
}

div.fakta_mobi{
	display: none;
}

#topbanner {
	padding: 20px 30px; 
/*	background-color: #fff; */
}


article p {
	font-size: 16px;
	line-height: 1.4;
}
.cb-module-block .cb-excerpt {

	font-size: 1em;
}
/*
p {
	line-height: 22px;
}
*/

blockquote {
	font-size: 24px;
	letter-spacing: 0;
	border-left: solid #d33738 2px;
	padding-left: 25px;
}

.cb-module-header {
	width: auto;
}

blockquote p {
	line-height: 36px;
}

div.cb-upper-title h2 {
	font-weight: bold !important;
}

p.hungryfeed_feed_description {
	display: none;
}

/* sidebar uusimmat */
div#cb-recent-posts-2.cb-sidebar-widget.cb-widget-latest-articles img {
	display: none;
}

.cb-sidebar2 {
/* width: 360px; */
	padding: 30px 0 0 30px;
}

.cb-module-block .cb-article-small.cb-separated {
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.cb-body-light .cb-article-small.cb-separated {
	border-bottom: none;
}

section.cb-entry-content .cb-post-footer-block {
	margin: 0;
}

.postid-682 footer div#cb-author-box, .postid-682 footer div#cb-related-posts-block, .postid-682 div.cb-post-meta,
.postid-683 footer div#cb-author-box, .postid-683 footer div#cb-related-posts-block, .postid-683 div.cb-post-meta,
.postid-684 footer div#cb-author-box, .postid-684 footer div#cb-related-posts-block, .postid-684 div.cb-post-meta {
	display: none;
}

#cb-author-box {
	padding: 25px 10px;
}

span.cb-dropcap-large {
	font-size: 6em;
	font-weight: 700;
	float: left;
	line-height: 1;
	margin: 0 20px 0 0;
}

a.cb-see-all {
	color: #d33738 !important;
	font-weight: bold !important;
}

div#some {
	width: 130%;
	border-top: solid 1px #ccc;
	float: right;
	margin-top: 30px;
}

div#some img {
	width: 25% !important;
	float: right;
	margin-top: 10px;
}

div.cb-social-sharing.cb-post-block-bg.cb-post-footer-block.cb-on.clearfix {
/*	display: none; */
}

.cb-body-light .cb-post-meta .cb-views {
	display: none;
}

div.pienempi {
	font-size: 14px;
	color: #888888;
	line-height: 18px;
}

/* footer */
#cb-footer .cb-footer-lower {
	padding-top: 10px;
}

div.cb-to-top {
	margin: 10px auto;
}

#cb-footer .cb-footer-lower .cb-copyright {
	margin-bottom: 20px;
}

div#cb-footer-logo {
	margin-bottom: 0;
}

div.cb-copyright {
	font-size: 80%;
	text-transform: none;
	letter-spacing: 1px;
}

.cb-footer-dark #cb-footer, .cb-footer-dark .cb-footer-lower {
	background-color: #000;
}

#cb-footer #cb-widgets {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* footer end */
.cb-comments {
	display: none;
}

#cb-footer .cb-footer-a .cb-one {
	width: 75%;
}

#cb-footer .cb-footer-a .cb-three {
	width: 25%;
}

.cb-body-light .cb-module-header .cb-module-title::after {
	background: #999;
	height: 1px !important;
	margin-top: 4px;
}

.cb-body-light .cb-widget-title, .cb-body-light .cb-article-footer .cb-title-header {
	border-bottom: 1px solid #161616 !important;
}

/* section#cb-section-b div.cb-module-a img, */
li.cb-icon-login {
	display: none !important;
}

.cb-body-light .cb-post-meta .cb-element a {
	color: #fff;
	background: #d33738;
}

.cb-body-light .cb-post-meta .cb-views {
	color: #c4c4c4;
	background: #333333;
}

.cb-tm-light #cb-top-menu .cb-top-menu-wrap {
	background-color: #fff !important;
}

/* navipalkin väri */
.cb-menu-dark #cb-nav-bar .cb-nav-bar-wrap {
	background-color: #4e4e4e !important;
}

/* #cb-nav-bar .cb-main-nav {
	background-color: #4e4e4e !important;
} */
#cb-nav-bar ul .cb-trending {
	background: #d33738 !important;
}

.cb-module-header .cb-module-title {
	text-transform: none;
	letter-spacing: 1px;
}

.cb-mm-on.cb-menu-dark #cb-nav-bar .cb-main-nav > li:hover {
	background: none;
}

@media only screen and (max-width: 760px) {
	div#cb-outer-container {
		margin-top: 0 !important;
	}
	
	.fa-3x {
		font-size: 1.5em;
	}
	
	div#some, div#cb-widgets, section#cb-section-lp {
		display: none;
	}
	
	.cb-sidebar2 {
	/* 		display: none; */
		padding: 0;
	}
	
	blockquote {
		font-size: 18px;
		letter-spacing: 0;
		border-left: solid #d33738 2px;
		padding-left: 20px;
	}
	
	blockquote p {
		line-height: 26px;
	}

        .cb-entry-content div.fakta {
		display: none;
	}
        .cb-entry-content div.fakta_mobi {
		width: 100%;
		float: right;
		background-color: #f7f7f7;
		padding: 10px;
		margin: 0px 0px 0px 5px;
		display: block;
	}

}

@media only screen and (max-width: 1020px) {
	div#some {
	}
	.wide_ad{
	}
	#topbanner {
	}
	#narrowh{
		display: none;
	}
}
@media only screen and (max-width: 768px) {
	#topbanner {
		margin-top: 40px;
	}
}

@media only screen and (max-width: 1130px) {
	#topbanner {
		padding: 0px 5px; 

	}
}

@media only screen and (min-width: 960px) {
	/* li.cb-icon-search {
			margin-top: 10px;
		} */
	
}

@media only screen and (max-width: 320px) {
	#logo img, #mob-logo img {
		height: 80px;
		width: 320px;
	}
}
@media only screen and (min-width: 1130px) {
	#topbanner {
		padding: 0px 5px;
	}
}

@media only screen and (min-width: 1200px) {
	#topbanner {
		padding: 0px 30px;
	}
}

@media only screen and (max-width: 1200px) {
	.wide_ad{
		margin-left: -15px;
	}
}

@media only screen and (max-width: 320px){

.cb-sidebar {
        padding: 10px;
}

}



a.linkbuttons img{
height: 20px; margin-bottom: -5px;
}

#cb-logo-box {
  padding-top: 0px;
 /* padding-bottom: 0px; */
} 
 
div.photographer {
	text-transform: uppercase;
	text-align: right;
	clear: both;
	font-size: 12px;
	font-weight: bold;
}
div.caption{
	margin-top: -25px;
	margin-bottom: 10px;
	font-size: small;
}
.cb-entry-content .alignleft .wp-caption-text, .cb-entry-content .alignright .wp-caption-text , .cb-entry-content .alignnone.cb-fs-embed .wp-caption-text, .cb-entry-content .aligncenter .wp-caption-text , .cb-entry-content .alignnone .wp-caption-text {
	padding: 4px 0px 0px 0px;
	font-size: small;
	font-style: normal;
	text-align: left;
}

.hyphenate{
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
    hyphens: auto;

}

#cb-nav-logo img {
    margin-top: -3px;
}


/******************************************************************
CONTACT PAGE STYLES
******************************************************************/
.wpcf7-form-control.wpcf7-text, .wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  height: 40px;
  border: none;
  background: #e1e1e1;
  padding: 5px;
  color: #858585;
  font-size: 20px;
  -webkit-transition: background 0.35s;
  -transition: background 0.35s;
  transition: background 0.35s;
}
.wpcf7-form-control.wpcf7-text:focus, .wpcf7-form-control.wpcf7-textarea:focus {
  background: #eaeaea;
  outline: none;
}
.wpcf7-form-control.wpcf7-text:invalid, .wpcf7-form-control.wpcf7-textarea:invalid {
  outline: none;
  background-color: #f6e7eb;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  -ms-box-shadow: none;
  box-shadow: none;
}

.wpcf7-form-control.wpcf7-textarea {
  width: 100%;
  height: 320px;
}

.wpcf7-form p {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #4D4D4D;
  display: block;
  font-weight: 700;
  margin: 40px 0;
}

.wpcf7-form-control.wpcf7-text:focus, .wpcf7-form-control.wpcf7-textarea:focus {
  background-color: #f2f2f2;
}

.wpcf7-form-control-wrap {
  display: block;
  margin: 6px 0;
}

.wpcf7-submit {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  display: block;
  font-weight: 700;
  font-size: 12px;
  width: auto;
  padding: 10px 20px;
  margin: 50px 0;
  -webkit-transition: background 0.35s;
  -transition: background 0.35s;
  transition: background 0.35s;
}

.wpcf7-response-output {
  font-size: 20px;
}



@media only screen and (max-width: 1130px) {
 #cb-header, #cb-footer, #cb-top-menu {
  max-width: 990px;
 }
}
@media only screen and (max-width: 1020px) {
 #cb-header, #cb-footer, #cb-top-menu {
  max-width: 750px;
 }
}
@media only screen and (max-width: 768px) {
 #cb-header, #cb-footer, #cb-top-menu {
  max-width: 720px;
 }
 
}
