@font-face{
    font-family: cpnfont;
    src: url_for('static', filename='CPN-Regular.otf');
    font-weight: bold;
}


html, body {
    text-align: -webkit-center;
    height: 100%;
    font-size: 0.8rem;
    display: block;
}

h1 {
    font-family: cpnfont;
}

#footer > hr {
    display: block;
    height: 50px;
    border-color: #000000;
    background-color: #000000;
    color: #000000;
    margin: 1em 0;
    padding: 0;
}

.alert {
    border: 2px solid;
    border-radius: 2px;
    overflow-wrap: break-word;
    text-align: left;
}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.content-section {
    padding: 2rem;
    margin-top: 1%;
    background-color: #ffffff;
    border-top: 5px solid #D0D0D0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    min-height: 100%;
}

.alert {
    margin: 0.5rem;
}

td .dropdown-menu {
    width: auto;
    border: 2px solid;
    border-radius: 2px;
    border-color: #2b2d2f;
    background: white;
    color: #2b2d2f;
    cursor: pointer;
}

.dropdown-menu .dropdown-item {
    float: none;
    color: #2b2d2f;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.header {
    display: block;
    width: auto;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    border-color: #000000;
    border-bottom: 1px solid;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_asc_disabled:before,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc_disabled:after,
table.dataTable thead .sorting_desc_disabled:before {
    bottom: .5em;
}

.table-wrapper {
    border: 1px solid;
    border-color: #000000;
    border-radius: 2px;
    overflow-wrap: break-word;
    margin-top: 10px;
    padding: 20px;
    color: white;
    background: #F5F5F5;
}

.content-wrapper {
    border: 1px solid;
    border-color: #000000;
    border-radius: 2px;
    overflow-wrap: break-word;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    background: #E8E8E8;
}

.tag-remove::before {
    content: '\2715';
    font-weight: 300;
    font-family: Arial, sans-serif;
    border: none;
    float: right;
}

input[type="radio"],  input[type="checkbox"] {
    vertical-align: middle;
    width: 2rem;
    height: 2rem;
    margin  : 0.5rem;
    padding : 0.1rem;
}

.title-header {
    padding: 5px;
    display: flex;
    justify-content: space-between;
}

.error {
    border-color: red !important
}

.address-field {
    min-width: 400px;
}

.datetime-field {
    min-width: 240px;
}

.short-field {
    min-width: 100px;
}

.error-message {
    color: red;
}

.product-field {
    min-width: 400px !important;
}

.normal-field {
    min-width: 200px;
}

.small-field {
    min-width: 100px;
}

.paid-field {
    min-width: 150px;
    content: center;
}

tr.clickable {
    cursor: pointer;
}

tr.clickable:hover {
    background-color: #f7c955;
}

.color-red {
    font-weight: bold;
    color: red;
}

.color-green {
    font-weight: bold;
    color: green;
}