/* PAGINA NOTICIAS (Prensa) */

.path-prensa #simplenews-subscription-block div#edit-message {
    outline: none;
    font-size: 17.008px;
    width: 175px;
    border-style: none;
    background-color: rgb(153, 194, 191);
    border-radius: 12px;
    padding: 10px 10px;
}

.form-element:hover:focus {
    box-shadow: initial;
}

.form-element:hover {
    border-color: initial;
    box-shadow: initial;
}

.path-prensa .view-header {
	padding: 0 !important;
	margin-top: 0 !important;
	text-align: center !important;
	padding-bottom: 0 !important;
}

.path-prensa .views-exposed-form__item.views-exposed-form__item.views-exposed-form__item--actions {
    margin-top: 0 !important;
}

.path-prensa div#simplenews-subscription-block {
    max-width: 1200px;
    margin: auto;
    padding-top: 70px;    
    padding-bottom: 10px;
}

.path-prensa #simplenews-subscription-block .block__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: end;
}

.path-prensa #simplenews-subscription-block h2.block__title {
    margin-top: 0px !important;
    font-size: 16px !important;
    line-height: 19.999px;
    font-weight: initial;
    margin-bottom: 0;
    color: black;
    text-transform: capitalize;
    font-family: 'Source Sans 3', sans-serif !important;
}

.path-prensa #simplenews-subscription-block .form-item, .path-prensa #simplenews-subscription-block form {
    margin-block: 0;
    margin: 0;
}

.path-prensa #simplenews-subscription-block div#edit-mail-0-value--description, .path-prensa #simplenews-subscription-block label.js-form-required.form-required {
    display: none;
}

.path-prensa #simplenews-subscription-block input#edit-mail-0-value {
    outline: none;
    font-size: 17.008px;
    width: 32%;
    border-style: none;
    padding: 0px 10px;
    background-color: rgb(153, 194, 191);
    border-radius: 12px;
}

.path-prensa #simplenews-subscription-block div#edit-actions {
	position: absolute;
	top: 10px;
  left: 144px;
	margin: 0;
}

#simplenews-subscriptions-block-boletin-suscripcion {
	position: relative;
}

.path-prensa .views-element-container.contextual-region.element-container-wrapper {
    background: white;
}

.path-prensa div#block-portales-page-title {
    display: none;
}

/* Estructura */

body.path-prensa .atl__lr.atl__cw {
    width: 1200px;
    margin: auto;
    padding-bottom: 2em;
}

body.path-prensa  .atl__lc {
  padding: 0;
}

body.path-prensa .atl__lc.lc-1 {
    width: 76% !important;
}

body.path-prensa .atl__lc.lc-2 {
    width: 20% !important;    
    padding-top: 80px;
}

body.path-prensa ul.listado-grupos {
    padding: 0;
    margin: 0;
    list-style: none;
}

body.path-prensa ul.listado-grupos li a {
    text-decoration: none;
    box-sizing: border-box;
    transition: 0.6s ease-in-out;
    margin-bottom: 0.7em;
    color: black;
    font-size: 15px;
}

body.path-prensa ul.listado-grupos li a:hover {
    color: rgba(0, 102, 94, 0.8);
}

body.path-prensa ul.listado-grupos li {
    margin-bottom: 1.2em;
}

/* Cards Noticia */
body.path-prensa {
	background: #fff;

	.views-field.views-field-fieldset-2 {
    align-items: center;
    text-align: center;
    padding: 16px;
    box-sizing: border-box;
    box-shadow: rgba(171, 190, 209, 0.4) 0px 5.57px 11.14px 0px;
    height: 236px;
    display: flex;
    flex-direction: column;
    background-color: rgb(245, 247, 250);
    border-radius: 12px;
    transition: 0.6s ease-in-out;
    transform: matrix(1, 0, 0, 1, -191.997, -107.969);
    width: 19rem;
    left: 197.003px;
    bottom: -310px;
    position: absolute;
    text-decoration: none;
	}
	
	.views-field.views-field-fieldset-2:hover {
		
    background-color: rgb(0, 102, 94);
    transition: 0.6s ease-in-out;
    
    .views-field-view-node span a {
    	color: white;
		}
		
		.field-content a {
    	color: white !important;
		}
		.views-field-field-fecha-visible .field-content {
    	color: white;
		}
	}
	
	.grupo-resultados {
    position: relative;
	}
	.trescolumn-actualidad .views-row {
		flex: 0 0 304.007px !important;
		min-height: 416px;
	}
	.view-content.view-rows {
    gap: 1em 0em !important;
	}
	.trescolumn-actualidad .view-content {
    justify-content: center !important;
    overflow: initial;
	}
	
	img.image-style-imagen-560 {
		max-width: initial;
	}
	
	.trescolumn-actualidad .views-row .grupo-resultados .grupo-texto {
    min-height: initial;
    background: initial;
    padding: 0;
	}
	
	nav.pager {
		display: flex;
    justify-content: end;
    
    ul.pager__items__num-pages.js-pager__items {
    	display: flex;
    }
    a.pager__link {
    	display: flex;
    }
    ul.pager__items__next-last.js-pager__items {
    display: flex;
		}
	}
	
	.views-field.views-field-view-node span a {
    color: rgb(0, 102, 94);
    border: none;
    font-size: 18px;
    line-height: 16px;
    font-weight: 700;
    padding: 12px 24px;
    justify-content: center;
    display: flex;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0);
	}
	
	.trescolumn-actualidad .views-row .grupo-resultados .grupo-texto .views-field.views-field-title a {
    color: rgb(113, 113, 113);
    font-size: 15px;
    line-height: 28px;
    margin: 0px;
    font-weight: 500;
    padding: 0px;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Source Sans 3', sans-serif;
    word-break: auto-phrase;
	}
	
	.views-field.views-field-field-fecha-visible .field-content {
    margin-top: 0px;
    line-height: 16px;
    box-sizing: border-box;
    color: rgb(0, 102, 94);
    font-weight: 700;
    font-size: 16px;
    text-align: center;
	}
	
	.medio-principal img {
    border-radius: 12px;
	}
}

/*BUSCADOR AVANZADO PRENSA*/
.path-prensa .form--inline .form-actions input {
    padding: 10px;
    border-style: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: 0.5s;
    background-color: rgb(0, 102, 94);
    color: white;
    cursor: pointer;
    height: auto;
}

.path-prensa .views-exposed-form.views-exposed-form {
    padding: 0;
    border: initial;
    box-shadow: initial;
    border-radius: initial;
    margin-block: initial !important;
}

.path-prensa details summary {
    padding: 0;
    display: flex;
}

/*BUSCADOR AVANZADO PRENSA*/

.path-prensa .form-item {
    margin-block: 0 !important;
}

.path-prensa{
	.view-filters{
		.form--inline{
			width:100%;
			details{
				width:fit-content;
		    border-radius: 5px;
		    border:none;
		    transition:none;
		    summary{
		    background: var(--color-principal);
		    color: white;
		    font-weight: bold;
		    border-style: none;
		    font-size: 14px;
		    padding:10px;
		    transition:none;
		    }
			}
			details[open]{
				width:100%;
				overflow:hidden;
		    transition:none;
				.details-wrapper{
					background:white;
			    border: 1px solid rgb(225, 231, 235);
					padding:20px 28px;
					margin:0;
					display: flex;
  				flex-wrap: wrap;
  				justify-content:space-between;
			    transition:none;
			    gap:1.5em 0em;

  				.js-form-type-select{
  					width:100%;
  					margin-top:0;
  				}
  				.js-form-type-date{
  					width:48%;
  				}
  				.js-form-type-textfield{
  					width:100%;
  				}
  				label{
				    display: block;
				    margin-bottom: 5px;
				    font-size: 17px;
				    color: rgb(89, 89, 89);
				    font-weight: bold;
				    line-height: 1.2;
  				}
  				input, select{
  					background-image:url(/sites/dival.pro10.portalesmunicipales.es/files/Dival/banda-verde.png);
  					background-repeat: repeat-y;
				    border: 1px solid rgb(212, 212, 212);
  				}
  				select{
				    border-color: rgb(212, 212, 212);
  				}
  				input:hover, input:active, input:focus{
				    border-color: rgb(212, 212, 212);
    				box-shadow: none;
  				}
  				select:hover{
				    border-color: rgb(212, 212, 212);
    				box-shadow: none;
  				}
				}
			}
		}
	}
}