﻿.Fw_UI_Alert .confirm .window {
    max-width: 600px;
    min-width: 20rem;
    width: calc(100% - 2rem);
}

.Fw_UI_Screen.withBottomBar {
    margin-bottom: 4.0rem;
}

.Fw_UI_Screen.withTopBar {
    margin-top: 3.6rem;
}

.Fw-UI-smartphone-BottomBar {
    background-image: linear-gradient(to bottom, #eeeeee, #eeeeee);
    left: 0px;
    padding-bottom: 0.2rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.2rem;
    position: fixed;
    bottom: 0px;
    width: 100%;
}

.Fw-UI-smartphone-LeftSlidingMenu {
    background-color: rgba(255, 255, 255, 0.0);
    left: 0px;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 100;
}

.Fw-UI-smartphone-LeftSlidingMenu-background {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
}

.Fw-UI-smartphone-LeftSlidingMenu-menu {
    background-color: rgba(255, 255, 255, 0.8);
    height: 100%;
    padding-bottom: 0.2rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.2rem;
    width: 75%;
}

.Fw-UI-smartphone-SlidingMenuItem {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(224, 224, 224);
    cursor: pointer;
    padding-bottom: 0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.8rem;
}

.Fw-UI-smartphone-SlidingMenuItem-title {
    cursor: pointer;
}

.Fw-UI-smartphone-TopBar {
    background-image: linear-gradient(to bottom, #eeeeee, #eeeeee);
    left: 0px;
    padding-bottom: 0.2rem;
    padding-left: 0.4rem;
    padding-right: 0.4rem;
    padding-top: 0.2rem;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 2; /* Need higher z-index because image <img> will overlap this fixed position bar when mouse scrolling */
}

.Fw-UI-smartphone-TopBar-center {
    padding-bottom: 0.4rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
    padding-top: 0.4rem;
}

.Fw-UI-smartphone-TopBar-left {
    float: left;
}

.Fw-UI-smartphone-TopBar-right {
    float: right;
    padding-right: 0.8rem;
}

.Fw-UI-smartphone-TopBar-right-buttons {
}

.Fw-UI-smartphone-TopBar-title {
    font-size: 1.3rem;
}

.Fw-UI-smartphone-TopBarButton {
    background-size: contain;
    cursor: pointer;
    display: inline-block;
    height: 2.4rem;
    margin-left: 0.2rem;
    margin-right: 0.2rem;
    width: 2.4rem;
}

.Fw-UI-smartphone-TopBarButton-add {
    background-image: url('images/Fw-UI-smartphone-TopBarButton-add.png')
}

.Fw-UI-smartphone-TopBarButton-back {
    background-image: url('images/Fw-UI-smartphone-TopBarButton-back.png')
}

.Fw-UI-smartphone-TopBarButton-left-menu {
    background-image: url('images/Fw-UI-smartphone-TopBarButton-left-menu.png')
}

.Fw-UI-smartphone-TopBarButton-search {
    background-image: url('images/Fw-UI-smartphone-TopBarButton-search.png')
}

/* Follow Bootstrap practise https://getbootstrap.com/docs/4.5/layout/overview/ */
/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .Fw-UI-smartphone-LeftSlidingMenu-menu {
        width: 250px;
    }

/* Follow Bootstrap practise https://getbootstrap.com/docs/4.5/layout/overview/ */
/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .Fw-UI-smartphone-LeftSlidingMenu-menu {
        width: 250px;
    }
}

/* Follow Bootstrap practise https://getbootstrap.com/docs/4.5/layout/overview/ */
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .Fw-UI-smartphone-LeftSlidingMenu-menu {
        width: 300px;
    }
}

/* Follow Bootstrap practise https://getbootstrap.com/docs/4.5/layout/overview/ */
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .Fw-UI-smartphone-LeftSlidingMenu-menu {
        width: 300px;
    }
}