html, body, .main-view {
    width: 100%;
    margin: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
}
li {
    list-style: none;
}
ul, li {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
/* COLOR */
.bg-grey {
    background-color: #fafafa;
}

.bg-main {
    background-color: #009688;
}
.font-emphase {
    color: rgba(68, 68, 68, 1);
}
.font-main {
    color: rgba(68, 68, 68, 0.7);
    font-weight: 300;
}
.color-primary {
    color: #FFC107;
}
.font-alternate,
.font-positive {
    color: #009688;
}
.font-negative {
    color: #FF5722 !important;
}
.info-color,
.toast-info i {
    color: #2196f3
}
.success-color,
.toast-success i {
    color: #4caf50;
}
.warning-color,
.toast-warning i {
    color: #ff9800;
}
.alert-color,
.toast-error i {
    color: #f44336;
}
.charge {
    background-color: #f43f2d;
}
.grocery {
    background-color: #009688;
}
.home {
    background-color: #21b4d6;
}
.leisure {
    background-color: #ffc107;
}
.misc {
    background-color: #795548;
}
.refund {
    background-color: #ff9800;
}
.transport {
    background-color: #3f51b5;
}
/* FONT */
.font-light {
    font-weight: 300;
}
.font-regular {
    font-weight: 400;
}
.font-bold {
    font-weight: 700;
}
.font-ultrabold {
    font-weight: 900;
}
.font-right {
    text-align: right;
}
.font-center {
    text-align: center;
}
.font-accent {
    font-family: 'Alegreya Sans', sans-serif;;
}
.small-font {
    font-size: 0.8rem;
}
.font-italic {
    font-style: italic;
}
/* ... QUAND CA DEPASSE */
.dot-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;!important;
    width: 100%;
    padding-right: 2px;
}
/* HOVER COLOR */
.darker-hover {
    opacity: 0.5;
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
}
.darker-hover:hover {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
}
/* LINK */
a {
    color: #FFC107;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;
    cursor: pointer;
}

a:hover {
    color: #FF8F00 !important;
    transition: color 0.3s ease-in-out;
    -webkit-transition: color 0.3s ease-in-out;;
}
a.alternate {
    color: #009688 !important;
}

a.alternate:hover {
    color: #00897b !important;
}

/* RESET MARGIN */
.no-margin-bt {
    margin-bottom: 0 !important;
}
.no-margin-tp {
    margin-top: 0 !important;
}
.no-margin-lt {
    margin-left: 0 !important;
}
.no-margin-rt {
    margin-right: 0 !important;
}
/* RESET PADDING */
.no-padding {
    padding: 0 !important;
}

/* RESET OVERFLOW */
.no-overflow {
    overflow: hidden;
}

/* DIALOG */
.small-dialog {
    min-width: 300px;
    width: 30%;
}
.small-medium-dialog {
    min-width: 400px;
    width: 35%;
}
.medium-dialog {
    min-width: 600px;
    width: 50%;
}

/* CURSOR */
.pointer {
    cursor: pointer;
}

.fleche {
    cursor: default;
}

/* LOADER */
.cover-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.cover-loader .loader {
    margin-top: 300px;
    background-repeat: no-repeat;
    width: 100px;
    height: 100px;
    margin-right: auto;
    margin-left: auto;
}

.flex {
    display: flex;
}

/* OVERRIDE MATERIAL */
md-content {
    background-color: #fff;
}

md-toast {
    position: fixed;
}

md-list {
    padding-top: 0;
    padding-bottom: 0;
}

/* GENERAL STYLE */
.content {
    /*padding-top: 200px;*/
    padding-top: 75px;
}
.full-page .content {
    padding-top: 60px;
}
.container {
    max-width: 900px;
    width: 85%;
    min-width: 200px;
    margin: 0 auto;
    padding: 20px;
}

.full-container {
    width: 90%;
    margin: auto;
    padding: 20px 0;
}
.full-width {
    width: 100%;
    max-width: 100%;
}

.absolute {
    position: absolute;
    top: 0;
    left: 0;
}

.intro-text {
    padding: 0 0;
}

.intro-text .material-icons {
    margin-right: 10px;
}

.intro-text .items {
    display: inline-block;
    text-align: left;
}
/* FORM */
.form-full {
    width: 100%;
}
.form-left-part {
    padding-right: 10px;
    width: 50%;
}

.form-right-part {
    padding-left: 10px;
    border-left: 1px solid #e1e1e1;
}
.alternate-form md-input-container:not(.md-input-invalid).md-input-focused label,
.alternate-form {
    color: rgba(255, 255, 255, 0.87);
}
.alternate-form md-input-container:not(.md-input-invalid).md-input-focused .md-input,
.alternate-form md-input-container.md-default-theme .md-input,
.alternate-form md-input-container .md-input {
    border-color: rgba(255, 255, 255, 0.87);
}
.alternate-form md-input-container.md-input-invalid .md-input-message-animation,
.alternate-form md-input-container.md-input-invalid label {
    color: #ffd740;
}
.alternate-form md-input-container.md-input-invalid .md-input {
    border-color: #ffd740;
}
.alternate-form md-input-container.md-default-theme label.md-required:after, md-input-container label.md-required:after {
    color: inherit;
}

.display-error {
    opacity: 1 !important;
    margin-top: 0 !important;
}
/**********************
* ICON MATERIAL SIZE
**********************/
md-icon.md-36 {
    font-size: 36px;
    height: 36px;
    width: 36px;
    min-height: 36px;
    min-width: 36px;
}
md-icon.md-48 {
    font-size: 48px;
    height: 48px;
    width: 48px;
    min-height: 48px;
    min-width: 48px;
}
/*****************************************
 * HEADER
 *****************************************/
header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    /*height: 200px;*/
    height: 75px;
    color: white;
    z-index: 10;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: height 0.3s;
    background: url("../img/bg.svg") center bottom;
    /*color: rgba(255, 255, 255, 0.87);*/
}

header .material-icons,
header a {
    color: #fff;
    font-weight: normal;
}
header .full-container {
    padding: 10px 20px;
    height: 75px;
}
header .menu {
    top: 0;
    left: 0;
    margin-left: -10px;
    margin-top: 15px;
    display: flex;
}
header .menu .menu-left {
    /*flex: 2;*/
    text-align: right;
    padding-right: 35px;
    position: relative;
    float: right;
}

header .menu .menu-left .ses-icon {
    color: #fff;
    font-size: 2rem;
    position: absolute;
    top: 10px;

    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    -ms-transition: right 0.3s;
    -o-transition: right 0.3s;
    transition: right 0.3s;
}

header .menu .menu-left .ses-icon:first-child {
    right: 35px;
}

header .menu .menu-left .ses-icon:nth-child(2) {
    right: 70px;
}

.user-info .user-name {
    margin-right: 10px;
}

.project-nav {
    margin-right: 5px;
    padding-right: 10px;
}
.project-nav > .project-nav-item {
    padding: 0 5px
}
.project-nav .project-nav-text {
    text-transform: uppercase;
    width: auto;
    transition: width 0.3s;
    -webkit-transition: width 0.3s;
}

header .title {
    /* margin-top: 100px; */
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.import h1,
header .title h1 {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0 0 0 10px;
    text-transform: capitalize;
    font-size: 2em;
    font-weight: 500;
    max-width: 96%;
}
header .back-container .material-icons {
    margin-left: -18px;
}
header .back-container .back-link {
    color: rgba(255, 255, 255, 0.87);
    font-weight: 300;
    font-size: 12px;
    margin-left: -12px;
    line-height: 48px;
}
header .back-container .back-link:hover {
    color: #fff !important;
}
header .menu .menu-left .ses-icon {
    -webkit-transition: right 0.3s;
    -moz-transition: right 0.3s;
    -ms-transition: right 0.3s;
    -o-transition: right 0.3s;
    transition: right 0.3s;
}
.header-elem {
    height: 55px;
}
/*****************************************
 * MAIN FAB
 *****************************************/
.main-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
}
/*****************************************
 * COMPONENTS
 *****************************************/
/* Catgeory */
.ses-category {
    -webkit-box-flex: 0;
    -webkit-flex: none;
    flex: none;
    width: 40px;
    height: 40px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 10px;
    border-radius: 50%;
    box-sizing: content-box;
}
.spending-item .ses-category {
    margin-top: 10px;
}
.ses-category .category-img {
    width: 40px;
    height: 40px;
    margin-top: 0;
}
.ses-category .category-text {
    width: 40px;
    height: 40px;
    margin-top: 0;
    display: inline-block;
    line-height: 40px;
    font-size: 30px;
    font-weight: bold;
    color: #fff;
}
/* Catégorie dans un select */
.md-select-value .ses-category {
    width: 20px;
    height: 20px;
    margin: 0;
}
.md-select-value .ses-category .category-img {
    width: 20px;
    height: 20px;
}
.md-select-value .ses-category .category-text {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
    font-weight: 500;
}
/*****************************************
 * PAGE 404
 *****************************************/
.page-404 .container {
    width: 60%;
    margin: auto;
}

.page-404 h1 {
    font-size: 9em;
    margin-top: 0;
    line-height: 1em;
}

.page-404 h1 img {
    width: 0.65em;
    vertical-align: bottom;
    display: inline-block;
}

.page-404 h2 {
    font-size: 3em;
}

.page-404 p {
    font-size: 2em;
}

/*****************************************
* ONBOARDING
*****************************************/
.onboarding-container {
    overflow: hidden;
    padding: 0;
    white-space: nowrap;
    position: relative;
}
.onboarding-container .onboarding-item {
    display: inline-block;
    width: 100%;
    transition: transform 0.6s;
    overflow: hidden;
}
.onboarding-container .onboarding-item p {
    word-break: break-all

}
.bullet-container {
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -33px;
}
.bullet-container .bullet {
    margin: 0 5px;
    color: rgba(0, 0, 0, 0.2);
}
.bullet-container .bullet:focus {
    outline: 0;
}
.bullet-container .bullet:first-child {
    margin-left: 0;
}
.bullet-container .bullet:last-child {
    margin-right: 0;
}
.bullet-container .bullet.selected {
    color: rgba(68, 68, 68, 0.7);
}


/* TODO */
div[class^='onboarding-image-'], div[class*=' onboarding-image-']{
    width : 500px;
    height: 300px;
}
.onboarding-step .onboarding-image-0 {
    background: url('../img/onboarding/project/0.svg');
}
.onboarding-step .onboarding-image-1 {
    background: url('../img/onboarding/project/1.svg');
}
.onboarding-step .onboarding-image-2 {
    background: url('../img/onboarding/project/2.svg');
}

.onboarding .carousel-window {
    width: 500px;
    height: 500px;
    background-color: red;
    position: relative;
    display: flex;
    flex-direction: row;
}
.onboarding .carousel-window .content-onboarding {
    transition: margin-left 0.5s ;
}


.onboarding .carousel-window.step-0 .content-onboarding{
    margin-left: 0;
}
.onboarding .carousel-window.step-1 .content-onboarding {
    margin-left: -500px;
}
.onboarding .carousel-window.step-2 .content-onboarding {
    margin-left: -1000px;
}

/*****************************************
* USER
*****************************************/
.register-form,
.register-text,
.login-form,
.login-text {
    transition: width 0.5s ease-in-out,  opacity 0.1s ease-in-out;
    -webkit-transition: width 0.5s ease-in-out,  opacity 0.1s ease-in-out;
    opacity: 1;
}
.no-mode .login-text,
.no-mode .register-text {
    width: 50%;

}
.no-mode .register-form,
.no-mode .login-form {
    width: 0;
    opacity: 0;
}

.register-mode .register-text,
.register-mode .register-form {
    width: 50%;

}
.register-mode .login-form,
.register-mode .login-text {
    width: 0;
    opacity: 0;
}
.login-mode .login-form,
.login-mode .login-text {
    width: 50%;
}
.login-mode .register-text,
.login-mode .register-form {
    width: 0;
    opacity: 0;
}

/*****************************************
* PROJECT LIST
*****************************************/
.project-list {
    width: 80%;
    margin: auto;
}

.project-list .project-delete {
    align-self: center;
    margin: 10px;
}

.project-list .project-content {
    flex-grow: 1;
}
.btn-add-project {
    background-color: transparent;
    box-shadow: none;
    border: 2px dashed rgba(0, 150, 136, 0.4);
    transition: border 0.3s ease-in-out;
    -webkit-transition: border 0.3s ease-in-out;
}
.btn-add-project:hover {
    border: 2px dashed rgba(0, 150, 136, 1);
}
.png-icon{
    margin: 5px auto auto;
    padding: 0;
    display: inline-block;
    background-repeat: no-repeat no-repeat;
    pointer-events: none;
}
.fab-btn md-fab-actions {
    display: none;
}

.fab-btn .md-is-open md-fab-actions {
    display: flex;
}

/*****************************************
* CONSULT PROJECT
*****************************************/
/* Affichage des dépenses */

.spending-title-container {
    margin-top: 10px;
    margin-bottom: 2px;
    line-height: normal;
}
.spending-contibutors {
    font-size: 0.8rem;
}

/* Spending modal */
.spending-modal md-input-container {
    margin: 10px 0;
}

.spending-modal #amount-container input {
    padding-right: 25px;
}

.spending-modal .currency-symbol {
    font-weight: bold;
    padding: 7px 5px 0 10px;
    font-size: 1.2rem;
    position: absolute;
    margin-left: -25px;
}

.spending-modal .advanced-mode {
    color: #757575 !important;
    font-size: 0.8rem;
    text-decoration: underline;
}

/* Affichage du mode avancé */
.list-user md-radio-button,
.list-user md-checkbox {
    /*width: 100%;*/
}
.list-user {
    position: relative;
}
.list-user.advanced md-radio-button .md-icon,
.list-user.advanced md-checkbox .md-icon {
    width: 0;
}
.list-user md-radio-button .md-icon,
.list-user md-checkbox .md-icon {
    width: inherit;
    opacity: 1;
    transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
}
.list-user.advanced md-radio-button .md-icon,
.list-user.advanced md-checkbox .md-icon {
    width: 0;
    opacity: 0;
    transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
}
.list-user md-radio-button .md-label,
.list-user md-checkbox .md-label {
    display: flex;
    /*width: 100%;*/
    justify-content: space-between;
    align-items: center;
}
.list-user  md-radio-button .md-label,
.list-user  md-checkbox .md-label{
    margin-left: 0;
    padding-left: 30px;
    transition: padding-left 0.3s ease-in-out;
    -webkit-transition: padding-left 0.3s ease-in-out;

}
.list-user.advanced md-radio-button .md-label,
.list-user.advanced md-checkbox .md-label{
    margin-left: 0;
    padding-left: 0;
    transition: padding-left 0.3s ease-in-out;
    -webkit-transition: padding-left 0.3s ease-in-out;
}

.list-user .advanced-amount,
.list-user .plus-minus-btn {
    position: absolute;
    right: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
}
.list-user.advanced .advanced-amount,
.list-user.advanced .plus-minus-btn {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    -webkit-transition: opacity 0.3s ease-in-out;
}
.list-user .plus-minus-btn .md-button.md-icon-button {
    padding-top: 0;
}
.list-user .plus-minus-btn .value {
    position: absolute;top: 8px;right: 50px;
}
.list-user .plus-minus-btn .value.semi {
    position: absolute;top: 8px;right: 42px;
}
.list-user .plus-minus-btn .value.ten {
    position: absolute;top: 8px;right: 45px;
}

.list-user .advanced-amount {
    width: 95px;
    top: -20px;
}
.list-user .advanced-amount .md-input {
    padding-right: 15px;
}
.list-user md-radio-button > div > .md-on,
.list-user md-radio-button > div > .md-ripple-container,
.list-user md-radio-button > div > .md-off {
    transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
    -webkit-transition: width 0.3s ease-in-out,  opacity 0.3s ease-in-out;
}
.list-user.advanced md-radio-button > div > .md-on,
.list-user.advanced md-radio-button > div > .md-ripple-container,
.list-user.advanced md-radio-button > div > .md-off {
    width: 0;
    opacity: 0;
}
/* Project modal */
.project-modal md-input-container {
    margin: 10px auto;
}

.select-category .md-text {
    width: 100%
}

.select-icon {
    max-height: 46px;
}

.spending-container .intro-text {
    margin-left: auto;
    margin-right: auto;
}
.spending-container md-list-item .md-no-style.md-button {
    padding: 5px 10px !important;
}

.list-title {
    margin-top: 0;
}
.display-id {
    padding: 10px;
}
.display-id strong {
    font-size: 1.2rem;
    display: block;
}
/*****************************************
* EDIT PROJECT
*****************************************/
.project-edit .category-item {
    padding: 0 4px;
}
.project-edit .ses-contributors md-input-container .md-errors-spacer {
    min-height: 0;
}
/*****************************************
* STATISTICS PROJECT
*****************************************/
.statistic-close {

}
.important-number {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 5px 25px;
}
.important-number .indicator-content {
    display: flex;
    flex-direction: row;
    align-items: center;
}
.important-number md-icon {
    color: rgb(255, 193, 7);
    font-size: 50px;
    line-height: 50px;
    height: 50px;
    width: 50px;
}
.chart-container {
    width: 33%;
}

.legend-color {
    width: 25px;
    height: 25px;
    display: inline-block;
    margin-right: 20px;
    vertical-align: middle;
    border-radius: 50%;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.25);
}
.legend-item {
    padding: 5px 0;
    border-bottom: 2px solid rgba(0,0,0,.07);
}
.statistic-project md-grid-list {
    margin: 8px;
}
.statistic-project md-card{
    width: 100%;
    height: 100%;
    padding: 25px
}
.statistic-project md-grid-tile {
    transition: all 400ms ease-out 50ms;
}
.statistic-project md-card .md-headline {
    border-bottom: 2px solid rgba(0,0,0,.07);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.statistic-project .pie-container {
    margin: 20px 0 10px 0;
}
/*****************************************
* IMPORT TRICOUNT
*****************************************/
.import {
    background: transparent url('../img/background.png') repeat-x;
}
.import h1 {
    color: rgba(255, 255, 255, 0.87);
}
.import .help-step {
    margin-left: 0;
}
.import .help-step .picture {
    max-width: 100%;
}
.import .help-title {

}
.import .help-text {
    margin-top: 0;
    font-size: 0.8rem;
    padding: 2px;
}
/******************************
 * ANIMATION
 ******************************/
.slide-up-down {
    max-height: 400px;
    opacity:1;
}
.large.slide-up-down {
    max-height: 800px;
}
.slide-up-down.ng-hide-add.ng-hide-add-active,
.slide-up-down.ng-hide-remove.ng-hide-remove-active {
    -webkit-transition:all linear 0.3s;
    transition:all linear 0.3s;
}
.slide-up-down.ng-hide {
    max-height:0;
    opacity:0;
}
/*****************************************
* RESPONSIVE
*****************************************/
@media (max-width: 640px) {
    header .back-container .back-link {
        display: none;
    }
}
@media (max-width: 600px) {
    /* Header */
    .import h1,
    header .title h1 {
        font-size: 1.8rem;
        width: 85%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0;
    }
    header .full-container {
        width: 100%;
        padding: 10px 10px;
    }
    .project-nav > .project-nav-item {
        padding: 0;
    }
    /* Contenu */
    .container {
        width: 100%;
        padding: 0;
    }
    .xs-block,
    .spending-container,
    .project-list,
    .balance-container {
        width: 100%;
    }
    /* Taille du texte */
    .spending-item h4 {
        margin-bottom: 0;
    }
    .spending-item p {
        font-size: 0.85em;
    }
    /* Loader */
    .cover-loader .loader {
        margin-top: 250px;
    }
    .cover-loader .loader md-progress-circular {
        margin-left: 12px;
    }
    /* Affichage de la modal de création de projet */
    .form-right-part {
        padding-left: 0;
        border-left: none;
        margin-top: 20px;
    }
    .form-left-part {
        width: auto;
    }
    .medium-dialog {
        min-width: 200px;
        width: 90%;
    }
    /* Modal en plein écran sur petit device */
    md-dialog.fullscreen-xs {
        max-width: 100%;
        max-height: 100%;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
    md-dialog.fullscreen-xs md-dialog-content {
        height: 100%;
    }
    /* Statistics */
    .chart-container {
        width: 50%;
    }
}

@media (min-width: 600px) and (max-width: 960px) {
    header aside {
        margin-right: 15px;
    }
    header .full-container {
        width: 100%;
        padding: 10px 8px;
    }
    .container {
        width: 100%;
        padding: 0;
    }
    .spending-container md-list-item .md-no-style.md-button {
        padding: 0 5px !important;
    }
    .chart-container {
        width: 50%;
    }
    .project-nav .project-nav-text {
        width: 0;
    }
}

@media (max-width: 960px) {
    #beta-tag {
        display: none;
    }

    .user-info .user-name {
        display: none;
    }
}

/* Spécial pour IE10*/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    /* IE10+ CSS here */
    .spending-item .md-secondary-container .price {
        margin-left: -40px;
    }
}