/*------- Preview documents -------*/
.preview-document-page {
    margin-top: -130px;
    padding: 0;
}

@media (max-width: 991px) {
    .preview-document-page {
        margin-top: -70px;
    }
}

.preview-document-page__back-button {
    margin-top: 17px;
}

.preview-document-page__table.table thead {
    border: 2px solid black;
}

.preview-document-page__table.table thead th {
    background: #3f4c5a;
    color: #d8d8da;
    border: 2px solid black;
    border-bottom-color: black;
}

/*.preview-right-sticky {
    position:absolute;
    margin-top:0px;
}*/

/*------- Preview documents -------*/

/*------- Profile image -------*/
.staff-profile-image-small {
    height: 32px;
    width: 32px;
}

/*------- Profile image -------*/

/*------------- Buttons -----------------*/
@media screen and (max-width: 576px) {
    ._buttons .float-left,
    ._buttons .float-right {
        float: none !important;
    }

    ._buttons .btn,
    ._buttons .btn-group {
        display: inline-block;
        margin-left: 0 !important;
        width: 100%;
        margin-bottom: 5px !important;
        float: none !important;
        text-align: left;
    }

    ._buttons .mleft5 {
        margin-left: 0 !important;
    }

    ._buttons a,
    ._buttons button {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/*------------- Buttons -----------------*/

/*------- Datatable -------*/

.table th {
    border-top: none;
    background-color: var(--light);
}

/*------- Datatable -------*/
/*--------Nav-menu---------*/
.navigation-menu > li > a {
    padding: 18px;
}

.topnav-menu .notification-list .noti-icon-badge {
    left: 20px;
    right: unset;
}

/*--------Nav-menu---------*/
.input-group input[type = "file"] {
    line-height: 1;
}

.hide {
    display: none !important;
}

.line-throught {
    text-decoration: line-through;
}

/*--------Projects---------*/
.project-progress {
    position: relative;
}

.project-percent {
    position: absolute;
    font-size: 33px;
    font-weight: 500;
    top: 50%;
    transform: translateY(-60%);
    line-height: 1;
    left: 0;
    right: 0;
}

#discussion-comments .wrapper {
    padding: 0;
}

#discussion-comments .wrapper > .content {
    padding: 5px 0;
}

/*--------Projects---------*/

/*---------- Alert ------------*/
.float-alert {
    display: inline-block;
    margin: 0 auto;
    position: fixed;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    z-index: 999999;
    top: 90px;
    right: 20px;
}

/*---------- Alert ------------*/

.navigation-menu > li > a.active {
    color: #fff;
}

.pointer {
    cursor: pointer;
}

.gpicker {
    height: 14px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #4c4c4c;
    text-decoration: none;
    padding: 1px 7px 5px 3px;
    border: 1px solid #ebebeb;
    border-radius: 2px;
    border-bottom-color: #d4d4d4;
    background: #fcfcfc;
    background: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#f5f5f5));
    background: linear-gradient(to bottom, #fcfcfc 0%, #f5f5f5 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f5f5f5', GradientType=0);
    line-height: 18px !important;
    text-decoration: none !important;
    box-sizing: content-box !important;
    -webkit-box-sizing: content-box !important;
    -moz-box-sizing: content-box !important;

    opacity: 0;
}

.articles_list {
    list-style: none;
    padding: 0;
}

.client-profile-image-remove {
    position: absolute;
    top: 0;
    right: 0;
}

/*-----------------Calendar--------------------*/
.content--calendar {
    min-width: calc(100vw - 285px);
    max-width: calc(100vw - 45px);
}

.calendar {
    float: left;
    margin-bottom: 0;
}

.fc-view {
    margin-top: 30px;
}

.none-border .modal-footer {
    border-top: none;
}

.fc-toolbar {
    margin: 15px 0 5px 0;
}

.fc-toolbar h2 {
    font-size: 1.25rem;
    line-height: 1.875rem;
    text-transform: uppercase;
}

.fc-day-grid-event .fc-time {
    font-weight: 700;
}

.fc-day {
    background: #fff;
}

.fc-toolbar .fc-state-active,
.fc-toolbar .ui-state-active,
.fc-toolbar button:focus,
.fc-toolbar button:hover,
.fc-toolbar .ui-state-hover {
    z-index: 0;
}

.fc th.fc-widget-header {
    background: var(--light);
    font-size: 13px;
    line-height: 20px;
    padding: 10px 4px;
    text-transform: uppercase;
}

.fc-unthemed th,
.fc-unthemed td,
.fc-unthemed thead,
.fc-unthemed tbody,
.fc-unthemed .fc-divider,
.fc-unthemed .fc-row,
.fc-unthemed .fc-popover {
    border-color: #dee2e6;
}

.fc-ltr .fc-basic-view .fc-day-top .fc-day-number {
    float: right;
    height: 20px;
    width: 20px;
    text-align: center;
    line-height: 20px;
    background-color: var(--light);
    border-radius: 50%;
    margin: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
}

.fc-button {
    background: var(--light);
    border: none;
    color: var(--secondary);
    text-transform: capitalize;
    -webkit-box-shadow: none;
    box-shadow: none;
    /*border-radius: 3px;*/
    margin: 0 3px;
    padding: 6px 12px;
    height: auto;
}

.fc-text-arrow {
    font-family: inherit;
    font-size: 1rem;
}

.fc-state-hover {
    background: var(--light);
}

.fc-state-highlight {
    background: #dee2e6;
}

.fc-state-down,
.fc-state-active,
.fc-state-disabled {
    background-color: var(--blue);
    color: #fff;
    text-shadow: none;
}

.fc-cell-overlay {
    background: #dee2e6;
}

.fc-unthemed .fc-today {
    background: #fff;
}

.fc-event {
    border-radius: 2px;
    border: none;
    /*cursor: move;*/
    cursor: pointer;
    font-size: 0.8125rem;
    margin: 5px 7px;
    padding: 5px 5px;
    text-align: center;
}

.external-event {
    cursor: move;
    margin: 10px 0;
    padding: 8px 10px;
    color: #fff;
}

.fc-basic-view td.fc-week-number span {
    padding-right: 8px;
}

.fc-basic-view td.fc-day-number {
    padding-right: 8px;
}

.fc-basic-view .fc-content {
    color: #fff;
}
.btn-info {
    background-color: var(--blue);
    border-color: var(--blue);
}
.page-item.active .page-link {
    background-color: var(--blue);
    border-color: var(--blue);
}
.nav-bordered a.active {
    border-bottom: 2px solid var(--green) !important;
}
.timeline-sm .timeline-sm-item:after {
    border: 2px solid var(--blue);
}

.fc-time-grid-event .fc-content {
    color: #fff;
}

@media (max-width: 1023px) {
    .content--calendar {
        min-width: calc(100vw - 285px);
        max-width: calc(100vw - 55px);
    }
}

@media (max-width: 767.98px) {
    .fc-toolbar .fc-left, .fc-toolbar .fc-right, .fc-toolbar .fc-center {
        float: none;
        display: block;
        clear: both;
        margin: 10px 0;
    }

    .fc .fc-toolbar > * > * {
        float: none;
    }

    .fc-today-button {
        display: none !important;
    }

    .fc-toolbar h2 {
        font-size: 1rem;
        line-height: 1.25rem;
        text-transform: uppercase;
    }
}

@media (max-width: 767px) {
    .content--calendar {
        min-width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
    }

    .fc-toolbar.fc-header-toolbar {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .fc-right {
        order: -1;
        width: 100%;
    }

    .fc-left {
        display: inline-block !important;
    }

    .fc-center {
        display: inline-block !important;
        order: -1;
        margin-right: 1rem !important;
    }

    .fc-toolbar h2 {
        font-size: 1rem;
        line-height: 1.25rem;
        text-transform: uppercase;
    }

    .fc-toolbar .fc-left, .fc-toolbar .fc-right, .fc-toolbar .fc-center {
        margin: 5px 0;
    }

    .fc-toolbar.fc-header-toolbar {
        margin-bottom: 0;
    }

    .fc-toolbar {
        margin: 0px 0 0px 0;
    }

    .fc button, .fc table, body .fc {
        font-size: 0.675rem;
    }

    .fc-view {
        margin-top: 0px;
    }
}

@media (max-width: 479px) {
    .content--calendar {
        min-width: unset;
        max-width: 100%;
    }
}
@media screen and (max-width: 374px) {
    .footer > .container-fluid{
        text-align: center;
    }
    .footer > .container-fluid > .float-left, .footer > .container-fluid > .float-right {
        float: none !important;
    }
}




/*-----------------Calendar--------------------*/
