/*
Theme Name: TLA Media
Theme URI: http://www.tlamedia.dk/
Description: The new TLA Media design 2010
Author: TLA Media
Version: 1.0
Template: theme
*/


/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
--------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
}

/* global */

body{
	margin:0;
	font:12px/14px Arial, Helvetica, sans-serif;
	line-height: 140%;
}
img{border:none;} 
a{
	color:#000;
	text-decoration:none;
	outline:none;
}
a:hover{
	text-decoration:underline;
}


/* layout */
.page{
	width:100%;
	min-height:100%;
	margin:0 auto;
	height:auto !important;
	overflow:hidden;
}
/* text */

h2, h3, h4, h5{		
	margin:0;
	padding:0;
}

p{	font-size:12px;
	color:#666;			
	margin:0;
	padding:0 0 10px 0;
}

/* header */
#header{
	display:block;
	width:964px;
	height:170px;
	margin:0 auto;
}

/* logo */
.logo{
	float:left;
	width:240px;
	height:78px;
	margin:40px 0 0;
	overflow:hidden;
	background:url(images/sprite.png) no-repeat 0 0;
	text-indent:-9999px;
}
.logo a{
	display:block;
	width:100%;
	height:100%;
}

/* menu */


#topnavigation {
	display: block;
	float: right;
	margin:50px 0 0 0;
	width: 597px;
}

#topnavigation .menu-header,
div.menu {
	float:right;
	/*overflow:hidden;*/
	height:49px;
	padding:11px 0 0 11px;
	background:url(images/sprite.png) no-repeat 0 -324px; 
	font-size: 13px;
	/*text-transform:uppercase;*/
	margin-left: 12px;
	width: 597px;
}

#topnavigation .menu-header ul,
div.menu ul {
	list-style: none;
	margin: 0;
}

#topnavigation .menu-header li,
div.menu li {
	float: left;
	position: relative;
}

#topnavigation a {
	color: #000;
	display: block;
	line-height: 28px;
	padding: 0 10px;
	margin: 0 5px;
	text-decoration: none;
}

#topnavigation ul li {
	font-weight: bold;
}

#topnavigation ul ul {
/*	box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);*/
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;	display: none;
	position: absolute;
	top: 28px;
	padding-top: 5px;
	left: 0;
	float: left;
	width: 180px;
	z-index: 99999;
}
#topnavigation ul ul li {
	min-width: 170px;
	padding: 0px;
}
#topnavigation ul ul ul {
	left: 100%;
	top: 0;
}
#topnavigation ul ul a {
	background: #EDEDED;
	line-height: 1em;
	padding: 10px;
	width: 160px;
	height: auto;
	color: #666666;
	/*color: #3878C0;*/
}
#topnavigation li:hover > a {
	background: #3878C0 url(images/sprite.png) 0 -745px;
	color: #fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}


#topnavigation ul li:hover > ul {
	display: block;
}
#topnavigation ul li.current_page_item > a,
#topnavigation ul li.current-menu-ancestor > a,
#topnavigation ul li.current-menu-item > a,
#topnavigation ul li.current-menu-parent > a {
	color: #fff;
	background: #3878C0 url(images/sprite.png) 0 -745px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
}


#topnavigation ul.children li.current_page_item > a, #topnavigation ul ul :hover > a {
	background: #EDEDED;
	color: #3878C0;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}


/* ads */
.ads{
	height:240px;
	width:auto;
	background:url(images/bg-ads.gif) repeat-x;
	margin:0 0 20px 0;
}
.ads-width{
	height:240px;
	width:964px;
	margin:0 auto;
}

.ads h2{
	/*width:320px;
	height:46px;
	display:block;*/
	/*text-indent:-9999px;*/
	text-transform: uppercase;
	font-size: 20px;
	padding:0;
	margin:16px 0 10px 0;
}
.ads ul{
	padding:0 30px 0 0;
	margin:0;
	list-style:none;
	overflow:hidden;
}
.ads li{
	padding:15px 0 0 20px;
	margin:0;
	overflow:hidden;
	font-size:12px;
	color:#666;
}
.more{
	margin:12px 0 0 20px;
	display:block;
	border:none;
	overflow:hidden;
	outline:none;
	font-weight: bold;
	font-size: 12px;
	padding-top: 1px;
	background: url(images/sprite.png) no-repeat -390px 0;
	height: 17px;
	width:75px;
}

/* block1 */
.block1{
	height:240px;
	width:320px;
	float:left;
}
.block1 h2{
	color: #3878C0;
/*	height:49px;
	background:url(images/sprite.png) no-repeat 20px -380px;*/
}
.block1 li{
	background:url(images/sprite.png) no-repeat -990px -214px;
}

/* block2 */
.block2{
		height:240px;
		width:320px;
		float:left;
}
.block2 h2{
	color: #F8C52C;
	/*background:url(images/sprite.png) no-repeat -363px -421px;*/
}
.block2 li{
	background:url(images/sprite.png) no-repeat -990px -161px;
}

/* block3 */

.block3{
		height:240px;
		width:320px;
		float:left;
}
.block3 h2{
	color: #89C233;
	/*background:url(images/sprite.png) no-repeat 20px -420px;*/
}
.block3 li{
	background:url(images/sprite.png) no-repeat -990px -266px;
}

/* icons */

.icon-block1{
	width:67px;
	height:67px;
	display:block;
	position:absolute;
	background:url(images/sprite.png) no-repeat -367px 0;
	top:160px;
	left:700px;
}

.icon-block2{
	width:67px;
	height:67px;
	display:block;
	position:absolute;
	background:url(images/sprite.png) no-repeat -434px 0;
	top:160px;
	left:1020px;
}

.icon-block3{
	width:67px;
	height:67px;
	display:block;
	position:absolute;
	background:url(images/sprite.png) no-repeat -501px 0;
	top:160px;
	left:1340px;
}


/* main */
#main{
	height:100%;
	display:block;
	width:964px;
	height:auto;
	margin:0 auto;
	overflow:hidden;
}


/* breadcrumbs */
.breadcrunbs{
	font-size:14px;
	font-weight:bold;
	height:30px;
	padding:0;
	line-height:30px;
	color:#000;
	font-size:11px;
}
.breadcrunbs-width{
	margin:0 auto;
	width:935px;
	overflow:hidden;
	padding:0 0 0 25px;
}
.breadcrunbs a{
	padding:0 7px;
	color:#999;
	font-size:11px;
	text-transform:uppercase;
}


/* left */
.left{
	float:left;
	width:616px;
	padding:0;
}

/* right */
.right{
	float:right;
	width:334px;
	padding:0;
}


/* AdEx */
.AdEx{
	width:616px;
}
.AdEx h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) 0 -78px;
	color:#fff;
}
.AdEx ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
}
.AdEx li{
	margin:0;
	padding: 0 0 0 20px;
	background:url(images/bullet.png) no-repeat 0 6px;
	color:#666;
	line-height:18px;
}
.AdEx .bg{
	display:block;
	width:616px;
	height:48px;
	background:url(images/sprite.png) no-repeat 0 -180px;
	margin:-20px 0 0 0;
	overflow:hidden;
}
.AdEx .frame{
	width:568px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-left.png) repeat-y 0 0;
	padding:20px 24px 0;
}

.AdEx .more{
	margin:15px 0 0 0;
	cursor:pointer;
	position:relative;
	outline:none;
}


/* referencer */
.referencer{
	width:616px;
	margin:20px 0 0 0;
	padding:0;
}
.referencer h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) no-repeat 0 -112px;
	color:#fff;
}
.referencer ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
}
.referencer li{
	margin:0;
	padding:0 10px;
	background:url(images/separator.gif) no-repeat right 3px;
	display:inline;
	line-height:20px;
	white-space:nowrap;
}
.referencer a{
	font-weight:bold;
	color:#3878c0;
	font-size:11px;
}
.referencer .bg{
	display:block;
	width:616px;
	height:48px;
	background:url(images/sprite.png) no-repeat 0 -228px;
	margin:-20px 0 0 0;
	overflow:hidden;
}
.referencer .frame{
	width:578px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-left.png) repeat-y 0 0;
	padding:20px 24px 0 14px;
}

.referencer .nobg{
	background:none;
}

/* Fra bloggen */

.frabloggen{
	width:334px;
	margin:0 0 20px 0;
}
.frabloggen h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) -616px -146px;
	color:#fff;
}
.frabloggen ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.frabloggen li{
	margin:-1px 0 1px;
	background:url(images/separator-right.gif) no-repeat 0 top;
	overflow:hidden;
	padding:10px 0;
}
.frabloggen a{
/*	display:block;*/
	width:288px;
	height:15px;
	font-weight:bold;
	color:#3878c0;
	font-size:11px;
}
.frabloggen .bg{
	display:block;
	width:334px;
	height:48px;
	background:url(images/sprite.png) -616px -276px;
	margin:-20px 0 0 0;
	overflow:hidden;
}
.frabloggen .frame{
	width:290px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-right.png) repeat-y 0 0;
	padding:10px 24px 0 24px;
}
.frabloggen .span{
	color:#000;
}

.frabloggen .more{
	margin:15px 0 0 0;
	position:relative;
}

.frabloggen .vil {
	float:left;
	font-size:18px;
	color:#999;
	margin:9px 0 0 25px;
}


#social {float:left;  margin-top:10px; text-align: right; width:290px;}
#social a {background-image:url(images/sprite.png); display:block; border:solid 3px #c3cddd; float:right; height:30px; margin-right:6px;  width:30px; -moz-border-radius:8px; -webkit-border-radius:8px; opacity:0.8}
#social a:hover {border-color: #999999; opacity:1;}


#social #rss {background-position:0 -550px; }
#social #twitter {background-position:0 -580px; }
#social #fb {background-position:0 -610px;}
#social #in {background-position:0 -640px; }




/* contact */
#contact{
	display:block;
	width:334px;
	height:88px;
	background:url(images/sprite.png) -616px -324px;
	margin: 20px 0 0;
}

#contact #mail{
	float:right;
	/*cursor:pointer;*/
	display: block;
	/*outline:none;*/
	margin:12px 13px 0 0;
	width: 125px;
	height: 63px;
	background: url(images/sprite.png) no-repeat 0 -675px;
}

#contact #text {
	float:left;
	font-size:18px;
	color:#999;
	margin:18px 0 0 20px;
}

#contact #number{
	clear:left;
	float:left;
	font-weight:bold;
	font-size:24px;
	color:#666;
	background:url(images/sprite.png) no-repeat -471px 5px;
	padding:0 0 0 25px;
	margin:10px 0 0 20px;
}

/* page */
.type-page h2, .type-page h2 a, .type-page h1, .type-page h1 a{
	font-size:20px;
	font-weight:normal;
	line-height:20px;
	padding:10px 0;
}

/* post */
.post{
	display:block;
	width:616px;
	height:auto;
	margin:0 0 20px 0;
}
.post .header-post{
	width:616px;
	height:34px;
	overflow:hidden;
 	background:url(images/sprite.png) no-repeat 0 -146px;
}
.post .frame{
	width:568px;
	height:auto;
	overflow:hidden;
	padding:20px 24px 0;
	background:url(images/onepix-left.png) repeat-y 0 0;
}
.post .bg{
	display:block;
	width:616px;
	height:48px;
	background:url(images/sprite.png) 0 -276px;
	margin:-20px 0 0 0;
	overflow:hidden;
}
.post p{
	font-size:12px;
	color:#666;
	padding: 0 0 15px;
}
.post p a{
	text-decoration:none;
	color:#3878c0;
}
.post p a:hover{
	text-decoration:underline;
}
.post h2, .post h2 a, .post h1, .post h1 a{
	font-size:20px;
	font-weight:normal;
	line-height:20px;
	padding:0 0 10px 0;
	color:#3878c0;
	/*text-transform:uppercase;*/
}
.post .date{
	overflow:hidden;
	height:34px;
	margin:0 0 0 26px;
	font-size:14px;
	font-weight:bold;
	font-style:normal;
	color:#666;
	line-height:34px;
}
.post .date span{
	color:#999;
	margin:0 0 0 3px;
}

.post .meta{
	float:right;
	text-align:right;
	line-height:34px;
	height:34px;
	margin:0 21px 0 0;
	padding:0;
	font-size:11px;
	font-weight:bold;
	color:#666;
}
.post .meta a{
	color:#3878c0;
	padding:0 7px;
}
.post .author{
	background:url(images/separator.gif) no-repeat right 3px;
}

.post .kategori-line{
	float:right;
	font-weight:bold;
	color:#666;
}

.post .kategori-line a{
	color:#3878c0;
	padding:0 0 0 7px;
}

.post .more{
	float:left;
	margin:0;
	border:none;
	overflow:hidden;
	outline:none;
}

/* kommentarer */
.kommentarer{
	width:616px;
	height:auto;
	margin:10px 0;
}

.kommentarer .comment{
	width:568px;
	height:auto;
	overflow:hidden;
	padding:10px 24px 5px 0;
	background:url(images/hr.gif) no-repeat center bottom;
}

.kommentarer .comment-author{
	float:left;
	width:120px;
	height:auto;
	padding:0 0 0 24px;
}

.kommentarer .comment-author a{
	display:block;
	width:120px;
	font-size:12px;
	color:#3878c0;
}

.kommentarer .comment-author img{
	display:block;
	width:41px;
	height:41px;
	outline:solid 1px #ccc;
	margin:5px 0 0 0;
}

.kommentarer .text{
	float:right;
	width:420px;
	height:auto;
}

.kommentarer h4{
	display:block;
	font-size:14px;
	font-weight:bold;
	color:#666;
	height:20px;
	margin:20px 0 10px 0;
	padding: 0 0 0 24px;
	background:url(images/hr.gif) no-repeat center bottom;
}


/* kategori */

.kategori{
	width:334px;
	margin:0 0 20px 0;
	padding:0;
}
.kategori h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) -616px -146px;
	color:#fff;
}
.kategori ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.kategori li{
	margin:-1px 0 1px;
	background:url(images/separator-right.gif) no-repeat 0 top;
	overflow:hidden;
	padding:0;
	line-height:25px;
	position:relative;
}

.kategori a{
	width:288px;
	height:15px;
	font-weight:bold;
	color:#333;
	font-size:11px;
}

.kategori a:hover{
	color:#3878c0;
}

.kategori .bg{
	display:block;
	width:334px;
	height:48px;
	background:url(images/sprite.png) no-repeat -616px -276px;
	margin:-30px 0 0 0;
	overflow:hidden;
}
.kategori .frame{
	width:290px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-right.png) repeat-y 0 0;
	padding:10px 24px 0 24px;
}

/* arkiver */

.arkiver{
	width:334px;
	margin:0 0 20px 0;
	padding:0;
}
.arkiver h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) -616px -112px;
	color:#fff;
}
.arkiver ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.arkiver li{
	margin:-1px 0 1px;
	background:url(images/separator-right.gif) no-repeat 0 top;
	overflow:hidden;
	padding:0;
	line-height:25px;
	position:relative;
}

.arkiver a{
	width:288px;
	height:15px;
	font-weight:bold;
	color:#333;
	font-size:11px;
}

.arkiver a:hover{
	color:#3878c0;
}

.arkiver .bg{
	display:block;
	width:334px;
	height:48px;
	background:url(images/sprite.png) -616px -228px;
	margin:-30px 0 0 0;
	overflow:hidden;
}
.arkiver .frame{
	width:290px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-right.png) repeat-y 0 0;
	padding:10px 24px 0 24px;
}


/* nye kommentarer */

.nye-kommentarer{
	width:334px;
	margin:20px 0 0 0;
	padding:0;
}
.nye-kommentarer h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) no-repeat -616px -78px;
	color:#fff;
}
.nye-kommentarer ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.nye-kommentarer li{
	margin:-1px 0 1px;
	background:url(images/separator-right.gif) no-repeat 0 top;
	overflow:hidden;
	padding:10px 0;
}
.nye-kommentarer a{
	color:#000;
}
.nye-kommentarer a:hover{
	text-decoration:none;
	outline:none;
}
.nye-kommentarer a:hover span{
	text-decoration:underline;
	outline:none;
}
.nye-kommentarer .bg{
	display:block;
	width:334px;
	height:48px;
	background:url(images/sprite.png) no-repeat -616px -180px;
	margin:-30px 0 0 0;
	overflow:hidden;
}
.nye-kommentarer .frame{
	width:290px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-right.png) repeat-y 0 0;
	padding:10px 24px 0 24px;
}
.nye-kommentarer span{
	height:15px;
	font-weight:bold;
	color:#3878c0;
	font-size:11px;
	padding:0 5px 0 0;
}
.nye-kommentarer .more{
	margin:15px 0 0 0;
	position:relative;
}


/*  fieldset */


.form-submit #submit{
	text-indent:-9999px;
	cursor:pointer;
	background:url(images/bt-send.png);
	border: none;
	width: 76px;
	height: 37px;
}








#respond {
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	color: #ff4b33;
	font-weight: bold;
}
#respond label {
	color: #888;
	font-size: 12px;
}
#respond input {
	margin: 0 0 9px;
	width: 98%;
}
#respond textarea {
	width: 98%;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}








/* Seneste nyt */

.seneste{
	width:334px;
}
.seneste h3{
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) -616px -146px;
	color:#fff;
}
.seneste ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
	overflow:hidden;
}
.seneste li{
	margin:-1px 0 1px;
	background:url(images/separator-right.gif) no-repeat 0 top;
	overflow:hidden;
	padding:10px 0;
}
.seneste a{
	display:block;
	width:288px;
	height:15px;
	font-weight:bold;
	color:#3878c0;
	font-size:11px;
}
.seneste .bg{
	display:block;
	width:334px;
	height:48px;
	background:url(images/sprite.png) -616px -276px;
	margin:-30px 0 0 0;
	overflow:hidden;
}
.seneste .frame{
	width:290px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-right.png) repeat-y 0 0;
	padding:10px 24px 0 24px;
}
.seneste .span{
	color:#000;
}

.seneste .more{
	margin:15px 0 0 0;
	position:relative;
}

/* Om TLA */
.om-tla{
	width:616px;
}
.om-tla h1{
	font-size:17px;
	height:23px;
	margin:0;
	padding:11px 0 0 23px;
	background:url(images/sprite.png) 0 -78px;
	color:#fff;
}
.om-tla ul{
	margin:0 0 10px 0;
	padding:0;
	list-style:none;
}
.om-tla li {
	margin:0;
	padding: 0 0 0 20px;
	background:url(images/bullet-AdEx.png) no-repeat 0 6px;
	color:#666;
	line-height:18px;
}

.om-tla li a {
	background:url(images/bullet-AdEx.png) no-repeat 0 6px;
}

.om-tla .bg{
	display:block;
	width:616px;
	height:48px;
	background:url(images/sprite.png) 0 -180px;
	margin:-30px 0 0 0;
	overflow:hidden;
}
.om-tla .frame{
	width:568px;
	height:auto;
	overflow:hidden;
	background:url(images/onepix-left.png) repeat-y 0 0;
	padding:20px 24px 0;
}

.om-tla .more{
	margin:15px 0 0 0;
	cursor:pointer;
	position:relative;
	outline:none;
}


/* footer */
#footer{
	width:auto;
	height:105px;
	text-align:center;
	background-color:#f2f2f2;
	margin:20px 0 0;
	padding-top: 20px;
}

#footer #logo{
	display: block;
	width: 127px;
	height: 41px;
	background: url(images/sprite.png) no-repeat -240px 0;
}

#footer p{
	margin:10px 0 0 0;
	font-size:11px;
	color:#999;
	padding:0 0 3px 0;
}

#footer span{
	font-size:11px;
	color:#000;
	padding:0 3px;
}




/* =Images
-------------------------------------------------------------- */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	text-align: center;
}
.wp-caption img {
	margin: 5px 5px 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 2px solid #cfcfcf;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl {
	margin: 0;
}
.gallery img {
	border: 10px solid #f1f1f1;
}
.gallery br+br {
	display: none;
}
#content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}

