/*--------------------------------------------------------------
primary css file for website design
--------------------------------------------------------------*/

/* CONTENTS

20   CSS Reset
     Accessibility
250  Layout
300  Typography
     Masthead
500  Navigation
900  Images
1000 Media Queries


*/

@font-face {
    font-family: 'nunito_sanslight_italic';
    src: url('webfonts/nunitosans-lightitalic-webfont.woff2') format('woff2'),
         url('webfonts/nunitosans-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}  




/*--------------------------------------------------------------
CSS Reset (via Mor10)
--------------------------------------------------------------*/
html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
    cursor: pointer;
}

a:active,
a:hover {
	outline: 0;
    cursor: pointer;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	display: block;
	border: 0;
	width: 100%;
	height: auto;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
	
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

/*-- END CSS Reset --*/






/*--------------------------------------------------------------
Layouts
--------------------------------------------------------------*/

body {
    background: hsl(0, 0%, 100%);
}


* {
    box-sizing: border-box;
}







































/*--------------------------------------------------------------
Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: black;
    font-family: 'Nunito Sans', sans-serif;
	font-size: 18px;
	line-height: 1.5;
}

body,
caption,
th,
td,
input,
textarea,
select,
option,
legend,
fieldset,
ul,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Nunito Sans', sans-serif;
	clear: both;
}

p {
	font-size: 1em;
    margin: 0;
}

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}


h1 {
	font-size: 1.6em;
	line-height: 1.25;
}

h2 {
	font-size: 1.2em;
	line-height: 1.2;
}

h3 {
	font-size: 1.1em;
	line-height: 1.15;
}

h4 {
	font-size: 1em;
	line-height: 1;
}

/*-- My Additions --*/

body {
    display: flex;
    justify-content: center;
}

#allContent {
    max-width: 1200px;
    margin: 0 auto;
}


a {
    text-decoration: none;
    color: inherit;
}

h1 {
    border-bottom: 2px solid #235994;
    font-size: 1.4em;
    font-weight: 200;
    text-transform: uppercase;
    color: #235994;
    letter-spacing: .05em;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}


h1 span {
    background:  #FFF;
    padding: 0 .8em;
    position: relative;
    top: .75em;
}

#audioSamplesAnchor {
    font-size: 1.4em;
    font-weight: 200;
    text-transform: uppercase;
    color: #235994;
    letter-spacing: .05em;
    text-align: center;
    position: relative;
    margin-bottom: 30px;
}


/*-- HEADER --*/

.masthead {
    height: 22em;
    background-color: #FFF;
    margin-bottom: 1em;
}

.site-branding {
    height: 19.5em;
    background-color: #235994;
    display: flex;
    justify-content: center;
}

.brandingContent {
    display: flex;
    width: 85%;
    justify-content: space-between;
    margin-bottom: 1.5em;
    align-items: flex-end;
}

#logo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: left;
}

.logoArt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 9em;
    background-image: url(images/tomErnstVoice_logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0;
    margin-bottom: 1em;
}

/*.logoArt img {
    width: 10%;
    height: 10%;
}*/

.logoName {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.voiceTalent {
    line-height: 1.1em;
    text-align: center;
    letter-spacing: .05em;
    font-size: 2em;
    color: white;
    text-transform: uppercase;
    font-weight: 200;
}


.voiceTalent em {
    font-style: normal;
    font-weight: 800;
}

.voiceDescriptors {
    text-align: center;
    color: white;
    font-size: 1.2em;
    font-weight: 200;
    letter-spacing: .05em;
}

.headerContent {
    border-top: 2px solid white;
    background-color: #90B03E;
    height: 2.5em;
}


.message {
    text-align: center;
    font-size: 1.4em;
    font-weight: 300;
    color: white;
    line-height: 1em;
    padding-top: .3em;
}




/*-- PRIMARY CONTENT --*/

.primaryContentWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.audioContent {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.demoCategory {
    
}

.demoCategory li {
   list-style: none;
   position: relative;
}

.demoCategory > ul {
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.individualList {
    flex: 1;
}

li.demoCategoryHead {
    text-transform: uppercase;
    color: #235994;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: .05em;
    margin: 20px 0 10px 0;
}

li.demoCategoryHead2 {
    text-transform: uppercase;
    color: #235994;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: .05em;
    margin: 20px 0 10px 0;
}

.playerWrapper {
   background-color: white;
   width: 330px;
   height: 70px;
   margin-top: 5px;
}

.playerInfo {
   width: 298px;
   height: 70px;
   float: left;
/*   background-color: brown;*/
   position: relative;
}

.trackTitle {
    color: black;
    font-family: 'Nunito Sans', sans-serif;  
    font-size: .95em;
    padding: 15px 0 0 5px;
}

.progressBarContainer {
    position: absolute;
    left: 0;
    top: 0;
    height: 4px;
    width: 100%;
    background-color: #eee;
}

.progressBar {
    width: 0%;
    background-color: #235994;
    height: 4px;
}

.trackTime {
    position: absolute;
    top: 19px;
    right: 0px;
    font-size: .75em;
}

.trackTime p {
    display: inline;
}

.trackAuthor {
    position: absolute;
    top: 40px;
    left: 5px;
    font-size: .8em;
    color: #999;
}

.trackDownload {
    position: absolute;
    top: 40px;
    right: 0px;
    font-size: .8em;
    color: #999;
    cursor: pointer;
}

.trackDownload:hover {
    color: #555;
}

.playButton {
   float: left;
   width: 38px;
   height: 40px;
   margin-top: 18px;
    margin-left: -8px;
   background: url(images/buttons_Play.svg);
   background-repeat: no-repeat;
   background-size: 100%;
   cursor: pointer;
}

.playButton:hover {
   background: url(images/buttons_Play_ro.svg);
}

li#playing .playButton,
li.playing .playButton {
   background: url(images/buttons_Pause.svg);
}

li#playing .playButton:hover,
li.playing .playButton:hover {
   background: url(images/buttons_Pause_ro.svg);
}

li.equipment  {
    line-height: 1.75em;
    font-size: 1.1em;
    list-style: none;
    width: 220px;
}

li.equipment2  {
    line-height: 1.75em;
    font-size: 1.1em;
    list-style: none;
    border-top: 4px solid #eee;
    padding-top: .5em;
    margin-top: .5em;
    width: 220px;
}



#testimonials {
    height: 17em;
    margin: 2em 0 1em 0;
    background-color: #235994;
    display: flex;
    justify-content: center;
}

.testimonialContent {
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}


.testimonialsText {
    order: 3;
    padding-bottom: 1em;
}

.testimonialsText p {
    font-size: 1em;
    color: white;
    font-family: 'nunito_sanslight_italic', sans-serif;
    font-style: normal;
    padding-left: 50px;
    padding-top: .7em;
}

.testimonialsText img {
    width: 40px;
    position: absolute;
    left= -50px;
}

.testimonialsArt {
    height: 180px;
    order: 1;
    background-image: url(images/Mic_testimonial.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center 0;
}


/*-- FOOTER --*/

#footerWrapper {
    display: flex;
}

.footerContent {
    display: flex;
    width: 90%;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 5em;
}

.aboutHeadshot {
    width: 180px;
}



.aboutIntro {
    color: #235994;
    font-size: .9em;
    font-weight: 400;
    line-height: 1.75em;
    margin: 1em 2em 0;
}

.aboutBio {
    font-size: .9em;
    font-weight: 400;
    line-height: 1.75em;
    margin: .75em 2em;
}

.contactInfo {
    padding-top: 1em;
}

.contactInfo img {
    width: 90%;
    overflow: hidden;
    margin: .5em 2em ;
}

.contactInfo a {
    cursor: pointer;
}













































/*--------------------------------------------------------------
Main Navigation
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	font-size: 1em;
    font-weight: 200;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation ul ul {
	display: none;
	margin-left: 0.8em;
}

.main-navigation a {
	position: relative;
	display: block;
	padding: 0.2em .4em;
	text-decoration: none;
	line-height: 1.6em;
	color: white;
}

.main-navigation a:hover,
.main-navigation a:focus {
	background: #fff;
	color: #000;
}

.main-navigation a,
.main-navigation ul ul li:lastchild a {
	border-bottom: 1px solid white;
}

.main-navigation ul li:last-child a {
	border-bottom: none;
}

.main-navigation ul .toggled-on {
	display: block;
}

.main-navigation li {
	position: relative;
}

.main-navigation .current-menu-item > a{
	font-weight: 700;
}

.main-navigation .nav-menu > ul > li:first-child,
.main-navigation .nav-menu > li:first-child {
	border-top: 0;
}

.main-navigation .menu-item-has-children > a,
.main-navigation .page_item_has_children > a{
	padding-right: 48px;
}

.no-js .main-navigation ul ul {
	display: block;
}

.dropdown-toggle {
	position: absolute;
	height: 27px;
	width: 27px;
	top: 12px;
	right: 6px;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
	padding: 0;
	background-color: inherit;
	border: 1px solid #fff;
	content: "";
	color: #fff;
	text-transform: lowercase; /* Stop screen readers from reading the text as capital letters */
}

.dropdown-toggle::after {
	content: "+";
	font-size: 16px;
	font-weight: bold;
	line-height: 27px;
	position: relative;
	top: 0;
	width: 27px;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
	background-color: #fff;
	color: #000;
}

.dropdown-toggle.toggle-on:after {
	content: "-";
}

.main-navigation a:hover ~ .dropdown-toggle,
.main-navigation a:focus ~ .dropdown-toggle {
    color: hsl(0, 0%, 20%);
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.menu-toggle {
	position: fixed;
	z-index: 100;
	bottom: 1em;
	left: 1em;
	font-family: sans-serif;
	font-size: 1em;
	text-transform: uppercase;
	background-color: #90B03E;
	color: #fff;
	border: solid 2px #fff;
	transition: all ease-out 400ms;
}

.menu-toggle.hide {
	bottom: -2.5em;
}

/* Make sure the button doesn't hide when menu is open. */

.toggled .menu-toggle.hide {
	bottom: 1em;
}


.menu-toggle:hover,
.menu-toggle:focus {
	text-decoration: underline;
}

@media screen and (min-width: 50em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

/* Hovering menu */

.main-navigation.toggled {
	position: fixed;
	bottom: 0;
	padding: 1em;
	z-index: 1;
    width: 100%;
    box-sizing: border-box;
}

.nav-menu {
	padding: 1em;
	margin-bottom: 3em;
	background-color: #90B03E;
}

.main-navigation.toggled ul {
	max-height: calc(100vh - 8em);
	overflow-y: auto;
}

.main-navigation.toggled ul ul {
	display: none;
}

.main-navigation.toggled ul ul.toggled-on,
.main-navigation.toggled ul ul.toggled-on > ul {
	display: block;
}

/* Horizontal menu on wide screens */
@media screen and (min-width: 800px) {

	/* Position the menu in the header */
	.main-navigation,
	.main-navigation.toggled {
		position: relative;
        margin: 0 .5em 30px;
        padding: 0;
/*        width: 330px;*/
        font-size: 1.1em;
        letter-spacing: .05em;
        text-transform: uppercase;
	}

	.nav-menu {
		padding: .3em 0 0 0;
		background-color: transparent;
	}

	.main-navigation ul,
	.main-navigation.toggled ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
		margin: 0;
		padding: 0;
	}

	/* Display the menu items in a horizontal order */
	.main-navigation li {
		border: none;
	}

	/* Add an outline to the drop-down menus */
	.main-navigation ul ul {
		outline: 1px solid #333;
	}

	/* Left-align drop-down menu items */
	.main-navigation li li {
		display: block;
		text-align: left;
	}

    .main-navigation a,
    .dropdown-toggle {
        color: white;
    }

	.main-navigation a,
	.main-navigation ul ul li:last-child a {
		border-bottom: none;
	}

	/* Add an outline on hovered and focused menu items */
	.main-navigation a:hover,
	.main-navigation a:focus {
		color: #fff;
        background: none;
		text-decoration: none;
	}

    .main-navigation li li a {
        color: hsl(0, 0%, 90%);
    }

	/* Create hover and focus contrast on drop-down items */
/*
	.main-navigation li li a:hover,
	.main-navigation li li a:focus {
		background: #eee;
		color: #000;
		text-decoration: none;
	}
*/

	/* Position drop-down menus absolutely */
/*
	.main-navigation ul ul.toggled-on {
		position: absolute;
		width: 12em;
		display: block;
		z-index: 10;
		margin-left: 0;
        padding: 0;
		background: #000;
	}
*/

	.main-navigation ul ul ul.toggled-on {
		position: relative;
	}

	/* Indent 3rd level drop-down menus */
	.main-navigation ul ul ul a {
		padding-left: 2em;
	}

	/* Simplify the drop-down toggle */
	.dropdown-toggle {
		top: 13px;
		right: 12px;
		border: none;
	}

    .dropdown-toggle:hover, .dropdown-toggle:focus {
        background-color: inherit;
        outline: solid 1px #b3b3b3;
    }

	.dropdown-toggle::after {
		line-height: 27px;
		width: 27px;
	}

}
































































































/*--------------------------------------------------------------
Images - reset 
--------------------------------------------------------------*/

img {
    display: block;
    width: 100%;
}

figure {
    margin: 0;
    padding: 0;
}














/*--------------------------------------------------------------
Media Queries 
--------------------------------------------------------------*/

@media screen and (min-width: 360px) {
    
.voiceDescriptors {
    font-size: 1.3em;
}
    
}


@media screen and (min-width: 470px) {

.aboutIntro {
    font-size: 1em;
}
    
.aboutBio {
    font-size: 1em;
}
    
    
h1 {
    font-size: 1.5em;
    margin-bottom: 30px;
}    
 
#audioSamplesAnchor {
    font-size: 1.5em;
    margin-bottom: 30px;
}    
 
.testimonialsText p {
    font-size: 1.1em;
    padding-left: 50px;
    padding-top: .7em;
}
    
}


@media screen and (min-width: 500px) {

.masthead {
    height: 19em;
    margin-bottom: 5em;
}    

.headerContent {
    height: 3em;
}
    
.message {
    padding-top: .5em;
}
    
.message p {
    font-size: 1.1em;
}
    
#audioSamplesAnchor {
   margin-bottom: .2em;     
}
    
.contactInfo img {
    width: 80%;
}
    
}

@media screen and (min-width: 600px) {
    
    
.primaryContent {
    flex-wrap: wrap;
    flex-direction: row;
}

    
.contactInfo img {
    width: 90%;
}
    
.footerContent {
    flex-direction: row;
    align-items: flex-start;
}
    
.aboutHeadshot {
    flex: 2;
    margin-top: 1em;
}
    
.footerInfo {
    flex: 3;
}
    
}


@media screen and (min-width: 740px) {

    .demoCategory > ul {
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 5% 0 10%;
    }

    .individualList {
        padding: 0 50px 0 0;
    }
}


@media screen and (min-width: 800px) {

.masthead {
    height: 11.5em;
}
    
.site-branding {
    height: 11.5em;
}
    
.logoArt {
    height: 10em;
    width: 6em;
    margin-bottom: 0;
    margin-right: .6em;
}
    
.voiceTalent {
    text-align: left;
    padding-right: 20px;
    font-size: 1.8em;
}
    
#logo {
    flex-direction: row;
    flex: 2;
    align-items: flex-end;
    margin-right: 2em;
}
    
.logoName {
    flex-direction: column;
    justify-content: flex-start;
}
    
.voiceDescriptors {
    text-align: left;
    font-size: 1.2em;
    margin-bottom: 30px;
}
    
.brandingContent {
    margin-bottom: .5em;
}

.main-navigation {
    font-size: .9em;
    margin: 0 0 30px 0;
}
    
.main-navigation a {
    line-height: 1.2em;
}
    
.individualList {
    padding: 0 20px;
}

.aboutHeadshot img {
    width: 280px;
    float: right;
}
    
.contactInfo img {
    width: 380px;
}

.testimonialContent {
        flex-direction: row;
}
    
#testimonials {
    height: 13em;
}
    
.testimonialsText {
    order: 1;
    flex: 2;
    padding-top: 2.2em;
    font-size: 1.2em;
}
    
.testimonialsText img {
    width: 45px;
    padding-top: 5px;
}
    
.testimonialsArt {
    order: 3;
    flex: 1;
    height: 200px;
}
    
.menu-item a {
    cursor: pointer;
}
    
    
}

    
@media screen and (min-width: 1000px) {
    
.masthead {
    height: 13em;
}
    
.site-branding {
    height: 13em;
}
    
.logoArt {
    height: 11em;
    width: 7em;
    margin-bottom: 5px;
    margin-right: .6em;
}
    
.message {
    padding-right: 2.3em;
    text-align: right;
}
    
.demoCategory > ul {
    flex-wrap: nowrap;
}

.individualList {
    padding: 0 50px 0 0;
}

.brandingContent {
    width: 90%;
}
    
.voiceTalent {
    font-size: 2.1em;
}
    
.voiceDescriptors {
    font-size: 1.5em;
    margin-bottom: 25px;
}

}


@media screen and (min-width: 40em) {
    

}


@media screen and (min-width: 42em) {
    
}


@media screen and (min-width: 50em) {
    
}


@media screen and (min-width: 66em) {
    
}