

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: 'BebasNeueRegular';
    src: url('../fonts/BebasNeue-webfont.eot');
    src: url('../fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/BebasNeue-webfont.woff') format('woff'),
         url('../fonts/BebasNeue-webfont.ttf') format('truetype'),
         url('../fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}

html, body {
	height: 100%;
}
	
body {
	background: url("../img/subtle_carbon.png");
	color: #FFF;
}

/* Header & Navigation */
.navbar-brand {
	background: url("../img/logo.png") no-repeat;
	width: 226px;
	height: 50px;
}

@media (max-width: 768px) {
	.navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
		margin-left: 15px;
	}
}

.navbar {
	background-image: none;
	background-color: rgb(0,0,0);
	background-color: rgba(139,0,0,0.2);
	border-top: 7px solid #8b0000;
	padding: 25px 0;
}

.navbar-inverse .navbar-nav>li>a {
	font-family: "Bree Serif", serif;
	font-size: 16px;
	text-transform: uppercase;
}

.navbar-inverse .navbar-nav>.active>a {
	background-image: none;
	background-color: transparent;
	box-shadow: none;
}

.divider {
	padding: 15px 0;
	color: #8b0000;
	font-family: "Bree Serif", serif;
	font-size: 16px;
}

/* Page Header */
.home h2, .about h2, .resume h2, .contact h2, .work h2 {
	font-family: "Bree Serif", serif;
	font-size: 24px;
	margin-bottom: 35px;
	text-transform: uppercase;
}

.home h2 span, .about h2 span, .resume h2 span, .contact h2 span, .work h2 span {
	color: #8b0000;
	padding-left: 3px;
}

/* Contentes */
.row.contents {
	margin-left: 50px;
}
@media (max-width: 1200px) {
	.row.contents {
		margin-left: 0;
	}
}

/* home content */
.home h3, .resume h3 {
	font-family: "Bree Serif", serif;
	font-size: 21px;
	background: url("../img/title-ribbon.png") no-repeat;
	height: 53px;
	margin-left: -25px;
	padding: 7px 0 0 24px;
}

.home p span {
	display: block;
	font-size: 16px;
	padding: 5px 0 10px 0;
	font-style: italic;
	font-weight: bold;
}

.home p {
	font-size: 16px;
}

.home .col-lg-4 {
	background-color: rgb(0,0,0);
	background-color: rgba(139,0,0,0.33);
	min-height: 354px;
}

.home .col-lg-8 {
	padding-left: 0;
}

.home img {
	-moz-box-shadow: 0 0 10px;
	-webkit-box-shadow: 0 0 10px;
	box-shadow: 0 0 10px;
}

iframe {
	-moz-box-shadow: 0 0 10px;
	-webkit-box-shadow: 0 0 10px;
	box-shadow: 0 0 10px;	
}

/* About content */
.about h3 {
	font-family: "Bree Serif", serif;
	font-size: 21px;
	margin-bottom: 20px;
}

.about .col-lg-7 {
	background-color: rgb(0,0,0);
	background-color: rgba(139,0,0,0.33);
}

.about .col-lg-4 {
	padding-right: 5px;
}

.about .col-lg-4 img {
	-moz-box-shadow: 0 0 10px;
	-webkit-box-shadow: 0 0 10px;
	box-shadow: 0 0 10px;	
}

.about h4 {
	font-family: "Bree Serif", serif;
	font-size: 18px;
	margin: 25px 0;
}

.about h4 a {
	color: #ffffff;
}

.about h4 a:hover {
	color: #8b0000;
}

.about h4 img {
	margin-left: 5px;
}

.about .row.contents {
	margin-left: 0;
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .about .col-lg-4 {
  	text-align: right !important;
  }
}

/* Contact content */
.contact .row.contents {
	margin-left: 0;
}

.contact input, .contact textarea {
	border: 1px solid #8b0000;
	margin-bottom: 25px;
}

.form-control:focus {
	border: 2px solid #8b0000 !important;
}

.contact-message p {
	font-style: italic;
	margin-bottom: 20px;
}

/* My Work content */
.work .row.contents {
	margin-left: 0;
}

/* Sticky Footer */
#wrap {
	min-height: 100%;
	height: auto;
	margin: 0 auto -100px auto;
	padding: 0 0 100px 0;
}

#footer {
	background-color: rgba(139,0,0,0.2);
	height: 100px;
}

footer, .sns {
	margin-top: 25px;
}

footer p, footer small {
	font-family: "Bree Serif", serif;
}

footer p {
	margin: 0;
}

footer a {
	color: #ffffff;
}

footer a:hover {
	color: #8b0000;
}

.sns a {
	color: #FFF;
	font-family: "Bree Serif", serif;
	display: inline-block;
}

/* form validation error */
.error {
	color: red;
	padding-left: 10px;
}

/* My Work Gallery */
.lb-album{
	/*width: 900px;*/
	width: 1000px;
	margin: 0 auto;
	font-family: 'BebasNeueRegular', 'Arial Narrow', Arial, sans-serif;
	list-style: none;
}
.lb-album li{
	float: left;
	/*margin: 5px;*/
	margin: 10px;
	position: relative;
}
.lb-album li > a,
.lb-album li > a img{
	display: block;
}
.lb-album li > a{
	/*width: 150px;*/
	/*height: 150px;*/
	position: relative;
	padding: 10px;
	/*background: #f1d2c2;*/
	background: #454545;
	/*
	-webkit-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	-moz-box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	box-shadow: 1px 1px 2px #fff, 1px 1px 2px rgba(158,111,86,0.3) inset;
	*/
	-webkit-box-shadow: 1px 1px 5px #aaa;
	-moz-box-shadow: 1px 1px 5px #aaa;
	box-shadow: 1px 1px 5px #aaa;

	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;
}
.lb-album li > a span{
	position: absolute;
	width: 150px;
	height: 150px;
	top: 10px;
	left: 10px;
	text-align: center;
	/*line-height: 150px;*/
	padding-top: 50px;
	color: rgba(27,54,81,0.8);
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	font-size: 24px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	background: rgb(241,210,194);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%, rgba(241,210,194,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.56)), color-stop(100%,rgba(241,210,194,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	-webkit-transition: opacity 0.3s linear;
	-moz-transition: opacity 0.3s linear;
	-o-transition: opacity 0.3s linear;
	-ms-transition: opacity 0.3s linear;
	transition: opacity 0.3s linear;
}
.lb-album li > a:hover span{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
.lb-overlay{
	width: 0px;
	height: 0px;
	position: fixed;
	overflow: hidden;
	left: 0px;
	top: 0px;
	padding: 0px;
	z-index: 99;
	text-align: center;
	background: rgb(241,210,194);
	background: -moz-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%, rgba(241,210,194,1) 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%,rgba(255,255,255,0.56)), color-stop(100%,rgba(241,210,194,1)));
	background: -webkit-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -o-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: -ms-radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
	background: radial-gradient(center, ellipse cover, rgba(255,255,255,0.56) 0%,rgba(241,210,194,1) 100%);
}
.lb-overlay > div{
	position: relative;
	color: rgba(27,54,81,0.8);
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	width: 550px;
	margin: 10px auto 0px auto;
	text-shadow: 0px 1px 1px rgba(255,255,255,0.6);
	-webkit-transition: opacity 0.3s linear 1.3s;
	-moz-transition: opacity 0.3s linear 1.3s;
	-o-transition: opacity 0.3s linear 1.3s;
	-ms-transition: opacity 0.3s linear 1.3s;
	transition: opacity 0.3s linear 1.3s;
}
.lb-overlay div h3,
.lb-overlay div p{
	padding: 0px 20px;
	width: 200px;
	height: 60px;
}
.lb-overlay div h3{
	font-size: 36px;
	float: left;
	text-align: right;
	border-right: 1px solid rgba(27,54,81,0.4);
	margin-top: 0;
}
.lb-overlay div h3 span,
.lb-overlay div p{
	font-size: 16px;
	font-family: Constantia, Palatino, "Palatino Linotype", "Palatino LT STD", Georgia, serif;
	font-style: italic;
}
.lb-overlay div h3 span{
	display: block;
	line-height: 6px;
}
.lb-overlay div p{
	text-align: left;
	float: left;
	/*width: 260px;*/
	width: 350px;
}
.lb-overlay a.lb-close{
	background: rgba(27,54,81,0.8);
	z-index: 1001;
	color: #fff;
	position: absolute;
	top: 43px;
	left: 50%;
	font-size: 15px;
	line-height: 26px;
	text-align: center;
	width: 50px;
	height: 23px;
	overflow: hidden;
	margin-left: -25px;
	opacity: 0;
	filter: alpha(opacity=0); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
	-webkit-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-moz-box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	box-shadow: 0px 1px 2px rgba(0,0,0,0.3);
	-webkit-transition: opacity 0.3s linear 1.2s;
	-moz-transition: opacity 0.3s linear 1.2s;
	-o-transition: opacity 0.3s linear 1.2s;
	-ms-transition: opacity 0.3s linear 1.2s;
	transition: opacity 0.3s linear 1.2s;
}
.lb-overlay img{
	/* height: 100%; For Opera max-height does not seem to work */
	max-height: 100%;
	position: relative;
	-webkit-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	-moz-box-shadow: 1px 1px 4px rgba(0,0,0,0.3);
	box-shadow: 0px 2px 7px rgba(0,0,0,0.2);
}
.lb-overlay:target {
	width: auto;
	height: auto;
	bottom: 0px;
	right: 0px;
	padding: 80px 100px 120px 100px;
}
.lb-overlay:target img {
	-webkit-animation: fadeInScale 1.2s ease-in-out;
	-moz-animation: fadeInScale 1.2s ease-in-out;
	-o-animation: fadeInScale 1.2s ease-in-out;
	-ms-animation: fadeInScale 1.2s ease-in-out;
	animation: fadeInScale 1.2s ease-in-out;
}
.lb-overlay:target a.lb-close,
.lb-overlay:target > div{
	opacity: 1;
	filter: alpha(opacity=99); /* internet explorer */
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
}
@-webkit-keyframes fadeInScale {
  0% { -webkit-transform: scale(0.6); opacity: 0; }
  100% { -webkit-transform: scale(1); opacity: 1; }
}
@-moz-keyframes fadeInScale {
  0% { -moz-transform: scale(0.6); opacity: 0; }
  100% { -moz-transform: scale(1); opacity: 1; }
}
@-o-keyframes fadeInScale {
  0% { -o-transform: scale(0.6); opacity: 0; }
  100% { -o-transform: scale(1); opacity: 1; }
}
@-ms-keyframes fadeInScale {
  0% { -ms-transform: scale(0.6); opacity: 0; }
  100% { -ms-transform: scale(1); opacity: 1; }
}
@keyframes fadeInScale {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* 
	100% Height for Opera as the max-height seems to be ignored, not optimal for large screens 
	http://bricss.net/post/11230266445/css-hack-to-target-opera 
*/
x:-o-prefocus, .lb-overlay img {
    height: 100%;
}








