/* common */
html, body {
	padding: 0;
	margin: 0;
	font-family: 'Open Sans Condensed',sans-serif;
	color: #212121;
    font-weight: 300;
}
/*
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}
*/
hr, hr.horizontal-line-thin {
	clear: both;
	margin: 0;
}
hr.horizontal-line-thick {
	clear: both;
	margin: 40px 0;
}

header {
	background: #f3f3f3;
	clear: both;
	box-shadow: 0 1px 6px rgba(34, 25, 25, 0.6);
}
header.header-home-page {
    padding-bottom: 60px;
}
.heading-title {
	font-size: 45px;
	text-align: center;
	line-height: 100px;
	padding: 0 100px;
}
.heading-title-larger {
	font-size: 111px;
	line-height: 150px;
}
.heading-title-smaller {
	font-size: 36px;
	line-height: 50px;
}
header .round-avatar {
    float: left;
    height: 200px;
    width: 100%;
}
header .round-avatar img {
    height: 120px;
    width: 120px;
    display: block;
    margin: auto;
    
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    border-radius: 50%;
}

#container {
	background: white;
	height: 100%;
	width: 100%;
	clear: both;
    padding-top: 20px;
}

#spinner {
	text-align: center;
	margin: 20px 0;
}


.nav-bar {
	background: none;
	height: 40px;
	padding: 0 20px;
}
.nav-bar > li {
	border: 0;
	margin: 0;
	padding: 0;
	font-family: 'Open Sans Condensed',sans-serif;
	letter-spacing: 1px;
	box-shadow: none;
	
	float: left;
	display: block;
	position: relative;
	line-height: 38px;
}
.nav-bar > li > a:first-child {
	font-size: 16px;
	text-transform: uppercase;
	padding: 0 25px;
	border: 0;
	position: relative;
	display: block;
	text-decoration: none;
}
.nav-bar > li:last-child {
	border: 0;
	box-shadow: none
}
.nav-bar > li.active:hover {
	background: #000;
	cursor: default;
}
.nav-bar > li:hover {
	background: #EEE; color: #000;         
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out; 
}
.nav-bar > li > a { color: #4d4d4d }
.nav-bar > li > a:hover { color: #000; }
.active a { background: #F06B48; color: #FFF }


.resume-table, .portfolio-table {
	width: 960px;
	margin: auto;
	border-spacing: 20px;
}
.resume-table td:first-child {
	width: 300px;
}

.basic-icon {
	color: black;
	float: left;
	line-height: 40px;
}

.change-link-to-text {
	color: black;
	text-decoration: none;
}

#contact {
	clear: both;
	text-align: center;
	padding: 50px 0;
}
#contact a {
	margin: 10px;
}

.small-device-only {
	display: none;
}
.icon-spacing {
	margin-right: 5px;
}
.to-right {
	float: right;
}

.font-size-0 { font-size: 16px; }
.font-size-1 { font-size: 22px; }
.font-size-2 { font-size: 26px; }
.font-size-3 { font-size: 33px; }


.entry {
	padding: 10px;
	margin: 30px 0;
	
	-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-moz-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-ms-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-o-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}
.entry .entry-cover, .entry .entry-cover-wide {
	vertical-align: top;
}
.entry .entry-cover img {
	width: 150px;
}
.entry .entry-cover-wide img {
	width: 200px;
}
.entry .entry-description {
	vertical-align: top;
	padding: 0 10px;
}

.nico-logo {
    font-size: 20px;
    margin: 75px 0 15px;
}
.nico-logo + a > img {
    height: 65px;
}

.icon.icon-bigger {
    font-size: 48px;
    vertical-align: middle;
    margin-right: 10px;
}


/* home page */
.row {
	width: 960px;
	max-width: 100%;
	min-width: 768px;
	margin: 0 auto;
}
.three-column {
	height: 250px;
	width: 33.33333%;
	float: left;
	background-color: transparent;
	padding: 20px 0;
}
.three-column:hover {
	background-color: #EEE;
    
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-ms-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out; 
}
.three-column h3 {
	font-size: 27px;
	margin: 20px;
	color: #333;
}
.three-column p {
	margin: 20px;
}
.three-column-icon {
	color: #333;
	float: left;
	line-height: 40px;
}

/* portfolio page */
.portfolio-website-image-row img:hover {
    outline: 1px dashed #CCC;
}
.portfolio-website-image {
    width: 60%;
    padding: 0 50px 20px 0;
}
.portfolio-website-image img {
    width: 100%;
    padding: 10px;
}

.portfolio-website-video {
    float: left;
}
.portfolio-website-video-title {
    margin: 0 0 0 530px;
}
.portfolio-website-video-body {
    margin-bottom: 75px;
}


/* gallary page */
.item {
	padding: 5px;
	margin: 10px;
	text-align: center;
	
	-webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-moz-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-ms-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	-o-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
	box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4);
}
.item, .item img.img-real { width: 300px; }
.item-book-cover, .item-book-cover img.img-book-cover {
    width: 200px;
    display: inline-block;
}
.item-book-detail {
    width: 150px;
    float: right;
    margin: 10px;
}

.item .description {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	
	color: #555;
	background-color: rgba(255, 255, 255, 0.4);
	font-size: 20px;
	padding: 15px 0 20px 0;
	margin: 0;
	
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}
.item:hover > .description {
	opacity: 1;
}

.paper-box {
    height: 200px;
    width: 300px;
    display: inline-block;
    
    background-color: #FFF;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -ms-box-shadow: none;
    -o-box-shadow: none;
    box-shadow: none;
    
    -webkit-transition: -webkit-box-shadow .25s ease-in-out;
    -moz-transition: -moz-box-shadow .25s ease-in-out;
    -ms-transition: -ms-box-shadow .25s ease-in-out;
    -o-transition: -o-box-shadow .25s ease-in-out;
    transition: box-shadow .25s ease-in-out;
}
.paper-box:hover {
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
    -ms-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
    -o-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
}
.paper-box .item-book-detail {
    opacity: 0;
    
    -webkit-transition: opacity .5s ease-in-out;
    -moz-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    -o-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}
.paper-box:hover .item-book-detail {
    opacity: 1;
}


/* tooltips */
.hint, [data-hint] {
    position: relative;
    display: inline-block;
}
.hint:before, .hint:after, [data-hint]:before, [data-hint]:after {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    z-index: 1000000;
    pointer-events: none;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    transition: 0.3s ease;
}
.hint:hover:before, .hint:hover:after, .hint:focus:before, .hint:focus:after, 
[data-hint]:hover:before, [data-hint]:hover:after, 
[data-hint]:focus:before, [data-hint]:focus:after {
    visibility: visible;
    opacity: 1;
}
.hint:before, [data-hint]:before {
    content: '';
    position: absolute;
    background: transparent;
    border: 6px solid transparent;
    z-index: 1000001;
}
.hint:after, [data-hint]:after {
    content: attr(data-hint);
    background: #383838;
    color: white;
    text-shadow: 0 -1px 0px black;
    padding: 8px 10px;
    font-size: 16px;
    line-height: 20px;
    white-space: pre-wrap;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    width: 190px;
}

.hint--bottom:before { border-bottom-color: #383838; }

.hint--bottom:before {
    margin-top: -12px;
    margin-left: 100px;
}
.hint--bottom:after { margin-left: 0; }
.hint--bottom:before, .hint--bottom:after {
    top: 50%;
    left: 10px;
}
.hint--bottom:hover:after, .hint--bottom:hover:before, .hint--bottom:focus:after, .hint--bottom:focus:before {
    -webkit-transform: translateY(8px);
    -moz-transform: translateY(8px);
    transform: translateY(8px);
}


/* mobile devices */
@media screen and (max-width: 1000px) {
    .item {
        width: 50%;
		padding: 0;
        margin: 0;
		text-align: center;
	
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		-ms-box-shadow: none;
		-o-box-shadow: none;
		box-shadow: none;
	}
    .item img.img-real { width: 100%; }
    .item-book-cover img.img-book-cover {
        margin: 10px;
    }
    .item-book-cover img.img-book-cover:first-child {
        margin-left: 0;
    }
	.item .description {
		padding: 15px 0;
	}
	
	.nav-bar { height: auto; }
	.nav-bar > li { float: none; display: block; border-right: none; }
	.nav-bar > li > a.main { text-align: left; border-top: 1px solid #ddd; border-right: none; }
	.nav-bar > li:first-child > a.main { border-top: none; }
	
	.row {
		width: 100%;
		min-width: 0;
	}
	.three-column {
		height: auto;
		width: 100%;
		float: none;
	}
	
	.resume-table, .portfolio-table {
		width: 100%;
		margin: auto;
		border-spacing: 20px;
	}
	.resume-table td:first-child {
		width: auto;
		min-width: 150px;
	}
	
	.small-device-only {
		display: block;
	}
	
	.entry {
		padding: 10px;
		margin: 30px 0;
		
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		-ms-box-shadow: none;
		-o-box-shadow: none;
		box-shadow: none;
	}
	.to-right {
		margin-right: 10px;
	}
    
    .hint--bottom:before {
        margin-top: -12px;
        margin-left: 95px;
    }
    .hint:after, [data-hint]:after {
        width: 180px;
    }
    .hint--bottom:before, .hint--bottom:after {
        top: 50%;
        left: 0;
    }
    
    .portfolio-website-video-title {
        margin: 10px 0 0 0;
        display: inline-block;
    }
}

@media screen and (max-width: 500px) {
    .item, .item img.img-real { width: 100%; }
    
    .item-book-detail {
        margin: 0;
        opacity: 1 !important;
    }
}




