/*
Theme Name: Sara Jordell
Theme URI: http://sarajordell.dk/
Author: Stickleback
Author URI: http://stickleback.dk/
Description: Custom WordPress theme for Sara Jordell
Version: 1.1
License: GNU General Public License
License URI: license.txt
Tags: Responsive, light, green, featured images

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust: 100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

body {
    background: url(images/bg.jpg);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

ol, ul {
    list-style: none;
}

table {
    /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}

caption, th, td {
    font-weight: normal;
    text-align: left;
    padding-right: .5em;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
    outline: 0;
}

a img {
    border: 0;
}

/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
    color: #404040;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 1.4;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-size: 1.2em;
    font-family: Arvo;
    margin-bottom: .2em;
}

.page-title {
    margin-bottom: .8em;
}

hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1em;
}

/* Text elements */
p {
    margin-bottom: 1em;
}

ul, ol {
    margin: 0 0 1em 3em;
}

ul {
    list-style: disc;
}

ol {
    list-style: decimal;
}

ul ul, ol ol, ul ol, ol ul {
    margin-bottom: 0;
    margin-left: 1.5em;
}

dt {
    font-weight: bold;
}

dd {
    margin: 0 1.5em 1em;
}

b, strong {
    font-weight: bold;
}

dfn, cite, em, i {
    font-style: italic;
}

blockquote {
    margin: 1.5em 0;
    font-size: .9em;
}

address {
    margin: 0 0 1.5em;
}

pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    padding: 1.6em;
    overflow: auto;
    max-width: 100%;
}

code, kbd, tt, var {
    font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr, acronym {
    border-bottom: 1px dotted #404040;
    cursor: help;
}

mark, ins {
    background: #ffc0cb;
    text-decoration: none;
}

sup,
sub {
    font-size: 75%;
    height: 0;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    bottom: 1ex;
}

sub {
    top: .5ex;
}

small {
    font-size: 75%;
}

big {
    font-size: 125%;
}

figure {
    margin: 0;
}

table {
    margin: 0 0 1em;
    width: auto;
    background: #6ea875;
    color: #fff;
    padding: 1em;
}

th {
    font-weight: bold;
}

table a,
table a:link,
table a:visited,
table a:active {
    color: #FFF;
}
button,
input,
select,
textarea {
    font-size: 100%; /* Corrects font size not being inherited in all browsers */
    margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
    vertical-align: baseline; /* Improves appearance and consistency in all browsers */
    *vertical-align: middle; /* Improves appearance and consistency in all browsers */
}

button,
input {
    line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
    *overflow: visible; /* Corrects inner spacing displayed oddly in IE6/7 */
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    border: none;
    background: #fff;
    color: #6ea875;
    cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
    -webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
    font-size: 12px;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    padding: .5em 1em;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    color: #4D7552;
}

button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
    padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
    -webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration {
    /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
    border: 0;
    padding: 0;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
    color: #666;
    border: none;
    padding: .25em 1em;
    float: left;
    margin-right: .5em;
    margin-bottom: .25em;
}

input[type=text]:focus,
input[type=email]:focus,
input[type=password]:focus,
textarea:focus {
    color: #404040;
}

input[type=text],
input[type=email],
input[type=password] {
}

textarea {
    overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
    padding-left: 3px;
    vertical-align: top; /* Improves readability and alignment in all browsers */
    width: 98%;
}

/* apply a natural box layout model to all elements */
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* Clear floats */
.clearfix:after {
    content: ".";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

/* Links */
a {
    color: rgb(110, 168, 117);
    text-decoration: none;
    font-weight: 700;
}

a:visited {
    color: rgb(110, 168, 117);
}

a:hover,
a:focus,
a:active {
    color: rgb(110, 168, 117);
    color: #4D7552;
    text-decoration: underline;
}

.entry-title a {
    color: #404040;
    font-weight: 400;
}

.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
    color: #6ea875;
    font-weight: 400;
    text-decoration: none;
}

.readmore,
.readmore:visited {
    background: #6ea875;
    color: #fff;
    padding: .5em 1em;
    float: right;
    margin-top: -1.5em;
    margin-right: 2em;
}

.readmore:hover,
.readmore:focus,
.readmore:active {
    background: #4D7552;
    text-decoration: none;
    color: #fff;
}

.back a,
.back a:visited {
    background: #6ea875;
    color: #fff;
    padding: .5em 1em;
    float: right;
    margin-top: .7em;
    margin-right: 2em;
    font-weight: 400;
    font-size: .7em;
}

.back a:hover,
.back a:focus,
.back a:active {
    background: #4D7552;
    color: #fff;
    text-decoration: none;
}

.mailchimp a {
    color: #fff;
}

.nav-previous a,
.nav-next a {
    background: #fafafa;
    padding: .5em 1em;
}

/* Alignment */
.alignleft,
.alignright,
.aligncenter {
    display: block;
    margin: .5em auto 1em;
}

/* Text meant only for screen readers */
.assistive-text {
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
}

/* =Menu
----------------------------------------------- */

.main-navigation {
    clear: both;
    display: block;
    width: 100%;
    margin: 3em 0 1em;
    padding: 0;
    font-family: Arvo, sans-serif;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    text-decoration: none;
    padding: .2em .5em;
    font-weight: 400;
    color: #404040;
}

.main-navigation ul ul {
    margin-left: 0;
}

.main-navigation ul ul ul {
    left: 100%;
    top: 0;
}

.main-navigation ul ul a {
    width: 200px;
}

.main-navigation ul ul li {
}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
    display: block;
}

.main-navigation li.current_page_item a,
.main-navigation li.current-page-ancestor a,
.main-navigation li.current-post-ancestor a,
.main-navigation li.current-menu-parent a,
.main-navigation li.current-menu-item a {
    font-weight: 700;
}

.main-navigation li.current_page_item li a,
.main-navigation li.current-post-ancestor li a,
.main-navigation li.current-menu-parent li a,
.main-navigation li.current-menu-item li a {
    font-weight: 400;
}

.main-navigation li li.current_page_item a,
.main-navigation li li.current-menu-item a {
    font-weight: 700;
}

/* Small menu */
.menu-toggle {
    cursor: pointer;
    padding: .5em .5em 0 2em;
    background: #fff;
}

.nav-below {
    clear: both;
    width: 100%;
    padding: 1em 0 3em;
}

.main-small-navigation .menu {
    display: none;
}

.nav-next {
    float: right;
    text-align: right;
}

.nav-previous {
    float: left;
    text-align: left;
    margin-left: 1em;
}

.nav-previous a,
.nav-next a {
    background: #fafafa;
    padding: .5em 1em;
}

/* =Layout
----------------------------------------------- */

/* =Content
----------------------------------------------- */

.sticky {
}

.hentry {
    margin: 0 0 1.5em 1em;
    position: relative;
}

.entry-header {
}

.archive-title {
    text-align: right;
    margin: 2em 2em 1em 0;
}

.entry-meta {
    clear: both;
}

.byline {
    display: none;
}

.single .byline,
.group-blog .byline {
    display: inline;
}

.fullsize {
    z-index: 99;
}

.page-content,
.entry-content {
    position: relative;
    margin: -2.5em auto 0;
    background: #fafafa;
    padding: 1.5em 2.5em;
    width: 90%;
}

.archive .site-content {
    margin-bottom: 6em;
}

.box2 {
    margin: 1.5em auto .5em;
    background: #fafafa;
    padding: 1.5em 2.5em 0;
    width: 80%;
}

.page-links {
    clear: both;
    margin: 0 0 1.5em;
}

.box1 {
    width: 40%;
    float: left;
}

.box2 {
    width: 60%;
    float: left;
}

/* =Media
----------------------------------------------- */

.site-content img,
.comment-content img,
.widget img {
    max-width: 100%; /* Fluid images for posts, comments, and widgets */
}

.site-header img,
.site-content img,
.comment-content img[height],
img[class*="align"],
img[class*="wp-image-"] {
    height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

.site-header img,
.site-content img,
img.size-full {
    max-width: 100%;
    width: auto; /* Prevent stretching of full-size images with height and width attributes in IE8 */
}


.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
    border: none;
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

.entry-thumb {
    float: left;
}

.wp-caption {
    border: 1px solid #ccc;
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 1.2% auto 0;
    max-width: 98%;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text {
    margin: 0.8075em 0;
}

.site-content .gallery {
    margin-bottom: 1.5em;
}

.gallery-caption {
}

.site-content .gallery a img {
    border: none;
    height: auto;
    max-width: 90%;
}

.site-content .gallery dd {
    margin: 0;
}

.site-content .gallery-columns-4 .gallery-item {
}

.site-content .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
    max-width: 100%;
}

/* =Widgets
----------------------------------------------- */

.widget {
    margin: 3em 2em 6em;
}

/* Make sure select elements fit in widgets */
.widget select {
    max-width: 100%;
}

.widget-title {
    font-weight: 700;
    font-size: 1.1em;
    font-family: 'Source Sans Pro', sans-serif;
    text-transform: uppercase;
}

/* =Mailchimp
----------------------------------------------- */
.mailchimp {
    position: relative;
    background: #6ea875;
    padding: 1em;
    color: #fff;
    margin: -2.5em 3.5em 2.5em;
    float: right;
    max-width: 400px;
}

/* Responsiveness
------------------------------------------------ */

@media only screen and (max-width: 699px) {
    body {
        padding: 0;
    }

    .site {
        padding: 0;
    }

    .container1,
    .container2 {
        box-shadow: 0px 0px 0px 0px #bbb;
        -webkit-box-shadow: 0px 0px 0px 0px #bbb;
        -moz-box-shadow: 0px 0px 0px 0px #bbb;
        -o-box-shadow: 0px 0px 0px 0px #bbb;
        background: transparent;
    }

    .hgroup {
        display: inline;
        width: 200px;
    }

    .site-title {
        display: inline;
        text-align: left;
    }

    .menu-navigation {
    }

    .menu-navigation-container {
        position: relative;
        z-index: 2;
        background: #fafafa;
        padding: 0 1em 1em;
    }

    .main-small-navigation {
        position: absolute;
        top: 0;
        right: 0;
        text-align: right;
        background: #fff;
        z-index: 2000;
    }

    .main-small-navigation .menu {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .main-small-navigation a {
        font-size: 1.2em;
        padding: .2em 1em;
        margin: 0;
        border-bottom: 1px solid #ccc;
        font-weight: 400;
        display: block;
    }

    #masthead,
    #primary,
    #secondary,
    #content,
    .mailchimp,
    .site-info {
        max-width: 100%;
        width: 100%;
        position: relative;
        padding: 0;
        margin: 0;
    }

    .site-header {
        position: relative;
        background: #fff;
    }

    .site-header img {
        text-align: left;
        padding: .5em 0;
        max-width: 220px;
        height: auto;
    }

    .site-title {
        padding: .5em;
        margin-bottom: 2rem;
    }

    .page-title {
        margin: 1em;
    }

    .hentry {
        margin-left: 0;
    }

    .box2 {
        padding: .5em 1em;
    }

    .page-content,
    .entry-content {
        padding: 1em;
        width: 90%;
        z-index: 1;
    }

    /* =Call to action
    ----------------------------------------------- */
    .widget-book,
    #text-4 {
        display: block;
        background: rgba(91, 42, 56, .8);
        background: rgb(106, 92, 109);
        background: rgba(106, 92, 109, .8);
        color: #fff;
        margin: 1em auto;
        padding: 1em;
        text-align: center;
        clear: both;
    }

    #text-4 p {
        margin-bottom: 0;
    }

    #text-4 a {
        color: #fff;
    }

    .testimonial {
        background: #fafafa;
        padding: 1em;
        font-size: .9em;
        text-align: left;
        margin: 1em auto;
        width: 90%;
    }

    /* =Facebook
  ----------------------------------------------- */
    .fb_edge_widget_with_comment {
        padding: 1em 2em;
        max-width: 90%;
        overflow: hidden;
    }

    /* =Mailchimp
    ----------------------------------------------- */
    .mailchimp {
        margin: 1em auto;
        padding: 1em;
        float: none;
        width: 90%;
    }

    .testimonial p,
    .mailchimp p {
        margin-bottom: .5em;
    }

    .site-info {
        text-align: center;
    }

}

@media only screen and (max-width: 399px) {
    .box1 {
        width: 100%;
    }

    .box2 {
        width: 100%;
        margin: 0 0 1em;
    }

    #primary,
    #secondary {
        font-size: .8em;
    }

    .page-content, .entry-content {
        position: relative;
        margin: 0 0 3em;
        background: #FAFAFA;
        padding: .5em;
        width: 100%;
    }

    /* =Facebook
  ----------------------------------------------- */
    .fb_edge_widget_with_comment {
        padding: 1em;
        max-width: 90%;
        overflow: hidden;
    }

}

@media only screen and (min-width: 700px) {

    .site {
        width: 100%;
        margin: 0 auto;
        padding: 0 0 0 1%;
    }

    /* background for desktop sidebar */
    .container1 {
        float: left;
        width: 100%;
        position: relative;
        right: 80%;
        background: #fff;
        box-shadow: 0px 0px 6px 0px #bbb;
        -webkit-box-shadow: 0px 0px 6px 0px #bbb;
        -moz-box-shadow: 0px 0px 6px 0px #bbb;
        -o-box-shadow: 0px 0px 6px 0px #bbb;
    }

    .separator {
        margin-bottom: 2rem;
    }

    /* background for main area */
    .container2 {
        clear: left;
        float: left;
        width: 100%;
        overflow: hidden;
        background: transparent;
        box-shadow: 0px 0px 6px 0px #bbb;
        -webkit-box-shadow: 0px 0px 6px 0px #bbb;
        -moz-box-shadow: 0px 0px 6px 0px #bbb;
        -o-box-shadow: 0px 0px 6px 0px #bbb;
    }

    #primary {
        float: right;
        width: 79%;
        position: relative;
        left: 79%;
        overflow: hidden;
        margin: 0;
    }

    #content {
        width: 100%;
    }

    #masthead,
    #secondary {
        float: left;
        width: 16%;
        min-width: 120px;
        max-width: 230px;
        position: relative;
        left: 82%;
        overflow: hidden;
        background: inherit;
        line-height: 1.1em;
        padding: 2em 0 0;
        text-align: center;
        clear: left;
    }

    .widget {
        margin: 3em 0 6em;
    }

    /* =Call to action
  ----------------------------------------------- */
    .widget-book,
    #text-4 {
        width: 120px;
        height: 120px;
        border-radius: 60px;
        background: #6ea875;
        color: #fff;
        margin: 1em auto 6em;
        /*padding: 38px 12px;*/
    }

    .widget-book:hover {
        background: #4D7552;
    }

    .widget-title-book a,
    #text-4 .widget-title {
        font-size: 16px;
        color: #fff;
        text-transform: uppercase;
        font-family: 'Source Sans Pro', sans-serif;
        padding: 44px 12px;
        display: block;
    }

    .widget-title-book a:hover {
        text-decoration: none;
    }

    #text-4 p {
        font-size: 14px;
    }

    #text-4 a {
        color: #fff;
    }

    #text-4 a:hover {
        text-decoration: none;
    }

    .testimonial {
        font-size: .9em;
        text-align: left;
        margin: 0 0 6em;
    }

    .testimonial p,
    .mailchimp p {
        margin-bottom: .5em;
    }

    .site-info {
        margin-top: 3em;
    }

    .site-info p {
        margin: 1em 0;
    }

    .site-info a {
        color: #404040;
        font-weight: 400;
    }

    /* =Facebook
  ----------------------------------------------- */
    .fb_edge_widget_with_comment {
        width: 90%;
        margin: auto;
        display: block !important;
        padding: 0 1em;
    }

}

@media only screen and (min-width: 1200px) {

    .site {
        width: 100%;
        margin: 0 auto;
        padding: 0 0 0 4%;
    }

    #primary {
        width: 70%;
        left: 75%;
        margin: 0 1em;
    }

    .page-content,
    .entry-content {
        width: 80%;
    }

    .fb_edge_widget_with_comment {
        width: 80%;
    }

    /* Alignment */
    .alignleft {
        display: inline;
        float: left;
        margin-right: 1.5em;
    }

    .alignright {
        display: inline;
        float: right;
        margin-left: 1.5em;
    }

    .aligncenter {
        clear: both;
        display: block;
        margin: 0 auto;
    }

}
