/* body */

body {
    background-color: #fff;
    color: #3c4858;
    font-weight: 300;
}

body.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

@media (max-width: 991px) {
    .wrapper {
        background: #fff;
    }

    .wrapper.blue-bg {
        background: #e4f4fa;
    }

    .content-footer {
        display: none;
    }
}

/* ---------------------------------------- */
/* Utils */

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.divide-6.divide-6 {
    width: 16.6666667% !important;
    padding-left: 3px;
    padding-right: 3px;
}

/* Utils */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* header (mobile) */

/* @media (max-width: 991px) { */

.main-panel > .content {
    padding-top: 60px;
}

.mobile-header {
    min-height: 60px;
    background: #0f4280 !important;
    color: #fff;
    padding: 0 !important;
}

.mobile-header .container-fluid {
    padding: 0 !important;
}

.mobile-logo {
    width: 154px;
    height: 58px;
    background-image: url("/img/v2/Blue-Yacht-Share-Logo.png");
    background-size: cover;
}

.mobile-header .navbar-toggler-icon.icon-bar {
    background-color: #fff !important;
}

.navbar-toggler {
    color: #fff;
    font-size: 30px;
}

/* } */

@media (min-width: 992px) {
    .mobile-header {
        display: none;
    }
}

@media (min-width: 992px) {
    .sidebar-mobile-close {
        display: none;
    }
}

/* header (mobile) */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* sidebar (mobile) */

.sidebar-mobile-header {
    display: none;
}

/* @media (max-width: 991px) { */
.sidebar-mobile-header {
    display: block;
    height: 60px;
    background: #0f4280;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999999;
}

.logo.sidebar-logo {
    display: none;
}

.sidebar .sidebar-background {
    top: 60px;
}

.nav-open .sidebar {
    width: 100%;
    height: 100%;
}

.sidebar-mobile-close {
    position: absolute;
    padding: 15px;
    color: #fff;
    top: 0;
    right: 0;
    font-size: 30px;
    cursor: pointer;
}

.sidebar .sidebar-wrapper {
    width: 100%;
    background: #184181;
    color: #fff;
    margin-top: 60px;
    height: calc(100% - 60px);
}

.sidebar .sidebar-background:after {
    background: #184181;
}

.sidebar-wrapper > .nav {
    margin-top: 0;
}

.sidebar > .nav {
    margin-top: 60px;
    display: block;
}

.nav.submenu {
    margin-top: 0;
    margin-left: 0;
}

.sidebar .nav.submenu p {
    line-height: 22px;
    font-weight: normal;
}

.sidebar .nav.submenu .active p {
    line-height: 22px;
    font-weight: normal !important;
}

.sidebar .sidebar-wrapper > .nav [data-toggle="collapse"] ~ div > ul > li > a i,
.sidebar .sidebar-wrapper .user .user-info [data-toggle="collapse"] ~ div > ul > li > a i {
    font-size: 18px;
    line-height: 20px;
    width: 30px !important;
}

.sidebar .nav.submenu li:first-child > a,
.sidebar .nav.submenu li > a {
    border-top: 1px solid #103368;
    border-radius: 0;
}

.sidebar .collapse .nav i {
    margin-right: 4px;
}

.sidebar .nav i,
.sidebar .nav li > i,
.sidebar .nav li > a,
.sidebar .nav li .dropdown-menu a,
.sidebar .nav li .dropdown-menu i,
.sidebar .nav li > [data-toggle="collapse"] {
    color: #fff;
}

.sidebar-wrapper .nav-item {
    border-top: 1px solid #000;
}

.sidebar-wrapper ul li:last-of-type {
    border-bottom: 1px solid #000;
}

.sidebar-wrapper .nav-item .nav-link {
    margin: 0;
    padding: 10px;
}

.sidebar .nav li:first-child > a,
.sidebar .nav li > a {
    margin: 0;
    border-radius: 0;
}

.sidebar .nav.submenu li > a {
    border-radius: 0;
    background-color: #103368;
    border: 0;
    padding: 10px 10px 10px 30px;
    line-height: 20px;
}

.sidebar-wrapper .submenu .nav-item {
    border-top: 0 solid #000;
}

/* active/hover state */
.sidebar .nav .nav-link {
    font-weight: normal !important;
}

.sidebar .nav .nav-item.active .nav-link {
    font-weight: normal !important;
}

.sidebar .nav li:hover > a,
.sidebar .nav li .dropdown-menu a:hover,
.sidebar .nav li .dropdown-menu a:focus,
.sidebar .nav li.active > [data-toggle="collapse"] {
    background-color: #249b98;
    color: #fff !important;
}

.sidebar .nav li:hover > a i,
.sidebar .nav li.active > a,
.sidebar .nav li.active > a i {
    color: #fff !important;
}

.sidebar[data-color="rose"] li.active > a {
    background-color: #249b98;
    box-shadow: none;
}

/* } */

/* sidebar (mobile) */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* Index page */

.hero-wrapper {
    width: 100%;
    height: 200px;
    position: relative;
    margin-top: 60px;
    transition: 0.3s ease-in-out;
}

@media (min-width: 992px) {
    .hero-wrapper {
        margin-top: 0;
    }
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-image: url("/img/v2/hero1.png"), url("/img/v2/hero@2x.png");
    background-size: cover;
    position: absolute;
}

.hero-bg-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(24, 64, 129, 0.39);
}

.hero-text {
    width: 100%;
    height: calc(100% - 60px);
    position: absolute;
    color: #fff;
    font-weight: bold;
    font-size: 34px;
    line-height: 1.2;
}

.hero-text.hero-text-menu-on {
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 0 0 15px;
}

.hero-text.hero-text-menu-on i {
    padding: 15px;
    cursor: pointer;
}

.menu-panel-top-wrapper {
    width: 100%;
    height: 60px;
    position: absolute;
    bottom: 0;
}

.menu-panel-icon-bg {
    background-color: #fff;
    height: 50%;
    width: calc(100% - 60px);
    position: absolute;
    z-index: 0;
    bottom: 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

.menu-panel-icon {
    width: 60px;
    height: 60px;
    background-image: url("/img/v2/user.svg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 40px;
    background-color: #fff;
    border-radius: 60px;
    z-index: 1;
}

.menu-panel-wrapper {
    flex-direction: column;
    background: #fff;
}

.menu-panel-bg {
    background-color: #fff;
    width: calc(100% - 60px);
    display: flex;
    justify-content: space-around;
}

.menu-panel-bg > div {
    width: 30%;
}

.menu-panel-bg > div.span {
}

.menu-panel-bg > div > div {
    font-size: 49px;
    font-weight: bold;
}

.menu-panel-date-item {
    display: flex;
    justify-content: center;
    overflow: hidden !important;
    position: relative;
}

.menu-panel-date-item > div {
    width: 40%;
    background: #e4f4fa;
    color: #184181;
    line-height: 1.2;
    text-align: center;
    margin: 1px;
}

.menu-panel-overlay {
    background: #fff !important;
    height: 2px;
    width: 100% !important;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 4px);
    z-index: 1;
    display: block;
}

.menu-panel-text {
    padding: 15px;
    text-transform: uppercase;
    color: #184181;
    font-weight: bold;
}

.nav-panel-wrapper {
    flex-direction: column;
    background: #e4f4fa;
    padding: 20px 0;
}

.nav-panel-bg {
    width: calc(100% - 60px);
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.nav-panel-menu {
    width: calc(100% - 30px);
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    flex-direction: column;
}

.nav-panel-bg > div {
    transition: 0.2s ease-in-out;
    border-bottom: 2px solid rgba(36, 155, 151, 0);
}

.nav-panel-bg > div.nav-panel-active {
    border-bottom: 2px solid rgba(36, 155, 151, 1);
}

div.nav-panel-active > div {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.32);
}

.nav-panel-menu a {
    background: #fff;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.161);
    color: #184181;
    font-weight: bold;
}

.nav-panel-menu a:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.32);
}

.nav-panel-menu a i {
    background: #249b98;
    font-size: 20px;
    color: #fff;
    border-radius: 30px;
    padding: 5px;
    margin-right: 10px;
}

.nav-panel-menu span.sidebar-normal {
    background: #249b98;
    font-size: 20px;
    color: #fff;
    border-radius: 30px;
    padding: 0 5px 5px;
    margin-right: 10px;
    display: inline;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    margin: 0 10px 0 0;
    overflow: initial;
    box-sizing: border-box;
    overflow: hidden;
}

.nav-panel-menu span.sidebar-normal img {
    width: 20px;
    height: 20px;
}

.nav-panel-bg + .nav-panel-bg {
    margin-top: 20px;
}

.nav-panel-bg span {
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: bold;
    color: #184181;
}

.nav-panel-bg > div {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav-panel-bg > div > div {
    margin: 0;
    width: 60px;
    height: 60px;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 60px;
    transition: 0.3s ease-in-out;
    user-select: none;
}

.nav-panel-bg > div:hover div {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.29);
}

.nav-panel-icon-1 {
    background-image: url("/img/v2/user.svg");
    background-size: 40px;
}

.nav-panel-icon-2 {
    background-image: url("/img/v2/Group 49.svg");
    background-size: 40px;
}

.nav-panel-icon-3 {
    background-image: url("/img/v2/spanner.svg");
    background-size: 35px;
}

.nav-panel-icon-4 {
    background-image: url("/img/v2/send.svg");
    background-size: 30px;
    position: relative;
}

.nav-panel-icon-material i {
    background-size: 30px;
    position: relative;
    font-size: 40px;
    font-weight: bold;
    padding: 10px;
    color: #184181;
}

.nav-panel-alerts {
    position: absolute;
    right: -20px;
    top: -14px;
    min-width: 22px;
    height: 22px;
    background: #249b98;
    color: #fff !important;
    border-radius: 25px;
    padding: 0 6px;
    text-transform: initial !important;
    font-size: 12px;
}

.custom-icon-bg {
    margin: 12px 12px 12px;
    background: #249b98;
    border-radius: 100px;
    width: 30px;
    height: 30px;
    padding: 8px 6px;
    text-align: left;
}

.custom-icon-bg img {
    width: 16px;
    height: 16px;
}

/* Index page */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* Page titles */

.card [class*="card-header-"] .card-icon,
.card [class*="card-header-"] .card-text {
    color: #184181 !important;
}

.card .card-header.card-header-icon .card-title,
.card .card-header.card-header-text .card-title {
    color: #184181 !important;
    font-size: 26px;
    font-weight: bold;
}

.card [class*="card-header-"] {
    border-bottom: 0;
    position: relative;
}

.card [class*="card-header-"]:after {
    content: " ";
    width: 50%;
    height: 1px;
    background: #249b98;
    position: absolute;
    bottom: 0;
    left: 12px;
}

@media (max-width: 991px) {
    .breadcrumb {
        display: none;
    }

    .form-control:disabled,
    .form-control[readonly] {
        background-color: #ebf6fb;
        opacity: 1;
        border-radius: 60px;
    }
}

/* week swap */

.week-swap-wrapper .card [class*="card-header-"] .card-icon {
    color: #249b98 !important;
}

.week-swap-wrapper .card [class*="card-header-"]:after {
    content: none;
}

.week-swap-wrapper .card.card-stats {
    background: #fff;
    margin: 5px 24px;
    box-shadow: 0 3px 6px 0 rgb(0, 0, 0, 0.29);
    border-radius: 0;
}

.week-swap-wrapper {
    background-color: #ebf6fb;
    margin-left: -15px !important;
    margin-right: -15px !important;
    box-shadow: 0 120px 60px 60px #ebf6fb;
}

.week-swap-bg {
    background-color: #ebf6fb;
}

.week-swap-wrapper .card .card-header.card-header-icon .card-title,
.week-swap-wrapper .card .card-header.card-header-text .card-title {
    font-size: 16px;
    font-weight: normal;
    line-height: 36px;
}

/* Page titles */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* Buttons */

.btn,
.btn.btn-default,
.paginate_button.next,
.paginate_button.previous,
.btn.btn-rose {
    color: #fff;
    background-color: #249b98;
    border: none;
    border-radius: 120px;
    box-shadow: none;
    margin-left: 3px !important;
    margin-right: 3px !important;
    cursor: pointer;
}

.btn i,
.btn.btn-default i,
.btn.btn-rose i {
    color: #fff;
}

.btn:focus,
.btn:active,
.btn:hover,
.btn.btn-default:focus,
.btn.btn-default:active,
.btn.btn-default:hover,
.paginate_button.next:focus,
.paginate_button.previous:focus,
.paginate_button.next:hover,
.paginate_button.previous:hover,
.btn.btn-rose:focus,
.btn.btn-rose.focus,
.btn.btn-rose:hover {
    color: #fff;
    background-color: #1b726f;
    border: none;
    box-shadow: none;
}

/* Buttons */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* Inputs */

.form-control {
    border-radius: 24px;
    border: 1px solid #ebf6fb;
    background-image: none !important;
    background-color: #ebf6fb;
}

.is-focused .form-control {
    border-radius: 24px;
    border: 1px solid #184181;
    background-image: none !important;
    background-color: #ebf6fb;
}

.form-control[readonly] {
    border-radius: 24px;
    border: 1px solid #ebf6fb;
    background-image: none !important;
    background-color: #f5f5f5;
    pointer-events: none;
    cursor: disabled;
}

.is-focused .form-control:read-only {
    border-radius: 24px;
    border: 1px solid #184181;
    background-image: none !important;
    background-color: #ebf6fb;
}

@media (max-width: 769px) {
    .form-control#phone_no {
        margin-top: 10px;
    }
}

/* Inputs */
/* ---------------------------------------- */

.form-group > label {
    padding-top: 0 !important;
    color: #184181;
}

.form-control[readonly] {
    background-color: #ebf6fb;
}

img.page-title-icon {
    width: 42px;
    height: 42px;
}

.page-title-icon {
    border-radius: 100px;
    padding: 4px;
    display: inline;
    margin: 10px 10px;
}

/* calender */

.months-row-bg {
    position: relative;
}

.months-row-bg:before {
    content: " ";
    background: #e4f4fa;
    width: calc(100% + 100%);
    height: 50%;
    left: -50%;
    top: 25%;
    position: absolute;
}

.month_bg {
    cursor: pointer;
    border-radius: 100px;
    text-transform: uppercase;
    color: #184181;
    background: #fff;
    box-shadow: 0 3px 6px #00000029;
    line-height: 18px;
    position: relative;
    box-sizing: border-box;
}

#grid-rota-year-display#grid-rota-year-display .divide-6 .month_bg {
    box-shadow: 0 3px 6px #00000029;
}

.month_bg i {
    font-size: 18px !important;
    font-weight: normal !important;
    -webkit-text-stroke: 0.5px white;
}

.month_bg:hover {
    background: #184181;
}

.month_bg.active {
    background: #184181;
}

.month_bg span {
    font-size: 15px;
    margin-bottom: -18px;
    margin-top: 10px;
    display: block;
}

.your-weeks {
    width: 8px;
    height: 8px;
    background: #6a7687;
    border-radius: 10px;
    border: 1px solid #fff;
    box-sizing: content-box;
    margin: 5px auto;
}

.ismymonth .your-weeks {
    background: #249b98;
}

.offer-my-week-bg-top {
    background: #fff;
}

.offer-my-week-bg {
    background: #e4f4fa;
}

.offer-my-week-bg .form-control {
    background: #fff;
}

/* text wizzy wig */

#cke_task_details {
    border-radius: 24px;
    border: 0 solid #fff;
    overflow: hidden;
}

#cke_task_details .cke_top {
    border-bottom: 0 solid #d1d1d1;
    background: #daf0fb;
    padding: 6px 8px 2px;
    white-space: normal;
}

#cke_task_details .cke_bottom {
    padding: 6px 18px 12px;
    position: relative;
    border-top: 0 solid #d1d1d1;
    background: #daf0fb;
}

#cke_task_details #cke_1_contents {
    background: #00afff;
}

#cke_task_details .cke_wysiwyg_frame {
    opacity: 0.95;
}

.form-label-style {
    color: #184181;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
}

.dropzone {
    border: 1px dashed #72c6df;
    border-radius: 24px;
    color: #72c6df;
}

.dropzone span {
    font-weight: bold;
}

.dropzone .dz-message {
    margin: 20px auto 5px;
}

.weekswap h5 {
    line-height: 0.8em;
    font-weight: 700;
}

.weekswap p {
    line-height: 0.8em;
}

#grid-rota-year-display .row .col-lg-2.col-md-2.col-sm-2.col-xs-2,
#grid-rota-date-display .row .col-lg-2.col-md-2.col-sm-2.col-xs-2 {
    width: 20%;
}

#grid-rota-year-display .row .col-lg-8.col-md-8.col-sm-8.col-xs-8,
#grid-rota-date-display .row .col-lg-8.col-md-8.col-sm-8.col-xs-8 {
    width: auto;
    margin: 0 auto;
}

/* calender changes */

.fc-day-grid-event .fc-content {
    color: inherit;
}

.fc-unthemed td.fc-today {
    background: transparent;
}

.fc-unthemed td.fc-day-top {
    text-align: center;
}

.fc-unthemed td.fc-day-top .fc-day-number {
    width: calc(100% - 20px);
    padding: 10px 0 5px;
    margin: 0 10px 5px;
}

.fc-unthemed td.fc-today .fc-day-number {
    background: transparent;
    border-bottom: 2px solid #249b98;
}

.fc-row.fc-rigid {
    height: calc(4.2em + 5px) !important;
}

.rota-section-header {
    display: flex;
    border-bottom: 1px solid #103368;
    margin: 10px 0;
    color: #194281;
    font-weight: 500;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.rota-section-header span {
    flex-basis: calc(100% / 3);
}

.rota-section-header-chev-container {
    text-align: right;
}

.rota-section-header-chev-container i {
    padding: 5px;
    transition: 0.3s ease-in-out;
    transform: rotate(90deg);
}

.rota-section-header-chev-container.rotate-chev i {
    transform: rotate(0deg);
}

#rota-calendar.rota-calendar-newstyle .fc-bg {
    z-index: 7;
}

#rota-calendar.rota-calendar-newstyle .fc-event {
    z-index: 999 !important;
}

#rota-calendar.rota-calendar-newstyle.fc-event .fc-content {
    position: relative;
    z-index: 999;
}

#rota-calendar.rota-calendar-newstyle.fc-unthemed td {
    border-color: #fff;
}

#rota-calendar.rota-calendar-newstyle
    .fc-day-grid-event.fc-event.fc-day-grid-event.fc-event.fc-day-grid-event.fc-event.fc-day-grid-event.fc-event.fc-day-grid-event.fc-event.fc-day-grid-event.fc-event {
    margin-top: calc(-2.5em - 20px);
    padding-top: calc(2.5em + 20px);
    padding-bottom: 2.5em;
    border-radius: 0;
    font-weight: 700;
}

.fc-day-header.fc-widget-header {
}

.fc-day-header.fc-widget-header span {
    display: block;
    padding: 5px 0;
    border-bottom: 2px solid #194281;
}

[class~="fc-week"]:last-of-type .fc-bg {
    border-bottom: 2px solid #194281;
}

.fc-day-number {
    font-weight: 600;
    font-size: 15px;
}

#rota-calendar.rota-calendar-newstyle .fc-event {
    border-radius: 120px;
    border: 0 solid #fff;
    box-shadow: initial;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* left */
#rota-calendar.rota-calendar-newstyle .fc-start.fc-not-end::after {
    content: " ";
    background: #6a7687;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(4.2em + 4px);
    z-index: 10;
    border-width: 0 !important;
    border: 1px solid #fff;
    border-radius: 15px;
}

/* right */
#rota-calendar.rota-calendar-newstyle .fc-not-start.fc-end::after {
    content: " ";
    background: #6a7687;
    width: 8px;
    height: 8px;
    position: absolute;
    top: calc(4.2em + 4px);
    z-index: 10;
    border-width: 0 !important;
    border: 1px solid #fff;
    border-radius: 15px;
}

#rota-calendar.rota-calendar-newstyle .fc-start.fc-not-end.my-week::after,
#rota-calendar.rota-calendar-newstyle .fc-not-start.fc-end.my-week::after {
    background: #249b98;
}

/* left */
#rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-start.fc-not-end::after {
    left: calc(100% / 2 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-start.fc-not-end::after {
    left: calc(100% / 4 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-start.fc-not-end::after {
    left: calc(100% / 6 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-start.fc-not-end::after {
    left: calc(100% / 8 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-start.fc-not-end::after {
    left: calc(100% / 10 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-start.fc-not-end::after {
    left: calc(100% / 12 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-start.fc-not-end::after {
    left: calc(100% / 14 - 5px);
}

/* right */
#rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-not-start.fc-end::after {
    right: calc(100% / 2 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-not-start.fc-end::after {
    right: calc(100% / 4 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-not-start.fc-end::after {
    right: calc(100% / 6 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-not-start.fc-end::after {
    right: calc(100% / 8 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-not-start.fc-end::after {
    right: calc(100% / 10 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-not-start.fc-end::after {
    right: calc(100% / 12 - 5px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-not-start.fc-end::after {
    right: calc(100% / 14 - 5px);
}

/* left */
#rota-calendar.rota-calendar-newstyle .fc-start.fc-not-end::before {
    content: " ";
    background: #103368;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    border-width: 0 !important;
    opacity: 0.1;
}

/* right */
#rota-calendar.rota-calendar-newstyle .fc-not-start.fc-end::before {
    content: " ";
    background: #103368;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
    border-width: 0 !important;
    opacity: 0.1;
}

#rota-calendar.rota-calendar-newstyle .fc-start.fc-not-end.my-week::before,
#rota-calendar.rota-calendar-newstyle .fc-not-start.fc-end.my-week::before {
    background: #249b98;
}

#rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-start.fc-not-end {
    padding-left: calc(100% / 1 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-start.fc-not-end {
    padding-left: calc(100% / 2 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-start.fc-not-end {
    padding-left: calc(100% / 3 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-start.fc-not-end {
    padding-left: calc(100% / 4 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-start.fc-not-end {
    padding-left: calc(100% / 5 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-start.fc-not-end {
    padding-left: calc(100% / 6 + 10px);
}

#rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-start.fc-not-end {
    padding-left: calc(100% / 7 + 10px);
}

@media (max-width: 640px) {
    #rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-start.fc-not-end {
        padding-left: calc(100% / 1 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-start.fc-not-end {
        padding-left: calc(100% / 2 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-start.fc-not-end {
        padding-left: calc(100% / 3 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-start.fc-not-end {
        padding-left: calc(100% / 4 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-start.fc-not-end {
        padding-left: calc(100% / 5 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-start.fc-not-end {
        padding-left: calc(100% / 6 + 1px);
    }

    #rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-start.fc-not-end {
        padding-left: calc(100% / 7 + 1px);
    }
}

/* left */
#rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-start.fc-not-end::before {
    width: calc(100% / 1);
}

#rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-start.fc-not-end::before {
    width: calc(100% / 2);
}

#rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-start.fc-not-end::before {
    width: calc(100% / 3);
}

#rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-start.fc-not-end::before {
    width: calc(100% / 4);
}

#rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-start.fc-not-end::before {
    width: calc(100% / 5);
}

#rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-start.fc-not-end::before {
    width: calc(100% / 6);
}

#rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-start.fc-not-end::before {
    width: calc(100% / 7);
}

/* right */
#rota-calendar.rota-calendar-newstyle td[colspan="1"] .fc-not-start.fc-end::before {
    width: calc(100% / 1);
}

#rota-calendar.rota-calendar-newstyle td[colspan="2"] .fc-not-start.fc-end::before {
    width: calc(100% / 2);
}

#rota-calendar.rota-calendar-newstyle td[colspan="3"] .fc-not-start.fc-end::before {
    width: calc(100% / 3);
}

#rota-calendar.rota-calendar-newstyle td[colspan="4"] .fc-not-start.fc-end::before {
    width: calc(100% / 4);
}

#rota-calendar.rota-calendar-newstyle td[colspan="5"] .fc-not-start.fc-end::before {
    width: calc(100% / 5);
}

#rota-calendar.rota-calendar-newstyle td[colspan="6"] .fc-not-start.fc-end::before {
    width: calc(100% / 6);
}

#rota-calendar.rota-calendar-newstyle td[colspan="7"] .fc-not-start.fc-end::before {
    width: calc(100% / 7);
}

.fc button .fc-icon {
    font-weight: bold;
    color: #184181;
}

#grid-rota-year-display .month_bg,
.rowhr .month_bg,
#grid-rota-date-display .month_bg,
.rowhr .month_bg,
#rota-calendar.fc button {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

#grid-rota-year-display .month_bg:hover,
#grid-rota-date-display .month_bg:hover {
    color: #184181;
    background: #fff;
}

.bg_header_title {
    text-align: center;
}

.month_bg_header {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
}

@media (max-width: 640px) {
    .table-responsive {
        display: table;
    }
}

.rota-table-styles .table-bordered {
    border: 0 solid #fff;
}

.rota-table-styles .table > thead > tr > th,
.rota-table-styles .table > tbody > tr > th,
.rota-table-styles .table > tfoot > tr > th,
.rota-table-styles .table > thead > tr > td,
.rota-table-styles .table > tbody > tr > td,
.table > tfoot > tr > td {
    border-color: #fff;
}

.myyachtrota-table-header.myyachtrota-table-header.myyachtrota-table-header {
    background: #fff;
    color: #666666;
    font-weight: normal !important;
    border: 2px solid #fff;
    border-bottom: 2px solid #103368;
    width: calc(100% - 2px);
    padding: 8px;
}

.rota-table-styles .table > tbody > tr td {
    border: 1px solid #fff;
    border-right: 2px solid #fff;
}

.rota-table-styles .table > tbody > tr:last-child td {
    border: 1px solid #fff;
    border-bottom: 2px solid #103368;
    border-right: 2px solid #fff;
    box-sizing: content-box;
}

.current-user-on-table.current-user-on-table {
    background: rgba(36, 155, 151, 0.2);
    color: #249b98;
}

.not-current-user-on-table.not-current-user-on-table {
    background: rgba(114, 198, 223, 0.1);
    color: #103368;
}

td.not-current-user-on-table:first-child::before {
    content: "● ";
    color: #6a7687;
}

td.current-user-on-table:first-child::before {
    content: "● ";
}

td.not-current-user-on-table + td.not-current-user-on-table,
td.current-user-on-table + td.current-user-on-table {
    text-align: center;
}

.your-weeks-span {
    text-align: center;
    font-weight: 100;
}

.your-weeks-span::before {
    content: "● ";
    color: #249b98;
}

.yfcalendar .tooltip {
    border-radius: 0;
}

.yfcalendar .tooltip .tooltip-inner {
    padding: 15px 15px;
    border-radius: 0;
    position: relative;
    min-width: 50%;
    margin: 0 auto;
}

/* .fc-content::after {
  content: "●";
} */

.event-bubble {
    background: #249b98;
    position: relative;
    width: 32px;
    height: 32px;
    border-radius: 32px;
    text-align: center;
    line-height: 32px;
    font-weight: bold;
    margin: 0 auto;
}

.event-bubble:hover {
    background: #1a706d;
}

.event-number {
    color: #fff;
    font-size: 18px;
}

.event-floater {
    position: absolute;
    top: -7px;
    right: -7px;
    padding: 2px;
    box-sizing: border-box;
    border-radius: 18px;
    display: none;
    align-items: center;
    justify-content: center;
}

.event-floater i {
    background: #fff !important;
    text-align: center;
    color: #666666;
    font-size: 15px !important;
    width: 14px;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 20px;
}

.event-bubble-wrapper.event-bubble-wrapper.event-bubble-wrapper.event-bubble-wrapper {
    background-color: transparent !important;
    color: #fff !important;
    padding: 0;
    margin: 0 auto;
    width: 32px;
    height: 32px;
    display: block;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.event-bubble-wrapper .fc-content {
    overflow: visible;
}

.event-bubble-wrapper:hover i {
    padding: 0;
    font-size: 15px !important;
    color: #666666;
}

.rota-calendar-maint table,
.rota-calendar-maint .fc-body,
.rota-calendar-maint .fc-widget-content,
.rota-calendar-maint .fc-head-container,
.rota-calendar-maint .fc-head {
    border-color: #fff;
}

.fc-day-header.fc-widget-header {
    border-color: #fff;
}

.fc-day-grid .fc-row.fc-week:nth-child(odd) .fc-day.fc-widget-content:nth-child(odd) {
    border-color: #fff;
    background: rgba(114, 198, 223, 0.2);
}

.fc-day-grid .fc-row.fc-week:nth-child(even) .fc-day.fc-widget-content:nth-child(even) {
    border-color: #fff;
    background: rgba(114, 198, 223, 0.2);
}

.fc-day-grid .fc-row.fc-week:nth-child(odd) .fc-day.fc-widget-content:nth-child(even) {
    border-color: #fff;
    background: rgba(114, 198, 223, 0.1);
}

.fc-day-grid .fc-row.fc-week:nth-child(even) .fc-day.fc-widget-content:nth-child(odd) {
    border-color: #fff;
    background: rgba(114, 198, 223, 0.1);
}

.repairs-popup {
    font-size: 15px;
}

.repairs-popup strong {
    color: #103368;
    text-transform: uppercase;
}

.fc-more-popover .fc-title {
    color: #666666;
    font-size: 14px;
}

.fc-more-popover .fc-day-grid-event {
    margin-bottom: 8px;
    cursor: pointer;
}

/*  */

.fc-more-popover .fc-content {
    padding: 4px 0 0;
}

@media (min-width: 576px) {
    .fc-more-popover .fc-content {
        padding: 0 0 0;
        line-height: 14px;
    }
}

.fc-more-popover .fc-content::before {
    color: inherit;
    content: "● ";
}

.repairs-popup-close {
    padding: 15px;
    position: absolute;
    font-size: 18px;
    top: 0;
    right: 0;
}

/* makes a table cards style */
/* add class off card to the table */
/* and add the js code */
.mobile-datatable-headers {
    display: none;
}

@media (max-width: 576px) {
    .mobile-datatable-headers {
        display: block;
        text-transform: uppercase;
        color: #103368;
        font-weight: bold;
    }

    table.cards {
        border: 0 solid #fff;
    }

    .cards thead {
        display: none;
    }

    .cards tbody {
        width: calc(100vw - 30px);
        border: 0 solid #fff;
    }

    .cards tbody tr {
        background: #fff;
        float: left;
        width: 100%;
        margin: 0 0 15px;
        padding: 10px 0 20px;
        border: 1px solid #ddd !important;
        box-shadow: 0 3px 6px 0 rgb(0, 0, 0, 0.29);
    }

    .cards.cards.cards tbody tr td {
        border: 0 solid #fff !important;
        padding: 10px 20px 0 !important;
    }

    .cards.cards.cards tbody tr td .dropdown {
        position: relative;
    }

    .cards.cards.cards tbody tr td .dropdown .dropdown-menu.show {
        top: 30px !important;
    }

    .cards tbody td {
        display: block;
    }

    .table tbody label {
        display: none;
    }

    .cards tbody label {
        display: inline;
        position: relative;
        font-size: 85%;
        top: -0.5rem;
        float: left;
        color: #808080;
        min-width: 4rem;
        margin-left: 0;
        margin-right: 1rem;
        text-align: left;
    }

    tr.selected label {
        color: #404040;
    }

    .table .fa {
        font-size: 2.5rem;
        text-align: center;
    }

    .cards .fa {
        font-size: 7.5rem;
    }

    .blue-bg-tables {
        background: #e4f4fa;
        padding: 15px 15px;
    }
}

.key-contacts-styles .card-text p {
    background: #fff;
    position: relative;
    border: 1px solid #ddd;
    padding: 15px 15px 15px 60px;
    min-height: 80px;
    box-sizing: content-box;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.161);
}

.key-contacts-styles .card-text p strong {
    color: #103368;
    font-weight: bold;
    margin-bottom: -10px;
    display: block;
    font-size: 18px;
}

.key-contacts-styles .card-text p::before {
    content: " ";
    width: 40px;
    height: 80px;
    background: url(/img/contacts_dummy_img.png);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 15px;
}

@media (max-width: 575px) {
    .blue-bg {
        background: #e4f4fa;
    }
}

.imgsort_area .boxh img {
    width: 100%;
}

.imgsort_area {
    border: 0 solid #a7a7a7;
    display: block;
    padding: 0;
    background: #fff;
    height: 100%;
    margin-bottom: 15px;
}

.has-chev {
    position: relative;
}

.has-chev::after {
    font-family: FontAwesome;
    font: normal normal normal 14px/1 FontAwesome;
    content: "\f078";
    position: absolute;
    right: 12px;
    top: 12px;
}

.rota-calendar-newstyle-calender-view td.fc-day-top .fc-day-number {
    width: calc(100% - 20px);
    padding: 5px 0 5px;
    margin: 0 10px 5px;
}

#grid-rota-year-display .row .col-lg-2.col-md-2.col-sm-2.col-xs-2 {
    width: 10%;
}

#rota-calendar#rota-calendar#rota-calendar#rota-calendar.rota-calendar-newstyle .fc-not-start.fc-end {
    border-top-right-radius: 60px;
}

#rota-calendar#rota-calendar#rota-calendar#rota-calendar.rota-calendar-newstyle .fc-start.fc-not-end {
    border-top-left-radius: 60px;
}

.map-info {
    padding: 0 0 10px 0;
}

.map-info .btn-info-div {
    margin-top: 1rem;
}

.map-info .btn-info-div button {
    background-color: #184181;
    color: #ffffff;
    border: none;
}

.map-title {
    font-size: 1rem;
    font-weight: 700;
    padding: 0 0 1rem 0;
    margin: 0;
}

.map-image {
    padding: 0;
    margin: 0;
    margin-bottom: 1rem;
}

.map-data-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
}

.material-icons.md-16 {
    font-size: 16px;
}
.material-icons.md-18 {
    font-size: 18px;
}
.material-icons.md-24 {
    font-size: 24px;
}
.material-icons.md-36 {
    font-size: 36px;
}
.material-icons.md-48 {
    font-size: 48px;
}
.material-icons.inline-icon {
    vertical-align: bottom;
}

#legend {
    width: 200px;
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 2px;
    margin: 0 0 10px 20px;
    font-size: 1rem;
    display: none;
}

#map #legend {
    display: inline-block;
}

#legend h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border-top: 1px solid #eeeeee;
    padding-top: 1rem;
}

#legend > div:not(:last-child) {
    margin-bottom: 1rem;
}

#legend.hide_legends > div {
    display: none;
}

#legend.hide_legends h3 {
    margin: 0;
    padding: 0;
    border: none;
}

#naviliy-logo {
    margin-right: 15px;
    margin-top: 15px;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
}

.gm-fullscreen-control {
    margin-right: 15px !important;
    margin-top: 15px !important;
}

.hide {
    display: none !important;
}

.infoDiv > .div-card:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.infoDiv > .div-card:first-child > div,
.subInfo > div {
    padding-bottom: 8px;
}

.infoDiv > .div-card:first-child > div strong {
    padding-right: 8px;
}

.flex-col-2 {
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: row;
}

.flex-col-2 > strong {
    min-width: 200px;
}

.subInfo > .subInfo {
    display: flex;
    flex-direction: column;
}

.flex-col-2 > .subInfo > .subInfo:not(:first-child) {
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
}

.info-headline {
    display: block;
    padding-bottom: 8px;
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
    color: #184181 !important;
}

.div-comments {
    display: flex;
    flex-direction: column;
    grid-column: 1 / span 2;
}

.div-comments-title,
.div-title {
    color: #184181;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.div-card {
    border: 1px solid #eeeeee;
    border-radius: 5px;
    margin: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.div-card-image img {
    max-width: 100% !important;
}

.div-comments > div:not(:first-child) {
    border: 1px solid #eeeeee;
    border-radius: 5px;
    margin: 0.5rem;
    padding: 0.5rem;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.div-comments-headline {
    display: flex;
    flex-direction: row;
    padding: 0.5rem 0 1rem 0;
    align-items: center;
    border-bottom: 1px solid #eeeeee;
}

.div-comments-headline .div-avatar {
    width: 75px;
    max-height: 75px;
    margin-right: 1rem;
}

.div-comments-headline .div-avatar img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.div-comments-headline .div-avatar-empty {
    height: 75px;
    background-color: #eeeeee;
}

.div-author {
    color: #000;
    font-weight: 700;
}

.div-comments-message > div:first-child {
    padding-top: 1rem;
}

.div-comments-message > div {
    padding-bottom: 1rem;
}

.div-comments-boat {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #eeeeee;
    padding-top: 1rem;
}

.div-comments-boat > strong {
    color: #000;
    padding-bottom: 10px;
}

.div-comments-footer {
    border-top: 1px solid #eeeeee;
    padding-top: 1rem;
}

.div-comments-permissions {
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
    margin-top: 1rem;
    padding-bottom: 0.5rem;
}

.div-comments-permissions > strong {
    color: #000;
    padding-bottom: 10px;
}

.div-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.div-flex > div {
    width: 25%;
}

.div-flex-equal {
    justify-content: space-between;
}

.div-flex-equal > div {
    width: auto !important;
}

.margin-top-1 {
    margin-top: 1rem;
}

.block {
    display: block;
}

.div-comments-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 5px;
}

.div-grid {
    display: grid;
    row-gap: 1.5rem;
    align-items: start;
    justify-items: stretch;
    padding: 1rem;
}

.grid-col-2 {
    grid-template-columns: 1fr 1fr;
}

.div-visits:not(:last-child) {
    border-bottom: 1px solid #eeeeee;
    margin-bottom: 1rem;
}

.div-visits .div-visits-top {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.div-visits .div-visits-top img {
    width: 75px;
    height: 75px;
    object-fit: cover;
}

.div-visits .div-visits-top a {
    display: block;
    width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 991px) {
    .main-panel .nav-panel-wrapper {
        height: calc(100vh - 344px);
    }
}

.blue-bg .main-panel > .content {
    padding: 0;
}

.main-panel > .content {
    padding: 60px 0 0 0;
}

.main-panel .menu-panel-wrapper {
    height: auto !important;
}

.main-panel .nav-panel-wrapper {
    height: calc(100vh - 304px);
}
