* {
    font: 12pt 'Lato', sans-serif;
}

body {
    display: grid;
    margin: unset;
    overflow-x: hidden;
    background: #E5E5E5;
    grid-template-rows: 50px 50px auto 50px;
    grid-template-areas:
        "header"
        "breadcrumbs"
        "main"
        "footer";
}

.d-none {
    display: none !important;
}

.breadcrumb {
    grid-area: breadcrumbs;
    left: 50%;
    width: 95%;
    height: 30px;
    display: flex;
    max-width: 1200px;
    position: relative;
    align-items: center;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #f1f1f1;
    transform: translateX(-50%);
}

.breadcrumb li {
    display: block;
}

.breadcrumb a {
    text-decoration: none;
    padding: 0px 5px;
}

.breadcrumb a::after {
    content: " / ";
}

header {
    grid-area: header;
    display: flex;
    padding: 0px 10px;
    align-items: center;
    background-color: white;
    justify-content: space-around;
    box-shadow: 1px 0px 3px #989898;
}

header a {
    text-decoration: none;
    color: black;
}

nav a {
    color: white;
    padding: 10px 20px;
    background: black;
    border-radius: 25px;
    text-decoration: none;
    box-shadow: 0px 0px 3px 0px #000000fc;
}

main {
    display: flex;
    grid-area: main;
    padding: 15px 10px;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
    min-height: calc(100vh - 160px);
}

.container {
    left: 50%;
    width: 100%;
    display: flex;
    padding: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
    max-width: 1200px;
    align-items: start;
    position: relative;
    overflow-x: scroll;
    background: white;
    border-radius: 10px;
    box-sizing: border-box;
    transform: translateX(-50%);
    filter: drop-shadow(0px 0px 2px #0000002c);
}

.container h1 {
    padding: 0px 10px;
}

.wrap {
    width: 95%;
    display: flex;
    flex-wrap: wrap;
    margin: 25px 0px;
    max-width: 1200px;
    padding: 25px 0px;
    background: white;
    border-radius: 10px;
    justify-content: center;
    filter: drop-shadow(0px 0px 2px #0000002c);
}

.center-column {
    padding: 20px 10px;
    align-items: center;
    flex-direction: column;
    box-sizing: border-box;
}

.box-list {
    width: 100%;
    display: flex;
}

.bg-aqua {
    background-color: #00acd6;
}

.bg-purple {
    background-color: #605ca8;
}

.bg-green {
    background-color: #00a65a;
}

.small-box {
    margin: 10px;
    height: 150px;
    display: flex;
    padding: 10px;
    position: relative;
    width: calc(100%/3);
    border-radius: 10px;
    align-items: center;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-evenly;
    transition: box-shadow 0.1s ease-in;
    box-shadow: 0px 0px 4px 0px #0000005c;
}

.small-box:hover {
    box-shadow: 0px 0px 4px 0px #000000cf;
}

.small-box:hover>.icon {
    filter: drop-shadow(2px 2px 3px black);
}

.small-box h4 {
    color: white;
    font-size: 30pt;
    font-weight: bold;
    margin-block-end: 0;
    margin-block-start: 0;
}

.small-box p {
    color: white;
    font-weight: bold;
    margin-block-end: 0;
    margin-block-start: 0;
}

.small-box .edit {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.small-box .icon {
    top: 50%;
    width: 64px;
    right: 10px;
    height: 64px;
    opacity: 0.5;
    display: block;
    position: absolute;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0px 2px 2px black);
}

.alert {
    width: 100%;
    padding: 10px;
    height: 100px;
    margin: 10px 0px;
    border-radius: 10px;
    box-sizing: border-box;
}

.alert-danger {
    background: #ffadad;
}

.col-left {
    width: 40%;
}

.col-right {
    width: 60%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

.row {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.row-full {
    width: 100%;
    display: flex;
    margin-top: 18.5px;
}

.row-full>* {
    margin: 0px 10px;
}

/* .row-full :nth-child(1) {
    margin-left: 0px;
} */

ul.pagination {
    display: flex;
    padding-inline-start: 0;
}

ul.pagination li {
    margin: 0px;
    display: block;
    background: #dadada;
}

ul.pagination li:nth-child(1) {
    width: 29px;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 5px 0px 0px 5px;
}

ul.pagination li:nth-last-child(1) {
    width: 29px;
    display: flex;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    border-radius: 0px 5px 5px 0px;
}

.pagination a {
    color: black;
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    border: 1px solid #eaeaea;
}

ul.pagination li.active a {
    color: white;
    border-color: #337ab7;
    background-color: #337ab7;
}

.table {
    width: 90%;
    overflow: hidden;
    border-radius: 5px;
    border-spacing: unset;
    margin: 20px 0px 0px 0px;
    border: 1px solid #cccccc;
    box-shadow: 0px 0px 2px 0px #0000004c;
}

table.table thead {
    color: white;
    background: gray;
}

table.table tr {
    height: 45px;
}

table.table th {
    font-weight: bold;
}

table.table th,
table.table td {
    padding: 0px 10px;
    border-right: 1px solid #c5c5c5;
}

table.table tr:nth-child(even) {
    background: #eaeaea;
}

table.table td:nth-last-child(1),
table.table th:nth-last-child(1) {
    display: flex;
    border-right: 0px;
    padding: 10px 10px;
    flex-direction: column;
}

table.table td:nth-last-child(1) a {
    display: flex;
}

.glyphicon {
    width: 15px;
    margin: 4px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
}

.glyphicon-eye-open {
    background-image: url(/img/icons/eye.svg);
}

.glyphicon-pencil {
    background-image: url(/img/icons/pencil.svg);
}

.glyphicon-trash {
    background-image: url(/img/icons/trash.svg);
}

.table select {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #cccccc;
}

.table thead a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.table input.form-control {
    width: 100%;
    height: 40px;
    border-radius: 5px;
    border: 1px solid #cccccc;
}

span.not-set {
    color: #ff8585;
    font-style: italic;
}

.login-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-login {
    width: 95%;
    padding: 30px;
    max-width: 500px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #f3f3f3;
    box-shadow: 0px 0px 10px 0px #00000038;
}

.site-login h1 {
    line-height: 0px;
}

.info {
    color: #5d5d5d;
    font-style: italic;
}

.form-group {
    padding: 10px 0px;
}

.form-group input[type=text],
.form-group input[type=password],
.form-group input[type=number],
.form-group input[type=datetime-local],
.form-group input[type=date],
.form-group select,
.form-group textarea {
    width: 100%;
    height: 40px;
    padding: 0px 10px;
    border-radius: 5px;
    box-sizing: border-box;
    border: 1px solid #cecece;
}

.form-group select[size] {
    height: auto;
}

.form-group select[size="1"] {
    height: 40px;
}

.form-group textarea {
    height: auto;
    padding: 10px;
}

.has-error .help-block {
    font-size: 10pt;
    color: #ff8383;
    font-style: italic;
}

.g-recaptcha {
    height: 78px;
    margin: 10px 0px;
}

.btn {
    height: 50px;
    display: flex;
    color: white;
    font-size: 15pt;
    padding: 0px 15px;
    font-weight: bold;
    border-radius: 5px;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    border: 1px solid #d0d0d0;
    transition: box-shadow 0.2s ease-in, background-color 0.3s ease-in;
}

input[type="file"].btn {
    width: 100%;
    padding: unset;
    box-sizing: border-box;
}

input[type="file"].btn.btn-image::-webkit-file-upload-button {
    visibility: hidden;
}

input[type="file"].btn.btn-file::before {
    height: 100%;
    display: flex;
    font-size: 15pt;
    cursor: pointer;
    font-weight: 500;
    padding: 0px 10px;
    background: green;
    align-items: center;
    white-space: nowrap;
    color: rgb(255 255 255);
    -webkit-user-select: none;
    text-shadow: 1px 1px #000;
    /* width: 100%; */
}

input[type="file"].btn.btn-image::before {
    content: 'Select Image';
}

input[type="file"].btn.btn-banner::before {
    content: 'Select Banner';
}

.btn-primary {
    background-color: #005f00;
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
}

.btn-success {
    padding: 20px;
    margin: 0px 10px;
    background-color: #005f00;
}

.btn-primary:hover {
    background-color: green;
}

.btn:hover {
    cursor: pointer;
    box-shadow: 0px 0px 4px 0px #c1c1c1;
}

.btn-warning {
    width: 35%;
    border-radius: 5px;
    border: 1px solid #d4a600;
    background-color: #d4a600;
    box-shadow: 0px 0px 4px 0px #866900;
    transition: background-color 0.3s ease-in;
}

.btn-warning:hover {
    border: 1px solid #d4ba00;
    background-color: #d4ba00;
}

h1 {
    font-size: 25pt;
    font-weight: bold;
}

h2 {
    font-size: 1.5em;
}

footer {
    margin-top: 20px;
    grid-area: footer;
    align-items: center;
    justify-content: center;
    display: flex !important;
    background-color: white;
    box-shadow: 0px -1px 2px #b3b0b09c;
}

b {
    font-weight: bold;
}