.fancy {
    line-height: 0.5;
    text-align: center;
}
.fancy {
    display: inline-block;
    position: relative;
}
.fancy:before,
.fancy:after {
    content: "";
    position: absolute;
    height: 5px;
    border-bottom: 1px solid black;
    top: 0;
    width: 40px;
}
.fancy:before {
    right: 100%;
    margin-right: 7px;
}
.fancy:after {
    left: 100%;
    margin-left: 7px;
}
.descriptive {
    text-transform: uppercase;
}
input[type=submit] {
    -webkit-border-radius:0px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

a {
    text-decoration: none;
    color: #bcbdbf;
    font-family: Arial, sans-serif;
}

a img {
    border:none;
    outline:none
}

#top {
    position: relative;
}

#top :after {
    clear: both;
}

form {
    font-family: Arial, sans-serif;
    color: #000;
}

.email-box {
    margin: 6px;
    height: 22px;
    border: 2px solid #BDBEC0;
}

.horizontal-line {
    background-image: url('./images/bubbles-04.jpg');
    background-repeat: repeat-x;
    float: left;
    height: 7px;
}

.vertical-line {
    background-image: url('./images/bubbles-03.jpg');
    background-repeat: repeat-y;
    float: left;
    width: 7px;
}
.vertical-line-bottom {
    background-image: url('./images/bubbles-bottom.png');
    background-repeat:no-repeat;
    background-size:7px 312px;
    background-position: bottom;
    float: left;
    width: 7px;
}


.table {
    display: table;   /* Allow the centering to work */
    margin: 0 auto;
}

p {
    padding: 10px;
}

.clear {
    clear: both;
}

@font-face {
    font-family: CervoMedium;
    src: url('Cervo-Medium.otf');
}

@font-face {
    font-family: CervoRegular;
    src: url('Cervo-Regular.otf');
}

@font-face {
    font-family: CervoRegular;
    src: url('Cervo-Regular.otf');
}

.headshot {
	padding:15px;
}

.bookstores {
	width:50%;
	padding:0 auto;
	clear:both;
}


h1 {
    font-family: CervoRegular;
    font-weight: 100;
    font-size: 36px;
    color: #7e7e7e;
    line-height: 33px;
}



#wrapper {
    background-color: #fff;
    position: relative;
    margin: 0 auto;
    width: 100%;
    height:auto !important; /* real browsers */
    height: 100%; /* IE */
    min-height:100%; /* real browsers */
    margin-bottom: -40px; /* the bottom margin is the negative value of the footer's height */
    float: left;
}

#excerpt-link {
    margin: 0;
    color: #fff;
    font-size: 16px;
    background-color: #ee5930;
    padding: 8px;
    margin-right: 15px;
}

.nav-menu ul {
    list-style: none;
}

.nav-menu li {
    display: inline-block;
}

#nav-menu-text {
}

.nav-menu ul :last-child {
    margin-right: 0;
    color: #fff;
    font-family: Arial, sans-serif;
}

#testimonials {
    width: 100%;
    height: auto;
    position: relative;
}

#testimonials :after {
    clear: both;
}

#testimonials blockquote {
    font-weight: 100;
    font-size: 38px;
    color: #000;
    font-family: CervoMedium;
    font-style: italic;
    margin-top: 0;
}

/* Name */
#testimonials h3 {
    color: #000;
    font-family:  Arial, sans-serif;
    font-style: normal;
    font-size: 14px;
    margin-bottom: 2px;
    text-align: center;
}

/* Title */
#testimonials h4 {
    color: #000;
    font-family:  Arial, sans-serif;
    font-style: normal;
    font-weight: 100;
    margin-top: 2px;
}

#about-authors {
    clear: both;
    position: relative;
    margin: 0px 80px 0 80px;
    z-index: 0;
    padding-bottom: 20px;
}

#about-authors ul {
    list-style: none;
    padding-left: 0px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 80px;
    text-align: center;
}

#about-authors li {
    font-family:  Arial, sans-serif;
    color: #000;
    font-size: 12px;
    display: inline-block;
    width: 300px;
    vertical-align: top;
    padding: 10px;
    margin: 0 0 10px;
}

#where-to-buy li {
    width: 220px;
    height: 100px;
    display: inline-block;
    text-align: center;

}

#where-to-buy li img {
    margin-top: 60px;
    margin-bottom: 0px;
}

#where-to-buy ul a {
    font-size: 18px;
}

div#footer {
    height: 60px;
    background-color: #f16127;
    clear: both;
    position:relative;
    width:100%;
    bottom:0; /* stick to bottom */

    vertical-align: middle;
}

#where-to-buy {
    margin-bottom: 40px;
    position: relative;
    
}

input.hs-button.primary.large {
    background: rgb(57,121,189) !important;
    color: rgb(255,255,255) !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    margin-top: 2px;
    
}
#header img{
    width: 121px;
    height: 43px;
    margin-top: 30px !important;
    
}
@media all and (min-width: 960px) {
    html,body {
        margin: 0px auto 0px auto;
        background-color: #BDBEC0;
        padding:0;
        height:100%; /* needed for container min-height */
        font-family:arial,sans-serif;
        font-size:small;
        color:#666;
        width: 960px;
    }
        
    #content {
        float: left;
        background: #FFFFFF;
        width: 100%;
        height: auto;
        margin-top: 20px;
    }
    
    #about-bubble h1 {
        padding-left:130px;
    }
    
    .nav-menu li {
        margin-right: 20px;
    }
    
    #where-to-buy {
        display: table;
    }
    
    #background-one
    {
        position: absolute;
        right: 0;
        top: 100px;
        width: 211px;
        height: 508px;
        background-image: url('./images/pieces-01.png');
        background-repeat: no-repeat;
    }
    
    #background-two
    {
        position: absolute;
        left: 0;
        top: 130px;
        width: 113px;
        height: 557px;
        background-image: url('./images/pieces-02.png');
        background-repeat: no-repeat;
        z-index: 1;
    }

    #background-three
    {
        position: absolute;
        left: 120px;
        top: 610px;
        width: 184px;
        height: 135px;
        background-image: url('./images/pieces-03.png');
        background-repeat: no-repeat;
        z-index: 1;
    }

    #background-four
    {
        position: absolute;
        left: 0;
        top: 660px;
        width: 86px;
        height: 381px;
        background-image: url('./images/pieces-04.png');
        background-repeat: no-repeat;
    }

    #background-five
    {
        position: absolute;
        right: 0;
        top: 582px;
        width: 67px;
        height: 141px;
        background-image: url('./images/pieces-05.png');
        background-repeat: no-repeat;
    }

    #background-six
    {
        position: absolute;
        right: 0;
        top: 783px;
        width: 67px;
        height: 431px;
        background-image: url('./images/pieces-06.png');
        background-repeat: no-repeat;
    }

    #background-seven
    {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 58px;
        height: 190px;
        background-image: url('./images/pieces-07.png');
        background-repeat: no-repeat;
    }

    #background-eight
    {
        position: absolute;
        right: 94px;
        bottom: 0;
        width: 192px;
        height: 158px;
        background-image: url('./images/pieces-08.png');
        background-repeat: no-repeat;
    }

    #background-nine
    {
        position: absolute;
        left: 0;
        bottom: 0;
        width: 201px;
        height: 222px;
        background-image: url('./images/pieces-09.png');
        background-repeat: no-repeat;
    }
    
    
    #bubble-book
    {
        position: absolute;
        left: 265px;
        bottom: 0;
        width: 469px;
        float: left;
        height: 177px;
        background-image: url('./images/bubblebook.png');
        background-repeat: no-repeat;
        z-index: 2;
    }
    
    #bubble-book-line {
        position: absolute;
        float: left;
        left: 694px;
        width: 180px;
        bottom: 84px;
    }
    
    #testimonial-line-top {
        position: absolute;
        float: left;
        right: 80px;
        bottom: 0;
        height: 91px;
    }
    
    #testimonials-line {
        position: absolute;
        float: left;
        right: 80px;
        bottom: 0;
        height: 100%;
    }
    
    #about-line-top {
        position: absolute;
        float: left;
        right: 0;
        top: 0;
        width: 800px;
    }
    
    #about-line-bottom {
        position: absolute;
        float: left;
        right: 0;
        bottom: 0;
        width: 800px;
    }
    
    #about-line-side {
        position: absolute;
        float: left;
        left: 0;
        top: 0;
        height: 100%;
    }
    
    #about-bubble {
        position: absolute;
        width: 380px;
        float: left;
        height: 100px;
        background-image: url('./images/bio.jpg');
        background-repeat: no-repeat;
        background-position: left;
        z-index: 2;
        top: 10px;
        left: -46px;
    }
    
    #testimonials {
        padding-top: 80px;
    }
    
    #testimonial-circle {
        position: absolute;
        float: right;
        top: 0;
        right: 36px;
        height: 100px;
        width: 300px;
        background-image: url('./images/testimonials.jpg');
        background-repeat: no-repeat;
        background-position: right;
        margin-top: -30px;
    }

    #where-circle {
        position: absolute;
        float: right;
        top: 0;
        right: 36px;
        height: 100px;
        width: 300px;
        background-image: url('./images/wheretobuy.jpg');
        background-repeat: no-repeat;
        background-position: right;
        z-index:2;
        top: 10px;
    }
    
    #where-line {
        position: absolute;
        float: left;
        right: 80px;
        top: 0;
        height: 100%;
    }
    
    #header {
        float: left;
        height: 100px;
        width: 100%;
        background: #ef6524;
        position: relative;
    }

    #primary-navigation {
        float: right;
        position: absolute;
        bottom: 0;
        right: 12.5px;
    }
    
    .nav-menu a {
        padding: 7px;
        font-size: 22px;
    }
    
    #header img
    {
        margin: 30px;
    }
    
    /* HUBSPOT FORM */
    .hs_submit {
        float: right;
        margin-top: -72px;
        height: 30px;
    }
    
    .hs_form {
        margin-right: 200px;
        width: 150px;
        margin-bottom: 0px !important;
    }
    
    .hs-form .hs-input, .hs-form textarea.hs-input {
        width: 285px !important;
        max-width: 285px !important;
        right: 200px;
        position: absolute;
        top: -4px;
    }
    
    .hs-form .input {
        margin-left: 140px !important;
    }
    
    #each-testimonial {
        margin-left: auto;
        margin-right: auto;
        width: 693px;
        height: auto;
        background-color: #eeeeee;
        text-align: center;
        padding: 25px;
    }
    
    #quote-bottom {
        height: 68px;
        width: 743px;
        background-image: url('./images/bottomquote.png');
        background-repeat: no-repeat;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 15px;
    }
    
    #left-image {
        float:left;
        top: 50%;
        position: absolute;
        left: 120px;
    }
    
    #right-image {
        float:right;
        top: 50%;
        position: absolute;
        right: 120px;
    }
    
    
    #book-pic {
        width: 425px;
        height: 463px;
        position: absolute;
        right: 528px;
        top: 33px;
        background-image: url('./images/book.jpg');
        background-repeat: no-repeat;
        background-position: right top;
        background-size: 450px 490px;
        z-index: 0;
    }

    #main {
        width: 410px;
        position: absolute;
        right: 100px;
    }

    #main p {
        margin: 0;
        padding: 0;
        font-family:  Arial, sans-serif;
        font-size: 12px;
        line-height: 15px;
    }

    #main ul {
        margin-top: 10px;
        padding-top: 0;
        margin-bottom: 10px;
        padding-bottom: 0;
        font-family:  Arial, sans-serif;
        font-size: 12px;
        line-height: 16px;
        display: block;
    }

    #main li {
        list-style-image: url('./images/bluedot.png');
    }

    #top {
        height: 600px;
    }

    #where-to-buy ul {
        list-style: none;
        padding-left: 0px;
        margin-right: 240px;
        margin-left: 250px;
        padding-bottom: 40px;
        height: 200px;
        height: 200px;
    }
    
    .descriptive {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: 0;
    }
    
    #where-to-buy-image {
        float: right;
        position: absolute;
        right: 165px;
        top: 80px;
    }
    
    #bulk-sales {
        position: absolute;
        top: 155px;
        right: 165px;
        width: 142px;
        text-align: center;
        z-index: 5;
    }
    
    #footer img
    {
        padding-left: 4px;
        padding-right: 4px;
        float: left;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: 0;
        margin-right: 12px;
    }
    
    #footer p {
        padding-left: 4px;
        padding-right: 4px;
        float: left;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: 0;
        margin-right: 12px;
    }
    
    #sign-up {
        float: right;
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
        margin: 0;
        
        color: #fff;
        font-size: 16px;
        padding: 8px;
        
        margin-right: 45px;
    }
    
    #social {
        margin-left: auto;
        margin-right: auto;
        padding-left: 30px;
        width: 100%;
        text-align: center;
        position: absolute;
        padding-top: 30px;
        padding-bottom: 8px;
    }
}

@media all and (max-width: 959px) {
    #wrapper {
        background: #f16127;
    }
    
    #where-to-buy {
        padding-bottom: 30px;
    }   

    #where-to-buy-image {
        width: 0;
        height: 0;
    }
    
    #where-to-buy li {
        width: 100%;
        height: auto;
    }
    
    #where-to-buy ul {
        padding: 0;
        position: relative;
        margin: auto;
    }

    #where-to-buy li img {
        margin-top: 10px;
    }

    html,body {
        margin: 0px auto 0px auto;
        background: #f16127;
        padding:0;
        height:100%; /* needed for container min-height */
        font-family:arial,sans-serif;
        font-size:small;
        color:#666;
        width: 100%;
    }
    
    #header {
        width: 100%;
        background: #f16127;
        
        border-bottom: 4px solid #f16127;
        height: 215px;
    }

    .nav-menu li {
        margin-left: .75%;
        margin-right: .75%;
        padding-bottom: 10px;
    }

    .nav-menu li a {
        font-size: 24px;    
    }

    #content {
        float: left;
        background: #FFFFFF;
        width: 100%;
        height: auto;
    }
    
    #main {
        margin: 20px;
    }

    #primary-navigation {
        float: right;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        display: table;
        width: 100%;
    }
    
    #about-authors {
        margin: 0;
    }
    
    #about-authors ul {
        padding-top: 0;
        width: 100%;
    }
    
    #about-authors li {
        width: 75%;
    }
    
    .nav-menu {
        width: 200px;
        margin: 0 auto;
        text-align:center;
    }
    
    .nav-menu a {
        padding: 2px;
        font-size: 12px;
    }
    
    .nav-menu ul {
        padding: 0;
        padding-top: 15px;
    }
    
    #header img
    {
        display: block;
        margin: 12.5px auto;
    }
    
    
    #free-excerpt {
        margin: 0 auto;
        width: 167px;
    }

    /* HUBSPOT FORM */
    .hs_submit {
        margin-top: -72px;
        height: 30px;
        float: right;
    }

    .hs_form {
        margin-right: 200px;
        width: 150px;
        margin-bottom: 0px !important;
    }
    
    .hs-form .actions {
        margin-top: 68px !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
    }

    .hs-form .hs-input, .hs-form textarea.hs-input {
        width: 157px !important;
        max-width: 157px !important;
    }
    
    .hs-form label {
        width: auto !important;
    }

    .hs-form .input {
        margin-left: 0px !important;
    }
    
    
    #each-testimonial {
        margin-left: auto;
        margin-right: auto;
        height: auto;
        background-color: #e5f3f6;
        text-align: center;
        padding: 25px;
    }
    
    #left-image {
        float:left;
        top: 50%;
        position: absolute;
        left: 5px;
    }
    
    #right-image {
        float:right;
        top: 50%;
        position: absolute;
        right: 5px;
    }
    
    
    #book-pic {
        width: 100%;
        height: 375px;
        background-image: url('./images/book-m.jpg');
        background-repeat: no-repeat;
        background-position: center top;
        background-size: 367px 375px;
        z-index: 0;x
    }

    .descriptive {
        text-align: center;
    }
    
    #bulk-sales {
        position: absolute;
        top: 55px;
        width: 100%;
        text-align: center;
    }
    
    #social {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        text-align: center;
        position: absolute;
        padding-top: 5px;
        padding-bottom: 8px;
    }
    
    #social img {
        padding-left: 5%;
        padding-right: 5%;
    }
    
    #footer {
        padding-top: 10px;
    }

    #footer p {
        padding-bottom: 0px;
        margin-bottom:0px;
        text-align: center;
        padding: 0;
        font-size: 85%;
    }
    
    #sign-up {
        float: none;
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        margin: 0;
        color: #fff;
        font-size: 16px;
        padding: 8px;
        margin-top: 55px;
    }
}
