/* SITE LOADER */

.loaderEnable {
    overflow: hidden;

}
.loaderMask{
    position: fixed;
    left: 0;
    top: 0;
    background: #fff;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.siteLoader {
    display: inline-block;
    width: 80px;
    height: 80px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 99999;
}
.siteLoader div {
    animation: siteLoader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}
.siteLoader div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgb(34, 46, 60);
    margin: -4px 0 0 -4px;
}
.siteLoader div:nth-child(1) {
    animation-delay: -0.036s;
}
.siteLoader div:nth-child(1):after {
    top: 63px;
    left: 63px;
}
.siteLoader div:nth-child(2) {
    animation-delay: -0.072s;
}
.siteLoader div:nth-child(2):after {
    top: 68px;
    left: 56px;
}
.siteLoader div:nth-child(3) {
    animation-delay: -0.108s;
}
.siteLoader div:nth-child(3):after {
    top: 71px;
    left: 48px;
}
.siteLoader div:nth-child(4) {
    animation-delay: -0.144s;
}
.siteLoader div:nth-child(4):after {
    top: 72px;
    left: 40px;
}
.siteLoader div:nth-child(5) {
    animation-delay: -0.18s;
}
.siteLoader div:nth-child(5):after {
    top: 71px;
    left: 32px;
}
.siteLoader div:nth-child(6) {
    animation-delay: -0.216s;
}
.siteLoader div:nth-child(6):after {
    top: 68px;
    left: 24px;
}
.siteLoader div:nth-child(7) {
    animation-delay: -0.252s;
}
.siteLoader div:nth-child(7):after {
    top: 63px;
    left: 17px;
}
.siteLoader div:nth-child(8) {
    animation-delay: -0.288s;
}
.siteLoader div:nth-child(8):after {
    top: 56px;
    left: 12px;
}
@keyframes siteLoader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loaderMask.target{
    position: absolute;
}
.siteLoader.target{
    position: absolute;
    top: 50vh;
}

.card .siteLoader.target,
.modal-content .siteLoader.target{
    top: 50% !important;
}
/* end of site loader */

.card-body > .list-pagination,
table + .list-pagination{
    padding: 1.5rem;
    padding-top: 3rem;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    justify-content: center;
    display: flex;
}

.list-pagination .page-item.active .page-link{
    background-color: rgb(22, 153, 173);
    border-color: rgb(22, 153, 173);
}

.list-pagination .go-to{
    position: absolute;
    left: 5%;
    display: flex;
}

.go-to input{
    font-weight: 400;
    line-height: 1.5;
    padding: 0.3rem 0.85rem;
    font-size: 0.875rem;
    margin-left: 2px;
}

.go-to input:focus,
.go-to input:hover{
    outline: 0;
}

.go-to button:focus,
.go-to button:hover,
.go-to button{
    background: rgb(22, 153, 173);
    border-color: rgb(22, 153, 173);
}

.section-wrapper{
    padding: 10px 20px;
    /*border-top: 1px solid lightgray;*/
}

.section-wrapper .product:not(:last-child),
.section-wrapper .order_question:not(:last-child)>.row{
    border-bottom: 1px solid lightgray;
}

.section-wrapper h5{
    border-bottom: 1px solid lightgray;
    color: gray;
    margin-left: -20px;
}

.card-body .search-button{
    margin-bottom: 1.5rem;
}

.chemical-questions-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.chemical-questions-section .questions-section{
    width: 100%;
    margin-top: 20px;
}

form.active-substance-form .questions-section
{
    display:none;
}

.select2-container:not(.select2){
    z-index: 9999;
}

.select2-container--default .select2-results > .select2-results__options{
    scrollbar-width: thin;
}

.nav-tabs[role="tablist"] li button:not(.active){
    color: slategray;
}

.ck-editor__editable_inline {
    min-height: 200px;
}

form .button-wrapper{
    display: flex;
    justify-content: end;
    width: 100%;
    padding-top: 20px;
}

form .button-wrapper .save.btn:hover {
    background: lightgray;
}

/*.go-to-orders-button{*/
/*    background-color: rgb(91, 101, 155);*/
/*    border-color: rgb(91, 101, 155);*/
/*}*/
/*.go-to-orders-button:hover{*/
/*    background-color: rgb(64, 72, 119);*/
/*}*/

.substance-question{
    width: 80%;
}
.substance-question-checkbox{
    width: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Switch 4 Specific Style Start */
.repeater-content .input_wrapper{
    width: 80px;
    height: 40px;
    position: relative;
    cursor: pointer;
    color: #fff;
    font-weight: bold;

    margin-top: 15px;
}

.repeater-content .input_wrapper input[type="checkbox"]{
    width: 80px;
    height: 40px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: rgb(240, 128, 128);
    background: rgb(252, 191, 62);
    border-radius: 2px;
    position: relative;
    outline: 0;
    -webkit-transition: all .2s;
    transition: all .2s;
}
.repeater-content .input_wrapper input[type="checkbox"]+label{
    color: rgb(73, 80, 87);
    font-weight: initial;
}

.repeater-content .input_wrapper input[type="checkbox"]:after{
    position: absolute;
    content: "";
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
    background: #dfeaec;
    z-index: 2;
    border-radius: 2px;
    -webkit-transition: all .35s;
    transition: all .35s;
}

.repeater-content .input_wrapper .is_checked{
    position: absolute;
    top: 50%;
    transform: translate(25%, -50%);
}

.repeater-content .input_wrapper .is_unchecked{
    position: absolute;
    top: 50%;
    transform: translate(200%, -50%);
}

/* Checked State */
.repeater-content .input_wrapper input[type="checkbox"]:checked{
    background: rgb(59, 125, 221);
}

.repeater-content .input_wrapper input[type="checkbox"]:checked:after{
    left: calc(100% - 37px);
}

.form-card
{
    padding: 20px;
    margin-top: 10px;

    margin-bottom: 24px;
    box-shadow: 0 0 0.875rem 0 rgba(33, 37, 41, 0.05);
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: initial;
    border: 0 solid transparent;
    border-radius: 0.25rem;
}

.submit-form-wrapper
{
    margin: 20px 0;
    direction: rtl;
}

label[data-q="bundle"]
{
    display:none;
}

#formAddChemicalSubstanceModal form>.modal-body>.row:nth-of-type(n+3),
form#update_question>.row:nth-of-type(n+3)
{
    display:none;
}

.contact-form 
{
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
}

/* Switch 4 Specific Style End */