/******************************
MODIFICACIONES MODALS
******************************/

.modal-header-danger {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #d9534f;
    border-radius: 5px 5px 0 0;
    color: #ffffff;
}

.modal-header-success {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #a8c855;
    border-radius: 5px 5px 0 0;
    color: #ffffff;
}

.modal-header-warning {
    min-height: 16.42857143px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
    background-color: #f0ad4e;
    border-radius: 5px 5px 0 0;
    color: #ffffff;
}

.close_white_danger {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #d9534f;
    cursor: pointer;
}

.close_white_success {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #a8c855;
    cursor: pointer;
}

.close_white_warning {
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    background-color: #f0ad4e;
    cursor: pointer;
}

/**********************************
CORTE DE TEXTO EN TABLAS TABLET
***********************************/


    .texto_corto_tabla {
        width: 95%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 150px;
    }

/******************************
MENU BOOTSTRAP MULTILEVEL
******************************/

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

/******************************
INDEX PAGE HEADINGS
******************************/

.h2_index {
    color: #5cb85c;
    text-align: center;
    margin-bottom: 20px;
}

.btn_navbar {
    margin-right: 20px;
}

/******************************
INDEX PAGE BODY
******************************/

.login_container {
    margin: 40px auto;
    width: 250px;
}

/******************************
ADMIN PAGE BODY
******************************/

.h2_logged {
    color: #5cb85c;
    margin-bottom: 15px;
}

.h4_logged {
    color: grey;
    margin-bottom: 10px;
}

#mapcanvas {
    width: 100%;
    height: 200px;
}

.top_space {
    margin-top: 20px;
}

.bot_space {
    margin-bottom: 20px;
}

.right_space {
    margin-right: 5px;
}

.bottom_margin {
    height: 100px;
}

.size_button {
    height: 38px;
    width: 40px;

}

.short_button {
    width: 300px;
}

.big_form {
    height: 50px;
}

#capaexpansion {
    display: none;
}

.space {
    margin-left: 10px;
}


/**********************************
MENSAJES REGISTRO GUARDADO O ERROR
***********************************/

#textomuestra, #textomuestraerror{
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -100px;
    margin-left: -400px;
    width: 800px;
    background-color: #ccffcc;
    opacity:0.8;
    padding: 20px 0 20px 0;
    color: #5cb85c;
    font-size: 3em;
    font-weight: bold;
    z-index: 1000;
    text-align: center;
    border-radius: 20px;
}
@media (max-width: 600px) {
    #textomuestra, #textomuestraerror{
        margin-left: -150px;
        width: 300px;
        font-size: 1.2em;
    }
}
#textomuestraerror{
    margin-top: -150px;
    background-color: #9f0000;
    color: #fff;
    font-size: 3em;
}

/***************************************
BOT IMATGE - S'HA D'ARREGLAR
****************************************/

div.upload {
	width: 45px;
	height: 38px;
/*
	background: url(https://lh6.googleusercontent.com/-dqTIJRTqEAQ/UJaofTQm3hI/AAAAAAAABHo/w7ruR1SOIsA/s157/upload.png);
*/
	font-size: 15pt;
}


div.upload input {
	background-color: green;
    margin-top: -26px;
    margin-left: -12px;
	padding: 0;
	display: block !important;
	width: 45px !important;
	height: 35px !important;
	opacity: 0 !important;
	overflow: hidden !important;
}

/***************************************
MODIF. DEL BOTÓ RADIUS
****************************************/

#botonpruebafade_show {
    width: 1em;
    height: 1em;
}

.botogran {
    width: 1.1em;
    height: 1.1em;
    margin-top: 2px !important;
}

/***************************************
SUBTÍTOLS PASSOS FORMULARIS
****************************************/
.subtitolspassos{
	color: #aaa;
	padding-bottom: 10px;
	margin-bottom: 20px;
	border-bottom: 1px dotted #aaa;
}

/***********************************************
DADES PREGUNTES FORMULARI MODIFICACIÓ AUDITORIA
************************************************/
.dadespreguntes{
	font-size: .8em;
}

/***********************************************
LOGO IMPRESSIÓ PDF
************************************************/
#logoPDF a{
	float: right;
    right: 20px;
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-position: top center;
	text-decoration: none;
	background-image: url('../img/pdf.png');
}
#logoPDF a:hover{
	background-image: url('../img/pdfsobre.png');
}

/***********************************************
COLORS LABELS VALORACIONS
************************************************/
/*
.labelCorrecte{
	color: #5cb85c;
}
.labelNoSatisfactori{
	color: #428bca;
}
.labelDeficient{
	color: #f0ad4e;
}
.labelInacceptable{
	color: #d9534f;
}
*/
.labelCorrecte, .labelNoSatisfactori, .labelDeficient, .labelInacceptable{
	font-size: .9em;
	padding: 5px 10px;
    margin-left: -7px;
}

/***********************************************
COLOR BOTO PAS ENRERE
************************************************/
.botoEnrere{
	background-color: #aaa;
	border-color: #999;
}

/***********************************************
CAMPS REQUERITS
************************************************/
.requerit{
	color: #f00;
}


/***********************************************
Variacions quantitats Utillatges
************************************************/
.alinear{
    float: left;
}

/***********************************************
Quan no es fiquen preguntes a les inspeccions
************************************************/
.capIncidencia{
    color: #5cb85c;
}

/***********************************************
Totalitzacions per incidències via pública
************************************************/
#totalsVia{
/*    margin-top: 20px; */
    margin-bottom: 20px
}
#totalsVia table{
    margin-bottom: 20px;
    max-width: 500px;
}
#totalsVia th{
    font-weight: bold;
    font-size: 1em;
    background-color: #ccc;
    border: 1px solid #888;
    padding: 10px
}
#totalsVia td{
    font-size: .8em;
    border: 1px solid #888;
    padding: 5px 10px 5px 10px
}

/**********************************************
MODIFICICACIÓN DEL COLOR & ESTADOS BTN
**********************************************/

.btn-ambiens_blue {
    color: white;
    background-color: #004983;
}
.btn-ambiens_blue:hover {
    color: white;
    background-color: #0163b1;
}
.btn-ambiens_blue:active {
    color: white;
    background-color: #0163b1;
}

.btn-ambiens_blue:visited {
    color: white;
}

/*************************************
MODIFICACIÓN ESTILOS PAGINACIÓN
**************************************/
/* Per si es volen separar els botons
ul.pagination li a{
    margin-left: 3px;
    margin-right: 3px;
}
*/

ul.pagination li a.margen_derecho{
    margin-right: 5px;
}
ul.pagination li a.margen_izquierdo{
    margin-left: 5px;
}
.pagination{
    margin: 0;
}
ul.pagination li.disabled a{
    background-color: #eee;
}
ul.pagination li.disabled a:hover{
    background-color: #eee;
}
ul.pagination li.punts span{
    border-top: 0;
    border-bottom: 0;
    color: #777;
    background-color: transparent !important;
    border: 0;
}
ul.pagination li.punts span:hover{
    background-color: transparent;
}
ul.pagination li.punts span.texto_resultados{
    border-right: 0;
}
/*************************************
MODIFICACIÓN ESTILOS FORMULARI BUSQUEDA
**************************************/
.formulario{
    max-width: 350px !important;
    display: inline !important;
}
@media screen and (max-width: 650px){
    .formulario{
        max-width: 80% !important;
    }
}
@media screen and (max-width: 450px){
    .formulario{
        max-width: 75% !important;
    }
}
/*************************************
ESTILOS PARA IMPORTACIÓN
**************************************/
.error_importacion{
    color: #CD5C5C;
    border-bottom: 1px solid #555555;
}

/*************************************
ESTILO PARA PRECARGA
**************************************/
#pre-load-web{
    width: 100%;
    position: relative;
    left: 0;
    top: 0;
    z-index: 100000;
}
/*aqui centramos la imagen si coloco margin left -30 es por que la imagen mide 60 */
#pre-load-web #imagen-load{
    position: absolute;
    left: 50%;
    top: 50px;
    margin-left: -300px;
}