/*
Theme Name: AskBug Child
Theme URI: http://anspress.io/download/askbug/
Author: Tony Kim
Template: askbug
Author URI: http://anspress.io/
Description: AskBug is a theme for question and answer community site based on AnsPress plugin. This theme can be used to create a big community site or a simple support site.
Version: 1.2
License: GNU General Public License v3.0 /
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Tags: gray, light, two-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, sticky-post,  theme-options, threaded-comments, translation-ready
*/
body {
	word-wrap: break-word;
}

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


/* Images and wp-captions should always fit and be responsive */
img {
	display: inline-block;
	height: auto;
	max-width: 100%;
}
img[class*="wp-image-"] {
	margin-top: 10px;
	margin-bottom: 10px;
}

.wp-caption.aligncenter {
	margin-bottom: 10px;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
}
.wp-caption .wp-caption-text {
	text-align: center;
	margin-top: 10px;
}

/* WP Gallery */
.gallery {
	margin-bottom: 1.5em;
}
.gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.gallery dd {
	margin: 0;
}
.gallery-caption {
	display: block;
}

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


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


/* Content */
.main-content-inner {
	padding-bottom: 1.5em;
}
.hentry {
	margin: 0 0 1.5em;
}
.sticky {
	display: block;
}
.bypostauthor {
	display: block;
}


/* Clearing */
.clear {
	clear: both;
}

/* Navigation */

.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, .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:#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;}


/* Here some needed widget styles
 * Most widgets are adapted in the file bootstrap-wp.js - and REALLY easy to modify! ;) */
.widget { margin-bottom: 2em; }
.widget_nav_menu ul.sub-menu li, .widget_pages ul.children li { padding-left: 15px; }

/* Hiding the search widget's button in widgets. thats just too old-skool. :) but if you want it back, just delete the next line.
 * Note: you can change the whole appearance of the search_form() function in our searchform.php */
.widget_search .search-form input[type="submit"] { display: none; }

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

/**
* Some WP Theme Repository requirements
*/

.sticky {
}

.gallery-caption {

}

.bypostauthor {

}

.entry-meta {
	clear: both;
}

/********************/
/*	CSS Override	*/
/********************/

.site-header-cover {
  background-color: #ff8559;
  margin-bottom: 10px;
}

a, a:hover, .site-header .for-answerer .btn-answer, .site-nav .navbar-nav li.open a, .site-nav .navbar-nav li.active a {
      color: #ff7d4f;
}
.site-nav .navbar-nav > li > a{
	color:#FFFFFF;
}
.navbar-brand{
	color:#FFFFFF !important;
}

.site-nav .navbar-form .form-control{
	background-color:#FFFFFF;
}

.btn-submit, .site-nav .btn-header-ask, #anspress #ap-question-sorting .ap-dropdown-toggle.active {
  background: #ff7d4f;
}

.site-header-fade {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    opacity: 0.1;
    position: absolute;
    width: 100%;
    z-index: 2;
  background-image:url("/wordpress/wp-content/uploads/2016/10/logo-background-image.jpg") !important;
}

#account-membership h2, 
#account-profile h2, 
#account-invoices h2, 
#account-activity h2
{
  	font-size: 21px;
}

.ms-edit-profile, 
.ms-all-invoices, 
.ms-edit-profile, 
.ms-all-activities {
	font-size: 16px; 
}

.site-info {
	display: none;
}

.site-copyright {
	float: left !important; 
}

.apicon-logo:before {
    content: "";
}

.apicon-logo {
	 background: transparent url("/wordpress/wp-content/uploads/2016/10/icon-sprite-map.png?16") no-repeat scroll -152px -30px;
    display: inline-block;
    height: 22px;
    width: 139px;
}

.site-nav {
  	background-color: #FF7D4F;
  	border-color: transparent transparent #eeeeee;
  	border-image: none;
  	border-radius: 0;
  	border-style: none none solid;
  	border-width: medium medium 2px;
  	margin: 0 0 30px;
  	padding: 15px 0;
  	position: relative;
  	z-index: 11;
}

.site-footer-inner div.col-sm-2, div.footer-about, div.col-sm-4 {
 	display: none; 
}

.profile .field_1 {
	display: none; 
}

div.profile .label {
   color: #707070!important;
}

#buddypress #item-body .profile .editfield input {
    width: 350px;
}

#buddypress #item-body .profile .editfield div.wp-core-ui.wp-editor-wrap {
    width: 700px;
}

#buddypress table.notifications,
#buddypress table.notifications-settings,
#buddypress table.profile-settings,
#buddypress table.profile-fields,
#buddypress table.wp-profile-fields,
#buddypress table.messages-notices,
#buddypress table.forum {
    width: 100%!important;
}

#buddypress table.notifications tr td.label,
#buddypress table.notifications-settings tr td.label,
#buddypress table.profile-fields tr td.label,
#buddypress table.wp-profile-fields tr td.label,
#buddypress table.messages-notices tr td.label,
#buddypress table.forum tr td.label {
    border-right: 1px solid #eaeaea;
    font-weight: bold;

}

#buddypress table.profile-fields td.bp-field-data {
    width: 100%;
	vertical-align: text-bottom;
	padding-left: 20px;
}

#anspress .ap-cradit{
	display: none;
}

#tabs { 
  border: none;
}

#tabs div.ui-tabs-panel {
  display: block;
  border-width: 0;
  padding: 0em 0.2em;
  background: none;
}

#buddypress #item-body .profile .ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
	border-bottom-right-radius: 0px;
}

#buddypress #item-body .profile .ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { 
	border-bottom-left-radius: 0px;
}

#buddypress #item-body .profile .ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { 
	border-top-right-radius: 0px;
}

#buddypress #item-body .profile .ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { 
	border-top-left-radius: 0px;
}

#buddypress div#tabs .ui-widget-header {
 	border: 1px solid #cccccc;
    /*background: #cccccc url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;*/
	background: #cccccc url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png) 50% 50% repeat-x;
    color: #222222;
    font-weight: bold;
}

#buddypress div#tabs .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
	color: #ff7d4f;
	text-decoration: none;
}

#buddypress div#tabs .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
    color: #ff7d4f;
    text-decoration: none;
}

#buddypress div.profile h2 {
	font-size: 22px;
  	margin-bottom: auto;
    margin-top: 15px;
}

#buddypress div#tabs .ui-widget-content a {
	color: #07C;
}

#buddypress #header-cover-image {
  	background-image: url(/wp-content/uploads/2017/01/8808ebf937a693d68221a65c33268f88.jpg);
    background-color: #c5c5c5;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    border: 0;
    display: block;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

#buddypress div#tabs .ui-state-default {
	border: none;
    background: none;
    font-weight: normal;
    color: #555555;
}

#buddypress div#tabs li.ui-state-active {
    border: 1px solid #aaaaaa;
    background: #ffffff url(http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x;
    font-weight: normal;
    color: #212121;
}

#item-header-content span.activity {
    display: none;
    font-size: small;
    padding: 0;
}

#item-header-content span.ap-user-meta-reputation {
        display: none;
    font-size: small;
    padding: 0;
}

.ui-tabs-nav .ui-state-focus a {
    outline: none;
}

.site-url-container {
  padding-top: 10px;
  padding-bottom: 5px;
}

.wdpu-content { 
	margin: auto;
	width: 70%;
  	margin-top: 10px;
}

.ac_results {
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    z-index: 10000;
    display: none;
    border: 1px solid #ccc;
    background-color: #666666;
}

.ac_results li {
    padding: 2px 5px;
    white-space: nowrap;
    text-align: left;
    color: white;
}

#buddypress .standard-form #basic-details-section, #buddypress .standard-form #blog-details-section, #buddypress .standard-form #profile-details-section {
    float: none;
    width: 48%;
}

#buddypress .standard-form #profile-details-section {
    float: none;
}

#profile-details-section div.editfield.field_location, #profile-details-section div.editfield.field_short-bio, #profile-details-section div.editfield.field_about-me {
    display: none;
}

#signup_email {
    width: 275px;
}

#buddypress .standard-form input[type=text] {
    width: 275px !important;
}

#buddypress .standard-form input[type=password] {
    margin-bottom: 5px;
    width: 225px !important;
}

#buddypress .standard-form div.submit {
    clear: both;
    padding: 15px 0 0;
    margin-top: 15px;
}

div.comment-meta {
    color: #888888;
    font-size: 16px;
    margin-bottom: 20px;
    color: #888;
}

a.post-edit-link {
    display: none;
}

.field-visibility-settings-toggle {
display:none;
}

.field-visibility-settings-notoggle {
display:none;
}

#category-dropdown {
    padding-left: 150px;
}

#anspress .ap-q .ap-question-meta .question-categories:last-child a {
 padding-left: 5px;
}

.items-table {
    margin-bottom: 15px;
}

.buddypress-registration {
    width: 1140px;
    margin-right: auto;
    margin-left: auto;
    padding-bottom: 15px;
}

#basic-details-section .field_gender,
#basic-details-section .field_date-of-birth,
#basic-details-section .field_reason
{
    display: none;
}

.pager li:first-child > a, .pager li:first-child > span {
    /*find way to override border-left from main askbug css file */
    /*border-left:none none;*/
    border-radius: 6px 0 0 6px;
}

.pager {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background-color: #ffffff;
    border-radius: 6px;
}

.pager li {
    display: inline;
    margin: 0 3px 0 0;
}

#buddypress #item-body .profile .editfield input {
    width: 278px;
}

.dropdown-menu>li {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
}

#comments p.no-article-comments {
    font-size: 14px;
    line-height: 1.6;
}

form.wpuf-form-add p.no-article-submit{
    padding-left: 210px;
    font-size: 14px;
    line-height: 1.6;
}

div.ap-field-tags {
    display: none;
}

#related-experts-table tr.experts-row{
	padding-top: 2px; 
	padding-bottom: 2px;
}

#related-experts-table td.expert-image {
	width: 50px; 
	padding: 3px 6px 3px 0;
}

#related-experts-table td.expert-name {
	padding: 3px 6px 3px 0;
}

#related-experts-table td.expert-vote-container {
    padding: 3px 0;
}

#related-experts-table td.related-experts-no-content {
    font-weight: bold; 
	font-size:12px;
}

#related-experts-table td.expert-votes {
    display: block; 
	font-size: 11px; 
	width: 60px;
}

#activate-page {
    padding-left: 20px;
}

div#noperm-write-container, 
div#noperm-ask-question-container { 
	padding-top: 5px;
}

div#noperm-comment-container {
    padding-top: 15px;
}

div#account-activation-header {
    padding-top: 15px;
}

div#noperm-write-message {
	margin: 0 0 15px;
	width: 525px;
    position: relative;
    left: 26%;
}

div#noperm-comment-message {
    margin: 0 0 15px;
    width: 548px;
    position: relative;
    left: 7%;
}

div#account-activation-message {
    position: relative;
}

div#noperm-ask-question-message {
    margin: 0 0 15px;
    width: 548px;
    position: relative;
}

div#noperm-write-message.warning p, 
div#noperm-comment-message.warning p, 
div#account-activation-message.warning div, 
div#noperm-ask-question-message.warning p {
	background-color: #ffe0af;
    border: 1px solid #ffd087;
    clear: left;
    color: #800;
	font-size: 14px;
	padding-left: 5px;
}


/*div.ap-field-tags {
    display: none;
}*/

/*
 == Quick CSS styling tips ==

 You can start off in a rough direction with some minimal styles.
 See below for some tips. ;)


 == Want to have the whole site wrapped? ==

 Just fill the .container class with some background color to have a the whole site "wrapped".
 This works so easy because every main part is wrapped only once into a container class by bootstrap.
 Try out by decommenting the next line and go from there.

 .container { background: #f9f9f9; border-right: 1px solid #eee; border-left: 1px solid #eee; }


 == Want to wrap just the content and sidebar in Bootstrap style? ==

 That one is a great example to show that some things are much cleaner and easier to do via just adding some HTML classes.
 In this case, we will add just one CSS class "panel", look for example at the beginning in content.php!


 == Infinite Scrolling by Jetpack ==
 You can enable this cool feature by simply decommenting the lines below and make sure you use the same classes on the right place in your html..

/* Globally hidden elements when Infinite Scroll is supported and in use.
 * Older / Newer Posts Navigation (the pagination, must always be hidden), Theme Footer only when set to scrolling.. */

/*
.infinite-scroll .page-links,
.infinite-scroll.neverending .site-footer {
	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;
}
*/

/* Hey, if you don't need my comments anymore, just delete me! :)  */



