/*
Theme Name: Teresa Dillon v3
Author: Ingmar Standke
Author URI: http://www.ingmarstandke.com
Version: 1.0
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
	overflow-y: scroll;
	margin: 0px;
	font-family: 'Poppins', sans-serif;
	font-size: 17px;
	line-height: 26px;
	background: #fff;
	color: #000000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0px;
	font-weight: normal;
}

p {
	margin-top: 0px;
}

a {
	text-decoration: none;
	color: #000000;
}

a:hover {
	
}

.center {
	position: relative;
	margin: 0 auto;	
	
}

.r {
	float: left;
	position:relative;
	width: 100%;
}

.r > .col{
	float: left;
	position:relative;
	
}


.rt {
	display: table;
	position:relative;
	width: 100%;
	table-layout: fixed;
}

.rt > .col {
	position:relative;
	display:table-cell;
	width: auto;
	vertical-align:top;
}

#page {
	overflow: hidden;
}

#header .button {
	position: absolute;
	display: none;
	width: 50px;
	height: 50px;
	right: 0px;
	top: 0px;
}

#header .button span {
	position: relative;
	margin: 12px 0px 0px 10px;
	display: block;
	background: #FF00CC;
	width: 30px;
	height: 5px;
}

#header .button span + span {
	margin-top: 5px;
}


#page > .rt > .col.navigation {
	width: 290px;
}

#page > .rt > .col.navigation > div {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 275px;
	height: 100%;
	padding-top: 155px;
	padding-left: 35px;
	overflow: auto;
}

#page > .rt > .col.navigation h1 {
	position: absolute;
	left: 35px;
	top: 25px;
	font-weight: 700;
	font-size: 30px;
	line-height: 36px;
	text-transform: uppercase;
}

#page > .rt > .col.navigation ul {
	list-style: none;
	padding: 0px;
    margin: 0px;
    line-height: 24px;
}

#page > .rt > .col.navigation ul li {
	position: relative;
	overflow: hidden;
}

#page > .rt > .col.navigation ul.main {
	padding-right: 25px;
	margin-bottom: 40px;
}

#page > .rt > .col.navigation ul.main > li > a {
	font-size: 20px;
	line-height: 30px;
} 

#page > .rt > .col.navigation ul.main > li > a:hover,
#page > .rt > .col.navigation ul.main > li.selected > a {
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
}

#page > .rt > .col.navigation ul ul {
	display: none;
	padding-left: 30px;
}

#page > .rt > .col.navigation ul li.selected ul {
	display: block;
}

#page > .rt > .col.navigation ul ul li {
	font-size: 14px;
	line-height: 20px;
}

#page > .rt > .col.navigation ul ul li a {
	display: inline-block;
	text-indent: -10px;
	color: #333333;
} 

#page > .rt > .col.navigation ul ul li span {
	display: inline-block;
	padding-left: 10px;
	background-position: -10px top;
}

#page > .rt > .col.navigation ul ul li:hover span,
#page > .rt > .col.navigation ul ul li.selected span{
	background: url('m/navigation_hover.png');
}

#page > .rt > .col.navigation ul ul li.separator {
	font-weight: 700;
}

#page > .rt > .col.navigation ul ul  {
	padding-bottom: 20px;
}

body:not(.home) #page > .rt > .col.main {
	padding-top: 155px;
	padding-bottom: 90px;
}

/* Project List */

ul.project-list {
	list-style: none;
	padding: 0px;
    margin: 0px;
}

ul.project-list li {
	position: relative;
	background-size: cover;
}

ul.project-list li > a {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

/* Work Detail */

.work.detail > .center {
	padding-left: 40px;
	padding-right: 40px;
	max-width: 1000px;
}

.work.detail img {
	width: 100%;
}

.work.detail h3,
.work.detail h4 {
	font-size: 20px;
	font-weight: 700;
}

.work.detail > .center img {
	margin-bottom: 30px;
}

.work.detail ul {
	list-style: none;
	padding: 0px;
    margin: 0px;
}

/* */

.publications-overview ul {
	list-style: none;
	padding: 0px;
    margin: 0px;
}

.publications-overview ul li {
	position: relative;
}

.publications-overview ul li + li {
	margin-top: 20px;
}

.publications-overview ul li h4 {
	font-weight: 700;
}

.publications-overview ul li a {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.publications-overview ul li:hover h4 {
	display: inline-block;
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
}

/* */

#page .page.default a:hover,
#page .col.main .text a:hover {
	background: -moz-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
	background: linear-gradient(to bottom, rgba(255,255,255,0) 60%, rgba(255,128,255,1) 50.001%, rgba(255,128,255,1) 90%, rgba(255,255,255,0) 90.001%);
}

/* Page */

.page.default {
	padding-right: 40px;
	max-width: 700px;
}

@media screen and ( max-width: 768px ) {

	#page > .rt > .col,
	#page > .rt > .col.navigation {
		display: block;
		width: 100%;
	}

	#page > .rt > .col.navigation {
		height: 90px;
	}

	#page > .rt > .col.navigation h1 {
		left: 20px;
	}

	#page > .rt > .col.navigation > div {
		position: absolute;
		width: 100%;
		height: 90px;
		padding: 0px;
		overflow: visible;
	}

	#page > .rt > .col.navigation span.button {
		display: block;
		position: absolute;
		right: 40px;
		top: 22px;
		width: 40px;
		height: 40px;
		cursor: pointer;
	}

	#page > .rt > .col.navigation span.button span {
		display: block;
		margin-left: 8px;
		margin-top: 10px;
		width: 24px;
		height: 3px;
		background: #000;
	}

	#page > .rt > .col.navigation span.button span + span {
		margin-top: 5px;
	}

	#page > .rt > .col.navigation ul.main {
		position: absolute;
		display: none;
		z-index: 100;
		top: 100%;
		left: 0px;
		width: 100%;
		padding: 20px 40px 20px 20px;
		background: rgba(255, 255, 255, 0.9);
	}

	#page.navigation-show > .rt > .col.navigation ul.main {
		display: block;
	}

	#page.navigation-show > .rt > .col.main {
		opacity: 0.1;
	}

	body:not(.home) #page > .rt > .col.main {
		padding-top: 0px;
		padding-left: 20px;
		padding-right: 20px;
	}
}