/*---- Page styles ----*/

html {
    overflow-y: scroll;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: main, Garamond, serif;
}

/*---- Text styles ----*/

a {
    color: #476b6b;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: #F06;
}

a:visited {
    border: none;
    outline: none;
}

a img {
    border: 0;
}

ol, ul {
    padding-left: 60px;
    padding-right: 20px;
}

p, ol, ul {
    font-weight: lighter;
    line-height: 1.5em;
}

p, ol, ul, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

p + p, ol + p, ul + p, p + ol, p + ul {
    margin-top: 10px;
}

p a, h3 a, ol a, ul a {
    border-bottom: 1px dashed lightgrey;
}

/*---- Custom fonts ----*/

@font-face {
    font-family: header-two;
    src: url('../fonts/AmaticaSC-Regular.ttf');
}

@font-face {
    font-family: header-two;
    font-weight: bold;
    src: url('../fonts/AmaticaSC-Bold.ttf');
}

@font-face {
    font-family: main;
    src: url('../fonts/Quattrocento-Regular.ttf');
}

@font-face {
    font-family: main;
    font-weight: bold;
    src: url('../fonts/Quattrocento-Bold.ttf');
}

@font-face {
    font-family: curly;
    src: url('../fonts/Digory_Doodles_PS.ttf');
}

/*---- Header styles ----*/

h1 {
    color: #476b6b;
    font-family: curly, cursive;
    font-size: 30pt;
    font-weight: normal;
}

h2, h4, h5, h6 {
    color: #333;
}

h2, h3 {
    margin-top: 20px;
    text-align: center;
    font-weight: lighter;
}

h2 {
    font-size: 36pt;
    font-family: header-two, "Courier New", sans-serif;
}

h2 + *, h2 + img + p {
    margin-top: 20px !important;
}

h2 + h3 {
    margin-top: 0 !important;
}

hr + h2 {
    margin-top: 23px;
}

h3 {
    color: #476b6b;
    line-height: 1.5em;
    font-family: main, Garamond, serif;
    font-size: 15pt;
    font-variant: small-caps;
}

h3 + *, h3 + img + *, .h3links + *, .h3links + img + * {
    margin-top: 30px;
}

h3 + .h3links {
    margin-top: 0;
}

h4, h5, h6 {
    font-weight: bold;
    font-family: Arial, sans-serif;
}

h4 {
    margin-top: 30px;
    font-size: 15pt;
    text-decoration: underline;
}

h4 + *, h4 + img + * {
    margin-top: 15px;
}

h5, h6 {
    margin-top: 25px;
    font-size: 14pt;
}

h5 + *, h5 + img + * {
    margin-top: 12px;
}

/*---- Custom page elements ----*/

embed {
    display: none;
}

hr {
    height: 0;
    margin-top: 40px;
    padding: 0;
    border: 0;
    border-top: 1px dashed #476b6b;
    text-align: center;
}

hr:after {
    content: "♥";
    top: -0.6em;
    padding: 0 0.5em;
    background: white;
    font-size: 1em;
    color: #F06;
    display: inline-block;
    position: relative;
    overflow: visible;
}

hr + * {
    margin-top: 40px;
}

.center {
    margin-left: auto;
    margin-right: auto;
}

.print-break {
    display: none;
}

.heart, hr {
    color: #F06;
    font-family: Arial, Helvetica, sans-serif !important;
}

.first {
    float: left;
    font-size: 330%;
    font-weight: bold;
    line-height: 1em;
    margin-right: 5px;
    margin-bottom: -0.25em;
    color: #476b6b;
}

.loading {
    color: #476b6b;
    font-size: 25pt;
    text-align: center;
    font-family: header-two, sans-serif !important;
}

.loading .heart {
    font-family: header-two, sans-serif !important
}