/**
*
* cdmeba.css
* Estilos css personalizados de la web de caritasmeba.es
*
*/

/* General */

body.site {
    border-top:0px !important;
    padding:0px;
}

.body .container-fluid {
    margin-left: auto;
    margin-right: auto;
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    background: #fff url(../images/fondo_cdmeba.png) no-repeat;
}

.header {
    margin-top: 10px;
}

.container-fluid {
    margin: 0px auto;
    max-width: 940px;
}

h1, h2, h3, h4, h5,
h1 a, h2 a, h3 a, h4 a, h5 a {
    color: #dd1634;
}


.footer h1, .footer h2, .footer h3, .footer h4, .footer h5,
.footer h1 a, .footer h2 a, .footer h3 a, .footer h4 a, .footer h5 a {
    color: #fff;
}

a:hover, a:active, a:focus {
/*    background: #7BA428;
    background: #f00;*/
    color: #a61027;
/*    background: transparent;*/
    cursor: pointer;
    text-decoration: none;
}

/* header search */

.header-search {
    width: 30%;
    margin-top: 20px;
}

.header-search .search {
    display: inline-block;
    margin-left: 30px;
    margin-top: 10px;
}

/* Menú principal */

.navigation {
    border-top: 0px;
    border-bottom: 0px;
    text-align: center;
}

.navigation .nav-collapse {
    display: inline-block;
}

.nav-pills.cdmeba > li > .nav-header,
ul.nav-pills.cdmeba {
    font-weight: bolder;
    text-transform: uppercase;
    font-size: 24px;
}

.nav-pills.cdmeba > li > .nav-header,
ul.nav-pills.cdmeba > li > a,
ul.nav-pills.cdmeba > li > a:hover,
ul.nav-pills.cdmeba > li > a:focus,
ul.nav-pills.cdmeba > li.active a,
ul.nav-pills.cdmeba > li.active > a:hover,
ul.nav-pills.cdmeba > li.active > a:focus {
    color: #dd1634;
    background: transparent;
}

.nav-pills.cdmeba > li > .nav-header,
.nav-pills.cdmeba > li > a {
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 20px;
    padding-right: 20px;
    margin-right: 0px;
    line-height: 14px;
}

ul.nav-pills.cdmeba .nav-child {
    text-transform: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    color: #fff;
    background: #dd1634;
    text-align: left;
}

ul.nav-pills.cdmeba .nav-child > li a {
    color: #fff;
}

.navigation {
    margin-bottom: 0px;
}

.navigation .nav > li:hover > .nav-child {
    margin-left: 20px;
}

.navigation .nav > li > .nav-child:before {
    border-bottom: 7px solid #aa0004;
/*    left: 10px;*/
}

.navigation .nav > li > .nav-child:after {
    border-bottom: 6px solid #dd1634;
/*    left: 10px;*/
}
.navigation .nav li li .nav-child:before {
    border-right: 7px solid #aa0004;
/*    left: 10px;*/
}
.navigation .nav li li .nav-child:after {
    border-right: 6px solid #dd1634;
/*    left: 10px;*/
}


ul.nav-pills.cdmeba .nav-child > li a:hover,
ul.nav-pills.cdmeba .nav-child > li a:focus {
    color: #dd1634;
    background: #fff;
}


/* featured */

.principal {
    margin-top:20px;
}

h2 {
    font-size: 18px;
}

.item {
    padding: 10px;
}

.readmore a:link,
.readmore a:visited,
a.readmore:link,
a.readmore:visited {
	color:#888;
}

.readmore a:hover,
.readmore a:active,
.readmore a:focus,
a.readmore a:hover,
a.readmore a:active,
a.readmore a:focus {
	background:transparent;
	color:#dd1634;
}

.principal .item a.btn-cdmeba {
    float:right;
}

.principal .nav-tabs.nav-stacked > li > a {
    border: unset;
}

.principal .items-more li {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    border-top: 1px solid #fbb;
}

.principal .items-more div.fecha {
    color: #999;
    padding-left: 10px;
}

.principal .items-more div.pull-none.item-image {
    width: 145px;
    float: right;
    padding: 10px;
    overflow: hidden;
}

.principal .items-more li a {
    color: #dd1634;
    font-size: 14px;
    text-align: left;
    text-decoration: none;
    font-weight: bold;
}

.principal .items-more li a:hover,
.principal .items-more li a:active,
.principal .items-more li a:focus {
    background: transparent;
    color: #a61027;
}

.principal .items-more a.btn-cdmeba:hover,
.principal .items-more a.btn-cdmeba:active,
.principal .items-more a.btn-cdmeba:focus,
.principal .items-more a.btn-cdmeba {
    font-size: 12px;
    font-weight: normal;
    padding-left: 10px;
}

/* barra lateral */

.well {
    min-height: 20px;
    padding: 10px;
    margin-bottom: 20px;
    border: unset;
    background-color: unset;
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    max-width: 204px;
}

.well h2 {
    margin-top: 0px;
    margin-bottom: 0px;
    text-align: center;
}

.qlform input.submit,
.boton {
	background: #fff;
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
	display: block;
	padding: 2% 4%;
	text-decoration:none;
	box-shadow: 0px 1px 3px rgb(255, 255, 255) inset, 2px 2px 5px #444;
	border: 1px solid  #444;
	position: relative;
	cursor:pointer;
	text-shadow: 0px -1px 1px rgba(0, 0, 0, 0.25);
	font-weight:bold;
	color:#dd1634;
	border-radius: 5px 5px 5px 5px;
	margin: 2%;
	text-align:center;
        max-width: 200px;
}

.boton.blanco {
	background: #fff;
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
    color:#dd1634;
}

.boton.blanco:hover {
	background: #dd1634;
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
    color:#fff;
}

.qlform input.submit,
.boton.rojo {
	background: #dd1634;
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
	color:#fff;
}

.boton.rojo:hover {
	background: #a61027;
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
	color:#fff;
}

.boton.verde {
	background: rgb(0,170, 0);
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
	color:#fff;
}

.boton.verde:hover {
	background: rgb(0,100, 0);
/*	background: url("../images/btn.png") repeat-x scroll 0% 0%, #fff;*/
	color:#fff;
}

.banneritem {
    padding: 10px;
    max-width: 204px;
    text-align: center;
}

/* footer */

.footer,
.footer a {
    background: #dd1634;
    color: #fff;
}

.footer [class*="span"] {
    margin-left: 0px;
    padding: 10px;
}

.contactinfo
{
    background:url("../images/logo_caritas_diocesana_299x80-inv2.png") no-repeat scroll 0% 0% transparent;
    padding-top: 90px;
}

.contactinfo .info_name
{
   font-size: 1em;
   font-weight:bold;
}

.contactinfo .info_telephone,
.contactinfo .info_fax
{
   font-style:italic;
}

.contactinfo .info_email, .contactinfo .info_webpage
{
   font-weight:bold;
}

.footer .nav > li > a:hover, .footer .nav > li > a:focus,
.footer a:hover, .footer a:focus {
    color: #dd1634;
    background: #fff;
}

.footer .participa {
    padding-left: 0px;
    padding-right: 0px;
/*    display: inline-block;*/
}

#content {
    margin-bottom: 20px;
}


/* Estilos personalizados */

.titulo1 { 
    color: #dd1634; font-weight: bold;
}

.titulo2 {
        color: #dd1634;
        font-weight: bold;
}

.titulo3 {
        color: #dd1634;
        font-weight: bold;
}

.titulo4 {
        color: #dd1634;
        font-weight: bold;
}

.bloque1, .bloque2 {
        border: 1px solid #dddddd;
        margin: 10px;
        padding: 10px;
        background: #ffffdd none repeat scroll 0% 0%;
        width: 300px;
        float: left;
}

.bloque1 li {
            list-style: none;
}

.bloque1 h3, .bloque2 h3 {
        margin: 0px;
        padding: 0px;
}

.bloque2 {
    float: none;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
}


/* Estilos de listado de Cáritas Parroquiales */

.lista1_titulo {
        border-bottom: 2px solid #dd1634;
        margin-bottom: 0.5em;
        padding-bottom: 0.5em;
        padding-top: 1em;
        width: 100%;
        font-size: 18px;
        color: #dd1634;
        font-weight: bold;
}

span.lista1_bloque {
        display: block;
        border: 1px solid #dddddd;
        margin-right: 10px;
        margin-bottom: 10px;
        padding: 10px;
        background: #ffffdd none repeat scroll 0% 0%;
        width: 29.2%;
        float: left;
        min-height:100px;
}

div.lista1 span.lista1_bloque:nth-child(3n+1) {
    margin-right: 0px;
}

span.lista2_bloque dl,
span.lista1_bloque dl {
        font-size: 12px;
        margin: 0px;
        padding: 0px;
}

span.lista2_bloque dl dt,
span.lista1_bloque dl dt {
        font-size: 12px;
        font-weight: bold;
}

.lista2_titulo {
        border-bottom: 2px solid #dd1634;
        margin-bottom: 0.5em;
        padding-bottom: 0.5em;
        padding-top: 1em;
        font-size: 18px;
        color: #dd1634;
        font-weight: bold;
        display: block;
}

span.lista2_bloque {
        display: block;
        border: 1px solid #dddddd;
        margin-right: 10px;
        margin-bottom: 10px;
        padding: 10px;
        background: #ffffdd none repeat scroll 0% 0%;
        min-height:100px;
}


/* Formularios */

.qlform .form-horizontal .control-label {
    float: none;
    padding-top: inherited;
    text-align: left;
}

.qlform span.star {
    color: #dd1634;
}

.qlform fieldset {
    width: 100% !important;
    margin: 0px;
    padding: 0px;
    margin-bottom: 10px;
    display: inline-block !important;
    position: relative;
}

.qlform .controls {
    padding-top: 5px !important;
}

.qlform legend {
    width: 100% !important;
    margin: 0px;
    padding-left: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #dd1634;
    text-align:left;
    font-weight: bolder;
    color: #dd1634;
    font-size: 14px;
    line-height: 18px;
}

.qlform .control-group,
.qlform label,
.qlform .controls {
    text-align:left;
    display:inline-block;
    width:auto !important;
    margin: 0px;
    padding: 0px;
    vertical-align: middle;
}

.qlform fielset,
.qlform label,
.qlform input,
.qlform select {
    font-size: 12px;
    line-height: 14px;
}

.qlform .control-group {
    padding: 5px;
}

.qlform .control-group > label {
    margin-left: 10px;
    margin-right: 5px;
    padding-top: 5px;
}

.qlform .form-horizontal .controls > .radio:first-child,
.qlform .form-horizontal .controls > .checkbox:first-child {
    padding-top: 0px;
}

.qlform .controls .radio,
.qlform .controls .radio input[type="radio"]{
    float: none;
    margin: 0px;
    padding: 0px;
}

.qlform fieldset#privacidad {
    position: relative;
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #dd1634;
   /* padding-bottom: 40px;*/
}

.qlform .control-group.captcha {
    position: relative;
    left: 80px;
    text-align: center !important;
    margin-bottom: 20px;
    width: 200px !important;
    display: inline-block;
    float: left;
}

.qlform .control-group.captcha .controls {
    text-align: center !important;
}

.qlform .control-group.captcha .controls img#captcha {
    margin: 10px;
    border: 1px solid #ddd;
}

.qlform .control-group.captcha .controls span {
    font-size: 12px;
    width: 200px;
    display: inline-block;
    padding-bottom: 10px;
}

.qlform .control-group.captcha .controls input {
    font-size: 12px;
    width: 100px;
}

.qlform .control-group.jform_sendcopy {
    position: relative;
    position: relative;
    display: inline-block;
    float: right;
    top: 100px;
    right: 120px;
    vertical-align: middle;
}

.qlform .control-group.jform_sendcopy label {
    padding-top: 5px;
}

.qlform .control-group.submit {
    position: relative;
    display: inline-block;
    float: right;
    top: 100px;
    right: 140px;
}

.qlform input.submit {
    padding: 10px 30px;
}

/* Donativos */

.qlform .control-group.jform_periodicidad {width: auto !important;}
.qlform .controls.jform_periodicidad select {width: 100px;}

#jform_entidad,
#jform_oficina {width: 30px;}

.qlform .control-group.jform_entidad {
    margin-left: 20px;
}

.qlform .control-group.jform_entidad,
.qlform .control-group.jform_oficina {width: 40px !important;}

#jform_check {width: 20px;}

.qlform .control-group.jform_check {width: 40px !important;}

#jform_ncuenta {width: 110px;}

.qlform .control-group.jform_ncuenta {width: 120px !important;}

.qlform .control-group.jform_entidad,
.qlform .control-group.jform_oficina,
.qlform .control-group.jform_check,
.qlform .control-group.jform_ncuenta {height: 50px;text-align: center;}

.qlform .control-group.jform_entidad label,
.qlform .control-group.jform_entidad .controls,
.qlform .control-group.jform_oficina label,
.qlform .control-group.jform_oficina .controls,
.qlform .control-group.jform_check label,
.qlform .control-group.jform_check .controls,
.qlform .control-group.jform_ncuenta label,
.qlform .control-group.jform_ncuenta .controls {text-align: center;margin-left: auto;margin-right: auto;float:none;}

.qlform .control-group.jform_datos {display: block;}

.qlform .control-group.jform_nombre {width: auto !important;}
.qlform .controls.jform_nombre input {width: 400px;}

.qlform .control-group.jform_apellidos {width: auto !important;}
.qlform .controls.jform_apellidos input {width: 500px;}

.qlform .control-group.jform_nacimiento label {width: 70px !important;}
.qlform .controls.jform_nacimiento input {width: 80px;}

.qlform .control-group.jform_tipodocumento label {width: 70px !important;}
.qlform .controls.jform_tipodocumento select {width: 50px;}

.qlform .controls.jform_numero input {width: 100px;}

.qlform .control-group.jform_direccion {width: 100% !important;}
.qlform .control-group.jform_direccion label {vertical-align: top;}
.qlform .controls.jform_direccion textarea {width: 300px;}

.qlform .controls.jform_poblacion input {width: 400px;}

.qlform .controls.jform_cp input {width: 50px;}

.qlform .control-group.jform_observaciones {width: 100% !important;}
.qlform .control-group.jform_observaciones label {vertical-align: top;}
.qlform .controls.jform_observaciones textarea {width: 500px;}

.qlform .control-group.jform_mensaje {width: 100% !important;}
.qlform .control-group.jform_mensaje label {vertical-align: top;}
.qlform .controls.jform_mensaje textarea {width: 500px;}

@media (max-width: 978px) {
    
/*    .navbar .btn-navbar {*/
    .navbar.pull-left {
        float: right !important;
        position: relative;
        top: -70px;
    }

    .fs-sp1 {
        width: 105% !important;
        height: 105% !important;
        margin-left: -20px;
        margin-right: -20px;
    }

    .header .nav.pull-right,
    .header-search {
        float: none;
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .well,
    .footer .moduletable,
    .banneritem {
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer [class*="span"] {
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer .pull-right {
        float: none;
    }
    
    span.lista1_bloque {
            width: 45% !important;
    }
    
    div.lista1 span.lista1_bloque:nth-child(3n+1) {
        margin-right: 10px !important;
    }

    div.lista1 span.lista1_bloque:nth-child(2n+1) {
        margin-right: 0px !important;
    }

    .qlform .control-group {
        display:block !important;
    }

    .qlform .control-group.jform_entidad,
    .qlform .control-group.jform_oficina,
    .qlform .control-group.jform_check,
    .qlform .control-group.jform_ncuenta {
        display:inline-block !important;
    }
}

@media (max-width: 768px) {

    .navbar.pull-left {
        top: -60px;
    }

    .nav-collapse.in.collapse {
        margin-bottom: 10px;
    }

    .container-fluid {
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .item {
        margin-bottom: 20px;
    }
    
    .qlform fieldset.additionalFields {
        margin: 0px;
        height: 1px;
    }
    
    .qlform .control-group.jform_sendcopy {
        position: relative;
        display: block !important;
        float: none;
        top: 220px;
        left: 0px;
        text-align: center;
    }

    .qlform .control-group.captcha {
        position: unset;
        display: block !important;
        float: none;
        height: 200px;
        margin-left: auto;
        margin-right: auto;
    }

    .qlform .control-group.submit {
        position: unset;
        display: block !important;
        float: none;
        width: 100% !important;
        text-align: center;
        margin-bottom: 50px;
    }
}

@media (max-width: 576px) {
    
    .pd-categoriesbox{
        clear: both;
        float: none !important;
        width: 96% !important;
    }
    
    .pd-cb {
        float: none;
    }
    
    span.lista1_bloque {
            width: 95% !important;
    }
    
    div.lista1 span.lista1_bloque:nth-child(3n+1) {
        margin-right: 10px !important;
    }

    div.lista1 span.lista1_bloque:nth-child(2n+1) {
        margin-right: 10px !important;
    }
    
    .qlform .control-group.jform_entidad {
        margin-left: 0px;
    }
    
    .qlform .control-group.jform_nombre,
    .qlform .control-group.jform_apellidos,
    .qlform .control-group.jform_direccion,
    .qlform .control-group.jform_poblacion,
    .qlform .control-group.jform_observaciones,
    .qlform .control-group.jform_mensaje {width: 290px !important;}
    
    .qlform .controls.jform_nombre input,
    .qlform .controls.jform_apellidos input,
    .qlform .controls.jform_direccion textarea,
    .qlform .controls.jform_poblacion input,
    .qlform .controls.jform_observaciones textarea,
    .qlform .controls.jform_mensaje textarea {width: 280px !important;}

}

@media (max-width: 400px) {
    
    .header .nav.pull-right,
    .header-search {
        width: 50%;
    }
    
    .navbar.pull-left {
        top: -80px;
    }

}