/* @override 
	http://d.balas.pt/velhopervertido/application/themes/balas/css/pervertido.css */

body {
    font: 100% 'special_eliteregular', Helvetica, Helvetica Neue, Arial;
    margin: 0;
    padding: 0;
}

/* @group Resets Group */

.balas img{
	max-width: 100%;
	height: auto;
	display: block;
}

.balas article em{
	/*letter-spacing: .1em;*/
}

.balas a{
    color: black;
}



/* @end */


.balas{
    background-color: #f3efe2;
    min-height: 100vh;
    padding-bottom: 50px;
}

.ccm-toolbar-visible .balas .uvp-header{
    top: 50px;
}


.uvp-sidebar{
    text-align: center;
}

/* @group Header */

.uvp-header{
    width: 250px;
    padding: 20px;
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
}
.uvp-logo{
    max-width: 150px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 50px;
}

/* @end */ 


/* @group Nav */

.uvp-header .nav{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.uvp-header .nav li{
    margin: 0 0 5px;
    padding: 0;
    text-align: center;
}

.uvp-header .nav li a{
    text-decoration: none;
}

.uvp-header .nav li a.nav-path-selected{
    font-weight: bold;
}

/* @end */ 


/* @group Main */

.uvp-main{
    width: calc(100% - 250px);
    margin-left: 250px;
}

.uvp-content-wrapper{
	max-width: 700px;
	margin: 0 auto;
    padding-top: 80px;
    padding-right: 20px;
    padding-left: 20px;
}

h1.page-title,
h2.article-title{
    margin: 0 0 90px;
    font-size: 3em;
    line-height: 1em;
    text-align: center;
   
}

.uvp-main-header{
    /*text-align: center;*/
}

/* @end */ 


/* @group Footer */



/* @end */ 


/* @group Article */

.uvp-main .uvp-content-wrapper p{
	font-family: 'special_eliteregular';
    line-height: 1.8em;
    margin: 0;
    text-align: justify;
}


.uvp-main article h1.page-title,
.uvp-main article h2.article-title{
    text-align: center;
}

.latest-article-header{
    text-align: center;
}

.latest-article-header h5{
    text-align: center;
    font-weight: normal;
    font-style: italic;
    font-size: 1em;
    margin-bottom: 30px;
    display: block;
    color: rgba(0,0,0,.3);
    margin-top: 91px;
}

.uvp-main .article-image, 
.uvp-main .main-image{
    margin-bottom: 50px;
}

.uvp-main .article-image img{
    margin-right: auto;
    margin-left: auto;
}
.uvp-main .uvp-content-wrapper p{
    letter-spacing: .03em;
}

/*.uvp-main article p:first-of-type::first-letter { 
    font-size: 6em;
    float: left;
    position: relative;
    display: inline-block;
    margin-right: .1em;
    margin-top: .27em;
    margin-bottom: .1em;
}*/

.uvp-main article footer{
    letter-spacing: .03em;
    margin-top: 80px;
}

.uvp-main .content strong,
.uvp-main article footer .autor{
    font-weight: bold;
    /*text-shadow: 0 0 1px #000;*/
}



/* @end */

/* @group Archive */

.archive-list-entry{
    margin-bottom: 100px;
}

.archive-list-entry-title a{
    text-decoration: none;
    font-weight: bold;
}

.archive-list-entry-thumbnail{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    float: left;
}


.archive-list-entry-thumbnail a{
    display: block;
}

.archive-list-entry-thumbnail img{
    mix-blend-mode: multiply;
    object-fit: cover;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

.archive-list-entry-text{
    float: left;
    width: calc(100% - 154px);
    padding-left: 30px;
    box-sizing: border-box;
    padding-right: 30px;
}

.archive-list-lead{
    line-height: 1.5;
    letter-spacing: .03em;
}

.archive-list-read-more{
    text-decoration: none;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}

.archive-list-entry-attributes{
    display: inline;
}

.archive-list-entry-attributes span{
    color: rgba(0,0,0,.3);
    font-style: italic;
}

.archive-list-entry-attributes span::before{
    content: "c/ ";
}


/* @end */

/* @group Search */

.search-wrapper{
    text-align: center;
    margin-top: 50px;
    display: inline-block;
}

.is-edit-mode .search-wrapper{
    display: block;
}

.search-wrapper.toggled .uvp-search{
    display: inline-block;
    vertical-align: middle;
}

.balas .search-wrapper .toggle-btn{
    margin-right: 5px;
    margin-left: 5px;
    color: rgba(0,0,0,.3);
}

.balas .search-wrapper .toggle-btn:hover{
    color: rgba(0,0,0,1);
}

.balas .uvp-search{
    border-bottom: 2px solid black;
    width: 100%;
    max-width: 130px;
    position: relative;
    vertical-align: middle;
    display: none;
    
}

.balas input.uvp-search-block-text{
    background-color: #f3efe2;
    border-style: none;
    padding: 5px;
    width: calc(100% - 25px);
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
    float: left;
}

.balas .uvp-search-block-text:focus{
   outline: none;
   background-color: rgba(0,0,0,.05);
   -webkit-appearance: none;
   box-shadow: none;
   border-color: black;
   width: calc(100% - 25px);
}

.balas input.uvp-btn{
    background-color: transparent;
    border-style: none;
    font-size: 1em;
    padding: 7px 0 6px;
    font-family: 'FontAwesome';
    width: 25px;
    box-sizing: border-box;
    -webkit-appearance: none;
    border-radius: 0;
    text-align: right;
    right: 0;
    float: right;
}

.no-touch .balas input.uvp-btn:hover,
.no-touch .balas .pagination li a:hover{
    color: rgba(0,0,0,.1);
}

.uvp-no-results{
    margin-bottom: 100px;
    line-height: 1.5;
}

.uvp-search-results h5{
    margin-top: 90px;
    font-weight: normal;
    font-style: normal;
    color: rgba(0,0,0,.3);
    font-size: 1em;
    margin-bottom: 50px;
}

.balas .pag{
    list-style-type: none;
    padding: 0;
    text-align: center;
    margin-bottom: 100px;
}

.balas .pag li{
    display: inline-block;
    margin-right: 15px;
    margin-left: 15px;
}

.balas .pag li a{
    text-decoration: none;

}

.balas li.pag-disabled{
    color: rgba(1,1,1,.1);
}

.balas li.pag-active{
    background-color: rgba(1,1,1,.1);
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: inline-block;
    line-height: 2;
}

/* @end */

/* @group Social */

.social{
    text-align: center;
    margin-top: 50px;
    display: inline-block;
}

a.social-links{
    text-decoration: none;
    margin-right: 5px;
    margin-left: 5px;
    color: rgba(0,0,0,.3);
    display: inline-block;
}

.no-touch a.social-links:hover{
    color: rgba(0,0,0,1);
}

/* @end */

/* @group Next Previous */

.next-previous{
    padding-top: 50px;
    border-top: 1px dotted rgba(0,0,0,.3);
    margin-top: 100px;
    text-align: center;
}

.single .uvp-previous,
.single .uvp-next{
    width: 100%;
    
}

.uvp-previous, .uvp-next{
    width: 40%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
}
.next-previous a{
    display: block;
}

.uvp-next-previous-image{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.uvp-next-previous-label{
    position: absolute;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    margin-top: 50%;
    width: 100%;
    color: #f3efe2;
    font-size: 1.5em;
    z-index: 1;
    display: none;
}

.uvp-next-previous-image:hover .uvp-next-previous-label{
    display: block;
}

.uvp-next-previous-image img{
    mix-blend-mode: multiply;
    object-fit: cover;
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

a.uvp-next-previous-link{
    margin-top: 30px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    max-width: 80%;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
}

/* @end */

/* @group Random List */

.balas .random-list-wrapper{
    padding-top: 80px;
    border-top: 1px dotted rgba(0,0,0,.3);
    margin-top: 100px;
    text-align: center;
}

.balas .random-list-header h5{
    margin-top: 0;
    font-size: 1.6em;
    font-weight: normal;
}

.random-list-entry{
    width: 40%;
    
    text-align: center;
    display: inline-block;
    vertical-align: top;
}

.random-entry-thumbnail{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.random-list-title a{
     max-width: 80%;
    text-decoration: none;
    margin-top: 30px;
    margin-right: auto;
    display: block;

    font-weight: bold;
    margin-left: auto;
}


/* @end */

.podcast{
    margin-bottom: 50px;
    padding: 20px;
    border-style: solid;
    border-width: 2px;
    text-align: center;
    color: rgba(0,0,0,.3);
}

.podcast::after{
    content: "Podcast";
    margin-top: 15px;
    display: inline-block;
    color: rgba(0,0,0,.3);
    font-style: italic;
}

.fixed .podcast{

}

/* @group Topic List */

.ccm-block-topic-list-wrapper{
    margin-top: 50px;
    margin-bottom: 20px;
}

.fixed .ccm-block-topic-list-wrapper{
	display: none;
}


.ccm-block-topic-list-wrapper h5{
    font-size: 1em;
    font-weight: normal;
    font-style: italic;
    color: rgba(0,0,0,.3);
    margin: 0;
}

.ccm-block-topic-list-list{
    list-style-type: none;
    padding: 0;
}

.ccm-block-topic-list-list a{
    text-decoration: none;
}

a.ccm-block-topic-list-topic-selected{
    font-weight: normal;
    font-style: normal;
    border-bottom-style: solid;
    border-bottom-width: 2px;
}


/* @end */

/* @group Misc */

#back-to-top {
    position: fixed;
    bottom: 200px;
    z-index: 9;
    /*width: 32px;*/
    height: 20px;
    text-align: center;
    line-height: 32px;
	color: black;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    opacity: 0;
	font-size: 1em;
	width: 20px;
    left: 100px;
    font-family: Arial, sans-serif;
}

#back-to-top:hover {
    color: rgba(227, 6, 19, 1);
    background: url() right 2px no-repeat;
	background-size: cover;
}
#back-to-top.show {
    opacity: 1;
}

.touch #back-to-top {
    display: none;
}


/* @end */


/* Media Queries */

@media only screen and (min-width: 769px) {
    .uvp-main{
        margin-top: 0!important;
    }
}
@media only screen and (max-width: 768px) {
    .uvp-header{
        width: 100%;
        position: static;
    }
    .uvp-main{
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        position: relative;
    }
    
    .social{
        margin-top: 30px;
        margin-bottom: 50px;
    }
    
    .fixed a.social-links{
        font-size: 1.3em;
        /*display: block;
        margin: 0;*/
        margin-top: 10px;
        margin-right: 10px;
    }
    
     .fixed .search-wrapper{
         font-size: 1.3em;
         margin-top: 10px;
         margin-right: 8px;
     }
    
    .fixed .social{
        margin-top: 5px;
        margin-bottom: 0;
    }
    
    .fixed .social-links:first-child{
        margin-right: 12px;
    }
    
    .uvp-logo{
        max-width: 200px;
        margin-top: 30px;
    }
    
    .uvp-content-wrapper{
        padding-top: 0;
    }
    
    .uvp-header .nav li a{
        font-size: 1.5em;
    }
    
    .fixed .uvp-header .nav li{
        text-align: left;
    }
    
    .fixed .uvp-header .nav li a{
        font-size: 1em;
    }
    
    .balas .uvp-search{
        max-width: 80%;
    }
    
    .balas input.uvp-search-block-text{
    
        max-width: 80%;
    }
    
    .archive-list-entry-thumbnail{
        float: none;
        margin-right: auto;
        margin-left: auto;
    }
    
    .archive-list-entry-text{
        float: none;
        width: 100%;
        padding-top: 20px;
    }
    
    .archive-list-entry-title,
    .archive-list-entry-read-more{
        text-align: center;
    }
    
    .uvp-previous, 
    .uvp-next, 
    .random-list-entry{
        width: 50%;
        text-align: center;
        display: inline-block;
        margin-bottom: 50px;
    }
    
    .pag li.pag-prev,
    .pag li.pag-next{
        display: block;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    
    
    
    
    .balas.fixed .uvp-header{
        background-color: #f3efe2;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1;
        padding: 10px;
    }
    
    .balas.fixed .uvp-logo{
        margin: 0;
        padding-bottom: 0;
        width: 60px;
        float: left;
    }
    
    .balas.fixed .uvp-header ul.nav{
        float: left;
        width: 100px;
        padding-left: 20px;
        padding-top: 8px;
    }
    
    .balas.fixed .uvp-sidebar{
        float: right;
        width: auto;
    }
    
    

}


/* Helper classes */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.group:before,
.group:after {
    content: " ";
    display: table;
}

.group:after {
    clear: both;
}

.group {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}