html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 100%;
}

@media(max-width: 370px) {
    body {
        font-size: 0.8125em;
    }
}

body {
    font-family: Arial, sans-serif;
    max-width: 60rem;
    margin: 0 auto;
    background-color: #849596;
    background-attachment: fixed;
    position: relative;
    padding: 0 1em;
    color: #222;
}

img {
    max-width: 100%;
    border: none;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    color: #79f;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

p {
    margin: 2em 0;
}

header {
    background-color: #000;
    color: #eee;
    padding: 1em;
}

header > h1 {
    margin: 0;
    text-transform: uppercase;
    background-image: url('/images/rhcp.png');
    font-size: 1.8em;
    padding-left: 2.7em; /* This is too empirical! */
    background-repeat: no-repeat;
    background-position: center left;
    background-size: contain;
}

header > address {
    margin: 1em 1em 0;
    padding: 1em;
    font-style: normal;
    color: #eee;
    background-color: #1a1a20;
}

header > address > a,
header > address > a:hover,
header > address > a:focus,
header > address > a:active,
header > address > a:visited {
    display: block;
    line-height: 32px; /*match icon height*/
    margin-bottom: 0.5em;
    color: inherit;
    opacity: 0.63;
}

header > address > a:hover,
header > address > a:focus {
    opacity: 1;
}

header > address > a:last-child {
    margin-bottom: 0;
}

header > address > a > img {
    width: 32px;
    max-width: 2.5em;
    margin-right: 0.5em;
    vertical-align: middle;
}

nav {
    background-color: #835;
    color: #eee;
    margin: 1em 0 0;
}

nav a, 
nav a:hover,
nav a:focus, 
nav a:visited, 
nav a:active {
    display: inline-block;
    text-decoration: none;
    color: inherit;
    padding: 1em 0.8em;
    position: relative;
}

nav a:hover,
nav a:focus{
    background-color: #A05C77;
}

nav a[href='./']::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.8em 0.8em 0;
    border-color: #835 transparent transparent;
    left: 50%;
    bottom: -0.75em;
    margin-left: -0.8em;
}

nav a[href='./']:hover::after {
    border-color: #A05C77 transparent transparent;
}

section {
    background-color: #fff;
    padding: 2em;
    margin: 1em 0;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    overflow: hidden;
}

section > h2,
section > h3 {
    margin-top: 0;
}

blockquote {
    margin: 3em;
}

blockquote > p {
    margin: 1em 0;
}

blockquote > p:before {
    content: "“";
    display: block;
    font-size: 5em;
    font-style: italic;
    color: #888;
    height: 0;
    left: -0.6em;
    position: relative;
    top: -0.3em;
}

blockquote > footer {
    font-style: italic;
    font-size: 1em;
}

footer {
    margin: 1em 0;
    font-size: 0.7em;
}

footer a, 
footer a:hover, 
footer a:visited, 
footer a:active {
    color: inherit;
}

body > header,
header > address,
header > nav {
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

@media(min-width: 50rem) {
    html {
        overflow-x: hidden;
    }

    body {
        background-image: repeating-linear-gradient(23deg, rgba(0,0,0,0.008) 0, rgba(0,0,0,0.008) 100px, rgba(255, 255, 255, 0.008) 0px, rgba(255, 255, 255, 0.008) 200px),
                          repeating-linear-gradient(-67deg, rgba(0,0,0,0.008) 0, rgba(0,0,0,0.008) 100px, rgba(255, 255, 255, 0.008) 0px, rgba(255, 255, 255, 0.008) 200px);
    }
    
    header > address {
        position: absolute;
        top: 0;
        right: 0;
        padding: 0 !important;
        margin: 0.7em 1rem !important;
        background-color: transparent;
    }

    body > header,
    header > address,
    header > nav {
        padding-left: 9999px;
        padding-right: 9999px;
        margin-left: -9999px;
        margin-right: -9999px;
    }
}

.left {
    float: left;
    margin: 0 1em 1em 0;
}

.right {
    float: right;
    margin: 0 0 1em 1em;
}

.center {
    display: block;
    margin: 1em auto;
}

/*form styles*/

input,
textarea,
button {
    font: inherit;
    border: solid 1px #bbb;    
}

form {
    margin: 2em 0;
}

form > div {
    margin: 1em 0 0;
}

form > div > * {
    display: inline-block;
    vertical-align: top;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0.4em;
}

form label {
    width: 10em;
}

form input,
form textarea {
    width: 20em;
    max-width: 100%;
}

form em {
    display: block;
    margin: 0.5em 0 1em;
    width: 30em;
    max-width: 100%;
}

.error {
    color: #f00;
    background-color: #fee;
    border: solid 1px #faa;
}

.success {
    color: #0b0;
    background-color: #dfd;
    border: solid 1px #8b8;
}

/*facebook like box*/

.social-plugin {
    display: none !important;
}

@media(min-width: 60rem) {
    .social-plugin {
        display: block !important;
        min-width: 296px;
        min-height: 571px;
    }
}