/*
Theme Name: VNO Theme
Theme URI: http://www.vivirdenegociosonline.com/
Author: David Valverde
Author URI: http://www.davidvalverde.com/
Description: Theme.
Version: 1.0
*/

/* Reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

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

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000;
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}

/* General styles */
html, body {
    font-size: .8rem;
}
body {
    background-color: #efefef;
    color: #444;
    display: flex;
    flex-direction: column;
    font: 1rem 'Open Sans', Verdana, Arial, Sans-Serif;
    min-height: 100vh;
}
    @media screen and (min-width: 745px) {
        html {
            font-size: .9rem;
        }
    }
    @media screen and (min-width: 960px) {
        html {
            font-size: 1rem;
        }
    }
p {
    margin: 0 0 1em 0;
    line-height: 1.5em;
}
a {
    color: #9f7248;
    outline: 0;
    text-decoration: none;
}
    a:hover, a:active {
        text-decoration: underline;
    }
hr {
    background: url('endline.png') repeat-x top left;
    border: 0;
    height: 2px;
    margin: 2rem 0;
}

/* Header */
.header {
    align-items: center;
    background-color: #111;
    display: flex;
    flex-direction:column;
    justify-content: space-between;
    padding: 1rem 0;
    width: 100%;
}
    .header__logo a {
        display: flex;
        flex-direction: row;
        font: 2.5rem 'Open Sans', Verdana, Arial, Sans-Serif;
        margin-bottom: 1rem;
        margin-left: 1rem;
    }
        .header__logo a:hover, .header__logo a:active {
            text-decoration: none;
        }
        .header__logo__first {
            color: #48729f;
        }
        .header__logo__second {
            color: #9f7248;
        }
        .header__logo img {
            max-width: 100%;
        }
    @media only screen and (min-width: 450px){
            .header {
                flex-direction: row;
            }
            .header__logo a {
                margin-bottom: 0;
            }
        }

/* Footer */
.footer {
    background-color: #111;
    display: flex;
    font-size: .8em;
    justify-content: flex-end;
    padding: 1rem 0;
}
    .footer a {
        color: #fff;
        text-decoration: none;
    }
        .footer a:hover {
            color: #9f7248;
        }
    .footer__menu {
        display: flex;
    }
        .footer__menu__option {
            display: inline;
            margin: 0 0 0 1rem;
        }
    .footer__copyright {
        margin: 0 1rem;
    }

/* Menu */
.menu {
    background-color: #c69f66;
    font-size: 1rem;
}
    .menu nav {
        margin: 0;
        padding: .5em 1em;
    }
    .menu ul {
        display: flex;
        flex-direction: column;
    }
    .menu li {
        margin: .5rem;
    }
    .menu a {
        color: #444;
        padding: 1rem;
    }
    .menu a:hover {
        color: #fff;
        text-decoration: none;
    }
    @media only screen and (min-width: 450px){
            .menu ul {
                flex-direction: row;
            }
            .menu a:hover {
                background-color: #956b41;
            }
        }
/* Teaser */
.teaser {
    align-items: center;
    background-color: #48729f;
    color: #fff;
    display: flex;
    flex-direction: row-reverse;
    padding: 1rem;
}
    .teaser__page {
        display: flex;
        flex-direction: column;
    }
        .teaser__page__header {
            font-size: 1.2rem;
            font-style: italic;
            margin-bottom: 1rem;
        }
        .teaser__page__message {
            font-style: italic;
        }
            .teaser__page__message p {
                margin: 0;
            }
        .teaser__page__icon {
            display: none;
        }
            @media only screen and (min-width: 450px){
                .teaser__page__icon {
                    display: block;
                    text-align: center;
                    width: 80%;
                }
            }
            @media only screen and (min-width: 745px){
                .teaser__page__icon {
                    width: 50%;
                }
            }
        .teaser__page dl {
            display: flex;
        }
        .teaser__page input {
            margin: .5rem 1rem .5rem 0;
        }
        .teaser__page input[type=submit] {
            padding: .2rem 1rem;
        }
            @media only screen and (max-width: 745px){
                .teaser__page dl {
                    flex-direction: column;
                }
            }

/* Content */
#wrapper {
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    width: 100%;
}
@media only screen and (min-width: 1200px) {
    #wrapper {
        -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.75);
        -moz-box-shadow:    0px 0px 20px 0px rgba(50, 50, 50, 0.75);
        box-shadow:         0px 0px 20px 0px rgba(50, 50, 50, 0.75);
        margin: 0 auto;
        max-width: 1200px;
    }
}
.content {
    display: flex;
    flex: 1;
    justify-content: space-between;
    margin: 1rem;
}
    @media screen and (max-width: 745px) {
        .content {
            flex-direction: column;
        }
    }

.content h1 {
    color: #48729f;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 1rem;
}
.content h2 {
    color: #48729f;
    font-size: 1.6rem;
    font-weight: normal;
    margin: .5rem 0;
}
.content h3 {
    color: #48729f;
    font-size: 1.2rem;
    margin: .3rem 0;
}
.content ol, .content ul {
    line-height: 1.5rem;
    margin: 0 0 1rem 2rem;
}
.content li {
    margin-bottom: 1rem;
}
.content img {
    height: auto;
    max-width: 100%;
}
.content table {
    border: 1px solid #48729f;
    margin: 1rem 0;
}
    .content table thead {
        background: #48729f;
        color: #fff;
    }
    .content table tfoot {}
    .content table tbody {}
    .content table tbody tr:nth-child(odd) {
        background: #669fc6;
    }
    .content table tbody tr:nth-child(even) {
        background: #fff;
    }
    .content table th {
        border: 1px solid #48729f;
        padding: .5rem;
        vertical-align: middle;
    }
    .content table td {
        border: 1px solid #48729f;
        padding: .5rem;
    }
.content blockquote {
    padding: 2rem 2rem 1rem;
    position: relative;
}
.content blockquote:before {
    color: #669fc6;
    content: "\f10d";
    font-family: FontAwesome;
    font-size: 3.5rem;
    margin: -1rem 0 0 -1rem;
    opacity: .3;
    position: absolute;
}

.content__blog {
    width: 70%;
}
    @media screen and (max-width: 745px) {
        .content__blog {
           width: 100%;
        }
    }

.sidebar {
    margin: 2rem 0 0 0;
    width: 100%;
}
    @media screen and (min-width: 745px) {
        .sidebar {
            margin: 0 0 0 2rem;
            width: 30%;
        }
    }
    .sidebar li {
        margin: .5em 0;
    }
    .sidebar .fa-ul i {
        color: #48729f;
    }
    .sidebar__lifestream {
        display: flex;
    }
    ul.sidebar__lifestream {
        margin: 0 1rem 0 0;
    }
        .sidebar__lifestream a {
            color: #444;
            margin: 0 .3rem;
        }
        .sidebar__lifestream a:hover {
            color: #9f7248;
        }

.post { margin-bottom: 2rem; }
.entry-title a:hover { color: #444; text-decoration: none; }
.entry-meta { font-size: .9rem; font-style: italic; margin: 0 0 1rem 0;}
    .entry-meta i { color: #48729f; }

/*.entry-content-index { display: flex; margin-bottom: 1rem; }*/
.entry-content-index p { margin: 0; }
.entry-content-index .wp-post-image { display: none; }
@media screen and (min-width: 450px) {
    .entry-content-index { display: flex; margin-bottom: 1rem; }
    .entry-content-index .wp-post-image { border: 1px solid #CCC; display: block; flex: 0 0 200px; height: 150px; margin-right: 1rem; padding: .5rem; }
}

div#comments { clear: both; margin-top: 30px; }
    div#comments ol.commentlist { list-style: none; }
        div#comments ol.commentlist li {}
            div#comments ol.commentlist article { margin-bottom: 20px; }
                div#comments ol.commentlist article footer.comment-meta { background: transparent; font-style: italic; color: #444; }
                    div#comments ol.commentlist article footer.comment-meta div.comment-author img { float: left; padding: 4px; margin: 0 10px 5px 0; border: 1px solid #ccc; background: #fff; }
                    div#comments ol.commentlist article footer.comment-meta div.comment-author a { text-decoration: none; color: #9f7248; }
                    div#comments ol.commentlist article footer.comment-meta div.comment-author a:hover, div#comments ol.commentlist article footer.comment-meta div.comment-author a:active { text-decoration: underline; }
                div#comments ol.commentlist article div.comment-content { margin-left: 90px; }
                div#comments ol.commentlist ul article div.comment-content { margin-left: 60px; }
                div#comments ol.commentlist article div.reply { margin-left: 90px; }
                div#comments ol.commentlist ul article div.reply { margin-left: 60px; }
            div#comments ol.commentlist li ul { list-style: none; margin-left: 20px; }
            div#comments ol.commentlist li ul li ul { list-style: none; margin-left: 10px; }
            @media screen and (min-width: 450px) {
                div#comments ol.commentlist li ul { margin-left: 90px; }
                div#comments ol.commentlist li ul li ul { margin-left: 60px; }
            }

    div#comments div#respond h3#reply-title { font-size: 1.6em; font-weight: normal; color: #48729f; margin-top: 2rem; }
    input,
    textarea { display: block; margin-bottom: 10px; padding: 3px; font: 1em 'Open Sans', Georgia, Times, Verdana, Sans-Serif; }
    input,
    textarea { border: 1px solid #d5a76d; }
    input:hover,
    textarea:hover { border: 1px solid #956b41; }
    input:active,
    input:focus,
    textarea:active,
    textarea:focus { border: 1px solid #956b41; outline: none; }
    textarea { resize: none; width: 100%; }
    input[type=submit] { }
    input[type=submit] { padding: 10px 20px; background: #d5a76d; color: #444; }
    input[type=submit]:hover { background: #956b41; color: #eee; }
    input[type=submit]:active,
    input[type=submit]:focus { background: #444; color: #d5a76d; }
    input[type=submit]::-moz-focus-inner { border: 0; }
    .searchform { display: flex; }

.summary {
    background: #d5a76d;
    box-shadow: 1px 1px 5px #d5a76d;
    -moz-box-shadow: 1px 1px 5px #d5a76d;
    -webkit-box-shadow: 1px 1px 5px #d5a76d;
    color: #444;
    font-size: .9rem;
    margin: 1rem .5rem .5rem 1rem;
    padding: 1rem 1rem .1rem;
}
    @media screen and (min-width: 450px) {
        .summary {
           float: right;
           padding-bottom: 0;
        }
    }
    .summary i {
        margin-right: 10px;
    }
    .summary--blog {
        color: #444;
        float: none;
        margin: 1rem 0 0;
        padding: 1rem 1rem .5rem;
    }
        .summary--blog header img {
            border-radius: 50%;
            -moz-border-radius: 50%;
            -webkit-border-radius: 50%;
            float: right;
            margin-top: -3rem;
            width: 100px;
        }
        .summary--blog a {
            color: #48729f;
            font-weight: bold;
        }
        .summary--blog a:hover, .summary--blog a:active {
            color: #fff;
            text-decoration: none;
        }
        .summary__news {
            background: #6da7d5;
            box-shadow: 1px 1px 5px #6da7d5;
            -moz-box-shadow: 1px 1px 5px #6da7d5;
            -webkit-box-shadow: 1px 1px 5px #6da7d5;
            margin-bottom: 2rem;
        }
            .summary__news h2, .summary__news p {
                color: #FFF;
            }

.wp-pagenavi { /*clear: both;*/ margin: 2rem 0; }
    .wp-pagenavi a, .wp-pagenavi span { text-decoration: none; border: 1px solid #BFBFBF; padding: 3px 5px; margin: 2px; }
    .wp-pagenavi a:hover, .wp-pagenavi span.current { border-color: #000; }
    .wp-pagenavi span.current { font-weight: bold; }

.shareaholic-share-buttons-heading {
     background: url('./images/compartir.png') 0 0 no-repeat;
     height: 65px;
     margin-bottom: -15px !important;
}
.shareaholic-share-buttons-heading-image { display: none; }
.shareaholic-recommendations-container .shareaholic-recommendations-header { color: #48729f; font-size: 1.6rem; font-weight: normal; margin: .5rem 0; }
.shareaholic-recommendation[data-shr-content]:not([data-shr-content='']) { display: none; }