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

    /* to make various texts non selectable */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */
}

input, select, textarea {
    /* force inputs to be selectable, otherwise they seem frozen because of the X-user-select: none for the text  */
    -webkit-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

html {
    box-sizing: border-box;
    height: 100%;
    margin: 0;
    padding: 0;
}


body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", sans-serif;
    color: #5e5e5e;
    margin: 0;
    padding: 0;
    height: 100%;
    font-weight: initial;
    line-height: initial;
    /*background:url(../img/page-background.jpg);
    background-repeat: repeat;*/
}

.page {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device {
    border-radius: 0;
    flex: none;
    padding: 0;
    max-width: none;
    overflow: scroll;
    height: 100%;
    width: 100%;
}


#home-view {
    max-width: 500px;
}


#home-view, #onboarding-view, #o2o-view, #o2many-view, #home-view .setting-subpanel .gallery, #home-view .setting-subpanel .dob {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    height: 100%;
    display: block;
    margin: 0 auto;

    text-align: left;
}


.fm-modal-content {
    max-width: 350px;
    margin: auto;
    width: 90%;
}

#onboarding-view  {
    height: 100%;
    background-color: var(--white);
}


.footer-bar {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    overflow: hidden;
    height: 40px;
    width: 100%;
    z-index: 2;
    background-color: #eceff1;
}




.input-container{
    position:relative;
    width: 60%;
    max-width: 200px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom:25px;
}
.input-container label{
    position:absolute;
    top:0;
    left:0;
    font-size:16px;
    transition: all 0.5s ease-in-out;
    color: grey;
}
.input-container input, .input-container select , .input-container textarea{
    border:0;
    background:transparent;
    width:100%;
    padding:8px 0 5px 0;
    font-size:16px;
    text-align: left;
}
.input-container input:focus{
    border:none;
    outline:none;
    border-bottom:none;
}

.input-container input:focus ~ label,
.input-container input:valid ~ label,
.input-container select:focus ~ label,
.input-container select:valid ~ label
{
    top:-12px;
    font-size:12px;

}

.block-inputs {
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.navcell {
    float: left;
    color: #999;
    text-decoration: none;
    font-size: 28px;
    padding: 4px;
    width: 20%; /* Four equal-width links. If you have two links, use 50%, and 33.33% for three links, etc.. */
    text-align: center; /* If you want the text to be centered */
}

.navcell.selected {
    background-color: #007aff;
    color: white;
}

.navcell.fm-alert {
    color: red;
}

.panel-view {
    display: none;
    border: 1px solid var(--light);
    background-color: var(--white);
}

.settings-view {
    border: 1px solid var(--light);
    background-color: var(--white);
}

/*  Smartphone  */
@media (max-width: 550px) {

    body {
        background:none;
    }

    .top-depends-on-device {
        position: relative;
        top: 2vh;
    }

}

@media (min-width: 550px) {

    .top-depends-on-device {
        position: relative;
        top: 5vh;
    }

}

.dot {
    height: 10px;
    width: 10px;
    background-color: #15cc79;
    border-radius: 50%;
    display: inline-block;
}

.fa-star, .fa-star-half-alt {
    color: #ffce00;
    font-size: 14px;
}

.help-content .help {
    text-align: justify;
}

.help-content .help .summary{
    color:  black;
    padding: 5px 20px 10px 0px;
    border: black solid 1px;
    text-align: justify;
}

.help-content .help .summary li{
    list-style-type:inherit;
    margin-bottom: 10px;
}

.help-content .help .summary h3{
    text-align: center;
}

.help-content .fm-modal-grid{
    grid-template-columns: auto auto auto;
    grid-gap: 10px;
    padding:10px;
    border: black solid 1px;
}

.help-content img{
    width: 60px;
}

.help-content .flirtymob{
    padding-top: 5px;
}

.help-content .fm-modal-grid .grid-item {
    text-align: center;
    border: darkgray 1px solid;
    border-radius: inherit;
    padding-top: 0px;
    padding-bottom: 0px;
    min-width: initial;
}

.help-content .note {
    text-align: center;
    font-size: 13px;
    width: 230px;
    margin: auto;
    color: black;
}

.help-content .main-style-button{
    margin-top: 45px;
    max-width: 120px;
}

.small-help {
    max-width: 60%;
    text-align: justify;
    font-size: 14px;
    color: grey;
    margin: auto;
    line-height: initial;
}