#document-container {
	border-top: 1px solid #B6B6B6;
	background: #DFDFDF;
	position: absolute;
	top: 70px;
	bottom: 33px;
	right: 0px;
	left: 0px;
}

#document-container.readonly {
    top: 30px;
}

#toolbar-wrapper.readonly {
    display: none;
}

#logo.readonly {
    background-size: 100px;
    top: -5px;
}

#map {
	position: absolute;
	top: 0px;
	bottom: 16px;
	left: 0px;
	right: 16px;
	z-index: 10;
}

body {
    margin: 0;
}

#presentation-controls-wrapper {
    background: #dfdfdf;
    position: absolute;
    top: 70px;
    left: 0px;
    bottom: 66px;
    max-width: 214px;
    border-top: 1px solid #b6b6b6;
    display: block;
}

#presentation-controls-wrapper.readonly {
    top: 30px;
}

@media (max-width: 767px) {
    /* Show slidesorter beyond 768px only */
    #presentation-controls-wrapper {
	display: none;
    }

    #document-container.parts-preview-document {
	left: 0px !important;
    }
    #document-container.spreadsheet-document {
	top: 93px !important;
    }
    #document-container.spreadsheet-document.readonly {
	top: 50px !important;
    }
    #document-container {
	top: 40px;
    }
    #spreadsheet-row-column-frame {
	top: 73px !important;
    }
    #spreadsheet-row-column-frame.readonly {
	top: 30px !important;
    }
    /* There seems to be some bug in w2ui library -
     * when we are in very low screen width, the toolbar-up-more
     * toolbar's width doesn't adjust according to its children toolbar
     * items and truncate all items but one. Lets override the width in
     * mobile mode to prevent that.
     */
    #toolbar-up-more {
	width: auto !important;
    }
    /* We need to give space for options menu */
    #tb_toolbar-up_item_rightmenupadding {
	padding-right: 40px;
    }
    #tb_toolbar-up_item_close {
	display: none;
    }
}

.loleaflet-font {
    font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: normal !important;
}

.loleaflet-character {
	table-layout: fixed;
	font: 17px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
	text-align: center;
}

.loleaflet-character td {
	width: 20px;
}

.loleaflet-controls {
	margin-right: 10px;
}

.loleaflet-scrolled {
	overflow: auto;
}

/* Important to override context-menu-icon's font-family here otherwise, jquery-contextmenu.css
 * will try to load its own font file which is not available in dist/ */
.context-menu-icon::before {
	font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif !important;
}
.context-menu-icon-lo-checkmark:before {
	content: '\2713';
}
