/* body */
body, html {
    height:100vh;
    background-color:#FFF;
}

/* nav */
#mobile-nav {
}
#mobile-nav .offcanvas-header {
    background-color:rgba(0,0,0,0.05);
}
#mobile-nav .row {
    margin-bottom:3px;
}
#mobile-nav .btn {
    border-radius:0;
}
#mobile-nav .col-auto {
    margin-left:3px;
}
#mobile-nav .mobile-nav-level-1 a.btn {
    background-color:rgba(0,0,0,0.05);
}
#mobile-nav .mobile-nav-level-1 a.btn:hover {
    background-color:rgba(0,0,0,0.1);
}
#mobile-nav .mobile-nav-level-2 a.btn {
    background-color:rgba(0,0,0,0.15);
}
#mobile-nav .mobile-nav-level-2 a.btn:hover {
    background-color:rgba(0,0,0,0.2);
}
#mobile-nav .mobile-nav-level-3 a.btn {
    background-color:rgba(0,0,0,0.25);
}
#mobile-nav .mobile-nav-level-3 a.btn:hover {
    background-color:rgba(0,0,0,0.3);
}


/* header */
#header {
    border-bottom-width:1px;
    border-bottom-style:solid;
}
#header a {
    color:inherit;
}

#header,
#footer {
    background-color:#EEE;
    border-color:#CFCFCF;
}

/* layout */
#layout {
}

/* footer */
#footer {
    border-top-width:1px;
    border-top-style:solid;
}


/* striped-list */
.striped-list {
}
.striped-list .striped-list-item {
}
.striped-list .striped-list-item .striped-list-item-wrapper {
    background:#F4F4f4;
    border:1px solid #CCC;
}
.striped-list .striped-list-item:nth-child(even) .striped-list-item-wrapper {
    background:#E4E4E4;
}
.striped-list .striped-list-item .striped-list-item-wrapper.round {
    border-radius:6px;
}

.fc-header-toolbar {
    margin-bottom:0.5em !important;
}
.fc-header-toolbar .fc-toolbar-title {
    font-size:1.2rem !important;
    text-align:center;
}
.fc-footer-toolbar {
    margin-top:0.5em !important;
}

/* fitter-calendar */
#fitter-calendar-wrapper a,
#admin-calendar-wrapper a,
#log-calendar-wrapper a {
    color:inherit;
    text-decoration:none;
}
.fc-event-title {
    font-weight:normal !important;
}
#fitter-calendar-wrapper,
#admin-calendar-wrapper,
.fitter-calendar-wrapper,
#log-calendar-wrapper,
#address-wrapper {
    position:relative;
}
.fitter-calendar-inner {
    border-radius:0 0 10px 10px;
    padding:10px;
    background-color:#F4F4f4;
}
.fitter-calendar-wrapper h5 {
    border-radius:10px 10px 0 0;
    text-shadow:2px 2px 2px rgba(0,0,0,0.2);
}
.fc-view-harness {
    background-color:#FFF;
}
#fitter-calendar-loading,
.admin-calendar-loading,
#log-calendar-loading,
#address-loader {
    z-index:10;
    background-color:rgba(100,127,148,0.7);
    left:-10px;
    right:-10px;
    top:50px;
    bottom:-10px;
    position:absolute;
    color:#FFF;
    text-align:center;
    padding:30px;
    border-radius:8px;
    display:none;
}
#address-loader {
    top:-10px;
}
#fitter-calendar-loading .spinner-border,
.admin-calendar-loading .spinner-border,
#log-calendar-loading .spinner-border,
#address-loader .spinner-border {
    width:70px;
    height:70px;
}
.fc-event,
.fc-event-time,
.fc-event-title {
    padding: 0 1px;
    white-space: normal;
}
.fc-event-time {
    flex-shrink:0;
}
.fc-alert-admin {
    color:#E0A800;
    line-height:1rem;
    font-size:0.8rem;
}

/* app colours */

.border-app-dark,
.btn-app-dark {
    border-color:#647E94 !important;
}
.bg-app-dark,
.btn-app-dark {
    background-color:#647E94;
}
.btn-app-dark:hover, 
.btn-app-dark:focus, 
.btn-app-dark:active, 
.btn-app-dark.active, 
.open > .dropdown-toggle.btn-app-dark {
    background:#405669;
    border-color:#405669;
}

.border-app-light,
.btn-app-light {
    border-color:#94AEC1 !important;
}
.bg-app-light,
.btn-app-light {
    background-color:#94AEC1;
}
.btn-app-light:hover, 
.btn-app-light:focus, 
.btn-app-light:active, 
.btn-app-light.active, 
.open > .dropdown-toggle.btn-app-light {
    background:#7994a8;
    border-color:#7994a8;
}

.border-app-lightest,
.btn-app-lightest {
    border-color:#cce1f0 !important;
}
.bg-app-lightest,
.btn-app-lightest {
    background-color:#cce1f0;
}
.btn-app-lightest:hover, 
.btn-app-lightest:focus, 
.btn-app-lightest:active, 
.btn-app-lightest.active, 
.open > .dropdown-toggle.btn-app-lightest,
.bg-app-lightest-hover:hover {
    background:#aec5d6;
}
.btn-app-lightest:hover, 
.btn-app-lightest:focus, 
.btn-app-lightest:active, 
.btn-app-lightest.active, 
.open > .dropdown-toggle.btn-app-lightest {
    border-color:#aec5d6;
}

.border-app-grey,
.btn-app-grey {
    border-color:#888 !important;
}
.bg-app-grey,
.btn-app-grey {
    background-color:#888;
}
.btn-app-grey:hover, 
.btn-app-grey:focus, 
.btn-app-grey:active, 
.btn-app-grey.active, 
.open > .dropdown-toggle.btn-app-grey {
    background:#555;
    border-color:#555;
}

.border-app-grey-light,
.btn-app-grey-light {
    border-color:#F4F4F4 !important;
}
.bg-app-grey-light,
.btn-app-grey-light {
    background-color:#F4F4F4;
}
.btn-app-grey-light:hover, 
.btn-app-grey-light:focus, 
.btn-app-grey-light:active, 
.btn-app-grey-light.active, 
.open > .dropdown-toggle.btn-app-grey-light {
    background:#EEE;
    border-color:#EEE;
}

/* bg-app-grey-light border border-app-grey */


.easy-autocomplete {
    width:100% !important;
}


/* fix bootstrap annoyances */
.btn:focus,
.btn:active {
   outline: none !important;
   box-shadow: none;
}
/*
.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0 !important; 
 }
 */
 
 .easy-autocomplete-container {
    white-space: nowrap;
    width:auto !important;
    min-width:100%;
 }
.tooltipster-sidetip .tooltipster-content {
    padding: 2px !important;
}

.reminder-float {
    float:none;
}
@media (min-width: 768px) {
    .reminder-float {
        float:right;
    }
}

#reminder-bell-wrapper {
}
#reminder-bell-wrapper:hover #reminder-bell {
    opacity:0.7;
}
#reminder-bell-text {
    text-align:center;
    font-size:0.75rem;
    min-width:22px;
    height:22px;
    line-height:22px;
    font-weight:bold;
    background:#F00;
    color:#FFF;
    border-radius:100%;
    display:inline-block;
    position:absolute;
    right:-2px;
    top:2px;
}
#reminder-hover {
    color:#333;
    width:300px;
    position:absolute;
    right:0;
    top:100%;
    background-color:#FFF;
    border:1px solid #CCC;
}
#reminder-hover a.reminder {
    text-decoration: none;
    display:block;
    width:100%;
    padding:5px;
}
#reminder-hover a.reminder:hover {
    background-color:rgba(0,0,0,0.1);
}
#reminder-hover a.reminder:not(.last) {
    border-bottom:1px solid #CCC;
}
#pending-reminders-list .pending-reminder {
    background-color:rgba(0,0,0,0.1);
}
#pending-reminders-list .pending-reminder.even {
    background-color:rgba(0,0,0,0.2);
}
#pending-reminders-list .pending-reminder .pending-reminder-inner {
    background-color:rgba(255,255,255,0.85);
}

#loading-spinner {
    color:#FFF;
    position:fixed;
    height:100vh;
    top:0;
    left:0;
    right:0;
    background-color:rgba(0,0,0,0.8);
}


.tooltipevent{
    width:280px;/*
    height:100px;*/
    background:#FFF;
    position:absolute;
    z-index:10001;
    transform:translate3d(-50%,-100%,0);
    font-size: 0.8rem;
    box-shadow: 1px 1px 3px 0px #888888;
    line-height: 1rem;
}
.tooltipevent div{
    padding:6px;
    background-color:whitesmoke;
    position:relative;
}
.tooltipevent div:last-child::after, .tooltipevent div:last-child::before{
    width:0;
    height:0;
    border:solid 5px transparent;/*
    box-shadow: 1px 1px 2px 0px #888888;*/
    border-bottom:0;
    border-top-color:whitesmoke;
    position: absolute;
    display: block;
    content: "";
    bottom:-4px;
    left:50%;
    transform:translateX(-50%);
}
.tooltipevent div:last-child::before{
    border-top-color:#888888;
    bottom:-5px;
}