
body {
    background: #ffffff;
    color: #404040;
    margin: 0;
    margin-bottom: 40px;
    font-size: 1.1em;
}

p,h1,h2,h3,h4,h5,h6,ul,ol,table { 
    margin: 0;
    padding: 0;
    margin-left: 140px;
    margin-right: 18%;
    padding-top: 1em;
    padding-bottom: 0;
    padding-left: 20px;
    font-family: "Ranelte-HeavyText", sans-serif;
    font-size-adjust: 0.49;
    line-height: 1.35em;
}

ul ul {
    margin-left: 0;
    padding-left: 0;
    padding-top: 0.4em;
}

ol {
    padding-top: 1.5em;
}

code {
    font-family: "Fira Mono", "Source Code Pro", monospace;
}

i { 
    font-family: "Ranelte-ItalicText", sans-serif;
    font-style: normal;
}

h1,h2,h3,h4,h5,h6,b {
    font-family: "Ranelte-Heading", sans-serif;
    font-weight: normal;
    font-size-adjust: 0.51;
}    

.light {
    font-family: "Ranelte-NormalText", sans-serif;
}    

.cite {
    font-family: "Ranelte-NormalText", sans-serif;
    font-size: 0.95em;
}    

.cookies {
    color: #808080;
}

td, li, p.news {
    font-family: "Ranelte-NormalText", sans-serif;
}    

td a, li a {
    font-family: "Ranelte-HeavyText", sans-serif;
}    

.medium {
    font-family: "Ranelte-HeavyText", sans-serif;
}    

h4 { 
    font-size: 1.1em;
}

h5,h6 {
    font-size: 1em;
}

li { 
    margin-left: 2em;
    margin-bottom: 0.5em;
}

table { 
    padding-top: 0;
}

table li {
    margin-left: 0;
}

table.licences {
    border: 0;
    font-size: 0.9em;
    padding-top: 1em;
    padding-left: 0;
    margin-left: 160px;
    border-spacing: 0;
    border-bottom: 1px solid black;
}

table.licences td, table.licences th {
    padding: 0.6em;
    padding-left: 0.8em;
    padding-right: 1.2em;
    border-top: 1px solid black;
}

table.licences th {
    border-top: 1px solid black;
}

#top {
    margin: 0;
    padding: 20px 0 0px 160px;
    height: 70px;
    background-image: url(/images/egg-sun-top-bg-strip.png);
    background-color: #1e99bf;
    background-repeat: no-repeat;
    background-size: auto 103%; /* align ray of sunshine with bottom corner of h1 text */
    background-origin: 0 0;
    border-bottom: 4px solid black;
}

.replace { 
    margin: 0;
    padding: 0;
}

.replace span {
    display: none;
}

#bqtitle {
    width: 100%;
    height: 64px;
    background-image: url(/images/breakfast-quay-h1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#rbtitle {
    width: 100%;
    height: 49px;
    margin-bottom: 15px;
    background-image: url(/images/rubber-band-h1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#rbltitle {
    width: 100%;
    height: 64px;
    margin-bottom: 15px;
    background-image: url(/images/rubber-band-library-h1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#rbatitle {
    width: 100%;
    height: 49px;
    margin-bottom: 15px;
    background-image: url(/images/rubber-band-audio-h1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#dvtitle {
    width: 100%;
    height: 49px;
    margin-bottom: 15px;
    background: url(/images/dssi-vst-h1.png) no-repeat 0 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#dqtitle {
    width: 100%;
    height: 63px;
    margin-bottom: 15px;
    background: url(/images/dataquay-h1.png) no-repeat 0 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#bqltitle {
    width: 100%;
    height: 62px;
    margin-bottom: 15px;
    background: url(/images/bqlibraries-h1.png) no-repeat 0 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#mbpmtitle {
    width: 100%;
    height: 49px;
    margin-bottom: 15px;
    background: url(/images/minibpm-h1.png) no-repeat 0 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

h2 {
    margin-top: 15px;
}

a {
    color: #007ca1;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#footer {
    clear: both;
    margin-top: 3em;
    border-top-style: solid;
    border-top-width: 1.5px;
    border-top-color: #444;
    margin-left: 0;
    margin-right: 0;
    padding-top: 1.4em;
    padding-right: 12%;
    padding-left: 160px;
    margin-bottom: 2em;
    text-align: left;
}

#footer li {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.9em;
    margin-left: 0;
    width: auto;
    max-width: auto;
    padding-right: 1.4em;
}

#footer li a {
    font-family: "Ranelte-NormalText", sans-serif;
}

li > ul {
    top: auto;
    left: auto;
}

form ul {
    list-style: none;
}

label {  
    float: left;  
    width: 160px;  
    margin-right: 10px;  
    text-align: right;
}

label#product {
    width: 28em;  
}

input, textarea { 
    width: 30rem;
}

input#to { 
    width: 2px;
    display: none;
}

button#sendit {  
    float: left;
    margin-left: 170px;
}

#homebutton {
    display: none;
}

@media only screen and (min-device-width: 0px) and (max-device-width: 670px)
{
    #homebutton {
	display: block;
    }
    h2 {
	margin-top: 0; /* because of home link above */
    }
    #top {
	padding: 20px 5% 0px 5%;
	border-bottom: 4px solid black;
    }
    p,h1,h2,h3,h4,h5,h6,ul,ol,table { 
	margin-left: 5%;
	margin-right: 5%;
	padding-left: 0;
    }
    table.licences {
        margin-left: 0;
        font-size: 80%;
    }
    table.licences td {
        padding-left: 0.7em;
        padding-right: 0.2em;
    }
    #footer {
        padding-left: 20px;
	padding-right: 5%;
        padding-bottom: 1em;
	padding-top: 1em;
    }
    form ul {
        padding-left: 0;
        margin-left: 0;
    }
    label, label#product {
        width: 80%;
        margin-left: 0;
        text-align: left;
    }
    label#spacer {
        display: none;
    }
    input, textarea {
        width: 90%;
    }
    button#sendit {  
        float: left;
        margin-left: 0;
    }
}

@media only screen and (min-width: 1500px)
{
    p,h1,h2,h3,h4,h6,h7,ul,ol,table { 
        margin-left: 14%;
    }
    table.licences {
        margin-left: 16%;
    }
    #top, #footer {
        padding-left: calc(20px + 14%);
    }
}
