/*
Theme Name: Bbel
Theme URI: http://www.bbel.com.br/
Author: Paulo de Tarso Furtado Machado
Description: Tema criado para o Blog da Bbel
Version: 1.0
*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,700|Open+Sans:400');
@import url('css/bootstrap-font-awesome.css');

body {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 160%;
    background: #f2f2f2;
    color: #4e4e4e;
}

a {
    color: #b90081;
    transition: color 300ms ease 0s, background-color 300ms ease 0s, border-color 300ms ease 0s;
}
a:hover,a:focus {
    color: #910281;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
    color: #4e4e4e;
    font-weight: 700;
}
h1,.h1,h2,.h2,h3,.h3 {
    margin-bottom: 10px;
    margin-top: 0;
}

/* Botões */
.btn-bbel-v1 {
    background-color: #b90081;
    color: #ffffff;
}
.btn-bbel-v2 {
    background-color: #910281;
    color: #ffffff;
}

/* Cores */
.color-bbel-v1 {
    color: #b90081 !important;
}
.color-bbel-v2 {
    color: #910281 !important;
}


/*
 *
 * ~~~| Header |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */
div#main-nav {
    padding: 0;
}
.navbar-default {
    min-height: auto;
    margin-bottom: 8px;
    background-color: #ffffff;
    border-bottom: none;
    border-radius: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

@media (min-width:768px) {
    div#main-nav {
        padding: 10px 0;
    }
    .navbar-default {
        margin-bottom: 50px;
        border-bottom: 1px solid #eeeeee;
    }
}


/* Logo */
.navbar-brand {
    display: inline-block;
    float: none;
    width: 95px;
    height: 40px;
    margin: 15px;
    padding: 0;
    background: url(imagens/bbel-logo-sm.png) no-repeat left top;
}
.navbar-brand img {
    display: none;
}

@media (min-width:768px) {
    .navbar-brand {
        width: auto;
        height: auto;
        background: none;
    }
    .navbar-brand img {
        display: inline;
    }
    .navbar > .container .navbar-brand {
        margin-left: 0;
    }
}


/*
 *
 * ~~~| Menu |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */
.navbar-wrapper {
    background-color: #fcfcfc;
    border-top: 1px solid #eeeeee;
    clear: both;
}
.navbar-nav {
    float: none;
    margin-top: 0;
    margin-bottom: 0;
    border-bottom: 1px solid #eeeeee;
}
.navbar-nav > li {
    margin-right: 0;
    box-shadow: 0 0 1px rgba(80, 80, 80, .2);
}
.navbar-nav > li > a {
    display: block;
    line-height: 1.6;
    font-size: 90%;
    color: #4e4e4e;
    margin: 0;
    padding: 7px 12px 5px;
    border-bottom: 3px solid transparent;
}
.navbar-nav > li > a:hover {
    border-color: #b90081;
}

@media (min-width:768px) {
    .navbar-nav {
        border-bottom: none;
    }
    .navbar-nav > li {
        margin-right: 1px;
        box-shadow: none;
    }
    .navbar-nav > li > a {
        padding: 7px 8px 5px;
    }
}
@media (min-width:992px) {
    .navbar-nav > li > a {
        display: inline-block;
        font-size: 100%;
        padding: 7px 12px 5px;
    }
}

/* Link ativo no menu */
.navbar-nav > .active > a,.navbar-nav > .active > a:hover,.navbar-nav > .active > a:focus {
    background-color: #910281;
    color: #ffffff;
    border-color: #910281;
}

/* Menu hamburger */
.navbar-toggle {
    margin-top: 15px;
    margin-bottom: 0;
}
.navbar-toggle .icon-bar {
    width: 25px;
    height: 4px;
}

/* Menu exibido em resoluções SM */
.navbar-collapse {
    padding-bottom: 0;
    border-top: none;
}


/*
 *
 * ~~~| Área principal (container) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */
div#main-container {
    padding-left: 8px;
    padding-right: 8px;
}
div#wrapper {
    display: block;
    overflow: hidden;
    margin-bottom: 8px;
    background-color: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

@media (min-width:992px) {
    div#main-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    div#wrapper {
        margin-bottom: 30px;
    }
}

/* Coluna da esquerda */
div#main-content {
    position: relative;
    float: none;
    width: 100%;
    background-color: #ffffff;
    border-right: none;
    box-shadow: none;
    z-index: 3;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Coluna da direita (sidebar) */
div#sidebar {
    position: relative;
    float: none;
    width: 100%;
    background-color: #fafafa;
    z-index: 2;
}

@media (min-width:992px) {
    div#main-content {
        float: left;
        width: 70%;
        border-right: 1px solid #e5e5e5;
        box-shadow: 1px 0 1px rgba(0, 0, 0, .05);
        margin-bottom: -999999px;
        padding-bottom: 999999px;
    }
    div#sidebar {
        float: right;
        width: 30%;
    }
}

/* Foto da Bebel */
div#foto-bbel div#img-wrapper {
    margin-bottom: 10px;
    max-width: 170px;
}
div#foto-bbel strong.bebel {
    display: block;
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
    font-size: 140%;
    font-weight: 700;
}

/* Redes sociais */
.social-sidebar {
    padding-top: 10px;
}
.social-sidebar > a {
    display: inline-block;
    margin: 0 5px;
    color: #9e9e9e;
}
.social-sidebar > a > i {
    font-size: 200%;
}
.social-sidebar > a > span {
    display: none;
}

.social-sidebar > a {
    transition: color 300ms ease 0s, background-color 300ms ease 0s, border-color 300ms ease 0s;
}
.social-sidebar > a:hover,.social-sidebar > a:focus {
    color: #910281;
}

/* Título das listas (categorias, tags) */
div.widget .sidebar-title {
    font-size: 120%;
}
div.widget ul.side-nav {
    margin-left: -5px;
}

/* Tag Cloud */
div#tag-cloud {
    text-align: center;
}
div#tag-cloud a {
    display: inline-block;
    margin-bottom: 4px;
}

/* Botão "Veja todas as tags" */
a.btn-view-all-tags {
    display: inline-block;
    font-size: 80%;
    margin-top: 5px;
    padding: 6px 16px 8px;
    border: 1px solid #d8dcdc;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    background: #000000 -moz-linear-gradient(center top , #ffffff 0, #f8fafa 100%);
}


/*
 *
 * ~~~| Footer |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */
.navbar-footer {
    font-size: 80%;
    margin-bottom: 0;
    padding: 30px 0 25px;
    background-color: #fafafa;
    border-top: 1px solid #e5e5e5;
    box-shadow: 0 -1px 2px rgba(80, 80, 80, .15);
}

/* Redes sociais */
.social-footer > a {
    display: inline-block;
    margin: 0 5px;
    color: #9e9e9e;
}
.social-footer > a > i {
    font-size: 300%;
}
.social-footer > a > span {
    display: none;
}

.social-footer > a {
    transition: color 300ms ease 0s, background-color 300ms ease 0s, border-color 300ms ease 0s;
}
.social-footer > a:hover,.social-footer > a:focus {
    color: #910281;
}


/*
 *
 * ~~~| Elementos do site |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */

/* Container do post ou mensagens na listagem */
.content-box {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 8px 8px 30px;
    border-bottom: 1px solid #e5e5e5;
    min-height: auto;
}
.content-box:last-child {
    border-bottom: none;
}

@media (min-width:768px) {
    .content-box {
        min-height: auto;
        padding: 30px;
    }
}

/* Widgets (não exibe a borda no último widget) */
.widget:last-child {
    border-bottom: none;
}

/* Separador de posts - <hr> invisível */
hr.post-sep {
    display: none;
}

/* Paginação */
.pagination > li.page-number {
    display: none;
}
.pagination > li > a,.pagination > li > span {
    color: #b90081;
}

.pagination > li > a:hover,.pagination > li > span:hover,.pagination > li > a:focus,.pagination > li > span:focus {
    color: #910281;
}

.pagination > .active > a,.pagination > .active > span,.pagination > .active > a:hover,.pagination > .active > span:hover,.pagination > .active > a:focus,.pagination > .active > span:focus {
    background-color: #b90081;
    border-color: #b90081;
}

.pagination > .disabled > span,.pagination > .disabled > span:hover,.pagination > .disabled > span:focus,.pagination > .disabled > a,.pagination > .disabled > a:hover,.pagination > .disabled > a:focus {
    color: #bdbdbd;
}

/* Só exibe os números das páginas se não for small */
@media (min-width:768px) {
    .pagination > li.page-number {
        display: inline;
    }
}

/* Citações */
blockquote {
    font-family: 'Open Sans Condensed', Helvetica, Arial, sans-serif;
    font-size: 150%;
    border-left: 5px solid #b90081;
    border-radius: 10px;
}

/* Link "Ir para o topo" */
#link-top {
    position: fixed;
    z-index: 2000;
    bottom: 40px;
    right: 10px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .05), 0 2px 2px rgba(80, 80, 80, .6);
    border-radius: 5px;
    visibility: hidden;
    opacity: 0;
    background: rgba(185, 0, 129, .8);
    color: #ffffff;
    font-size: 24px;
    outline: none;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
       -moz-transition: opacity .3s 0s, visibility 0s .3s;
            transition: opacity .3s 0s, visibility 0s .3s;
}
#link-top span.text {
    display: none;
}
#link-top.link-top-is-visible,#link-top.link-top-fade-out,.no-touch #link-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
       -moz-transition: opacity .3s 0s, visibility 0s 0s;
            transition: opacity .3s 0s, visibility 0s 0s;
}
#link-top.link-top-is-visible {
    visibility: visible;
    opacity: 1;
}
#link-top.link-top-fade-out {
    opacity: .5;
}
.no-touch #link-top:hover {
    background-color: #e86256;
    opacity: 1;
}

@media only screen and (min-width:768px) {
    #link-top {
        right: 20px;
        bottom: 20px;
    }
}
@media only screen and (min-width:1024px) {
    #link-top {
        height: 50px;
        width: 50px;
        right: 30px;
        bottom: 30px;
        border-radius: 10px;
        padding-top: 4px;
    }
}


/*
 *
 * ~~~| Formulários: pesquisar / post protegido |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */
form#form-search div.control,form#form-protected div.control {
    margin-bottom: 10px;
}

form#form-search div.control input,form#form-protected div.control input {
    width: 100%;
}

form#form-search div.control button#btn-form-search {
    display: inline-block;
    width: auto;
    min-width: 60px;
}

@media (min-width:420px) and (max-width:768px) {
    form#form-search div.control input,form#form-protected div.control input {
        width: 80%;
    }
}

@media (min-width:992px) {
    form#form-search div.control,form#form-protected div.control {
        margin-bottom: 0;
    }
    form#form-search div.control button#btn-form-search {
        display: block;
        width: 100%;
    }
}


/*
 *
 * ~~~| Posts (listagens) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */

/* Lista de categorias do post */
ul li.post-category a {
    display: inline;
    line-height: 1;
    text-align: center;
    font-size: 70%;
    font-weight: normal;
    color: #4e4e4e;
    padding: .15em .55em .25em;
    background-color: #eeeeee;
    border-radius: 3px;
    vertical-align: baseline;
    white-space: nowrap;
}

/* Título do post */
.post-title {
    font-size: 210%;
}
.post-title a:hover {
    text-decoration: none;
    color: #4e4e4e;
}

/* Data, autor e comentários */
.post-meta {
    font-size: 80%;
    color: #9e9e9e;
    margin-bottom: 15px;
}
.post-meta > li:after {
    display: inline-block;
    content: '/';
    padding-left: 12px;
    cursor: default;
}
.post-meta > li:last-child:after {
    display: none;
}
.post-meta > li a {
    color: #4e4e4e;
}

/* Botão "Ver post completo" */
a.btn-view-full-post {
    display: inline-block;
    font-size: 90%;
    margin-top: 10px;
    padding: 6px 16px 8px;
    border: 1px solid #d8dcdc;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    background: #000000 -moz-linear-gradient(center top , #ffffff 0, #f8fafa 100%);
}

/* Redes sociais */
.post-icon-share {
    color: #9e9e9e;
    font-size: 90%;
}
.post-icon-share > a {
    display: inline-block;
    margin: 0 5px;
    color: #9e9e9e;
    width: 40px;
    height: 40px;
    text-align: center;
    margin-top: 10px;
    border: 1px solid #d8dcdc;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    background: #000000 -moz-linear-gradient(center top , #ffffff 0, #f8fafa 100%);
}
.post-icon-share > a > i {
    font-size: 190%;
    margin-top: 4px;
}

.post-icon-share > a {
    transition: color 300ms ease 0s, background-color 300ms ease 0s, border-color 300ms ease 0s;
}
.post-icon-share > a:hover,.post-icon-share > a:focus {
    color: #910281;
}


/*
 *
 * ~~~| Página do posts (detalhes) |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */

/* Barra de compartilhamento nas redes sociais */
div.post-share-toolbar {
    padding: 15px 0 25px;
}
div.post-share-toolbar.post-icon-share > a {
    position: relative;
    width: auto;
    height: 34px;
    line-height: 34px;
    text-align: center;
    font-size: 80%;
    margin-top: 0;
    padding: 0 8px 0 35px;
}
div.post-share-toolbar.post-icon-share > a > i {
    position: absolute;
    top: 5px;
    left: 5px;
    margin-top: 0;
}
div.post-share-toolbar.post-icon-share > a[title='Google+'] > i {
    top: 7px;
}

/* Falso "hr" que separa o conteúdo do post e a área inferior */
span.content-hr {
    position: relative;
    display: block;
    clear: both;
    width: 100%;
    height: 0;
    padding: 40px 0;
}
span.content-hr::before {
    position: absolute;
    top: 50%;
    left: -8px;
    right: -8px;
    display: block;
    content: ' ';
    height: 0;
    border-bottom: 1px solid #e5e5e5;
}

@media (min-width:768px) {
    span.content-hr::before {
        left: -40px;
        right: -40px;
    }
}

/* Data e autor */
.post-meta-single {
    font-size: 70%;
    margin: 40px -30px -30px;
    padding: 10px 30px;
    background-color: #fdfdfd;
    border-top: 1px solid #e5e5e5;
}


/* Comentários */
ul.comment-list,ul.comment-list > li > ul,ul.comment-list > li > ul > li > ul,ul.comment-list > li > ul > li > ul > li > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

ul.comment-list li blockquote {
    border-left-color: #9c9c9c;
    color: #4e4e4e;
}
ul.comment-list li blockquote div.comment-author,ul.comment-list li blockquote div.comment-date {
    font-family: 'Open Sans', Helvetica, Arial, sans-serif;
}

ul.comment-list li blockquote div.comment-author {
    font-size: 60%;
    font-weight: bold;
    margin-bottom: -3px;
}
ul.comment-list li blockquote div.comment-date {
    font-size: 50%;
    color: #666666;
    padding: 0 0 10px;
}
ul.comment-list li blockquote div.comment-text {
    font-size: 80%;
    line-height: 1.2;
}

ul.comment-list > li > ul,ul.comment-list > li > ul > li > ul,ul.comment-list > li > ul > li > ul > li > ul {
    margin-left: 30px;
}

/* Plugin do Facebook */
div.facebook-plugin {
    padding: 20px 20px 35px;
    background-color: #fafafa;
    border: 1px solid #dddddd;
    margin-bottom: 10px;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .1), 1px 1px 1px 1px rgba(80, 80, 80, .05) inset, -1px -1px 1px 1px rgba(80, 80, 80, .05) inset;
}

/* Tags */
ul.list-tags {
    padding-top: 5px;
}
a.bbel-tags {
    display: inline-block;
    font-size: 80%;
    font-weight: bold;
    padding: 5px 7px;
    border: 1px solid #d8dcdc;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    background: #000000 -moz-linear-gradient(center top , #ffffff 0, #f8fafa 100%);
}


/*
 *
 * ~~~| Imagens do posts |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */

/* Imagens de destaque / Imagens do post */
.bbel-post-img-destaque,.wp-caption img,img[class*='wp-image-'],div.article-content[itemprop='articleBody'] img.img-responsive {
    display: inline-block;
    max-width: 100%;
    height: auto;
    line-height: 1.42857;
    margin-bottom: 10px;
    padding: 8px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, .1), 1px 1px 1px 1px rgba(80, 80, 80, .05) inset, -1px -1px 1px 1px rgba(80, 80, 80, .05) inset;
}
img[class*='wp-image-'],div.article-content[itemprop='articleBody'] img.img-responsive {
	display: block;
    margin: 20px auto;
}

/* Caption das imagens */
.wp-caption {
    position: relative;
    width: auto !important;
    text-align: center;
    margin: 0 0 35px;
}
.wp-caption img {
    margin-bottom: 5px;
}
.wp-caption p.wp-caption-text {
    font-size: 70%;
    color: #757575;
    margin: 0;
    padding: 0;
}


/*
 *
 * ~~~| Índice das tags |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 * 
 */

/* Índice das tag */
p.tags-index {
    position: relative;
    margin: 0 0 40px;
    padding: 55px 0 0;
    border-bottom: 1px dotted #dddddd;
}
p.tags-index strong.letter {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 60px;
    height: 60px;
    line-height: 50px;
    text-align: center;
    font-size: 200%;
    background-color: #ffffff;
    border: 5px solid #dddddd;
    border-radius: 100px;
    box-shadow: 1px 1px 3px rgba(80, 80, 80, .7);
}


/* Estilos Guilherme */
/* 

Desativado em 19/12/2016 - Paulo: a formatação que era aplicada somente às imagens de destaque os posts agora são aplicadas
a todas as imagens, então então essa formatação não é mais necessária.

.imagem-compartilhamento {
    margin: auto;
    width: 100%;
    border: 1px dotted #4e4e4e;
    padding: 20px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.autor-foto {
    font-size: 9px;
    right: 50px;
    position: absolute;
}

*/

p.autor-foto {
	display: block;
    font-size: 60%;
    margin-top: -15px;
	margin-bottom: 25px;
	text-align: center;
}

.img-responsive {
    margin: auto;
}


.resumo-listagem-blog {
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 10px;
}


/* ASPAS TEXTO */
.citacao {
    max-width: 250px;
    padding: 80px 0 0 20px;
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
    font-style: italic;
    float: left;
    margin: 0 80px 20px 10px;
}
.com-aspas {
    background: url(imagens/aspas_abre.gif) no-repeat 0 19px;
    background-size: 30px 21px;
}
.citacao .frase {
    width: 100%;
    font-size: 16px;
    font-weight: normal;
    line-height: 20px;
    font-style: italic;
}
.citacao .frase-final {
    background: url(imagens/aspas_fecha.gif) no-repeat 0 19px;
    background-position: right;
    width: 100%;
    padding: 80px 0 0 20px;
    background-size: 30px 21px;
}
.citacao div.autor {
    float: right;
    padding: 0 0 0 36px;
    font-family: arial;
    font-weight: bold;
    font-size: 12px;
    margin: 11px 0 0 0;
    text-align: right;
    line-height: 14px;
    letter-spacing: -.02em;
    min-width: 140px;
}
.citacao div.autor div {
    font-size: 14px;
    letter-spacing: -2px;
    margin-right: 3px;
    float: left;
}
#sidebar .widget_text {
	list-style-type: none;
}

/* Posts relacionados */
.wp_rp_wrap {
    margin: 30px -30px 0;
    padding: 30px 30px 0;
    border-top: 1px solid #e5e5e5;
}

/* iframe do UOL */
body > iframe[src*='jsuol.com.br/sc/bbel.js'] {
    display: none !important;
}


/* Pop-up de "Boas vindas" */
#modal-boas-vindas .modal-dialog {
	width: 90%;
    margin: 50px auto 20px;
}
#modal-boas-vindas .modal-dialog .modal-title {
	font-size: 145%;
}
#modal-boas-vindas .modal-dialog .modal-header .close {
	margin-top: 5px;
	font-size: 32px;
}
#modal-boas-vindas .modal-dialog img {
    max-width: 50%;
}
#modal-boas-vindas .modal-dialog .modal-footer {
	text-align: center;
	font-size: 90%;
	padding: 20px;
	background-color: #e7e7e7;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}
#modal-boas-vindas .modal-dialog .modal-footer span#nao-exibir-novamente {
	display: block;
	cursor: pointer;
	color: #910281;
}
#modal-boas-vindas .modal-dialog .modal-footer span#nao-exibir-novamente i#popup-icon-checkbox {
	margin-right: 3px;
	color: #999999;
}

@media (min-width: 546px) {
    #modal-boas-vindas .modal-dialog {
        width: 470px;
        margin: 40px auto 30px;
    }
    #modal-boas-vindas .modal-dialog .modal-title {
        font-size: 200%;
    }
    #modal-boas-vindas .modal-dialog img {
        max-width: 200px;
    }
}