/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
    color: #fff;
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
    color: #333;
    text-shadow: none; /* Prevent inheritence from `body` */
    background-color: #fff;
    border: 1px solid #fff;
}

.lightBackground.btn-default,
.lightBackground.btn-default:hover,
.lightBackground.btn-default:focus {
    border-color: #ccc;
}

/*
 * Base structure
 */

html,
body {
    height: 100%;
    background-color: #2a2a2f;
    background-image: url('../images/chalkboard-gray-3-90-progressive.jpg');
    font-family: "Segoe UI", "Helvetica Neue", "Trebuchet MS", Verdana, sans-serif;
}

body {
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .5);
    box-shadow: inset 0 0 100px rgba(0, 0, 0, .5);
}

.modal-content {
    background-color: #2a2a2f;
    background-image: url('../images/chalkboard-gray-3-90.jpg');
}

.modal-body {
    background-color: white;
}

.modal-footer {
    margin-top: 0;
}

.money {
    font-family: Arial, Helvetica, sans-serif;
}

.smaller {
    font-size: 70%;
}

.disclaimer {
    font-size: 70%;
    line-height: 100%;
}

.panel {
    border: 0;
}

.body-reset {
    color: black;
    text-align: left;
    text-shadow: none;
    box-shadow: none;
}

.blue-link {
    color: #4582ec;
}

.blue-link:visited {
    color: #4582ec;
}

.blue-link:hover {
    color: #1527ec;
}

.blue-link:active {
    color: #4582ec;
}

.blue-link:focus {
    color: #4582ec;
}

.billerNameGrey, .has-error .help-block.billerNameGrey {
    color: #8A8A8A;
}

.blue-panel .panel-heading {
    color: white;
    background-color: #3659b0;
}

.small-button-margin-left {
    margin-left: 10px;
}

#billsTable.table > tbody > tr > td {
    vertical-align: middle;
}

#billsTable .btn {
    font-family: "Segoe UI", "Helvetica Neue", "Trebuchet MS", Verdana, sans-serif;
}

.satoshi-page {
    padding-top: 0px;
    height: 100%
}

.row-no-padding {
    margin-left: 0;
    margin-right: 0;
}

.row-no-padding div {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.adminPaymentProblem {
    color: red;
}

.adminUnconfirmed {
    color: darkgoldenrod;
}

.adminReadyForPayment {
    color: darkgreen;
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
    display: table;
    width: 100%;
    height: 100%; /* For at least Firefox */
    min-height: 100%;
}

.site-wrapper-inner {
    display: table-cell;
    vertical-align: top;
}

.cover-container {
    margin-right: auto;
    margin-left: auto;
}

/* Padding for spacing */
.inner {
    padding: 30px;
}

/*
 * Header
 */
.masthead-brand {
    margin-top: 10px;
    margin-bottom: 10px;
}

.masthead-nav > li {
    display: inline-block;
}

.masthead-nav > li + li {
    margin-left: 20px;
}

.masthead-nav > li > a {
    padding-right: 0;
    padding-left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff; /* IE8 proofing */
    color: rgba(255, 255, 255, .75);
    border-bottom: 2px solid transparent;
}

.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
    background-color: transparent;
    border-bottom-color: rgba(255, 255, 255, .25);
}

.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
    color: #fff;
    border-bottom-color: #fff;
}

@media (min-width: 768px) {
    .masthead-brand {
        float: left;
    }

    .masthead-nav {
        float: right;
    }
}

/*
 * Cover
 */

.cover {
    padding: 0 20px;
}

.cover .btn-lg {
    padding: 10px 20px;
    font-weight: bold;
}

.loggedInUsername {
    color: #999; /* IE8 proofing */
    color: rgba(255, 255, 255, .5);
}

/*
 * Footer
 */

.mastfoot {
    color: #999; /* IE8 proofing */
    color: rgba(255, 255, 255, .5);
}

.contact-grey {
    font-size: 22px;
    color: #999; /* IE8 proofing */
    color: rgba(255, 255, 255, .5);
}

.extra-padding-bottom .row {
    padding-bottom: 40px;
}

.extra-padding-bottom-20 {
    padding-bottom: 10px;
}

.extra-padding-bottom-home-logo {
    padding-bottom: 30px;
}

.graph-padding {
    padding-bottom: 40px;
}

.pay-with-bitcoin {
    width: 100%;
    max-width: 264px;
}

.satoshi-pay {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

/*highlight the last created table row for the user*/
.table-hover tbody tr.paid > td {
    background-color: rgba(152, 251, 152, 0.31);
}

/*
 * Affix and center
 */

@media (min-width: 768px) {
    /* Pull out the header and footer */
    .masthead {
        position: fixed;
        top: 0;
    }

    .mastfoot {
        position: fixed;
        bottom: 0;
    }

    /* Start the vertical centering */
    .site-wrapper-inner {
        vertical-align: middle;
    }

    /* Handle the widths */
    .masthead,
    .mastfoot,
    .cover-container {
        width: 100%; /* Must be percentage or pixels for horizontal alignment */
    }

    .satoshi-page {
        padding-top: 110px;
        height: 100%
    }

    #header-section {
        top: 0;
        left: 0;
        min-height: 90px;
        z-index: 1000;
        background-image: url('../images/chalkboard-gray-3-90.jpg');
        box-shadow: inset 0 100px 100px -100px rgba(0, 0, 0, .5);
        opacity: 0.9;
    }

    #header-section .masthead-brand, #header-section .masthead-nav {
        opacity: 1;
    }

}

@media (min-width: 992px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 970px;
    }

}

@media (min-width: 1200px) {
    .masthead,
    .mastfoot,
    .cover-container {
        width: 1170px;
    }
}

.panel-default .panel-heading,
.panel-default .panel-footer {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
}

.modal .close {
    color: #ffffff;
}

@media (min-width: 768px) {
    .home-toggle {
        vertical-align: top;
    }
}

@media (max-width: 767px) {
    .home-toggle {
        vertical-align: top;
        margin-bottom: 30px;
    }
}

.home-toggle a {
    text-shadow: none;
}

.btn-default.active {
    background-color: #d3d3d3;
}

a.logoLink {
    text-decoration: none;
}

/*Hide those darn number spinners.*/
input[type=number] {
    -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

div.popover {
    font-size: 11px;
    font-family: "Segoe UI", "Helvetica Neue", "Trebuchet MS", Verdana, sans-serif;
}

.transferInfo {
    color: #4582ec;
    cursor: pointer;
}

.paidIcon {
    color: green;
}

/*
 * Placeholder dashboard ideas
 */

.placeholders {
    margin-bottom: 30px;
    text-align: center;
}

.placeholders h4 {
    margin-bottom: 0;
}

.placeholder {
    margin-bottom: 20px;
}

.placeholder img {
    display: inline-block;
    border-radius: 50%;
}

.grid-item {
    width: 25%;
}

.grid-item--width2 {
    width: 50%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* ---- button ---- */

.button {
    display: inline-block;
    padding: 10px 18px;
    margin-bottom: 10px;
    background: #EEE;
    border: none;
    border-radius: 7px;
    background-image: linear-gradient(to bottom, hsla(0, 0%, 0%, 0), hsla(0, 0%, 0%, 0.2));
    color: #222;
    font-family: sans-serif;
    font-size: 16px;
    text-shadow: 0 1px white;
    cursor: pointer;
}

.button:hover {
    background-color: #8CF;
    text-shadow: 0 1px hsla(0, 0%, 100%, 0.5);
    color: #222;
}

.button:active,
.button.is-checked {
    background-color: #28F;
}

.button.is-checked {
    color: white;
    text-shadow: 0 -1px hsla(0, 0%, 0%, 0.8);
}

.button:active {
    box-shadow: inset 0 1px 10px hsla(0, 0%, 0%, 0.8);
}

/* ---- button-group ---- */

.button-group:after {
    content: '';
    display: block;
    clear: both;
}

.button-group .button {
    float: left;
    border-radius: 0;
    margin-left: 0;
    margin-right: 1px;
}

.button-group .button:first-child {
    border-radius: 0.5em 0 0 0.5em;
}

.button-group .button:last-child {
    border-radius: 0 0.5em 0.5em 0;
}

/* ---- isotope ---- */

.grid {
    /*border: 1px solid #333;*/
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- .element-item ---- */

.element-item {
    position: relative;
    float: left;
    width: 258px;
    height: 310px;
    margin: 5px;
    padding: 10px;
    background: #888;
    color: #262524;
}

.element-item > * {
    margin: 0;
    padding: 0;
}

.element-item .name {
    position: absolute;
    left: 10px;
    top: 256px;
    /*text-transform: none;*/
    /*letter-spacing: 0;*/
    font-size: 18px;
    /*font-weight: normal;*/
}

.element-item .symbol {
    max-width: 238px;
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 42px;
    font-weight: bold;
    color: white;
}

.element-item .points {
    position: absolute;
    right: 8px;
    top: 10px;
}

.element-item .weight {
    position: absolute;
    left: 10px;
    top: 276px;
    /*font-size: 12px;*/
}

.element-item {
    background: #eee
}

/*.element-item.alkali          { background: #F00; background: hsl(   0, 100%, 50%); }*/
/*.element-item.alkaline-earth  { background: #F80; background: hsl(  36, 100%, 50%); }*/
/*.element-item.lanthanoid      { background: #FF0; background: hsl(  72, 100%, 50%); }*/
/*.element-item.actinoid        { background: #0F0; background: hsl( 108, 100%, 50%); }*/
/*.element-item.transition      { background: #0F8; background: hsl( 144, 100%, 50%); }*/
/*.element-item.post-transition { background: #0FF; background: hsl( 180, 100%, 50%); }*/
/*.element-item.metalloid       { background: #08F; background: hsl( 216, 100%, 50%); }*/
/*.element-item.diatomic        { background: #00F; background: hsl( 252, 100%, 50%); }*/
/*.element-item.halogen         { background: #F0F; background: hsl( 288, 100%, 50%); }*/
/*.element-item.noble-gas       { background: #F08; background: hsl( 324, 100%, 50%); }*/

.row.vdivide [class*='col-']:not(:last-child):after {
    background: #e0e0e0;
    width: 1px;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    min-height: 70px;
}

.rewardAccent {
    color: #4582ec;
}

#rewardsPanel .panel-body {
    min-height: 2500px;
}

#be-rewarded-h1 {
    margin-top: 5px;
}

.dd-select {
    border-radius: 7px;
    border: solid 1px #ccc;
    position: relative;
    cursor: pointer;
    background: none !important;
}

.dd-desc {
    color: #aaa;
    display: block;
    overflow: hidden;
    font-weight: normal;
    line-height: 1.4em;
}

.dd-selected {
    overflow: hidden;
    display: block;
    padding: 7px;
    font-weight: bold;
    line-height: 0;
    font-size: 37px;
    text-align: left;
}

.dd-pointer {
    width: 0;
    height: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
}

.dd-pointer-down {
    border: solid 10px transparent;
    border-top: solid 10px white;
}

.dd-pointer-up {
    border: solid 10px transparent !important;
    border-bottom: solid 10px white !important;
    margin-top: -16px;
}

.dd-options {
    border: solid 1px #ccc;
    border-top: none;
    list-style: none;
    box-shadow: 0px 1px 5px #ddd;
    display: none;
    position: absolute;
    z-index: 2000;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow: auto;
    text-align: left;
}

.dd-option {
    padding: 10px;
    display: block;
    border-bottom: solid 1px #ddd;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    cursor: pointer;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;

}

.dd-options > li:last-child > .dd-option {
    border-bottom: none;
}

.dd-option:hover {
    background: #f3f3f3;
    color: #000;
}

.dd-selected-description-truncated {
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dd-option-selected {
    background: #f6f6f6;
}

.dd-option-text {
    line-height: 0px !important;
    font-size: 27px;
    margin-top: 14px;
}

.dd-option-image, .dd-selected-image {
    vertical-align: middle;
    float: left;
    margin-right: 5px;
    max-width: 32px;
}

.dd-image-right {
    float: right;
    margin-right: 15px;
    margin-left: 5px;
}

.dd-container {
    position: relative;
    margin-top: 21px;
    font-style: italic;
}

.modal-header .dd-container {
    margin-top: 0;
}


​ .dd-selected-text {
    font-weight: bold;

}

.no-left-padding {
    padding-left: 0;
}

.no-right-padding {
    padding-right: 0;
}

@media (max-width: 992px) {
    .margin-20-small-screen {
        margin-top:20px;
    }
}

.break-word {
    word-wrap: break-word;
}

.pulsate {
    -webkit-animation: pulsate 1s ease-out;
    -webkit-animation-iteration-count: infinite;
    opacity: 0.5;
}
@-webkit-keyframes pulsate {
    0% {
        opacity: 0.5;
    }
    50% {
        opacity: 1.0;
    }
    100% {
        opacity: 0.5;
    }
}