@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

:root {
  --sidebar-full-width: 130px;
  --sidebar-mini-width: 40px;
  --threshold-mini-sidebar: 768px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #373c42;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

i,
span {
    display: inline-block;
}

.wrapper {
    display: flex;
    align-items: stretch;
}

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    min-width: var(--sidebar-full-width);
    max-width: var(--sidebar-full-width);
    color: #fff;
    transition: all 0.3s;
    height: 100%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
}

#sidebar ul li a {
    text-align: left;
}

#sidebar .sidebar-header {
    padding: 5px;
    background: #07080a;
    margin-bottom: 1em;
}

#sidebar ul.components {
    border-bottom: 1px solid #565858;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    color: #7386D5;
    background: #fff;
}

#sidebar ul li a:active {
    padding-top: 13px;
    padding-bottom: 7px;
}

#sidebar ul li a i {
    margin-right: 10px;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

html, body {
	top: 0;
	left: 0;
	position: absolute;
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	overscroll-behavior: none;
}

.wrapper {
	height: 100%;
    width: 100%
}

#content {
    min-height: 100vh;
    transition: all 0.3s;
    width: calc(100% - var(--sidebar-full-width));
    margin-left: var(--sidebar-full-width);
}

#main-content {
	position: relative;
	height: 100%;
}

/* ---------------------------------------------------
    LOADER
----------------------------------------------------- */

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

#custom-loader {
    position: fixed;
    z-index: 1;
    height: 2em;
    width: 2em;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: var(--sidebar-full-width);
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

#custom-loader:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: var(--sidebar-full-width);
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

.background-overlay {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Transparent Overlay */
.background-overlay:before {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
  background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required), #custom-loader:not(:required) {
  /* hide "loading..." text */
  /*font: 0/0 a;*/
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after, #custom-loader:not(:required):after {
  content: '';
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
}


#background-clickable {
    position: fixed;
    height: 2em;
    width: 2em;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

#background-clickable:before  {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0, .6));
    background: -webkit-radial-gradient(rgba(20, 20, 20,.6), rgba(0, 0, 0,.6));
    z-index: 998;
}


/* Animation */
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* ---------------------------------------------------
    CUSTOM
----------------------------------------------------- */

.menuButton {
    text-align: center;
    font-size: 2em;
}

table tbody tr{
  cursor: pointer;
}


.card-table {
    margin-bottom: 40px;
}

.biggerImg {
    display: none;
    border-radius: 15px;
}


/* ---------------------------------------------------
    CARD INFO
----------------------------------------------------- */


#card-info-page #card-card .card-large-img{
    max-width:100%;
    max-height:calc(100% - 40px);
    object-position: top;
    object-fit: contain;
    vertical-align: middle;
    border-style: none;
    display:block;
    margin:auto;
    border-radius: 4%;
}

#card-info-page #card-infos {
    padding-top: 10px;
    padding-left: 10px;
	width: calc(200% / 3.33);
}

#card-prinder-page {
	padding-top: 10px;
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	padding-left: 10px;
	align-content: flex-start;
    height: 100%;
    width: 100%
}

.card-prinder-left {
    width: 49%;
    float: left;
    height: 100%;
    margin-top: 10px;
    margin-right: 5px;
}

.card-prinder-right {
    width: 49%;
    float: right;
    height: 100%;
    margin-top: 10px;
    margin-left: 5px;
}

#card-prinder-page .card-img-container-prinder {
    margin-left: 5px;
    margin-right: 5px;
    position: relative;
}

#card-prinder-page .card-prinder-left .card-img-container-prinder{
    width: 100%;
    height: calc(100% - 10px);
}

#card-prinder-page .card-prinder-right .card-img-container-prinder{
    width: 100%;
    height: calc(100% - 10px);
}

#card-prinder-page .card-large-img-prinder{
    max-width:100%;
    max-height:calc(100% - 20px);
    height:calc(100% - 20px);
    object-fit: contain;
    vertical-align: middle;
    border-style: none;
    display:block;
    margin:auto;
    border-radius: 4%;
    position: relative;
}

#card-prinder-page .card-large-img-prinder:hover {
    cursor: pointer;
}


/* ---------------------------------------------------
    MEDIAQUERIES CARD INFO
----------------------------------------------------- */
@media (min-width: 1981px) {
    #card-info-page #card-card {
        height: calc(100% - 60px);
    }

    #card-prinder-page {
        height: 100%;
    }
}

@media (max-width: 1280px) {

    #card-info-page {
        flex-direction: row;
        height: calc(100% - 10px);
        padding-bottom: 10px;
    }

    #card-info-page #card-card {
    	width: calc(100% - 20px);
    	margin-bottom: 10px;
    	max-height: 100%;
    }

    #card-info-page #card-infos {
    	width: calc(100% - 20px);
    	height: unset;
    }

    #card-info-page #card-reprints {
        display: block;
        vertical-align: top;
        padding-bottom: 300px;
    }
}

@media (max-width: 768px) {
    #card-info-page {
        font-size: 0.85em;
    }

    #card-info-page #card-reprints .reprint {
        display: none;
    }

    #card-info-page #card-card {
       width: 100%;
       height: 50%;
       max-height: 50%;
       margin-top: 5px;
    }

    #card-info-page #card-card .card-img-container {
        height: 100%;
        margin: 0;
     }

     #card-info-page #card-card .card-large-img {
         height: 100%;
         max-height: 100%;
     }

    #card-prinder-page {
        padding-top: 5px;
        padding-bottom: 5px;
        overflow: hidden;
    }

    .card-prinder-left {
        width: 100%;
        height: 49%;
        float: none;
        margin-top: 5px;
        margin-right: 0;
     }

    .card-prinder-right {
        width: 100%;
        height: 49%;
        float: none;
        margin-top: 0px;
        margin-right: 0px;
     }

     .card-img-container-prinder {
        height: 100%;
     }

     #card-prinder-page .card-prinder-left .card-img-container-prinder{
         height: 100%;
     }

     #card-prinder-page .card-prinder-right .card-img-container-prinder{
         height: 100%;
     }

     #card-prinder-page .card-large-img-prinder{
         max-height:calc(100% - 5px);
     }
}


/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .card-large-img:hover {
        transform: scale(1.01);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        border-radius: 4%;
    }

    .card-large-img-prinder:hover {
        transform: scale(1.01);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
        border-radius: 4%;
    }

    .card-large-img-prinder:active {
        transform: scale(1.00);
    }
}

.set-list-wrapper {
    padding: 15px;
}

.card-search-wrapper {
    padding: 15px;
}

/* ---------------------------------------------------
    MEDIAQUERIES SIDEBAR AND CONTENT
----------------------------------------------------- */

@media (max-width: 768px) {

    #sidebar {
        min-width: var(--sidebar-mini-width);
        max-width: var(--sidebar-mini-width);
        text-align: center;
    }

    #sidebar .menuButton {
        font-size: 0.75em;
    }

    #sidebar .menu-item {
        display: none;
    }

    #content  {
        height: 100%;
        width: calc(100% - var(--sidebar-mini-width));
        margin-left: var(--sidebar-mini-width);
    }

    .loading:before {
        left: var(--sidebar-mini-width);
    }

    #custom-loader:before {
        left: var(--sidebar-mini-width);
    }
}
.fa-spinner {
    color: #fff;
    margin-top: 250px;
}

.bd-title {
    color: #fff;
}



.heart {
  fill: red;
  width: 100px;
  animation: pulse 3s ease infinite;
  position: absolute;
  top: 70%;
  left: 50%;
  margin: -50px 0 0 -50px;
  opacity: 0;
  pointer-events: none;
}

.card-large-img-prinder:hover ~ .heart {
    opacity: 0.3;
}

.heart {
    opacity: 0;
    transition:opacity 0.2s ease;
}

.heart:hover {
    opacity: 0.3;
}

.card-large-link {
  background-color: #050505;
  position: absolute;
  top: 95%;
  left: 50%;
  margin: -24px 0 0 -24px;
  opacity: 0;
  border:1px solid #ccc;
  width: 50px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.79);
  border-radius: 4px;
  cursor: pointer;
}

.card-large-img-prinder:hover ~ .card-large-link {
    opacity: 0.75;
}

.card-large-link {
    opacity: 0;
    transition:opacity 0.1s ease;
}

.card-large-link:hover {
    opacity: 1;
}

.card-large-link:hover ~ .card-large-img-prinder {
    transform: scale(1.01);
    box-shadow: 2px 2px 0 2px #778899;
    border-radius: 4%;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

#sidebar .sidebar-down {
    position: absolute;
    display: inline-block;
    bottom: 0;
    left: 5px;
    padding: 0;
    border-bottom: none;
}

#sidebar ul.sidebar-down {
    padding: 0;
    border-bottom: none;
}


.login-container,
.register-container,
.confirmation-container,
.register-final-container,
#please-login-container
{
    max-width: 600px;
    margin-left: 20px;
    margin-top: 20px;
    padding: 20px;
    color: white;
    background-color: #21252f;
}

#display-error {
    max-width: 600px;
    margin-left: 20px;
    margin-top: 20px;
    padding: 20px;
    color: white;
    background-color: #21252f;
}

.url-white {
    color: white;
}

.center_button {
    display: block;
    margin: 0 auto;
}

.email {
    color: white;
}

.hide {
    display: none;
}


.oracle-text {
    white-space: pre-wrap;
}

.wrapper-top-right-buttons {
    position: relative;
    width: 100%;
    height: 0;
    z-index: 45;
    color: white;
}

.left-button {
    position: absolute;
    top: 10px;
    right: 0;
    cursor: pointer;
    font-size: 1.8em;
    margin-right: 75px;
    padding-right: 10px;
}

.right-button {
    position: absolute;
    top: 10px;
    right: 0;
    cursor: pointer;
    font-size: 1.8em;
    margin-right: 50px;
}

.close-button:before {
    content: '✕';
}
.close-button {
    /*position: absolute;*/
    position: fixed;
    top: 0;
    right: 0;
    cursor: pointer;
    color: white;
    font-size: 2em;
    margin-right: 17px;
}

dl, ol, ul {
    margin-bottom: 0.1em;
}