/*
Theme Name: Audrey.co
Theme URI: http://audrey.co
Description: Audrey.co theme
Version: 1.0
*/

a {
	color: #993333;
}

body {
	margin:0;
	padding:0;
	background: #dee6e1 url(images/body-background.png) repeat-x scroll left top;
	font-family: Georgia;
	font-size: 18px;
	line-height: 1.6;
	color:#2d3b3f;
}

@media screen and (min-width: 800px ) {
	body {
		padding-bottom:100px;
	}
}

@media screen and (max-width: 767px ) {
	body {
		font-size: 16px;
		line-height: 1.5;
	}
}

img#wpstats{width:0px;height:0px;overflow:hidden;}

header .logo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    display: block;
    border-style: none;
    width: 274px;
    height: 185px;
    background-size: 274px 185px;
    background-image: url(images/audrey-logo.png);
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: transparent;
    position: relative;
}

@media screen and (max-width: 480px ) {
	header .logo {
		width: 100%;
		height: 300px;
		background-position: center top;
		background-size: contain;

	}
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (min-device-pixel-ratio: 1.5) {
	header .logo {
		background-image: url(images/audrey-logo-hd.png);
	}
}

article {
	display:block;
	box-sizing: border-box;
	max-width: 800px;
	width: 100%;
	margin-left:auto;
	margin-right:auto;
	margin-top:-80px;
	background: #fff;
	padding-bottom:50px;
}

@media screen and (max-width: 480px ) {
	article {
		padding-bottom: 0;
	}
}

@media screen and (min-width: 800px ) {
	article {
		border: 2px solid #2d3b3f;
	}
}

nav {
	display:block; /* set this to block to display menus */
	height: 52px;
	font-family: Georgia;
	font-size: 18px;
	font-style:italic;
}

nav a {
	color: #993333;
	text-decoration:none;
}

nav ul {
	list-style-type:none;
	margin-top:14px;
}

/*nav li {
	float:left;
}*/

#menu-left {
	float:left;
}

#menu-left li {
	margin-right:4em;
}

#menu-right {
	float:right;
	margin-right:40px;
}

#menu-right li {
	margin-left:4em;
}

.content-old {
	background: transparent url(images/internal-fade.png) repeat-x scroll left top;
}

.home div.page {
	padding-top: 100px;
	line-height: 1.2;
}

div.page {
	margin-left:50px;
	margin-right:50px;
	padding-top:120px; /* subtract 54 px from this if you enable menus, 80 px otherwise */
	line-height: 1.6;
}


@media screen and (max-width: 800px ) {
	div.page {
	    margin-left: 15px;
	    margin-right: 15px;
	    padding-top: 120px;
	}
}

@media screen and (max-width: 480px ) {
	div.page {
	    margin-left: 20px;
	    margin-right: 20px;
	    padding-top: 120px;
	}
}

@media screen and (max-width: 440px ) {
	div.page {
	    padding-top: 100px;
	}
}

@media screen and (max-width: 400px ) {
	div.page {
	    padding-top: 80px;
	}
}


hr {
	display:block;
	height:1px;
	border:0;
	color:#d8d8d8;
	background-color: #d8d8d8;
}

article header {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: 30px;
}
article header:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	border-top: 1px solid #d8d8d8;
}

h3 {
	margin: 0 auto;
	font-family: Georgia;
	font-weight:bold;
	color:#2d3b3f;
	font-size: 24px;
	background-color:#fff;
	padding-left:15px;
	padding-right:15px;
	position: relative;
}

.intro {
	text-align:center;
	margin-top:20px;
	margin-bottom:40px;
	font-size: 16pt;
	line-height:170%;
}

@media screen and (max-width: 480px ) {
	.intro {
		font-size: 19px;
	}
}

/*
@media screen and (max-width: 450px ) {
	.intro {
		margin-top: -15px;
	}
}
*/
/*
h3.portfolio {
	width:110px;
}

h3.personnel {
	width:125px;
}
*/
table.portfolio {
	width:100%;
	font-size:14px;
}

@media screen and (max-width: 480px ) {
	table.portfolio tr {
		border-bottom: 1px solid #eee;
		display: block;
	    margin-bottom: 15px;
	    padding-bottom: 15px;
	}
	table.portfolio tr .year {
		margin-bottom: 15px;
	}
	table.portfolio tr.year-sep {
		border: none;
		margin-bottom: 2px;
		padding-bottom: 0;
	}
	table.portfolio .year.empty {
		display: none;
	}
}

.portfolio .year, .portfolio .description {
	color: #2d3b3f;
}

.portfolio .description {
	font-size:16px;
}

.portfolio .year {
	font-weight: bold;
	vertical-align: initial;
	width:80px;
}

.portfolio .company {
	max-width:260px;
	font-family: Georgia;
	font-weight: bold;
	color: #993333;
	font-size: 18px;
	vertical-align: top;
}


@media screen and (min-width: 800px ) {
	.portfolio .description {
		max-width: 260px;
	}
}

.portfolio .company a {
	font-family: Georgia;
	font-weight: bold;
	color: #993333;
	font-size: 18px;
	text-decoration:none;
}

.portfolio .company a:hover {
	text-decoration:underline;
}

.portfolio .company .cb {
	color: #9dadb2;
	font-family: Arial;
	font-size:14px;
	font-weight:normal;
	margin-left:8px;
}

@media screen and (max-width: 480px ) {
	table.portfolio td {
		display: block;
	}
	.portfolio.year {
		width: 100%;
		padding-top: 40px;
	}
	.portfolio.company {
		width: 100%;
	}
}

div.personnel {
	margin-left:auto;
	margin-right:auto;
	max-width: 700px;
	width: 100%;
}

div.personnel div {
	float: left;
	font-family: Georgia;
	color: #000;
	font-size: 16px;
	text-align:center;
	width: 33%;
}

div.personnel div.full-width {
	text-align: center;
	width: 100%;
}

@media screen and (max-width: 768px ) {
	div.personnel div {
		width: 50%;
	}
}

@media screen and (max-width: 480px ) {
	div.personnel div,
	div.personnel div.full-width {
		text-align: left;
	}
}

div.personnel .name a {
	text-decoration:none;
	color:#000;
	font-weight:bold;
}

div.personnel .name a:hover {
	text-decoration:underline;
}

div.personnel .tag {
	margin-top:-10px;
	color: #2d3b3f;
	font-size:16px;
}

/*
h3.news {
	width:65px;
}
*/
.news-company a {
	text-decoration:none;
	color:#9DADB2;
	font-size:12px;
	line-height:1.9em;
}
.news-company a:hover {
	text-decoration:underline;
}
.news-year {
	font-weight:bold;
	font-size:1.3em;
	font-style:italic;
	color:#933;
}
.news-year td {
	padding-bottom:0.4em;
}
.news-list {
	font-size:16px;
	margin-top:-17px;
}
.news-list td {
	vertical-align:top;
	padding-bottom:8px;
}
.news-list .date {
	text-align:right;
	color:#933;
}
.news-link a {
	text-decoration:none;
	color:#333;
}
.news-link a:hover {
	text-decoration:underline;
}
.news-company-favicon, .news-link {
	padding-left:16px;
}
.news-company-favicon {
	padding-top:5px;
}
.new-year td {
	padding-top:1em;
}

article {
	background: white url(images/internal-fade.png) repeat-x scroll left top;
}
nav {
	position:relative;
}
nav ul {
	padding-left:0;
	list-style:none;
}
nav li {
	display:inline;
	padding:0 20px;
}
nav div.left-nav, nav div.right-nav {
	width:263px;
	position:absolute;
}
nav div.left-menu-header, nav div.right-menu-header {
	display:table;
	margin:0 auto;
}
div.right-nav {
	right:0;
}

.site-info {
	clear: both;
	padding-top: 30px;
}
.site-info .info-text {
	font-size: 14px;
}

@media screen and (max-width: 480px ) {
	.site-info {
		padding-top: 15px;
	}
	.site-info .pledge {
		font-size: 19px;
		margin-bottom: 0;
	}
}
