/*css Portal del proyecto Carteles Semana Santa*/
	

/*CSS Cabecera y menú de segundo nivel*/

           
.linea5px-ayto {
	border-bottom: 5px solid #246c89;
}

.linea5px-mayores {
    border-top: 5px solid #c12b3d;
} 
            
.img-segundo-nivel {
	position: relative;
	top: 15px !important;
	left: 5px;
}           
            
.titulo-org h2 {
    color: #e83437;
    font-size: 42px;
    padding-bottom: 0px;
    line-height: 35px;
}

.segundo-nivel {
	text-align: right;
	margin: 10px 0;
}

.segundo-nivel>li {
	padding: 5px 10px 0 30px;
    text-align: right;
    font-size: 1em;
    border-right: solid 2px #000000;
    margin-bottom: 1px;
    width: auto;
            }            

@media(max-width: 768px) {
	.segundo-nivel>li {
		padding-left: 5px;
        border: 0;
        border-bottom: solid 2px #000000;
		margin-bottom: 1px;
		width: 100%;
		text-align: center;
	}

}

@media (max-width: 992px) {
	.nivel2>li {
		width: 100%;
		border-right: none;
		border-bottom: solid 2px #000000;
		padding: 5px;
	}
	.nivel2 > li:last-child{
		border-bottom: none;
	}
}


/* FOOTER */

.btn-ayto {
	color: #fff;
	background-color: #e81b16;
	}
	
/*CSS Destacados*/

      ul.list-aviso> li:nth-child(4n+1) {
    clear: both;
		}
	.list-aviso img {
		border-radius: 0px !important;
	}
	
	.list-aviso p {
		padding: 0.5em 0 0.5em 0;
		font-weight: bold;
	}
    
                  







/*CSS MENÚ DE TERCER NIVEL*/

    .nav-nav {
		padding: 1em 1.2em 0 0;
		}
		
    .nav-pills li {
    margin: 5px;
    }
    .nav-pills-pasive {
        border: 1px solid #CCC;
        background: #FFF;
        border-radius: 0.30em;
        }
     

.menu-active>a:hover {
        color: #fff;
        background-color: #202020 !important;
}
      		
	@media(max-width: 480px){
			.nav-pills>li {
			 float: none;
		}	 
						
	}
	@media(max-width: 768px) {	
			li.nav-pills-pasive{
			width:100%;
		}
		}

/* Tabla */    
    
            .tabla-bn {
            border-collapse: separate;
            border-spacing: 0px 10px;
            }

            .tabla-bn thead {
				background-color: #dcdfd8;
            }

            .tabla-bn td,
            .tabla-bn th{
            padding: 5px 5px 5px 5px !important;
            margin-bottom: 5px;
            border-right: dotted 1px #000000;
            border-left: dotted 1px #000000;            
            border-top: 0px !important;
            border-bottom: dotted 1px #000000;   
			vertical-align: middle !important;    
            }


    

.link-black a {
      color: black !important;
      }
      
.link-white a {
      color: #fff !important;
      }


	 .nav-tabs>li:last-child {
    border-right: 0;
}

.nav-tabs>li>a {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 5px;
}

.nav-tabs {
    border-bottom: solid 2px;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus,
.tab-content {
    color: #000000;
    border: 0 !important;
}

@media (min-width: 768px) {
    .nav-tabs>li {
        padding-left: 5px;
        border-right: solid 2px #000000;
        margin-bottom: 10px;
        width: 12.5%;
    }
    .nav-tabs>li a {
        font-size: 1.2rem;
    }
}
@media(max-width:485px){
	.img-horizontal{
	margin:80px 0 0 0;
}
}
@media (max-width: 992px) {
    .nav-tabs>li {
        width: 100%;
        border-right: none;
        border-bottom: solid 2px #000000;
        padding: 5px;
    }
    .nav-tabs > li:last-child{
        border-bottom: none;
    }
}
    .nav-bottom {
        background: #e81b16;
    }
    
    .nav-bottom ul li {
        padding: .5em 0em .5em 1em;
        /*margin: .5em 0em .5em;*/
    }
    
    .nav-bottom ul li a {
        border-left: 1px solid #006b87;
        color: #006b87;
        padding: .5em;
    }

    .nav-bottom ul li a:hover {
        background: #e81b16;
    }
			
#ayto .navbar-portal {
        background: #e81b16 url(https://www.zaragoza.es/cont/assets/img/navbar-portal/ayto.png) no-repeat center !important;
    }


	
	
	.thumbnail
{
display: block;
padding: 4px;
margin-bottom: 20px;
line-height: 1.42857143;
background-color: #4f3167;
border: 1px solid #ddd;
border-radius: 4px;
-webkit-transition: border .2s ease-in-out;
-o-transition: border .2s ease-in-out;
transition: border .2s ease-in-out;
 
	  }
  .thumbnail .caption 
	  {
    padding: 9px;
    color: #fff;}
	 
	 
 
	.btn btn-primary   
	{
    color: #fff;
    background-color: #4f3167;
    border-color: #4f3167;}
	.list-inline 
	{
    padding-left: 0;
    list-style: none;
    margin-left: -5px;
	
	 }
	
	  .nav-bottom {
            background: #4f3167;
            }

            .nav-bottom ul li {
            padding: .5em 0em .5em 1em;
            /*margin: .5em 0em .5em;*/
            }

            .nav-bottom ul li a, .nav-bottom ul li .selected {
            border-left: 1px solid #fff;
            color: #fff;
            padding: .5em;
            }

            .nav-bottom ul li a:hover, .nav-bottom ul li .selected {
            background: #B50000;
            }

	
	
