    /*

  CJ Dowding theme

*/


/* CSS, not based on SASS */

*, :after, :before {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
html {
    font-size: 62.5%;
}
body {
    font: 300 11px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #444;
    font-family: "Open Sans", sans-serif;
}
.clear:after, .clear:before {
    content: ' ';
    display: table;
}
.clear:after {
    clear: both;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: #2f04ba;
}
a:hover {
    color: #444;
}
a:active, a:focus, a:hover {
    outline: 0;
}
input:focus {
    outline: 0;
    border: 1px solid #04A4CC;
}
.wrapper {
    width: 95%;
    max-width: 59em;
    padding-left: 1em;
    padding-right: 1em;
    position: relative;
    padding-bottom: 20px;
    margin: 0 auto;
}
@font-face {
    font-weight: 400;
    font-style: normal;
    font-family: ramblaAlt;
    src: url(fonts/Old+Standard+TT) format(truetype);
}
.aligncenter, div.aligncenter {
    display: block;
    margin: 5px auto;
}
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wp-caption {
    background: #FFF;
    border: 1px solid #F0F0F0;
    max-width: 96%;
    text-align: center;
    padding: 5px 3px 10px;
}
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
.wp-caption img {
    border: 0;
    height: auto;
    max-width: 98.5%;
    width: auto;
    margin: 0;
    padding: 0;
}
.gallery-caption, .wp-caption .wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.wrapper:after {
    content: "";
    display: table;
    clear: both;
}
.bg-images {
    background: url(img/chris-flower-trans-2.png) right bottom no-repeat;
    position: absolute;
    height: 550px;
    width: 100%;
    display: none;
}
@media (min-width: 771px) {
    .bg-images {
        display: block;
    }
}
.nav {
    position: relative;
}
.nav ul {
    border-top: 1px solid #d0d0d0;
    border-bottom: 1px solid #d0d0d0;
    background-color: #f0f0f0;
    display: inline-block;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    padding: 10px;
}
.nav li:first-child {
    margin-left: 0;
}
.nav li {
    display: inline-block;
    margin-bottom: 0;
}
.nav li:before {
    content: "| ";
}
.nav li:first-child:before {
    content: "";
}

/*Sub menus*/
.menu-item .sub-menu {
    display: none;
    position: absolute;
    right: 155px;
    margin-top: 15px;
    background-color: transparent;
    border-width: 0;
    top: 40px;
}

.menu-item.current-menu-item .sub-menu
{
    display:block;
}

.menu-item.current-menu-ancestor .sub-menu
{
    display:block;
}

h1 {
    font-size: 6rem;
    font-family: 'Old Standard TT', serif;
    margin: 15px 0 0;
}
h1 a {
    color: #333;
}
.heading-image {
    margin-bottom: 16px;
}
.main {
    width: 74.57627%;
    float: left;
    margin-right: 1.69492%;
    display: inline;
}
.main h1 {
    font-size: 4rem;
    font-family: 'Old Standard TT', serif;
}
li, p {
    font-size: 1.6rem;
    margin-top: 0;
}
ul {
    list-style-type: inside;
    padding-left: 0;
}
li {
    list-style-type: none;
    margin-left: 5px;
    margin-bottom: 5px;
}
footer {
    position: absolute;
    bottom: 0;
}
footer p {
    font-size: 1.2rem;
}
.page-id-10 .main h1 {
    display: none;
}
.post-10 img {
    display: inline-block;
    vertical-align: top;
    margin-right: 20px;
    background-color: #eee;
    border: 1px solid #dadada;
    padding: 10px;
}
::selection, ::-webkit-selection, ::-moz-selection {
    background: #04A4CC;
    color: #FFF;
    text-shadow: none;
}
.alignnone, a img.alignnone, .wp-caption.alignleft, .wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
.alignright, a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
.alignleft, a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
@media print {
    * {
        background: 0 0!important;
        color: #000!important;
        box-shadow: none!important;
        text-shadow: none!important;
    }
    a, a:visited {
        text-decoration: underline;
    }
    a[href]:after {
        content: " (" attr(href) ")";
    }
    abbr[title]:after {
        content: " (" attr(title) ")";
    }
    .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
        content: "";
    }
    blockquote, pre {
        border: 1px solid #999;
        page-break-inside: avoid;
    }
    thead {
        display: table-header-group;
    }
    img, tr {
        page-break-inside: avoid;
    }
    img {
        max-width: 100%!important;
    }
    @page {
        margin: .5cm;
    }
    h2, h3, p {
        orphans: 3;
        widows: 3;
    }
    h2, h3 {
        page-break-after: avoid;
    }
}
@media all and max-width460px {
    .nav ul {
        border-top: none;
        border-bottom: none;
        background-color: transparent;
        padding: 0;
    }
    .nav li {
        display: block;
        margin-left: 0;
        margin-bottom: 5px;
        padding-bottom: 5px;
        border-bottom: 1px solid #d0d0d0;
    }
    .nav li:last-child {
        border-bottom: none;
    }
    .nav li:before {
        content: "";
    }
