/** Tour Layer **/
#tour-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    background-color: rgba(0,0,0,0.1);
    display: none;
}

.preloader {
    z-index: 999999999 !important;
}

/** Modals **/
.modal-backdrop {
    z-index: 99999999;
}

.modal {
    z-index: 9999999999;
}

/** Text **/
.font-24 {
    font-size: 24px;
}

.disabled.allow-clicks {
    pointer-events: all;
}

.disabled,
.disabled * {
    pointer-events: none;
    cursor: not-allowed;
    color: #99abb4 !important;
}

.truncate-word {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    word-wrap: unset;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap;
}

/** Buttons **/
.btn-large {
    padding-top: 20px;
    padding-bottom: 20px;
    width: 100%;
}

.btn-250 {
    width: 250px;
}

.btn:disabled {
	pointer-events: none;
}

/** Notifications **/
.jq-toast-wrap {
    z-index: 99999999999 !important;
}

.swal2-container {
    z-index: 99999999999;

}

.tooltip,
.popover {
    z-index: 9999999999;
}

.jq-toast-wrap.top-right {
	top: 85px !important;
}

.jq-toast-single {
    font-size: 16px;
    line-height: 22px;
}

.mailbox .message-center div.notification {
    border-bottom: 1px solid rgba(120,130,140,0.13);
    display: block;
    text-decoration: none;
    padding: 9px 15px;
	font-size: 13px;
	color: #67757c;
	line-height: 20px;
}

.mailbox .message-center div.notification:nth-of-type(odd) {
	background: rgba(242, 242, 242, 0.5);
}

.mailbox .message-center div.notification a,
.mailbox .message-center div.notification a:hover {
	border-bottom: initial;
    display: initial;
    text-decoration: none;
    padding: initial;
	background: initial;
}

.mailbox .slimScrollDiv {
	height: 300px !important;
}

.message-center {
	height: 300px !important;
}

.system-notifications {
    margin-left: -30px;
    width: 100%;
    position: fixed;
    z-index: 999999;
    box-shadow: 1px 0 5px rgba(0,0,0,0.1);
}

.notification-row {
    background-color: #FFFAE6;
    padding: 10px;
}

.onboard-row {
    background-color: #4cae9c;
    color: white;
}

.btn-onboard {
    display: inline;
    padding-top: 4px;
    padding-bottom: 4px;
    border-radius: 5px;
    background: white;
    color: #4cae9c;
    font-weight: 500;
    text-transform: uppercase;
    transition: background-color .3s ease;
}

.btn-onboard:hover {
    opacity: 0.9;
}

.onboarding-link,
.onboarding-link:hover {
    color: white !important;
    border-bottom: 1px dashed white;
}

.onboarding-btn,
.gold-onboarding-btn {
    padding-top: 5px;
    padding-bottom: 5px;
    position: relative;
    top: -1px;
    font-weight: 500;
    border: none !important;
}

.onboarding-btn {
    background: #fff;
    color: #4FAE9C !important;
}

.gold-onboarding-btn {
    background: #EDD492 !important;
    color: #333 !important;
}

.onboarding-btn:hover {
    border: none !important;
    background: rgb(245, 245, 245)  !important;
}

.gold-onboarding-btn:hover {
    border: none !important;
    background: #E9BD56 !important;
}

/** Inputs **/
.form-control::placeholder {
    color: #d9d9d9;
    opacity: 1;
}

.editable-input {
    margin-bottom: 10px;
}

.editable-input input {
    background-color: #fff !important;
}

.editable-buttons {
    text-align: center;
}

label {
    pointer-events: none;
}

.label-tip {
    font-size: 20px;
    position: absolute;
    top: -6px;
    pointer-events: all;
    cursor: pointer;
}

.do-not-float {
    font-size: 12px;
    color: #263238;
    position: initial !important;
}

.floating-labels .force-float,
.floating-labels .form-control:invalid ~ label.float-when-invalid,
.floating-labels .form-control:disabled ~ label {
    top: -20px;
    font-size: 12px;
    color: #263238;
    padding-left: 0;
}

.floating-labels textarea.form-control {
    line-height: 22px;
}

.floating-labels textarea.form-control:not(.excel-style) {
    padding: 10px !important;
}

.floating-labels .form-control:not(.excel-style) {
    padding-left: 5px !important;
    padding-right: 5px !important; padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.floating-labels .form-control:focus ~ label {
    padding-left: 0px !important;
    color: #263238 !important;
}

.floating-labels .form-control:invalid ~ label {
    padding-left: 4px;
    color: #b7b7b7;
}

.floating-labels label {
    left: 0;
}

.floating-labels input.form-control:not([required]) {
    color: 'red';
}

div.icheck-label {
    position: relative;
    top: -3px;
    left: 3px;
    display: inline;
}

div.icheck-label label {
    position: relative !important;
    display: inline !important;
}

/** Override / Enhance base **/
.topbar {
    z-index: 999999998;
}

.possessing {
    background-color: #FF3333;
    color: white;
    animation:         designerPulse 5s;
    -moz-animation:    designerPulse 5s infinite;
    -webkit-animation: designerPulse 5s infinite;
}

@-moz-keyframes designerPulse /* Firefox */
{
    0%   { background: #FF3333; }
    50%  { background: #33CC33; }
    100% { background: #FF3333; }
}

@-webkit-keyframes designerPulse /* Safari and Chrome */
{
    0%   { background: #FF3333; }
    50%  { background: #33CC33; }
    100% { background: #FF3333; }
}

.left-sidebar {
    z-index: 9999999;
}

.sidebar-nav>ul>li>a i {
    position: relative;
    top: -3px;
}

/** Styling **/
.show-pointer {
    cursor: pointer;
}

.no-border {
    border: none !important;
}

/** Tables **/
.ios-scroll,
.table-container,
.table-responsive {
    overflow-y: scroll; /* has to be scroll, not auto */
    -webkit-overflow-scrolling: touch;
}

.table-striped.striped-input tbody tr:nth-of-type(odd) td input {
    background: #f2f4f8;
}

.table-striped.striped-input tbody tr:nth-of-type(odd) td input.parsley-success,
.table-striped.striped-input tbody tr:nth-of-type(odd) td select.parsley-success,
.table-striped.striped-input tbody tr:nth-of-type(odd) td textarea.parsley-success {
    background-color: #e0f1da;
}

.table-striped tbody tr:nth-of-type(odd):hover,
.table-striped tbody tr:nth-of-type(odd):hover td input {
    background: #dee2ed;
}

.table-striped tbody tr:nth-of-type(even):hover,
.table-striped tbody tr:nth-of-type(even):hover td input {
    background: rgba(255, 255, 230, 0.6);
}

.white-rows,
.white-rows tr,
.white-rows tr:hover {
    background: #fff !important;
}

input.excel-style,
select.excel-style,
textarea.excel-style {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

td.new-add-on,
select.excel-style.new-add-on,
input.excel-style.new-add-on {
    background: #e0ebe9 !important;
    border-radius: 0 !important;
    color: #453F60;;
}

td.new-add-on:hover,
select.excel-style.new-add-on:hover,
input.excel-style.new-add-on:hover {
    background: #CAE0D9 !important;
}

input.excel-style.new-add-on::placeholder {
    color: #d4d1e1 !important;
}

.new-add-on .pending-save {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 8px;
    padding-right: 8px;
    background: #FDFBF4;
    font-weight: 500;
    color: #453F60;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.excel-style .parsley-error-wrapper {
	position: relative !important;
	width: 95%;
	margin-left: auto;
	margin-right: auto;
}

.excel-style .parsley-error-wrapper .parsley-required::before {
    content: ' ';
    font-size: 16px;
    font-weight: 100;
    color: red;
    position: absolute;
    top: -7px;
    right: 10px;
    background: white;
    width: 12px;
    height: 12px;
    border-left: 1px solid red;
    border-top: 1px solid red;
    transform: rotate(45deg);
}

.excel-style .parsley-error-wrapper .parsley-required {
    background: white;
    border: 1px solid red;
    padding: 5px;
    text-align: center;
    font-weight: 500;
    margin-top: 3px;
    width: 100%;
	position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

select.excel-style {
    border: none !important;
    outline: none !important;
    background: transparent !important;
}

/** Breadcrumbs **/
.breadcrumb-item .breadcrumb-item::before {
    padding-left: 6px !important;
    padding-right: 0 !important;
}

/** Layout **/
.center-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.scrolling {
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.no-scrolling {
    overflow: hidden !important;
}

.hidden {
    display: none !important;
}

.m-l-1 {
    margin-left: 1px;
}

.m-r-1 {
    margin-right: 1px;
}

.m-t-0 {
    margin-top: 0 !important;
}

.m-b-0 {
    margin-bottom: 0 !important;
}

.m-t-2 {
    margin-top: 2px;
}

.m-b-2 {
    margin-bottom: 2px;
}

.m-t-7 {
    margin-top: 7px;
}

.m-b-7 {
    margin-bottom: 7px;
}

.p-t-5 {
    padding-top: 5px;
}

.p-b-5 {
    padding-bottom: 5px;
}

.p-l-15 {
	padding-left: 15px;
}

.p-r-15 {
	padding-right: 15px;
}

.pos-top-1 {
    position: relative;
    top: 1px;
}

.pos-top-2 {
    position: relative;
    top: 2px;
}

.width-200 {
    width: 200px;
}

.width-800 {
    width: 800px;
}

.width-900 {
    width: 900px;
}

.w-90 {
    width: 90%;
}

.min-width-150 {
    min-width: 150px;
}

.min-width-350 {
    min-width: 350px;
}

.min-width-400 {
    min-width: 400px;
}

.min-width-450 {
    min-width: 450px;
}

.min-width-500 {
    min-width: 500px;
}

.min-width-800 {
    min-width: 800px;
}

.min-width-950 {
    min-width: 950px;
}

@keyframes blink {
    0% {
      opacity: .2;
    }
    20% {
      opacity: 1;
    }
    100% {
      opacity: .2;
    }
}

.saving span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

.saving span:nth-child(2) {
    animation-delay: .2s;
}

.saving span:nth-child(3) {
    animation-delay: .4s;
}

/** Images **/
img.limited {
    max-width: 100%;
    width: auto;
    max-height: 100%;
    height: auto;
}

/** Errors **/
.error-message-container {
    width: 45% !important;
    min-width: 400px !important;
    border: none !important;
    box-shadow: none !important;
    margin-left: auto;
    margin-right: auto;
}

/** Stripe **/
.stripe-element-field {
    background: transparent;
    font-weight: 300;
    border: 0;
    color: white;
    outline: none;
    cursor: text;
    display: block;
    width: 100%;
    line-height: 32px;
    padding-bottom: 3px;
    transition: opacity 200ms ease-in-out;
    border-bottom: 1px solid #D9D9D9 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.stripe-element-field input::-webkit-input-placeholder,
.stripe-element-field input:-ms-input-placeholder,
.stripe-element-field input::-moz-placeholder {
    color: #d9d9d9 !important;
}

.StripeElement--invalid {
    border-color: transparent !important;
    border-bottom: 1px solid #d9d9d9 !important;
    background: #F6EDED !important;
}

.onboarding-bar-left-side,
.onboarding-bar-right-side {
    overflow: hidden;
    height: 28px;
}

.onboarding-bar-left-side .onboarding-col,
.onboarding-bar-right-side .onboarding-col {
    display: inline;
}

.onboarding-bar-left-side {
    text-align: left;
}

.add-on-image {
    position: relative;
    width: 300px;
}

.add-on-image .first-column,
.add-on-background {
    width: 150px;
    height: 150px;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position-x: center !important;
    background-position-y: center !important;
}

.add-on-image .first-column {
    margin-right: 10px;
    margin-top: 8px;
}

.add-on-image .first-column,
.add-on-image .second-column {
    display: inline-block;
}

.add-on-image .second-column {
    width: 130px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

/** Media **/
@media (max-width: 991px) {
    .onboarding-bar-left-side,
    .onboarding-bar-right-side {
        font-size: 14px;
    }

    .onboarding-bar-left-side .hide-when-small,
    .onboarding-bar-right-side .hide-when-small {
        display: none;
    }

    .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9 {
        padding: 5px !important;
    }

    .col-md-4, .col-md-8 {
        flex: 100% !important;
    }

    .page-titles {
        margin-bottom: 5px !important;
    }
}

@media (max-width: 500px) {
    .container-fluid {
        padding: 0;
        overflow-x: hidden;
    }

    .system-notifications {
        margin-left: 0 !important;
    }

    .page-titles {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .page-titles > div {
        padding-left: 40px !important;
    }

    body {
        font-size: 14px;
    }

    .table td, .table th {
        padding: 2px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .topbar .navbar-light .navbar-nav .nav-item>a.nav-link {
        font-size: 14px;
        text-overflow: ellipsis;
        overflow: hidden;
        max-width: 200px;
    }
}
