﻿* {
    _font-family: 'poppins', sans-serif;
    _font-family: 'Space Grotesk', sans-serif;
    _font-family: 'Bwgradual', sans-serif;
    font-family: 'work sans', sans-serif;
    text-transform: none !important;
}

input[type=text] {
    font-family: 'work sans', sans-serif !important;
    font-weight: 400;
}

html, body {
    padding: 0;
    margin: 0;
    overflow: hidden;
    height: 100%;
}
body {
    height: 100%;
    overflow: hidden;
}
#logo {
    width: 300px;
    height: 90px;
    background: url(/app/images/properly-logo.png) no-repeat;
    display: block;
}


/*  
    ---------
    dx styles
    ---------
*/


.dx-button.dx-state-focused {
    background-color: transparent;
}
.dx-drawer-panel-content {
    border-right: 1px solid;
}
.dx-texteditor-input {
    min-height: 32px;
}
.dx-tag-content {
    margin-top: 3px;
}

.selectedImage {
    opacity: 0.5!important;
}

.dx-treeview-node {
    padding-left: 0!important;
}
.dx-treeview-toggle-item-visibility {
    left: unset !important;
    right: 4px !important;
}


/*  
    -------
    drawer
    -------
*/
#drawer {
    padding-top: 55px;
}
#drawer #drawerList {
    margin-top: 5px;
}    
#drawer #drawerList .dx-list-item-content {
    font-size: 12px !important;
    padding: 12px 8px 10px 14px;        
    height: 45px;
}
#drawer #drawerList .dx-list-item-icon-container {
    width: 30px;
}
#drawer #drawerList .dx-icon {
    font-size: 18px !important;
    margin-top: 2px;
}
#drawer #drawerList .dx-treeview-item {
    padding-left: 12px !important;
}
#drawer #drawerList .dx-treeview-item-content > span {
    margin-left: 12px!important;
}


/* 
    -------
    content
    -------
*/


#content {
/* */
}


/* 
    ------------
    main toolbar
    ------------
*/


#toolbar {
    /* main toolbar */
    position:absolute;
    top: 0;
    z-index: 1100;
}
#toolbar .dx-texteditor.dx-editor-outlined {
    /* search text box */
    height: 38px;
    margin-right: 10px;
}
#toolbar .dx-placeholder {
    top: -2px;
}
#toolbar .dx-toolbar-before .dx-button {
    /* hamburger icon */
    margin-left: 10px;
}
#toolbar .dx-toolbar-items-container {
    /* toolbar shadow */
    box-shadow: 0px 0px 22px -10px rgba(0,0,0,0.50);
}
#toolbar .toolbarLabel {
    margin-left: 10px;
    background-size: contain;
    height: 35px;
    width: 180px;
}


/* 
    ------------
    grid toolbar
    ------------
*/


.actionToolbar {
    padding-left: 10px!important;
    padding-right: 20px;
    border-bottom: 1px solid;
    height: 54px;
}
.actionToolbar .dx-button {
    padding-top: 1px;
    height: 32px !important;
}
.actionToolbar .dx-icon {
    font-size: 12px !important;
}


/* 
    ---------
    sidePanel
    ---------
*/
#sidePanel {
    display: none;
    position: absolute;
    right: -530px;
    top: 55px;
    bottom: 0;
    width: 480px;
    padding: 20px 30px 150px 30px;
    box-shadow: 0px 0px 22px -10px rgba(0,0,0,0.75);
    z-index: 1000;
}
#sidePanel .dx-button {
    padding-top: 1px;
    height: 32px !important;
    margin-right: 10px;
}
#sidePanelTitle {
    font-size: 20px;
    margin-bottom: 5px;
}
#sidePanelSubtitle {
    font-size: 14px;
    color: #888888;
    margin-bottom: 25px;
}
#sidePanelCloseButton {
    position: absolute;
    top: 20px;
    right: 10px;
}
#sidePanelButtons {
    position: absolute;
    height: 50px;
    bottom: 0;
    width: 100%;
}
#sidePanel .dx-list-item-content {
    padding-left: 0;
}
#sidePanel #filterForm {
    margin-bottom: 15px;
}


/* 
    -------------------
    grid view templates 
    -------------------
*/


.gridTemplateRow {
    position: relative;
    padding: 8px 8px 8px 0;
    min-height: 70px;
}
.gridTemplateImage img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    _border: 2px solid #000000;
}
.gridTemplateTitle {
    font-size: 14px !important;
    height: 18px;
    margin: -50px 0 0 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gridTemplateSubTitle {
    font-size: 14px;
    margin: 6px 0 4px 60px;
    white-space: normal !important;
    color: #888888;
}
.selectRow {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 10px;
}


/* 
    -------------------
    selectBox templates 
    -------------------
*/


.selectBoxTemplateImage img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}
.selectBoxTemplateTitle {
    padding: 2px 15px 0 8px !important;
}


/* 
    -----------------
    shortlist template 
    -----------------
*/


.shortlistRow {
    
}
.shortlistImage {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-top: 5px;
}
.shortlistContent {
    font-size: 12px;
    margin-top: -56px;
    margin-left: 70px;
}
.shortlistAddress {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    margin-right: 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shortlistDesks {
    margin-bottom: 5px;
}
.shortlistPrice {
    margin-bottom: 5px;
}
.shortlistRemove {
    position:absolute;
    right: 5px;
    top: 26px;
    font-size: 20px;
}


/* 
    -----------------------
    marketing list template 
    -----------------------
*/


.marketingListRow {
    height: 130px;
}
.marketingListImage {
    height: 130px;
    width: 180px;
    margin-left: 5px;
}
.marketingListContent {
    font-size: 12px;
    margin-top: -130px;
    margin-left: 200px;
    white-space: normal;
}
.marketingListButtons {
    _display: none;
    margin-left: 200px;
    padding-top: 10px;
}
.marketingListButton {
    height: 40px;
    width: 45px;
}


/* 
    -----------------------
    sort buildings template 
    -----------------------
*/

.sortBuildingsRow {
}
.sortBuildingsContent {
    margin-top: 0;
    margin-left: 70px;
}
.sortBuildingsImage {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-top: -30px;
}
.sortBuildingsAddress {
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-top: 16px;
}

/* 
    ----------------------
    choose images template 
    ----------------------
*/

#sortBuildingsList {
    position:absolute;
    left:8px;
    top: 58px;
    width: 30%;
}
#chooseImagesScrollView {
    position: absolute;
    right: 8px;
    top: 64px;
    bottom: 50px;
    width: 67%;
}


/* 
    ---------
    user menu
    ---------
*/


#userPopover .dx-popup-content {
    padding: 5px;
}
#userMenuItem img {
    height: 15px;
    width: 15px;
    float: left;
}
#userMenuItem div {
    float: left;
    margin-left: 10px;
}


/* 
    ------
    popups
    ------
*/


.popupText {
    margin: 20px 0 20px 0;
}
.popupButtons {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    padding: 13px 30px;
    border-top: 1px solid;
}
.popupButtons .popupButton {
    float: right;
    margin-left: 10px;
}
#buildingTabs {
    margin-bottom: 20px;
}
#buildingOptionsToolbar.dx-toolbar .dx-button,
#buildingFloorsToolbar.dx-toolbar .dx-button,
#buildingImagesToolbar.dx-toolbar .dx-button {
    height: 30px;
}
#buildingOptionsToolbar.dx-toolbar .dx-icon,
#buildingFloorsToolbar.dx-toolbar .dx-icon,
#buildingImagesToolbar.dx-toolbar .dx-icon {
    font-size: 12px !important;
}
#saveSearchPopup .dx-popup-content {
    padding: 0 30px 0 30px !important;
}
#buildingPopup .dx-popup-content,
#officePopup .dx-popup-content,
#floorPopup .dx-popup-content,
#userPopup .dx-popup-content {
    padding: 30px 30px 60px 30px !important;
}
#buildingForm {
    margin-bottom: 40px;
}
#userForm {
    margin-bottom: 40px;
}
#operatorImage {
    cursor: pointer;
    margin-top: 10px;
    width: 70px;
    height: 70px;
}
.operatorImageButtons {
    margin-top: 4px;
    height: 30px;
}
.operatorImageButtons .operatorImageButton {
    height: 30px;
    margin-right: 8px;
}

/*  
    ---------------------
    manage details styles  
    ---------------------
*/


#managePanel {
    padding: 20px 15px;
}
#managePanel .title {
    font-size: 22px;
}
#managePanel .subtitle {
    margin-top: 10px;
    font-size: 19px;
}
#managePanel .label {
    font-size: 14px;
    margin-top: 20px;
}
#managePanel .value {
    margin-top: 5px;
    font-size: 14px;
}
#manageTabPanels {
    position: absolute;
    left: 360px;
    top: 56px;
    bottom: 0;
    right: 0;
}

/* 
    -------------
    odds and sods
    -------------
*/


.checkBox {
    margin-top: 15px;
}
#buildingImages {
    margin-bottom: 70px;
}
.buildingImageWrapper {
    width: 240px;
    height: 170px;
    display: inline-block;
    margin: 0 5px 0 0;
    cursor: pointer;
}
.buildingImage {
    width: 240px;
    height: 170px;
    border-radius: 5px;
    background-position: center;
}
.buildingImageSelected {

}
.buildingImageCheckBox {
    width: 52px;
    height: 52px;
    margin-top: -172px;
    margin-left: -8px;
    background-image: url(/app/images/selected-image.png);
}
.bubble {
    padding-right: 14px;
    margin-right: 10px;
}
.redText {
    color: red;
}



#dvMap {
    height: 550px;
    width: 1040px;
    margin: 0px;
    padding: 0px;
}
#totalimage {
    position: absolute;
    top: 0;
    left: 0;
    width: 1040px;
    height: 550px;
    margin-left: 3000px;
    padding: 0px;
    z-index: 100000;
    background-color: aqua;
}
.hover:hover {
    text-decoration: underline;
    cursor: pointer;
}


.kato {
    color: #FFF;
    font-size: 7px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 5px;
    right: 0;
    width: 30px;
    height: 15px;
    background-color:deeppink;
    border-radius: 10px;
    z-index: 10;
}

#buildingImagesLoadWrapper {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    height: calc(100% - 80px);
    align-content: center;
    justify-content: center;
}
#buildingImagesLoadIndicator {
    width: 100px;
    height: 100px;
}