/* Layout */
html {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body {
    min-height: 100%;
    height: 100%;
    width: 100%;
}


/* Header */
header {
    height: 50px;
}

.app-header {
    padding: 0 !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
    background-color: #2484C6;
}

    .app-header .left-block {
        float: left;
    }

    .app-header .right-block {
        float: right;
    }

    .app-header .menu-container {
        overflow: hidden;
    }

        .app-header .menu-container > div {
            float: right;
        }

    .app-header .left-block .header-menu .image-item > .dxm-content {
        padding: 0 8px 0 8px;
    }

    .app-header .right-block .header-menu .image-item > .dxm-content {
        padding: 0 7px 0 7px;
    }

    .app-header .left-block .header-menu .item.toggle-item > .dxm-content {
        padding: 0 14px 0 14px;
    }

    .app-header .right-block .header-menu .item.toggle-item > .dxm-content {
        padding: 0 14px 0 14px;
    }

    .app-header .header-menu .item.selected {
        color: inherit;
        box-sizing: border-box;
        /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
        border-bottom: solid 2px #007BF7;
    }

    .app-header .header-menu .item.selected,
    .app-header .header-menu .item.hovered {
        background-color: rgba(0, 0, 0, 0.05);
    }

        .app-header .header-menu .item.selected .dxm-content {
            margin-bottom: -2px;
        }

        .app-header .header-menu .item.selected .dxm-content,
        .app-header .header-menu .item.hovered .dxm-content {
            color: inherit;
        }

.header-logo {
    background: url('Images/InventorySafe_logo.png') no-repeat center;
    background-size: 100px 45px;
    height: 50px;
    width: 150px;
}

.dxmLite_AVI span.dx-vam {
    color: white !important;
}

@media (max-width: 359px) {
    .header-logo {
        background: url('Images/logo-small.svg') no-repeat center;
        width: 26px;
    }
}

@media (max-width: 359px) {
    .header-logo {
        background: url('Images/logo-small.svg') no-repeat center;
        width: 26px;
    }
}

/* Header/Main Menu */
#headerPanel {
    background-color: #2484C6 !important;
}

.header-menu {
    background-color: white !important;
    background-color: #2484C6 !important;
    border-style: none !important;
    height: 50px;
}

@media (max-width: 599px) {
    .menu-container .dxm-ltr > div:not(.header-menu) {
        width: 100% !important;
    }
}

.header-sub-menu {
    width: 100% !important;
}

    .header-sub-menu .item {
        padding: 12px 7px !important;
    }

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image {
    background: url('Menu/adaptive-menu.svg') no-repeat center;
    width: 16px;
    height: 16px;
    padding: 0 8px;
}

@media (max-width: 720px) /* Change Ellipsis image Apps Icon */
{
    .app-header .menu-container > div {
        width: 47px;
    }

    .header-menu .adaptive-image {
        background: url('Images/application.svg') no-repeat center;
    }

    /* Show item images */
    .header-menu.application-menu .item .dxm-content > img {
        display: inline-block;
    }
}

/* Right area menu */
.header-menu .toggle-item .image {
    background: url('Images/double.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
    background: url('Images/double-close.svg') no-repeat center;
}

.header-menu .image-item {
    vertical-align: middle !important;
}

.header-menu .vertically-aligned {
    font-size: 0;
}


.mobile-account-background {
    width: 25px;
}

/* Account */
.header-menu .account-background {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
}

    .header-menu .account-background div {
        border-radius: 50%;
    }

    .header-menu .account-background .empty-image {
        width: 16px;
        height: 16px;
        margin: 8px;
        display: inline-block;
        background: url('Menu/user.svg');
    }

    .header-menu .account-background .account-image {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
        font-weight: 600;
        line-height: 32px;
        text-align: center;
        margin: 0 auto;
        display: table;
        background-size: 100%;
    }

.user-info .avatar img {
    float: left;
    height: 43px;
    border-radius: 50%;
}

.user-info .text-container {
    height: 50px;
    margin-left: 60px;
}

    .user-info .text-container .user-name {
        color: white;
        font-size: 1.14em;
    }

    .user-info .text-container .email {
        display: block;
        color: white;
        font-size: 0.86em;
    }

/*drop downs main menu */
.header-sub-menu {
    width: 100% !important;
    background-color: #2484C6 !important;
}

    .header-sub-menu .item {
        padding: 12px 7px !important;
    }

/* Mobile Header */
.mobile-header {
    background-color: lightgrey;
    color: black;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
}

/* Footer */
.footer-panel {
    background-color: #2484C6 !important;
    font-size: 12px;
    color: black;
}

.footer-left {
    float: left;
}

.footer-right {
    float: right;
}

span.footer-right, span.footer-left {
    padding: 2px 5px;
}

.footer-link {
    color: black;
    border-right: 1px solid #bbbbbb;
    margin-right: 7px;
    padding-right: 10px;
    white-space: nowrap;
}

    .footer-link:last-child {
        border: none;
        margin: 0;
        padding: 0;
    }


/* Main Backgrounds */

.background-plain {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    background-color: white;
}

.background {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    background-color: #ccc;
    background-image: url("Images/inside_bg.png");
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
}

.background-landing {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    background-color: #ccc;
    background-image: url("Images/landing_bg.png");
    background-position: center;
    background-size: cover;
    background-attachment: scroll;
}

/*Main Body*/

main {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

/*Grids on Rooms */
.top-radius {
    border-radius: 25px 25px 0 0;
}

#LocationsGridView, #RoomsGridView,
#LocationsGridView_DXMainTable, #RoomsGridView_DXMainTable {
    border-radius: 0 0 25px 25px;
}

#ItemCardView_DXSearchPanel, #ItemGridView_DXSearchPanel {
    padding: 0;
}


.dxeMemo_AVI .dxeMemoEditArea_AVI, .dxeMemo_AVI .dxeMemoEditArea_AVI {
    padding: 7px 4px 0px 7px;
    background-color: white;
    outline: none;
    color: black !important;
}

/* grids and such */
.transparent-style {
    background-color: transparent;
}

/*force the export buttons*/
.dxm-item.dxm-noSubMenu {
    background-color: #2484C6;
}

/*force the control links to behave*/
.dxgvControl_AVI a {
    text-decoration: underline;
}

    .dxgvControl_AVI a:hover {
        text-decoration: none;
    }

/*export menu*/
.dxgvControl_AVI {
    background-color: transparent !important;
}

#ItemGridView_DXCTMenu0 {
    background-color: transparent !important;
}

div.ImageGalleryMenu {
    display: flex;
    justify-content: space-between;
}

.dxigControl_AVI .dxig-thumbnailTextArea {
    padding: 2px 5px;
}

#ItemImageGallery_CCell {
    padding: 10px 10px;
}

/* Spreadsheet */
#ItemGridView, #ItemGridView_DXMainTable {
    border-radius: 25px;
}

.itemEditForm {
    padding: 10px;
    background-color: lightskyblue;
}

/* Cart */
main.cart {
    padding: 20px;
}

#CartGridView, #CartGridView_DXMainTable {
    border-radius: 25px;
}

td.dgNoMargins > div.dxgBCTC > span, td.dgNoMargins > span {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

div#paypal-button-container {
    align-content: center;
    /*margin-top: 25px;*/
    margin-inline: auto;
    width: 300px;
}

.disabledbutton {
    pointer-events: none;
    opacity: 0.4;
}

#socialLoginList button {
    border-color: black;
}

.dx-fab-active-button {
    visibility: hidden !important;
}

.no-padding {
    padding: 0px !important;
}
