/*
COLORES CONSEJO
rosa: #f5f1ec;
gris fondo: #e9e3d8;
rojo texto: #85002a; aquest: #A50135;
gris texto: #756154;

*/


/* -- common ------------ */
.btn-rgga.active {
    color: rgba(255, 255, 255, 0.75);
}
.btn-rgga-adv,
.btn-rgga {
    color: #ffffff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #85002a;
    *background-color: #85002a;
    background-image: -moz-linear-gradient(top, #c0003d, #85002a);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#c0003d), to(#85002a));
    background-image: -webkit-linear-gradient(top, #c0003d, #85002a);
    background-image: -o-linear-gradient(top, #c0003d, #85002a);
    background-image: linear-gradient(to bottom, #c0003d, #85002a);
    background-repeat: repeat-x;
    border-color: #85002a #85002a #002a80;
    border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc0003d', endColorstr='#ff88bd4b', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.btn-rgga-adv:hover,
.btn-rgga-adv:active,
.btn-rgga-adv.active,
.btn-rgga-adv.disabled,
.btn-rgga-adv[disabled],
.btn-rgga:hover,
.btn-rgga:active,
.btn-rgga.active,
.btn-rgga.disabled,
.btn-rgga[disabled] {
    color: #ffffff;
    background-color: #85002a;
    *background-color: #85002a;
}

.btn-rgga-adv:active,
.btn-rgga-adv.active,
.btn-rgga:active,
.btn-rgga.active {
    background-color: #650020;
}


a, a:active, a:hover, a:visited {
    color: #A50135;
    text-decoration: underline;
}

.debugmsg {
    position: absolute; 
    right: 0px; 
    top: 0px; 
    font-family: Menlo, Monaco, Consolas, Courier;	
    font-size: 11px; 
    font-weight: bold; 
    background-color: #000000; 
    color: #f4f4f4; 
}

.pagination {
    padding-top: 25px;
}

.text-align-right {
    text-align: right;
}

/* -- main ------------ */
body {
    background-color: #e9e3d8;
}

#mainContainer {
    padding: 15px 0px 40px 0px;
}

#browserHelp {
    font-size: 10px;
    text-align: center;
    color: #888888;
}

/* -- header ------------ */
#header {
    /*padding: 5px 0px 5px 0px;
    margin: 0px 0px 35px -10px;
    border-bottom: 1px solid #aaaaaa;*/
    height: 136px; /*141px;*/
    margin-bottom: 5px;
}

#mainContainer > .row:first-child > div {
    background: url('../img/bg-cabecera-menu.png');
    margin-bottom: 5px;
}

#header #headerLogo {
    text-align: center;
    padding-top: 25px;
    background-color: #f5f1ec;
    height: 116px;
}

#header #headerText {
    /*font-size: 30px;
    margin: 25px 0px 0px 15px;
    color: #555555;*/
    /*background: url('/assets/images/bg-cabecera-menu.png');*/
    color: white;
    height: 141px;
    /*margin-left: 0px;
    padding-right: 30px;*/
}

#header #headerText div {
    font-size: 24px;
    margin-top: 55px;
    margin-left: 20px;	
}

#mainContent {
    background-color: #f5f1ec; 
    padding-top: 30px;
    padding-bottom: 30px;                   	
}


/* -- Footer ------------ */
#footer {
    background-color: white;
    margin-top: 10px;
    padding-top: 10px;
    padding-bottom: 10px;	
}

.footerLogo {
    float: left;
    margin-right: 15px;
}




/* -- Search form ------------ */
#simpleSearch #searchString {
    font-size: 24px;
    height: 32px;
}

#simpleSearch #locationString {
    font-size: 24px;
    height: 32px;
}

#simpleSearch label {
    color: #666666;
    margin-left: 3px;
}

#advancedSearch {
    display: none;
}

#advancedSearchForm {
    margin: 0;
}

#advancedSearchForm .add-on {
    height: 32px;
}

#advancedSearchForm #locationArrow {
    width: 28px;
    height: 29px;
    float: left;
    margin-right: 7px;
    margin-top: 30px;
}

#searchBtnRow {
    margin-top: 10px;
    text-align: center;
}

#advancedFormToggle {
    margin-top: 10px;
    float: right;
    color: #666666;
    font-size: 12px;
}

#advancedFormToggle > div {
    /*text-align: right;*/
}

#advancedFormToggle > div > a {
    color: #666666;
    text-decoration: none;
}


/* -- Search results ------------ */
#mapContainer {
    height: 370px;
    width: 470px;
}

#mapContainer.affix {
    top: 10px;
}

#map_canvas { 
    width: 100%;
    height: 100%;
    /*width: 500px;
    height: 500px;*/
}

#resultsColumn {
    /*margin: -10px 0px 0px 0px;*/
    margin-top: -10px;
    /*padding-left: 45px;*/
}

#resultsColumn > .row {
    padding-left: 10px;
}

#mapColumn {
    margin: 0px 5px 0px 0px;
    /*padding-left: 10px;*/
    float: right;
}

#searchResultsTitle {
    padding: 0px 0px 25px 10px;
}

#searchResultsTitle h2 {
    color: #A50135;
}

#searchResultsTitle h3 {
    color: #A50135;
}

#searchResultsTitle h4 {
    color: #A50135;
    margin-top: -10px;
}

#searchResultsTitle h6 {
    color: #A50135;
}

.hruler {
    border-top: 1px solid #c0c0c0;	
    margin-top: 10px;
}

.resultadoGestor {
    padding: 10px 0px 10px 0px;
    /*border-top: 1px solid #e0e0e0;*/
}

.resultadoGestor .nombre {
    font-size: 24px;
    line-height: 1;
}

.resultadoGestor .nombre a,
.resultadoGestor .nombre a:active,
.resultadoGestor .nombre a:hover {
    text-decoration: none;
    color: #515151;
}

.resultadoGestor .sociedad {
    font-size: 18px;
    margin-top: 10px;
}

.resultadoGestor .colegio {
    font-size: 11px;
    margin-top: 5px;
    color: #808080;	
}

.resultadoGestor .index {
    font-size: 24px;
    color: #c01213;
    text-align: right;
}

.resultadoGestor .contactData {
    text-align: right;
}

.resultadoGestor .contactDataCDM {
    text-align: left;
}

.resultadoGestor .direccion {
    padding-top: 15px;
}

.resultadoGestor .direccion .direccionItem {

}

.resultadoGestor .especialidades {
    padding-top: 25px;
}

/* -- Biciregistro -- */
.resultadoGestorBr {
    /*padding: 0px 0px 0px 0px;
    border-top: 1px solid #e0e0e0;*/
}

.resultadoGestorBr .nombre {
    font-size: 18px;
    line-height: 1;
}

.resultadoGestorBr .nombre a,
.resultadoGestorBr .nombre a:active,
.resultadoGestorBr .nombre a:hover {
    text-decoration: none;
    color: #515151;
}

.resultadoGestorBr .sociedad {
    font-size: 18px;
    margin-top: 10px;
}

.resultadoGestorBr .colegio {
    font-size: 11px;
    margin-top: 5px;
    color: #808080;	
}

.resultadoGestorBr .index {
    font-size: 12px;
    color: #c01213;
    text-align: right;
}

.resultadoGestorBr .contactData {
    text-align: right;
}

.resultadoGestorBr .contactDataCDM {
    font-size: 12px;
    text-align: left;
}

.resultadoGestorBr .direccion {
    padding-top: 15px;
}

.resultadoGestorBr .direccion .direccionItem {

}

.resultadoGestorBr .especialidades {
    padding-top: 25px;
}


/* -- Table class -- */
.table {
    background:#333;
}
.table ul {
    float:left;
    margin:0;
    padding:0;
    border:1px solid #C9C9C9;
}
.table ul li {
    list-style:none;
    padding:5px 10px;
}
.table ul li.titleHidden {
    display:none;
    overflow:hidden;
}
.table ul li.title {
    font-weight:bold;
    background:#85002f;
    color:#fff;
}
.table ul li.even {
    background:#fff;
}
.table ul li.odd {
    background:#FFFFE6;
}
.report {
    a:link {text-decoration:none;}    /* unvisited link */
    a:visited {text-decoration:none;} /* visited link */
    a:hover {text-decoration:underline;}   /* mouse over link */
    a:active {text-decoration:underline;}  /* selected link */
}
/* -- Embedded form in search results page -- 
#searchResultsForm legend {
        display: none;
}*/

#searchResultsForm .well {
    padding-bottom: 3px;
    padding-top: 10px;	
}

#searchResultsForm #advancedFormToggle {
    margin-top: 0px;
}


/* -- Popover mapa ------------ */
.gestorInfoWindow .nombre,
.gestorInfoWindow .nombre a,
.gestorInfoWindow .nombre a:active,
.gestorInfoWindow .nombre a:hover,
.gestorInfoWindow .nombre a:visited {
    font-size: 17px;
    color: #505050;
    text-decoration: none;
}

.gestorInfoWindow .especialidades {
    margin-top: 10px;
}

.gestorInfoWindow .additionalInfo {
    font-size: 12px;
    margin-top: 15px;
    line-height: 1.4;
}

/* -- Ficha gestor ------------ */

#fichaGestor {
    padding-left: 20px;
}

#mapaGestor {
    margin-left: 0px;
}

#fichaGestor .header {
    font-size: 19px;
    color:fichaGestorCabcera;	
    padding-top: 20px;
    padding-bottom: 5px;	
}

#fichaGestor .volver {
    margin-bottom: 15px;
    font-size: 12px;
}

#fichaGestor .nombre {
    font-size: 26px;
    line-height: 1;
}

#fichaGestor .sociedad {
    font-size: 16px;
    line-height: 1;
    margin-top: 7px;
    margin-bottom: 5px;
    color: #606060;
}

#fichaGestor .infoItem {
    font-size: 13px;
}

#fichaGestor .infoItem strong {
    color: #505050;
}

#fichaGestor .infoItem ul {
    list-style: none;
    margin-left: 0px;
}

#fichaGestor .infoItem .itemName {
    float: left;
    clear: left;
    width: 200px;
    font-weight: bold;
}

#fichaGestor .infoItem .itemValue {
    float: left;
}

#mapSwitch {
    margin-top: 15px;
    text-align: center;
}

/* -- Ficha gestor cabecera ------------ */

#fichaGestorCabecera {
    padding-left: 20px;
}

#fichaGestorCabecera .header {
    font-size: 19px;
    color: #756154;	
    padding-top: 20px;
    padding-bottom: 5px;	
}

#fichaGestorCabecera .volver {
    margin-bottom: 15px;
    font-size: 12px;
}

#fichaGestorCabecera .nombre {
    font-size: 26px;
    line-height: 1;
}

#fichaGestorCabecera .sociedad {
    font-size: 16px;
    line-height: 1;
    margin-top: 7px;
    margin-bottom: 5px;
    color: #606060;
}

#fichaGestorCabecera .infoItem {
    font-size: 13px;
}

#fichaGestorCabecera .infoItem strong {
    color: #505050;
}

#fichaGestorCabecera .infoItem ul {
    list-style: none;
    margin-left: 0px;
}

#fichaGestorCabecera .infoItem .itemName {
    float: left;
    clear: left;
    width: 200px;
    font-weight: bold;
}

#fichaGestorCabecera .infoItem .itemValue {
    float: left;
}

/* **************** Portrait mobile ******************** */
@media (max-width: 320px) {
    #header {
        height: 170px;
    }

    #header #headerLogo {
        padding-top: 15px;
    }

    #header #headerText {
        padding-top: 3px;
    }	

    #advancedSearchForm fieldset {
        width: 100%;
    }

    #advancedSearchForm #locationArrow {
        float: right;
    }

    #resultsColumn {
        padding-left: 15px;
        padding-right: 15px;
    }

    #mapColumn {
        padding-left: 10px;
    }

    #mapContainer {
        height: 400px;
    }

    #header #headerText div {
        margin-top: 0px;
        padding-top: 3px;
    }

    #mapContainer {
        width: 100%;
    }

    #mapContainer.affix {
        position: relative;
    }

    #locationString {
        width: 	75%;
    }	

    #simpleSearch label {
        height: auto;
    }			
}

/* **************** Mobile specific ******************** */
@media (min-width: 321px) and (max-width: 480px) {
    #header {
        height: 170px;
    }

    #header #headerLogo {
        padding-top: 15px;
    }

    #header #headerText {
        padding-top: 10px;
    }	

    #advancedSearchForm fieldset {
        width: 100%;
    }	

    #advancedSearchForm #locationArrow {
        float: right;
    }

    #resultsColumn {
        padding-left: 15px;
        padding-right: 15px;
    }

    #mapColumn {
        padding-left: 10px;
    }	

    #mapContainer {
        height: 400px;
    }

    #header #headerText div {
        margin-top: 0px;
        padding-top: 3px;
    }

    #mapContainer {
        width: 100%;
    }

    #mapContainer.affix {
        position: relative;
    }

    #locationString {
        width: 	75%;
    }	

    #simpleSearch label {
        height: auto;
    }			
}

/* **************** Landscape mobile ******************** */
@media (min-width: 481px) and (max-width: 767px) {
    #header {
        height: 150px;
    }

    #header #headerLogo {
        padding-top: 15px;
    }

    #resultsColumn {
        padding-left: 15px;
        padding-right: 15px;
    }

    #header #headerText div {
        margin-top: 0px;
        padding-top: 3px;
    }	

    #mapColumn {
        padding-left: 10px;
    }	

    #mapContainer {
        width: 100%;
    }

    #mapContainer.affix {
        position: relative;
    }	

    #locationString {
        width: 	auto;
    }		

    #simpleSearch label {
        height: auto;
    }	
}


/* **************** Tablet specific ******************** */
@media (min-width: 768px) and (max-width: 1024px) {
    #header #headerText {
        /*padding-right: 20px;*/
    }

    #resultsColumn {
        /*padding-left: 30px;*/
    }

    #mapColumn {
        padding-left: 5px;
    }

    #mapContainer {
        height: 228px;
        /*width: 288px;*/
        width: 100%;
    }

    #mapContainer.affix {
        width: 37%;
    }

    #locationString {
        width: 	115px;
    }	

    #simpleSearch label {
        height: 20px;
    }

    #advancedSearch input,
    #advancedSearch select {
        width: 150px;
    }
}


/* **************** Low-end res ******************** */
@media (min-width: 1025px) and (max-width: 1199px) {
    #header #headerText {
        padding-right: 20px;
    }

    #resultsColumn {
        /*padding-left: 30px;*/
    }

    #mapColumn {
        padding-left: 5px;
    }

    #mapContainer {
        height: 300px;
        width: 380px;
    }

    #locationString {
        width: 170px;
    }

    #simpleSearch label {
        height: auto;
    }

}