﻿/********************************************************************************
 * Homepage tiles css
 * Contains tiles of 3 sizes (small square, medium rectangle, and large square
 *
 ********************************************************************************/

.live>div{
	position:absolute;
}
.live img{
	border:none;
}
.live-front{
	width:100%;
	height:100%;
	z-index:20;
}
.live-back{
	width:100%;
	height:100%;
	z-index:10;
}
.live-img{
	display:block;
	height:100%;
	width:100%;
}

/*----------------------------Tile settings--------------------------------*/
.tile{
	margin:0 5px 10px 5px; /* margin locations is top, right, bottom, left */
	float:left;
	overflow:hidden;
	position:relative;
	transition: opacity 0.5s ease 0.1s;
	-moz-transition: opacity 0.5s ease 0.1s;
	-o-transition: opacity 0.5s ease 0.1s;
	-webkit-transition: opacity 0.5s ease 0.1s;
	
    /* the following lines add a grayscale/not-grayscale effect on hover */
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(90%); /* Chrome 19+ & Safari 6+ */
    -webkit-transition: all .6s ease; /* Fade to color for Chrome and Safari */
    -webkit-backface-visibility: hidden; /* Fix for transition flickering */    

    /* the following lines were added to create a border around the tiles with rounded corners */
    border-top:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-left:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-right:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-bottom:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-radius:4px;
	-moz-border-radius:4px;
}
.tilehover{
	position:absolute;
	top:0;
	right:0;
	z-index:30;
	display:none;
}
.tile:hover{
	border:1px solid #fff;
	/*margin:-5px 0 0 0;*/ /* commented this out to not make the tile move on hover */
	box-shadow:0 0 5px 0 #000;
	-moz-box-shadow:0 0 5px 0 #000;
	-webkit-box-shadow:0 0 5px 0 #000;
	
    /* the following lines add a grayscale/not-grayscale effect on hover */
    filter: none;
    -webkit-filter: grayscale(0%);

    /* the following lines were added to create a border around the tiles with rounded corners */
    border-top:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-left:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-right:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-bottom:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-radius:4px;
	-moz-border-radius:4px;
}
.exclude:hover{
	border:none;
	margin:0 5px 10px 5px; /* margin locations is top, right, bottom, left */

    /* the following lines were added to create a border around the tiles with rounded corners */
    border-top:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-left:1px solid #CCC; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-right:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-bottom:1px solid #BBB; /* because borders were added, the size of the tiles need to shrink by 2px below */
	border-radius:4px;
	-moz-border-radius:4px;
}
a .tile:hover .tilehover{
	display:inline;
}

/*----------------------------Setting for tiles that have no image, if it's just text--------------------------------*/
.tile-text{
	color:#fff;
	font-size:2.4em;
	bottom:5px;
	left:10px;
	position:absolute;
	z-index:30;
	text-align:left;
}

/*----------------------------Define tile sizes--------------------------------*/
.large{
	width:308px; /* used to be 310, but we included a 1px border on each side */
	height:308px; /* used to be 310, but we included a 1px border on each side */
}
.medium{
	width:308px; /* used to be 310, but we included a 1px border on each side */
	height:148px; /* used to be 150, but we included a 1px border on each side*/
}
.small{
	width:148px; /* used to be 150, but we included a 1px border on each side */
	height:148px; /* used to be 150, but we included a 1px border on each side */
}
.fade{
	opacity:0.5;
	filter:alpha(opacity=50);
}

/*----------------------------date labels on tiles--------------------------------*/
.tile-date{
	background:none;
	color:#000;
	position:absolute;
	top:0;
	right:20px;
	z-index:99;
}
.tile-date .date{
	font-size:6em;
}
.tile-date .month{
	font-size:2em;
	position:absolute;
	top:70px;
	right:5px;
}

/*----------------------------title overlay on tiles--------------------------------*/
.tile-cat{
	position:absolute;
	bottom:0;
	left:0;
	font-size:2.1em;
	color:#fff;
	z-index:99;
	width:100%;
	text-align:center;
	/*padding:0 10px;*/
	visibility:hidden;
}
.tile:hover .tile-cat{
	visibility:visible;
}


/*----------------------------Not using these settings below--------------------------------*/
.bloglist .tile-cat{
	visibility:visible;
}
#tweeter{
	font-size:1.2em;
	color:#fff;
	text-align:left;
	margin:10px 20px 0 20px;
}
#tweeter a{
	color:#fff;
	text-decoration:underline;
}
#tweeter a:hover{
	text-decoration:none;
}
#tweeter li{
	margin:0 0 10px 10px;
	list-style:square ;
}
.tweeter{
	margin-left:10px;
}
