//Estilos pagina de academia de historia policial (Url: /academia)
.page-node-126286 {

	@include banner-internal;

	#preface-third {
		background: $c-menu-observatory;

		.block-menu-menu-academ-a-de-historia-polici {
			.menu {
				@include menu-pages($c-white, $c-white);
			}
		}
	}

	#main-inner {
		.section {
			@include reset-holder;
		}
		
		.block-views {
			> .content { 
				> .view-secciones-items {
					> .view-content {
						> .views-row {
							@include holder;
 						}

						> .views-row-1 {
							@include reset-holder;
							background: $c-brand-whitesmoke;
							padding-bottom: 1em;
						}

						> .views-row-2 {
							@include sections-video;
						}
 					}
				}
			}
		}
	}

	.image-text {
		@include holder;			
		@include sections-image-text;
		
		h2 {
			@include title-block(tint($c-dimgray, 10), 234%);
			font-weight: 100;
			margin-bottom: 30px;
			margin-top: 13px;
			text-align: center;

			&:after {
				margin: 15px auto 0 auto;
				width: 75px;
			}
		}

		.image-text-content {
			background: $c-white;
		}
	}

	.ver {
		.viewreference-title {
			@include title-block(tint($c-dimgray, 10), 234%);
			font-weight: 100;
			margin-bottom: 30px;
			margin-top: 13px;
			text-align: center;

			&:after {
				margin: 15px auto 0 auto;
				width: 75px;
			}
		}

		.view-academia {
			@include sections-blocks-section;

			.views-row {
			 	.views-field-title {
			 		margin-top: 0.3em;
			 		min-height: 60px;
			 	
			 		a, a:link {
						font-size: 122%;
			 		}
			 	}
			}
		}
	}
	
	.view-secciones-items {
		.views-row-4 {
			.ver {
				.views-row {
					@include block-category-box;
					@include inline-block(top);
					margin: 1em 1% 1em 0;
					width: 49%;

					&:nth-child(2n) {
						margin-right: 0;
					}

					.views-field-field-imagen-noticia {
						display: inline-block;
						float: left;
						margin-right: 2%;
						width: 40%;

						img {
							width: auto;
						}
				
						~ .views-field {
    						float: right;
    						margin-top: 1%;
    						margin-bottom: 0;
    						padding: 0;
   	 						width: 56%;
						}
					}

					.views-field-field-noticia-ciudad {
						padding-top: 5px!important;
					
						&:before {
							left: 0;
						}
					}
				}

				.view-footer {
					text-align: right;

					a, a:link {
						color: $c-brand-green-dark;
						font-weight: 100;
						font-size:  1.4em;
						padding: 5px 35px 5px 0px;
						position: relative;

						&:after {
							@include size(29px);
							background: url('../images/sprite.png') no-repeat -149px -92px;
							content: '';
							display: inline-block;
							position: absolute;
							right: 0;
							margin-top: -14px;
							top: 50%;
						}

						&:hover {
							text-decoration: none;
						}		
					}
				}
			}
		}
	}

	.block-views-eventos-block-3 {
		@include holder;

		> h2 {
			@include title-block(tint($c-dimgray, 10), 234%);
			font-weight: 100;
			margin-bottom: 30px;
			margin-top: 13px;
			text-align: center;

			&:after {
				margin: 15px auto 0 auto;
				width: 75px;
			}			
		}	
	}
}

.block-menu-menu-academ-a-de-historia-polici {
	> .content {
		.menu {
			@include menu-pages($c-white, $c-white);	
			margin: 0.8em 0;
		}
	}
}

