/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

/*
 * Custom Style Sheet - Use this file to style your content
 */


 /* HEADER
 ----------------------------------------------------------------------------------------------------*/

/*LOGO*/
.custom-logo {
	display: inline-block;
	width: 210px;
	height: 90px;
	background: url(../../../images/yootheme/logo.html) 50% 50% no-repeat;
	background-size: contain;
}
/*Responsive header logo: size and position*/
div#header-responsive a img {
	width: 100%;
}

/* Only Phones (Portrait) */
@media (max-width: 479px) {
	.custom-logo { height: 60px; }
}

/*Remove Time from header*/
header time { display: none; }

/* TOP LISTS TABLE
----------------------------------------------------------------------------------------------------*/



/* BLOG CUSTOM CHANGES
----------------------------------------------------------------------------------------------------*/

em,
span,
p {
  color: #000 !important;
	font-size: 14px !important;
  font-weight: normal !important;
  text-align: justify !important;
	font-family: "DroidSansRegular" !important;
}
div.itemListCategoriesBlock,
.k2FeedIcon {
    display: none;
}

#itemListLeading div.itemContainer {
    border: solid #dfdfdd;
    border-width: 0 .1rem .1rem 0;
    margin-bottom: 2em;
    background: #f3f3f3;
}

div.catItemImageBlock {
  padding: 0!important;
  margin: 0!important;
}

span.catItemImage a img
/*,span.itemImage a.modal img */ {
  max-width: 650px !important;
  width: 100% !important;
  height: auto;
  display: block;
  border: 0;
  padding: 0;
}

table.toplist {
	margin-top: 3em;
}
table.toplist tbody tr td {
	text-align: center;
	padding: 5px;
  border-width: 0px;
  font-size: 1.0em;
  border-top: medium none;
  border-bottom: 1px solid #AFAFAF;
  border-left: 1px solid #AFAFAF;
  text-align: center;
  line-height: 1.2;
}

table.toplist tbody tr th {
	color: #eee;
  background: #1D1D1D;
  background: -moz-linear-gradient(top, #1D1D1D 0%, #303030 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1D1D1D), color-stop(100%,#303030));
  background: -webkit-linear-gradient(top, #1D1D1D 0%,#303030 100%);
  background: -o-linear-gradient(top, #1D1D1D 0%,#303030 100%);
  background: -ms-linear-gradient(top, #1D1D1D 0%,#303030 100%);
  background: linear-gradient(to bottom, #1D1D1D 0%,#303030 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr="#1D1D1D", endColorstr="#303030",GradientType=0 );
  font-size: 1.1em;
  letter-spacing: 0;
  line-height: 2.0;
  text-align: center;
  padding: 4px;
  text-transform: none;
  border-bottom: 1px solid #AFAFAF;
  border-left: 1px solid #AFAFAF;
}

.toplist-review-link {
	width: 100%;
	display: block;
  padding: 1em 0 0;
}

@media (max-width: 767px) {
    .toplist-c2 {
			display: none;
		}
}

/*Hide image in main post because it becomes pixelated*/
.itemBody .itemImageBlock {
	display: none;
}

/*Button*/
.button-green {
    color: #fff !important;
    border: solid 1px #538312;
    background: #64991e;
    background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
    background: -moz-linear-gradient(top, #7db72f, #4e7d0e);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
    display: inline-block;
    vertical-align: baseline;
    margin: 0 2px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    padding: .5em 1em .55em;
    text-shadow: 0 1px 1px rgba(0,0,0,.3);
    -webkit-border-radius: .5em;
    -moz-border-radius: .5em;
    border-radius: .4em;
    -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    -moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
    box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button-green:hover {
    background: #538018;
    background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c));
    background: -moz-linear-gradient(top, #6b9d28, #436b0c);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c');
}
.button-green:active {
    color: #a9c08c;
    background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
    background: -moz-linear-gradient(top, #4e7d0e, #7db72f);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}

/*Menu*/
@media (max-width: 767px) {
	.menu-responsive {
  	font-size: 22px !important;
	}
	#header-responsive .searchbox {
		width: 100% !important;
    margin: 1em 0;
	}
}

/*News Slider on Sidebar*/
.nspTopInterface div {
	float: left !important;
}
.nspHeader,
.nspImageWrapper {
	width: 100%;
}
.nspArt .fleft {
	float: none !important;
}

/*Sidebar Banners*/
.bannergroup {
	text-align: center !important;
}

/*Make images with posts stay within grid*/
div.itemFullText img,
.image-gridlock {
	width: 100% !important;
	height: auto !important;
}

/*Specific styles for kasinosivut/parhaat.html*/

#system article.item .content table tbody tr td p {
}
.table2-center {
	text-align: center !important;
}
.table2-text {
	padding: 1em !important;
}
@media (max-width: 500px) {
	#system article.item .content table tbody tr td {
		width: 100% !important;
	  display: block;
	  float: left;
	}
}

/*Show Toplist table only on homepage*/

section#top-a {
	display: none;
}

.homepage section#top-a {
	display: block;
}
