/*
    Bootstrap customisation
    -----------------------
*/

.app-page a,
.app-page h3 {
    font-family: FrizQuadrataW01, "Times New Roman", Times, serif;
}

.app-page .jumbotron {
    background-color: #183D6E;
}

.app-page btn-primary {
    background-color: #1F9300;
}

.app-page .eventCreateFieldName {
    padding-bottom: 3px;
    padding-right: 3px;
    text-align: right;
}

.app-page .eventCreateFieldValue {
    padding-bottom: 3px;
}

.app-page .tournamentOnly {
    display: none;
}

/* Events */

.app-page .formattedTextInput {
    display: flex;
}

.app-page .formattedTextInput textarea {
    flex-shrink: 0;
}

.app-page .formattedTextInput .htmlStyleFormattingDescription {
    flex-grow: 1;
    margin-left: 1em;
}

.app-page .eventCreateFieldValue .htmlStyleFormattingDescription {
    font-size: 0.7em;
}

.app-page .formattedTextInput .htmlStyleFormattingDescription ul {
    list-style: disc outside;
    padding-left: 2em;
}

.app-page .formattedTextInput .htmlStyleFormattingDescription ul li {
    margin-top: 0.25em;
}

/*

    ------------------
*/

#dimmer {
    pointer-events: none;
    background:#000;
    opacity:0.3;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    display:none;
}
.hidden {
    display:none;
}
.tabletype1 {
    margin-top: 10px;
    margin-bottom: 10px;
}

.tabletype1 tbody.tablecontent tr:first-child td {
    border-top: 1px solid black;
    padding-top: 5px !important;
}

.tabletype1 tbody.tablecontent tr:last-child td {
    border-bottom: 1px solid black;
    padding-bottom: 8px !important;
}

.tabletype1 td {
    padding-right: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.tabletype1 tr td:last-child {
    padding-right: 0px !important;
}
.tabletype1 th {
    padding-right: 20px;
    padding-bottom: 4px;
}

.tabletype1 tbody.tablefooter td {
    font-style: italic;
}

.tabletype2 td {
    font-size: 12px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.tabletype2 th {
    font-size: 12px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
}


label.ctrl {
    display: block;
    margin-top: 3px;
    margin-bottom: 3px;
}
span.ctrl {
    display: block;
    margin-top: 3px;
    margin-bottom: 15px;
}

.tableicon {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-right: 1px;
    margin-left: 1px;
    background-size: 32px 32px;
}

.userimage {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.usertext {
    color: white;
    padding-left: 5px;
    padding-right: 5px;
}

.StripeElement {
    height: 34px;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.spinner {
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    border-bottom: 16px solid #3498db;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}

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

#registered-deck-list ol  {
    list-style-type: none;
    counter-reset: elementcounter;
    padding-left: 0;
    font-weight: bold;
    margin-top: 5px;
}

#registered-deck-list ol li:before  {
    content: "Deck " counter(elementcounter) ": ";
    counter-increment:elementcounter;
    font-weight: normal;
}
