/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Aug 15, 2017, 11:27:42 PM
    Author     : andromeda
*/
html {
    font-size: 14px;
}
.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.no-padding {
    padding: 0 !important;
}
.floating-labels label {
    font-style: italic;
}
.floating-labels .form-control:focus ~ label,
.floating-labels input:not(:placeholder-shown):not(:checkbox) ~ label,
.floating-labels textarea:not(:placeholder-shown) ~ label {
    font-style: normal;
    top: -20px;
    font-size: 12px;
    color: #707cd2;
}
.floating-labels input[type="checkbox"]:not(:placeholder-shown) ~ label {
    top: 0;
}
.has-error label {
    color: #a94442 !important;
}
.vm {
    vertical-align: middle !important;
}
.form-group .bootstrap-tagsinput {
    border: none;
    border-bottom: 1px solid #e4e7ea;
    border-radius: 0;
    box-shadow: none;
    display: block;
    padding: 7px 12px;
    width: 100%;
    background-color: transparent;
}
.floating-labels .form-control:focus ~ label,
.floating-labels .form-control:valid ~ label {
    top: -20px;
    font-size: 12px;
    color: #707cd2;
}
.pagination {
    margin: 0;
}

body.show-sidebar div.sidebar-nav {
    position: fixed;
}


.fake-disable-container {
    position: absolute; 
    width: 100%; 
    height: 100%; 
    display: none; 
    opacity: 0.1;
    z-index: 2;
}

.choices__list--dropdown.is-active {
    z-index: 3;
}

@media (max-width: 767.98px) {
    .responsive-margin-adjust {
        margin: 0 -15px;        
    }
}

.default-height {
    height:45px;
}

.form-custom {
    flex: 1;
    max-width: 700px;
}

.form-custom .panel-body {
    background-color: #fff;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.bg-transparent {
    background-color: transparent;
}

textarea:disabled {
    padding-left: 10px!important;
}

textarea:disabled ~ label {
    top: -25px;
    font-size: 12px;
    color: #707cd2;
}

.input-color {
    padding: 0 3px;
}

.badge-preview {
    padding: 3px 8px 1px 8px;
    border-radius: 25px;
}


@media (min-width: 767.98px) {
    .btn-responsive {
        width: 50px;
        height: 50px;
        padding: 10px 16px;
        border-radius: 25px;
        font-size: 18px;
        line-height: 1.33;
    }
}

.btn-responsive {
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-decoration-line-through {
    text-decoration: line-through;
}

.img-auto-responsive {
    width: auto;
    height: 200px;
    max-width: 100%;
}

.fake-input {
    background-color: rgba(120, 130, 140, 0.112);
    border: 1px solid rgba(120,130,140,.2);
    padding: 7px 12px;
    border-radius: 3px;
    line-height: 1.42857143;
}

.fake-input-textarea {
    min-height: 6rem;
    /* max-height: 10rem; */
    height: auto;
}

.fake-input-item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    margin: 3.75px;
    background-color: rgba(120, 130, 140, 0.669);
    border: 1px solid rgba(120, 130, 140, 0.552);
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
    opacity: 0.6;
}

.fake-category-item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #00bcd4;
    border: 1px solid #00a5bb;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
}

.price-input-item {
    display: flex;
    align-items: center;
    max-width: 100%;
}

.tablesaw-swipe th {
    vertical-align: middle!important;
}

.text-left {
    text-align: left!important;
}

/*Adiciona border-box para o input e para os pseudo-elementos*/
.toggle-checkbox, .toggle-checkbox::after, .toggle-checkbox::before {
    box-sizing: border-box;
}
/*Estiliza e remove a aparencia padrão do elemento*/
.toggle-checkbox {
    outline: none;
    position: relative;
    z-index: 1;
    padding: 0;
    cursor: pointer;
    width: 55px;
    height: 36px;
    overflow: hidden;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
/*cria os elementos before e after*/
.toggle-checkbox::before, .toggle-checkbox::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    /*efeito animado*/
    transition: left .15s cubic-bezier(.25, .8, .25, .1),
                transform .15s ease-in;
}
/*Cor padrão de quando o elemento não esta selecionado*/
.toggle-checkbox::before {
    background-color: #ccc;
    width: 100%;
    height: 100%;
    border-radius: 28px;
}
/*estiliza para parecer um botão toggle*/
.toggle-checkbox::after {
    margin: 3px 0 0 3px;
    background: #fff;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
/*troca a cor se estiver com a propriedade checked no html ou o usuário "checar"*/
.toggle-checkbox:checked::before {
    background-color: #ffcd2a;
}
/*muda a posição do botão toggle se estiver checado*/
.toggle-checkbox:checked::after {
    left: 19px;
}
/*Efeito opcional de quando pressiona o botão*/
.toggle-checkbox:not([disabled]):active::after {
    transform: scale(1.15, 0.85);
}
/*Se o input tiver com o atributo disabled a cor é alterada*/
.toggle-checkbox:disabled::before {
     background-color: #b1b4b7 !important;
}
/*Se o input tiver com o atributo disabled a cor é alterada*/
.toggle-checkbox:disabled::after {
     background-color: #dcd8d8 !important;
}

.code-generator-container {
    display: flex;
    flex-wrap: wrap;
}

.code-generator-btn {
    margin-top: 1rem;
    width: 100%;
}

@media (min-width: 992px) {
    
    .code-generator-container {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .code-generator-btn {
        margin-top: 0;
        width: auto;
        margin-left: 1rem;
    }
}

.miniature {
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    
    width: 64px;
    height: 64px;
}

.highlighted-item-bg {
    background-color: #ff2a2a30;
}
