#contentBox, .contentMap {
	width: 100%;
	height: calc(100vh - 60px);
	display: block;
}

#contentBox.loginBox {
    height: calc(100vh - 120px);
}

#ss-map {
	position: relative;
	border: 1px solid #999;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
}

#ssHead {
	position: relative;
	width: 100%;
	height: 60px;
}

#ssHead * {
	display: inline-block;
	vertical-align: top;
}

#ssHead a {
	width: 497px;
	margin-top: 2px;
	margin-right: 40px;
}

#ssHead a .logo {
	background-image: url("/assets/img/header-logo.jpg");
	background-repeat: no-repeat;
	background-position: top left;
	background-size: cover;
	height: 52px;
	width: 497px;
}

#ssHead #title {
	font-size: 24px;
	color: #999999;
	padding-top: 7px;
}

#ssHead #title > span:first-child {
	margin-right: 15px;
	font-weight: lighter;
}

/*#ssHead #title > span:last-child {

}*/

#ssHead button {
	float: right;
	display: none;
}

#ssHead #menu {
	display: none;
}


#loginBox, .ss-input-error {
	margin: 0 auto;
	width: 300px;
	overflow-y: auto;
	padding: 20px;
	margin-top: 50px;
	border: 1px solid #000000;
}

#loginBox * {
	display: inline-block;
	width: 100%;
	box-sizing: border-box;
}

#ss-login-button {
	border: 1px solid #71a8e0;
	background: #71a8e0;
	color: #ffffff;
	font-weight: bold;
	padding: 12px;
	font-size: 16px;
	text-transform: uppercase;
	border-radius: 3px;
	margin: 16px 0 10px;
}

#ss-login-button:hover {
	background: #6097c9;
}

#ss-login-running {
	margin: 0 125px;
}

#loginBox input[type=text], #loginBox input[type=password] {
	display: block;
	padding: 8px;
	font-size: 16px;
	background: #ffffff;
	border: 1px solid #aaaaaa;
	border-radius: 3px;
	margin-bottom: 6px;
}

.ss-input-error {
	color: #ff0000;
}

.contentMap #dataBox {
	box-sizing: border-box;
	border-radius: 0 5px 5px 5px;
	/*padding: 10px 20px;*/
	background-color: rgba(255, 255, 255, 0.8);
	height: calc(100vh - 63px);
	overflow-y: auto;
	float: left;
}

/*.ss-menu-tooltip {
	z-index: 2000 !important;
}*/

#contentBox.dataLayer #dataBox {
	display: block;
}

#boxContent {
	width: 95%;
}

.ss-control {
	float: left;
	clear: both;
	cursor: auto;
	z-index: 800;
	pointer-events: auto;
}

#ss-search-navall, #dataBox .ss-btn-home, #ss-search-clear {
	background-color: rgba(255, 255, 255, 0.8);
	color: #0078a8;
	width: 12px;
	height: 12px;
	min-height: inherit;
	line-height: 9px;
	font-size: 8px;
	text-align: left;
	padding-left: 4px;
}

#dataBox .ss-btn-home, #ss-search-clear {
	width: 28px;
	height: 28px;
	padding-left: 5px;
}

.ss-menu-btn {
	float: left;
}

.ss-btn-home md-icon {
	width: 15px;
	height: 15px;
	min-width: 15px;
	min-height: 15px;
	margin-left: 2px;
	margin-right: 0px;
}

/*#ss-search-clear, #ss-search-navall {
	background-color: inherit;
}*/

#ss-search-clear {
	background-color: rgba(57, 73, 171, 1);
	color: #ffffff;
	width: 15px;
	height: 15px;
	position: absolute;
	margin-left: -20px;
	transition-property: none;
}

#ss-search-clear:hover {
	background-color: rgba(57, 73, 171, 0.7);
}

/*#ss-search-progress {
	color: #ffffff;
	position: absolute;
	margin-left: 400px;
	transition-property: none;
}*/

#dataBox .ss-btn-close {
	float: right;
}

.ss-badge {
	display: inline-block;
	min-width: 10px;
	padding: 3px 7px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #ffffff;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	background-color: #777777;
	border-radius: 10px;
}

.md-open-menu-container {
	z-index: 3000;
}

.ss-side-menu, .ss-dlg-action-menu {
	padding: 0;
}

.ss-sidebar, #dataBox {
	transition: width 1s;
	width: calc(100vw / 4);
	position: relative;
}

#ss-btn-sidebar-btn {
	background-image: url(/assets/img/info.png); 
}

.ss-min {
	width: 0 !important;
}

.ss-hide {
	display: none !important;
}

.ss-message-box {
	background-color: rgba(0, 0, 0, 0.45);
	border-radius: 7px;
	width: 100%;
	color: #00FF00;
}

.ss-message-list {
	list-style-type: none;
	padding: 10px;
	margin-top: 0;
}

.ss-message {
	padding-top: 10px;
}

.ss-menu-page {
	position: absolute;
	height: calc(100% - 50px);
	/*width: calc(100% - 55px);*/
	width: calc(100% - 20px);
	overflow-x: hidden;
	padding: 10px;
	margin-top: 30px;
}

.ss-menu-page.ng-enter, .ss-menu-page.ng-leave {
	transition: all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	padding: 10px;
}

.ss-menu-page.ng-enter {
	left: -50px;
}

.ss-menu-page.ng-enter.ng-enter-active {
	left: 0;
}

.ss-menu-page.ng-leave {
	top: 0;
}

.ss-menu-page.ng-leave.ng-leave-active {
	left: 100%;
}

.ss-menu-page md-content, .ui-dialog md-content {
	background-color: inherit;
}

.ss-menu-page md-input-container label, 
.ss-menu-page md-input-container:not(.md-input-invalid).md-input-has-value label {
	color: inherit;
}

.ss-menu-page md-input-container input {
	border-color: black;
}

#ss-search md-tabs {
	height: calc(100vh - 190px);
}

#ss-search md-list {
	height: 100%;
}

#ss-search md-tab-content {
	overflow-y: hidden;
}

.hide-overflow-y {
    overflow-y: hidden;
}

.ss-options {
	list-style-type: none;
	padding-left: 0;
	margin-top: 30px;
	text-align: center;
}

.ss-options .md-button.md-raised {
	background-color: rgba(255, 255, 255, 0.5);
	width: 60%;
}

#ss-search .md-secondary, #ss-layers .md-secondary {
	border: 1px solid rgba(0, 0, 0, 0.1);
	min-width: 36px;
}

#ss-search md-list-item {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-top: none;
}

#ss-search md-list-item:first-of-type {
	border: 1px solid rgba(0, 0, 0, 0.1);
}

#ss-search .md-list-item-text h4 {
	max-width: 325px;
}

#ss-search .md-list-item-text p {
	font-size: 12px;
}

#ss-search-input-label {
	width: 99%;
}

.ss-layer-chkbox {
	display: table;
}

.ss-layer-chkbox-all {
	display: inline;
}

.ss-layer-categories {
	margin-top: 5px;
}

.ss-layer-sub-header {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .01em;
	line-height: 1.2em;
	color: rgba(0, 0, 0, 0.54);
	background-color: rgb(250, 250, 250);
}

.ss-layer-sub-header md-checkbox {
	margin-left: 0 !important;
	margin-right: 10px !important;
}

.ss-layer-sub-header md-checkbox.md-checked .md-icon {
	background-color: rgba(63, 81, 181, 0.87);
}

.md-tab.md-active {
	background-color: rgba(0, 0, 0, 0.1);
}

md-list-item>md-radio-button {
	width: 24px;
	margin-left: 3px;
	margin-right: 29px;
	margin-top: 16px;
}

.ss-layer-chkbox p {
	margin: 0;
}

.ss-layer-line2 {
	font-size: 10px;
}

.ss-layer-category {
	margin-top: 5px;
}

.leaflet-right .map-latlon {
	margin-right: 0px;
}

.map-latlon {
	background: rgba(0, 0, 0, 0.7);
	color: #cccccc;
	padding: 4px 6px;
	border-radius: 0 2px 0 0;
	box-sizing: border-box;
}

.ss-sidenav {
	z-index: 1100;
}

.ss-dialog, .md-datepicker-calendar-pane, .md-select-menu-container {
	z-index: 2000;
	background-color: rgba(255, 255, 255, 0.9);
}

.md-virtual-repeat-container.md-autocomplete-suggestions-container, .md-select-menu-container {
	z-index: 3000;
}

.ss-dialog .md-input[disabled] {
	color: rgba(0, 0, 0, 0.6);
}

.ss-dlg-input-thinner {
	padding-bottom: 0px;
}

#ss-yammer-feed {
	height: calc(100vh - 113px);
}

#ss-admin button {
	display: block;
	width: 40%;
}

.ss-file-upload {

}

/*#ss-dlg-sale-tab-data md-input-container label:not(.md-no-float):not(.md-container-ignore) {
	width: calc(100% - 3px);
}*/

#ss-sale-project-search {
	border: none;
	outline: none;
	height: 100%;
	width: 100%;
	padding: 0;
}


md-chips {
    margin-bottom: 19px;
}

md-chips-wrap {
    min-height: 40px;
}

#ss-dlg-sale-search-licensee {
    min-height: 74px;
}

/*
.md-chips md-autocomplete md-input-container label:not(.md-no-float),
.md-chips md-autocomplete md-input-container .md-placeholder:not(.md-select-label) {
    margin-top: -23px;
}
 
.md-chips md-autocomplete md-input-container .md-input {
    border-width: 0;
}
 
.md-chips md-autocomplete md-input-container.md-input-focused .md-input,
.md-chips md-autocomplete md-input-container .md-input.ng-invalid.ng-dirty {
    border-width: 0;
}
 
.md-chips .md-chip-input-container md-autocomplete input {
    position: relative;
    border: 0px !important;
    margin-left: 0px !important;
}
 
.md-chips .md-chip-input-container md-autocomplete input:focus {
    position: relative; margin-left: 0px !important;
}
*/








.ss-sale-projects-search {
	z-index: 3000;
}

.ss-dlg-lines, .ss-dlg-regions {
	width: 773px;
	height: 471px;
	border: none;
}

#ss-proj-lines.ss-dlg-lines, #ss-proj-regions.ss-dlg-regions {
	height: 471px;
}

.ss-sale-line-sp, .ss-proj-line-intvl {
	margin-top: 4px !important;
}

.ss-sale-line-selected{
	margin-top: 6px !important;
}

.ss-dialog md-tabs {
	min-height: 520px !important;
	border: 1px solid #e1e1e1;
}

.ss-sale-line-sp_int {
	/*text-align: center;*/
}

.ss-dialog md-tabs md-content {
	overflow-x: hidden;
}

.ss-dlg-top2 md-input-container, #ss-dlg-sale-tab-data md-input-container, 
.ss-dialog-no-bott, .ss-menu-page md-input-container {
	margin-bottom: 0;
}

#ss-dlg-sale-tab-data md-input-container .md-errors-spacer, 
#ss-dlg-prj-tab-data md-input-container .md-errors-spacer {
	min-height: 5px;
}

.ss-dlg-top md-input-container md-select-value {
	background-position: left 0 bottom -1px !important;
}

.ss-dialog section > * {
	float: right;
}

.ss-sale-projects-autocompl {
    min-width: 400px !important;
}

/*****************/

/*.ss-dialog section md-toolbar {
    min-height: 0px;
}

.ss-dialog section md-menu-bar button {
    height: 20px;
}*/

/*****************/

#ss-dlg-sale .ss-dlg-action-btn, #ss-dlg-project .ss-dlg-action-btn {
	line-height: 36px;
	width: 36px;
	height: 36px;
}

.ss-dlg-action-btn md-icon {
	margin-top: 5px;
	margin-left: 3px;
}

#ss-dlg-sale-tab-data md-datepicker input {
	width: 150px;
}

#ss-dlg-prj-tab-data md-datepicker input {
	width: 125px;
}

#ss-dlg-sale-tab-lines .ss-sales-invalid {
	background-color: #ff0000;
}

.ss-svg-menu {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'><path d='M0 0h18v18h-18z' fill='none'/><path d='M2 13.5h14v-1.5h-14v1.5zm0-4h14v-1.5h-14v1.5zm0-5.5v1.5h14v-1.5h-14z'/></svg>");
}

.md-dialog-container {
	z-index: 10001;
}

md-backdrop.md-dialog-backdrop {
	z-index: 10000;
}

/*#shortcutList {
}*/

#ss-tools .ss-button {
    background-color: #fff;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    border-bottom: none;
    width: 26px;
    height: 26px;
    line-height: 26px;

    min-width: 26px;
    min-height: 26px;
    margin: 0;
    padding: 0;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
}

.ss-button-list {
    margin-top: 0;
    padding-left: 0;
    border-radius: 4px;
}

.ss-button-list li {
    display: list-item;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    width: 26px;
    height: 26px;
    min-width: 26px;
    min-height: 26px;
}

.ss-button-list li.selected {
    background-color: #ccc;
}

.ss-toolbox {
    float: right;
}

#ss-shortcuts{
    box-shadow: 0 1px 5px rgba(0,0,0,0.65);
    border-radius: 4px;
}

#ss-shortcuts li {
    width: 140px;
    box-shadow: none;
    font-size: 10px;
    line-height: 22px;
    margin-left: 0px;
    margin-right: 0px;
}

#ss-shortcuts li:not(:first-child) {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#ss-shortcuts li:not(:last-child) {
    margin-bottom: 0;
    border-bottom: 1px solid #ccc;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.ss-button-list li:not([disabled]):hover {
    background-color: rgba(158,158,158,1);
}

.ss-toolbox li {
    padding-left: 3px;
    padding-top: 3px;
}

.ss-toolbox md-icon {
    vertical-align: top;
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
}
