/*
Theme Name: WP Qiub
Theme URI: https://borisalonso.info/
Author: Boris Alonso
Description: WPQ Theme is a custom Theme developed to use it with WPQ Plugin
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wpq

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.
*/

/* Custom Styles
================================================================*/

/* =Global
----------------------------------------------- */
body { color: #6B6B6B; word-wrap: break-word; line-height: 1.7; }

a {
  color: #000;
  text-decoration: none;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}

a:hover,
a:focus {
  color: #333;
  text-decoration: none;
}

a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-weight: 400;
	color: #000;
}
h1,
.h1 {
  font-size: 48px;
}

h2,
.h2 {
  font-size: 38px;
}

h3,
.h3 {
  font-size: 28px;
}

h4,
.h4 {
  font-size: 24px;
}

h5,
.h5 {
  font-size: 18px;
}

h6,
.h6 {
  font-size: 16px;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	/*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 */
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}
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="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #DDD;
	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="tel"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 0 0 0 10px;
}
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: 100%;
}


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

/* Clearing */
.clear:before,
.clear: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,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

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

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
@media (max-width: 767px) {
  .pull-left,
  .pull-right {
  	float: none !important;
  }
}

.full-width .site-main { padding-left:0 !important; padding-right:0 !important; }

/* =Asides
----------------------------------------------- */

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

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

.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 {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.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%;
}

/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

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

.widget > ul > li,
li.recentcomments {
	border-bottom: 1px solid #EEE;
	position: relative;
	display: block;
	padding: 10px 15px;
}
.widget ul {
  padding: 10px 10px;
}

.widget-title {
  border-bottom: 1px solid #eee;
}
.widget ul.nav.nav-tabs {
  padding: 0;
}
.tab-content ul li {
  list-style: none;
}

.tab-content .tab-thumb {
  float: left;
  margin-right: 8px;
  padding-top: 5px;
  float: left;
  line-height: 0px;
  width: 60px;
  height: 60px;
}
.tab-content li {
  overflow: hidden;
  list-style: none;
  border-bottom: 1px solid #f0f0f0;
  margin: 0 0 8px;
  padding: 0 0 6px;
}
.tab-content .tab-entry {
	display: block;
}
.tab-content > .active {
  border: 1px solid #DDD;
  border-top: none;
}
.tab-content ul li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.tab-content .tab-entry {
  font-weight: 600;
  font-size: 14px
}
.tab-comment {
  font-size: 18px;
  padding: 0 10px;
}
.nav-tabs > li > a {
  border-bottom-color: transparent;
  text-transform: uppercase;
}
.tab-content i {
    font-size: 12px;
}
.tab-thumb.thumbnail {
    margin-bottom: 5px;
}
.tab-content #messages li:before {
  content: '\f0e5';
  font-family: fontawesome;
  float: left;
  padding-right: 10px;
  font-size: 20px;
  color: #000;
}
.btn-primary, .label-primary {
	background-color: #000;
	border-color: #000;
}

.widget .input-group {
    width: 100%;
}
/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}
#infinite-handle span {
  display: block;
  text-align: center;
  font-size: 18px !important;
  margin-bottom: 20px;
  border-radius: 4px !important;
  padding: 12px !important;
  background: transparent !important;
  border: 1px solid #DDD;
  color: #000 !important;
	-webkit-transition: all 0.2s;
	   -moz-transition: all 0.2s;
	     -o-transition: all 0.2s;
	        transition: all 0.2s;
}
#infinite-handle span:hover {
  background-color: #000 !important;
  color: #fff !important;
}
/* =Custom Styles
----------------------------------------------- */
 
/* Header */

.header-wrapper .navbar { min-height:1px !important; }
#masthead .logo { max-height:100px; }
#masthead .social-header { padding-top:40px; }
 
.site-branding {
  margin-top: 20px;
  margin-bottom: 20px;
}
.site-description {
  color: #777;
  font-weight: 200;
  font-size: 16px;
}
.page-template-page-homepage-php .carousel {
	margin-top: -20px;
	margin-bottom: 20px;
}

/* =Navigation
----------------------------------------------- */

.navigation.numeric { text-align:center; }
[class*="navigation"] li { display:inline-block; margin-right:10px; }

.site-main [class*="navigation"] a,
.more-link { /* border: 1px solid #DDD; padding: 6px 12px; border-radius: 4px; display: block; */ }
.site-main [class*="navigation"] a:hover,
.more-link:hover { /* color: #fff; background: #000; */ text-decoration:underline; }
.more-link { /* float: right; margin: 10px 0; */ }
.site-main [class*="navigation"] {
	margin: 20px 0;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
}
.navbar.navbar-default { background-color: #000; font-weight: 400; }
.navbar.navbar-default .nav-justified { font-family: 'Lato', sans-serif; }
.navbar-default .nav-justified > li > a {
  color: #fff;
  border-right: 1px solid rgba(0,0,0,.2);
	box-shadow: 1px 0 0 rgba(255, 255, 255, 0.10);
}
.navbar-default .nav-justified > li:last-child > a { border:none; }
.navbar-default .nav-justified > .open > a,
.navbar-default .nav-justified > .open > a:hover,
.navbar-default .nav-justified > .open > a:focus {
	border-right: 1px solid rgba(0,0,0,.2);
	border-left: none;
}
.navbar {
	border-radius: 0;
}
.navbar-default {
	border: none;
}
.navbar-default .nav-justified > .active > a,
.navbar-default .nav-justified > .active > a:hover,
.navbar-default .nav-justified > .active > a:focus,
.navbar-default .nav-justified > li > a:hover,
.navbar-default .nav-justified > li > a:focus,
.navbar-default .nav-justified > .open > a,
.navbar-default .nav-justified > .open > a:hover,
.navbar-default .nav-justified > .open > a:focus,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.navbar-default .nav-justified .open .dropdown-menu > li > a:hover,
.navbar-default .nav-justified .open .dropdown-menu > li > a:focus {
  color: #999;
  background-color: rgba(0, 0, 0, 0.6);
}
.navbar-default .nav-justified .open .dropdown-menu > li > a {
	color: #fff;
}
.dropdown-menu > li > a {
	padding: 18px 20px;
	color: #fff;
}
.dropdown-menu,
.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus {
	background-color: #000;
	border: none;
}
.dropdown-menu .divider {
	background-color: rgba(0, 0, 0, 0.1);
}
.nav-justified > li > .dropdown-menu {
	padding: 0;
}
.nav-justified > li > a { padding-top: 10px; padding-bottom: 10px; }

.navbar-header .navbar-toggle:hover,
.navbar-header .navbar-toggle:focus {
  background-color: transparent;
}


.dropdown-submenu{position:relative;}
.dropdown-submenu>.dropdown-menu{top:0;left:100%;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
.dropdown-submenu:active>.dropdown-menu{display:block;}
.dropdown-submenu>a:after{display:block;content:" ";float:right;width:0;height:0;border-color:transparent;border-style:solid;border-width:5px 0 5px 5px;border-left-color:#cccccc;margin-top:5px;margin-right:-10px;}
.dropdown-submenu:active>a:after{border-left-color:#ffffff;}
.dropdown-submenu.pull-left{float:none;}.dropdown-submenu.pull-left>.dropdown-menu{left:-100%;margin-left:10px;-webkit-border-radius:6px 0 6px 6px;-moz-border-radius:6px 0 6px 6px;border-radius:6px 0 6px 6px;}

.dropdown-submenu { position: relative; }
.dropdown-submenu>.dropdown-menu { 
	top: 0 !important; left: 100% !important; margin-top: -6px; margin-left: -1px;
    	-webkit-border-radius: 0 6px 6px 6px; -moz-border-radius: 0 6px 6px; border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}


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

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

#respond {
	background-color: transparent!important;
	box-shadow: none!important;
	padding: 0px!important;
}

#respond > p, #respond p.comment-notes, p.logged-in-as {
	margin-bottom: 10px;
}

p.logged-in-as {
	padding-bottom: 0px;
}

.comment-list {
	margin-bottom: 40px!important;
	margin-left: 0px!important;
	padding-left: 0;
}

.comment-list li {
	list-style: none!important;
}

.comment .comment-body {
	background-color: #ffffff;
  margin: 0;
  overflow: hidden;
  padding: 25px;
  margin-top: 2em;
  padding-left: 116px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0);
  border-color: #eee;
  border-radius: 4px;
}

.comment-list .children {
	margin-left: 0px!important;
	padding-left: 40px;
	border-left: 1px solid #EEE;
	background-repeat: no-repeat;
	background-position: left 20px;
}

.comment-list li.comment > div img.avatar {
	position: absolute;
	left: 29px;
	top: 29px;
}

#comment-form-title {
  font-size: 24px;
  padding-bottom: 10px;
}
.vcard .avatar {
  position: absolute;
  left: 29px;
  top: 29px;
}
.comment-metadata {
  font-size: 11px;
  line-height: 16px;
  margin-bottom: 10px;
}
.comment-reply-link {
  float: right;
}
.form-allowed-tags code {
  word-wrap: break-word;
  white-space: inherit;
}
.comment-respond label {
  display: block;
  font-weight: normal;
}
.comment-respond .required {
  color: #C7254E;
}
/* =Post styling
----------------------------------------------- */
.entry-meta a {
	font-size: 12px;
}
#main .page-header {
  margin-top: 0;
}
.entry-meta {
  text-transform: uppercase;
}
.entry-meta a {
  color: #6B6B6B;
}
.entry-meta .fa {
  font-size: 16px;
  margin-right: 3px;
  color: #000;
}
.entry-meta span {
  margin-right: 10px;
}
.entry-title {
  font-size: 52px;
  font-weight: 100;
  color: #000;
}
.btn.btn-primary.read-more {
  float: right;
  border: 1px solid #DDD;
  color: #000;
  background-color: transparent;
}
.btn.btn-primary.read-more:hover {
	color: #FFF;
  background-color: #000;
}
.search .more-link {
    /*display: none;*/
}
hr.section-divider {
  height: 1px;
  background: #EEE;
  position: relative;
  overflow: visible;
  z-index: 100;
  margin-top: 30px;
  margin-bottom: 30px;
}

/*hr.section-divider:after {
  z-index: 10000;
  content: "\f004";
  font-family: FontAwesome;
  color: #000;
  position: absolute;
  top: -23px;
  left: 50%;
  right: 50%;
  width: 40px;
  height: 30px;
  margin-left: -20px;
  font-size: 30px;
}*/
.entry-content { }
/* =Attachment styling
----------------------------------------------- */
#image-navigation .nav-previous a,
#image-navigation .nav-next a{
  padding: 5px 20px;
  border: 1px solid #DDD;
  border-radius: 4px;
  display: block;
}
#image-navigation .nav-previous a:hover,
#image-navigation .nav-next a:hover{
  background-color: #000;
  color: #fff;
}
#image-navigation .nav-previous,
#image-navigation .nav-next {
  margin: 10px 0;
}

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

.footer-nav.nav > li {
  position: relative;
  display: inline-block;
}
.footer-nav.nav {
	float: left;
	margin-bottom: 2px;
}
.copyright { float: right; text-align: right; padding: 10px 15px; }
#colophon { background-color: #000; padding: 10px 0; margin-top: 20px; }
#colophon ul { margin:0; }
.site-info a { color:#fff; }
.site-info a:hover { color: #999; }
.site-info { color: #fff; font-size: 12px; }
.footer-nav.nav > li > a:hover { background-color: transparent; }


@media (max-width: 767px) {
	.site-info, .copyright {
	  text-align: center;
	}
	.footer-nav.nav, .copyright {
		float: none;
	}
}


/* =Social icons
----------------------------------------------- */

.social-profile {
  font-size: 24px;
  margin: 6px;
  color: #DDD;
}

.social-profile.facebook:hover {color: #3b5998;}
.social-profile.twitter:hover {color: #00aced ;}
.social-profile.google-plus:hover {color: #dd4b39;}
.social-profile.youtube:hover {color: #bb0000;}
.social-profile.linkedin:hover {color: #007bb6;}
.social-profile.pinterest:hover {color: #cb2027;}
.social-profile.rss:hover {color: #F0AD4E;}
.social-profile.tumblr:hover {color: #32506d;}
.social-profile.flickr:hover {color: #ff0084;}
.social-profile.instagram:hover {color: #517fa4;}
.social-profile.dribbble:hover {color: #E56193;}
.social-profile.skype:hover {color: #00AFF0;}
.social-profile.square:hover {color: #6D7177;}

@media (min-width: 992px) {
	#social { position: relative; }
}

@media (max-width: 992px) {
	.site-branding {
		text-align: center;
	}	
	#masthead .logo { text-align: center; max-width: 100% !important; max-height: 140px; margin: 0 auto; }
	#masthead .logo img { margin: 0 auto; }
	#masthead .social-header { padding:0 !important; }
	#masthead .social-header #social { top: 0; float: none; text-align: center; }
}

/* =Slider
----------------------------------------------- */
/*
.carousel-caption h4 {
	background: #000;
  background: rgba(84, 57, 126,0.7);
  padding: 15px;
  color: #fff;
  max-width: 55%;
  margin-bottom: 4px;
}
.carousel-caption {
  left: 20px;
  text-align: left;
  padding-bottom: 20px;
}
.carousel-caption p {
	background: #555;
  background: rgba(0, 0, 0,0.5);
  padding: 15px;
  max-width: 50%;
}
.carousel {
  margin-bottom: 20px;
}
@media screen and (min-width: 768px) {
  .carousel-indicators {
    bottom: 5px;
  }
}
*/
/* =WooCommerce styling
----------------------------------------------- */
.woocommerce .woocommerce-message,
.woocommerce-page .woocommerce-message {
  border-top: 3px solid #000;
}
.woocommerce .woocommerce-message:before,
.woocommerce-page .woocommerce-message:before {
  background-color: #000;
  padding-top: 1px;
}
.woocommerce .woocommerce-info:before,
.woocommerce-page .woocommerce-info:before {
  padding-top: 1px;
}
.woocommerce #content div.product div.images img,
.woocommerce div.product div.images img,
.woocommerce-page #content div.product div.images img,
.woocommerce-page div.product div.images img {
  border-radius: 5px;
}

/* Common Styles **** don't edit after this line **** */
.vertical-align { display: flex; align-items: center; justify-content: center; flex-direction: row; }
.absolute-center { height: 50%; width: 50%; overflow: auto; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }
.absolute-center.is-right { left: auto; right:0; }
.absolute-center.is-left { right: auto; left:0; }
.text-ellipsis { display:block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-ellipsis-2lines { display:block; display: -webkit-box; -webkit-line-clamp:2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.text-ellipsis-3lines { display:block; display: -webkit-box; -webkit-line-clamp:3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.text-ellipsis-4lines { display:block; display: -webkit-box; -webkit-line-clamp:4; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.text-ellipsis-5lines { display:block; display: -webkit-box; -webkit-line-clamp:5; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }

/* Debug classes styles */
.action-hook { border:1px solid #030; min-height:40px; background-color: lightgreen; margin-top: 4px; /*position:relative;*/ }
.action-hook > * { background: none !important; }
.action-hook > span.ahl { /*position:absolute;*/ top:0; left:0; background:yellowgreen !important; padding:4px 10px; color:#000; z-index: 99999; font-size: 16px; font-weight: 700; }