/*
 * Fetch fonts from Google font API
 */

/** Ubuntu */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

      /*
       * CSS variables
       */
:root {
    /*
    * Regularly used colors
    */


    /* The primary color */
    --primary_color: #d90912;
    /* The secondary color */
    --secondary_color: #e7745d;
    /* An accent or fade-out color */
    --accent_color: #EBEBEC;
    /* Used for situations where a light tint is desired  */
    --subtitle_color: #4a4a4a;
    /* Color used for success messaging. */
    --success_color: #33b535;
    /* Color used for error messaging. */
    --error_color: #d21129;

    --neutral_button_color: #dfe0e2;

    --tertiary_color_tint: #0095d7;
    --tertiary_color: #0031d7;
    --tertiary_color_shade: #004570;

    /*
     * Size variables
     */
    --sidebar_width: 320px;
    --small_sidebar: 260px;
    --main_padding: 35px;
    --border_radius_table: 5px;
}
/*
 * General styling of the main elements
 */
html,body
{
    font-size: 10px; /* Set basic base font-size as to use make use of REM font-size easily */
    background-color: #F5F5F6;
    font-family: 'Ubuntu', sans-serif;
}

h3 {
    font-size: 3.2rem;
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}
h4 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    font-weight: 500;
}

h5 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    text-transform: uppercase;
}

#logged-in-as {
    color: #999999;
    font-size: 1.2rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    text-align: center;
}

#logged-in-as span:nth-child(2) {
    color: #333745;
    font-weight: bold;
}

.navbar-toggler {
    display:none;
}

#sidebar-toggler{
    display:none;
    font-size: 1.25rem;
    line-height: 1;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: .25rem;
    cursor: pointer;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20viewBox='0%200%2030%2030'%20xmlns='http://www.w3.org/2000/svg'%3E%3Cpath%20stroke='rgba(255,%20255,%20255,%2001)'%20stroke-width='2'%20stroke-linecap='round'%20stroke-miterlimit='10'%20d='M4%207h22M4%2015h22M4%2023h22'/%3E%3C/svg%3E");
}

/** Main styling */
main {
    display: flex;
    margin-left: 320px;
    flex: 1;

    /* Animation */
    -webkit-transition: margin 0.2s;
    -moz-transition: margin 0.2s;
    transition: margin 0.2s;
}

a {
    color: black;
    text-decoration: none !important;
}

.back-link {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
}

a:hover {
    color: black;
}

#main-flex-container {
    display: flex;
    overflow: hidden;
    padding: 55px 25px 30px;
    flex-direction: column;
    flex: 1;
}

/** Sidebar styling */
#sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    background-color: white;
    width: 320px;
    z-index: 20;

    /* Animation */
    -webkit-transition: transform 0.2s;
    -moz-transition: transform 0.2s;
    transition: transform 0.2s;
}

#sidebar-flex-container {
    height: 100%;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.topbar-flex {
    display: flex;
    flex: 1;
    margin-bottom: 5rem;
    align-items: center;
}

.topbar-flex.no-margin-bottom {
    margin-bottom: 0.25rem;
}


.topbar-flex-contain-back {
    display: flex;
    flex-direction: column;
}


.topbar-flex .button {
    margin-left: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flex-right {
    margin-left: auto;
}

#brand-box:hover, #page-header, #logout {
    text-decoration: none;
}

#brand-head{
    padding: 2.5rem;
    text-align: center;
}

#emblem-image{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.emblem-text {
    text-align: center;
    margin-bottom: 10px;
}

#brand-subhead{
    font-size: 2rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    text-align: center;
    padding-top: 2rem;
    margin-bottom: 4.75rem;
    color: black;
    text-transform: uppercase;
}

.nav-link {
    transition: font-size 0.15s, letter-spacing 0.15s, font-weight 0.15s, color 0.15s;
    padding: 12.5px 15px 12.5px 35px !important;
    font-size: 1.6rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.089rem;
    color: #333745;
}

.nav-link:hover {
    color: var(--tertiary_color_shade);
    background-color: #dfe0e2;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    font-weight: 500;
}

.nav-link.active {
    color: var(--tertiary_color_shade) !important;
    font-size: 1.8rem;
    letter-spacing: 0.1rem;
    font-weight: 500;
    border-left: 8px solid var(--tertiary_color_shade);
    padding-left: 27px !important;
}

/** Brand logo and logout butotn in the bottom left */
#bottom-block {
    position:absolute;
    left: 32px;
    bottom: 30px;
}

label {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #5d6163;
    margin-bottom: .5rem;
    margin-top: .5rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
}

.modal-paragraph {
    color: rgba(0,0,0,0.54);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 15px;
}


.radio-block{
    margin-bottom: 1.5rem;
    width: 200px;
}

.radio-block .remove-icon {
    float: right;
    margin-left: 5px;
}

.radio-block input[type="radio"] {
    position: absolute;
    opacity: 0;
    z-index: 10;
    margin-left: 10px;
    width: 19.6px;
    height: 19.6px;
    cursor: pointer;
}
.radio-block input[type="radio"] + .radio-label:before {
    content: '';
    background: #f4f4f4;
    border-radius: 100%;
    border: 1px solid #b4b4b4;
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    position: relative;
    margin-right: 1em;
    vertical-align: top;
    text-align: center;
}
.radio-block input[type="radio"]:checked + .radio-label:before {
    background-color: var(--tertiary_color_shade);
    box-shadow: inset 0 0 0 4px #f4f4f4;
    outline: none;
    border-color: var(--tertiary_color_shade);
}

.radio-block input[type="radio"]:checked + .radio-label {
    font-weight: bold;
}

.radio-block input[type="radio"] + .radio-label:empty:before {
    margin-right: 0;
}
.radio-block label {
    text-transform: none;
}

.check-box label {
    display: inline-block;
    position: relative;
    padding-left: 5px;
    text-transform: none;
    color: black;
}
.check-box label::before {
    content: "";
    display: inline-block;
    position: absolute;
    width: 17px;
    height: 17px;
    left: 0;
    margin-left: -20px;
    border: 1px solid #cccccc;
    border-radius: 3px;
    background-color: #fff;
    -webkit-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    -o-transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
    z-index: -10;
}
.check-box label::after {
    display: inline-block;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 0;
    top: 0;
    margin-left: -20px;
    padding-left: 3px;
    padding-top: 1px;
    font-size: 11px;
    z-index: -10;
    color: #555555;
}
.check-box input[type="checkbox"] {
    opacity: 0;
    width :19px;
    height: 18px;
    z-index: 10;
    margin-right: 0px !important;
}
.check-box input[type="checkbox"]:focus + label::before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}
.check-box input[type="checkbox"]:checked + label::after {
    font-family: 'FontAwesome';
    content: "\f00c";
}

.check-box.checkbox-circle label::before {
    border-radius: 50%;
}
.check-box.checkbox-inline {
    margin-top: 0;
}

.checkbox-primary input[type="checkbox"]:checked + label::before {
    background-color: var(--tertiary_color_shade);
    border-color: var(--tertiary_color_shade);
    z-index: -10;
}
.checkbox-primary input[type="checkbox"]:checked + label::after {
    color: #fff;
}

#datatable-category .edit-icon, #datatable-sales-employee .edit-icon, #datatable-partner-company, .edit-icon {
    width: 24px;
    margin-right: 3px;
}

table#datatable-order > tbody > tr[role='row'] ,table#datatable-order-history > tbody > tr[role='row'] {
    cursor: pointer;
}

.add-filter-icon{
    height: 16px;
    width: 18px;
    margin-left: 3px;
    margin-top: 8px;
}

.radio-label {
    padding-left: 1rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: black;
}

#product-list .radio-block .radio-label {
    display: flex;
    align-items: center;
    width: 100%;
    margin-left: auto;
    padding-left: 0;
}


#product-list .radio-block img {
    margin-left: auto;
}

.radio-label-settings {
    padding-left: 1rem;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: bold;
    color: black;

}

.radio-button {
    padding-right: 1rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
}

.no-padding {
    padding-left: 0 !important;
}



.sub-row {
    margin-top: 25px;
}

.state-informer {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: rgba(0,0,0,0.54);
}

.certificate-input {
    width: 85% !important;
}

.separator-top {
    height: 38px;
}

.separator-bottom {
    height: 50px;
    border-top: 1px solid rgba(170,172,179,0.4);
}

.divider {
    width: 1px;
    margin-right: 25px;
    margin-left: 25px;
    background-color: rgba(170,172,179,0.4);
}

.horizontal-divider {
    height: 1px;
    width:100%;
    margin-top: 2%;
    margin-bottom: 2%;
    background-color: rgba(170,172,179,0.4);
}

h4.divider-title {
    margin-left: 40px;
}



/*PLACE ORDER STYLING*/
/*PLACE ORDER STYLING*/
/*PLACE ORDER STYLING*/
.order-steps-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: white;
    text-transform: uppercase;
    margin-top: 5rem;
    height: 65px;
    border-radius: 4px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    color: rgba(0,0,0,0.54);
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.04);
}

.order-steps-bar div:first-child {
    border-radius: 4px 0 0 4px;
}

.order-steps-bar div:last-child {
    border-radius: 0 4px 4px 0;
}

.order-steps-bar div {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 0 0 33.33%;
    padding-left: 4.5rem;
    border-right: 1px solid white;
}

.order-steps-bar img {
    margin-left: auto;
    margin-right: 15px;
}

.order-steps-bar .step-active {
    color: var(--tertiary_color_shade);
    font-size: 1.8rem;
    font-weight: 500;
}

.order-steps-bar .step-completed {
    color: white;
    background-color: var(--tertiary_color_shade);
    font-size: 1.8rem;
    font-weight: 500;
}

#settings-content, #order-details-content-main-section {
    margin-top: 6rem;
    padding-left: 50px;
    padding-right: 50px;
}

#order-details-topbar .order-title {
    margin-left: 15px;
}

#order-details-topbar .order-title-bold {
    color: black;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: .5rem;
    margin-top: .5rem;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    margin-left: 5px;
}


#order-content {
    margin-top: 1.5rem;
    background-color: white;
    padding: 25px;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

#order-content input[type=text] {
    width: 80%;
    margin-bottom: 20px;
}

#order-content .row {
    margin-left: 0;
    margin-right: 0;
}

#order-content .row-margin-top {
    margin-top: 30px;
}

#order-content .col-4 {
    padding-left: 4.5rem;
}

.order-informer {
    margin-top: 180px;
    color: rgba(0,0,0,0.54);
    font-size: 2rem;
    text-align: center;
}



.order-informer-center {
    color: rgba(0,0,0,0.54);
    font-size: 2rem;
    text-align: left;
    margin-bottom: 3rem;
    margin-left: 1.5rem;
}

#add-product-button {
    margin-bottom: 150px;
}

#order-content .step3-content textarea {
    width: 100%;
    height: 120px;
}

div.step2-content {
    text-align: center;
}

.title-comment{
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: .5rem;
    margin-top: .5rem;
    text-transform: none;
    letter-spacing: 0.08rem;
}

.comment {
    font-size:1.4rem;
    margin-bottom: 30px;
    margin-top: 15px;
    margin-right:10%;
    color: #5d6163;
}

.number-order{
    width:100px;
}

.price-order{
    font-size: 1.8rem;
    color: var(--tertiary_color);
}

/*.product-col-1{*/
    /*margin-right:-30px;*/
/*}*/

/*.product-col-2{*/
    /*margin-left:20px;*/
/*}*/

.colored-bold-highlight{
    font-weight: bold;
    color: var(--tertiary_color);
}


.fa-angle-up {
    font-size: 2rem;
    margin-left: 15px;
    margin-right: 5px;
    color: var(--tertiary_color);
}
/*
 * Styling for input elements
 */
input[type=text], input[type=search]:not(.select2-search__field), input[type=number], .select2-selection, textarea, input[type=password], input[type=email], .fake-input {
    background-color: white;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    border-radius: 4px;
    border: 1px solid rgba(51,55,69,0.16);
    box-shadow: 1px 2px 3px lightgrey, -1px 2px 3px lightgrey;
    transition: box-shadow 0.15s ease-in-out;
}

input[type=text]:placeholder-shown, input[type=search]:not(.select2-search__field):placeholder-shown, input[type=number]:placeholder-shown,
textarea:placeholder-shown, input[type=password]:placeholder-shown, input[type=email]:placeholder-shown {
    background-color: #F3F3F4;
    color: #000000;
    opacity: 0.54;
    font-style: italic;
}

/*input[type="text"]:disabled, input[type="number"]:disabled, textarea:disabled {*/
    /*box-shadow: unset;*/
    /*border: unset;*/
    /*color: black;*/
    /*background-color: white;*/
    /*-moz-appearance:textfield;*/
    /*-webkit-appearance: none;*/
/*}*/

form input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]){
    margin-bottom: 15px;
    width: 100%;
}

.right-buttons {
    margin-right: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.right-buttons > * {
    margin-bottom: 15px;
}

input[type=text], input[type=search]:not(.select2-search__field), input[type=number], input[type=password], input[type=email],.fake-input {
    line-height: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px;
}

.select2-container--default .select2-selection--single {
    height: 34px;
}

.select2-selection__arrow {
    height: 30px !important;
}


input[type=text], input[type=search]:not(.select2-search__field), input[type=number], textarea, .select2-selection__rendered, input[type=password],input[type=email], .fake-input {
    padding-left: 13px;
    padding-right: 13px;
}

input[type=text]:focus, input[type=search]:focus, input[type=number]:focus, .select2-selection[aria-expanded=true], textarea:focus, input[type=password]:focus {
    border-color: var(--tertiary_color_shade);
    box-shadow: 0 0 8px var(--tertiary_color_shade) !important;
    outline: none;
}

.search-query{
    background: url("/img/backend/icons_search@2x.png") no-repeat scroll 165px 7px ;
}

textarea {
    height: 106px !important;
    border-radius:7px !important;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: box-shadow 0.15s ease-in-out;
}

.select2-selection {
    outline: none;
}

select:invalid {
    color: gray;
}

.select2-results__option {
    text-align: left;
    margin-top: 0;
    padding-left: 7px;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #DC0D15 !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: #e7745d;
    color:white;
}

/**Datepicker styling */
.bootstrap-datetimepicker-widget th, .bootstrap-datetimepicker-widget td {
    padding: 5px;
}

.bootstrap-datetimepicker-widget .today:not(.active)::before {
    border-bottom-color: #DC0D15 !important;
}

.bootstrap-datetimepicker-widget .active{
    background-color: #DC0D15 !important;
}

.bootstrap-datetimepicker-widget .picker-switch {
    padding-top: 7.5px;
    padding-bottom: 7.5px;
}

.bootstrap-datetimepicker-widget a {
    color: #DC0D15;
}

.timepicker {
    margin-top: 7px;
}

/*
 * Styling for the DataTables
 */
.dataTable {
    border-spacing: 0 7px !important;
    border-bottom: 0 !important;
}

/* Table headers */
.dataTable > thead th {
    border-bottom: 0 !important;
    color: black;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-transform: uppercase;
    /*background-color: rgba(170,172,179,0.4) !important;*/
    background-color: #b4b2b1 !important;
}

/* Table cells */
.dataTable > tbody tr, .dataTable > thead tr {
    /** It is better to color the cells instead of the rows */
    background-color: #EBEBEC !important;
}

.dataTable td, .dataTable th {
    background-color: white !important;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
}
.dataTable td:not(.image-column) {
    padding: 10px 18px !important;
}

.dataTable .image-column {
    padding: 0 !important;
}


/* Styling specific to sorted columns */
.dataTable th.sorting_asc, .dataTable th.sorting_desc {
    font-family: 'Ubuntu', sans-serif;
}

.dataTable td.sorting_1 {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

table.dataTable thead .sorting {
    background: url("/img/backend/icons_arrows_sort.png") no-repeat calc(100% - 10px) #b4b2b1 !important;
}

/*Rounding each table row */
.dataTable tr td:first-child, tr th:first-child {
    border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    /*box-shadow: -1px 0px 2px 1px rgba(204,204,204,1);*/
}
.dataTable tr td:last-child, tr th:last-child {
    border-radius: 0 5px 5px 0;
    -moz-border-radius: 0 5px 5px 0;
    /*box-shadow: 3px 0px 2px 1px rgba(204,204,204,1);*/
}

.dataTable tr {
    height: 64px;
}

.dataTables_empty {
    border-radius: 5px 5px 5px 5px !important;
    vertical-align: middle;
}

.dataTables_length .select2-container {
    margin-left: 3px;
    margin-right: 3px;
    width: 55px !important;
}

.dataTable .table-link {
    color: var(--tertiary_color_shade);
}

.dataTable .table-link-new {
    color: var(--tertiary_color_shade);
    font-weight: bold;
}

.order-status {
    font-family: 'Ubuntu', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.dataTable a {
    text-decoration: underline !important;
}

.order-status img {
    width: 20px;
    margin-right: 10px;
}

/** Paginate buttons */
.dataTables_wrapper .dataTables_paginate {
    border-radius: 5px;
    padding: 0 !important;
    margin-top: 10px !important;
    border: 1px solid #ddd !important;
    font-size: 1.4rem;
}

.dataTables_info {
    font-size: 1.4rem;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: var(--tertiary_color_shade) !important;
    margin: 0 !important;
    border-right: 1px solid #ddd !important;
}

/** On hover non-disabled paginate buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    color: white !important;
    background: none;
    background-color: var(--tertiary_color_tint) !important;
    border-color: var(--tertiary_color_tint) !important;
}

/** On hover disabled paginate buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
    background: none;
    margin: 0 !important;
    border-color: #ddd !important;
    background-color: #eee !important;
    border-right: 1px solid #ddd !important;
}

/** Current pagination button normal and on hover */
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: none;
    color: #ffffff !important;
    border-color: var(--tertiary_color_shade) !important;
    background-color: var(--tertiary_color_shade) !important;
    cursor: default !important;
}

#datatable-category .category-state-on {
    height: 10px;
    width: 10px;
    background-color: #77C26F;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

#datatable-category .category-state-off {
    height: 10px;
    width: 10px;
    background-color: #DC0D15;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.new-order-row {
    height: 11px;
    width: 11px;
    background-color: #DC0D15;
    border-radius: 50%;
    position: absolute;
    left: -4px;
    transform: translateY(4px);
}

.tablecell-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.red-cell {
    color: #DC0D15;
}
.green-cell {
    color: #77C26F;
}
.grey-cell {
    color: rgba(0,0,0,0.54);
}
.orange-cell {
    color: #EAB818;
}

/**
 * Terms page final order confirmation
 */

#terms {
    margin-left: 20px;
    font-size: 1.4rem;
}
#terms > h4 {
    margin-top: 30px;
}

#terms input:checked {
    background-color: #2196F3;
}

#accept-terms{
    margin-top: 30px;
}

#final-confirm {
    margin-left: 20px;
    font-size: 1.4rem;
}

#final-confirm > h4 {
    margin-top: 50px;
}

#final-button {
    margin-top: 30px;
}
/*
 * Button styling.
 * Whenever you use buttons, use at least class button and one of the below.
 *
 */
.button {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.14rem;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
    width: 280px;
    height: 48px;
}

.button-small {
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    border-radius: 4px;
    border-style: none;
    cursor: pointer;
    /*height: 32px;*/
    width: 176px;
}

.button-add {
    /*background-color: #EAB818;*/
    background-color: #5d6163;
    color: white;
    margin-top: 20px;
}



.button-small.button-add {
    box-shadow: 0 8px 16px 0 rgba(86,31,24,0.16);
}

.button-success {
    background-color: #DC0D15;
    color: white; !important;
    box-shadow: 0 8px 16px 0 rgba(86,31,24,0.16);
}

.button-success:disabled {
    opacity: 0.24;
    cursor: not-allowed;
}


.button-success > a {
    color: white;
}

.button-cancel {
    background-color: var(--neutral_button_color);
}


.button-fail {
    background-color: #d21129;
    color: white;
}

#button-logout {
    background-color: var(--neutral_button_color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 48px;
    width: 256px;
    align-items: center;
    border-radius: 2px;
    margin-top: 15px;
}

.contact-button {
    width: 40%;
    height:34px;
    font-size:1.5em;
}

/*
 * General Modal styling
 */
.modal-backdrop.show {
    opacity: .30;
}

.modal-lg {
    max-width: 64%;
}

.modal-md {
    max-height: 35%;
    max-width: 35%;
}

.modal-confirm{
    text-align:center;
}

.modal input[type=text]:not(.extra-input), .modal textarea, .modal .select2-container, input[type=password] {
    width: 100% !important;
    margin-bottom: 15px;
}



.modal-content {
    /*background-color: rgba(255,255,255,0.88);*/
    opacity: 0.98;
    box-shadow: 0 16px 32px 0 rgba(0,0,0,0.16);
    border-radius: 8px;
}

#edit-project-details-modal .row, #edit-project-details-modal .modal-footer {
    background-color: white;
    padding: 80px 60px;
}


.add-product-modal .order-steps-bar {
    margin-top: 0;
}

.modal-header {
    padding: 3rem;
    border-bottom: 0;
    flex-direction: column;
    align-items: unset;/* ovveride bootstrap*/
}

.modal-header > .button-cancel {
    margin-bottom: 3rem;
    align-self: end;
}

.modal-body {
    padding-left: 7rem;
    padding-right: 7rem;
}

.modal-confirm-footer{
    justify-content: center;
    margin-bottom:20px;
    padding: 2rem !important;
}

.modal-confirm-footer *{
    margin-left: 7.5px;
    margin-right: 7.5px !important;
}

.modal-logout-footer *{
    width:100%;
}

.top-row-modal{
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.top-row-modal .button-cancel {
    margin-left: auto;
}

.add-product-modal .category-row .category-image-container {
    height: 240px;
    width: 240px;
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
}

.add-product-modal .category-row .category-image-container > img {
    border-radius: 4px;
    object-fit: cover;
    height: 240px;
    width: 240px;
}

.add-product-modal .radio-block {
    width: unset;
}

.add-product-modal .category-row .category-image-container:hover {
    filter: grayscale(100%) contrast(100%);
}

.add-product-modal .category-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.add-product-modal .text-on-top-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 18px;
    text-transform: uppercase;
    width: 90%;
    text-align: center;
}


.product-row {
    display: flex;
    justify-items: center;
    align-items: center;
    background-color: white;
    margin-bottom: 1rem;
    border-radius: 4px;
    height: 72px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.04);

    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
}

.added-product-row {
    width: 400px;
    height: 42px;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    border: 1px solid rgba(170,172,179,0.4);
    border-radius: 2px;
    margin-top: 15px;
    padding: 15px;
}

.added-product-row img {
    width: 24px;
    cursor: pointer;
}


.added-product-row img:first-of-type {
    margin-left: auto;
    margin-right: 10px;
}

.step1-modal-content .product-row {
    cursor:pointer;
}


.row-icon-section {
    margin-left: auto;
    margin-right: 15px;
}

.product-row .product-image {
    width: 72px;
    height: 72px;
    padding:4px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 3rem;
}

#order-content .icon, #order-details-content-main-section .icon  {
    width: 24px;
    height: 24px;
    margin-left: 15px;
    cursor: pointer;
}

#order-content .select-country-list {
    width: 100% !important;
}

#order-content .select-country-list select {
    width: 80% !important;
}

.missing-input-icon {
    display: none;
    width: 24px;
    height: 24px;
    margin-bottom: 3px;
    margin-left: 10px;
    margin-right: 10px;
}

#product-flag-product-modal-template .modal-header {
    text-align: center;
}

#product-flag-product-modal-template .modal-confirm-footer {
    align-self: center;
    min-width: 60%;
}

.warning-icon {
    position: absolute;
    transform: translate(-28px,3px);
}

#order-flags-modal h4 {
    text-align: center;
}

.product-row input {
    width: 60px !important;
    margin-bottom: 0 !important;
    margin-right: 15px;
}

.add-product-modal .confirm-product-button {
    float: right;
    margin-top: 15px;
}

.add-product-modal .product-row .fa-angle-right {
    /*color: #DC0D15;*/
    font-size: 3rem;
    margin-left: auto;
    padding-right: 25px;
}


.add-product-modal .step1-modal-content .product-row:hover {
    background-color: var(--tertiary_color_shade);
    color: white;
}


.add-product-modal .product-row > span {
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
    margin-left: 1.5rem;
}

.add-product-modal .label-inline {
    font-family: 'Ubuntu', sans-serif;
    font-weight: bold;
    font-size: 1.6rem;
}

.add-product-modal .product-details {
    background-color: white;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

#order-content .radio-label, .add-product-modal .radio-label {
    padding-left: 0 !important;
}

#order-content input[type='radio'], .add-product-modal input[type='radio'] {
    margin-left: 0 !important;
}

#order-content .verify-product-button {
    margin-top: 15px;
}

.add-product-modal .text-section input:not(.step-counter):not(.radio-float-right), .add-product-modal .extra-input{
    width: 85% !important;
}

#order-details-content-main-section .product-details {
    margin-bottom: 3rem;
}

#order-details-content-main-section select, .select-country-list select {
    width: 100%;
    height: 48px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 2px;
    color: #000000;
}

#product-details-expandable-section .product-row {
    padding-right: 15px;
}


#product-details-expandable-section .product-details {
    margin-top: 20px;
}

#product-details-expandable-section input {
    width: 15%;
    margin-left: 15px;
}

#product-details-expandable-section {
    margin-bottom: 20px;
}


#product-details-expandable-section .close-options, #order-details-content-main-section .close-options {
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    letter-spacing: 0.08rem;
    text-transform: uppercase;
}

.close-options label {
    cursor: pointer;
}

#order-details-content-main-section .expand-options  {
    padding-right: 15px;
}

#order-details-content-main-section .product-row  {
    margin-bottom: 3rem;
}

#order-details-content-main-section input[type=number]:disabled  {
    width: 20%;
    margin-left: 15px;
}

#order-details-content-main-section .product-row .product-image {
    margin-right: 1rem;
}

#product-list .missing-inputs-informer {
    font-size: 1.8rem;
    color: #DC0D15;
    font-weight: 500;
    margin-top: 25px;
}

#product-list .missing-inputs-informer img {
    margin-left: 10px;
    width:30px;
}

.control-value {
    font-weight: 500;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.control-value-light {
    font-weight: 500;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
    opacity: 0.54;
}

#contact-button-section {
    margin-top: 10px;
    display: flex;
}

#contact-button-section * {
    width: 200px;
    margin-left: 5px;
    margin-right: 5px;
}

.add-product-modal .radio-float-right {
    margin-left: auto;
    width: unset !important;
}

.add-product-modal .product-details span, .add-product-modal .text-row {
    font-size: 1.4rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
}

.add-product-modal .flex-row {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.add-product-modal .step-counter {
    margin-left: auto;
    width: 25% !important;
    margin-bottom: 0 !important;
}

.file-row {
    margin-top: 15px;
    font-size: 1.4rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 500;
    color: #DC0D15;
}

.file-row .icon {
    width: 24px;
    margin-left: 15px;
}

/** Product page elements */
/** Product page elements */
/** Product page elements */
/** Product page elements */
/** Product page elements */
/** Product page elements */
.section-card {
    background-color: white;
    padding: 5rem 7rem;
    margin-top: 5rem;
    border-radius: 5px;
}

.product-card {
    border: 1px solid rgba(0,0,0,0.16);
    background-color: white;
    padding: 25px 30px;
    margin-top: 10px;
    margin-bottom: 8px;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.04);
}

.surface-treatment-product-card .partner-options {
    height:unset !important;
}

.product-card-header {
    display: flex;
    align-items:center;
}

.close-options {
    font-size: 1.2rem;
    font-family: 'Ubuntu', sans-serif;
    letter-spacing: 0.08rem;
}

.expand-options{
    display: flex;
    align-items:center;
    cursor: pointer;
}

.input-explanation {
    font-family: 'Ubuntu', sans-serif;
    color: rgba(0,0,0,0.54);
    font-size: 14px;
}

#delete-image {
    cursor: pointer;
    margin-left: 7px;
    margin-bottom: 3px;
}

.product-card-main {
    margin-top: 3rem;
}

.col-input-with-icon {
    flex: 0 0 29.5%;
    max-width: 29.5%;
    padding-left: 15px;
    padding-right: 15px;
}

.col-input-with-icon input {
    width: 85% !important; /* Make room for the delete icon */
}

.col-input-with-icon-short input  {
    width: 53% !important;
}

.partner-options {
    padding-left: 4.5rem;
    border-left: 1px solid rgba(170,172,179,0.4);;
    height: 90px;
    flex: 0 0 20.5%;
    max-width: 100%;
}

.partner-options input[type=radio], .partner-options .radio-label {
    margin-left: 0;
    padding-left: 0;
}

.remove-icon, .confirm-icon {
    width: 24px;
    cursor: pointer;
    margin-left: 25px;
    height: 24px;
}

input[type=checkbox] {
    margin-right: 8px;
}

.dynamic-input-row {
    margin-top: 1.5rem;
}

/**
 * Order success page
 */
#order-success-section {
    padding-top: 5rem;
    padding-left: 4.5rem;
}

#order-success-section p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.4rem;
    width: 65%;

}

/*
 * Flash session message styling
 */
.alert {
    font-size: 14px;
    margin-top:10px;
}

.alert-danger{
    color: white;
    border-radius: 0;
    margin-bottom: 10px !important;
    background-color: #d21129;
    border: none;
}

.alert-success{
    color: white;
    border-radius: 0;
    margin-bottom: 10px !important;
    background-color: #33b535;
    border: none;
}

.alert-warning{
    color: white;
    border-radius: 0;
    margin-bottom: 10px !important;
    background-color: rgba(242, 146, 13, 0.7);
    border: none;
}

.alert-info{
    color: white;
    border-radius: 0;
    margin-bottom: 10px !important;
    background-color: rgba(42, 143, 215, 0.70);
    border: none;
}

/**
 * Image Upload styling
 */
.image-holder > img{
    width: 100%;
    margin-bottom: 15px;
}

label.custom-file-upload input[type="file"] {
    position: fixed;
    top: -3000px;
}

.custom-file-upload {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 200px;
}

/*
 * Loading icons
 */
#loading-icon {
    top:calc(50% - 50px);
    position:absolute;
    left:calc(50% - 50px);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin ease-in-out 0.5s infinite;
    display: none;
    border: 16px solid var(--tertiary_color_tint); /* Light grey */
    border-top: 16px solid var(--tertiary_color_shade);
    z-index: 99999999;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/**
* Custom bootstrap cols
*/
.col-2dot4,
.col-sm-2dot4,
.col-md-2dot4,
.col-lg-2dot4,
.col-xl-2dot4, .col-md-4dot8 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
.col-2dot4 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
}
@media (min-width: 540px) {
    .col-sm-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 720px) {
    .col-md-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 960px) {
    .col-lg-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}
@media (min-width: 1140px) {
    .col-xl-2dot4 {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/*For smaller laptop screens*/
@media (max-width: 1413px) {
    main {
        margin-left: var(--small_sidebar) !important;
    }

    #sidebar{
        width: var(--small_sidebar);
    }

    #bottom-block {
        width: 80%;
        bottom: 2.5%;
        left: 10%;
    }

    #button-logout{
        width: 100%;
    }

    #side-menu ul>li>a{
        font-size:1.5rem;
    }

    #side-menu ul>li{
        height: 40px;
    }
    .nav-link.active{
        height: 40px;
    }

    #emblem-image{
        width: 33%;
    }
    .section-card{
        padding: 5rem 5rem !important;
    }
}

@media (min-height: 678px){

}


.col-md-4dot8
{
    -webkit-box-flex: 0;
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
}

#filters-container  {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 20px;
}
.add-button{
    border: none;
    background: url("/img/backend/icons_add.png")   no-repeat ;
    width: 25px;
    height: 25px;
    margin: 1px;
    vertical-align: center;
}
#sidebar-toggler{
    position: absolute;
    top: 0px;
    right: 0px;
    border: none !important;
    outline: none !important;
    background: url("/img/backend/hamburger_icon_small@2x.png")   no-repeat ;
    width: 41px !important;
    height: 41px !important;
    margin: 5px;
    vertical-align: center;
}
#add-filter-button-div{
    display: flex;
    align-items: center;
    justify-content: center;
}
#toggle-button-div{
    position: relative;
}

#reset-filter-button-div{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    cursor: pointer;
}

.reset-button{
    margin:  3px;
    width: 25px;
    height: 25px;
    border: none;
    background: url("/img/backend/icons_geweigerd.png")   no-repeat ;
    cursor: pointer;
}
.filter-text{
    font-family: 'Ubuntu', sans-serif;
    text-transform: uppercase;
    color: black;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 8px ;
}

#filter-button{
    margin-top: 0;
    margin-left: 10px;
}
#filter-button:disabled{
    opacity: 0.3;
    color: white;
    cursor: not-allowed;
}

.filter-dropdown{
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.25rem;
    margin-right:10px;
}

.inner-dropdown{
    height: 32px;	width: 194px;
}

#datepicker-container{
    padding-left: 0;
    padding-right: 0;
}

#date-from-to{
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.2rem;
}

#date-from{
    height: 32px;	width: 194px;
}
.modal-footer {
    border-top: none !important;
}

#date-to{
    height: 32px;	width: 194px;
}

#label-to{
    color: black;
    margin-left: 18px;
}
.full-filter-row{
    width: 100%;
    margin-left: 90px;
    /*margin-bottom: 10px;*/
    margin-top: 10px;
}

.hidden {
    visibility: hidden;
}

.display-none {
    display: none;
}

.display-flex {
    display: flex;
}

/*
 * Media Queries
 * Media Queries
 * Media Queries
/*

/*
 * Media query large size: < 1280px width
 */
@media screen and (max-width:1280px){
    #sidebar-toggler {
        display: block;
    }
    main, .topbar-flex {
        margin-left: 0 !important;
    }
    #logged-in-as {
        display: none;
    }
    .adaptive-col{
        flex-basis: 0 !important;
        flex-grow: 1 !important;
        max-width: 100% !important;
    }
}
/*
 * Media query medium size: < 770px width
 */
@media screen and (max-width:770px){
    html,body {
        font-size: 8px !important;
    }

    .create-button {
        margin: 15px auto 0;
    }
}
/*
 * Media query medium size: < 770px width
 */
@media screen and (max-height:580px){
    #brand-box {
        display: none;
    }

    #side-menu {
        margin-top: 25px;
    }

}


/*
 * Media query small size < 525px.
 */
@media screen and (max-width:525px){
}

.settings-input:invalid {
    outline: solid red 2px;
}

.empty-input-image-settings{
    display: none;
    width: 24px !important;
    position: absolute;
    transform: translateY(-180%);
    right: 15px;
}
#filters-container-frontend{
    margin-left: 0px !important;
}

#employee-personal-data{
    margin-right: 30px;
}


.empty-input:placeholder-shown {
    outline: solid red 2px !important;
    /*border: 1px solid #DC0D15;*/
}

.empty-input-image{
    display: none;
    width: 24px !important;
    margin-left: 15px;
}

.empty-input-image-sales-employee{
    display: none;
    width: 24px !important;
    position: absolute;
    transform: translateY(-187%);
    right: 22px;
}

/*Details responsive*/
.situation-data{
    flex-grow: inherit;
}

#product-code-input{
    flex: 0 1 auto;
    max-width: inherit;
}

@media (max-width: 576px) {
    .modal-lg {
        max-width: 100%;
    }
    .order-steps-bar {
        margin-bottom: 40px;
    }
    .button-success {
        width:100%;
        margin-left: 20px;
    }
    .added-product-row{
        width:100%;
    }
}
@media (max-width: 435px) {
    .step2-modal-content {
        max-width: 100%;
    }
}

@media  (max-width: 450px) {
    .modal-body{
        margin-top: 40px;
    }
}
@media  (max-width: 294px) {
    .modal-body{
        margin-top: 100px;
    }
}

@media (max-width: 406px) {

    .button{
        width: 100%;
    }

    .order-steps-bar {
        margin-bottom: 100px;
    }
}

.delete-icon-fire_resistance{
    margin-left : 4px !important;
}

.hidden-error-message{
    display:none;
}
.shown-error-message{
    display:block;
}

.settings-center{
    margin-bottom: 0 !important;
    margin-top: 1rem !important;
}

.radio-block-details-full{
    width:auto;
}
.radio-playment{
    margin-left: 40px;
    margin-top:-22px;
}

/*Since the checkbox styling is not working for all of them, here it's another way of customizing them*/
/* The container */
.container-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.container-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.container-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.container-checkbox input:checked ~ .checkmark {
    background-color: var(--tertiary_color_shade);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.container-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.container-checkbox .checkmark:after {
    left: 7px;
    top: 3.7px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.big-span{
    min-width: 140px;
}
.radio-block>label {
    display: flex !important;
}
/* Media query for IE 11*/

@media (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .order-steps-bar{
        width: 100%;
    }

    .order-steps-bar > div , .date-filter-row{
        flex: 0 0 25%;
    }

    input[type=text]:-ms-input-placeholder, input[type=search]:not(.select2-search__field):-ms-input-placeholder, input[type=number]:-ms-input-placeholder,
    textarea:-ms-input-placeholder, input[type=password]:-ms-input-placeholder, input[type=email]:-ms-input-placeholder {
        background-color: #F3F3F4 !important;
        color :rgba(0, 0, 0, 0.3) !important;
        font-style: italic !important;
    }

    input[type=text], input[type=search]:not(.select2-search__field), input[type=number], input[type=password], input[type=email],.fake-input {
        height: 32px;
        line-height: 0;
    }

    .modal-title{
        margin: 0 auto;
    }

    #order-details-content-main-section .col {
        flex: 0 0 20%;
    }
    #label-to{
        margin-left: 0;
    }
}
