/*
Theme Name: Astra Child
Description: This is a child theme for Astra Theme
Author: JM Media
Template: astra
Version: 0.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/*@import url('css/bootstrap.css'); */

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}


@media (min-width: 922px){
.ast-container {
    max-width: 1960px;
}
}


/* manual flip - Start */

.manual-flip {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.manual-flip.is-flipped {
  transform: rotateY(180deg);
}

.card__face {
  position: absolute;
  height: 100%;
  width: 100%;
  backface-visibility: hidden;
}

.manual-flip-card-back {

  transform: rotateY(180deg);
}

/* manuel flip - End */



/* The flip card container - set the width and height to whatever you want. We have added the border property to demonstrate that the flip itself goes out of the box on hover (remove perspective if you don't want the 3D effect */
.flip-card {
  background-color: transparent;
  /*width: 300px; */
  /*height: 400px;*/
  width: 100%;
  height:400px;

  border: 0px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.no-flip {
  background-color: transparent;
  /*width: 300px; */
  /*height: 400px;*/
  width: 100%;
  height: 400px;
text-align: center;
  border: 0px solid #f1f1f1;
}

.flip-card-small {
  background-color: transparent;
  /*width: 300px; */
  /*height: 400px;*/
  width: 100%;
  height:400px;

  border: 0px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
   width: 100%;
   height: 100%; 
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: transparent;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: transparent;
  color: white;
  transform: rotateY(180deg);
}


/* Bootstrap CSS parts */
/*
.alert-danger {
    color: #721c24  !important;
    background-color: #f8d7da  !important;
    border-color: #f5c6cb  !important;
}

.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .25rem;
}
*/

.vertical-center {
  margin: 0;
  position: absolute;
  /*top: 50%;*/
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.text-center {
  text-align: center;
  max-height: 50px;
  height: 50px;
}


/* single biocard */
.badge{
  margin-right:5px;
  margin-left:5px;
  margin-top:0px;
  margin-bottom:5px;
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  background-color: #999;
  border-radius: 10px;
}

.badge a {
  color: white;
}

.image-border
{
  border: 1px;
  border-style: solid;
  border-color: #ccc;
}
.image-400
{
  max-height: 400px;
}

.image-300
{
  max-height: 300px;
}

.image-350
{
  max-height: 350px;
}

 .owning, .whishlist, .trade{
    height: 30px;
    width: 60px;

}
div#owning,div#whishlist,div#trade{
  display: inline-block;
}

button#moveUp,button#moveDown,button#removeBioCard{
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 2px;
  margin-bottom: 2px;
}

.row-flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-content {
  height: 100%;

}

/* AST Pagination - START */
.ast-pagination .next.page-numbers{display:inherit;float:none;}
.ast-pagination a{color:#0274be;}
.ast-pagination a:hover,.ast-pagination a:focus,.ast-pagination > span:hover:not(.dots),.ast-pagination > span.current{color:#3a3a3a;}
.ast-pagination .prev.page-numbers,.ast-pagination .next.page-numbers {padding: 0 1.5em;height: 2.33333em;line-height: calc(2.33333em - 3px);}
.ast-pagination {display: inline-block;width: 100%;padding-top: 2em;text-align: center;}
.ast-pagination .page-numbers {display: inline-block;width: 2.33333em;height: 2.33333em;font-size: 16px;font-size: 1.06666rem;line-height: calc(2.33333em - 3px);}
.ast-pagination .nav-links {display: inline-block;width: 100%;}
@media (max-width: 420px) 
{
	.ast-pagination .prev.page-numbers,.ast-pagination .next.page-numbers {width: 100%;text-align: center;margin: 0;}
}
.ast-pagination .prev,.ast-pagination .prev:visited,.ast-pagination .prev:focus,.ast-pagination .next,.ast-pagination .next:visited,.ast-pagination .next:focus {display: inline-block;width: auto;}
.ast-page-builder-template .ast-pagination {padding: 2em;}
.ast-pagination .prev.page-numbers.dots,.ast-pagination .prev.page-numbers.dots:hover,.ast-pagination .prev.page-numbers.dots:focus,.ast-pagination .prev.page-numbers:visited.dots,.ast-pagination .prev.page-numbers:visited.dots:hover,.ast-pagination .prev.page-numbers:visited.dots:focus,.ast-pagination .prev.page-numbers:focus.dots,.ast-pagination .prev.page-numbers:focus.dots:hover,.ast-pagination .prev.page-numbers:focus.dots:focus,.ast-pagination .next.page-numbers.dots,.ast-pagination .next.page-numbers.dots:hover,.ast-pagination .next.page-numbers.dots:focus,.ast-pagination .next.page-numbers:visited.dots,.ast-pagination .next.page-numbers:visited.dots:hover,.ast-pagination .next.page-numbers:visited.dots:focus,.ast-pagination .next.page-numbers:focus.dots,.ast-pagination .next.page-numbers:focus.dots:hover,.ast-pagination .next.page-numbers:focus.dots:focus {border: 2px solid #eaeaea;background: transparent;}
.ast-pagination .prev.page-numbers.dots,.ast-pagination .prev.page-numbers:visited.dots,.ast-pagination .prev.page-numbers:focus.dots,.ast-pagination .next.page-numbers.dots,.ast-pagination .next.page-numbers:visited.dots,.ast-pagination .next.page-numbers:focus.dots {cursor: default;}
@media (min-width: 993px) 
{
  .ast-pagination {padding-left: 3.33333em;padding-right: 3.33333em;}
}
.ast-pagination .next.page-numbers {float: right;}
@media (max-width: 768px) 
{
  .ast-pagination .next.page-numbers .page-navigation {padding-right: 0;}
}
@media (min-width: 769px) 
{
  .ast-pagination .prev.page-numbers.next,.ast-pagination .prev.page-numbers:visited.next,.ast-pagination .prev.page-numbers:focus.next,.ast-pagination .next.page-numbers.next,.ast-pagination .next.page-numbers:visited.next,.ast-pagination .next.page-numbers:focus.next {margin-right: 0;}
}


/* AST Pagination - ENDE */



/* Upload Alert */

input .alert-danger,
.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  background: #f2dede !important;
  border-color: #ebccd1;
}
.alert-danger hr {
  border-top-color: #e4b9c0;
}
.alert-danger .alert-link {
  color: #843534;
}

.alert-success{
  color:#155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.alert {
  position: relative;
  padding: .75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
}


/* Form Style */
.form-group{
  margin-bottom: 1rem;
}
label {
  /*display: inline-block;*/
  margin-bottom: .5rem;
}
.form-control{
  display: block;
  width: 100%;
  padding: .375rem,.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #000;
  border-radius: .25rem;
  
}



.form-check {
  position: relative;
  display: block;
  padding-left: 1.25rem;
}

.form-check-input {
  position: absolute;
  margin-top: .9rem;
  margin-left: -1.25rem;

  
}

.form-check-label {
  margin-bottom: 0; 
}

.form-checkbox{
  margin-right: 5pt;
}

input[type=email], input[type=number], input[type=password], input[type=reset], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
  border: 1px solid #000;
}



#panel, #flip {
  padding: 5px;

}

#panel {
  padding: 0px 0px 10px 0px;
  display: none;
}


/* Header and main content style*/
.ast-archive-description
{
  padding-top: 1.5em !important;
  padding-bottom: 1.5em !important;
}

.ast-article-single{
  padding-top: 1.5em !important;
  padding-bottom: 1.5em !important;
}

/* Top Search Bar only visible on Mobile */
@media (min-width: 922px) {
  #topSearchBar {
    display: none;
  }
  #topFilterButton{
    display: none;
  }
}

/* Pointer for images */
#cursorPointer {
cursor: pointer;
}

.flip-card-front-image-container {
  display: inline-block;
  position: relative;
}

.item-label {
  padding: 5px 24px 8px 8px;
  background-color: #DD9933;
  line-height: 1;
  position: absolute;
  right: 5px;
  top: 5px;
  font-weight: bold;
  color: rgb(75, 79, 88);
}
.item-label::after {
  content: "\2022";
  position: absolute;
  right: 6px;
  color: #f5f5f5;
  font-size: 30px;
  line-height: 1;
  top: -5px;
}

/* Creator Autocomplete*/

/*the container must be positioned relative:*/
.autocomplete {
  position: relative;
  display: inline-block;
}

input {
  border: 1px solid transparent;
  background-color: #f1f1f1;
  padding: 10px;
  font-size: 16px;
}

input[type=text] {
  background-color: #f1f1f1;
  width: 100%;
}

input[type=submit] {
  background-color: DodgerBlue;
  color: #fff;
  cursor: pointer;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  width: 50%;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}

/*when hovering an item:*/
.autocomplete-items div:hover {
  background-color: #e9e9e9;
}

/*when navigating through the items using the arrow keys:*/
.autocomplete-active {
  background-color: DodgerBlue !important;
  color: #ffffff;
}

/* END Creator Autocomplete*/

/* Lightbox styles*/

.flex-box{
  display: inline-block;
  position: relative;
}

.bottom-right {
  position: absolute;
  bottom: 8px;
  right: 16px;
}

/* END Lightbox styles*/


/* Button width */

.btn50{
  width:50%;
  padding-left: 0;
  padding-right: 0;
}
.btn75 {
  width: 75%;
}
.btn100 {
  width: 100%;
}

/* END Button width */
