*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --color-neutral-light: #e3e3e5;
    --color-neutral-medium: #7c7c82;
    --color-neutral-dark: #303036;
    --color-main-light: #fff8d7;
    --color-main-medium: #fbea9c;
    --color-main-dark: #ffe500;
    --color-secondary-light: #a8dede;
    --color-secondary-medium: #51a7a7;
    --color-secondary-dark: #0b4c62;
    --color-third: #546984;
    --header-height: 3.4rem;
}

body {
    font-family: Agenda, sans-serif;
    font-size: 100%;
}

a {
    color: inherit;
    /*font-weight:bold;*/
    text-decoration: none;
}

h1 {
    display: block;
    font-size: 1.5em;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

footer img {
    object-fit: contain;
    height: 17%;
    width: 17%;
    margin-top: 0.7em;
    margin-right: 0.4em;
}

header {
    color: var(--color-secondary-dark);
}

.ui-mobile .ui-page-active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[data-role='main'] {
    flex: 1 1 100%;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

[data-role='header'] {
    height: var(--header-height);
    line-height: var(--header-height);
    background-color: white;
    border-width: 0;
    position: relative;
    z-index: 2;
    flex: none;
}

[data-role='footer'] {
    height: var(--header-height);
    line-height: var(--header-height);
    background-color: var(--color-main-light);
    border-width: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    flex: none;
}

.ui-header .ui-title,
.ui-footer .ui-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}


.ui-header ul,
.ui-footer ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    position: relative;
}

.ui-footer li {
    flex: 1 1 auto;
    text-align: center;
    width: 33%;
}

.ui-header a,
.ui-footer a {
    display: block;
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

.ui-header a {
    padding: 0 1em;
}




.display-flex {
    display: flex;
}

.flex-justify-center {
    justify-content: center
}

.flex-align-center {
    align-items: center;
}

.flex-vertical {
    flex-direction: column;
}

.flex-stretch {
    flex: 1 1 auto;
}

.flex-none {
    flex: none;
}


.text-center {
    text-align: center;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.back-img {
    object-fit: contain;
    width: 5.5%;
    margin-top: 10%;
}

.edit-img {
    object-fit: contain;
    margin-top: 1.2em;
    height: 6%;
    width: 6%;
    float: right;
}

.delete-img img {
    object-fit: contain;
    height: 10%;
    width: 11%;
    margin-right: 20%;
    float: right;
}

.delete-img {
    z-index: 3;
    margin-right: 4%;
}

.cancel-img {
    object-fit: contain;
    margin-top: 1.2em;
    height: 6%;
    width: 6%;
}

.back-img-white img {
    object-fit: contain;
    height: 6%;
    width: 6%;
}

.edit-img-white img {
    object-fit: contain;
    height: 8%;
    width: 8%;
    float: right;
}

.scrollable {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
    flex-direction: column;
}

.hidden { display:none; }

/* LOGIN PAGE*/

#login-page [data-role='main'] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-dark);
}

#login-page {
    background-color: var(--color-main-light);
}

.logo-img img {
    object-fit: contain;
    margin-top: 1em;
    width: 13%;
    margin-left: 8.5em;
}

#login-page [data-role='main'].forgot-pass small a {
    float: right;
}

#login-page [data-role='main'] small a {
    font-weight: bold;
}

.login-intro p {
    text-align: center;
    margin: 0 4em 0 4em;

}

.login-intro h2 {
    text-align: center;
}

.forgot-pass {
    float: right;
    font-weight: 400 !important;
}


/* FORMS */
.form-control {
    margin: 1em 0;
}

.ui-mobile .form-label {
    /*font-size: 0.8em;*/
    /*color: var(--color-neutral-medium);*/
    margin: 0.5em 0;
}

.form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.3em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: 80%;
}

.form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}


.form-button {
    display: block;
    width: 100%;
    border-width: 0;
    margin-top: 1.5em;
    background-color: var(--color-secondary-medium);
    color: white;
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
     -webkit-appearance:none;
}

.form-button:hover {
    text-decoration: none;
    cursor: pointer;
}

.form-button:active {
    background-color: var(--color-secondary-light);
}

.form-label{
    color: var(--color-secondary-dark);
}


/* SIGNUP PAGE */
#signup-page [data-role='main'] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-dark);
}

#signup-page .logo-img img {
    margin-bottom: 1em;
}

#signup-page {
    background-color: var(--color-main-light);
}

#signup-page h2 {
    margin: 0;
}

#signup-page .form-label {
    margin: 0.8em 0 0.3em 0;
    color: var(--color-secondary-dark); ;
}

#signup-page .form-input {
    padding: 0, 1em;
}

#signup-page .form-button {
    margin-top: 0.5em;
}

#signup-page [data-role='main'] small a {
    font-weight: bold;
}

/*forgot password page*/

#forgot-password-page [data-role='main'] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-dark);
}

#forgot-password-page{
    background-color: var(--color-main-light);
}

/*RecentPage*/
.map {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
}

/* .map-pin {
    height: 25vh;
    position: relative;
    border-color: var(--color-neutral-light);
    border-radius: 0.3em;
} */

#recent-page .add-button {
    bottom: 3%;
    right: 5%;
    position: absolute;
}

#recent-page .add-button img {
    object-fit: contain;
    height: 25%;
    width: 25%;
    float: right;
    position: sticky;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    border-radius: 50%;
}

#recent-page .add-image {
    border-color: var(--color-neutral-light);
    border-radius: .4em;
    border-style: solid;
    border-width: thin;
}

#recent-page .add-image i{
    color: var(--color-secondary-dark);
    padding: 10%;
}

#recent-page .checkin img {
    object-fit: contain;
    height: 8%;
    width: 8%;
    margin-top: 25%;
    margin-left: 30%;
}

#recent-page .save {
    position: center;
    width: 70%;
    margin-bottom: 1.5em;
}

.basin.active {
    height: 30vh;
}

.basin {
    position: relative;
    background-color: white;
    height: 0;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    transition: all 0.3s;
    border-top-left-radius: 2em;
    border-top-right-radius: 2em;
}

.basin img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    margin: 30% 20%;
}

.basin h2 {
    color: var(--color-secondary-dark);
    margin-bottom: .2em;
}
.basin h4 {
    color: #f26839;
    margin-top:0;
    margin-bottom: 1em;
}

.basin p {
    color: var(--color-neutral-dark);
    margin: 0;
}

.basin .form-button {
    margin-top: 1em;

}
.circle a {
    display: block;
    background-color: white;
    width: 3rem;
    height: 3rem;
    line-height: 3rem;
    text-align: center;
    font-size: 1.6em;
    border-radius: 2em;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    border: none;
}

.icon {
    display: inline-block;
    height: 1.5em;
    width: 1.5em;
}

.nav-air {
    position: absolute;
}

.nav-air a {
    color: var(--color-secondary-dark);
}

.nav-air.bottom {
    bottom: 1em;
}

.nav-air.right {
    right: 1em;
}

.nav-air.top {
    top: 1em;
}

.nav-air.left {
    left: 1em;
}

.delete {
    text-align: center;
    text-decoration: underline;
    margin: 2em auto;
    color: var(--color-secondary-medium);

}

/* MODAL */
.modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.modal.active {
    opacity: 1;
    pointer-events: initial;
}

.modal-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-back.transparent {
    background-color: transparent;
}

.modal-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, calc(4em + -50%));
    background-color: white;
    border-radius: 0.5em;
    overflow: hidden;
    width: 70%;
    /* height: 30ch; */
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-popup {
    transform: translate(-50%, -50%);
}

.modal-head {
    background-color: var(--color-secondary-dark);
    padding: 0.5em 1em;
    color: white;
}

.modal-foot {
    background-color: white;
    padding: 0.5em 1em;
}

.modal-foot > .form-button {
    margin-bottom: 0.5em;
}

.modal-foot .form-label{
    color: var(--color-secondary-dark);
}

.modal-body {
    flex: 1;
    padding: 1em;
    overflow: hidden;
    position: relative;
}

.modal-body .form-control {
    margin: 0;
}

.modal-drawer {
    position: absolute;
    background-color: white;
    transition: all 0.3s;
    overflow: hidden;
}

.modal-drawer.left {
    top: 0;
    left: 0;
    width: 80%;
    height: 100%;
    transform: translateX(-100%);
}

.modal.active .modal-drawer {
    transform: translate(0, 0);
}

.marker {
    position: absolute;
    top: 45%;
    left: 50%;
    /* transform: translate(-50%, 150%); */
}

.marker img {
    pointer-events:none;
    height: 2.5rem;
}

#list-add-smell {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}

/* Pin Smell Page*/

#pin-smell-page [data-role='main'] {
    margin: 8%;
}

#pin-smell-page .scrollable {
    top: auto;
    height: 90%;
}

#pin-smell-page-2 .form-button {
    position: absolute;
    width: 60%;
    margin-left: 20%;
    bottom: 10%;
}

#pin-smell-page-3 form {
    margin: 1.5em 2em;
}

#pin-smell-page-3 textarea {
    height: 10%;
}

#pin-smell-page-3 [data-role='main'] .form-label {
    top: 0;
}

#pin-smell-page-3 [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: inherit;
    font: inherit;
}

#pin-smell-page-3 [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#pin-smell-page-3 .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
    margin-top: 2em;
}

#pin-smell-page-3 .image-picker {
    width:100%;
    height:100%;
    background-position:top;
    background-size:contain;
    background-repeat:no-repeat;
}

#smell-level {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}

#add-smell-page-pin form {
    margin: 1.5em 2em;
}

#add-smell-page-pin textarea {
    height: 10%;
}

#add-smell-page-pin [data-role='main'] .form-label {
    top: 0;
}

#add-smell-page-pin [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: inherit;
    font: inherit;
}

#add-smell-page-pin [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#add-smell-page-pin .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
    margin-top: 2em;
}

#add-smell-page-pin .image-picker {
    width:100%;
    height:100%;
    background-position:top;
    background-size:contain;
    background-repeat:no-repeat;
}

#add-smell-page-pin > div > div > div > label > img {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

#pin-smell-page-3 > div > div > div > label > img {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

/* Pin detail Page*/

#pin-detail-page h2 {
    margin-bottom:0.2em;
    color: var(--color-secondary-dark);
}

#pin-detail-page h4 {
    color: #f26839;
    margin-top:0;
}

/* #pin-detail-page .smell-info {
    margin: 4em 1.5em 1.5em 1.5em;
} */

#smell-intensity {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}

/* Edit Pin Smell Page*/

#edit-pin-detail-page form {
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
}

#edit-pin-detail-page textarea {
    height: 10%;
}

#edit-pin-detail-page [data-role='main'] .form-label {
    top: 0;
    color: var(--color-secondary-dark);
}

#edit-pin-detail-page [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: inherit;
    font: inherit;
}

#edit-pin-detail-page [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#edit-pin-detail-page .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
    margin-top: 1em;
}

#pin-edit-type, #pin-intensity, #pin-level {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}


/* LIST PAGE */

#list-page [data-role='main'] {
    margin: 8%;
}

#list-page .scrollable {
    top: auto;
    height: 90%;
}

.list-filters {
    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    flex: none;
    line-height: 2em;
}

.list-filters > div.filter.active {
    background-color: var(--color-secondary-medium);
    color: white;
    border-radius: 1em;
}

.filter {
    font-weight: bold;
    display:block;
    padding: 0 1em;
    border: 0.5px;
}

#searchInput {
    background-image: url(../img/search.png);
    background-size: 1.5em;
    background-repeat: no-repeat;
    width: 100%;
    font-size: 80%;
    padding: 3px 20px 3px 40px;
    border: none;
    background-position: 4% 50%;
    height: 40px;
    z-index: 3;
    font-family: inherit;
    border-radius: 10px;
    padding-left: 40px;
    margin-bottom: 5%;
    background-color: var(--color-neutral-light);
}

#searchInput:focus {
    outline:none;
}

/*#list-page > div > div > div {
    margin: .5em 0;
    border-width: 0.5px;    display: flex;
    white-space: nowrap;
    overflow-x: auto;
    flex: none;
    line-height: 2em;
    border-radius: 10px;
    border-color: var(--color-secondary-dark);
}*/

.smelllist {
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.smelllist li a {
    margin-top: -1px;
    /* Prevent double borders */
    background-color: transparent;
    text-decoration: none;
    color: var(--color-secondary-dark);
}

/*.smelllist li a:hover:not(.header) {
    background-color: var(--color-secondary-light);
}
*/


.smelllist .container img {
    object-fit: contain;
    height: 8%;
    width: 8%;
    margin: 2%;
    margin-right: 5%;
    display: inline-block;
    vertical-align: top;
}


.smelllist .container p {
    display: inline-block;
    margin-left: 5%;
}

.smelllist-item {
    margin: 1em 0.2em;
    padding: 0.2em;
    background-color: white;
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 0px 8px rgba(0, 0, 0, 0.15);
}

.smelllist-item a {
    border-radius: 0.8em;
    overflow: hidden;
}

.smelllist-image img {
    height: 3.5em;
    margin: .5em 3em .5em 1em;
    vertical-align: middle;
}

.smelllist-image i {
    margin: .5em 1em .5em 1em;
    vertical-align: middle;
}

.smelllist-title {
    display: flex;
    align-items: center;
    /*justify-content: center;*/
}


/*ADD NEW SMELL*/

.upload-photo {
    background-color: grey;
}

.upload-img {
    /* object-fit: contain;
    width: 30%;
    margin: 5% 35%; */
    width: 100%;
    margin: 5% auto;
    color: var(--color-neutral-light);
}

#add-smell-page form {
    margin: 1.5em 2em;
}

#add-smell-page textarea {
    height: 10%;
}

#add-smell-page [data-role='main'] .form-label {
    top: 0;
}

#add-smell-page [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: inherit;
    font: inherit;
}

#add-smell-page [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#add-smell-page .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
    margin-top: 2em;
}

#smell-type {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}

#add-smell-page .image-picker {
    width:100%;
    height:100%;
    background-position:top;
    background-size:contain;
    background-repeat:no-repeat;
}

#add-smell-page > div > div > div > label > img {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

/*SMELL PROFILE PAGE*/

#smell-profile-page > div > div > div.smell-info.card > dl > dt:nth-child(15) {
    padding-bottom: 2rem;
}

.photo {
    align-items: center;
}

.photo img {
    object-fit: cover;
    width: 100%;
    height: 250px;
}

.photo-darken img {
    object-fit: contain;
    width: 100%;
    filter: brightness(50%);
}

.backmap img {
    object-fit: contain;
    height: 12%;
    width: 12%;
    margin-top: 30%;
    margin-left: 30%;
}

.smell-info {
    /*padding: 1vw;
    border-radius: 5px;*/
    margin: 0 1.5em 1.5em 1.5em;
    height: auto;
    /*box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2)*/
}

.smell-info h2 {
    color: var(--color-secondary-dark);
    margin-bottom: 0.2em;
}

.smell-info h4 {
    color: #f26839;
    margin-top: 0;
}

dl {
    display: grid;
    grid-template-columns: max-content auto;
}

.smell-info dt {
    width: 5em;
    padding-right: 1em;
    float: left;
    clear: left;
    font-size: 100%;
    line-height: 1.5;
    grid-column-start: 1;
}

.smell-info dd > p {
    margin-bottom: 0;
    line-height: 1;
    margin-top: 0.25rem;
}

.smell-info dd {
    font-size: 100%;
    /*width: calc(100% - 5em);*/
    margin: 0;
    float: right;
    line-height: 1.5;
    grid-column-start: 2;
}

.profile-map {
    height:30vh;
    position:relative;
}

#smell-profile-page .profile-map {
    height:80vh;
    position:relative;
}

#pin-detail-page .profile-map {
    height:45vh;
    position:relative;
}

#smell-profile-page [data-role='main'] .backmap {
    background-image: url(../img/map.png);
    width: 100%;
    height: 13em;
}

.smellmap {
    margin: 1.5em;
}

.smellmap img {
    width: 100%;
    /* margin: 1.5em; */
    height: 15em;
    object-fit: cover;
    margin-top: .5em;
    margin-left: auto;
}

.rcorner {
    border-radius: 10%;
    border: 2px solid var(--color-secondary-medium);
    width: 5rem;
    height: 5rem;
    margin: 0 4% 0 4%;
    line-height: 3rem;
    text-align: center;
    font-size: 1.6em;
    color: var(--color-secondary-dark);
}

/*SMELL PROFILE EDIT */
#edit-smell-profile-page [data-role='main'] .backmap {
    background-image: url(../img/map.png);
    width: 100%;
    height: 13em;
}

#edit-smell-profile-page [data-role='main'] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary-dark);
}
.smell-profile-head i {
    color: var(--color-neutral-light);
    /* opacity: 0.9; */
    top: -11vh;
    position: relative;
    left: 45vw;
    top: -17vh;
}

#smell-profile-page .smell-profile-head {
    margin-top: 10%;
}

/* #edit-smell-profile-page .smell-profile-head {
    margin-top: 10%;
} */


.cd-popup {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s 0s, visibility 0s 0.3s;
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /* background-color: rgba(0,0,0,0.7); */
}

.cd-popup.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-popup-container {
    position: relative;
    width: 70%;
    max-width: 400px;
    margin: 15em auto;
    background:#f3f3f3;
    border-radius: .4em .4em .6em .6em;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,.2);
    transform: translateY(-40px);
    transition-property: transform;
    transition-duration: 0.3s;
}

.cd-popup-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}
  
.active .cd-popup-container {
    transform: translateY(0);
}

.cd-popup-container p {
    padding: 2em 2em;
    color: var(--color-neutral-dark);
}

.cd-popup-container .cd-buttons a {
    display: block;
    height: 60px;
    text-align: center;
    line-height: 60px;
    text-transform: uppercase;
    color: #fff;
    transition: background-color .2s;
}

.cd-popup-container .cd-button-yes {
    background: #f3f3f3;
    border-radius: 0 0 0 0.4em;
    float: left;
    border-right: 1px solid var(--color-neutral-light);
    border-top: 1px solid var(--color-neutral-light);
    width: 50%;
    padding: 5%;
    color: #F44336;
}

.cd-popup-container .cd-button-no {
    background: #f3f3f3;
    border-radius: 0 0 .4em 0;
    border-top: 1px solid var(--color-neutral-light);
    padding: 5% 0 5% 15%;
    text-align: center;
    width: 50%;
    display: flex;
    color: #0972C7;
}

.flex-container {
    display: flex;
    justify-content: center;
}


#edit-smell-profile-page form {
    margin-left: 2em;
    margin-right: 2em;
    margin-top: 1em;
}

#edit-smell-profile-page textarea {
    height: 10%;
}

#edit-smell-profile-page [data-role='main'] .form-label {
    top: 0;
    color: var(--color-secondary-dark);
}

#edit-smell-profile-page [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    font-size: inherit;
    font: inherit;
}

#edit-smell-profile-page [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#edit-smell-profile-page .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
    margin-top: 1em;
}

#smell-edit-type {
    display: block;
    width: 100%;
    border-color: var(--color-neutral-light);
    background-color: transparent;
    color: var(--color-neutral-medium);
    font: inherit;
    text-decoration: none;
    padding: 0.5em 1em;
    text-align: center;
    border-radius: 0.3em;
    outline: 0;
}

.cancel-img-white img {
    object-fit: contain;
    height: 6%;
    width: 6%;
}

#profile-edit-page .upload-photo {
    background-color: white;
}


/*USER EDIT PROFILE*/

#profile-edit-page form {
    margin-left: 2em;
    margin-right: 2em;
}

#profile-edit-page [data-role='main'] .form-label {
    top: 0;
}

#profile-edit-page [data-role='main'] .form-input {
    display: block;
    width: 100%;
    border-width: 0;
    border-radius: 0;
    background-color: transparent;
    padding: 0.5em 1em;
    border-bottom: 1px solid var(--color-neutral-light);
    outline: 0;
    /* font-size: inherit; */
}

#profile-edit-page [data-role='main'] .form-input:focus {
    border-bottom-color: var(--color-secondary-medium);
}

#profile-edit-page .save {
    position: center;
    width: 100%;
    margin-bottom: 3em;
}

.profile-img-darken img {
    filter: brightness(50%);
}

#profile-edit-page .profile {
    display: flex;
    flex-direction: column;
}

#profile-edit-page .user-title img {
    border-radius: 50%;
    position: absolute;
    left: 32.5%;
    z-index: 1;
    width: 35%;
    margin: auto;
}

#profile-edit-page .user-title i {
    color: var(--color-secondary-dark);
    z-index: 2;
    position: relative;
    /* top: 100%; */
    left: 20%;
    padding-top: 25%;
}

#profile-edit-page .user-title {
    /* text-align: center;
    position: relative;
    margin: 2em; */
    min-height: 20%;
}


/*USER PROFILE*/

/*
#profile-page > div {
    display: flex;
    flex-direction: column;
}
*/

.user-title img {
    border-radius: 50%;
    margin-top: 2em;
    width: 35%;
}

.user-title {
    text-align: center;
/*    margin: 2em;*/
}

.user-title h1 {
    font-size: 250%;
    color: var(--color-secondary-dark);
    font-weight: bold;
    margin-bottom: 0;
}

.user-title p {
    font-size: 120%;
    color: var(--color-secondary-dark);
    font-weight: bold;
}

.user-title strong {
    font-size: 120%;
}

.user-info .card {
    /*padding: 1vw;
    border-radius: 5px;*/
    margin: 1.5em;
    height: auto;
    /*box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2)*/
}

.user-info.card > dl > dt > i {
    color: var(--color-secondary-dark);
    padding-right: 0.5em;
}

.user-info dt {
    padding-right: 1em;
    line-height: 2.5;

}

.user-info dd {
/*    width: calc(100% - 7em);*/
    margin: 0;
    line-height: 2.5;
    /*border-bottom: 1px solid var(--color-neutral-light);*/
}

.user-info {
    margin: 2em 3em 3em 2em;
}

.user-info input {
    width: 20%;
}

#user-profile [data-role='main'] {
    flex: initial;
}


.logout {
    text-align: center;
    text-decoration: underline;
    color: var(--color-secondary-medium);
    padding-bottom: 5%;
}

#profile-page h3 {
    line-height: 0.5;
}

.nav-icon {
    font-size: 0.8rem;
    line-height: 2rem;
}

.nav-icon img {
    height: 1.7rem;
    width: 1.8rem;
    vertical-align: middle;
}

.nav-title {
    line-height: 1rem;
    font-size: 0.7rem;
    font-weight: normal;
    color: var(--color-secondary-dark);
}

/* #list-page > div > div.scrollable > div:nth-child(1) {
    border-color: green;
} */

