/*
Theme Name: Keski.
Theme URI: http://keskipisteblogi.bellablogit.fi/
Description: Bella-blogit - Keskipiste.
Author: JS
Template: twentyeleven
Version: 2.4
*/  

@import url("../twentyeleven/style.css");

p {
	margin-bottom: 1.625em;
}

body {
	background: #fff;
	
}

#page {
	margin: 0 auto 0 auto;
	max-width: 1200px;
	position: relative;
}

#bellablogit{
display: none; 
}

#mobile {
margin: 0 auto 10px auto;
position: relative;
}

@media (min-width: 768px) {
#mobile {
display: none !important;
}
}

#content {
	width: 800px;
    margin: 0px 10px;
}

#secondary {
	float: right;
	margin-right: 10px;
	width: 300px;
}

ins {
	background: #fff;
}

#Tapetti {
 clear: both; left: 50%; top: 0px; margin-left: -960px;
}

#Testibanneri {
    clear: both;
    margin: 10px auto 10px auto;
   	position: relative;
	}

#uusimaa {
    clear: both;
   margin: 0px auto; 
   position: relative;
	}

#Iso_Banneri {
    clear: both;
   margin: 0px auto; 
   position: relative;
	}

#videoboksi {
    clear: both;
    margin: 0px auto;
    position: relative;
    padding: 0 0 2.625em;
    margin-bottom: 80px;
    border-bottom: 1px solid #ddd;
	}	
	
#videoboksi2 {
    clear: both;
    margin: 0px auto;
    position: relative;
    padding: 0 0 2.625em;
    margin-bottom: 80px;
    border-bottom: 1px solid #ddd;
	}		

.entry-header .admark{
    display: inline-block;
    width: 100%;
    padding-bottom: 1px;
    margin-bottom: 15px;
    text-align: right;
    font-family: "Quicksand", sans-serif;
	margin-top: 20px;
	font-style: italic;
	}

.entry-header .admark h4{
   line-height: 0;
    display: inline;
    background: #a6a6a6;
    padding: 5px;
    color: #fff;
    font-size: 12px;
}

#conversions-box iframe {
    top: 60px !important;
}

#conversions-box {
	width: 130px;
}

.fb_iframe_widget {
padding-bottom: 0px;
left: 0px;
}

.fb_iframe_widget span {
width: 450px!important;
}

.twitter {
position: absolute;
margin: -20px 110px
}

.pinterest {
position: absolute;
    margin: -20px 210px;
}

embed, iframe, object {
	top: 0; 
	margin: 0;
	max-width: 100% !important;
}

.bastellamedia {
    float: left;
}

.bella_refa {
    float: right;
}

.bastellamedia_content {
width: 1200px;
margin: auto;
}


.mainos {
    clear: both;
    margin: 10px 0 0 10px;
}

.entry-header {
    margin: 0 0 15px 0;
}

.singular #content, .left-sidebar.singular #content {
	margin: 0;
	position: relative;
	width: auto;
}

@media (max-width: 800px) {
	#secondary {
		border-left: 0px;
	}

	#content {
		margin: 0px;
	}
}

#branding {
	border: none;
	max-width: 1050px;
	margin: 0px auto;
}

#branding img {
	height: auto;
	margin-top: 20px;
	margin-bottom: 10px;
	width: 100%;
}

img[class*="align"], img[class*="wp-image-"], #content .gallery .gallery-icon img {
	border: none;
	padding: 0;
}

img.size-full, img.size-large {
	max-width: 100%;
}

.entry-content img, .comment-content img, .widget img {
	max-width: 100%;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img {/* Add some useful style to those fancy borders for linked images ... */
	background: #fff;
	border-color: #fff;
}

img.alignleft, img.alignright, img.aligncenter {
	margin-bottom: 0em;
}

element.style {
	border-color: white;
	border-width: 0px;
	padding: 0px;
}

#respond {
width: 91.5%;
}

#nav-single {
	position: inherit;
}

/* =BloggaajaValikko
-------------------------------------------------------------- */
   
.bellablogit-alavalikko  {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	letter-spacing: 1px;
	position: absolute;
	text-transform: uppercase;
	z-index: 1000;
	padding-top: 20px !important;
	box-shadow: 0 8px 15px rgba(0,0,0,0.1);
	}
  
 .bellablogit-alavalikko li { border-right: none; height: 120px !important; float: left !important; text-align: center; padding-bottom: 30px; margin: 10px 0px  !important; min-height: 100px !important; width: 170px !important;}
  .bellablogit-alavalikko li a {color: #444; font-size: 14px !important; display: block; padding: 10px 0px 0px 0px; text-decoration: none; }  
  .bellablogit-alavalikko li img {width: 85px; height: 85px; -webkit-border-radius: 85px; -moz-border-radius: 85px; -ms-border-radius: 85px; -o-border-radius: 85px; border-radius: 85px;}
.w-nav-title {
	display: block;
  }
/* =Valikko
-------------------------------------------------------------- */
#access li {
	border-right: none !important;
}

.logo {
    display: none;
}

#valikko {
	        width: 100%;
	        position: relative;
	        left:  0;
	        text-align: center;
	        clear: both;
	        float: left;
	        display: block;
	        z-index: 100000;
	        margin: 0 auto 0px;
	        font-family: "Quicksand", sans-serif;
	        background: #ffffff !important;
	        -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	        -moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	        box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 10px;
	        height: 40px;
}

#valikko a {
	      padding: 0 1.2125em;
	      color: #444444; 
	      clear: both;
	      line-height: 20px !important;
	      font-size: 14px;
		  font-weight: 400;
		  text-transform: uppercase;	
		  margin-top: px;
		  display: block;
	      text-decoration: none;
}

#valikko ul {
	font-size: 13px;
	list-style: none;
	margin: 0 0 0 0;
	padding-left: 0;
	display:inline-block;
}

#valikko li {
	float: left;
	position: relative;
}

#valikko a:hover {
	color: #cfcdea !important;
}

#valikko ul ul {
	background: #fff;
	display: none;
	margin-left: -290px;
	float: left;
	position: absolute;
	top: 20px;
	width: 1200px;
	z-index: 99999;
	letter-spacing: 1px;
	text-transform: uppercase;
}

#valikko ul ul ul {
	left: 100%;
	top: 0;
}

#valikko ul ul a {
	color: #444;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
}

#valikko li:hover > a,
#valikko ul ul :hover > a,
#valikko a:focus {
	background: #fff;
	color: #444;
}

#valikko ul li:hover > ul {
	display: block;
}
#valikko .current-menu-item > a,
#valikko .current-menu-ancestor > a,
#valikko .current_page_item > a,
#valikko .current_page_ancestor > a {
	font-weight: bold;
}

#menu-bellablogit {
	padding-top: 10px;
}

#menu-item-4369 > a:after {
    color: #444;
    content: ' ▾';
}

#menu-item-4372 {
	border-right: none;	
}

.menu-item {
    content: "";
    border-right: 1px solid #444444;
    padding-left: 1px;
}

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

.search-form {
	right: 20px;
	top: 1px;
}

.search-field {
	background-color: transparent;
	background-image: url(http://keskipisteblogi.fi/wp-content/uploads/2015/10/Etsi.png);
	background-position: 3px center;
	background-repeat: no-repeat;
	background-size: 20px 20px;
	border: none;
	cursor: pointer;
	height: 20px;
	margin: 0px 0 0 10px;
	padding: 0 0 0 34px;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 1px;
}

.search-field:focus {
	background-color: #fff;
	border: 1px solid #000000;
	cursor: text;
	outline: 0;
	height: 30px;
	width: 230px;
}


/* --- Bloginosto --- */

#bloginostot
{
	width: auto;
	height: auto;
	padding-top: 15px;

}

#wow-feed {
    background: #FFFFFF;
    -webkit-box-shadow: 0 3px 10px #666;
    box-shadow: 0 3px 10px #666;
    width: 180px;
    margin: 0px 0;
    font-size: 11px;
    margin-bottom: 30px;
}
#wow-feed  li { list-style: none; }
#wow-feed .rss-image img {
    width: 165px;
    height: 108px;
    padding: 8px;
    margin-left: -10px;
}
#wow-feed .rss-image { width: 30%; }
#wow-feed .item {
    padding: 10px;
    width: 160px;
    background-color: #fff;
}
#wow-feed .data {
    display: inline-block;
    margin-left: 2%;
    vertical-align: top;
    width: 100%;
}
#wow-feed .data h5 { font-weight: bold; word-wrap: break-word; }
#wow-feed .data small {
    color: #000;
    font-weight: bold;
    font-size: 0.9em;
    margin-left: -20px;

}
#wow-feed .comment-image {
    background: url("images/comments.png");
    height: 16px;
    width: 16px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 2%;
}
#wow-feed .date-image {
    height: 16px;
    width: 16px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 2%;
}

/* ---Background Colors--- */
#access {
	display: none;
	background: #B14562;
	background: -moz-linear-gradient(#90d9be, #738680);
	background: -o-linear-gradient(#90d9be, #738680);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#90d9be), to(#738680));
	background: -webkit-linear-gradient(#90d9be, #738680);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
}

#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #738680;
	color: #fff;
}


/* ---Fonts--- */

body, input, textarea {
	position: relative;
	font: 16px "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #333333;
	line-height: 1.5;
	    -webkit-font-smoothing: antialiased !important;
}


.widget-title {
	margin: 0 0 1em 0;
    font: normal bold 12px Crushed;
    color: #000000;
	text-transform: uppercase;
	text-align: left;
}

.widget-area {
    text-align: left;
    font: normal normal 14px Gruppo;
    line-height: 1.4;
}

.widget a {
font-weight: normal;
text-transform: uppercase;
	font-size: 12px;
}

.widget ul li {
    color: #000;
}

ol, ul {
	list-style: none;
}

.frbl_last_posttitle a
{
	text-transform: capitalize !important;
}

.tagcloud a {
	line-height: 20px;
	text-transform: lowercase;
}

.entry-content a {
color: #78a7d2;
}

a {
	text-decoration: none;
color: #000000;
}

.singular .entry-title {
	color: #C89784;
	font-size: 36px;
	font-weight: bold;
	line-height: 35px;
	text-transform: uppercase;
	font-weight: normal;
}

.entry-title, .entry-title a {
font: normal normal 30px Gruppo;
color: #888383;
font-weight: normal;
letter-spacing: 4px;
margin: .55em 0 0;
text-align: left;
}

.entry-title, .entry-title a:hover {
	color: #78a7d2;
}

.entry-meta {
background-color: #ffffff;
color: #000000;
padding: 0.4em;
letter-spacing: 3px;
margin: inherit;
font: normal normal 11px 'Courier New', Courier, FreeMono, monospace;
text-align: center;
}

.entry-date {
text-align: left;
}

.entry-date span {
	font: normal bold 11px Arial, Tahoma, Helvetica, FreeSans, sans-serif;
	background-color: #bbbbbb;
	color: #ffffff;
  	padding: 0.4em;
    letter-spacing: 3px;
    margin: inherit;
}

a:visited {
    text-decoration: none;
    color: #999999;
}

a:link {
    text-decoration: none;
    color: #888383;
}

/* Comments link */
.entry-header .comments-link a {
	top: 0.5em;
}

.commentlist .children li.comment {
	background: #FFC0CB;
}

/* --- Hide site title & description --- */
#branding hgroup {
	display: none;
}
#branding #searchform {
	display: none;
}
#site-generator {
	display: none;
}


/*Mobiilivalikko
   ========================================================================== */
.etsi {
    display: none;
}

#click-menu {
    font-family: "Quicksand", sans-serif !important;
    text-align: center;
    cursor: pointer;
    font-size: 20px;
    display: none;
    position: absolute;
    float: right;
    right: 1%;
    top: 10px !important;
    width: 30%;
    color: #000000;
    padding: 0px;
    z-index: 9999;
}

#click-menu.click-menu-active{
	  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: -webkit-transform 1s ease-out;
  -moz-transition: -moz-transform 1s ease-out;
  transition: transform 1s ease-out;
  
}

/*MENU*/

#responsive-menu .appendLink {
    left: 110px;
    position: absolute;
    border: none !important;
    padding: 10px 10px !important;
    color: #FFFFFF;
    background: none !important;
    height: 20px;
    line-height: 10px !important;
}

body #click-menu.click-menu-active{
	  -webkit-transform: rotate(360deg);
  -moz-transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: -webkit-transform 1s ease-out;
  -moz-transition: -moz-transform 1s ease-out;
  transition: transform 1s ease-out;
  width: 30px;
    margin-left: auto;
  
}

body #click-menu .threeLines {
    width: 25px;
    margin-left: auto !important;
    margin: 0;
}

#click-menu .threeLines .line {
    height: 5px;
    background: #222 !important;
    margin-bottom: 6px;
    background: #0d0d0d;
    border-radius: 6px;
    width: 100%;
}

body #click-menu #RMX {
    font-size: 52px !important;
    height: 18px!important;
    margin-left: 0px !important;
    line-height: 12px!important;
    font-weight: 400!important;
    color: #ffffff;
}
body #responsive-menu{
	max-width:100%;
	  background: rgba(0, 0, 0, 0.71);
	  width: 100%;
	  height: auto !important;
}
#responsive-menu .responsive-menu li{
     background-position: center !important;
     border-right: none;
}

#responsive-menu .responsive-menu li a {
    font-family: "Quicksand", sans-serif !important;
  text-align: left;
 height: auto !important;
  font-size: 18px !important;
  font-family: inherit;
  text-transform: uppercase;
  border-top: none !important;
  width: 100% !important;
  margin: 19px 0 0px 0px;
  padding: 3px 0px 5px 5px !important;
  }

body #responsive-menu .responsive-menu li li a {
    padding-left: 0% !important;
    width: 100% !important;
white-space: inherit;
    position: relative;
    height: 155px !important;
    margin: 0px 0 0px 0px;
    max-width: 300px;
    text-align: center;
}
body #responsive-menu .responsive-menu li a:hover {
  background: none !important;
   color: #CFCDEA !important; */
}
body #responsive-menu div {
  text-align: center !important;
}
body #responsive-menu #rm-additional-content {
  padding: 0px 3.4% !important;
    width: 93% !important;
	  margin-top: 89px;
    margin-bottom: 30px;
}
body #click-menu.admin-bar-showing {
  margin-top: 0px;
}
body #responsive-menu #responsiveSearch{
	  width: 95% !important;
	    text-align: center;
		border-top: none !important;
}
		body #responsive-menu #responsiveSearchInput {
  width: 33% !important;
  border-radius: 0px !important;
    outline: none !important;
	border: none !important;
	text-align: center;
}


.someico-top1 {
  padding: 20px;
}
.someico-top2 {
  padding: 20px;
}
.someico-top3 {
  padding: 20px;
}

.sub-menu {width: 100% !important; border-bottom-left-radius:5px !important;border-bottom-right-radius:5px !important;letter-spacing:1px !important;position:relative !important;text-transform:uppercase !important;z-index:1000 !important;margin:10px 0px!important;width:  100%;}
.sub-menu li {text-align:center; float: left;  margin:0px 10px!important; min-height:100px !important; width:110px !important;}
.sub-menu li a {color:#444; font-size:14px !important; display:block; padding:10px 0px 0px 0px; text-decoration:none; }
.sub-menu li img {width:85px !important; height:85px !important; -webkit-border-radius:85px; -moz-border-radius:85px; -ms-border-radius:85px; -o-border-radius:85px; border-radius:85px; }
.mobiiliotsikko {margin-left: 10px; word-wrap: break-word; font-size:14px;}

/*¡¡¡¡SUBMENU IMAGEN!!!!!*/
}
ul.sub-menu {
 display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
  display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
  display: -ms-flexbox;      /* TWEENER - IE 10 */
  display: -webkit-flex;     /* NEW - Chrome */
  display: flex;             /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

@media only screen and (max-width: 800px) and (min-width: 0px) {
#click-menu {
    display: block;
    position: relative !important;
}

input[type="search"] {
    -webkit-appearance: textfield;
    padding: 8px 12px; */
    border-radius: none !important;
    box-shadow: none !important;
    -webkit-transition: none !important;
    transition: none !important; 
    vertical-align: none !important;
    border: none; 
    outline: none !important; 
    
}

.search-form {
	right: 20px;
	top: 1px;
}

.search-field {
	background-color: transparent;
	background-image: url(http://keskipisteblogi.fi/wp-content/uploads/2015/10/Etsi.png);
	background-position: 3px center;
	background-repeat: no-repeat;
	background-size: 27px 27px;
	border: none;
	color: #fff;
	cursor: pointer;
	height: 20px;
	margin: 0px 0 0 10px;
    padding: 18px 16px !important;
	position: relative;
	-webkit-transition: width 400ms ease, background 400ms ease;
	transition:         width 400ms ease, background 400ms ease;
	width: 1px;
}

.search-field:focus {
	background-image: none;
	background-color: #fff !important;
	border: 1px solid #000000;
	cursor: text;
    color: #000;
	outline: 0;
	top: 50px;
	height: 30px;
	margin-bottom: 40px;
	width: 230px;
}

.etsi {
    width: 30%;
    float: left;
    position: relative;
    top: 10px;
    display: block;
}
   
.logo {
    display: block;
    width: 20%;
    margin: 20px auto !important;
    float: none !important;
    text-align: center;
}

}	

/* Footer  ========================================================================== */
.ala-logo img {
	height: 20px;
	padding-left: 10px;
	}

#globalfooter {
    background-color: #fbfbfb;
    line-height: 20px !important;
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    text-decoration: none !important;
    max-width: 1200px;
    text-transform: capitalize;
    color: #444;
    font-size: 12px !important;
    margin: 0px auto;
    font-family: "Quicksand", sans-serif;
    letter-spacing: 0.1em;
    font-weight: normal;
	text-align: center;
	position: relative;
}         

#globalfooter a:hover {
	color: #cfcdea !important;
	}

.footer_ylavimpain {
		text-align: center;	
		margin-top:10%;
		}

.footer_yla li a {
	list-style: none !important;
	color: #444 !important;
	text-transform: capitalize;
	padding: 15px;
	font-size: 15px !important;
	}  

.footer_ala li a {
	padding: 10px;
	color: #444 !important;	
	} 

.l-subfooter.at_top {
		color: #444 !important;
		font-size: 16px !important;
		padding-top: 40px;
	padding-bottom: 40px;
		}

.l-subfooter.at_top h4 {
		color: #444 !important;
		}

.l-subfooter .widget {
	margin-bottom: 10px !important;
	}

#globalfooter ul {
  list-style-image: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
#globalfooter li {
display: inline;
}
#globalfooter ul li a {
text-decoration:none; color: #000;
font-weight: normal;
}
#globalfooter ul li a:hover {
color: #000; }

/* =Responsive Structure
----------------------------------------------- */

@media (max-width: 1199px) {
#valikko ul ul { width: 960px !important; margin-left: -180px; }
#page { margin-left: 1%; margin-right: 1%; }
.bellablogit-alavalikko li { width: 150px !important; }
#Tapetti {  display: none; }
#content .hentry { padding: 0px !important; }
#bellablogit{ margin-top: 10px; display: inherit;  }
#conversions-box {
	display: none;
}

#branding { border: none; z-index: 999; }
#main #content { width: 64%; }
#primary { margin: 0px -33.4% 0px 0px; }
}

@media (max-width: 860px) {
.entry-content p { margin-left: 2%; margin-right: 2%; }
#main #content { width: 100%; border-right: 0px; }
#main #secondary { float: none; margin: 0 7.6%; width: auto; }
}

@media (max-width: 800px) {
#valikko { display: none !important; }
#content { font-size: 15px; }
footer.entry-meta { font-size: 15px; }
footer.entry-footer { font-size: 15px; }
#content .hentry { padding: 0px; margin: 50px auto!important; }
.logo { float: left; display: block; margin-left: 2%; margin-top: 10px; margin-bottom: 30px; display: inherit !important;}
#nav-single { position: relative;}
#Testibanneri { width: auto !important; margin: 0 -110px; height: auto !important; -webkit-transform:scale(0.77); }
}

@media (max-width: 650px) {
#Testibanneri { display:none; }
}

@media (max-width: 480px) {
.entry-header .comments-link a { display: none; } 
}

@media (max-width: 380px) {
.fb_iframe_widget span { width: 100px!important; }
#respond { margin-top: 60px; width: 80%; }
}
