/** 
 * SilverStripe Portfolio Theme
 */

 
/* GENERIC STYLES 
-------------------------------------------- */

@font-face {
    font-family: Romeral;
    src: url(../fonts/romeral.otf) format("opentype");
}

.romeral {
	color: #444;   
	font-weight: 100;
	font-family: Romeral, Georgia, serif;    
}

.typography {
    color: #666;
 	font-size: 12px;        
}

/* PARAGRAPHS & BASICS
-------------------------------------------- */

.typography em {
    font-style: italic;
}
p { 
 	color: #666;
 	line-height: 20px;
    margin: 0 0 12px;    
}

/* QUOTES
-------------------------------------------- */

.typography blockquote {
    color: #777;
	margin: 5px 10px;
	font-style: italic;
}

/* LINKS 
-------------------------------------------- */

.typography a {
	/*color: #3E91C4;*/
	color: #333;
 	text-decoration: none; 
    }
	.typography a:hover { 
 		text-decoration: underline;
	}

    a span {
        background: #d5d5d5;
        border-radius: 2px;
        margin: 0 6px 0 0;
        padding: 4px 6px;
		text-shadow: 1px 1px 1px #fff
    }
    a:hover span {
		background-color: #333;
        color: #e5e5e5;
		text-shadow: none;
    }

    li a {
        color: #333;
        padding: 0;
        }
        li a:hover {
            text-decoration: none;
        }
    #Footer a:hover {
        color: #fff !important;
        text-decoration: none;
    }


	/* LINK ICONS - shows type of file
	------------------------------------ */
	.typography a[href$=".anki"],
	.typography a[href$=".pdf"],
	.typography a[href$=".PDF"] {
		background: url(../images/icons/document.png) no-repeat 0 50%;
		padding: 2px 0 1px 22px;
	}
	.typography a[href$=".gz"],
	.typography a[href$=".GZ"],
	.typography a[href$=".gzip"],
	.typography a[href$=".GZIP"],
	.typography a[href$=".rar"],
	.typography a[href$=".RAR"],
	.typography a[href$=".zip"],
	.typography a[href$=".ZIP"],
	.typography a.archive {
		background: url(../images/icons/archive.png) no-repeat 0 50%;
		padding: 2px 0 1px 22px;
	}

/* LIST STYLES 
-------------------------------------------- */
.typography ul, 
.typography ol {
    margin: 0 0 20px;
    }
	.typography li {
        background: url(../images/icons/bullet.png) no-repeat 0 4px;
        height: auto;
        min-height: 24px;
        line-height: 24px;
        padding: 0 0 0 22px;
    	}
		.typography li li {
		}
    #FromBlog li {
        background: none;
        padding: 0;
    }

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

.typography h1,
.typography h2,
.typography h2 *,
.typography h3,
.typography h4,
.typography h5,
.typography h6 { 
	color: #444;   
	font-weight: 100;
	font-family: Romeral, Georgia, serif;
}
h1,
h2,
h3 {
	text-shadow: 1px 1px 0px #fff;
}
.typography h1 {
    border: 0 dotted #999;
    border-width: 0 0 1px;
    font-size: 26px;
	margin: 0 0 18px;
}
#Home h1 {
    border: none;
    font-size: 26px;
	text-align: center;
    }
    .typography h1 em {
        color: #444 !important;
        font-size: 28px;
    }

.typography h2,
.typography h2 * { 
 	font-size: 24px;
	margin: 0 0 10px;    
}
#ProjectHolder h2 {
	margin-left: 20px;
}

.typography h3 {
	font-size: 20px;    
	margin: 0 0 8px;
}
.typography h4 {
	font-size: 18px;
	line-height: 18px;
	margin: 0 0 8px;
}
.typography h5 {
	font-size: 16px;
	margin: 0 0 8px;
}
.typography h6 {
	font-size: 14px;
	margin: 0 0 8px;
}

/* PRE STYLES 
-------------------------------------------- */	
.typography pre,
.typography code {
	background:#f9f9f9;
	border:1px dotted #ccc;
    color: #444;
	display: block;
	font-family: "Andale Mono","Courier New",Courier,monospace;
	font-size: 13px !important;
	margin: 10px 0;
	padding: 5px 10px;
}

/* TABLE STYLING 
-------------------------------------------- */
.typography table {
	margin: 0 0 18px 0;
	font-size: 11px;
	color: #666;
	border-collapse:collapse;
    }
	.typography tr {
        }
		.typography td {
			border: 1px solid #999;
			padding: 5px;
		}

/* WYSIWYG EDITOR ALIGNMENT CLASSES // FLOATINGS
-------------------------------------------- */
.typography .left {
	text-align: left;
}
.typography .center {
	text-align: center;
}
.typography .right {
	text-align: right;
}
.typography .fleft {
	float: left;
}
.typography .fright {
	float: right;
}

/* IMAGES 
-------------------------------------------- */
.typography img {
	border: 1px solid #ccc;
	border-radius: 4px;
	-moz-border-radius: 4px;
    padding: 3px;
    }
	.typography div.image.right,
	.typography div.captionImage.right {
		float: right;
		margin-left: 20px;
	}
	.typography .captionImage {
		border: 1px solid #aaa;
		padding: 5px;
	}
	.typography div.image.left,
	.typography div.captionImage.left {
		float: left;
	}
	.typography div.image.leftAlone,
	.typography div.captionImage.leftAlone {
		float: left;
		margin-right: 100%;
	}
	.typography div.image.center,
	.typography div.captionImage.center {
		float: none;
		margin-left: auto;
		margin-right: auto;
		display: block;
	}
	.typography .caption {
		font-weight: bold;
		text-align: center;
		color: #666;
	}
    
/* NAVIGATION
-------------------------------------------- */

#Navigation a {
    color: #666;
    display: block;
    font-size: 12px;    
    }
    #Navigation a:hover {
        color: #666;
    }
    #Navigation a.current,
    #Navigation a.section {
        color: #333;
    }
