/* DARK GRAY: #424143  */
/* RED: #DC0032 - rgba(220, 0, 50)*/
/* GRAY #808285 */

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
	overflow:hidden;
	font-size: 11px;
	font-weight: normal;
}

#app-header {
	z-index: 10000;
}

#app-workspace {
  -webkit-transition: height .4s cubic-bezier(.02, .01, .47, 1); 
  -moz-transition: height .4s cubic-bezier(.02, .01, .47, 1); 
  transition: height .4s cubic-bezier(.02, .01, .47, 1); 
	overflow: hidden;
}

#app-map {
	height: 100%;
	width: 100%;
}

#app-login {
	height: 100%;
	width: 100%;
}


#map-canvas {
	position: fixed !important;
	width: 100%;
	height: 100%;
}

#map-canvas.header-margin{
	height: calc(100% - 57px);
}

@media only screen and (max-width: 450px) {
	#map-canvas.header-margin {
		height: calc(100% - 40px);
	}
}

#tool-search-alert {
	margin-bottom: 0 !important;
}

.app-full-window{
	top:0 !important;
}

#app-buttonsPanel1, #app-buttonsPanel2, #app-buttonsPanel3 {
    position: absolute;
    z-index:10;
    width: 38px;
}
#app-buttonsPanel1{
	z-index: 10!important;
}

#app-buttonsPanel1{
	top: 40px;
    left: 5px;
}

@media (max-width:800px){
/*@media (max-width:1024px){*/
	#app-buttonsPanel1{
		top: 30px;
		left: 5px;
	}

	#tools-panel {
		top: 30px !important;
	}

	#user-avatar
	{
		padding: 0 !important;
		margin-top: 0px;
	}


}

#app-buttonsPanel1.panel-small{
	top: 20px;
	left: 80px;
}
#app-buttonsPanel1.panel-small.mob{
	top: 40px;
}

#app-buttonsPanel2{
	bottom: 20px;
    right: 5px;
}


#app-buttonsPanel3{
	top: 40px;
	right: 5px;
}

#app-buttonsPanel3.btn-list-active{
	top: 75px;
}

.panel-on-top{
		top: 5px !important;
}

/*
.header-avatar {
    height: 30px !important;
    width: 30px !important;
    margin-left: 5px;
    margin-right: 5px;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
	background-position: center center;
	background-size: cover;
	background-repeat:no-repeat;
	float: right;
}
*/
#tool-draw-info-panel{
	display: block;
    top: 0;
    white-space: nowrap;
    height: 29px;
    background-color: white;
    float: left;
    -webkit-box-shadow: 1px 1px 4px rgba(0,0,0,.4);
    box-shadow: 1px 1px 4px rgba(0,0,0,.4);
    -webkit-transition: all .4s;
    -o-transition: all .4s;
}

.dropdownmenu-btn:hover{
	text-decoration: none;
	color: #141414;
	background-color: #eee;
	cursor: pointer;
}


.pointer-disabled{
	cursor: no-drop !important;
}

.word-wrap{
	display: block;
	word-wrap: break-word;
}


/* ------------------------------ MASKS ------------------------------ */
#mask-initial {
	display: none;
    position: fixed;
    height: 100%;
    width: 100%;
    opacity: 1;
    background-color: white;
    z-index: 1000;
    background: white url('../../media/webapps/icon-caap-512.png') no-repeat center center;
	background-size: 10%;
}

#mask-workspace{
	display: none;
	position: absolute;
	height: 100%;
	width: 100%;
	opacity: 0.7;
	background-color: black;
	z-index: 1000;
	/*background: white url('../../media/webapps/icon-caap-512.png') no-repeat center center;*/
	/*background-size: 10%;*/
}


/* -------------------------- BOOTSTRAP -------------------------- */

.update-form{
	margin-top: 15px;
	width: 100%;
}



/* remove inputs outline */

textarea:hover,
input:hover,
textarea:active,
input:active,
textarea:focus,
input:focus,
button:focus,
button:active,
button:hover
{
    outline:0px !important;
    -webkit-appearance:none;
}
/* ------------------------------ Layer ------------------------------------ */
#layers-toc-toggle {
  position: absolute;
  top: 6px;
  left: 5px;
  z-index: 9999;
}



#layers-identify-toggle{
	position: absolute;
	top: 6px;
	right: 5px;
	z-index: 1001;
	transition: none;
}

#layers-identify-toggle.btn-list-active{
	top: 41px;
}

#layers-list-toggle{
  position: absolute;
  top: 6px;
  right: 5px;
  z-index: 1001;
}


.layergroup-section{
	margin-bottom: 0!important;
	margin-top: 0!important;
}

.layer-feature-form-image-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.layer-feature-form-image{
	background-size:contain;
	background-repeat:no-repeat;
	background-position:center center;
	height: 75%;
	width:auto;
}

.layer-feature-form-image-border{
	border-color: inherit;
	border-width: inherit;
	border-style: inherit;
}

.app-sidebar-panel-header{
	height:70px!important;
}

.app-sidebar-panel-body{
	overflow-y: auto;
	position: absolute;
}

/* ------------------------------ COMPONENTS ------------------------------ */

#selectorDatas {
	margin-left: 15px;
	margin-right: 15px;
	margin-bottom: 15px;
	background: #fff;
	cursor: pointer;
	padding: 5px 10px;
	border: 1px solid #ccc
}

/* ---------------------------- MAP COMPONENTS ------------------------------ */

/** Common for buttons **/
.map-control:hover, #basemap-styleToggle-btn:hover, #map-button-traffic:hover, #map-control:hover{
    -webkit-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.5);
}


.ellipsis {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    -moz-binding: url('assets/xml/ellipsis.xml#ellipsis');
}

.basemap-roadmap {
	background-image: url(../imgs/maps/roadmap.png);
}

.basemap-hybrid {
	background-image: url(../imgs/maps/hybrid.png);
}


.marker-icon{
    position:absolute;
    right:0;
    bottom: 0!important;
}

#map-controls {
	position: absolute;
	bottom: 10px;
	right: 10px;
	z-index: 1000;
}

.map-control {
	width: 24px;
	height: 24px;
	margin-bottom: 3px;
	position: relative;
	background-color: white;
	background-size: contain;
	background-repeat: no-repeat;
	cursor: pointer;
	border-radius: 50%;
    border: 1px solid #808285;
    behavior: url(PIE.htc);
}

#map-control-zoom-in {
	background-image: url(../../imgs/controls/zoom-in.png);

}

#map-control-zoom-in:hover {
	background-image: url(../../imgs/controls/zoom-in-hover.png);
}

#map-control-zoom-out {
	background-image: url(../../imgs/controls/zoom-out.png);
}

#map-control-zoom-out:hover {
	background-image: url(../../imgs/controls/zoom-out-hover.png);
}

/* -------------------------- BOOTSTRAP OVERRIDE -------------------------- */

.icon-bar {
  background-color: rgba(66, 65, 67, 1) !important;
}

.top-sidebar{
    padding-top: 15px;
}

.circle {
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
}

.basemap {
	width: 100px;
	height: 100px;

}

.cor-valido {
    color: #4caf50 !important;
}

.cor-invalido {
    color: #e51c23 !important;
}


.sortable{
    background-repeat: no-repeat;
    background-position: right;
}


.modal-backdrop {
  z-index: 10000 !important;
}

.modal {
  z-index: 10001 !important;
}


.bootbox {
	z-index: 100000 !important;
}

.pin-label {
    margin-top: 2px;
    width: 90px;
	padding: 2px;
    background: #dc0032;
    color: white;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    -webkit-box-shadow: 0 0 5px #FFFFFF;
	font-size: 10px !important;
    box-shadow: 0 0 3px #FFFFFF;
	opacity:.80;
	filter: alpha(opacity=80);
    text-align: center
}

.no-padding-left {
    padding-left: 0 !important;
}

.none{
    display:none;
}

.pointer{
    cursor: pointer;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
}

.readonly-select {
	box-shadow: inset 0 -1px 0 rgba(221, 221, 221, 0) !important;
	background-image: url('') !important;
	cursor: auto !important;
	background-color: rgba(0, 0, 0, 0) !important;
}

.readonly-input {
	border-bottom: 0 solid transparent !important;
    box-shadow: none  !important;
}

#app-admin-area {
	height: 100%;
    overflow-y: auto;
}

#app-sponsors{
    bottom: 0px;
    position: absolute;
    -webkit-box-shadow: 0 -1px 2px rgba(0,0,0,.4);
    box-shadow: 0 -1px 2px rgba(0,0,0,.4);
    padding-top: 4px;
    height: 32px;
    background-color: white;
}

#app-sponsors img{
	width: 23%;
	margin-left: 1.6%;
}

.font-normal {
	font-size: 11px;
	font-weight: normal;
	margin: 0 !important;
}

.panel-title {
	font-size: 13px;
}

.panel-title > a:hover {
	text-decoration: none !important;
}

.popover {
    font-size: 11px !important;
}

.fa {
	width: 10px !important;
}

#app-body {
	padding-left: 0;
	padding-right: 0;
	top: 56px;
	bottom: 0;
	left: 0;
	right: 0;
	position: absolute;

}

#app-body.left-sidebar.left-sidebar-small{
	left: 0px;
}
#app-body.right-sidebar {
	right: 250px;
}

#app-body.footer-bar {
	bottom: 250px;
}

#app-body.right-sidebar-sumary{
	right: 250px;
}

#app-body.right-sidebar.right-sidebar-sumary{
	right: 500px;
}


/* -- MAIN SIDEBARS -- */

/*para apagar*/
#app-sidebar-left,
#app-sidebar-right-1,
#app-sidebar-right-2 {
	top: 60px;
	bottom: 0;
	width: 250px;
	z-index: 1000;
	position: fixed;
	overflow-y: hidden;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;

}

.app-sidebar{
	top: 0;
	height: 100%;
	z-index: 1000;
	position: relative;
	overflow-y: auto;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all .5s ease;
	width: 250px;
}

.app-sidebar.open{
	/*width:250px;*/
}

.app-sidebar-right-close{
	right:-250px;
}



.app-sidebar-left {
	float:left;
}

.app-sidebar-right {
	float:right;
}

#app-sidebar-left.footer-bar{
	bottom: 250px;
}

#app-sidebar-right-2 {
	width: 250px;
	right: -250px;/* more 15*2 because of padding */
}
#app-sidebar-right-1.open-sumary{
	right: 500px;
}
#app-sidebar-right-2.open-sumary{
	right: 0px;
}

#app-sidebar-right-2.open-sumary{
	right: 0px;
}

#app-sidebar-right-2.footer-bar{
	bottom: 250px;
}

#app-sidebar-right-1.footer-bar{
	bottom: 250px;
}


.app-sidebar-left.app-sidebar-left-small{
	width: 70px;
    position: absolute;
    background: transparent;
    top: 0;
    height: auto;
    float: none;
    padding-bottom: 50px;
}

.app-sidebar-left.app-sidebar-left-small .layergroup-item{
	height: auto;
}

.app-sidebar-left.app-sidebar-left-small .layer-toggle{
	margin: 7px 10px 3px 10px;
	float: left;
}
.app-sidebar-left.app-sidebar-left-small .layer-name{
	width: 100%;
	text-align: center;
	font-weight: bold;
	float: left;
}

.app-sidebar-left.app-sidebar-left-small .panel-heading {
	display: none;
}

.app-sidebar-left.app-sidebar-left-small .panel{
	background-color: transparent;
	-webkit-box-shadow: none;
    box-shadow: none;
}

.app-sidebar-left.app-sidebar-left-small .layer-btns{
	display: none;
}

#app-buttonsPanel1.buttons-panel-small{
	left: 80px;
	top: 20px;
}

.app-sidebar-left.app-sidebar-left-small #app-sponsors{
	display: none;
}


#app-body.right-sidebar #app-sidebar-right-1 {

	width: 250px;
	overflow-y: auto;
	overflow-x: hidden;

}

/* -- MAIN WORKSPACE -- */

#app-workspace {
	left: 0;
	height: 100%;
	position: relative;
	overflow-y: hidden;
	top: 0;
	bottom: 0;
}


#app-body.right-sidebar #app-workspace {
	position: absolute;
}

#app-footer #app-workspace {
	position: absolute;
}


#app-footer{
	overflow: visible;
	width: 100%;
	height: 250px;
	bottom: -250px;
	position: fixed;
	left: 0;
	z-index: 1000;
	background-color: white;
	border-top: 1px solid #ddd;
}
#app-footer #footer-close{
	position: fixed;
    bottom: 205px;
    right: 15px;
    width: 80px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
	background: #fff;
	display: none;
}
#app-footer.open-footer{
	bottom: 0px;
}
#app-footer .footer-workspace{
	width: 99%;
	display: none;
}

#app-footer .bootstrap-table{
	margin-left: 10px;
	margin-top: 5px;
}

 #app-footer .footer-workspace nav{
	margin-top: 10px;
}
 #app-footer .footer-workspace nav ul,  #app-footer .footer-workspace nav span{
 	margin-top: 0;
 	margin-bottom: 0;
 }
 #app-footer .footer-workspace nav span{
 	margin-top: 10px;
 }

th.order-field{
	cursor: pointer;
}

.fixed-table-footer, .fixed-table-header{
	overflow: hidden;
}

.footer-workspace #export-attributes-table-results{
	position: fixed;
	right: 10px;
	bottom: 23px;
}

.fixed-table-container #attributestable > tbody td{
    /* border-left: 0 !important; */
    border-right: 1px solid #ddd !important;
}
.fixed-table-container #attributestable > tbody td:last-child{
	border-right: 0 !important;
}
.calendar-table th, .calendar-table td{
	border: 0 !important;
}

.footer-workspace .bootstrap-select.btn-group .dropdown-menu.inner{
    max-height: 120px;
    overflow: auto;
}

.attributes-table-load{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 250px;
	z-index: -1;
}

.summary-load{
	position: relative;
	width: 100%;
	height: 80px;
	text-align: center;
}

#app-sidebar-right-2 .table-bordered>tbody>tr>td {
	border-bottom: 0;
}

.list-group-item-filter{
	border:0px;
	background-color: transparent;
	padding: 5px 15px;
	font-size: 0.9em!important;
}

.list-group-item-filter input, .list-group-item-filter select, .list-group-item-filter .btn-xs{
	background-color: transparent;
	font-size: 0.9em!important;
	line-height: 1;

}
.list-group-item-filter select, .list-group-item-filter .btn-xs {
	text-transform: capitalize;

}

.short-label{
	font-size: 0.9em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
	/*text-transform: capitalize;*/
}



/*class google que esconde os hiperlinks que apomtam para a aplicação google maps*/ 
.view-link{
	display:none !important;
}

.filter-vertical{
	padding: 5px 8px 5px 8px;
}

.list-group{
	margin-bottom: 0px;
}

.layer-relative, .layergroup-section, .panel-group {
	position: relative;
}
.panel-layer{
	background-color: #fff!important;
	display: inline-flex;
	width: 100%;
}
.layer-relative .panel-group{
	margin-bottom: 0;
}

.panel-body-filters .panel-body{
	padding: 0;
}

#tool-directions-panel .app-sidebar-panel-header{
	height: auto !important;
}
#tool-directions-panel .panel-body{
	top: 106px;
	overflow: hidden;
	bottom: 0;
}

#tool-directions-panel .panel-route{
	overflow: auto;
	height: 100%;
    padding-bottom: 40px !important;
}

#directions-locations,
#directions-modes{
	width: 100%;
	float: left;
	text-align: center;
}

#directions-locations{
	padding: 0 10px 0 10px;
	box-sizing: border-box;
	margin-top: 7px;
	margin-bottom: 10px;
}

#directions-locations input{
	border: 0px;
	background:#fff;
	width: 85%;
	float: left;
	color: #000;
	height: 25px;
	box-sizing: border-box;
	padding: 0 5px 0 5px;
}

.directions-locate-me{
	width: 15%;
	float: left;
	color: #fff;
	height: 25px;
	font-size: 12px;
}

.directions-mode{
	width: 25%;
	float: left;
	text-align: center;
	font-size: 20px;
}
.directions-mode:hover{
	background: #333;
}
.directions-mode.active{
	background: #fff;
}
.directions-mode.active i{
 	color: #000;
}
.directions-mode i{
	font-size: 22px;
}
#print-directions  .adp-legal,
#tool-directions-panel .panel-body .adp-legal{
	display: none;
}

#tool-directions-panel .panel-body .adp-placemark{
	margin-bottom: 0;
}

#print-directions #map{
	height: 300px;
	width: 100%;
	margin-bottom: 10px;
}
#print-directions .adp-directions{
	width: 100%;
}
#print-directions .modal-footer{
	display: none;
}

#print-buttons{
	width: 100%;
	padding: 0 0 15px 0;
}

#print-directions #to-print{
	width: 100%;
}

.large-print{
	width: 730px;
}
#arrive-settings select{
	font-size: 12px;
}
#arrive-settings select,
#arrive-settings input{
	width: 100%;
	border: 0px;
	margin-top: 10px;
	margin-left: 5px;
}

input[disabled].form-control, input[readonly].form-control, input[type=email][disabled], input[type=email][readonly], input[type=number][disabled], input[type=number][readonly], input[type=password][disabled], input[type=password][readonly], input[type=text][disabled], input[type=text][readonly], textarea[disabled].form-control, textarea[readonly].form-control, textarea[disabled], textarea[readonly]{
	pointer-events: none!important;
}

.btn-search-mobile{
    /* line-height: 40px; */
    margin-right: 15px;
    /* height: inherit; */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}


/*IPAD*/
@media (min-width:1024px){
	#app-header .material-icons{
		font-size: 25px !important;
	}


}


/*@media (min-width:800px){*/
@media (min-width:1024px){
	#layers-identify-panel{
		/*flex: 0 0 auto;*/
	 /* only manually resize */
	 width: 250px;
	 min-width: 250px;
	 max-width: 500px;
	 /*white-space: nowrap;*/
	 /*display: inline-block;*/
	}

	#app-map{
		flex: 1 1 auto;
	 /* resizable */
	 /*padding: 10px;*/
	 width: 100%;
	 /*min-height: 200px;
	 min-width: 200px;
	 background: #eee;*/
	}

	#layers-identify-accordion{
		/*display: inline-block;
		position: absolute;*/
		position: relative;
	}

	.splitter {
	  flex: 0 0 auto;
	  width: 6px;
	  background: #535353;
	  height: 100%;
	  cursor: col-resize;
	  touch-action: none;
		/*position: relative;*/
		z-index: 0;
		display: inline-block;
		}
	}




@media (max-width:800px){
/*@media (max-width:1024px){*/
	.large-print {
    	width: 100%!important;
	}
	.app-sidebar{
		top:-40px;
		background: white;
	}
	.navbar {
		height: 40px !important;
	}
	/*#app-sponsors{
		position: fixed;
	}*/
	#app-body {
		top:40px;
		padding:0px;
	}

	#app-header {
		z-index: 1;
	}
	#main-user-menu
	{
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
		margin-top: 5px;
		margin-right: 5px;
	}

	#main-user-menu .circle{
		/*height: 40px!important;
		width: 40px!important;*/
	}

	.user-name-mobile {
		margin-top: 10px;
	}
}


.daterangepicker .input-mini{
	padding: 0 6px 0 28px !important;
}


.app-sidebar-panel-body .bootstrap-select .dropdown-menu.open{
	width: 100%;
	z-index: 100010;
	position: relative;
	top: 0%;
}

.app-sidebar-panel-body .bootstrap-select .dropdown-menu li a span.text{
	margin-right: 0px !important;
}

.app-sidebar-panel-body  .bootstrap-select  .dropdown-menu>li>a{
	white-space: normal;
}


.filter-option, .filter-min-numb, .filter-max-numb {
	font-size: 0.9em !important;	
} 

span.text{
	font-size: 0.9em !important;	
	width: 180px !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.filter-vertical select{
	height: 15px;
	font-size: 11px !important;
}

.filter-vertical label{
	font-size: 11px !important;
}

.filter-vertical input{
	font-size: 11px !important;
}

.table-filter-select input{
	font-size: 10px !important;
}



.bootstrap-select.btn-group .dropdown-menu li a span.text{
	width: 100% !important;
}


.bootstrap-select.btn-group .dropdown-menu li .glyphicon {
    position: absolute !important;
    top: 8px !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
     white-space: initial;
}


/* Alert Component*/
#app-alert {
	right: 10px;
	position: fixed;	
	overflow-y: hidden;
	z-index: 10000;
	max-width: calc(100% - 18px);
}

#app-alert.open + #app-workspace {
	top: 70px;
	width: 400px;
  top: 9px;
  height: calc(100% - 60px);
}

.bs-title-option{
	display: none;
}

#appbuilder-multi-edit-form {
	margin-bottom: 20px;
}
#appbuilder-multi-edit-form .appbuilder-multi-edit-field-remove{
	margin-top: 7px;
	cursor: pointer;
	display: none;
}

#appbuilder-multi-edit-form .control-label {
	display: none;
}

#appbuilder-multi-edit-form .input-sm{
	height: 37px;
}

#appbuilder-multi-edit-form .form-group{
	margin: 0 !important;
}
#appbuilder-multi-edit-form .appbuilder-multi-edit-row{
	margin-top: 10px;
	margin-bottom: 10px;
}


#appbuilder-multi-edit-form .formcontrol-input,
#appbuilder-multi-edit-form .formcontrol-datepicker,
#appbuilder-multi-edit-form .formcontrol-user,
#appbuilder-multi-edit-form .formcontrol-select,
#appbuilder-multi-edit-form .formcontrol-select-multiple,
#appbuilder-multi-edit-form .formcontrol-textarea,
#appbuilder-multi-edit-form .formcontrol-select-datetimepicker,
#appbuilder-multi-edit-form .formcontrol-timepicker{
	padding: 0 !important;
}

#appbuilder-multi-edit-form .btn-addNotes{
	right: 5px !important;
}

#appbuilder-multi-edit-form .btn-viewNotes{
	display: none;
}

#appbuilder-multi-edit-form .btn-addSelectDate{
	top: 6px !important;
	right: 5px !important;
}

#appbuilder-multi-edit-form .layer-feature-form-selectdatetimepicker-bot{
	margin-top: 0 !important;
}

.tool-select-layer-group .bootstrap-select .btn{
	height: 29px;
	line-height: 1;
}

.tool-select-layer-group .popover-title{
	padding: 3px 2rem;
	font-size: small;
	font-weight: bold;
	background-color: white;
	color: #bbb;
}

.tool-select-layer-group .popover-title button{
	display:none;
}

.btn-multi-select-delete{
	position: absolute;
    top: 18px;
    right: 8px;
}

.bootstrap-select.filter-select-multiple>.dropdown-toggle.bs-placeholder,
.bootstrap-select.filter-select>.dropdown-toggle.bs-placeholder{
	color: #444 !important;
	font-size: 1rem !important;
}