@import url("https://use.typekit.net/ihb1zfz.css");
@import url("https://use.typekit.net/qnl4pen.css");
@import url("https://use.typekit.net/ucr2bva.css");

@media only screen and (max-width: 540px) {  

    .card {
        margin:auto!important;
        margin-top:20px!important;
    }

    #btn-new-deck {
        width:100%;
    }

    #btn-folders {
        width:100%;
    }

     .col-md-auto {
        flex: 0 0 auto;
        width: auto;
      }

}

html, body {
    height: 100%;
    margin: 0px;
    background-color:#e2e2e2;
    background: url(https://mountbakergames.com/manifold/flagship/images/search-bg.jpg) no-repeat center center; 
    -webkit-background-size: cover!important; 
    -o-background-size: cover!important; 
    background-size: cover!important;
    background-attachment: fixed;

}

h1, h2, h3, h4, h5 {
    font-family: "century-gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

footer {
    height: 100px;
    padding: 25px;
    background-color: #000;
    color: #777;
    border-top: 4px solid #07c9f7;
}

#set-1 {
  background-image: url(https://www.mountbakergames.com/manifold/images/story/set-1.jpg);
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
}

.story-container {
    margin-bottom: 15px;
}

.story-container a, .story-container a:hover {
    color:#fff;
    text-decoration: none;
}

.story-heading {
    background-color: #383938;
  color: #fff;
  padding: 25px 25px 15px;
  margin-top: 20px;
  cursor: pointer;
}

.story-sections {
border: 1px solid #000;
  padding: 0px 15px;
    padding-bottom: 0px;
  background-color: #e0e2e2;
  margin-left: 15px;
  margin-right: 15px;
  padding-bottom: 15px;
}

.story-list {
   background-color: #383938;
  color: #fff;
  padding: 15px 15px 10px 15px;
  margin-top: 15px;
  margin-left: 0px;
  margin-right: 0px;
}

.container-fluid {
    min-height: 600px;
}

#search-results {
    min-height: 300px;
}

.card-release {
    background-color: #000;
  color: #fff;
  padding: 15px;
}

.card-release-item {
    cursor: pointer;
    color:#fff;
}
.grow { 
transition: all .2s ease-in-out; 
}

.grow:hover { 
transform: scale(1.1); 
}

.navbar-brand {
    margin-left:15px;
}

.logo-font {
    font-family: "trajan-sans-pro", sans-serif!important;
    font-weight: 400!important;
    font-style: normal!important;
}

a {
    color:#000000;
}

p {
    font-size: 16px;
    margin-bottom: 10px;
}

.card-image-view {
    cursor: pointer;
}

.toast-header {
    background-color:#000000;
    color:#ffffff;
}

.navbar {
    border-bottom: 4px solid #07c9f7;
    font-family: "trajan-sans-pro", sans-serif!important;
    font-variation-settings: "STYL" 2;
}

.hide, .hide-2{
    display: none!important;
}

.login-error {
    color: red;
}

.error {
    color: #c50000;
}

.brand-font {
    font-family: "ff-cocon-pro", sans-serif!important;
    font-weight: 400!important;
    font-style: normal!important;
}

nav {
    background-color: #fff;
}

/* Overlay styles */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loading-spinner {
    border: 8px solid #000; 
    border-top: 8px solid red; 
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-gear {
    float:right;
}

.fa-link {
    cursor: pointer;
}

.btn-primary:hover, .btn-primary:active, a.active, .btn-primary:focus {
    color: #ffd800;
    background-color: #000000;
}

.btn-primary, #pills-tab .nav-link.active {
    color: #ffffff;
    background-color: #2c2c2c;
    border: none;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #d8b700;
    background-color: #2c2c2c;
    border: none;
}

.nav-link {
    color: #000000;
}


.nav-link:hover {
    color: #d8b700;
}

.btn-primary:disabled {
    background-color: #979797;
}

.page-heading {
    background-color: #000;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 5px;
}

.page-heading h3 {
    font-family: "nimbus-sans", sans-serif;
    font-weight: 700;
    font-style: normal;
    color:#ffffff;
}

.important-message {
    color:red;
}

.modal-header {
    background: #000000;
    color: #fff;
}

.hide {
    display: none;
}

.navbar-nav a {
    color: #000000;
}

.nav-link { 
    font-size: 18px;
}

.user-row {
    padding:10px;
    background-color:#2c2c2c;
    color:#ffffff;
}

.user-row p {
    padding-top: 5px;
    margin-bottom: 0;
}

.user-row a, .user-row a:hover {
    color:#ffffff;
    text-decoration: none;
    font-size:14px;
}

.top-margin {
    margin-top:50px;
}

.top-margin-lg {
    margin-top:100px;
}


a.active {
    background-color: #8400ff!important;
}

.legal-container {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 5px;
    background: #ffffff;
}
.legal-container h3 {
    margin-top:10px;
}

.step-container {
    border: 2px solid #dddddd;
    border-radius: 10px 10px 10px;
    padding: 25px;
    background-color: #fff;
    margin-bottom: 50px;
}

#dice-red, .red-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #770000;
    background-color: red;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-blue, .blue-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #0072dc;
    background-color: #00ceff;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-green, .green-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #00ad10;
    background-color: #00d10a;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-yellow, .yellow-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #adb622;
    background-color: #fff600;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-purple, .purple-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #66128d;
    background-color: #9c00ff;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-black, .black-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #000000;
    background-color: #000000;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#dice-white, .white-dice {
    width: 20px;
    height: 20px;
    border: 2px solid #a7a7a7;
    background-color: #ffffff;
    display: inline-block;
    top: 4px;
    position: relative;
    margin-right:5px;
}

#red-cost, .red-cost {
    width: 20px;
    height: 20px;
    background: url(https://www.mountbakergames.com/manifold/flagship/images/red-gem-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}


#blue-cost, .blue-cost {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/blue-gem-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}


#yellow-cost, .yellow-cost {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/yellow-gem-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}


#green-cost, .green-cost {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/green-gem-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}


#cost-1, .cost-1 {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/1-cost-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#cost-2, .cost-2 {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/2-cost-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#cost-3, .cost-3 {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/3-cost-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#cost-4, .cost-4 {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/4-cost-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#cost-5, .cost-5 {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/5-cost-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#red-locale, .red-locale {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/red-local-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#yellow-locale, .yellow-locale {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/yellow-local-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#green-locale, .green-locale {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/green-local-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

#blue-locale, .blue-locale {
    width: 20px;
    height: 20px;
    background: url(https://mountbakergames.com/manifold/flagship/images/blue-local-icon.png) no-repeat center center;
    background-size: 20px;
    display: inline-block;
    top: 4px;
    position: relative;
}

.mechanics-icon {
    background-color: #000;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    padding: 3px;
    font-size: 10px;
    cursor: pointer;
}

.mechanics-icon:hover {
    color:#fff;
}
