﻿body 
{
    overflow: hidden;   
}

.sidebar 
{
    position: relative;
    z-index: 10; 
    width: 430px;
    background-color: #ffffff; 
    min-height: 1px;        
    margin-left: 0px; 
    /*margin-top: 5px;*/ 
    margin-right: 2px; 
    padding-top: 5px; 
    padding-left: 5px;    
}
.sidebar-large 
{
    width: 600px;   
}
.sidebar-medium 
{
    width: 500px;   
}
.sidebar .nav-tabs 
{
    margin-bottom: 0px;   
}
.sidebar .tab-content
{
    height: 430px; 
    overflow-x: hidden;
    overflow-y: scroll; 
    padding-top: 5px; 
    padding-right: 3px; 
    margin-top: 1px;
    margin-bottom: 1px;

}

.layers-header 
{
    background-color: #F2F2F2;
    padding-top: 5px;
}

.map-panel
{
    /*float: left;*/
    /*position: relative;
    top: 10px;
    left: 400px;*/
    position: absolute;
    top: 40px;
    left: 408px;
    min-height: 1px;          
    height: 500px;
    margin-left: 0px
}

.olControlAttribution 
{
    bottom: 2.5em !important;   
}


.x-tree-icon-leaf {
    width: 16px;
    background-image: url('../Content/glyphicons-halflings.png') !important;
    background-position: -264px -24px;
}

.results-row:hover 
{
    background-color: #F2F2F2;
} 

.results-row.highlighted
{
    background-color: #F2F2F2;
} 


/* -------------------------------------------- */
/* -------------- Image Gallery---------------- */
/* -------------------------------------------- */

#modalGallery 
{
    width: 680px;    
}    

#modalGallery .modal-header 
{
    padding-top: 5px;   
}    

#modalGallery .modal-body 
{
    padding: 10px;
    overflow-x: hidden;
    max-height: 500px;
}

#modalGallery .modal-body>.container 
{
    max-width: 100%;
}    

#modalGallery .img-gallery {
    width: 100%;
    text-align: center;
}

#modalGallery .img-gallery>img {
    max-width:600px;
    max-height: 350px;
}    

#modalGallery .carousel {
	margin: 0;
	padding: 0;
}

#modalGallery .carousel-inner
{
    margin-left: 20px !important;
    margin-right: 20px !important;
}    

#modalGallery .carousel-control 
{
    line-height: 14px;
    width: 20px;
    height: 20px;
    font-size: 30px;   
    top: 60%; 
    
    /*position: absolute;
    top: 40%;
    left: 15px;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    font-size: 60px;
    font-weight: 100;
    line-height: 30px;
    color: #fff;
    text-align: center;
    background: #222;
    border: 3px solid #fff;
    -webkit-border-radius: 23px;
    -moz-border-radius: 23px;
    border-radius: 23px;
    opacity: .5;
    filter: alpha(opacity=50);*/
}

#modalGallery .carousel-control.left {
	/*left: -12px;*/
	left: -5px;

}
#modalGallery .carousel-control.right {
	/*right: -12px;*/
	right: -5px;
}

#modalGallery .carousel-indicators {
	right: 50%;
	top: auto;
	bottom: 0px;
	margin-right: -19px;
}

#modalGallery .carousel-indicators li {
	background: #c0c0c0;
}

#modalGallery .carousel-indicators .active {
    background: #333333;
}

#modalGallery .well 
{
    padding: 5px 5px 5px 5px;
    margin-bottom: 10px;
 
}

#modalGallery a.thumbnail 
{
    width: 90px;
    height: 60px;
}   

#modalGallery .thumbnail>img {
    max-width: 80px !important;
    max-height: 80px !important;  
    min-width: 80px !important;   
}



/* -------------------------------------------- */
/* --------------- Results --------------------- */
/* -------------------------------------------- */

.results-data 
{
    margin-top: 10px;   
}

.results-data .results-row > div 
{
    margin-left: 20px;
    margin-bottom: 10px; 
}   

.results-data .results-row > div > a 
{
    font-size: 115%;    
}    

.results-group-header {
    background-color: darkcyan;
    color: white;
    padding: 4px 7px;
    margin-bottom: 2px;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.results-item {
    padding: 4px 7px;
    margin-bottom: 2px;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    min-height: 100px;
}

.results-item.highlighted {
    background-color: #f1f1f1;
}

.results-photo-area 
{
    margin-top: 6px; 
    position: relative; 
    float: right;  
    text-align: center;
}
.results-photo-area div:first-child {
    padding: 2px;
    border: 1px solid #e5e5e5;  
}   

.results-photo-area img 
{
    max-width: 80px;
    max-height: 80px;       
}

.results-photo-area a 
{
    font-size: 0.8em;  
}    

.result-title-area 
{
    font-size: 1.2em;   
}

.results-address-area
{
    margin-top: 5px;
}    

.results-data-area 
{
    margin-top: 5px;
}    

.results-total-records 
{
    width: 100%;
    text-align: center;
    line-height: 20px;
    margin-top: 5px; 
    margin-bottom: 2px; 
    border-top: solid 1px #e5e5e5;
    border-bottom: solid 1px #e5e5e5;
}    

.pagination 
{
    padding-left: 0px !important;   
    margin: 5px 0 !important; 
}  

[class^="icon-adv-"], [class*=" icon-adv-"]
{
    background-size: 12px 12px;
    background-position: 0px 0px !important;
    background-repeat: no-repeat;        
}

.icon-adv-phone 
{
    background-image: url("icons/glyphicons_442_earphone.png") !important;       
}
.icon-adv-mobile 
{
    background-size: 8px 12px !important;
    background-image: url("icons/glyphicons_163_iphone.png") !important;
}     
.icon-adv-vector-line
{
    background-size: 14px 14px !important;
    background-image: url("icons/glyphicons_097_vector_path_line.png") !important;
}
.icon-adv-vector-polygon
{
    background-size: 14px 14px !important;
    background-image: url("icons/glyphicons_096_vector_path_polygon.png") !important;
}
.icon-adv-vector-rectangle
{
    background-size: 14px 14px !important;
    background-image: url("icons/glyphicons_094_vector_path_square.png") !important;
} 
.icon-adv-scissors
{
    background-size: 14px 14px !important;
    background-image: url("icons/glyphicons_000_scissors.png") !important;
}
.icon-adv-multibanco
{
    background-size: 14px 14px !important;
    background-image: url("icons/multibanco.png") !important;
} 

.icon-adv-excel
{
    background-size: 14px 14px !important;
    background-image: url("icons/Excel-icon.png") !important;
} 

.invalid-value 
{
    background-color: #f2dede !important;
}


.olPopup img 
{
    max-width: none !important;   
}


/*-------------- GXP and Geoext --------------------*/

.icon-addlayers, .gp-icon-addlayers {
    background-image: url("icons/map/add.png") !important;
}

.gp-icon-addserver {
    background-image: url("icons/map/server_add.png") !important;
}

.gp-icon-zoom-to {
    background-image: url("icons/map/magnifier.png") !important;
}

.gp-icon-properties {
    background-image: url("icons/map/palette.png") !important;
}

.gp-icon-removelayers {
    background-image: url("icons/map/delete.png") !important;
}

.x-form-text {
    padding: 1px 5px !important;
    margin-bottom: 0px !important;
    -webkit-border-radius: 0px !important;
    border-radius: 0px 0px !important;   
}

.ext-strict .ext-webkit .x-small-editor .x-form-text {
    height: 16px !important;
    font-size: 12px;
}

legend.x-fieldset-header {
    width: initial !important;
    margin-bottom: 0px !important;
    border-bottom: none !important;
}

label.x-form-item-label {
    font-size: 12px;
    margin-bottom: initial;
}

textarea.x-form-textarea {
    background-color: #ffffff !important;
}

input[type='text'].x-form-text {
    font-size: 12px;
}

label.gxp-layerproperties-label {
    font-size: 12px;      
}

.list-scalemenubar {
    font-size:11px !important;
}

label.x-form-cb-label {
    display: inline !important;
}

caption.featureInfo {
	padding: 5px;
}

table.featureInfo th {
	background-color: #a5a5a5;
	color: white;
	border: 1px solid #ffffff;
	padding: 5px;
	font-weight: bold
}

table.featureInfo td {
    border: 1px solid #a5a5a5;
    padding: 5px;	
}

.uploadedFileName{
    margin-left:10px !important;
}

.text-danger {
    color: #a94442;
}

.text-success {
    color: #3c763d;
}

#collapseSidebar{
    float:right;
    cursor:pointer;
}

#collapsedSidebar{
    display:none;
}

.sidebar-colapsed{
    display:none;
    width:50px;
}

span#ordenamentoAll, span#condicionantesAll{
    cursor:pointer;
    font-size:8pt;
}

/*--------------------------Mobiliario Urbano--------------*/
.list-field{
display:block;
}



/*size fix*/
#dynamiccontent {
    padding-bottom:60px;
}