/* Main
-------------------------------------------------- */

html {
    position: relative;
    min-height: 100%;
}

hr {
    margin: 30px 0;
}

h2 {
    margin-bottom: 0;
}

a {
    color: #17a2b8;
}

a:hover {
    color: #328381;
}

/* Canvas
-------------------------------------------------- */

canvas {
    border: 1px solid #dddddd;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: relative;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

#canvasContainer {
    height: 400px;
}

/* Footer
-------------------------------------------------- */

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background-color: #e9ecef;
}

body>.container {
    padding: 0px 15px 0;
}

.footer>.container {
    padding-right: 15px;
    padding-left: 15px;
}

/* Table
-------------------------------------------------- */

.invalid:focus {
    border-color: #e96666;
    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.075),
        0px 0px 8px rgba(233, 102, 102, 0.6);
}

.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: 0;
    border-bottom: 1px solid #dee2e6;
}

@media (max-width: 576px) {
    .table {
        font-size: 0.875rem;
    }
}

.slider-table td {
    border: 0px;
    padding: 0.5rem 0.75rem 0.5rem 0.75rem;
    vertical-align: middle;
}

.slider-table td:first-child {
    padding-left: 0;
}

.slider-table td:last-child {
    padding-right: 0;
}

/* Slider
-------------------------------------------------- */

.slider {
    margin: 0 1rem;
}

/* Input Widths
-------------------------------------------------- */

.input-30 {
    width: 30px !important;
}

.input-35 {
    width: 35px !important;
}

.input-40 {
    width: 40px !important;
}

.input-45 {
    width: 45px !important;
}

.input-50 {
    width: 50px !important;
}

.input-55 {
    width: 55px !important;
}

.input-60 {
    width: 60px !important;
}

.input-65 {
    width: 65px !important;
}

.input-70 {
    width: 70px !important;
}

.input-75 {
    width: 75px !important;
}

.input-80 {
    width: 80px !important;
}

.input-85 {
    width: 85px !important;
}

.input-90 {
    width: 90px !important;
}

.input-100 {
    width: 100px !important;
}

.input-110 {
    width: 110px !important;
}

.input-120 {
    width: 120px !important;
}

/* Other
-------------------------------------------------- */

.navbar-nav .dropdown-menu {
    margin-top: 10px;
}

.subtitle {
    font-weight: 400;
}

.jumbotron {
    border-radius: 0;
}

/* Cards
-------------------------------------------------- */

.card {
    border-radius: 0.5rem;
    transition: 0.3s;
}

.card a,
.card a:hover {
    color: inherit;
    text-decoration: none;
}

.card .card-img-top {
    border-top-left-radius: 0.45rem;
    border-top-right-radius: 0.45rem;
}

.card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-yellow {
    border-color: #ffbf00;
}

.card-red {
    border-color: #e83f6f;
}

.card-blue {
    border-color: #2274a5;
}

.card-green {
    border-color: #32936f;
}

.card-default:hover {
    border: 1px solid #97b5b9;
}

/* Sections
-------------------------------------------------- */

section {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.section-title {
    margin-bottom: 3rem;
}

/* General
-------------------------------------------------- */

.btn span {
    margin-left: 0.2rem;
}

.btn-sm svg {
    width: 18px;
    height: 18px;
    margin-top: -3px;
}

.display-5 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
}

.controls .row div h4 {
    margin: 0;
}

.controls .row:not(:last-child) {
    margin-bottom: 1rem;
}

.controls .button-row {
    margin-top: 2rem;
}

.badge-3d {
    position: absolute;
    top: 1rem;
    right: 1rem;
}