.theme--light.v-card {
    background-color: #fff;
    border-color: #fff;
    color: rgba(0,0,0,.87);
}

.x-card--material-stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
}

.x-card{
    -webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,.14);
    box-shadow: 0 1px 4px 0 rgba(0,0,0,.14);
    border-radius: 3px;
    margin: 25px 0 !important;
    background-color: #fff;
    border-color: #fff;
    color: rgba(0,0,0,.87);
    flex-wrap: wrap;
    position: relative;
    min-width: 0;
    -webkit-transition: .3s cubic-bezier(.25,.8,.5,1);
    transition: .3s cubic-bezier(.25,.8,.5,1);
}

.x-offset {
    margin: 0 auto;
    margin-bottom: 0px;
    max-width: calc(100% - 32px);
    position: relative;
}

.x-card .x-offset {
    padding: 0 16px 0;
}

.x-card--material-stats.x-card .x-offset {
    position: absolute;
    z-index: 999;
    top: -48px !important;
    margin-bottom: -20px !important;
}

.x-card .x-offset .x-card {
    line-height: 54px;
    padding: 10px 20px !important;
}

.x-card.green {
    background: linear-gradient(60deg,#66bb6a,#43a047) !important;
    -webkit-box-shadow: 0 12px 20px -10px rgba(76,175,80,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(76,175,80,.2) !important;
    box-shadow: 0 12px 20px -10px rgba(76,175,80,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(76,175,80,.2) !important;
}

.x-card .x-offset .x-card i {
    font-size: 36px !important;
    line-height: 48px;
    width: 55px;
    height: 55px;
}

.x-icon {
    color: #fff;
}

.green {
    background-color: #4caf50 !important;
    border-color: #4caf50 !important;
}

.x-card--material-stats .x-card__text {
    display: inline-block;
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
}

.x-card--material-stats.x-card .x-card__text {
    text-align: right;
    padding-top: 10px;
    position: relative;
}

.grey--text {
    caret-color: #9e9e9e !important;
    color: #9e9e9e !important;
}

.x-card--material-stats.x-card .title {
    margin: 0 !important;
    line-height: 1.5em !important;
    letter-spacing: 0 !important;
    font-size: 1.5625rem !important;
}

.x-divider {
    border-color: rgba(0,0,0,.12);
    border-top-color: rgba(0, 0, 0, 0.12);
}

.x-card > :last-child:not(.x-btn):not(.x-chip) {
    border-bottom-left-radius: inherit;
    border-bottom-right-radius: inherit;
}

.x-card {
    color: rgba(0,0,0,.87);
}

.x-card .x-card__actions {
    margin: 0 20px 0;
    padding: 10px 0 10px;
    line-height: 22px;
}

.x-card--material-stats .x-card__actions {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 100%;
    flex: 1 0 100%;
}

.x-card__actions {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 8px;
}

#home-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

#home-flex .columns{
    flex: 50%;
    padding: 10px;
}

#home-flex .col-4{
    flex: 25%;
}

.x-card .x-offset .x-card--material__header.x-card {
    padding: 15px;
}
.x-card.orange {
    background: linear-gradient(60deg,#ffa726,#fb8c00) !important;
    -webkit-box-shadow: 0 12px 20px -10px rgba(255,152,0,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(255,152,0,.2) !important;
    box-shadow: 0 12px 20px -10px rgba(255,152,0,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(255,152,0,.2) !important;
}
.x-card--material__header.x-card {
    border-radius: 4px;
    color: #fff;
    font-size: 16px !important;
    text-rendering: optimizeLegibility;
}

p.category{
    color: hsla(0,0%,100%,.62) !important;
    line-height: 0.8;
    font-size: 0.8em;
    margin-bottom: 8px;
}

.x-card .title {
    margin-top: 0;
    line-height: 1.5em !important;
    letter-spacing: 0 !important;
    font-size: 1.125rem !important;
    margin-bottom: 5px !important;
    color: hsla(0,0%,100%,.82);
}

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

.font-weight-light {
    font-weight: 300 !important;
}

.x-card.red {
    background: linear-gradient(60deg,#b1093d,#9b0917) !important;
    -webkit-box-shadow: 0 12px 20px -10px rgba(255,38,0,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(255,38,0,.2) !important;
    box-shadow: 0 12px 20px -10px rgba(255,38,0,.28),0 4px 20px 0 rgba(0,0,0,.12),0 7px 8px -5px rgba(255,38,0,.2) !important;
}

/*CUSTOM MODALS*/

.customModal .modal-dialog{
    border-radius: 0;
    border: none;
    background: transparent;
}
.customModal .modal-content{
    border-radius: 0;
    border: none;
    background: transparent;
}
.customModal .modal-header{
    border-radius: 0;
    border: none;
    background-color: #9b0917;
    color: whitesmoke;
    letter-spacing: 2px;
    font-weight: 600;
}
.customModal .modal-header button.close{
    color: white;
    font-size: 41px;
    font-weight: 100;
    line-height: 15px;
}
.customModal .modal-body{
    border-radius: 0;
    border: none;
    background: white;
}
.customModal .modal-footer{
    border-radius: 0;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
}
.customModal .modal-footer a.btn{
    border-radius: 0;
    padding: 10px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.customModal .modal-body .form-row{
    margin-bottom:5px;
}
.customModal .modal-body .row-form-label{
    font-size: 0.8em;
    letter-spacing: 0.2px;
}
.customModal .modal-body input{
    border-radius: 0;
}