/*
Some Usefull Mixins
*/
/*
Collapsible Set
Inspired from Bootstrap 3
*/
.as-collapse-heading:before,
.as-collapse-heading:after {
  content: " ";
  display: table;
}
.as-collapse-heading:after {
  clear: both;
}
.as-collapse-heading,
.as-collapse-content a {
  position: relative;
  display: block;
  padding: 10px 15px;
  margin-bottom: -1px;
  background-color: #fff;
  border: 1px solid #ddd;
  transition: background-color 0.25s ease;
}
.as-collapse-content a:hover {
  text-decoration: none;
  color: #555;
  background-color: #f5f5f5;
}
.as-collapse-active:hover {
  color: white;
  background-color: #3498db;
}
.as-collapse-heading,
.as-collapse-heading a {
  font-size: 1em;
  line-height: 1em;
  margin: 0;
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
  border-bottom: 0;
}
.as-collapse-badge {
  float: right;
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  vertical-align: baseline;
  white-space: nowrap;
  text-align: center;
  background-color: #777;
  border-radius: 10px;
}
/*
The Table Of Content Widget
*/
div.widget.WPAS_Documentation_TOC {
  padding: 0;
  border: 0;
  border-bottom: 1px solid #ddd;
}
div.widget.WPAS_Documentation_TOC a {
  text-decoration: none;
}
/**
 * Live Search Results
 */
.asdoc-results {
  display: none;
  padding: .75em;
}
.asdoc-results a + a {
  margin-top: .5em;
}
.asdoc-results a {
  display: block;
  padding: 1em ;
}
.asdoc-results a:hover {
  color: white ;
  background-color: #0275D8;
}
.asdoc-results,
.asdoc-results a {
  font-size: 90%;
}
/**
 * Frontend search
 */
#wpas-documentation-search-link {
  background: #000;
  background-color: #000;
  display: inline-block;
  padding: 5px 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  color: #fff;
  position: fixed;
  bottom: 0;
  right: 20px;
}

#wpas-documentation-search-link:hover {
  background: #343131;
  background-color: #343131;
}

span.search-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url(../images/magnifying-glass-icon.png) no-repeat;
  position: relative;
  top: 7px;
}

#wpas-documentation-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.wpas-documentation-search-overlay-background {
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 30%;
  background: #ffffff;
  display: block;
  position: absolute;
  top: 7.5%;
  padding: 0 25px 25px 25px;
  cursor: auto;
  height: 80%;
  overflow-y: scroll;
  border-radius: 3px;
}

#wpas-documentation-search-overlay .cancel {
  color: #000000;
  height: 30px;
  width: 35px;
  font-size: 30px;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  position: absolute;
  right: 0px;
  top: 0px;
}

#wpas-documentation-search-overlay .cancel:hover {
  opacity: 0.7;
}

.wpas-documentation-no-scroll {
  overflow: hidden;
}

.wpas-documentation-search-overlay-header:after {
  content:" ";
  display:inline-block;
  width:100%;
}

.wpas-documentation-search-overlay-header {
  max-height: 49px;
  margin-bottom: 20px;
  border-bottom: 3px solid #343131;
}

.wpas-documentation-search-overlay-header span,
.wpas-documentation-search-overlay-header input,
.wpas-documentation-search-overlay-header a {
  display: inline-block;
}

.wpas-documentation-search-overlay-header span {
  position: absolute;
  background: url(../images/magnifying-glass-icon-dark.png) no-repeat;
  top: 15px;
}

#wpas-documentation-search-input {
  width: 100%;
  height: 47px;
  display: inline-block;
  padding-left: 25px;
  font-size: 1em!important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.wpas-documentation-topic-feedback-container,
.wpas-documentation-article-sharing-container {
	margin: 20px 0;
}

.wpas-documentation-search-content-results a {
	display: block;
	color: initial;
	margin-bottom: 10px;
}

/* Topic feedback */
.wpas-documentation-topic-feedback-container .thumbs-up,
.wpas-documentation-topic-feedback-container .thumbs-down {
	display: inline-block;
	width: 25px;
	height: 25px;
	cursor: pointer;
    position: relative;
    top: 5px;
}

.wpas-documentation-topic-feedback-container .thumbs {
  display: inline-block;
  border-radius: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.wpas-documentation-topic-feedback-container span:first-child,
.wpas-documentation-topic-feedback-container span.thumbs-up {
  display: inline-block;
  margin-right: 10px;
}

img.topic-feedback-icon-img {
  margin: 0 auto;
  position: relative;
  display: block;
}

img.topic-feedback-icon-img.up {
  top: 7px;
}

img.topic-feedback-icon-img.down {
  top: 9px;
}

.wpas-documentation-topic-feedback-container .useful-text {
	margin-left: 10px;
	font-size: 12px;
}

.wpas-documentation-article-sharing-container a {
	margin-right: 5px;
	position: relative;
    top: 10px;
}

.wpas-documentation-article-sharing-container span:first-child {
	margin-left: 5px;
}

.wpas-documentation-article-sharing-container a span {
	display: inline-block;
	width: 35px;
	height: 35px;
}

.wpas-documentation-article-sharing-container a span.round {
	border-radius: 20px;
}

.wpas-documentation-article-sharing-container a span.square {
	border-radius: 3px;
}

.wpas-documentation-article-sharing-container a:hover {
	opacity: 0.7;
}

.wpas-documentation-article-sharing-container a span.facebook img,
.wpas-documentation-article-sharing-container a span.twitter img,
.wpas-documentation-article-sharing-container a span.pintrest img,
.wpas-documentation-article-sharing-container a span.email img,
.wpas-documentation-article-sharing-container a span.linkedin img {
    margin: 0 auto;
    position: relative;
    display: block;
}

.wpas-documentation-article-sharing-container a span.facebook img,
.wpas-documentation-article-sharing-container a span.linkedin img {
	top: 7px;
}

.wpas-documentation-article-sharing-container a span.twitter img,
.wpas-documentation-article-sharing-container a span.pintrest img,
.wpas-documentation-article-sharing-container a span.email img {
	top: 8px;
}

/* Media Queries */
@media (max-width: 1199.98px) {
	.wpas-documentation-search-overlay-background {
		width: 50%;
	}
}

@media (max-width: 991px) {

}

@media (max-width: 767.98px) {
  .topic-feedback-icon-img {
    width: 15px;
    height: 14px;
  }

  .wpas-documentation-article-sharing-container .facebook img {
    width: 10px;
    height: 22px;
  }

  .wpas-documentation-article-sharing-container .twitter img {
    width: 24px;
    height: 20px;
  }

  .wpas-documentation-article-sharing-container .pintrest img {
    width: 17px;
    height: 20px;
  }

  .wpas-documentation-article-sharing-container .email img {
    width: 26px;
    height: 20px;
  }

  .wpas-documentation-article-sharing-container .linkedin img {
    width: 19px;
    height: 20px;
  }
}

@media (max-width: 576px) {
	.wpas-documentation-search-overlay-background {
		width: 70%;
	}
}

@media (max-width: 482px) {
	.wpas-documentation-search-overlay-background {
		width: 90%;
	}
}