@import '~ngx-toastr/toastr';
@import url("app/angular-neumorphism/neumorphism-styles.css");

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

:root {
    --desktop-size: 1200px;
    --tablet-size: 992px;
    --mobile-landscape-size: 768px;
    --mobile-size: 576px;
}

/*******************************************************
 *******************************************************
 ****************     FONT STYLING     *****************
 *******************************************************
 *******************************************************/
 @font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-Medium.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-BoldItalic.ttf) format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-MediumItalic.ttf) format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-BoldItalic.ttf) format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-Italic.ttf) format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-Medium.ttf) format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-SemiBoldItalic.ttf) format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-SemiBoldItalic.ttf) format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-MediumItalic.ttf) format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-Regular.ttf) format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Square';
    src: url(assets/fonts/BasierSquare-Italic.ttf) format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-Bold.ttf) format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Basier Circle';
    src: url(assets/fonts/BasierCircle-SemiBold.ttf) format('truetype');
    font-weight: 600;
    font-style: normal;
}

/*******************************************************
 *******************************************************
 ***************     BASIC STYLING     *****************
 *******************************************************
 *******************************************************/
 body {
    background-image: linear-gradient(135deg, #F2F3F6, #E5E6EC);
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: transparent;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #c1c1c1;
    border-radius: 16px;
}

h1, h2, h3, h4, h5, h6, p, span, button, li, div, input, textarea {
    font-family: 'Basier Square';
    color: #575F6B;
    font-size: 16px;
}

a {
    color: #2D3891;
    text-decoration: none;
    border-bottom: 1px solid #2D3891;
    font-weight: 500;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    line-height: 1.3;
}

.toast-message,
.toast-title {
    color: #F8F8FC;
}


@media screen and (min-width: 768px) {
    h1, h2, h3, h4, h5, h6, p, span, button, li, div, input, textarea {
        font-size: 14px;
    }
}

.icon-decorator {
    position: absolute;
    right: 20px;
    color: #88278F;
    font-size: 13px;
}

/* DATE SELECTOR AND GRAPH UTILS*/

#date-selector {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#date-selector div {
    align-items: center;
    width: 100%;
}

.title-graph {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

/* MEDIA CONDITIONS */
@media screen and (min-width: 768px) {

    .title-graph {
        font-size: 22px;
    }

    #date-selector {
        width: 100%;
        margin-top: 0;
        flex-direction: row;
        justify-content: flex-end;
    }

    #date-selector div {
        margin-left: 20px;
        display: flex;
        width: auto;
    }
}

/* ROW and COLUMN */

.row {
    /* margin-top: 20px; */
    flex-direction: column;
    display: flex;
}

@media screen and (min-width: 768px) {

    .row {
        flex-direction: row;
        justify-content: space-between;
    }

    .col-30, .col-33, .col-40, .col-50, .col-60, .col-70 {
        /* margin: 0 10px; */
    }

    .col-30 {
        width: calc(30% - 10px);
        max-width: calc(30% - 10px);
    }

    .col-33 {
        width: calc(33% - 10px);
        max-width: calc(33% - 10px);
    }

    .col-40 {
        width: calc(40% - 10px);
        max-width: calc(40% - 10px);
    }

    .col-50 {
        width: calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .col-60 {
        width: calc(60% - 10px);
        max-width: calc(60% - 10px);
    }

    .col-70 {
        width: calc(70% - 10px);
        max-width: calc(70% - 10px);
    }
}

@media screen and (min-width: 992px) {
    .row-small {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .col-33-small {
        margin: 0 10px;
        width: calc(33% - 20px);
        max-width: calc(33% - 20px);
    }
}

/* @media screen and (min-width: 1024px) {
    .col-33 {
        width: 100%;
        max-width: 100%;
    }
} */

body app-root ngx-tooltip-content * {
    color: #F8F8FC !important;
}

/* NEU BASICS */
.neu-container,
.neu-container-pressed,
.neu-profile-photo {
    /* padding: 20px; */
    background-image: linear-gradient(135deg, #E5E6EC -50%, #F2F3F6 120%);
    border-radius: 16px;
    position: relative;
}

.neu-container::before,
.neu-container-pressed::before,
.neu-profile-photo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: transparent;
    border-radius: 16px;
    pointer-events: none;
}

.neu-container,
.neu-profile-photo {
    box-shadow: -4px -4px 20px #FFF;
}

.neu-container::before,
.neu-profile-photo::before {
    box-shadow: 3px 3px 20px rgba(36, 65, 93, 0.3);
}

.neu-container-pressed {
    box-shadow: 3px 3px 20px rgba(88, 108, 138, 0.5) inset;
}

.neu-container-pressed::before {
    box-shadow: -4px -4px 20px #FFF inset;
}

.neu-profile-photo {
    border-radius: 50px;
    height: 60px;
    width: 60px;
    display: flex;
}

.neu-profile-photo::before {
    border-radius: 50px;
    height: 60px;
    width: 60px;
}

.neu-profile-photo img {
    border-radius: 50px;
    height: 55px;
    width: 55px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.icon-snatch:before { width: auto !important; } /* '' */
.icon-dumbbell:before { width: auto !important; } /* '' */




/* STYLING DIALOGS AND POPUPS */ 
.dialog-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    z-index: 10;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.dialog {
    width: 95%;
}

.dialog .neu-container {
    box-shadow: unset;
}

.dialog .neu-container-content {
    height: 85vh;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
} 

.dialog .neu-container-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 30px;
}

.dialog .neu-container-content label {
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.dialog .neu-container-content .buttons {
    margin-top: auto;
    text-align: right;
}

.dialog .neu-container-content .buttons neu-button {
    margin-left: 20px;
}


@media screen and (min-width: 768px) {
    .dialog-container {
        justify-content: center;
    }
    
    .dialog {
        width: 50%;
        max-width: 450px;
    }

    .dialog .neu-container-content {
        height: auto;
    }
    
    .dialog .neu-container-content h2 {
        font-size: 20px;
    }

}