﻿/* __Tools.css  Sections: IMPORT, TOOLS, PAGE PROPERTIES, PROJECT PROPERTIES, SIDE MENU, MEDIA  */


/*#region _____________________________ IMPORT _________________________________*/

/* Import form header */
/*.ImportHeader {
    height: 50px;
    line-height: 50px;
    color: #000000;
    padding-left: 15px;
    padding-right: 10px;
    font-family: 'Segoe UI Light','Segoe UI', Arial;
    font-size: 18pt;
}*/


/*.CloseImportForm {
    float: right;
    cursor: pointer;
    width: 18px;
    height: 18px;
    opacity: .5;
    margin-left: 10px;
}*/


#divImportMsg {
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 18px;
    margin-left: 20px;
    margin-top:5px;
    color: #0094ff;
    font-weight:normal;
}

#divImportTable {
    width: 100%;
    height: calc(100vh - 200px);
    overflow: auto
}

#tblImport {
    width: 100%;
    border-collapse: collapse;
    color: #444444;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 14px
}

    #tblImport tr td {
        border-bottom: 1px solid #eeeeee;
        padding: 3px;
    }

.ImportFieldList {
    border: 1px solid #cccccc;
    padding: 4px;
    min-width: 100px;
    color: red;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial
}

.ImportCSVPhoto {
    width: 50px;
    height: 50px;
}

/*.buttonImport {
    width: 90px;
    height: 40px;
    background-color: #008fc7;
    text-align: center;
    line-height: 39px;
    color: white;
    display: inline-block;
    cursor: pointer;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 16px;
    margin-right: 10px;
    border-radius: 3px;
}*/

#divImportPopupMsg {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: dodgerblue;
    color: white;
    padding: 10px;
    font-size: 16px;
    z-index: 99;
    transition: opacity .7s linear;
}

.importtypeheading {
    font-family: 'Segoe UI', Arial;
    font-size: 20px;
    color: cadetblue;
    padding-top: 20px;
}

.syncfieldchanged {
    color: orange
}

.syncpicturechanged {
    border: 1px solid orange
}

.ImportSettingsTextbox {
    width: 100%;
    padding: 6px;
    margin-top: 2px;
    border: none
}


/* test link on import settings form */
.ImportTestLink {
    display: inline-block;
    cursor: pointer;
    padding-left: 3px;
    padding-right: 3px;
    color: Highlight;
    float: right;
}

    .ImportTestLink:hover {
        background-color: #dddddd;
    }

#divImportSettings {
    height: calc(100vh - 100px);
    overflow: auto;
}

#divImportSettings {
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 14px;
}

.importiframe {
    width: 300px;
    height: 50px;
    bottom: 0px;
    left: 0px;
    position: absolute;
    z-index: 99;
    background-color: #eeeeee;
    border: none;
}

.CloseImport {
    float: right;
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin-top: 3px;
}

#ImportSuccessMsg {
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 15px;
    cursor: pointer;
}

    #ImportSuccessMsg:hover {
        text-decoration: underline;
    }


.body_import {
    margin-top: 15px;
    margin-left: 15px;
    margin-right: 15px;
}

.ImportFormBox {
    border-radius: 6px;
    padding-top: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 5px;
    height: calc(100vh - 152px);
    overflow: auto;
    background-color: white;
    border: none;
}

/*#divImportMatchFields, #divImportRawData {
    border: none;
    width: 100%;
    height: 120px;
    padding-top: 20px;
    padding-left: 3px;
    overflow: auto;
}*/

.ImportFieldMapTable {
    width:100%;
}


.ImportFieldMapTable tr td {
    border-bottom: 1px solid black;
    font-family: 'Segoe UI', Arial;
    /*padding-top: 3px;*/
    /*padding-bottom: 3px;*/
}

.ImportFieldMapTable select {
    /*border: none;*/
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    /*margin-left:15px;*/
    background-color: #f5f5f5;
    border-color:#f5f5f5;    /*set border color because Opera doesn't support border:none*/
    width:100%;

}

    .ImportFieldMapTable input {
        width: 100%;
        border: 1px solid #eeeeee;
        padding-left: 10px;
    }

#divImportOptions div {
    font-family:'Segoe UI', Arial;
    font-size:20px;
    margin-bottom:3px;
}

#divImportOptions a {
    margin-left: 25px;
    font-size:14px;
    font-family: 'Segoe UI', Arial;
    line-height:28px;
}


/*#endregion*/
/*#region _________________________________ TOOLS _________________________________*/

.ToolDetailFormBody {
    padding: 20px;
    overflow: auto;
    height: calc(100vh - 135px);
}

.DeleteGroupButton {
    border-top: 1px solid #dddddd;
    margin-left: 20px;
    margin-right: 20px;
    text-align: center;
    color: red;
    cursor: pointer;
    padding-top: 6px;
}

#divSecurityGroupList {
    padding: 20px;
    height: calc(100vh - 140px);
    overflow: auto;
}

#divSecurityGroupList div {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff;
    width: 100%;
    max-width: 300px;
    font-size: 16pt;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    color: #444444;
    cursor: pointer;
}

#divSecurityGroupList div:hover {
    background-color: #eeeeee;
}

.SecurityGroupFieldRow {
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #eeeeee;
    display: inline-block;
}

/*.FieldLabel {
    width: 110px;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-size: 12pt;
    color: #444444;
    display: inline-block;
}*/

/*.FieldText {
    width: 250px;
    height: 40px;
    padding-left: 5px;
    font-family: 'Segoe UI', Arial;
    font-size: 13pt;
    color: #444444;
    margin-top: 5px;
}*/

#txtStyleSheet {
    width: calc(100% - 10px);
    margin-left: 5px;
    height: calc(100vh - 105px);
    border: none;
    padding: 10px;
}

.EditMapToggleIcons {
    width: 36px;
}

.EditMapToggleIcons img {
    width:16px;
    height:16px;
    opacity:.6;
}

    .EditMapToggleIcons img:hover {
        opacity: 1;
    }

/*.EditMapToggleMarker div:nth-of-type(1) {
    display: inline-block;
    width: 15px;
    text-align: center;
    color:white;
    line-height:18px;
    padding-bottom:3px;
    margin-bottom:2px;
    background-color:#fa4747;
}

.EditMapToggleMarker {
    display: inline-block;
    width: 30px;
}

.EditMapToggleMarker div:nth-of-type(2) {
    display: inline-block;
    width: 15px;
    text-align: center;
    color: white;
    line-height: 18px;
    padding-bottom: 3px;
    background-color: #4fb65c;
}*/


/*#endregion*/
/*#region _________________________________________ PAGE PROPERTIES _____________________________*/
.PagePropertiesTable {
    width: 100%;
    margin-top: 3px;
    font-size: 11pt;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-weight: normal;
    color: #000000;
    table-layout: fixed;
    background-color: white;
    border-right: 2px solid #f5f5f5;
    border-left: 2px solid #f5f5f5;
}

.PagePropertiesTable tr {
    height: 30px;
}

/*name Column*/
.PagePropertiesTable td:nth-child(1) {
    width: 100px;
    border-bottom: 1px solid #eeeef2;
    border-right: 1px solid #eeeef2;
    padding-left: 6px;
    padding-top: 3px;
    vertical-align: top;
    color: #444444;
}

/*value Column*/
.PagePropertiesTable td:nth-child(2) {
    border-bottom: 1px solid #eeeef2;
}

/* Textbox */
.PagePropertiesTable td input[type=text] {
    width: 99%;
    border: none;
    padding-left: 5px;
    background-color: white;
}

/* List */
.PagePropertiesTable td select {
    width: 99%;
    border: none;
    padding-left: 2px;
    background-color: white;
}

/* Textarea */
.PagePropertiesTable td textarea {
    width: 99%;
    border: none;
    padding-left: 5px;
    height: 150px;
}

    /* Readonly Values */
#tdProp_PageID, #tdProp_PageType {
    padding-left: 5px;
    color: #aaaaaa;
}

.pageprop_listicon {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.pageprop_AddIcon {
    float: right;
    color: #198827;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 1px;
    cursor: pointer;
}

.pageprop_iconlistlink {
    cursor: pointer;
    display: inline-block !important;
    width: calc(100% - 20px);
    padding-left: 10px;
    padding-top: 3px;
    padding-bottom: 3px;
    color:black!important;
}

#tdProp_PageIcon .dropdown-menu {
    height: calc(100vh - 130px);
    overflow:auto;
}

#tdProp_PageIcon .dropdown-menu li span {
    font-size: 16px;
}

#tdProp_PageIcon .dropdown-menu li:hover span {
    display: inline-block !important;
}

#divSaveContentsButtons {
    padding-right: 15px;
    position: absolute;
    right: 0px;
}

#tdFloorScaleValue:hover #divrangevalue {
    display: inline-block !important;
}

#rngProp_FloorScale {
    padding-left:5px;
    padding-right:5px;
    /*height:11px;*/
}

.prop_rangebubble {
    display: none;
    background-color: #eeeeee;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    position: absolute;
    margin-top: -40px;
    left: 140px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 40px;
}

/*#endregion*/
/*#region _________________________________________ PROJECT PROPERTIES _____________________________________________*/

/* Project Settings Table */
.SettingsTable {
    width: calc(100% - 1px);
    margin-top: 3px;
    font-size: 11pt;
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    font-weight: normal;
    color: #000000;
    table-layout: fixed;
    background-color: white;
    /*border-right: 2px solid #f5f5f5;*/
    /*border-left: 2px solid #f5f5f5;*/
    border-top: 1px solid #eeeef2;
}

    /* Height of rows in settings table */
    .SettingsTable tr {
        height: 35px;
    }

    /*Settings name column*/
    .SettingsTable td:nth-child(1) {
        width: 110px;
        border-bottom: 1px solid #eeeef2;
        border-right: 1px solid #eeeef2;
        padding-left: 6px;
        font-size: 10pt;
    }

    /*value Column*/
    .SettingsTable td:nth-child(2) {
        border-bottom: 1px solid #eeeef2;
        padding-left: 5px;
    }

    /* Settings Textbox */
    .SettingsTable td input[type=text] {
        width: 99%;
        border: none;
        padding-right: 3px;
    }

    /* Settings List */
    .SettingsTable td select {
        width: 99%;
        border: none;
    }

    /* Do not display x in textbox in IE */
    .SettingsTable td input::-ms-clear {
        display: none;
    }

    /* Do not display blue outline in chrome */
    .SettingsTable select:focus {
        outline: none !important
    }

    .SettingsTable input:focus {
        outline: none !important
    }

    /* Align the dropdown arrow at the right */
    .SettingsTable .dropdown-toggle::after {
        float: right;
        margin-top: 10px;
    }

.ThemeMenuItems img {
    width:20px;
    height:20px;
    float:right;
    padding:3px;
    opacity:.1;
    cursor:pointer;
}

.ThemeMenuItems a {
    color:#444444;
}

.ThemeMenuItems img:hover {
    opacity: 1;
}

.ThemeAddIcon {
    width:19px;
    height:19px;
    margin-left:7px;
    margin-bottom:3px;
    /*float:right;*/ 
    padding:4px;
    cursor:pointer;
}

.ThemeListRow {
    height: 40px;
    padding-top: 5px;
    font-size: 20px;
    padding-left: 8px;
    padding-right: 5px;
}

.ThemeListRow:hover {
    background-color:aliceblue;
    cursor:default;
}

    .ThemeListRow:hover img {
        display:block;
    }

.ThemeListRow img {
    width:28px;
    height: 28px;
    float: right;
    display:none;
    cursor:pointer;
}

.ThemePanelBox {
    /*border: 1px solid #444444;*/
    border-radius: 6px;
    padding-top: 20px;
    padding-bottom:10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom:5px;
    min-height:250px;
    max-height:300px;
    overflow:auto;
    background-color:white;
}

.ThemePanelFields {
    border: none;
    width: 100%;
    height: 120px;
    padding-top:20px;
    padding-left:3px;
    overflow:auto;
}

.EditThemeCSS {
    width: 100%;
    height: calc(100vh - 510px);
    min-height:100px;
    padding: 10px;
    /*border: 1px solid #444444;*/
    border:none;
    border-radius: 6px
}

/*#endregion*/
/*#region __________________________________ SIDE MENU _____________________________*/
.ToolsContainer {
    height: calc(100vh - 50px - 77px);
    width: calc(100% - 1px);
    overflow: auto;
    margin-top: 20px;
}

.helpicon {
    z-index: 4;
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
    margin-right: 20px;
    margin-bottom: 20px;
    opacity: .1;
    cursor: pointer;
}

    .helpicon:hover {
        opacity: 1;
    }


#EditMenuButtons {
    padding-top: 7px;
}

.AddPageIcon {
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.MovePageIcon {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#menutree {
    padding-left: 15px;
    padding-bottom: 10px;
}

.fancytree-container {
    background-color: transparent !important;
    border: none !important;
    outline: none;
}

ul.fancytree-container li { overflow: hidden !important; }
ul.fancytree-container { overflow: hidden !important; }
ul.fancytree-container ul { padding: 0 0 0 36px !important; }
.fancytree-treefocus span.fancytree-focused span.fancytree-title {  border: 1px solid transparent !important; }

/*Increase node height spacing*/
.fancytree-node {
    height: 35px !important;
}



    .fancytree-node:hover .fancytree-icon {
        opacity: 1;
    }

/*Set font styles for contents text*/
.fancytree-title {
    font-family: 'Segoe UI Light', 'Segoe UI', Arial;
    color: #222222 !important;
    font-size: 15px;
    margin-left: 5px !important;
    padding-right: 30px !important;
    line-height: 21px;
}

/*Increase the icon size from 16 to 20*/
.fancytree-icon {
    width: 18px !important;
    height: 18px !important;
}

/*Set icon to greyscale for menutree */
#menutree .fancytree-icon {
    filter: grayscale(100%);
    opacity: .6;
}


#fancytree-drop-marker, span.fancytree-checkbox, span.fancytree-drag-helper-img, span.fancytree-empty, span.fancytree-expander, span.fancytree-icon, span.fancytree-vline {
    background-image: url(../_engine/jquery/icons.gif);
}



.fancytree-node:hover .fancytree-title {
    background: none !important;
    border: 1px solid transparent !important;
    color: #4285f4 !important
}

.fancytree-node:hover .fancytree-icon {
    filter: none !important;
}

.fancytree-active .fancytree-title, .fancytree-selected .fancytree-title {
    background: none !important;
    border: 1px solid transparent !important;
    color: #4285f4 !important
}

.fancytree-active .fancytree-icon, .fancytree-selected .fancytree-icon {
    filter: none !important;
    opacity: 1 !important;
}

/* There is a bug that causes two different nodes to be highlighted due to .fancytree-focused and .fancytree-active. To workaround this bug, set the focused style to the same as the normal node style. */
.fancytree-focused .fancytree-title {
    background: none !important;
    border: 1px solid transparent !important;
    color: #666666
}

.fancytree-focused .fancytree-icon {
    filter: none !important
}


/*#endregion*/

/*#region __________________________________ MEDIA _____________________________*/

/*-------Apply these styles when the browser width is small*/
@media only screen and (max-width: 700px) {
    .ProfileName { display:none }
    #divFloorlabel { display:none!important }
    #divSearchContainer { width:calc(100vw - 110px)!important; }
    #divCustomHeaderHTML { display:none }
    #spanEditPanelHeading { display:none; background-color:yellow; }
    .LoginAsAdmin {display:none}
    .ShowBookingsForLabel {display:none}
    /*.DetailFormPicWrapper img { max-width:120px;max-height:120px; border-radius:60px; margin-left:auto;margin-right:auto;  }*/
    /*.DetailFormPicWrapper { background: linear-gradient(180deg, #444444 80px, #FFFFFF 0, #FFFFFF 100%); }*/
    .DetailFormPicWrapper img { width:120px!important;height:120px;!important }
    #imgAssetFormPic { max-width:120px; margin-left:auto;margin-right:auto;  }
    .box_content { min-width: 305px; }
}

@media screen and (max-height: 700px) {
    #imgAssetFormPic { max-width:120px; margin-left:auto;margin-right:auto;  }
    /*.DetailFormPicWrapper img { max-width:120px; max-height:120px; border-radius:60px; margin-left:auto;margin-right:auto;  }*/
    /*.DetailFormPicWrapper { background: linear-gradient(180deg, #444444 80px, #FFFFFF 0, #FFFFFF 100%); }*/
    .DetailFormPicWrapper img { width:120px!important; height:120px!important; }
}

/* Styles for printing floors */
#divPrintFloorsContainer { width:100% }
#divPrintFloorsContainer img { width:200px; max-height:100%; max-width:100%; display:block; page-break-after:always}
@media print {
    html, body  { height: 100%; }
    #divPrintFloorsContainer { height: 100%; width:auto!important; }
    #divPrintFloorsContainer div { display:none }
    #divPrintFloorsContainer img { width:auto!important }
   .ProfileInfo {display:none}
    .EditPanelsDropdown { display:none }
}

/*Hide the toolbar and zoom buttons when printing*/
@media print {
    .MainToolBar { display: none; }
    /*.ZoomButtons { visibility: hidden; }*/
    .ZoomButtons_Floorplan { display:none }
}

/*#endregion*/