body{
    background: url("../images/background-pattern.gif");
    color: #3c4858;
    font-family: 'Varela Round', sans-serif;
    height: 100%;
}
@media (min-width:768px){
    body{
        padding-top:0
    }
}
label {
    font-size: .8rem;
    color: #6c6b6b;
    display: block;
    text-align: left;
}
hr {
    background: #e1e1ef;
    border: none;
    height: 1px;
}
.vertically-center {
    position: absolute;
    left: 50%;
    top: 45%;
    -webkit-transform: translate(-50%, -45%);
    -ms-transform: translate(-50%, -45%);
    transform: translate(-50%, -45%);
}
.white {
    color: #fff;
}

/* UI */
.buildings-right {
    background: url(../images/buildings-right.gif) no-repeat;
    width: 315px;
    height: 300px;
    position: fixed;
    bottom: 0;
    right: 0;
    background-size: 100%;
    z-index: -1;
}
.buildings-left {
    background: url(../images/buildings-left.gif) no-repeat;
    width: 315px;
    height: 300px;
    position: fixed;
    bottom: 0;
    left: 0;
    background-size: 100%;
    z-index: -1;
}

/* Containers */
.utility {
    background: url("../images/background-pattern.gif");
}
.container {
    max-width: 990px;
}
.container-utility {
    margin: 0 auto;
    padding: 3rem 3rem 2rem;
    width: 40rem;
} 
.container-utility.onboarding {
    width: 52rem;
}
.container-utility.signin, .container-utility.signup {
    width: 30rem;
}
@media (max-width:768px){
    .container-utility.signin, .container-utility.signup  {
        width: 100%;
    }
}
.container-utility.signup {
    margin-top:30px;
}
@media (max-width:768px){
    .container-utility {
        width: 100%;
        padding: 30px;
    }
}

/* Inputs */
input:not([type]), input[type=text]:not(.browser-default), input[type=password]:not(.browser-default), input[type=email]:not(.browser-default), input[type=url]:not(.browser-default), input[type=time]:not(.browser-default), input[type=date]:not(.browser-default), input[type=datetime]:not(.browser-default), input[type=datetime-local]:not(.browser-default), input[type=tel]:not(.browser-default), input[type=number]:not(.browser-default), input[type=search]:not(.browser-default), textarea.materialize-textarea {
    border: 1px solid #d7d7d7;
    height: 2.5rem;
    padding: 0 0 0 10px;
    border-radius: 3px;
    margin-top: .3rem;
    padding-left: -20px;
}
input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]) {
    border-bottom: 1px solid #d7d7d7;
    -webkit-box-shadow: none;
    box-shadow: none;
}
::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ccc;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #ccc;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #ccc;
}
.form-control::-webkit-input-placeholder {
  color: #ccc;
}

/* Custom checkbox */
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 18px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 1px solid #dfdfdf;
    border-radius: 2px;
}
.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}
.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
    border: none;
    border-radius: 2px;
}
.checkbox-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}
.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Custom radios */
.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.radio-container .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}
.radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}
.radio-container input:checked ~ .checkmark {
    background-color: #01d1fe;
}
.radio-container .checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
.radio-container input:checked ~ .checkmark:after {
    display: block;
}
.radio-container .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Tables */
.table th {
    padding: .75rem;
    vertical-align: top;
    border-top: none;
}
.table thead th {
    vertical-align: bottom;
    border-bottom: 1px solid #dee2e6;
    font-size: .9rem;
    padding: 15px;
    color: #777;
}
.table td, .table th {
    padding: .5rem;
    vertical-align: top;
}

/* Cards */
.card-body {
    padding: 2rem;
}

/* Navagation */
.navbar {
    background: #01d1fe;
}
.navbar-right {
    position: absolute;
    right: 20px;
}
.navbar .container{
    position: relative;
}
.navbar-brand {
    display: inline-block;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 0;
    font-size: 1.7rem;
    line-height: inherit;
    white-space: nowrap;
}

/* Modal */
.modal-header, .modal-footer {
    border: none;
}

/* Logos */
.navbar-brand .logo {
    width: 150px;
    margin-right: 1rem;
    position: absolute;
    margin-left: 50%;
    top: 0;
    left: -75px;
}
@media (max-width:768px){
    .navbar-brand .logo {
        width: 120px;
        left: -60px;
    }
}
.logo-md {
    width: 100%;
    margin-top: -100px;
    max-width: 170px;
}
.logo-lg {
    width: 100%;
    margin-top: -100px;
    max-width: 200px;
}

/* Pin code sign in */
.pincode-input-container {
    display:inline-flex;
    width:100%;
}
.pincode-input-container input {
    margin: 10px;
    height: 70px !important;
    padding: 0 !important;
    font-size: 35px;
}
.pincode-input-container input.first {
    border-top-right-radius:0px;
    border-bottom-right-radius:0px;
}
.pincode-input-text, .form-control.pincode-input-text {
    text-align:center;
    flex-grow:1;
}
.pincode-input-error{
    clear:both;
}
.pincode-input-container.touch .touchwrapper{
    position:relative;
    height:100%;
    flex-grow:1;
}
.pincode-input-container.touch .touchwrapper .pincode-input-text{
    display: block;
    background-color:transparent;
    background:transparent;
    text-align:initial;  
}
.pincode-input-container.touch .touchwrapper .pincode-input-text.noletterspacing{
    letter-spacing: 0 !important;
}
.pincode-input-container.touch .touch-flex{
    display:flex;
    align-items: stretch;
    padding: 0;
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index:-1;
}
.pincode-input-container.touch .touch-flex-cell{
    flex-grow:1;
    border:1px solid #ced4da;
}

/* Onboarding */
.onboarding .logo {
    margin-top: 60px;
}
.onboarding .steps {
    margin-top: 30px;
    list-style: none;
    padding: 0 20px;
}
.onboarding .steps li {
    text-align: left;
    font-size: 18px;
    color: #aaa;
}
.onboarding .steps li.current {
    color: #000;
    font-weight: bold;
}
.onboarding .added-person {
    text-align: center;
    display: inline-block;
}


.avatar-select {
        margin: 5px;
}
.avatar-select .avatar-medium {
    border: 6px solid transparent;
    border-radius: 100%;
    position: relative;
    z-index: 1;
    width: 85px;
}
.selected-avatar {
    width: 135px;
    border: 3px solid #eee;
    border-radius: 100px;
    display: block;
}
.onboarding .kid {
    display: inline-block;
    margin: 10px;
}


/* Messaging */
.message-indicator {
    background: #dd4010;
    width: 22px;
    display: inline-block;
    text-align: center;
    font-size: 12px;
    border-radius: 50px;
    padding: 2px 0;
    color: #fff;
    font-weight: bold;
    vertical-align: text-top;
}


/* Leaderboard */
.leaderboard {

}
.leaderboard .rank {
    font-size: 20px;
    padding: 20px 24px;
}
.leaderboard .total-column {
    padding: 22px 14px; 
}

/* Activity */
.activity {
    min-height: 400px;
}
.no-activity {
    text-align: center;
    padding: 30px;
    color: #ccc;
}
.no-activity p {
    font-size: .9rem;
}
.activity-item {
overflow: hidden;
    margin: 0 0 15px;
}
.activity-item .avatar-sm{
    float: left;
}

.item-details {
    padding: 8px 65px 0 50px;
    line-height: 20px;
}
.no-activity-icon {
    width: 80px;
    opacity: .8;
}

/*.checkbox-menu li label {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
    margin:0;
    transition: background-color .4s ease;
}
.checkbox-menu li input {
    margin: 0px 5px;
    top: 2px;
    position: relative;
}

.checkbox-menu li.active label {
    background-color: #cbcbff;
    font-weight:bold;
}

.checkbox-menu li label:hover,
.checkbox-menu li label:focus {
    background-color: #f5f5f5;
}

.checkbox-menu li.active label:hover,
.checkbox-menu li.active label:focus {
    background-color: #b8b8ff;
}
*/





.utility .navbar-brand {
    margin: 1rem 2rem;
}
.utility .step-progress {
    margin: 1rem 2rem;
}
.nav-link {
        font-size: 1.15rem;
}
.navbar-dark .navbar-nav .nav-link {
    color: #d7f8fc;
}

.main {
    margin-top: 4rem;
    min-height: 40rem;
    position: relative;
}

.navbar-light .navbar-brand {
    color: rgb(134, 172, 26);
}






select {
    display: block;
}

label.error {
    color: #e72a78;
    font-weight: 600;
}
input.error {
    border-color: #e72a78 !important;
}

#confetti{
    height: 100%;
    left: 0px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 98;
    display: none;
}
.tada {
    width: 100px;
    margin-bottom: 20px;
}
.welcome, .celebration {
    background: #3c4858;
    color: #fff;
    width: 500px;
    position: fixed;
    top: 25%;
    z-index: 99;
    left: 50%;
    margin-left: -250px;
    padding: 50px 35px 50px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 1px 1px 33px -9px #000;
}
@media screen and (max-width: 600px) {
    .welcome, .celebration {
        width: 85%;
        left: 0;
        margin: 0 8%;
    }
}


.welcome-subtitle {
    font-size: .8rem;
    max-width: 300px;
    margin: .3rem auto 1rem;
    line-height: 1rem;
}
.celebration-tada-icon {
    width: 130px;
    margin-top: -60px;
}
.celebration-title {
    font-size: 1.8rem;
    margin: 0;
}
.celebration-who {
    font-size: 3rem;
    margin: 0;
}
.celebration-level-number {
    color: #fff;
    font-size: 1.6rem;
    background: linear-gradient(90deg,#58cafc,#00f6fb);
    border-radius: 23px;
    padding: 4px;
    font-weight: 600;
    text-shadow: 1px 1px 2px #5b83c6;
    margin: 2rem auto;
    max-width: 200px;
}
.celebration-close-btn {
    color: #b4c1d3;
    border-radius: 50px;
    position: absolute;
    top: 15px;
    right: 15px;
}
.celebration-1 {
    margin-left: -187px;
    top: 23%;
}

.celebration {
   display: none;
}


.btn-block {
    width: 100%;
}



 


/* User Select */
.user-select .users {
    margin-top: 1rem;
}

.user-select.users .user {
    margin-bottom: 1rem;
    padding: 0;
    position: relative;
    border: none;
    max-width: 85px;
    float: left;
    margin-right: 10px;
}
   
.user-select.users .user .avatar {
    width: 100%;
    border-radius: 100%;
    border: 6px solid #ffffff;
    cursor: pointer;
}
.user-select.users .user.selected .avatar, .avatar-select.selected .avatar-medium {
    border-color: #00d1fe;
    background: #00d1fe;
    opacity: 1;
}
.user-select.users .user.selected:before, .avatar-select.selected:before{
    background: #fff;
    font-family: "Font Awesome 5 Free";
    content: "\f058";
    color: #00d1fe;
    position: absolute;
    right: 3px;
    font-weight: bold;
    z-index: 9;
    font-size: 23px;
    height: 23px;
    width: 23px;
    overflow: hidden;
    line-height: 23px;
    border-radius: 50px;
    top: 1px;

}

.user-select.users .user.selected .avatar:hover, .avatar-select.selected .avatar-medium:hover {
    border-color: #00d1fe;
    background: #00d1fe;
    opacity: 1;
}
.user-select.users .user .avatar:hover, .avatar-select .avatar-medium:hover {
    border-color: #b8f2fe;
}


.modal .users {
    margin-top: 1rem;
    overflow: hidden;
    text-align: center;
}
.modal .user-select.users .user {
    display: inline-block;
    float: none;
}



.completed .goals {
    display: none;
}
.completed .goals .goal {
    margin-bottom: 10px;
}
.completed .goals .goal:hover {
    border-color: #a0c92c;
    background: #f4fed9;
    cursor: pointer;
}
.completed .goals .goal.selected {
    border-color: #a0c92c;
    background: #f4fed9;
}


.completed .kids .card:hover {
    border-color: #a0c92c;
    background: #f4fed9;
    cursor: pointer;
}


/* My Jewels */
.my-jewels {
    background: linear-gradient(180deg, rgba(242,242,242,1) 0%, rgba(255,255,255,1) 62%);
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 17px;
    font-weight: bold;
    position: absolute;
    right: 16px;
    color: #000;
}
@media (max-width:768px){ 
    .my-jewels {
        font-size: 15px;
    }
}
.my-jewels .jewel {
    vertical-align: text-bottom;
    width: 26px;
    margin-right: 8px;
}
@media (max-width:768px){ 
    .my-jewels .jewel {
        width: 22px;
    }
}
.my-jewels-text {
    display: inline-block;
    margin: 2px 0 0;
    padding: 5px 0px 5px 18px;
}
@media (max-width:768px){ 
    .my-jewels-text {
        margin: 0;
    }

}


/* Tasks */
.completion-amount-title {
    color: #ccc;
    padding-top: 4px;
}
.no-tasks {
    text-align: center;
    color: #ccc;
    font-size: .9rem;
}
@media (max-width:768px){
    .new-task-btn {
        position: fixed;
        bottom: 18px;
        right: 18px;
        z-index: 99;
        box-shadow: 1px 1px 15px -7px #000;
        font-size: 20px;
        padding: 9px 21px;
    }
}
.tasks .edit-icon {
    color: #ccc;
    z-index: 9;
    display: none;
    font-size: 12px;
    border: 1px solid #ccc;
    padding: 1px;
    border-radius: 50%;
    width: 22px;
    text-align: center;
    vertical-align: middle;
    margin: 0 10px;
    background: #fff;
    position: relative;
    z-index: 9;
}
.tasks .edit-icon:hover {
    color: #01d1fe;
    border-color: #01d1fe;
}

.tasks .task:hover .edit-icon {
    display: inline-block;
}


.users-tasks {
    margin-bottom: 20px
}
.users-tasks .user {
    padding: 15px 15px 0;
    font-size: 14px;
    color: #000;
    font-weight: bold;
}
.users-tasks .name {
    vertical-align: text-top;
    font-size: 14px;
    color: #555;
    display: inline;
    margin: 0;
}
.tasks {
    margin: 15px 0 0;
    padding: 0;
    list-style: none;
}
.tasks .task {
        border-top: 1px solid #dfdfdf;
    padding: 15px;
}




h1 {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 1rem;
    font-weight: bold;
}
@media (max-width:768px){ 
    h1 {
        font-size: 1.5rem;
        letter-spacing: -1px;
    }
}
.utility h1 {
    font-weight: 600;
    letter-spacing: -.5px;
}
h2 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
    font-weight: 500;
}
h3 {
    font-size: 1.4rem;
    line-height: 110%;
    margin: 1.5rem 0;
    font-weight: 600;
}
a {
    text-decoration: none;
    font-weight: bold;
    color: #01d1fe;
}    
strong {
    font-weight: 800;
    color: #000;
}

.utility p {
    font-size: .9rem;
    margin: 0 0 2rem;
}


.activity-list {
    list-style: none;
    padding: 0;
    color: #777;
    margin-top: -15px;
    font-size: 1rem;
}
.activity-list .date-group {
    margin-bottom: 24px;
    position: relative;
}
.activity-list .date-group-time {
    position: relative;
    background: #fff;
    top: 10px;
    font-weight: bold;
    color: #000;
    font-size: .9rem;
    color: #777;    
}
.activity-list li {
    margin-bottom: 10px;
}
.activity-list .activity-item:hover {
   background: #f2fdff;
}

.activity-list  .revoke {
    font-size: 12px;
    color: #aaa;
    margin: 2px 5px;
    display: none;
}
.activity-list  .activity-item:hover .revoke {
    display: block;
}


a.back {
    padding: 1rem;
    display: block;
    font-size: 1.1rem;
}



label {
font-size: .9rem;
    color: #000000;
}
.form-group.selected label{
    font-weight: bold;
    color: #000;
}
[type="checkbox"]+span:not(.lever) {
    font-size: 1.1rem;
}
[type="checkbox"]:checked+span:not(.lever):before {
    border-right: 4px solid #e72a78;
    border-bottom: 4px solid #e72a78;
}

.form-group {
    margin-bottom: 15px;
}


.btn-primary, .btn-primary:hover, .btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #01d1fe;
    border-color: #01d1fe;
    font-weight: bold;
    border-radius: 50px;
}
.btn-primary.focus, .btn-primary:focus {
    background-color: #01d1fe;
    border-color: #01d1fe;
}
.btn-primary:hover {
    opacity: .8;
}



/* Avatars */
.avatars {
    max-height: 260px;
    overflow: scroll;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    padding: 10px;
    background: #fafafa;
}
.tiny-avatar {
    width: 30px;
    vertical-align: middle;
    margin-right: 6px;
}
.avatar-medium {
    width: 85px;
}


.avatar-xsm {
    width: 24px;
    vertical-align: top;
    margin-right: 4px;
}
.avatar-sm {
    width: 40px;
    margin: 2px 0 0;
}
.avatar-md {
    width: 50px;
    margin: 2px 0 0;
}
.avatar-lg {
    width: 100%;
    max-width: 170px;
}
.avatar-xlg {
    width: 100%;
    max-width: 300px;
}

.navigation {
    list-style: none;
    margin: 16px 0 0;
}
@media screen and (max-width: 600px) {
    .navigation {
        display: none;
    }    
}    
.navigation li {
    float: left;
    margin-right: 21px;
}
.navigation li a {
    font-size: 15px;
    color: #ffffff;
    letter-spacing: .02rem;
}
.navigation ul.dropdown-content li a {
    color: #fa4269;
}
.navigation i.right {
    margin-left: 0;
}

.sidenav-trigger {
    position: absolute;
    color: #fff;
    margin: 4px 0;
    display: none;
}
@media screen and (max-width: 600px) {
    .sidenav-trigger {
        display: block;
    }    
}
.sidenav-trigger .material-icons {
    font-size: 36px;
}


.user-list {
    width: 100%;
    padding: 0 1rem;
    list-style: none;
}
.user-list li {
    border-bottom: 1px solid #ebeced;
    overflow: hidden;
    padding: 1rem 0;
}

.name {
    font-size: 18px;
    color: #000;
    font-weight: 900;
    display: block;
    margin: .8rem 0.5rem .5rem;
}

.total {
    font-size: 18px;
    font-weight: bold;
}



/* Jewels */
.jewel-sm {
    width: 21px;
    vertical-align: top;
    padding-top: 5px;
}
.jewel-xsm {
    width: 19px;
    vertical-align: text-top;
    margin-top: -1px;
}


/* Profile */
.profile .my-jewels {
    font-size: 21px;
    position: static;
    margin: 0 auto;
    display: inline-block;
}

/* Users/Family */
.family {
    text-align: center;
}
.family .user {
    width: 175px;
    padding: 20px;
    display: inline-block;
    position: relative;
}
.family .user:hover .edit-icon {
    display: block;
}
.family .edit-icon {
    display: none;
    position: absolute;
    right: 36px;
    background: #fff;
    border: 1px solid #ccc;
    width: 30px;
    border-radius: 50%;
    height: 30px;
    font-size: 14px;
    padding: 3px 0;
    color: #bbb;
    top: 125px;
}


.pin {
    background: #002945;
    color: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: .9rem;
}

.level {
    background: #002945;
    color: #fff;
    padding: 3px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 50px;
    width: 130px;
    margin: -24px auto 0;
    z-index: 2;
    position: relative;
}



.pcards {
    width: 100%;
    text-align: center;
    padding: 20px;
    position: fixed;
    top: 20%;
        display: none;
}
.pcard {
    width: 230px;
    height: 300px;
    border-radius: 5px;
    transition: .5s;
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    margin: 10px; 
}

@media screen and (max-width: 600px) {
    .pcard {
        width: 135px;
        height: 185px;
    }
}

/* Playing card front */
@media screen and (max-width: 600px) {
.pcard-logo {
    width: 89%;
        padding: 84px 35px;
    }
}
.pcard-logo {
    width: 100%;
    padding: 60px 35px;
}

/* Playing card selected */
.pcard.pcard-selected-pullout {
    width: 330px;
    height: 450px;
}

/* Playing card back */
.pcard-title {
    margin: 20px 5% 20px;
    font-size: 1.5rem;
    font-weight: bold;
}
.pcard-amount {
    font-size: 33px;
    font-weight: bold;
    margin: 0;
}
.pcard-smiley {
    width: 150px;
    margin: 52px 0 40px;
}
.pcard-amount .jewel {
width: 35px;
    margin: 0 0 0 6px;
    vertical-align: text-top;
}
.pcard-type-block {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 0 35px;
    border-radius: 50px;
}

/*
.pcard-type-block.pay .pcard-type {
    color: #d1390a;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 35px;
}

.pcard-type-block.collect .pcard-type {
    color: green;
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 35px;
}*/

.cards-draw-btn {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-animation-name: hvr-pulse-grow;
    animation-name: hvr-pulse-grow;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
}



.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.flip-card.selected .flip-card-inner {
  transform: rotateY(180deg);
}
.flip-card {
    background-color: transparent;
    width: 230px;
    height: 300px;
    perspective: 1000px;
}

@media screen and (max-width: 600px) {
    .flip-card {
        height: 185px;
        width: 135px;
    }
}


.pcard-selected-pullout .flip-card {
    width: 330px;
    height: 450px;
}


.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* 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;
  border-radius: 5px;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
    background: #fff;
    color: black;
    border: 13px double #cff5ff;
}

/* Style the back side */
.flip-card-back {
    background-color: #fff;
    color: #000;
    transform: rotateY(180deg);
    box-shadow: 1px 1px 23px -7px #000;
    border-radius: 10px;
}

.flip-card-back.pay {
    border: 15px solid #d13809;
    color: #d13809;
}
.flip-card-back.collect {
    border: 15px solid green;
    color: green;
}

.jewel-lg {
    width: 110px;
    margin-top: 90px;
}


.backdrop {
        background: #000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: .6;
}

@keyframes right-to-left{
    from{right:0}
    to{right:30px}
}
