/*@import '/framework/content/ui/style-light.css';*/

.loginBox {
    z-index: 1;
    top: 30%;
    position: absolute;
    left: calc(50% - 180px);
    max-width: 360px;
    margin: 0 auto 100px;
    background: white;
    justify-content: center;
    padding: 45px;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
    border-radius: 10px;
}

#logo {
    position: relative;
    width: 100%;
    z-index: 10;
}

.menuLogo {
    max-height: 2em;
    cursor: pointer;
}

/* Avatar placeholder */

.tinyavatar {
    vertical-align: middle;
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }
#profile-view {
    margin-top: 25px;
}

:root {
    --inwatec-blue: #1977bb;
    --inwatec-blue-light: #30a8fa;
    --inwatec-blue-very-light: #bcddf6;
    --inwatec-grey: #4F5358;
    --inwatec-grey-light: #bfbfbf;
    --inwatec-grey-darkest: #3E3E3E;
    --inwatec-red: #D90404;
    --inwatec-red-light: #EC8282;
    --inwatec-green: #65b433;
    --inwatec-green-light: #b2da99;
    --inwatec-yellow: #e9d532;
    --inwatec-yellow-light: #f4ea99;
    /* font-family: "Roboto", "Ubuntu", sans-serif; */
    font-size: 10pt;
}

/* ---------------------------------------------------
    Boostrap Button Styling
----------------------------------------------------- */

.btn-primary {
    color: #fff;
    background-color: var(--inwatec-blue);
    border-color: var(--inwatec-blue);
}

.page-item.active .page-link {
    background-color: var(--inwatec-blue);
    border-color: var(--inwatec-blue);
}

/* ---------------------------------------------------
    Font Awesome Custom Styling
----------------------------------------------------- */

.fa-edit {
    color: rgb(175, 175, 175);
  }

/* ---------------------------------------------------
    MAIN NAVBAR STYLE
----------------------------------------------------- */


@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";
body {
    /* font-family: 'Poppins', sans-serif; */
    background: #fafafa;
    overflow-y: scroll;
}

html, body {
    overflow-x: hidden;
}

footer { 
    font-size: x-small;
    height: auto;
    text-align: center;
    bottom: 0;
    margin-bottom: 0;
}
footer, p{
    margin-bottom: 0;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

#sidebar,
a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
    color: #fff;
}

.navbar {
    padding: 15px 10px;
    background: #fff;
    border: none;
    border-radius: 0;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(150, 133, 133, 0.1);
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}


/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
}

#sidebar {
    position: fixed;
    min-width: 200px;
    max-width: 200px;
    background: var(--inwatec-grey);

    transition: all 0.3s;
}

#sidebar-body {
    min-width: 200px;
    max-width: 200px;
    min-height: 100%;
    background-color: var(--inwatec-grey);
    transition: all 0.3s;
    box-shadow: 0 10px 16px 0 rgb(0 0 0 / 20%), 0 6px 20px 0 rgb(0 0 0 / 19%) !important;
}

#sidebar.active, #sidebar-body.active {
    margin-left: -200px;
    background: var(--inwatec-grey);
}


#sidebar .sidebar-header {
    padding: 20px;
    background: var(--inwatec-grey);
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li a:hover {
    background: var(--inwatec-grey-darkest);
    border-left: 4px solid var(--inwatec-blue);
}

#sidebar ul li a.active {
    color: #fff;
    background: var(--inwatec-grey-darkest);
    border-left: 4px solid var(--inwatec-blue);
}

.pointable {
    cursor: pointer;
}

a[data-bs-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

a {
    cursor: pointer;
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: var(--inwatec-grey);
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */

#page {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    overflow-x: auto;
}

/* ---------------------------------------------------
    TABLE STYLE
----------------------------------------------------- */
td {
    background-color: white;
    box-shadow: var(--shadow);
    border-right: initial;
    font-size: 0.9em;
}

.dijitPopup.dijitMenuPopup {
    width: 220px;
    overflow: hidden;
}

.clickLink {
    color: #1977bb;
}

.clickLink:hover{
    color: black;
}

.clickLink:focus{
    color: black;
}

.ph-item,
.ph-picture {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}

/* ---------------------------------------------------
    EDIT MODAL STYLE
----------------------------------------------------- */

#editData {
    display: none;
}

#editData.edit {
    display: block;
}

/* ---------------------------------------------------
    EDIT MODAL STYLE
----------------------------------------------------- */

#create_primary_supplier.existing {
    display: none;
}

#create_primary_supplier.create {
    display: block;
}

/* ---------------------------------------------------
    CSV File insert and range
----------------------------------------------------- */

.slider::-webkit-slider-thumb {
    width: 25px;
    height: 25px;
    background: var(--inwatec-blue);
    cursor: pointer;
}

.slider {
    -webkit-appearance: none;
    width: 300px;
    height: 10px;
    background: var(--inwatec-grey-light);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

#rangeSliderBody {
    padding-top: 15px;
    padding-bottom: 15px;
}

.slider:hover {
    opacity: 1;
}

#addQuantity, #subtractQuantity {
    background: none;
    color: inherit;
    border: none;
    padding: 0;
    font: inherit;
    cursor: pointer;
    outline: inherit;
}

.fa-plus, .fa-minus {
    color: var(--inwatec-blue);
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */

@media (max-width: 768px) {
    #sidebar, #sidebar-body {
        margin-left: -200px;
        background-color: var(--inwatec-grey);
    }

    #sidebar.active, #sidebar-body.active {
        margin-left: 0;
    }

    #sidebarCollapse span {
        /*display: none;*/
    }

    #searchBox {
        /**/
    }

    .slider {
        max-width: 77%;
    }

    .table.table-striped {
        font-size: small;
    }

    html, body {
        overflow-x: hidden;
    }

    body {
        position: relative;
    }
}

/* ---------------------------------------------------
    Label
----------------------------------------------------- */
label.important {
    color: red;
    font-size: 15px;
}


div.toastSucess {
    background-color: #77fb03;
}

div.toastError {
    background-color: #fb0303;
}


.dropdown-toggle::after {
    visibility: hidden;
}

/* ---------------------------------------------------
    Select2
----------------------------------------------------- */

#select2-chooseProjectSelect2-results{
    max-height: 70vh;
}

#select2-chooseReferenceSelect2-results{
    max-height: 70vh;
}

/* ---------------------------------------------------
    Thumbnail images
----------------------------------------------------- */
.thumbnail{
    max-height:151px;
    max-width:300px;
    height:auto;
    width:auto;
}


/* ---------------------------------------------------
    input
----------------------------------------------------- */

.invisibleInput {
    border: none;
    outline: none;
    background-color: transparent;
    font-family: inherit;
    font-size: inherit;
}

.pace .pace-progress {
    background: #30a8fa !important;
}


.loadSpinner {
    width: 120px;
    height: 120px;
    margin: auto;
    animation: spin 2s ease-in-out infinite;
}

.deletedRow {
    text-decoration: line-through;
    background-color: lightgray;
    color: gray;
}

.box_shadow { 
    box-shadow: 0 1px 6px 0 rgb(0 0 0 / 1%), 0 6px 20px 0 rgb(0 0 0 / 10%) !important;
}


/* ---------------------------------------------------
    Blinking cell
----------------------------------------------------- */

@-webkit-keyframes blinking {
    from { background-color: red; }
    to { background-color: inherit; }
  }
  @-moz-keyframes blinking {
    from { background-color: red; }
    to { background-color: inherit; }
  }
  @-o-keyframes blinking {
    from { background-color: red; }
    to { background-color: inherit; }
  }
  @keyframes blinking {
    from { background-color: red; }
    to { background-color: inherit; }
  }
  .blinking {
    -webkit-animation: blinking 1s infinite; /* Safari 4+ */
    -moz-animation:    blinking 1s infinite; /* Fx 5+ */
    -o-animation:      blinking 1s infinite; /* Opera 12+ */
    animation:         blinking 1s infinite; /* IE 10+ */
  }


/* ---------------------------------------------------
    Bar
----------------------------------------------------- */

.bar {
    height: 20px;
    background-color: #f5f5f5;
  }

  .bar::before {
    content: '';
    display: flex;
    justify-content: end;
    width: calc(var(--percent) * 1%);
    height: 100%;
    background: #2486ff;
    white-space: nowrap;

    background-image: linear-gradient(green, green),
      linear-gradient(blue, blue),
      linear-gradient(purple, purple),
      linear-gradient(orange, orange),
      linear-gradient(red, red);
    background-size: calc((var(--percent) - 99) * 100%) 100%,
      calc((var(--percent) - 60) * 100%) 100%,
      calc((var(--percent) - 40) * 100%) 100%,
      calc((var(--percent) - 20) * 100%) 100%,
      100% 100%;
  }