
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
flex: 1 0 auto;
}

footer{
	font-weight: 100;
	font-size: 0.9rem;
}


/*------------------ LOGIN -----------------*/

.login-bg{
	/* background-image: url("../img/bg_bluegrey.jpg"); */
	background-color: white;
	background-repeat: no-repeat;
	background-size: cover;
}

/*--------------- UTILITIES ---------------*/
/* FONTS */

.letter-spacing-1{
	letter-spacing: 0.1rem;
}

.letter-spacing-2{
	letter-spacing: 0.2rem;
}

.break-word{
	overflow-wrap: break-word;
}

.font-07rem{
	font-size: 0.8rem !important;
}

.font-09rem{
	font-size: .9rem !important;
}

.font-1rem{
	font-size: 1rem;
}

.font-bold{
	font-weight: bold !important;
}

/* MARGIN */

.nomargin{
	margin: 0px !important;
}

.nomargin-top{
	margin-top: 0px !important;
}

.nomargin-bottom{
	margin-bottom: 0px !important;
}

.margin-left-10{
	margin-left: 10px;
}

.margin-right-10{
	margin-right: 10px !important;
}

.margin-top-10{
	margin-top: 10px;
}

.margin-top-20{
	margin-top: 20px;
}

.margin-top-30{
	margin-top: 30px !important;
}

.margin-bottom-10{
	margin-bottom: 10px;
}

.margin-bottom-30{
	margin-bottom: 30px;
}

.margin-auto{
	margin:auto !important;
}

/* PADDING */

.nopadding{
	padding: 0px !important;
}

.nopadding-top{
	padding-top: 0px !important;
}

.nopadding-bottom{
	padding-bottom: 0px !important;
}

.nopadding-right{
	padding-right: 0px !important;
}

.padding-10{
	padding: 10px !important;
}

.padding-20{
	padding: 20px !important;
}

.padding-top-10{
	padding-top: 10px !important;
}

.padding-top-20{
	padding-top: 20px !important;
}

.padding-bottom-10{
	padding-bottom: 10px !important;
}

.padding-bottom-20{
	padding-bottom: 20px !important;
}

.padding-left-20{
	padding-left: 20px !important;
}

.padding-left-170{
	padding-left: 170px !important;
}

.padding-left-250{
	padding-left: 250px !important;
}

.padding-right-20{
	padding-left: 20px !important;
}

.padding-right-15{
	padding-left: 15px !important;
}

/* BORDER */

.border-left{
	border-left: 5px solid;
}

.border-right{
	border-right: 1px solid;
}

.border-grey-lighten-2{
	border-color:#eeeeee ;
}

.border-blue-accent-3{
	border-color:#2979ff ;
}

.border-purple-accent-3{
	border-color:#582774 ;
}

.noborder{
	border-width: 0px !important;
}

/* OTHERS */

.noshadow{
	box-shadow: none !important;
}

.vert-divider{
	border-right: solid 1px #ffffff;
	padding-right: 10px;
}

.thin-font{
	font-weight: 100 !important;
}

/*COLOR*/
.gradient-bg-purple {
	background: #582873;
    background: -webkit-linear-gradient(45deg, #582873, #160321) !important;
    background: -moz- oldlinear-gradient(45deg, #582873, #160321) !important;
    background: -o-linear-gradient(45deg, #582873, #160321) !important;
    background: linear-gradient(45deg, #582873, #160321) !important;
}

.gradient-bg-blue {
	background: #2962ff;
    background: -webkit-linear-gradient(45deg, #2962ff, #0d47a1) !important;
    background: -moz- oldlinear-gradient(45deg, #2962ff, #0d47a1) !important;
    background: -o-linear-gradient(45deg, #2962ff, #0d47a1) !important;
    background: linear-gradient(45deg, #2962ff, #0d47a1) !important;
}

.gradient-border-b-blue {
	border-bottom: 2px solid;
	border-color: #2962ff;
    border-color: -webkit-linear-gradient(45deg, #2962ff, #0d47a1) !important;
    border-color: -moz- oldlinear-gradient(45deg, #2962ff, #0d47a1) !important;
    border-color: -o-linear-gradient(45deg, #2962ff, #0d47a1) !important;
    border-color: linear-gradient(45deg, #2962ff, #0d47a1) !important;
}
/*------------- SEACH INPUT ---------------*/


.nav-wrapper .input-field input[type=search] {
	border: solid 1px !important;
}

.nav-wrapper .input-field input[type=search] {
	width: calc(96% - 4rem) !important;
}

.input-field input[type=search]:focus:not(.browser-default){
	background-color: transparent !important;
}

.sidenav input[type=search]:not(.browser-default){
	border-bottom: none !important;
}

nav .input-field {
    margin: 0;
    height: 65px;
}

.top-search{
	background-color: transparent !important;
	box-shadow: none !important;
}

.top-main-menu .modal-overlay{
	opacity: .9 !important;
}

/*------------- TOP BAR -----------------*/

.dropdown-content{
	top: 64px !important;
	width: auto !important;
	height: auto !important;
	padding: 10px !important;
	font-size: 0.9rem !important;
}

.dropdown-content li>a{
	font-size: 14px;
	padding: 5px;
}

.dropdown-content li {
	min-height: 20px !important;
}

nav ul a{
	padding: 0 7px;
}

nav ul a:hover{
	background-color: #683089 !important;
}


/*------------- SIDE BAR -----------------*/

.brand-logo>img{
	max-height: 40px;
	margin-left: 20px;
	margin-top: 7px;
}


.sidenav li.active {
    background-color: #683089;
}

.sidenav .collapsible-body li a{
	font-size: 0.8rem;
}

.sidenav .active .collapsible-header{
	color: #fff !important;
}

.sidenav .active .collapsible-header i{
	color: #fff !important;
}

.sidenav .collapsible-body>ul:not(.collapsible)>li.active a, .sidenav.sidenav-fixed .collapsible-body>ul:not(.collapsible)>li.active a {
    color: #fff;
}

.user-menu{
	z-index: 9999 !important;
}

/*------------- CAROUSEL-----------------*/

.carousel{
	margin-top: -65px;
	height: 100vh;
}
.carousel .carousel-item>img{
	background-repeat: no-repeat;
	background-size: cover;
}

.bg-vinos{
	background-image: url('../img/carousel/vinos.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}
.bg-ferreteria{
	background-image: url('../img/carousel/ferreteria.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}
.bg-promocionales{
	background-image: url('../img/carousel/promocionales.jpg');
	background-repeat: no-repeat;
	background-size: cover;
}

.layer-black {
    background-color: rgba(0, 0, 0, 0.8);
    position: absolute;
    width: 100%;
    height: 100%;
}

/*------------- ORDER STATE-----------------*/

.red-left-border{
	border-left-color: #ff0000; 
}

.amber-left-border{
	border-left-color: #ffb300; 
}

.blue-left-border{
	border-left-color: #2979ff; 
}

.green-left-border{
	border-left-color: #43a047; 
}

.grey-left-border{
	border-left-color: #9e9e9e; 
}

.blue-grey-left-border{
	border-left-color: #263238; 
}
/*------------- CONTENT-----------------*/

.section-label{
	margin-top: 20px;
	padding:10px;
	font-weight: bolder !important;
	font-size: 1.3rem;
}

.purple.accent-3 {
    background-color: #582873 !important;
}
.red.accent-3 {
    background-color: #b50525 !important;
}
/*------------- FORMS -----------------*/

/*Select*/

.select-dropdown li.disabled>span{
	color: #2979ff !important;
}
.dropdown-content li>span {
	color: #616161 !important;
}

.select-wrapper input.select-dropdown:focus {
    border-bottom: 1px solid #2979ff;
}

select:focus{
	outline: 1px solid #b3e5fc !important;
}

select.form-control-sm:not([size]):not([multiple]), .input-group-sm > select.form-control:not([size]):not([multiple]), .input-group-sm > .input-group-prepend > select.input-group-text:not([size]):not([multiple]), .input-group-sm > .input-group-append > select.input-group-text:not([size]):not([multiple]), .input-group-sm > .input-group-prepend > select.btn:not([size]):not([multiple]), .input-group-sm > .input-group-append > select.btn:not([size]):not([multiple]) {
    height: calc(1.8125rem + 2px);
}

.input-field .prefix.active{
	color: #2979ff !important;
}

/*Search input*/

input[type=text]:not(.browser-default):focus:not([readonly]){
	border-bottom:1px solid #2979ff !important;
	box-shadow: 0 0 0 0 #2979ff !important;
}

input[type=text]:not(.browser-default):focus:not([readonly])+label{
	color: #2979ff !important;
}

input[type=search]:not(.browser-default):focus:not([readonly]){
	border-bottom:1px solid #2979ff !important;
	box-shadow: 0 0 0 0 #2979ff !important;
}

/*Password input*/

input[type=password]:not(.browser-default):focus:not([readonly])+label{
	color: #2979ff !important;
}

input[type=password]:not(.browser-default):focus:not([readonly]){
	border-bottom:1px solid #2979ff !important;
	box-shadow: 0 0 0 0 #2979ff !important;
}

/*Email input*/

input[type=email]:not(.browser-default):focus:not([readonly])+label{
	color: #2979ff !important;
}

input[type=email]:not(.browser-default):focus:not([readonly]){
	border-bottom:1px solid #2979ff !important;
	box-shadow: 0 0 0 0 #2979ff !important;
}

/*Textarea*/

textarea.materialize-textarea:focus:not([readonly])+label{
	color: #2979ff !important;
}

textarea.materialize-textarea:focus:not([readonly]){
	border-bottom:1px solid #2979ff !important;
	box-shadow: 0 0 0 0 #2979ff !important;
}

/*Checkbox*/

[type="checkbox"]+span:not(.lever):before, [type="checkbox"]:not(.filled-in)+span:not(.lever):after{
	border: 2px solid #bbbbbb;
	height: 14px;
	width: 14px;
	margin-top: 7px;
}

[type="checkbox"]:checked+span:not(.lever):before {
	border-right: 2px solid #2979ff;
border-bottom: 2px solid #2979ff;
}

/*AUTOCOMPLETE*/

.autocomplete-content{
	width: 100% !important;
}

/*--------------- PROFILE CARD -------------------*/

#profile-card .card-profile-image {
    width: 70px;
    position: absolute;
    top: 110px;
    z-index: 1;
    cursor: pointer;
}

/*------------------ TABLES ----------------------*/

table {
 margin: auto;
  border-collapse: collapse;
  overflow-x: auto;
  display: block;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, .1);
}

th{
	text-align: center !important;
}

td, th {
     border-radius: 0px !important;
}

.mdl-data-table{
	font-size: 11px !important;
}

.mdl-data-table td{
	padding: 0px 0px 0px 10px !important;
}
/*----------------- ALERTS ------------------*/

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}

/*-------------MODALS------------*/

.modal .modal-footer {
    text-align: center !important;
}

/*-------------DATATABLES------------*/

.mdl-button--raised.mdl-button--colored {
    background: #582873 !important;
}

.dataTables_info{
	font-size: 0.8rem;
}

table.dataTable thead .sorting:before, table.dataTable thead .sorting_asc:before, table.dataTable thead .sorting_desc:before, table.dataTable thead .sorting_asc_disabled:before, table.dataTable thead .sorting_desc_disabled:before {
    right: 1.3em;
    content: "\2191";
}

.dataTables_length select {
    display: block !important;
}

/*---------- TABS -----------*/

.tabs .tab a.active {
    background-color: transparent;
    color: #2979ff !important;
}

.tabs .tab a:hover{
    background-color: #82b1ff !important;
    color: #fff !important;
}

.tabs .tab a{
	color: rgba(41,121,255,0.7) !important;
}

.tabs .tab a:focus, .tabs .tab a:focus.active {
    background-color: rgba(41,121,255,0.2);
    outline: none;
}

.tabs .indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background-color: #2979ff !important;
    will-change: left, right;
}

/*---------- BADGE -----------*/
span.badge {
    min-width: 3rem;
    padding: 0 6px;
    margin-left: 14px;
    line-height: 22px;
	height: 22px;
	text-align: left !important;
	font-size: 11px !important;
    color: black !important;
    /* float: right; */
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}



