/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

.sidebar {
    overflow-y: scroll;
    height: 300px;
}

.sidebar li {
    padding: 5px 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

ul {
    padding-left: 0;
}


li {
    list-style: none;
} 

body {
    font-family: 'Roboto', sans-serif;
}

/* Header Section */

header {
    padding: 20px 0;
}

.header-logo {
    float: left;
    width: 100%;
}

.header-title {
    float: left;
    margin: 20px 0 0 20px;
}

.header-title h1 {
    color: #005494;
    font-size: 18px;
    margin-bottom: 0;
}

.header-title h2 {
    color: #005494;
    font-size: 15px;
    margin-top: 4px;
}

.header-menu {
    float: right;
}

.top-menu {
    text-align: right;
}

.top-menu li {
    display: inline-table;
    padding: 0 2px;
}

.top-menu li.divider {
    color: #b3b3b3;
}

.top-menu li.divider:last-child {
    display: none;
}

.top-menu a {
    color: #b3b3b3;
}

.header-menu form {
    position: relative;
}

.header-menu input {
    width: 200px;
    padding: 5px 10px;
    border: 1px solid #CCC;
    border-radius: 5px;
}

.header-menu i {
    color: #CCC;
    position: absolute;
    right: 8px;
    top: 4px;
    font-size: 17px;
}

/* Navbar */
.icon-bar {
    background: #000000;
}

span.caret {
    display: none;
}

nav.navbar {
    /*border-right: 2px solid #736ea3;*/
    border-right: 0px solid #736ea3;
    border-radius: 0;
}

.navbar-collapse {
    padding: 0;
}

.nav > li {
    display: block;
    width: 100%;
}

.nav > li > a {
    padding: 10px 0 10px 10px;
    color: #736ea3;
    text-transform: uppercase;
    font-size: 13px;
}

.nav > li > a:hover, .nav li:hover > a, .nav li a.active {
    background: #736ea3;  
    color: #FFF;    
}

ul.dropdown-menu {
    background: #736ea3;
    border-radius: 0;
}

ul.dropdown-menu a {
    color: #FFF;
    padding: 10px;
    text-transform: uppercase;
    font-size: 13px;
}

ul.dropdown-menu a:hover {
    background: #FFF;
    color: #736ea3;
}

@media screen and (min-width: 768px) {
    ul.nav li.dropdown:hover > ul.dropdown-menu {
        display: block;
        position: absolute;
        left: 100%;
        top: 0;
        border: 0; 
        padding: 0;
    }

    .navbar-nav {
        width: 100%;
    }
}

/* Calendrio de Reuniões */
tbody td {
	min-height: auto;
}
td.fc-event-container {
	height: auto;
}
td.fc-day-number {
	border-right: 1px solid #ddd !important;
}

.eo-event {
	border-radius: 5px !important;
	padding:2px 5px !important;	
}
.category-assembleia-geral {
	background-color: #9013FE !important;
	border-color:#9013FE !important;
}
.category-comissoes { 
	background-color: #008100 !important;
	border-color:#008100 !important;
}
.category-diretoria {
	background-color: #FF0000 !important;
	border-color:#FF0000 !important;
}
.category-forum-dos-presidentes {
	background-color: #FF6600 !important;
	border-color:#FF6600 !important;
}
.category-plenaria {
	background-color: #24CCCD !important;
	border-color:#24CCCD !important;
}




/* Slider */
.carousel-caption {
    background: #005494;
    position: absolute;
    right: 0;
    bottom: 13px;
    left: initial !important;
    max-width: 375px;
    width: 300px;
    padding: 5px 10px 5px 20px;
    font-weight: 100;
}

.carousel-caption h3, .carousel-caption p {
    text-align: left;
}

.carousel-caption h3 {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 100;
}

.carousel-caption p {
    font-size: 20px; 
}

@media screen and (min-width: 768px) {
    .carousel-caption { 
        left: initial !important;
        right: 0;
    }
}

@media screen and (max-width: 481px) {
    .carousel-caption {
        display: none !important;
    }
}


/* Sidebar, Notice & Event Section */
#notice-event {
    padding: 30px 0 10px;
}

.sidebar1 {
    overflow-y: scroll;
    height: 300px;
}

.sidebar1 li {
    padding: 5px 0;
}

.sidebar1 .banner-image {
    max-width: 145px;
/*
    max-height: 61px;
*/
}
.sidebar1 {
    overflow-y: scroll;
    height: 300px;
}

.sidebar1 li {
    padding: 5px 0;
}

.sidebar1 .banner-image {
    max-width: 145px;
/*
    max-height: 61px;
*/
}
.notice {
    position: relative;
    left: 35px;
}

.notice h4, .event h4  {
    text-transform: uppercase;
    color: #736ea3;
    font-weight: 500;
    font-size: 14px;
}

.notice h4:before, .event h4:before {
    position: absolute;
    left: -25px;
    top: 5px;
}

.notice h4:before {
    content: url('../img/notification_icon.png');
}

.event h4:before {
    content: url('../img/event_icon.png');
}

.notice li, .event li {
    padding: 5px 0 10px;
    font-weight: 300;
}

.notice a, .event a {
    color: #000;
}

.event p {
    font-size: 13px;
    font-weight: 400;
    color: #005494;
}

@media screen and (max-width: 481px) {
    .sidebar {
    overflow-y: scroll;
    
}

.sidebar li {
    padding: 5px 0;
}

.sidebar .banner-image {
    max-width: 145px;
/*
    max-height: 61px;
*/
}

}

/* Youtube Section */
#sec-youtube {
    background: #4d4d4d;
    text-align: center;
}

#sec-youtube iframe {
    width: 850px;
    height: 510px;
}

@media screen and (max-width: 950px) {
    #sec-youtube iframe {
        width: 100%;
        height: 300px;
    }
}

/* Biblioteconomia Section */
#biblioteconomia {
    padding: 30px 0;
}

#biblioteconomia h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 20px;
}

/*.biblioteconomia-single {
    width: 22%;
    float: left;    
    margin-bottom: 20px;
    position: relative;
}

.biblioteconomia-single:not(:nth-child(4n)) {
    margin-right: 4%;
}
*/

.biblioteconomia-single p {
    color: #358ac3;
}

.biblioteconomia-single:nth-child(4n+1) {
    clear: both;
}

.biblioteconomia-single-title a {
    color: #222;
}

.biblioteconomia-single-title::before {
    content: "»";
    position: absolute;
    left: 4px;
    top: -2px;
    font-size: 15px;
}

/* Similar/Other Post */
.other-post {
    margin-top: 200px;
}

.other-post h2 {
    font-size: 16px;
    font-weight: 500;
    padding-left: 15px;
    color: #736ea3;
}

.other-post a {
    font-size: 15px;
    color: #222;
    font-weight: 300;
}

.other-post p {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 400;
    color: #005494;
}

.post-type-archive-evento .event ul, .post-type-archive-noticia .notice ul, .post-type-archive-boletimeletronico .notice ul,  .post-type-archive-projetoseprogramas.notice ul {
    margin-left: 5px;
}

.post-type-archive-evento .event li, .post-type-archive-noticia .notice li, .post-type-archive-boletimeletronico .notice li, .post-type-archive-projetoseprogramas .notice li {
    position: relative;
}

.post-type-archive-evento .event ul a::before, .post-type-archive-noticia .notice ul.posts a::before, .post-type-archive-boletimeletronico .notice ul a::before, .post-type-archive-projetoseprogramas .notice ul a::before {
    content: "» ";
    font-size: 18px;
    font-weight: 400;
}

/* Footer Section */
footer {
    background: #4d4d4d;
    padding: 40px 0;
    margin-top: 50px;
    color:#fff;
    font-size:.9em;
}

footer h4 {
    color: #FFF;
    font-weight: 500;
    font-size: 15px;
}

footer .menu a {
    font-size: 14px;
    color: #FFF;
    font-weight: 100;
}

footer .social li {
    display: inline-table;
    margin-right: 10px;
}

footer .social i {
    background: #FFF;
    padding: 10px 12px;
    width: 50px;
    text-align: center;
    display: inline;
    border-radius: 50%;
    line-height: 50px;
    color: #4d4d4d;
}

footer .social i.fa-facebook {
    padding: 10px 15px;
}

footer .social a:hover {
    text-decoration: none;
}

footer .social a:hover i {
    color: #358ac3;
}

/* Page Styling */
.page-title {
    color: #736ea3;
    font-size: 26px;
    margin-bottom: 0;
}

span.date {
    color: #005494;
}

span.date-grey {
    color: #CCC;
}

.page-content {
    padding-top: 30px;
    font-weight: 300;
}

.event-suggestion {
    padding-top: 30px;
}

.event-suggestion h4 {
    font-size: 14px;
    color: #736ea3;
}

.event-suggestion p {
    margin-bottom: 0;    
}

.event-suggestion span {
    font-size: 13px;
    font-weight: 500;
}

.btn-primary {
    background: #736ea3;
}

.sub-pages {
    padding-top: 10px;
    margin-bottom: 15px;
}

.btn-primary:hover {
    color: #736ea3;
    color: #FFF;
}

h4.subtitle {
    color: #005494;
}

ul.month {
    padding: 12px 0 10px;
    border-top: 1px solid #CCC;
    border-bottom: 2px solid #CCC;
}

ul.year li , ul.month li {
    display: inline-table;
    padding: 0 10px;
}

ul.year li a , ul.month li a {
    color: #000;
}

ul.year li a.active , ul.month li a.active {
    color: #005494;
    font-weight: 500;
}

ul.year {
    position: relative;
}

ul.year li a.active::after {
    content: "";
    position: absolute;
    bottom: -20px;
    left: 15px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #005494 transparent;
    display: block;
    width: 0;
}

ul.year li a.have-data , ul.month li a.have-data {
    color: #005494;
}

ul.list-data li {
    padding: 8px 0;
    font-weight: 300;
}

ul.list-data li::before {
    content: ">>";
    letter-spacing: -2px;
    margin-right: 10px;
}

ul.list-data a {
    color: #000;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

.logo_cfb{width: 100%; max-width: 450px;}
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}



