body {
  margin: 0;
}

.splash {
    text-align: center;
    margin: 10% 0 0 0;
    box-sizing: border-box;
}

.splash .message {
    font-size: 30px;
    line-height: 30px;
    text-shadow: rgba(0, 0, 0, 0.5) 0 0 15px;
    text-transform: uppercase;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-header .navbar-brand {
    font-size: 20px;
    color: black;
}

.navbar-header .img-icon-header {
    margin: -6px 3px 0px 0px;
    width: 32px;
    height: 32px;
}

.splash .img-icon-spinner {
    text-align: center;
    display: inline-block;
    width: 128px;
    margin-top: 50px;
}

section {
    margin: 0 20px;
}

.header {
    display: table;
    margin: auto;
}

.main-container {
    display:table;
    width: 308px;
    margin-top:50px;
    margin-left:auto;
    margin-right:auto;
}

.attack-type-row {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.option-button {
    padding: 6px 12px 3px 12px
}

.dice-button-row {
    display: block;
    margin: 0px;
}

.dice-button-span {
    float:right;
    margin-top: 20px;
}

.dice-button {
    width: 50px;
    height: 50px;
    margin: 0px 3px;
}

.dice-button-row .dice-button {
    font-size: 30px;
    font-weight: bold;
    padding: 0px;
}

.dice-button-dark, 
.dice-button-dark:hover,
.dice-button-dark:focus {
    color: #ffffff;
}

.dice-button-light,
.dice-button-light:hover, 
.dice-button-light:focus { 
    color: #000000;
}

.dice-button-red {
    background-color: #F22821;
    border-color: #BF1D17;
}

.dice-button-blue {
    background-color: #286090;
    border-color: #204d74;
}

.dice-button-green {
    background-color: #449d44;
    border-color: #398439;
}

.dice-button-yellow {
    background-color: #FAD952;
    border-color: #E6BF14
}

.dice-button-white {
    background-color: #ffffff;
    border-color: #000000
}

.dice-button-black {
    background-color: #000000;
    border-color: #000000
}

.button-cancel {
    margin: 0px 0px 0px 10px
}

.attack-type-button-col {
    text-align: center;
}

.surge-ability-button-col {
    padding-left: 7px;
}
.attack-type-button,
.attack-type-button:focus {
    width: 64px;
    height: 64px;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.attack-type-selected,
.attack-type-selected:focus,
.attack-type-selected:hover,
.attack-type-selected:active {
    border: 5px solid blue;
}

.attack-type-selected:focus.attack-type-selected:hover {
    background-color: #e6e6e6;
}


.attack-type-button-range,
.attack-type-button-range:focus {
    font-size: 30px;
    font-weight: bold;
    width: 96px;
}

.img-icon {
    height: 40px;
}

.img-icon-surge {
    width:30px;
    margin-top: -3px;
}
.img-icon-damage {
    height: 20px;
    margin-top: -3px;
}
.img-icon-dodge, .img-icon-evade {
    height: 20px;
    margin-top: -3px;
}

.defense-button {
    font-size: 20px;
    font-weight: bold;
    margin-left: 3px;
    margin-right: 3px;
    height: 50px;
    width: 60px;
    padding: 1px;
}

.img-icon-defense  {
    height: 15px;
    margin-top: -2px;
}

.surge-button {
    font-size: 20px;
    font-weight: bold;
}

.surge-ability-span {
    margin-top: 10px;
    display: inline-block;
    font-size: 24px;
}

.add-surge-button-row {
    margin: 10px 0px 0px 0px;
    text-align: left;
}

.reroll-option-span {
    margin-top: 10px;
    display: inline-block;
    font-size: 16px;
}

.calculate-button-row {
    text-align:center;
    display: block;
    margin: 0px;
}

.calculate-button {
    font-size: 36px;
    font-weight: bold;
    margin-right: 5px;
}

.legend-item-row {
    display: block;
    margin: 10px 0px 0px 0px;
}

.legend-item-col {
    padding: 9px 5px;
}

.legend-item-button-col {
    padding-left: 0px;
}

.legend-item {
    width: 20px;
    height: 20px;
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    border-radius: 10px;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.combine-datasets-button {
    font-size: 20px;
    font-weight: bold;
    padding-top: 2px;
    text-align: center;
}

.damage-chart {
    width: 100%;
    height: 200px;
}

.chart-label {
    margin: -5px 0px 5px 0px;
    text-align: center;
}

.save-load-menu {
    right: 20px;
    min-width: 70px;
    font-size: 32px;
    font-weight: bold;    
}

.save-load-menu i {
    font-size: 26px;
    font-weight: normal;
}

.save-load-menu .glyphicon-floppy-disk {
    padding: 0px 6px 0px 3px;  
}

.save-load-menu .glyphicon-folder-open {
    padding: 0px 11px 0px 0px;  
}

.save-load-dialog {
    width: 300px;
}

.load-dialog {
    width: 300px;
    min-height: 500px;
}

.dialog-button {
    float: right;
    margin-left: 5px; 
}

.load-config-body {
    margin: 25px 0px 0px 0px;
}

ux-dialog-container>div {
    padding: 30px 7px 0px 0px !important;
}

.checkbox label {
    padding-left: 25px;
}

.config-dialog-text {
    font-size: 20px;
    font-weight: bold;
}

.config-dialog-icon {
    height: 20px;
    margin-top: -3px;
}

.checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: -25px;
}

table td.max {
    white-space: nowrap;
    width: 100%;
}

table td.fit {
    white-space: nowrap;
    width: 1%;
}

/* animation definitions */
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0)
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    transform: none
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0)
  }
  100% {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none
  }
}


@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
