html,
body,
body > .container-fluid,
.container-fluid > .row,
main {
    height: 100%;
    min-height: 100%;
}

body {
    background: url(../images/bg.jpg) no-repeat fixed;
    background-size: cover;
    color: #1A3B62;
    font-family: 'NeutraText-BookAlt';
}

a,
a:hover,
a:focus {
    color: #1A3B62;
}

h6 {
    text-transform: uppercase;
}

aside {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.menu-sidebar__content {
    flex-grow: 1;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .7)!important;
    padding: 1.85rem;
}

.user-logo {
    background: #fff;
    width: 120px;
    height: 120px;
    min-height: 120px;
    text-align: center;
    border-radius: 50%;
    border: 3px solid #898989;
    margin: 0 auto 1.85rem;
    position: relative;
}

.user-logo i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
}

.sidebar h2 {
    text-transform: uppercase;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    font-weight: 600;
}

.sidebar h2:after {
    content: '';
    display: block;
    width: calc(100% / 3);
    height: 2px;
    background: #1A3B62;
    margin-top: 0.75rem;
}

.sidebar h2 span {
    display: block;
    font-weight: 200;
}

.navbar-sidebar li {
    font-size: 1.35rem;
    font-weight: 400;
    position: relative;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    text-transform: uppercase;
}

.navbar-sidebar .active {
    font-weight: 600;
}

.navbar-sidebar .active:before {
    content: '';
    display: block;
    height: 80%;
    width: 2px;
    background: #1A3B62;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.h-master {
    font-size: 1.25rem;
    font-weight: 200;
    text-transform: uppercase;
}

.h-master span {
    display: block;
    font-weight: 600;
}

main {
    padding-top: 2.5rem;
    display: flex;
    flex-direction: column;
}

.main-content {
    flex-grow: 1;
    background: rgba(255, 255, 255, .8);
    border-radius: 10px 0 0 0;
    margin-right: -24px;
    display: flex;
    padding: 15px 0 15px 15px;
}

.content-header {
    padding: 0 15px 15px;
}

.content-header > div {
   /* border-bottom: 1px solid rgba(26, 59, 98, .4); */
}

.content-header .btn {
    position: relative;
    box-shadow: none!important;
}

.content-header .btn + .btn:before {
    content: '';
    display: block;
    width: 1px;
    height: 60%;
    position: absolute;
    left: 0;
    top: 15%;
    background: rgba(26, 59, 98, .4);;
}

.content-header i {
    font-size: 24px;
}

body:not(.guest) .main-content > *:not(#modal) {
    display: flex;
    flex-grow: 1;
}

.log-in .main-content {
    background: transparent;
    margin: 0;
    padding-left: 0;
}

.logo {
    text-align: center;
}

.logo img {
    margin-bottom: 3rem;
    width: 90%;
}

.log-in .logo {
    text-align: center;
}

.log-in .logo img {
    width: 360px;
    height: auto;
    margin-bottom: 5rem;
    max-width: 100%;
}

.log-in button {
    background: transparent!important;
    border: none!important;
    box-shadow: none!important;
    margin-top: 1rem;
}

.log-in .form-group {
    position: relative;
}

.log-in .form-group:before {
    content: '';
    display: block;
    width: 1px;
    top: 1rem;
    bottom: 1rem;
    left: 42px;
    background: #1A3B62;
    position: absolute;
}

.log-in .form-group > img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 16px;
}

.log-in .form-control  {
    background: rgba(255, 255, 255, .75)!important;
    border: none!important;
    box-shadow: 5px 5px 12px rgba(0, 0, 0, .27)!important;
    border-radius: 5px;
    padding: 1rem 1rem 1rem 52px;
}

.modal-content {
    background: rgba(243, 243, 243, .9);
}

.modal-content.no-header h4 {
    display: none;
}

.modal-content.no-header header {
    margin-top: -50px;
}

.modal-content h2,
.modal-content h3 {
    font-weight: 200;
    text-transform: uppercase;
    margin-left: 12px;
}

.modal-content h2 small {
    font-weight: 200;
}

.modal-content h2 p::first-letter,
.modal-content h2 strong {
    font-weight: 600;
}

.modal-content h3 {
    margin-bottom: 1rem;
}

.modal-body {
    padding: 2rem;
}

.form-control {
    background: none!important;
    border: none!important;
    box-shadow: none!important;
    color: #1A3B62;
    text-overflow: ellipsis;
}

.input-group {
    align-items: center;
}

.input-group-addon {
    width: 40px;
    text-align: center;
    border-right: 1px solid #1A3B62;
}

.normal-txt {
    border: 1px solid #1A3B62!important;
}

.edit-icon {
    border: 1px solid #1A3B62;
    border-radius: 50%;
    font-size: 10px;
    width: 18px;
    height: 18px;
    display: inline-block;
    line-height: 18px;
    text-align: center;
}

.btn {
    border-radius: 10px;
    font-size: .8em;
    padding: 1em 2em;
    font-weight: 600;
}

.btn-primary {
    background: transparent;
    border: 1px solid #1A3B62!important;
    text-transform: uppercase;
    color: #1A3B62;
    min-width: 150px;
}

.btn-primary:hover {
    background: #1A3B62;
    color: #fff;
}

.fullscreenToggle {
    display: none!important;
}

.table-fixed-head {
    overflow-y: auto;
    height: 100px;
}

.table-fixed-head thead th {
    position: sticky;
    top: 0;
}

/* Dashboard */
.dashboard {
    flex-grow: 1;
    display: flex;
}

.dashboard .container-fluid,
.dashboard .d-flex-box {
    flex-grow: 1;
    display: flex;
}

.d-flex-box {
    display: flex;
    flex-direction: column;
}

.d-flex-box > .row {
    flex-grow: 2;
    margin-bottom: 24px;
}

.d-flex-box > .row:last-child {
    flex-grow: 1;
}

.d-link, .d-card {
    background: rgba(255, 255, 255, .8);
    display: block;
    height: 100%;
    position: relative;
    border-radius: 10px;
    text-decoration: none!important;
    font-size: 24px;
    padding: 20px;
    text-transform: uppercase;
}

.d-link span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-weight: 600;
}

.d-link i {
    display: block;
    font-size: 40px;
    margin-bottom: 18px;
}

.d-card {
    display: flex;
    flex-direction: column;
}

.d-card > span {
    display: block;
    font-weight: 600;
}

.d-content {
    font-size: 16px;
    text-transform: none;
    display: flex;
    flex-grow: 1;
    flex-basis: 20px;
    overflow: hidden;
}

.d-content .simplebar-vertical:before {
    content: '';
    display: block;
    width: 1px;
    height: 100%;
    background: #91a2b3;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Content Columns */
.columns-view {
    flex-grow: 1;
}

.columns-view > div,
.columns-view .panel,
.columns-view .panel-body,
.columns-view .list-group {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-basis: 20px;
    overflow: auto;
}

.columns-view > div {
    padding-right: 0;
}

.columns-view .panel-body {
    padding-right: 30px;
}

.columns-view-right {
    margin-right: 5px;
}

.columns-view-right .simplebar-vertical:before {
    content: '';
    display: block;
    position: absolute;
    right: 5px;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(26, 59, 98, .4);;
}

.columns-view-left .panel-body:before {
    content: '';
    display: block;
    position: absolute;
    right: 5px;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(26, 59, 98, .4);;
}

.list-message h4 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 16px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding-right: 20%;
    position: relative;
    margin-bottom: 0;
}

.list-message h4 small {
    position: absolute;
    right: 0;
    top: 0;
}

.list-message h4 strong {
    font-weight: 600;
}

.list-message .list-group-item {
    background: none;
    border:none;
    border-radius: 0;
    padding: .5rem 0;
}

.list-message .list-group-item:before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    position: absolute;
    border-radius: 50%;
    border: 2px solid #1A3B62;
    background: #1A3B62;
    top: 24px;
    left: 12px;
}

.list-message .list-group-item.read:before {
    background: transparent;
}

.list-message .list-group-item div {
    padding: .75rem 1.25rem .75rem 2.5rem;
}

.list-message .list-group-item + .list-group-item {
    border-top: 1px solid rgba(26, 59, 98, .4);
}

.list-message .list-group-item-text {
    font-size: 14px;
    margin: 0;
}

.list-content .list-group-item {
    background: #F3F3F3;
    border: none;
    box-shadow: 2px 2px 3px rgba(121, 121, 121, .5);
}

.list-content img {
    max-width: 100%;
}

.trumbowyg-editor {
    background: #fff;
}

tr.active td {
    background: rgba(26, 59, 98, .2);
}

.lead {
    margin-bottom: 1.5rem;
}

.lead small {
    font-size: 60%;
}

.lead span {
    border-bottom: 1px solid;
    padding-bottom: 6px;
}

/* Harbour SVG Map */
.harbour-map-wrapper {
    width: 60%;
    height: 90%;
    opacity: 1;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    overflow: hidden;
    z-index: 1000;
    border-radius: 33px;
    background-color: #d9eef3;
}

#Spots > g {
    cursor: pointer;
}

#Spots > g:hover rect {
    fill: #000;
}

/* SimpleBar custom css */
.simplebar-scrollbar:before {
    background: #1A3B62;
    opacity: 1!important;
}

/* Alerts */
.alert {
    position: fixed;
    z-index: 999;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    opacity: .8;
    transition: transform .2s ease-out;
}

/* Profile */
.profile {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.profile form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.profile form .form-group:last-child {
    margin-top: auto;
}

.profile h6 {
    margin-bottom: 1rem;
}

.profile-image {
    margin-bottom: 2rem;
}

.profile-image .user-logo {
    display: inline-block;
}

.profile-image a {
    text-transform: uppercase;
}

/* Preloader */
#preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #d2d9e1;
    z-index: 999;
}

#preloader * {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
}

/* jQuery UI */
.ui-widget.ui-widget-content {
    z-index: 9999!important;
}

/* DataTables */
th.sorting,
th.sorting_asc,
th.sorting_desc {
    position: relative;
    cursor: pointer;
}

th.sorting::before,
th.sorting_asc::before,
th.sorting_desc::before {
    content: '\f0dc';
    font-family: "Font Awesome 5 Free";
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    opacity: .5;
}

th.sorting_asc::before {
    content: '\f0de';
    opacity: 1;
}

th.sorting_desc::before {
    content: '\f0dd';
    opacity: 1;
}

.table thead th {
    text-transform: uppercase;
    font-weight: 600;
}

.dataTables_info {
    display: none!important;
}

/* Select 2 */
.select2-container {
    z-index: 99999;
}
.select2-container--default .select2-selection--single {
    background: transparent;
    border: none;
    outline: none;
}

.select2-dropdown {
    /*background-color: rgba(255, 255, 255, .8);*/
    background-color: transparent;
    border: none!important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: #cbd1d8;
    color: #1A3B62;
}
.select2-results__option {
    padding: 3px 6px;
}
.select2-results {
    background: white;
    border-radius: 10px;
    padding: 8px 0;
    border: 1px solid #1A3B62;
}
.img-flag {
    display: none;
}
.select2-search {
    margin-top: -34px;
    background: transparent;
}
.select2-search input {
    background: #e6e6e6;
    border: none!important;
    outline: none;
}

/* custom checkbox */
.custom-checkbox {
    position: relative;
    margin: 0!important;
}
.custom-checkbox input {
    display: none;
}
.custom-checkbox i {
    display: inline-block;
    padding: 0;
    width: 40px;
    height: 20px;
    border-radius: 13px;
    vertical-align: middle;
    transition: .25s .09s;
    position: relative;
    background: rgba(255, 0, 0, 35%);
    box-sizing: initial;
    border: 2px solid #1A3B62;
}
.custom-checkbox i:after {
    content: " ";
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1A3B62;
    position: absolute;
    left: 0px;
    transition: .25s;
}
.custom-checkbox input:checked + i {
    background: rgba(0, 255, 7, 35%);
}
.custom-checkbox input:checked + i:after {
    transform: translateX(20px);
}

.flex {
    display: flex!important;
}

/* Harbour Map Datepicker */
#harbour-datepicker {
    position: fixed;
    top: 55px;
    right: 60px;
    background: rgba(255, 255, 255, .8);
    margin: 0;
    border-radius: 3px;
    padding: 8px;
    max-width: 210px;
}
#harbour-datepicker > form {
    margin: 0!important;
}
#harbour-datepicker .form-row {
    margin: 0!important;
}
#harbour-datepicker input {
    font-weight: 600;
    padding-top: 0;
    padding-bottom: 0;
}
#harbour-datepicker label {
    font-weight: 200;
    margin: 0;
}
#harbour-datepicker button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    right: 0;
    font-size: 22px;
    padding-left: 20px;
    padding-right: 20px;
}
.rangepicker {
    visibility: hidden;
    height: 0;
    padding: 0;
}
.dp-highlight .ui-state-default {
    background: #484!important;
    color: #FFF!important;
}

/* Datepicker styles */
#ui-datepicker-div {
    background: rgba(255, 255, 255, .8);
    border: none;
    border-radius: 3px;
}
#ui-datepicker-div .ui-widget-header {
    background: transparent;
    border: none;
    color: #1A3B62;
    font-size: 14px;
    text-transform: uppercase;
    font-family: 'NeutraText-BookAlt';
    font-weight: 600;
}
#ui-datepicker-div .ui-state-hover {
    border: none!important;
    background: transparent!important;
}
#ui-datepicker-div .ui-state-default {
    border: none;
    background: none;
}
#ui-datepicker-div .ui-datepicker-calendar,
#ui-datepicker-div .ui-datepicker-calendar * {
    font-family: 'NeutraText-BookAlt';
    font-size: 12px;
}
#ui-datepicker-div .ui-datepicker-calendar td {
    padding: 1px 0;
}
#ui-datepicker-div .ui-datepicker-calendar tbody td * {
    text-align: center;
    width: 38px;
    height: 30px;
    line-height: 24px;
}
#ui-datepicker-div .ui-datepicker-calendar tbody td th {
    font-size: 12px;
}
#ui-datepicker-div .dp-highlight .ui-state-default {
    background: #1A3B62!important;
}
#ui-datepicker-div .dp-startdate .ui-state-default {
    border-radius: 20px 0 0 20px;
}
#ui-datepicker-div .dp-enddate .ui-state-default {
    border-radius: 0 20px 20px 0;
}
/* Zoom Control Holder */
.controlHolder {
    height: 68px;
    background: rgba(255, 255, 255, .8);
    top: 30px;
    right: 30px;
}
}
.fullscreenToggle, .zoomIn, .zoomOut {
    height: 22px;
}
.zoomIn {
    background-position: 0px -5px;
}
.zoomOut {
    background-position: -30px -3px;
}
/* Media Queries */
@media (max-width: 1024px) {
    .logo img {
        max-width: 20%;
    }

    .navbar-sidebar li {
        font-size: 1rem;
    }

    /* Dashboard */
    .d-flex-box > .row:first-child {
        flex-grow: 1;
    }

    .d-link, .d-card {
        font-size: 18px;
    }

    .d-link i {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .d-content {
        font-size: 12px;
    }


}
@media (min-width: 1200px) {
    .logged-in header{
        display: none;
    }
}


.list-group-item{
    background: transparent;
    border:none;
    border-bottom: 1px solid transparent;
}

.list-group-item.active{
    background: transparent;
    color: #1A3B62;
    border-bottom: 1px solid #1A3B62;
    font-family: 'NeutraTextBold';
}


