md-content {
	background-color: rgb(255,255,255);
	color: #000;
}
md-tabs .md-tab.md-active {
	  border-bottom: solid 4px #e7e7e7;
  }
  .inner-tabs md-tabs-wrapper {
	  padding-top:4px;
	  padding-left:32px;
  }
  md-tabs.inner-tabs .md-tab:not(.md-active) {
	  margin-right:16px;
	  border-top-left-radius: 8px;
	  border-top-right-radius: 8px;
  	  border: solid 1px #ddd;
	  border-bottom: none;
	  background-color:#fff;
  }
  md-tabs.inner-tabs .md-tab.md-active {
	  margin-right:16px;
	  border-top-left-radius: 8px;
	  border-top-right-radius: 8px;
  	  border: solid 1px #ddd;
	  border-bottom: none;
	  background-color:rgba(231,231,231,.45);
/* 	background-color:rgba(255, 212, 145, .25); */
  }
  md-tab-item.md-tab:not(.md-active):hover {
	background-color:rgba(231,231,231,.45);
  }
  md-tab-item.md-tab:not(.md-active):hover span {
	color: #000;
  }
  .inner-tabs .md-tab:not(.md-active):hover {
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
  }

md-tabs md-tabs-wrapper {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    }
md-tabs[md-align-tabs="bottom"] md-tabs-wrapper {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    border-top:solid 2px rgba(98,150,202,.35);
    }
md-tabs[md-align-tabs="bottom"] md-tab-content {
	padding:20px 10px;  
    }
md-tab-content > div {
    text-align:center;
}
.inner-tabs .md-tab {
	max-width:fit-content !important;
}
md-tab-item span {
	font-family: 'Montserrat', sans-serif;
	font-weight: 700;
	color:#555;
	letter-spacing: .1em;
	text-transform: capitalize;
	font-size:15px;
}

.inner-tabs md-tab-item span {
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	color:#999;
	letter-spacing: .15em;
	text-transform: uppercase;
	font-size:.9em;
}
.inner-tabs md-tab-item.md-active span {
	color:#000;
	font-weight: 700;
}
md-tabs md-ink-bar {
	color:#555;
    height:0;
}
.inner-tabs md-ink-bar {
    background-color:rgba(231,231,231,.85);
	height:0;
}
.md-display-2 {
	font-size: 1.5em;
	line-height: 1.4;
	margin-bottom:0;
	padding:0;
}



iframe {
    position: relative;
    top:-40px;
}
/*[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {*/
/*  display: none !important;*/
/*}*/
body, html {
	margin: 0 auto;
	max-width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	background-color: transparent;
}
h1,h2,h3,h4,h5,h6 {
	font-weight: normal;
	font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 32px;

    text-transform: lowercase;
    letter-spacing: .12em;
	font-family: 'Montserrat', sans-serif;
	font-weight: 300;
	color:#99aec4;
    text-align: left;
	}

p {
	font-family: 'Roboto', sans-serif;
	font-size: .95em;
	line-height: 1.4;
	}
h2 {
	margin-top:32px;
    font-size: 1.75em;
    letter-spacing: .1em;
	}
h2:first-of-type {
	margin-top:0;
}	
h3 {
	color:#fff;
	font-weight: 600;
	margin-top:24px;
	margin-bottom:8px;
	font-size: 1.15em;
	text-transform: uppercase;
	letter-spacing: .2em;
}
.home {
    background-image: url(../homebkgd.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-color:white;
	background-size:contain;
	height:400px;
	text-align: center;
}
p.name {
	background-color: rgba(239,198,110,.5);
    border: white solid 1px;
    padding: .5em 2em;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: white;
    width: 20%;
    margin: auto auto auto auto;
    text-align: center;
    letter-spacing: .1em;
    position:absolute;
    bottom:15%;
}
p.newname {
/*
	background-color: rgba(204, 174, 110,.5);

    border: #e7e7e7 solid 1px;
    width:20%;
*/  
	padding: .5em 2em;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 30px;
    color: #444;
    margin: auto auto auto auto;
    text-align: center;
    letter-spacing: .1em;
}
.book {
	padding:32px;
	background-size:cover;
	background-repeat: no-repeat;
	border-bottom: solid 2px #e7e7e7;
	border-top:solid 2px #e7e7e7;
}
.book h2 {
	font-family: anodyne;
}
.book p {
	font-family:"Montserrat", sans-serif;
	font-size: .9em;
	line-height: 1.4;
	text-align: left;
}


.book-4 {
	background-image: url(../images/book-4-bg.png);
	background-position: 0 20%;
}
.book-1 {
	background-image: url(../images/book-1-bg.png);
	
}
.book-2 {
	background-image: url(../images/book-2-bg.png);
}
.book-3 {
	background-image: url(../images/book-3-bg.png);
}


.book-combo {
	display:flex;
	flex-direction: row;
	margin:0 auto;
}
	.book-image {
		flex-direction: column;
	}
		.book-image img {
			width: 100%;
		}
		.book-image a img {
			width: 150px;
		}
	.book-summary {
		padding:0 16px 16px 16px;
	}
		.book-summary a img {
			width:150px;
		}

.author-bio {
/*
	background-image:url(../images/court-01.png);
	background-repeat: no-repeat;
	background-size: cover;
*/
	margin: 0 auto;
	text-align: justify;
}
	.author-text {
		padding:0 3%;
		border-left:solid 3px #e7e7e7;
		border-right:solid 3px #e7e7e7;
		margin:16px 2%;
	}
	.author-text p {
		color: #555;
	}
.events {
    padding: 16px;
    margin: auto;
}
.events:first-of-type {
	margin-top:16px;
}
.events:last-of-type {
	margin-bottom:16px;
}

.dates {
	background-image: url(../images/book-4-bg.png);
	font-weight: 500;
	padding: 8px 16px;
	justify-content: center;
	display: flex;
	border: solid 1px #ddd;
	background-color:rgba(231,231,231,.45);
	box-sizing: border-box;
}
.dates span {
    color: #fff;
	display: block;
	font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 1.1em;
}
.event {
	margin-top:48px;
	padding: 8px;
}
.event:first-of-type {
	margin-top:0;
}
.event h3 {
	text-transform: none;
    font-size: 16px;
    letter-spacing: .05em;
    color: #333;
    text-align: left;
    border-bottom: solid 2px #ddd;
    margin-top: 0;
    padding-bottom: 8px;
}
.event p {
	text-align: left;
	margin-bottom:0;
}
.event p a {
	color: #375296;
	text-decoration: underline;
	font-size:.8em;
	text-transform: uppercase;
	letter-spacing: .075em;
}
.audio {
	background-color:#f2f2f2;
	border:solid 1px #e7e7e7;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 4px;
	margin-top:16px;
}
.audio button {
	margin-left:16px;
	min-width: 0;
	border-radius: 100%;
}
.audio button:hover {
	background-color: #999;
}
	.audio button:hover a {
		color: #fff;
	}
.audio button a {
	color: inherit;
}

.modal-container {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background-color: rgba(215,215,215,1);
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 250ms ease;
}
.modal-container:target {
	opacity:1;
	pointer-events: all;
}
.modal-container .box {
	background-color:#fff;
	box-shadow: 0px 0 5px #555;
    height: calc(100vh - 32px);
    width: calc(75vw);
    position: relative;
/*     border: solid 8px #bbb; */
}
section md-icon:hover {
		color:#222;
	}
section .material-icons {
	font-size: 48px;
	height: 48px;
    width: 48px;
    min-height: 48px;
    min-width: 48px;
    color: #777;
}
section a {
	position: absolute;
    right:-48px;
    top:0;
}
section h2 {
	text-align: center;
    margin: 0 15% 32px;
    padding-bottom: 24px;
    border-bottom: solid 1px #bbb;
    font-size: 1.6em;
    line-height: 1.5;
}
section p {
	margin:0;
	text-indent: 1.4em;
}
.box section {
	overflow-x: hidden;
    overflow-y: auto;
    height: calc(100vh - 80px);
    padding: 16px 32px 32px;
}
.contact-form {
	margin-top:32px;
}
footer {
	margin: auto;
    background-color: #000;
    color: #fff;
    padding: 24px;
 }
 	footer p {
    	font-family: "Montserrat", sans-serif;
	 	margin:0;
	 	font-size: .75em;
	 	font-weight: 700;
 	}
 	
 

@media screen and (max-width: 500px) {
	.events {
		flex-direction: column;
	}
	.dates {
	    padding: 8px 16px;
	}	
	.dates span {
	    white-space: pre-line;
	    font-size: 1em;
	}
	.md-tab span {
	    font-size:13px;
	    padding:0 0;
	    }
	.md-tab {
	    padding:6px;
	}
	.inner-tabs md-tab-item span {
		font-size: 13px;
		letter-spacing: .05em;
		text-transform: capitalize;
	}
	md-tabs.inner-tabs .md-tab:not(.md-active), md-tabs.inner-tabs .md-tab.md-active {
		margin-right:8px;
	}
	md-tabs-canvas, md-pagination-wrapper, md-tabs md-tabs-wrapper {
		height:40px;
	}
	.craig-images div:nth-of-type(odd) {
		display:none;
	}
	.craig-images div:nth-of-type(even) {
		flex: 1 1 100%;
		max-width: 100%;
	}
	.author-text p {
		font-weight: 400;
	}
	.book {
		padding:16px;
	}
	.book p {
		font-weight: 400;
	}
	.book-combo {
		flex-direction: column;
	}
		.book-image {
	    -webkit-flex: 1 1 80%;
	    flex: 1 1 80%;
		max-width: 80%;
		order: -1;
		margin:auto;
		}
			.book-image img {
				width:100%;
			}
			.book-image a img {
				width:50%;
			}
		.book-summary {
		    -webkit-flex: 1 1 100%;
			flex: 1 1 100%;
			max-width: 100%;
		}
	.inner-tabs md-tabs-wrapper {
	    padding-top: 4px;
	    padding-left: 8px;
	}
	section a {
	    position:relative;
	    right:0;
	    margin-top:0;
	    margin-right:0;
	    float:right;
	}
	section img {
	    width: 100% !important;
	}
	.modal-container .box {
	    width: calc(100vw - 32px);
	    height: calc(90vh - 32px);
	}
	section h2 {
		text-align: left;
	    margin: 0 0 32px;
	    padding-bottom: 24px;
	    padding-right: 64px;
	    border-bottom: solid 1px #bbb;
	    font-size: 1.6em;
	    line-height: 1.5;
	}
	.box section {
	    height: calc(100% - 32px);
	    padding: 16px;
	}
	section .material-icons {
    	font-size: 32px;
    	height: 32px;
        width: 32px;
        min-height: 32px;
        min-width: 32px;
    }
    .contact-form {
	    margin-top:0;
    }

}

@media screen and (min-width: 501px) and  (max-width: 599px) {
	.md-tab {
	    font-size:11px;
	    padding:12px 12px;
	    }
	.md-paginated .md-tab {
	    padding:12px 12px;
	}
	.inner-tabs .md-tab {
		max-width:264px !important;
	}	
	.book-combo {
	    -webkit-flex: 1 1 100%;
	    flex: 1 1 100%;
		max-width:100%;
	}
		.book-image {
	    -webkit-flex: 1 1 33%;
	    flex: 1 1 33%;
		max-width: 33%;
		}
			.book-image img {
				width:100%;
			}
			.book-image a img {
				width:80%;
			}
		.book-summary {
		    -webkit-flex: 1 1 66%;
			flex: 1 1 66%;
			max-width: 66%;
		}
	p.name {
	    font-size: 26px;
	    width: 45%;
	}
	.author-bio, .events {
		width:85%;
	}
}

@media screen and (min-width: 600px) and (max-width: 799px) {
	.md-tab {
	    font-size:11px;
	    padding:12px 12px;
	    }
	.md-paginated .md-tab {
	    padding:12px 12px;
	}

	.book-combo {
	    -webkit-flex: 1 1 100%;
	    flex: 1 1 100%;
		max-width:100%;
	}
		.book-image {
	    -webkit-flex: 1 1 40%;
	    flex: 1 1 40%;
		max-width: 40%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 60%;
	    flex: 1 1 60%;
		max-width: 60%;
		}
	p.name {
	    font-size: 28px;
	    width: 40%;
	}
	.author-bio, .events {
		width:80%;
	}

}
@media screen and (min-width: 800px) and (max-width: 999px) {
	.md-tab {
	    font-size:13px;
	    padding:12px 12px;
	    }
	.md-paginated .md-tab {
	    padding:12px 12px;
	}
	
	.book-combo {
	    -webkit-flex: 1 1 100%;
	    flex: 1 1 100%;
		max-width:100%;
	}
		.book-image {
	    -webkit-flex: 1 1 30%;
	    flex: 1 1 30%;
		max-width: 30%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 70%;
	    flex: 1 1 70%;
		max-width: 70%;
		}
	p.name {
	    font-size: 28px;
	    width: 35%;
	}
	.author-bio, .events {
		width:75%;
	}

}
@media screen and (min-width: 1000px) and (max-width: 1280px) {
	
	.book-combo {
	    -webkit-flex: 1 1 84%;
	    flex: 1 1 84%;
		max-width:84%;
	}
		.book-image {
	    -webkit-flex: 1 1 30%;
	    flex: 1 1 30%;
		max-width: 30%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 74%;
	    flex: 1 1 74%;
		max-width: 74%;
		}
	p.name {
	    font-size: 28px;
	    width: 30%;
	}
	.author-bio, .events {
		width:70%;
	}

}
@media screen and (min-width: 1281px) and (max-width: 1560px) {
	
	.book-combo {
	    -webkit-flex: 1 1 70%;
	    flex: 1 1 70%;
		max-width: 70%;
	}
		.book-image {
	    -webkit-flex: 1 1 25%;
	    flex: 1 1 25%;
		max-width: 25%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 75%;
	    flex: 1 1 75%;
		max-width: 75%;
		}
	.author-bio, .events {
		width:70%;
	}

}
@media screen and (min-width: 1561px) and (max-width: 1920px) {
	
	.book-combo {
	    -webkit-flex: 1 1 60%;
	    flex: 1 1 60%;
		max-width: 60%;
	}
		.book-image {
	    -webkit-flex: 1 1 30%;
	    flex: 1 1 30%;
		max-width: 30%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 50%;
	    flex: 1 1 50%;
		max-width: 50%;
		}
	.author-bio, .events {
		width:60%;
	}

}
@media screen and (min-width: 1920px) {
	
	.book-combo {
	    -webkit-flex: 1 1 60%;
	    flex: 1 1 60%;
		max-width: 60%;
	}
		.book-image {
	    -webkit-flex: 1 1 30%;
	    flex: 1 1 30%;
		max-width: 30%;
		}
			.book-image img {
				width:100%;
			}
		.book-summary {
	    -webkit-flex: 1 1 50%;
	    flex: 1 1 50%;
		max-width: 50%;
		}
	.author-bio, .events {
		width:60%;
	}

}

/* Form container */
form {
    max-width: 600px;
    margin: 50px auto;
    padding: 45px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Form elements */
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

textarea {
    resize: vertical;
    min-height: 100px;
}

input[type="submit"] {
    background-color: #007BFF;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

input[type="submit"]:disabled {
    background-color: #b3b3b3; /* Grayed out background */
    cursor: not-allowed; /* Change cursor to indicate it's not clickable */
}

