/* cooper dillon books styles
 * 2017 max xiantu | corneaSyrup.com */

html, body {
    height: 100%;
}

body {
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: #000;
}

p {
    line-height: 1.35em;
}

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

a:hover {
    color: #EEE;
}

a:visited, a:active {
    color: #644;
}

#heading > img {
    height: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.tab {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 5px #333;
    cursor: pointer;
}

.tab > h1 {
    padding-left: 4%;
    font-size: 3em;
    line-height: 0;
    color: rgba(27, 18, 4, 0.7);
}

.tab > h2 {
    font-weight: 100;
    text-decoration: underline overline;
    text-decoration-color: #642;
    padding-left: 4%;
    padding-bottom: .8rem;
    font-size: 2.3rem;
    line-height: 0;
    color: #320;
}

.tab > p {
    padding-left: 4%;
    width: 60%;
}

.tab-no-content {
   display: flex;
   flex: 1;
   flex-direction: column;
   justify-content: center;
   box-shadow: 0 3px 5px #333;
}

.tab-no-content > h1 {
    padding-left: 4%;
    font-size: 3em;
    line-height: 0;
    color: rgba(27, 18, 4, 0.7);
}

.inactive {
    display: none;
}

.scrolling-book {
    z-index: 105;
    margin-right: 1.1rem;
    box-shadow: 1px 1px 4px #542;
}

.bio {
    padding-left: 4%;
    width: 56%;
    clear: both;
    margin-bottom: 3em;
}

.bio a, a:visited {
	color: #fc6;
}

.bio p {
	padding: .5em .5em .75em;
	color: #FFF;
	background-color: rgba(0, 0, 0, 0.5);
	border-radius: 5px;
    margin-top: 0;
}

.submittable {
    padding: .5em 6%;
}

.portrait {
    float: left;
    max-width: 50%;
    padding-right: .88em;
    padding-bottom: 1em;
}

.notice {
    font-size: 1.3em;
}

#heading {
    position: relative;
    z-index: 100;
    overflow: hidden;
    background: url('../img/textures/004.jpg') repeat repeat fixed;
}

#logo {
    z-index: 110;
    position: absolute;
    top: 1%;
    left: 2%;
}

#scroll {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin: auto 0 auto;
    z-index: 105;
}

#books {
    background: url('../img/textures/001.jpg') repeat repeat fixed;
    z-index: 90;
}

#submissions {
    z-index: 80;
    background: url('../img/textures/002.jpg') repeat repeat fixed;
}

#authors {
    z-index: 70;
    background: url('../img/textures/007.jpg') repeat repeat fixed;
}

#contact {
    z-index: 60;
    background: url('../img/textures/006.jpg') repeat repeat fixed;
}

#mc_embed_signup {
    padding-left: 4%;
}

#mc-embedded-subscribe {
    margin-top: 0.5em;
    padding: .2em .6em;
    border-radius: 16px;
    background-color: #000;
    color: #FFF;
    font-family: Georgia, 'Times New Roman', Times, serif;
}
/*
.mc-field-group {
  padding-top: 0.5em;
}

.mc-field-group input{
  margin-left: .6em;
}

#mc_embed_signup  ul {
  padding: 0.5em 0 0 0;
  margin: 0;
}

#mc_embed_signup  li {
  list-style: none;
}

#mc_embed_signup label {
  margin-left: 0.4em;
} */

/* MEDIA QUERIES ======================================================================*/
@media only screen and (max-device-width: 418px) {

    #heading > img {
        max-height: 300px;
    }

    .tab > h1 {
        font-size: 1.4em;
    }

    .tab > h2 {
        font-size: 1.2em;
    }

    .tab > p {
        font-size: 1em;
        width: 90%;
    }

    .notice {
        font-size: 1.1em;
    }

    .bio {
        width: 90%;
        margin-bottom: 2em;
    }

    .submittable {
        width: 80%;
    }

    .scrolling-book {
        max-height: 250px;
    }

    #contact a {
        display: block;
        padding-bottom: .2em;
    }
}


@media only screen and (max-device-width: 330px) {

    .tab > h1 {
        font-size: 1.25em;
    }

    .tab > h2 {
        font-size: 1.1em;
    }

    .tab > p {
        font-size: .95em;
        line-height: 1em;
    }
}
