/* GENERAL */
body {
    background-color: #f9fbfd;
    /*background-color: #f4f6f7;*/
    /*background-color: #edf2f9;*/
    font-family: 'Inter', sans-serif;
    color: #12263f;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100% !important;
        padding-left: 0px;
        padding-right: 0px;
    }
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

tbody > tr > td, .form-control, .form-control-file {
    /* table data / form inputs should be no frills / fonts */
    font-family: sans-serif !important;
}

small {
    font-weight: 300 !important;
}

.form-control-label {
    font-weight: 600 !important;
    letter-spacing: 1.1px;
}

.text-secondary {
    color: #95aac9 !important;
}

.text-very-muted {
    color: #aaaaaa !important
}

h1, h2, h3, h4, h5, h6 {
    color: #12263f;
    font-weight: 500;
}

.h1, h1 {
    font-size: 1.8rem;
}

.h2, h2 {
    font-size: 1.6rem;
}

.h3, h3 {
    font-size: 1.4rem;
}

.h4, h4 {
    font-size: 1.2rem;
}

.h5, h5 {
    font-size: 1.0rem;
}

.h6, h6 {
    font-size: 0.8rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.badge-purple {
    color: #fff;
    background-color: #ae17b8
}

/* NAVIGATION */
.navbar {
  position: fixed;;
    padding-top: 0.05rem !important;
    padding-bottom: 0.05rem !important;
    background-color: rgb(218, 229, 233) !important;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.nav-link {
    margin: 1px;
    font-weight: 400;
    font-size: 12px;
    color: #222244;
}

.nav-link:hover {
    margin: 0px;
    border: 1px solid rgb(55, 173, 251);
    background-color: rgb(229, 244, 255);
    border-radius: 5px;
    text-decoration: none;
}

.nav-item .dropdown-menu {
  background-color: rgb(245, 250, 250);
  margin-top: 4px;
  border-radius: 0;
  padding: 0;
}

.nav-item .dropdown-menu .nav-link {
  margin: 1px;
  border-radius: 0px;
}

.nav-item .dropdown-menu .nav-link:hover {
  margin: 0px;
  border-radius: 0px;
}

#navbarCollapse > ul > li > a {
    font-weight: 400;
    font-size: 12px;
    color: #222244;
}

.nav-link-logout {
  color: #f74200 !important;
}

.form-control-label {
    font-size: 15px;
    line-height: 18px;
    font-weight: 500;
}

.nav-menu {
  background-color: rgb(245, 250, 250);
  border-bottom: 1px solid rgb(197, 197, 197);
  width: 100%;
}

.nav-menu-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nav-tabs a {
    font-size: 12px;
    font-weight: 300;
}

/* FORMS */
@media all and (max-width: 959px) {
    /* mobile form width */
    .d-flex > div {
        width: 100% !important;
    }
}

.form-group {
    margin-bottom: 0.5rem;
}


/* DATATABLE */
.dataTable > thead > tr > th, .dataTable > tbody > tr > td {
    font-size: 14px;
    vertical-align: middle;
}

.dataTables_filter {
    margin-left: 0px !important;
}


/* hide sorting arrows */
.dataTable > thead > tr > th.sorting.sorting_asc:after {
    content: "" !important;
}

.dataTable > thead > tr > th.sorting.sorting_asc:before {
    content: "" !important;
}


.dataTable > thead > tr > th:before {
    content: "" !important;
}

.dataTable > thead > tr > th:after {
    content: "" !important;
}


.dataTable > thead > tr > th {
    font-size: 16px;
}

/* highlight sorting column*/
td[class^="sorting_"] {
    background-color: #edf2f8;
}

/* highlight hover row */
.dataTable > tbody > tr:hover {
    background-color: #edf2f8 !important;
}

/* new crud button e.g. new user (top right) */
.dataTable_new_crud_button {
    display: inline-block;
    float: right;
    margin-top: 5px;
}

/* export buttons */
.dt-buttons {
    float: right;
    margin-top: 18px;
}

.buttons-print, .buttons-csv, .buttons-excel {
    background-color: white;
    color: #aaaaaa;
    border-color: #aaaaaa;
    padding-top: 4px;
    padding-bottom: 5px;
    font-size: 14px;
}

/* search / show entries labels */
.dataTables_filter > label, .dataTables_length > label {
    font-size: 14px;
    color: #aaaaaa;
}

/* show n */
.dataTables_length {
    float: left;
    margin-right: 15px;
}

/* pagination */
.dataTables_info {
    float: left;
    font-size: 14px;
    margin-top: 12px;
    color: #aaaaaa;
}

.dataTables_paginate {
    float: right;
}

.pagination {
    padding-top: 10px;
    font-size: 14px;
    color: #aaaaaa;
}

.paginate_button > a {
    padding: 3px 8px 3px 8px;
}

.page-item.active .page-link {
    color: #007bff;
    background-color: #ffffff !important;
}

.page-item .page-link {
    color: #aaaaaa !important;
}

.dataTables_wrapper table {
    margin-bottom: 8px;
    border-bottom: 1px dotted #e3e1e1;
}

.dataTables_wrapper table > thead > tr > th {
    border-top: 1px solid #dfdcdc;
    border-left: 1px solid white;
    background-color: #e8e7e7;
    font-weight: 700;
    text-align: center;
}

.dataTables_wrapper table > tbody > tr > td {
    border-left: 1px solid #ecebeb;
}

.dataTable .text-link {
    text-align: center;
    text-decoration: underline;
    color: #007bff;
    font-size: 12px;
}


/* Boolean form switches */
.custom-control {
    margin-top: 15px;
}

.custom-switch.custom-switch .custom-control-label {
    padding-left: 1.2rem;
    padding-bottom: 0.8rem;
    padding-top: 0.22rem;
    /*font-weight: 300;*/
    font-size: 18px;
    /*letter-spacing: 1.1px;*/
}

.custom-switch.custom-switch .custom-control-label::before {
    height: 1.5rem;
    width: calc(2rem + 0.75rem);
    border-radius: 3rem;
}

custom-control.custom-switch > label {
}


.custom-switch.custom-switch .custom-control-label::after {
    width: calc(1.5rem - 4px);
    height: calc(1.5rem - 4px);
    border-radius: calc(2rem - (1.5rem / 2));
}

.custom-switch.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    transform: translateX(calc(1.5rem - 0.25rem));
}


.rotate {
    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */
    -ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; /* IE8 */
    -moz-transform: rotate(-90.0deg); /* FF3.5+ */
    -ms-transform: rotate(-90.0deg); /* IE9+ */
    -o-transform: rotate(-90.0deg); /* Opera 10.5 */
    -webkit-transform: rotate(-90.0deg); /* Safari 3.1+, Chrome */
    transform: rotate(-90.0deg); /* Standard */
}

.dot {
    top: 2px;
    height: 13px;
    width: 13px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #333333;
}

.colour_square {
    border-radius: 5px;
    height: 25px;
    width: 25px;
    border: 1px solid lightgrey;
    margin-left: auto;
    margin-right: auto;
}

th {
    vertical-align: middle !important;
}



/* table width fixes */
/*table {*/
/*    table-layout: fixed*/
/*}*/

/*table > thead > tr > th {*/
/*    word-wrap: break-word*/
/*}*/

/*table > tbody > tr > td {*/
/*    overflow: hidden;*/
/*}*/
