﻿
body {
    padding-top: 50px;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    min-height: 100vh; /* Chrome bugfix - redrawing the screen with(out) scroll bar */
    padding-bottom: 61px;
}

body.popup {
    min-height: 100%;
    padding: 0;
}

/* HELPERS */
.font-weight-normal {
    font-weight: normal;
}

.margin-2 {
    margin: 2rem;
}

.margin-3 {
    margin: 3rem;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-right-10 {
    margin-right: 10px;
}

.margin-top-0 {
    margin-top: 0 !important;
}

.margin-top-1 {
    margin-top: 1rem;
}

.margin-top-3 {
    margin-top: 3rem;
}

.margin-bottom-1 {
    margin-bottom: 1rem !important;
}

.margin-bottom-3 {
    margin-bottom: 3rem !important;
}

.margin-bottom-2 {
    margin-bottom: 2rem !important;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.padding-0 {
    padding: 0 !important;
}

.padding-2 {
    padding: 2rem;
}

.padding-left-2 {
    padding-left: 2rem !important;
}

.padding-right-2 {
    padding-right: 2rem;
}

.padding-10 {
    padding: 10px;
}

.padding-20 {
    padding: 20px !important;
}

.padding-30 {
    padding: 30px;
}

.padding-left-0 {
    padding-left: 0 !important;
}

.display-block {
    display: block;
}

.display-inline-block {
    display: inline-block !important;
}

.display-flex {
    display: flex !important;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-content-space-between {
    justify-content: space-between;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.flex-1 {
    flex: 1;
}

.relative {
    position: relative;
}

.disabled-link {
    pointer-events: none;
}

h5 {
    text-transform: uppercase;
}

option:disabled {
    color: #bbb;
}

dl {
    margin-bottom: 0 !important;
}

    dl dt {
        margin-left: 20px;
        font-weight: normal;
    }

.dt-buttons .btn {
background-color: #e6e7e8 !important;
color: #333333;
}

.dt-buttons .btn:hover {
    background-color: #f4f4f5 !important;
}

.text-white {
    color: #ffffff;
}

.bg-light {
    background-color: #f9f9f9 !important;
}

/* LOADING */
.loading-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 500;
}

    .loading-screen > .loading-bg {
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: #ffffff;
        opacity: 0.8;
    }

    .loading-screen > .loader {
        color: #00263E;
        font-size: 15px;
        z-index: 1;
        font-weight: bold;
    }

    .loader-icon {
        width: 48px;
        height: 48px;
        border: 5px solid #00263E;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: block;
        box-sizing: border-box;
        animation: rotation 1s linear infinite;
        margin: 10px auto;
    }

    @keyframes rotation {
        0% {
            transform: rotate(0deg);
        }
        100% {
            transform: rotate(360deg);
        }
    } 

#sidebar-nav {
    position: relative;
    left: 0;
    width: 100%;
    padding: 1rem;
    margin: 0;
    box-sizing: border-box;
    background-color: #e5e9ea;
    z-index: 250;
}

@media screen and (min-width: 600px) {
    #sidebar-nav {
        position: fixed;
        width: 22rem;
        height: 100%;
        padding: 1rem 1rem 12rem 1rem;
        overflow-x: scroll;
        border-right: 1px solid #e5e9ea;
    }
}

[data-action="sticky-on-scroll"] {
    z-index: 99;
}

[data-action="sticky-on-scroll"]:not(.clearfix) {
    display: flex;
    justify-content: flex-start;
}

[data-action="sticky-on-scroll"]:not(.clearfix).flex-end {
    justify-content: flex-end;
}

    [data-action="sticky-on-scroll"]:not(.clearfix) > * {
        margin-right: 10px;
    }

.sticky-top {
    position: fixed;
}

@media screen and (max-width: 600px) {
    .sticky-top {
        top: 50px !important;
        width: 100vw;
        left: 0;
        justify-content: space-evenly;
    }
}

@media screen and (min-width: 600px) {
    .sticky-top {
        width: 100%;
        left: 0;
    }

    .sidebar .sticky-top {
        width: calc(100% - 22rem);
        left: 220px;
    }
}

[data-action="content-scroll"] {
    position: relative;
}
/*
.body-content {
    min-height: calc(100vh - 115px);
    background: #ffffff
}*/

body.design-routing .body-content,
body.design-routing .navbar .container {
    width: 100%;
}

body.design-routing .navbar .container {
    padding-right: 20px;
}

@media screen and (min-width: 600px) {
    body.sidebar .body-container {
        margin-left: 22rem;
    }

    body.statusbar .body-container {
        margin-top: 13rem;
    }
}

body.statusbar:not(.timeline) .body-container {
    /*max-width: 1000px*/
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.navbar.navbar-inverse.navbar-fixed-top {
    z-index: 10000;
}

#site-footer {
    background-color: #d0d0d0;
    width: 100%;
    border-top: 1px solid #eaeaea;
    z-index: 300;
    position: fixed;
    bottom: 0;
    left:0;
}

    #site-footer p {
        margin-bottom: 0;
    }

#sessionTimeoutModal {
    z-index: 20000;
}

.modal.fade.in ~ .modal.fade.in,
.modal.fade ~ .modal.fade {
    z-index: 2500;
}

.modal.fade.in ~ .modal.fade.in .modal-dialog,
.modal.fade ~ .modal.fade .modal-dialog {
    border: 1px solid #000000;
}

.modal-backdrop ~ .modal-backdrop {
    z-index: 2200;
}

.modal-body .col-md-6 .form-group label {
    display: block;
}

.modal-body.max-height-scroll {
    max-height: calc(100vh - 282px);
    overflow-y: auto;
}

/* font sizes */
.font-sm {
    font-size: 1.3rem;
}

/* Colors */
.memo {
    background-color: #F8B195;
}

.sop {
    background-color: #72bbb3;
}

.verificationandvalidation {
    background-color: #F67280;
}

.design {
    background-color: #C06C84;
}

.riskmanagement {
    background-color: #6C5B7B;
}

.manufacturing {
    background-color: #355C7D;
}

.labeling {
    background-color: #7fd29f;
}

.audit {
    background-color: #ce9cec;
}

.supplier {
    background-color: #f1cfa4;
}

/* tags input custom */
.bootstrap-tagsinput .tag {
    font-size: 82%;
    padding: 0.4em .6em 0.4em;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/* Utilities */
.space {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.no-margin {
    margin: 0;
}

.flex-col-rows {
    display: flex;
    flex-direction: column;
}

    .flex-col-rows > div {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }

@media screen and (min-width: 600px) {
    .flex-col-rows > div {
        flex-direction: row;
    }
}

@media screen and (min-width: 600px) {
    .flex-row {
        display: flex;
    }
}

    .flex-row .col {
        flex-grow: 1;
        flex-basis: 0;
        margin-right: 1rem;
        margin-left: 1rem;
        padding: 0;
    }

        .flex-row .col:first-child {
            margin-left: 0;
        }

        .flex-row .col:last-child {
            margin-right: 0;
        }

    .flex-row [class^='col-'] {
        margin-bottom: 20px;
    }

        .flex-row [class^='col-'] .thumbnail {
            padding: 2rem;
            border-radius: 0;
            height: 100%;
            text-align: center;
            transition: background-color 250ms ease-in-out;
        }

            .flex-row [class^='col-'] .thumbnail .caption {
                padding-bottom: 0;
            }

                .flex-row [class^='col-'] .thumbnail .caption p {
                    margin-bottom: 0;
                }

        .flex-row [class^='col-'] a:hover .thumbnail {
            background-color: #f5f5f5;
        }

        .flex-row [class^='col-'] a:hover .large-icon i {
            color: #00263E;
            transition: all 250ms ease-in-out;
        }

        .flex-row [class^='col-'] a:hover,
        .flex-row [class^='col-'] a:hover * {
            text-decoration: none;
            transition: all 250ms ease-in-out;
        }

    .flex-row [class^='col'] .thumbnail .large-icon {
        margin: 0 auto;
        width: 50px;
        height: 50px;
        font-size: 50px
    }

/* Tables */
table .center {
    text-align: center;
}

.table.table-collapse {
    width: auto;
}

table.dataTable {
    font-size: 13px;
}

div.dataTables_wrapper div.dt-buttons.btn-group button.btn.btn-default:last-of-type:first-of-type {
    border-radius: 0 !important;
}

#userTable th {
    min-width: 130px;
}

table td:not(.wrap-td) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 160px;
}

table.attendance-table td {
    max-width: 290px;
}

table td.active {
    width: 25%
}

th.rotate {
    height: 140px;
    white-space: nowrap;
}

th.rotate > div {
    transform: translate(21px, 0) rotate(315deg);
    width: 30px;
}
th.rotate > div > span {
    border-bottom: 1px solid #ccc;
    padding: 5px 10px;
}

td.border-right {
    border-right: 1px solid #ccc;
}

/* tabs */
.tab-pane {
    padding: 2rem;
    background-color: #ffffff;
}

/* Rationale */
.rationale {
    display: none;
}

    .rationale > span {
        padding-bottom: 5px;
        display: block;
    }

.has-rationale.checked ~ .rationale {
    display: block;
}

.written-rationale {
    display: none;
}

.bootstrap-tagsinput {
    width: 100%;
}

.btn.btn-icon,
.btn-sm.btn-icon {
    cursor: pointer;
    text-align: left;
    vertical-align: middle;
    white-space: pre-wrap;
}

.btn-group .btn {
    margin-right: 10px;
}

.accordion {
    border: 1px solid #e1e1e1;
    position: relative;
    overflow: hidden;
}

    .accordion .accordion-handle {
        padding: 1rem 3rem 1rem 1rem;
        margin: 0;
        z-index: 10;
        display: block;
        background-color: #d9dede;
        cursor: pointer;
    }

        .accordion .accordion-handle .icon {
            font-size: 2rem;
            color: #333;
            position: absolute;
            right: 1rem;
            transition: transform 250ms ease-in-out;
        }

    .accordion .handle:checked ~ .accordion-handle .icon {
        transform: rotate(180deg);
    }

    .accordion .handle {
        display: none;
    }

        .accordion .handle:checked ~ .accordion-body {
            max-height: 100%;
        }

    .accordion .accordion-body {
        max-height: 0;
        overflow: hidden;
        transition: max-height 250ms ease-in-out;
        box-sizing: border-box;
    }

        .accordion .accordion-body .content {
            padding: 1rem;
        }

.twitter-typeahead .tt-query,
.twitter-typeahead .tt-hint {
    margin-bottom: 0;
}

.twitter-typeahead .tt-hint {
    display: none;
}

.tt-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: none;
    float: left;
    min-width: 160px;
    padding: 5px 0;
    margin: 2px 0 0;
    list-style: none;
    font-size: 14px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    background-clip: padding-box;
    cursor: pointer;
}

.tt-suggestion {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: normal;
    line-height: 1.428571429;
    color: #333333;
    white-space: nowrap;
}

    .tt-suggestion:hover,
    .tt-suggestion:focus {
        color: #ffffff;
        text-decoration: none;
        outline: 0;
        background-color: #428bca;
    }

progress {
    display: block;
    width: 100%;
    height: 20px;
    margin: 10px 0;
}

textarea.form-control {
    width: 100%;
    min-height: 12rem;
}

textarea.comments {
    height: 8rem;
    width: 100%;
}

.hidden-field:not(.no-margin) {
    margin-top: 6px;
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
}

.hidden-field .control-label {
    padding-left: 0;
    margin-bottom: 6px;
}

.rationale p {
    margin-top: 10px;
    font-weight: bold;
}

[data-rationale-object] {
    display: none;
    height: 2rem;
}


.attachment-list li {
    margin: 1rem 0;
}

#show-status {
    margin-bottom: 0;
}

    #show-status li::before {
        font-family: "Font Awesome 5 Free";
        padding: 1rem;
        margin: 0.25rem;
        background-color: grey;
    }

    #show-status p.small {
        margin-bottom: 0;
    }

.approved::before {
    content: "\f058";
}

.rejected::before {
    content: "\f057";
}

.in-progress::before {
    content: "\f085";
}

.needs-assignment::before {
    content: "\f235";
}

.discussion::before {
    content: "\f086";
}

.reset::before {
    content: "\f2f9";
}

.body-container {
    margin-top: 1rem;
}

@media screen and (min-width: 767px) {
    .body-container {
        margin-top: 6rem;
    }
}

.popup .body-container {
    margin-top: 50px;
}

.notification-container {
    position: fixed;
    width: 100vw;
    left: 0;
    z-index: 9500;
}

    .notification-container.bottom {
        bottom: 0;
    }

    .notification-container > .alert {
        margin-top: 0;
        margin-bottom: 0;
        padding-right: 30px;
        text-align: center;
    }

/* ANIMATIONS / TRANSITIONS */
.fade-out {
    animation: fadeOut 750ms ease-in-out 4s 1 normal forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

.spin {
    animation: spin 2s linear 250ms infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(180deg);
    }

    40%, 100% {
        transform: rotate(360deg)
    }
}

.pulse {
    animation: pulse 1s ease-out 250ms infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1);
    }
}


/* Document */
embed.document-view {
    width: 100%;
    height: 100rem;
}

/* Forms */
.display-only input,
.display-only input:focus,
.display-only textarea,
.display-only textarea:focus {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none;
}

.display-only textarea {
    min-height: 150px;
}

input[type=number].zip::-webkit-inner-spin-button,
input[type=number].zip::-webkit-outer-spin-button {
    opacity: 0;
}

.field-validation-valid {
    display: block;
}

.error,
.form-control.error,
.form-control.input-validation-error,
input.input-validation-error {
    border: 1px solid red;
}

#edit-planning .form-group {
    margin-left: 20px;
}

#edit-planning .col-md-12 {
    padding: 0;
}

#edit-planning .radio input[type="radio"],
#edit-planning .radio input[type="checkbox"] {
    margin-left: -19px
}

#edit-planning .radio,
#edit-planning .checkbox {
    padding-left: 20px;
}

#edit-planning label.radio,
#edit-planning label.checkbox {
    font-weight: normal;
}

#edit-planning .radio:first-of-type {
    margin-top: 0;
}

div.error {
    padding: 1rem;
}

.nav-tabs > li.active > a.bg-danger,
.nav-tabs > li.active > a.bg-danger:focus,
.nav-tabs > li.active > a.bg-danger:hover {
    background-color: #f2dede;
}

.nav [class$="-status"] {
    font-size: 10px;
}

/* Audit */
#audit-report .audit-handle {
    display: flex;
    justify-content: space-between;
}

#audit-report dt {
    padding-bottom: 8px;
}

#audit-report h5:not(:first-of-type) {
    padding-top: 15px;
}

/* Training */
#userList label {
    word-break: break-all;
}

.max-height-400-scroll {
    max-height: 400px;
    overflow-y: auto;
}

/* EULA */
.eula p {
    text-align: justify;
    text-indent: -0.3in;
    margin-left: 0.3in;
}


/* Status Bar */
#status-bar {
    position: relative;
    padding: 10px 22px;
    box-sizing: border-box;
    width: 100%;
    max-width: 990px;
    background-color: #f7f7f7;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    z-index: 250;
}

@media scren and (min-width: 600px) {
    #status-bar {
        flex-direction: row;
    }
}

body.design-routing #status-bar {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
}

@media screen and (min-width: 600px) {
    #status-bar {
        position: fixed;
        padding: 10px 20px;
        box-sizing: border-box;
        margin-top: 1rem;
        margin-left: 204px;
        width: 100%;
        max-width: 990px;
        background-color: #f7f7f7;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        z-index: 250;
        border-bottom: 1px solid #e6e7e8;
    }

    body.design-routing #status-bar {
        width: calc(100% - 22rem);
        margin-top: 0;
    }
}

/* Approvals */
#approval-complete .status {
    margin-top: 4px;
}

#approval-routing {
    margin-right: 0;
}

/* Design Control */

.status-colorbar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
}

.status-colorbox-container {
    display: flex;
}

    .status-colorbox-container > * {
        margin: 0;
        min-width: 12px;
    }

.status-colorbox {
    height: 12px;
    width: 12px;
    margin-right: 7px;
    margin-top: 4px;
}

#grid-deliverables .status-colorbox {
    display: none;
}

.color-status {
    z-index: 1;
}

    /* Not started */
    .color-status[data-doc-status="0"] {
        background-color: #a8a99e !important;
    }

    /* in progress */
    .color-status[data-doc-status="1"] {
        background-color: #FFE424 !important;
    }

    /* complete, released */
    .color-status[data-doc-status="2"],
    .color-status[data-doc-status="3"] {
        background-color: #93c90e !important;
    }

    /* needs attention */
    .color-status[data-doc-status="5"] {
        background-color: #EC4C47 !important;
    }

    /* No due date, Not close to due date */
    .color-status[data-time-status="0"] {
        background-color: #3b74f5 !important;
    }

    /* Upcoming */
    .color-status[data-time-status="1"] {
        background-color: #f7be3d !important;
    }

    /* Overdue */
    .color-status[data-time-status="2"] {
        background-color: #D0021B !important;
    }

    .color-status.panel-default > .panel-heading {
        background-color: inherit;
    }

/* Design Team*/
@media all and (max-width: 756px) {
    #edit-team .team-row {
        margin-bottom: 20px;
        border-bottom: 1px solid #00263E;
        padding-bottom: 20px;
    }

        #edit-team .team-row.clone-this {
            border-bottom: none;
        }
}

.priority-icon {
    display: inline-block;
    width: 20px;
    height: 13px;
}

.priority-icon > div {
    height: 2px;
    width: 100%;
    margin-bottom: 2px;
    background-color: lightgrey;
}

/* low */
.priority-icon[data-priority="0"] > div:nth-child(n+4) {
    background-color: #1cbb63 !important;
}

/* medium */
.priority-icon[data-priority="1"] > div:nth-child(n+3) {
    background-color: #FFE424 !important;
}

/* high */
.priority-icon[data-priority="2"] > div:nth-child(n+2) {
    background-color: #ef9600 !important;
}

/* critical */
.priority-icon[data-priority="3"] > div:nth-child(n+1) {
    background-color: #EC4C47 !important;
}


/* Configure TDR Approvers */
.subject-info-box-1,
.subject-info-box-2 {
    float: left;
    width: 45%;
}

    .subject-info-box-1 select[multiple],
    .subject-info-box-2 select[multiple] {
        height: 200px;
        padding: 0;
    }

        .subject-info-box-1 select[multiple] option,
        .subject-info-box-2 select[multiple] option {
            padding: 4px 10px 4px 10px;
        }

            .subject-info-box-1 select[multiple] option:hover,
            .subject-info-box-2 select[multiple] option:hover {
                background: #eeeeee;
            }

.subject-info-arrows {
    float: left;
    width: 10%;
}

    .subject-info-arrows input {
        width: 70%;
        margin-bottom: 5px;
    }


/* Legend */
#status-legend-container {
    position: relative;
    background-color: #f7f7f7;
    display: flex;
    padding: 15px;
    z-index: 10;
    flex-direction: column;
}

@media screen and (min-width: 600px) {
    #status-legend-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        flex-direction: row;
    }

        #status-legend-container .status:not(:last-child) {
            margin-right: 20px;
        }
}

.question .panel-heading p {
    max-width: 95%
}

/* Flexbox tables */
/* Tables
================================== */
.Rtable {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 0 0;
    padding: 0;
}

.Rtable-cell {
    box-sizing: border-box;
    -webkit-box-flex: 1;
    flex-grow: 1;
    width: 100%;
    padding: 0.5em;
    list-style: none;
    border-top: 1px solid #ddd;
    display: flex;
    justify-items: center;
    align-items: self-start;
}

/* Table column sizing
================================== */
.Rtable--2cols > .Rtable-cell {
    width: 50%;
}

.Rtable--3cols > .Rtable-cell {
    width: 33.33%;
}

.Rtable--4cols > .Rtable-cell {
    width: 25%;
}

.Rtable--5cols > .Rtable-cell {
    width: 20%;
}

.Rtable--6cols > .Rtable-cell {
    width: 16.6%;
}

@media all and (max-width: 500px) {
    .Rtable--collapse {
        display: block;
    }

        .Rtable--collapse > .Rtable-cell {
            width: 100% !important;
        }

        .Rtable--collapse > .Rtable-cell--foot {
            margin-bottom: 1em;
        }
}

.flex-table {
    display: flex;
    flex-flow: column nowrap;
    margin: 0.5rem;
    line-height: 1.5;
    border-bottom: 1px solid #d0d0d0;
    flex: 1 1 auto;
}

    .flex-table .th {
        display: none;
        font-weight: 700;
        background-color: #f2f2f2;
    }

        .flex-table .th > .td {
            white-space: normal;
            justify-content: center;
        }

    .flex-table .tr {
        width: 100%;
        display: flex;
        flex-flow: row nowrap;
    }

        .flex-table .tr:nth-of-type(even) {
            background-color: #f2f2f2;
        }

        .flex-table .tr:nth-of-type(odd) {
            background-color: #ffffff;
        }

    .flex-table .td {
        display: flex;
        flex-flow: row nowrap;
        flex-grow: 1;
        flex-basis: 0;
        padding: 0.5em;
        border-bottom: 1px solid #d0d0d0;
    }

    .flex-table .btn-icon {
        margin-top: 3px;
    }

/* LOGIN */
@media screen and (min-width: 600px) {
    .login-panel {
    max-width: 40%;
    margin: 0 auto;
}

}

.box3d {
  width: 50px;
  height: 50px;
  margin: 100px auto;
  position: relative;
  -webkit-transform-style: preserve-3d;
}

.box3d div {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height:50px;
  opacity: 0.5;
  transform-origin: 50% 50% -25px;
}

.p1 {
    background: #a1a1a1;
    transform: perspective(600px) rotateX(0deg) rotateY(90deg) rotateZ(0deg);
    animation: spin1 10s infinite linear;
}

.p2 {
    background: #bd2e2b;
    animation: spin2 10s infinite linear;
}

.p3 {
    background: #9f2a29;
    animation: spin3 10s infinite linear;
}

.p4 {
    background: #c2c2c2;
    animation: spin4 10s infinite linear;
}

.p5 {
    background: #d93a30;
    animation: spin5 10s infinite linear;
}

.p6 {
    background: #343a40;
    animation: spin6 10s infinite linear;
}

/* for Safari and Chrome */
/* for IE10 and Firefox */
@keyframes spin1 {
  to {
    transform: perspective(600px) rotateX(360deg) rotateY(450deg) rotateZ(0deg);
  }
}
@keyframes spin2 {
  0% {
    transform: perspective(600px) rotateX(0deg) rotateY(270deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(600px) rotateX(360deg) rotateY(630deg) rotateZ(0deg);
  }
}
@keyframes spin3 {
  0% {
    transform: perspective(600px) rotateX(90deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(600px) rotateX(450deg) rotateY(0deg) rotateZ(-360deg);
  }
}
@keyframes spin4 {
  0% {
    transform: perspective(600px) rotateX(-90deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(600px) rotateX(270deg) rotateY(0deg) rotateZ(360deg);
  }
}
@keyframes spin5 {
  0% {
    transform: perspective(600px) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(600px) rotateX(360deg) rotateY(360deg) rotateZ(0deg);
  }
}
@keyframes spin6 {
  0% {
    transform: perspective(600px) rotateX(0deg) rotateY(180deg) rotateZ(0deg);
  }
  100% {
    transform: perspective(600px) rotateX(360deg) rotateY(540deg) rotateZ(0deg);
  }
}

.form-control.pincode {
    text-security: disc !important;
    -webkit-text-security: disc !important;
    -moz-text-security: disc !important;
    font-size: 5rem !important;
    text-align: center;
    border: 1px solid #ccc;
}

.modal-dialog.modal-md {
    width: 460px;
}

.has-details {
  position: relative;
}

.details {
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(0);
  transition: transform 0.1s ease-in;
  transform-origin: top;
  display: inline;
  background: white;
  z-index: 20;
  min-width: 100%;
  padding: .75rem;
  border: 1px solid grey;
}

.details.below {
    transform: translateY(32%) scale(0);
}

.has-details:hover .details {
  transform: scale(1);
}

.has-details:hover .details.below {
  transform: translateY(32%) scale(1);
}

#showLinkWorkflowsModal {
    
}

#showLinkWorkflowsModal.hideleft {
    display: none;
}

@media screen and (min-width: 1400px) {
    #showLinkWorkflowsModal {
        position: fixed;
        left: 0;
        bottom: 170px;
        z-index: 300;
        transition: all 250ms ease-in-out;
        padding: 10px;
        border-radius: 0 5px 5px 0;
    }

     #showLinkWorkflowsModal.hideleft {
        left: -200px;
    }

    #showLinkWorkflowsModal:hover {
        padding-left: 20px;
    }
}

    #showTasksModal {
    }

    #showLinkWorkflowsModal.hideleft {
        display: none;
    }

    @media screen and (min-width: 1400px) {
        #showTasksModal {
            position: fixed;
            left: 0;
            bottom: 120px;
            z-index: 300;
            transition: all 250ms ease-in-out;
            padding: 10px;
            border-radius: 0 5px 5px 0;
        }

            #showTasksModal.hideleft {
                left: -200px;
            }

            #showTasksModal:hover {
                padding-left: 20px;
            }
    }

    #smartWizardAddTask.sw .toolbar > .btn:not(.btn-primary) {
        background-color: #777;
        border: 1px solid #555;
        padding: 6px 10px;
    }

    .custom-checkbox i {
        font-size: 18px;
    }

    .custom-checkbox input[type="checkbox"],
    .custom-checkbox .checked {
        display: none;
    }

        .custom-checkbox input[type="checkbox"]:checked ~ .checked {
            display: inline-block;
            color: green;
        }

        .custom-checkbox input[type="checkbox"]:checked ~ .unchecked {
            display: none;
        }

    .home-panel-scroll {
        max-height: 400px;
        overflow: auto;
    }

    #document-view-container {
        width: 100%;
        height: calc(100vh - 231px);
        border: 1px solid #000000;
        overflow: auto;
    }

    #document-watermark-placement {
        position: relative;
        width: 200px;
        height: 300px;
        border: 1px solid black;
    }

        #document-watermark-placement div {
            position: absolute;
            width: 20%;
            height: 30px;
        }

            /* TOP */
            #document-watermark-placement div:nth-of-type(1) {
                left: 0;
                top: 0;
            }

            #document-watermark-placement div:nth-of-type(2) {
                left: 50%;
                transform: translateX(-50%)
            }


            #document-watermark-placement div:nth-of-type(3) {
                left: auto;
                right: 0;
            }

            /* MIDDLE */
            #document-watermark-placement div:nth-of-type(4) {
                left: 0;
                top: 50%;
                transform: translateY(-50%);
            }

            #document-watermark-placement div:nth-of-type(5) {
                left: 50%;
                transform: translate(-50%, -50%);
                top: 50%;
            }

            #document-watermark-placement div:nth-of-type(6) {
                left: auto;
                right: 0;
                top: 50%;
                transform: translateY(-50%);
            }

            /* BOTTOM */
            #document-watermark-placement div:nth-of-type(7) {
                left: 0;
                bottom: 0;
            }

            #document-watermark-placement div:nth-of-type(8) {
                left: 50%;
                transform: translateX(-50%);
                bottom: 0;
            }


            #document-watermark-placement div:nth-of-type(9) {
                left: auto;
                right: 0;
                bottom: 0;
            }

        #document-watermark-placement input {
            appearance: none;
            width: 100%;
            height: 100%;
            background: #f7f7f7;
            padding: 0;
            margin: 0;
            border: 1px solid #ccc;
            cursor: pointer;
        }

            #document-watermark-placement input:checked {
                background-color: #0076CF;
            }

    .document-watermark-heading {
        padding: 17px 0;
    }


    .bootstrap-select > .dropdown-toggle {
        background-color: #ffffff;
    }

        .bootstrap-select > .dropdown-toggle .filter-option-inner-inner,
        .bootstrap-select > .dropdown-toggle .caret {
            color: #000000;
        }

    .nicEdit-main {
        background-color: white !important;
    }

    [data-action="order-column"]{
        position: relative;
    }

    [data-action="order-column"]:hover {
        background-color: #f1f1f1;
        cursor: pointer;
    }

    [data-action="order-column"] span {
        margin-right: 20px;
    }

    .sort-icon {
        display: flex;
        flex-direction: column;
        position: absolute;
        right: 5px;
        top: calc(50% - 7px);
    }

    .sort-icon i {
        color: #adadad;
        height: 3px;
    }

    [data-action="order-column"][data-direction="asc"].sorted .sort-icon .fa-sort-up {
        color: #00263E;
    }

    [data-action="order-column"][data-direction="desc"].sorted .sort-icon .fa-sort-down {
        color: #00263E;
    }

    .btn-search-container {
        display: flex;
        align-items: end;
        padding-bottom: 6px;
    }
