:root {
    /* Template */
    --defaultText: #333333;
    --highBlue: #3DA1FA;
    --accentBlue: #6486C9;
    --accentRed: #C84D75;
    --accentYellow: #E9C858;
    --accentGreen: #57C69B;
    --accentCyan: #79cce6;

    
    --accentBlueT: rgba(100, 134, 201, 0.1);
    --accentRedT: rgba(200, 77, 117, 0.1);
    --accentYellowT: rgba(233, 200, 88, 0.1);
    --accentGreenT: rgba(87, 198, 155, 0.1);
    --accentCyanT: rgba(121, 204, 230, 0.1);

    --lightBlue: #e9f5ff;
    --white: #FFF;
    --customWhite: #FAFCFE;
    --grey: #AEAEAE;
    
    --bgGradTop: #F3F5F9;
    --bgGradBottom: #EEF1F7;
}

@font-face {
    font-family: "San Francisco";
    font-style: normal;
    font-weight: normal;
    src: url('../assets/San-Francisco/SF-Pro-Display-Medium.otf') format("opentype");
}
@font-face {
    font-family: "San Francisco";
    font-weight: bold;
    src: url('../assets/San-Francisco/SF-Pro-Display-Bold.otf') format("opentype");
}
@font-face {
    font-family: "San Francisco";
    font-weight: lighter;
    src: url('../assets/San-Francisco/SF-Pro-Display-Thin.otf') format("opentype");
}

* {
    margin: 0;
    box-shadow: 0;
    box-sizing: border-box;
    font-family: "San Francisco", Arial, Helvetica, sans-serif;
}


/* GENERAL */

body {
    background: rgb(248,248,248);
    background: linear-gradient(180deg, var(--bgGradTop) 0%, var(--bgGradBottom) 100%);
    min-height: 100vh;
}

i {
    margin-right: 5px;
}

.close {
    display: none;
}


/* HEADER */

header {
    position: relative;
    z-index: 99;
    height: 60px;
    width: 100%;
    background-color: var(--customWhite);
    box-shadow: 0px -15px 30px 0px rgba(0,0,0,0.8);
    -webkit-box-shadow: 0px -15px 30px 0px rgba(0,0,0,0.8);
    -moz-box-shadow: 0px -15px 30px 0px rgba(0,0,0,0.8);
    /* overflow: hidden; */
}
.headerLogo {
    position: absolute;
    left: 15px;
    top: 30px;
    transform: translateY(-50%);
    /* border: 1px solid black; */
}
.headerLogo img {
    height: calc(60px - 2 * 10px);
}

.menuDropDown {
    position: absolute;
    top: 20px;
    left: 180px;
    transform: translateY(-50%);
    padding: 0 20px;
    margin-top: 10px;
    border-left: 1px solid var(--grey);
}
.menuDropDown i {
    transition: 0.2s;
    line-height: 40px;
    font-size: 30px;
}
.menuDropDown i:hover {
    transition: 0.2s;
    font-size: 35px;
    margin-left: -2px;
}
.menuClose {
    display: none;
}

.headerAccount {
    transition: 0.2s;
    position: absolute;
    right: 25px;
    top: 30px;
    z-index: 99;
    transform: translateY(-50%);
    border-top-left-radius: calc(60px - 2 * 10px);
    border-bottom-left-radius: calc(60px - 2 * 10px);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: default;
    /* border: 1px solid black; */
}
.headerAccount .accountPP {
    float: left;
    background-image: url("../img/default.jpg");
    background-size: cover;
    background-position-y: 25%;
    height: calc(60px - 2 * 10px + 2 * 3px);
    width: calc(60px - 2 * 10px + 2 * 3px);
    border-radius: 100%;
}
.accountPP span {
    display: none;
}
.headerAccount .accountInfo {
    transition: 0.2s;
    float: right;
    margin: 0 10px;
    padding: 3px 5px;
    border-radius: 5px;
    color: var(--defaultText);
    font-family: "San Francisco";
    width: 160px;
    white-space: nowrap;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}
.headerAccount .accountInfo h3 {
    font-weight: bold;
    font-size: 1.15em;
    text-overflow: ellipsis;
    overflow: hidden; 
}
.headerAccount .accountInfo p {
    font-weight: lighter;
    font-size: 0.9em;
    text-overflow: ellipsis;
    overflow: hidden;
    letter-spacing: 0.3px;
}
.headerAccount:hover,
.headerAccount:hover .accountInfo {
    transition: 0.2s;
    background-color: var(--lightBlue);
    color: var(--highBlue);
}

.accountPopup {
    position: absolute;
    z-index: 98;
    top: 60px;
    right: 20px;
    width: 245px;
    padding: 10px 13px;
    background-color: var(--customWhite);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.2);
}
.accountPopup ul {
    padding: 0;
    line-height: 35px;
    width: 100%;
    margin-bottom: 3px;
    cursor: default;
}
.accountPopup ul p {
    /* margin-top: -15px; */
    padding: 0 10px;
    color: var(--grey);
    text-decoration: underline;
    text-overflow: ellipsis;
    overflow: hidden; 
}
.accountPopup ul a {
    display: block;
    transition: 0.2s;
    width: 100%;
    padding: 0 10px;
    color: var(--defaultText);
    text-decoration: none !important;
    letter-spacing: 0.8px;
    border-radius: 5px;
}
.accountPopup ul a:hover {
    transition: 0.2s;
    background-color: var(--lightBlue);
    color: var(--highBlue);
    font-weight: bold;
    letter-spacing: -0.25px;
}


/* MENU */

div.menu {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    padding: 72px 30px 5px 20px;
    height: 100vh;
    width: auto;
    background-color: var(--white);
    box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.5);
    -webkit-box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.5);
}
.menu .menuHead {
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--highBlue);
    margin-bottom: 10px;
    margin-left: 10px;
}
.menu > * a {
    display: block;
}
.menu nav ul li {
    list-style-type: none;
    font-size: 0.9em;
    font-weight: bold;
    color: var(--defaultText);
    line-height: 2em;
}
.menu nav ul ul li {
    list-style-type: none;
    font-size: 1em;
    font-weight: normal;
    letter-spacing: 0.8px;
    color: var(--defaultText);
    margin-left: -30px;
    /* border: 1px solid black; */
    width: 170px;
    overflow: hidden;
    white-space: nowrap;
}
.menu nav ul ul li::before {
    content: ".";
    width: 3px;
    background: rgba(112, 213, 250, 0.3);
    color: transparent;
    float: left;
    margin-right: 15px;
}
.menu nav ul ul li:first-child::before {
    border-top-left-radius: 1.5px;
    border-top-right-radius: 1.5px;
}
.menu nav ul ul li:last-child::before {
    border-bottom-left-radius: 1.5px;
    border-bottom-right-radius: 1.5px;
}
.menu nav ul * a {
    transition: 0.2s;
    margin-left: 10px;
    border-radius: 5px;
    color: var(--defaultText);
    font-style: normal;
    text-decoration: none;
    /* padding: 3px 5px; */
    /* width: 100%; */
}
.menu * a:hover,
.menu * a.active {
    transition: 0.2s;
    color: var(--highBlue);
    background-color: var(--lightBlue);
    font-weight: bold;
    letter-spacing: -0.25px;
}


/* FORMS */

article.content {
    position: relative;
    margin-top: 60px;
    margin-left: 320px;
    /* margin-top: 20px; IN CASE OF POPUP
    margin-left: 50px; */
}
.content .title h1 {
    font-size: 1.6em;
    margin-bottom: 10px;
    cursor: default;
}
.content .title p {
    font-size: 0.85em;
    margin-bottom: 8px;
    margin-left: 10px;
    letter-spacing: 0.3px;
    cursor: default;
}


/* FORMS */

h3.innerFormTitle {
    margin-top: 30px;
    margin-left: 50px;
}

form {
    width: 50%;
    min-width: 350px;
    /* border: 1px solid red; */
}
.formGroup {
    /* border: 1px solid green; */
    padding: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}
.formGroup label {
    /* border: 1px solid black; */
    flex: 1 0 100px;
    max-width: 200px;
    line-height: 35px;
    font-size: 1.1em;
    text-align: right;
    text-overflow: ellipsis;
    overflow: hidden; 
    white-space: nowrap;
}
.formInput {
    flex: 1 0 200px;
    height: 35px;
    font-size: 1.1em;
    border: 1px solid var(--grey);
    border-radius: 5px;
    padding: 0 7px;
    text-overflow: ellipsis;
    overflow: hidden; 
    white-space: nowrap;
}
input[type="submit"] {
    flex: 1 0 100px;
}
.formInput:read-only {
    background-color: transparent;
    border: 1px solid var(--grey);
    border-radius: 5px;
}

textarea.formInput {
    min-height: 100px;
    padding: 3px 7px;
}


.btn {
    background-color: var(--customWhite);
    color: var(--highBlue);
    border: 2px solid var(--highBlue);
    border-radius: 5px;
    height: 35px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
}
.submit-btn {
    background-color: var(--highBlue);
    color: var(--customWhite);
}


/* TRASH */

.tableForm {
    width: 90vw;
    min-width: 450px;
    max-width: 900px;
}

.tableLine {
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 3px 12px 1px 20px;
    line-height: 2.5em;
    border-bottom: 2px solid var(--accentRed);
    cursor: default;
    color: var(--defaultText);
    border-radius: 5px;
    background-color: var(--white);
    margin-bottom: 3px;
}
.tableTitle {
    /* margin: 25px 0 0 0; */
    padding-right: 125px;
    border-bottom: 2px solid var(--accentBlue);
    font-weight: bold;
}
.tableLine h6,
.tableLine p {
    flex: 1;
    margin: 0;
}
.tableLine h6 {
    font-size: 1.2em;
    font-weight: bold;
    margin-right: 20px;
}
.tableLine p {
    font-size: 1.1em;
}
.tableLine input {
    display: none;
}

.table-submit {
    width: 1.6em !important;
    background-color: transparent;
    border: none;
    font-size: 1.6em;
    margin: 0.25em 0px 0.25em 15px;
    padding: 0;
    color: var(--defaultText);
    cursor: pointer;
}
.tableLine .btn-restore {
    color: var(--accentGreen);
}
.tableLine .btn-delete {
    color: var(--accentRed);
}