.ui-dialog-titlebar {
    display: none;
}

label {
    font-weight:bold;
}

.modal-header {
    flex-wrap: wrap;
}
.container {
    margin: auto;
    max-width: none;
}

.edit_card_button {
    max-width: 75px;
    align-self: flex-end;
}
.modal-content .textinput,.select,.form-control,.text,.textarea,.numberinput {
    font-size: 12px;
}

.numberinput, .input-number {
    max-width: 100px;
}

.form-group {
    margin-bottom: 0;
}

.main-container {
    display: inline-flex;
    flex: auto;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 1em 1em;
    overflow-y: scroll;
    overflow-x: visible;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

 #bootstrap-overrides .arcs {
    border: 3px solid black;
    font-size: 2vmin;
    display: block;
    min-width: 4.2vmin;
    min-height: 4.2vmin;
    max-height: 4.2vmin;
    max-width: 4.2vmin;
    border-radius: 50%;
    box-shadow: 0 0 20px 5px #a0a0a0;
    position:relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

 #bootstrap-overrides .arcs > div {
    font-size: 0.7vmin;
    text-align: center;
    text-shadow: 1px 1px 3px #000000;
    position: absolute;
    width: 2vmin;
    height: 1.5vmin;
    line-height: 1.5vmin;
}

 #bootstrap-overrides .arcs > div.bottom {
    bottom: -0.25vmin;
}

/*******************/
/*** TAB CONTENT ***/
/*******************/
#bootstrap-overrides .tab {
    display: flex;
    flex-wrap: nowrap;
}

@media screen and (max-width: 400px) {
    #bootstrap-overrides .tabcontent {
     border: none;
    }
}

@media screen and (min-width: 401px) {
    #bootstrap-overrides .tabcontent {
     border: 1px solid #ccc;
     border-top: none;
    }
}

/****************
***** LOGOS *****
****************/
.rank_logo{
    background: url('../img/common/laurel_logo_v1.svg') 50% 50% no-repeat;
}

.role_logo{
    background: url('../img/common/octogon_symbol_v1.svg') no-repeat;
}

.cp_logo{
    background: url('../img/common/cp_logo_v1.svg') no-repeat;
}

.power_level_logo{
    background: url('../img/common/power_level_logo_v1.svg') no-repeat;
}

.points_logo{
    background: url('../img/common/points_logo_v1.svg') no-repeat;
}

.warp_charge_logo {
    background: url('../img/common/octogon_symbol_v1.svg') no-repeat;
}

#bootstrap-overrides .logo {
    width: 80px;
    height: 80px;
    justify-content: center;
    align-items: center;
    background-position: 50% 50%;
    background-origin: padding-box;
    background-size: 75%;
    font-weight: bold;
    display: flex;
}

#bootstrap-overrides .logo.rank_logo {
    background-size: 65%;
}

#bootstrap-overrides .name-frame {
    font-weight: 700;
    padding: 5px;
    text-align: center;
    overflow: hidden;
    max-height: 100%;
}


@media screen and (min-width: 400px) {
    #bootstrap-overrides .logo {
        font-size: 15px;
    }
}

@media screen and (min-width: 720px) {
    #bootstrap-overrides .logo {
        font-size: 20px;
    }
}

#bootstrap-overrides .modal-dialog {
    margin: 1em auto !important;
}

#bootstrap-overrides .modal-content {
    margin: 1em auto !important;
}

@media screen and (max-width: 1099px) {
    #bootstrap-overrides .modal-dialog {
        width: 90%;
        height: auto;
        min-width: 850px;
    }
}

@media screen and (min-width: 1100px) {
    #bootstrap-overrides .modal-dialog {
        width: 90%;
        max-height: 90%;
        min-width: 1000px;
    }
}

#bootstrap-overrides .modal-body{
    display:flex;
    flex-direction: column;
}

#bootstrap-overrides .center {
    margin-left: auto;
    margin-right: auto;
}

/* Style the button that is used to open and close the collapsible content */
.collapsible {
 cursor: pointer;
 width: 100%;
}

/* Style the collapsible content. Note: hidden by default */
.content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/***************/
/*** FILTERS ***/
/***************/

#div_filters {
    width:100%;
    z-index:1;
    padding: 0;
}

.well {
    width: 100%;
}

.collapsible:after {
    content: '\02795'; /* Unicode character for "plus" sign (+) */
}
.active:after {
    content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.block_button {
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
  text-align: center;
}

/* Add/remove buttons in profile forms */
.add-form,.del-form {
    width: 32px;
    height: 32px;
}
.add-form::before{
    content: "+";
}
.del-form:before {
    content: "-";
}

@media screen and (max-width: 400px) {
    .card-table{
        font-size: 10px;
    }
}

@media screen and (min-width: 720px) {
    .card-table{
        font-size: 12px;
    }
}

th,tr {
    text-align: center;
}

/**********************/
/***** CONTAINERS *****/
/**********************/
.card_container_header {
    display: inline-flex;
    font-weight: bold;
    background-color: rgb(var(--bg-color));
    background-color: rgba(var(--bg-color),1);
}

.card_container {
    background-color: rgb(var(--bg-color));
    background-color: rgba(var(--bg-color),0.7);
    padding: 0 0.25em;
}

.card_footer {
    background-color: rgb(var(--bg-color));
    background-color: rgba(var(--bg-color),0.7);
}

.text_container {
    display: flex;
    flex-direction: column;
    padding: 1em;
    margin: 1em;
}

.timer{
    margin-top:-10px;
}

.dialog_popup {
    display: flex;
    flex-direction: row;
    padding: 1em;
    margin: 1em;
    background-color: LightGray;
    border: 4mm ridge Grey;
    border-radius: 1em;
}

.plusminusbutton {
    max-width: 150px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    flex-wrap: nowrap;
    align-self: center !important;
}

.plusminusbutton-header {
    font-weight: bold;
    align-self: center;
}
/****************************/
/***** COLLAPSE BUTTONS *****/
/****************************/

.collapse_button::before{
    content: "↓"
}

.expand_button::before{
    content: "↑"
}

.collapse_button, .expand_button{
    cursor: pointer;
    height:32px;
}

#bootstrap-overrides .progress{
    position: relative;
}

/******************/
/***** XP BAR *****/
/******************/
.progress-value{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.div_errors {
    display: none;
}

#goToTop {
    width: 40px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    z-index: 1000;
    display: none;
    position: fixed;
    bottom: 50px;
    right: 30px;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
    opacity: 0.7;
}

#goToTop:hover {
    cursor: pointer;
}

#bootstrap-overrides .modal-footer.delete-footer{
    display: flex;
    justify-content: space-between;
}

#bootstrap-overrides .gray-out{
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    filter: gray;
    position:relative;
    opacity: 0.7;
}

.out-of-action{
    position:relative;
}

.out-of-action::after{
    content: "";
    position: absolute;
    pointer-events:none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/*Begin cookieConsent*/
#cookieConsent {
    background-color: rgba(20,20,20,0.8);
    min-height: 26px;
    font-size: 14px;
    color: #ccc;
    line-height: 26px;
    padding: 8px 0 8px 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
    z-index: 9999;
}

#cookieConsent a {
    color: #4B8EE7;
    text-decoration: none;
}

#cookieConsent a.cookieConsentOK {
    background-color: gold;
    color: #000;
    display: inline-block;
    border-radius: 5px;
    padding: 0 20px;
    cursor: pointer;
    float: right;
    margin: 0 60px 0 10px;
}

#cookieConsent a.cookieConsentOK:hover {
    background-color: darkgoldenrod;
}
/*End cookieConsent*/

/******************/
/***** ERRORS *****/
/******************/
/* The icon is cool but it makes stats unreadable (div too small) */
input.is-invalid {
    background-image: none !important;
    background-size: 0 !important;
    background-position: none !important;
    padding-right: 0 !important;
}

.modal-backdrop {
    display:none;
}
.modal-backdrop.in {
    opacity: 0;
}
.modal {
    z-index: inherit !important;
    position: relative;
}

/************/
/*** Tags ***/
/************/
.badge {
    margin: 0.25em;
}

/**************/
/*** Titles ***/
/**************/
h2 {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: bold;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h2:before,
h2:after {
    content: '';
    border-top: 2px solid;
    margin: 0 20px 0 0;
    flex: 1 0 20px;
}

h2:after {
    margin: 0 0 0 20px;
}
