/*
Theme Name: Quizumba (BETA)
Theme URI: http://underscores.me/
Author: Rede Livre
Author URI: http://quizumba.redelivre.org.br
Description: O tema de mídia livre, focado em organizações que possuam conteúdo vasto em diferentes formatos. Ainda em testes.
Version: 0.1
License: GNU General Public License
License URI: license.txt
Text Domain: quizumba
Domain Path: /languages/
Tags:

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.

Quizumba is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.
*/


/* ==========================================================================
   Colors
   ==========================================================================
   Orange: #d6812c
   Grey: #9d9d9d

/* ==========================================================================
   Table of contents
   ==========================================================================

    1.0 - Global styles
    2.0 - Basic structure
    3.0 - Header
        3.1 - Site header
        3.2 - Main navigation
    4.0 - Content
        4.1 - Entry header
        4.2 - Entry meta
        4.3 - Entry content
        4.4 - Media
        4.5 - Post formats
        4.6 - Attachments
        4.7 - Post / page navigation
        4.8 - Author bio
        4.9 - Archives
        4.10 - Search results / No posts
        4.11 - 404
        4.12 - Comments
        4.13 - Multisite
    5.0 - Widget area
    6.0 - Footer
    7.0 - Events / Agenda
    8.0 - Media queries 
 */


/* ==========================================================================
   1.0 - Global styles
   ========================================================================== */

@font-face {
  font-family: 'quizumba';
  src: url('fonts/quizumba.eot?90398535');
  src: url('fonts/quizumba.eot?90398535#iefix') format('embedded-opentype'),
       url('fonts/quizumba.woff?90398535') format('woff'),
       url('fonts/quizumba.ttf?90398535') format('truetype'),
       url('fonts/quizumba.svg?90398535#quizumba') format('svg');
  font-weight: normal;
  font-style: normal;
}

/* Apply a natural box layout model to all elements */
*,
*:before,
*:after {
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
}


body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: Raleway, "Helvetica Neue", Arial, sans-serif;
	font-size: 100%;
	line-height: 1.5;
}

html {
	background: #fcfcfc;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin: 0 0 1.5em;
}

ul, ol {
	margin: 0 0 1.5em 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	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 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	vertical-align: top;
	max-width: 100%; /* Adhere to container width. */
}

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[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	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.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	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="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
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%;
}

/* Links */
a {
	color: #d6812c;
	text-decoration: none;

	-webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    -o-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
}

a:visited {
	color: #d6812c;
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

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

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

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Icons */
[class^="icon-"]:before, [class*=" icon-"]:before {
	font-family: "quizumba";
	font-style: normal;
	font-weight: normal;
	speak: none;

	display: inline-block;
	text-decoration: inherit;
	width: 1em;
	margin-right: .2em;
	text-align: center;
	/* opacity: .8; */

	/* For safety - reset parent styles, that can break glyph codes*/
	font-variant: normal;
	text-transform: none;
	 
	/* fix buttons height, for twitter bootstrap */
	line-height: 1em;

	/* Animation center compensation - margins should be symmetric */
	/* remove if not needed */
	margin-left: .2em;

	/* you can be more comfortable with increased icons size */
	font-size: 110%;
}
 
.icon-video:before { content: '\e807'; }
.icon-image:before { content: '\e803'; }
.icon-gallery:before { content: '\e802'; }
.icon-tags:before { content: '\e804'; }
.icon-folder:before { content: '\e805'; }
.icon-quote:before { content: '\e801'; }
.icon-clock:before { content: '\e800'; }
.icon-link:before { content: '\e808'; }
.icon-aside:before { content: '\e809'; }
.icon-audio:before { content: '\e806'; }
.icon-status:before { content: '\e80A'; }
.icon-youtube:before { content: '\e80B'; }
.icon-rss:before { content: '\e80C'; }
.icon-twitter:before { content: '\e80D'; }
.icon-facebook:before,
.icon-facebook-page:before { content: '\e80E'; }
.icon-google:before { content: '\e80F'; }
.icon-menu:before { content: '\e810'; }
.icon-edit:before { content: '\e811'; }
.icon-search:before { content: '\e812'; }

/* Clearing */
.clear:before,
.clear:after,
.container:before,
.container:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.container:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/* ==========================================================================
   2.0 - Basic structure
   ========================================================================== */

.container {
	margin: 0 auto;
	max-width: 1100px;
	padding: 0 2em;
}

/* Container with full padding */
.container--padding {
	padding: 2em;
}

/* ==========================================================================
   3.0 - Header
   ========================================================================== */

 .site-complementary {
	font-size: 0.875em;
	padding: 1em 0;
}

.site-complementary a {
	color: #fff;
}

.social {
	font-size: 1.5em;
}

.social-link {
	display: inline-block;
}

/* Hover colors */
.social-link-twitter:hover {
	color: #00aced;
}

.social-link-facebook:hover,
.social-link-facebook-page:hover {
	color: #3b5998;
}

.social-link-google:hover {
	color: #dd4b39;
}

.social-link-youtube:hover {
	color: #bb0000;
}

.social-link-rss:hover {
	color: #ff6600;
}

/*
   3.1 - Site header
   ========================================================================== */

.site-header {
	background: #000;
	color: #fff;
	text-align: center;
}

.site-header a {
	color: #fff;
}

.site-logo {
	max-width: 100%;
}

.site-title,
.site-description {
	margin: 0;
}

.site-title a {
	text-decoration: none;
}

.site-description {
	color: #fff;
	font-size: 1em;
	font-weight: normal;
	text-transform: uppercase;
}

.site-header #searchform {
	margin-bottom: 1em;
	position: absolute;
	right: 2em;
	top: 0;
}

.site-header #searchform #s {
	width: 250px;
}

.site-header #searchform #s {
	-moz-transition-duration: 400ms;
	-moz-transition-property: width;
	-moz-transition-timing-function: ease;
	-webkit-transition-duration: 400ms;
	-webkit-transition-property: width;
	-webkit-transition-timing-function: ease;
	border-radius: 3px 0 0 3px;
	position: relative;
	padding-left: 2.8em;
	width: 3em;
	color: #fff;
}
.site-header #searchform #s:focus {
	width: 20em;
	z-index: 1;
}
.site-header #searchform .icon-search {
	/*margin-top: -0.875em;*/
	left: 0.75em;
	pointer-events: none;
	position: absolute;
	top: 16%;
	z-index: 2;
}

.head-search-form-entry {
    display: block;
    position: relative;
    width: 100%;
}

.head-search-form-entry .container {
    display: block;
    position: relative;
}

.site-header #searchform #searchsubmit, .site-header #searchform .assistive-text {
	display: none;
}

/*
   3.2 - Main navigation
   ========================================================================== */


.menu-toggle {
	cursor: pointer;
	font-size: 1.25em;
	text-transform: uppercase;
}

.menu-toggle,
.main-navigation.toggled .nav-menu {
	display: block;
}

.main-navigation ul {
	display: none;
}

.main-navigation {
	background: #d6812c;
	clear: both;
	display: block;
	padding: 1em 0;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	display: inline-block;
	position: relative;
}
.main-navigation a {
	color: #fff;
	display: block;
	padding: 0.5em;
	text-decoration: none;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	text-align: left;
	top: 2em;
	z-index: 99999;
}
.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 .current_page_item a,
.main-navigation .current-menu-item a {
}

.sub-menu{
	background: #f78d02;
	border: #000 solid 1px;
}

.main-navigation li:hover > a {
    color: #ebebeb;
}

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

/* Masonry stuff */
.loop .hentry {
	border-bottom: 1px solid #ebebeb;
	padding: 1.5em 0;
	width: 100%;
}

.sticky {
}

.hentry {
	font-size: 1em;
}

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

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

/*
   4.1 - Entry header
   ========================================================================== */

.entry-header {
	margin-bottom: 1.5em;
}

.entry-title {
	line-height: 1.2;
	margin: 0;
	word-wrap: break-word;
}

/* Change font size for masonry-style pages */
.full-width .entry-title {
	font-size: 1.5em;
}

/*
   4.2 - Entry meta
   ========================================================================== */

.entry-meta {
	color: #9d9d9d;
	font-size: 0.75em;
	text-transform: uppercase;
}

/*
   4.3 - Entry content
   ========================================================================== */

.entry-content,
.entry-summary {
	word-wrap: break-word;
}

/*
   4.5 - Post formats
   ========================================================================== */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


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

.entry-title + .entry-image {
	margin-top: 1.5em;
}

.entry-image {
	background: url('images/stripes.png') repeat;
}

.singular .entry-image {
	margin-bottom: 1.5em;
}

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

.wp-caption {
	background: #fff;
	border: 1px solid #f2f2f2;
	margin-bottom: 1.5em;
	padding: 0.5em;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
}

.wp-caption-text {
	text-align: center;
	font-size: 0.875em;
}

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

.site-main .gallery {
	margin-bottom: 1.5em !important;
}

.gallery-item {
	margin: 0;	
}

/* Damn you grey border */
.gallery-item img {
	border: 0 !important;
}

.full-width .gallery-caption {
	display: none;
}

.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

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


/*
   4.7 - Post / page navigation
   ========================================================================== */

.site-main [class*="navigation"] {
	margin: 3em 0 0;
	overflow: hidden;
}

[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}

[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* For pagination */
.nav-links--paginated {
	text-align: center;
}


/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}


/* ==========================================================================
   5.0 - Widget area
   ========================================================================== */

.widget-area--sidebar {
	font-size: 0.875em;
}

.widget {
	margin: 0 0 1.5em;
	padding: 1.143em;
}

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

.widget-title {
	margin-top: 0;
}

/* Search widget */
.widget_search .search-field {
	width: 100%;
}

.widget_search .search-submit {
	display: none;
}

/* Footer Widget Area */
.widget-area--footer .widget {
	width: 100%;
}

.widget-area--supporters, .widget-area--supporters aside {
	max-height: 100px;
	overflow: hidden;
}
.widget-area--supporters {
	margin: 0 0 1.5em;
}

.widget-area--supporters img  {
	display: block;
    max-height: 100px;
    position: relative;
}

.widget-area--home, .widget-area--home aside {
    display: block;
    max-height: 130px;
    position: relative;
    overflow: hidden;
}

.widget-area--home {
	margin: 0 0 1.5em;
}

.widget-area--home img  {
	display: block;
    max-height: 130px;
    position: relative;
}

/* ==========================================================================
   6.0 - Footer
   ========================================================================== */

.site-footer {
	background: #000;
	border-bottom: 1.5em solid #d6812c;
	color: #fff;
	font-size: 0.875em;
}

.site-info {
	display: block;
    float: left;
    position: relative;
    text-align: center;
    width: 100%;
}

/* ==========================================================================
   8.0 - Media queries
   ========================================================================== */

@media all and (min-width: 40em) {

	/* Site logo */
	.site-logo {
		max-width: 362px;
	}

	/* Site menu */
	.menu-toggle {
		cursor: pointer;
		display: none;
	}

	.main-navigation ul {
		display: block;
	}

	/* Masonry stuff */
	.loop .grid-sizer,
	.loop .hentry {
		padding: 1.5em 1em;
		width: 50%;
	}

	/* Footer Widget Area */
	.widget-area--footer .widget {
		float: left;
		width: 50%;
	}
	
	/* Home Widget Area */
	.widget-area--home .widget {
		float: left;
		width: 50%;
	}
}

@media all and (min-width: 55em) {

	/* Masonry stuff */
	.loop .grid-sizer,
	.loop .hentry {
		width: 33.333%;
	}

	/* Main content area + sidebar area */
    .content-area,
    .widget-area--sidebar {
        float: left;
    }

    .widget-area--sidebar {
    	padding-left: 2em;
    }

    .content-area {
    	width: 62%;
    }

    .full-width .content-area {
    	width: 100%;
    }

    .widget-area--sidebar {
    	width: 38%;
    }

    /* Footer Widget Area */
    .widget-area--footer .widget:first-child:nth-last-child(2),
	.widget-area--footer .widget:first-child:nth-last-child(2) ~ .widget {
	    width: 50%;
	}

	.widget-area--footer .widget:first-child:nth-last-child(3),
	.widget-area--footer .widget:first-child:nth-last-child(3) ~ .widget {
	    width: 33.333%;
	}

	.widget-area--footer .widget:first-child:nth-last-child(4),
	.widget-area--footer .widget:first-child:nth-last-child(4) ~ .widget {
	    width: 25%;
	}
	
	/* Home Widget Area */
    .widget-area--home .widget:first-child:nth-last-child(2),
	.widget-area--home .widget:first-child:nth-last-child(2) ~ .widget {
	    width: 50%;
	}

	.widget-area--home .widget:first-child:nth-last-child(3),
	.widget-area--home .widget:first-child:nth-last-child(3) ~ .widget {
	    width: 33.333%;
	}

	.widget-area--home .widget:first-child:nth-last-child(4),
	.widget-area--home .widget:first-child:nth-last-child(4) ~ .widget {
	    width: 25%;
	}
	
}


/* Clearfix hack */

.cf:before,
.cf:after,
.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
}
.cf:after,
.clearfix:after {
	clear: both;
}
.cf,
.clearfix {
	zoom: 1;
}


/* Slides */

.highlights .slide {
	background: #f9f7f2;
	/* background: #000000;*/
	border: 1px solid #f4f0e6;
	border-radius: 0 3px 3px 0;
    height: 300px;
}

.highlights .entry-image {
	/*float: left; */
	width: 50%;
	background-image: none;
	text-align: center;
	display: table-cell;
	vertical-align: middle;
	height: inherit;
}

.highlights .entry-image img {
	/*width: 100%;*/
	max-height: 300px;
}

.highlights .bd {
	padding: 1em 1.125em;
}

.highlights .entry-image ~ .bd {
	display: table-cell;
	vertical-align: middle;
	height: inherit;
	width: 50%;
	padding: 0px 16px 0px 16px;
}

.highlights .entry-title {
	font-size: 1.75em;
	margin-bottom: 0.5em;
}

.slide-navigation {
	margin: 1em 0;
	text-align: center;	
}

.slide-navigation a {
	border: 1px solid #ccc;
	border-radius: 3px;
	display: inline-block;
}

.slide-navigation a:before,
.slide-navigation .swipe {
	margin: 0;
	padding: 0.875em;
}

.slide-navigation .swipe {
	font-family: 'guarani';
	font-size: 1.125em;
	display: inline-block;
	
	-webkit-animation-name: swipe;
	-webkit-animation-duration: 1s;
	-webkit-animation-timing-function: linear;
	-webkit-animation-iteration-count: infinite;
}

